summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-09-04 01:07:21 +0200
committerKevin Ryde <user42@zip.com.au>2001-09-04 01:07:21 +0200
commitaffad1849ecbef6608ae5b2db48632f458991808 (patch)
tree4426dfd2d3992b6ddd7a912da695a198c39b9b8d /config.guess
parent9e24014f0bd57c8732e74d5e395657db0bad0cfb (diff)
downloadgmp-affad1849ecbef6608ae5b2db48632f458991808.tar.gz
* config.guess: Give m68020 for 68020 or better, not m68k.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess12
1 files changed, 8 insertions, 4 deletions
diff --git a/config.guess b/config.guess
index e046631c2..5441fd3be 100755
--- a/config.guess
+++ b/config.guess
@@ -240,14 +240,18 @@ EOF
fi
if test -z "$exact_cpu"; then
- # Now we know 68020 or up, which is how gmp interprets plain m68k,
- # so just leave that.
- # FIXME: Tests for 030, 040 and 060. But how?
- :
+ # FIXME: Now we know 68020 or up, but how to detect 030, 040 and 060?
+ exact_cpu=m68020
fi
fi
rm -f $dummy.s $dummy $dummy.core core
fi
+ if test -z "$exact_cpu"; then
+ case "$guess_full" in
+ *-*-next* | *-*-openstep*) # NeXTs are 68020 or better
+ exact_cpu=m68020 ;;
+ esac
+ fi
;;
rs6000-*-aix4* | powerpc-*-aix4*)