summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1999-12-10 02:05:53 +0100
committertege <tege@gmplib.org>1999-12-10 02:05:53 +0100
commit9eeb5775b61859c01b2896934ea7b575cb7a2c1f (patch)
treeb07938a0103f69b3bb784779b2165c6ffbadd48e /config.guess
parente5c7b36bbec883bf5328655414cf2a9baf0b1327 (diff)
downloadgmp-9eeb5775b61859c01b2896934ea7b575cb7a2c1f.tar.gz
* Update x86 recog code to intiallly match more than just i386.
* Call K6-2 and K6-III for "k62" and "k63" respectively.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess10
1 files changed, 4 insertions, 6 deletions
diff --git a/config.guess b/config.guess
index 247708b2c..353d44967 100755
--- a/config.guess
+++ b/config.guess
@@ -48,10 +48,8 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
-# Note: order is significant - the case branches are not exclusive.
-
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- i386:*:*:*)
+ i?86:*:*:*)
echo 'xwqilkn(){}' >dummy.c
${CC-cc} dummy.c -S 2>/dev/null
if test "$?" = 0 ; then
@@ -119,9 +117,9 @@ main ()
else if (model <= 7)
modelstr = "k6";
else if (model <= 8)
- modelstr = "k6-2";
+ modelstr = "k62";
else if (model <= 9)
- modelstr = "k6-3";
+ modelstr = "k63";
break;
case 6:
modelstr = "athlon";
@@ -146,7 +144,7 @@ EOF
;;
esac
-
+# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then