diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-03-10 23:42:26 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-03-10 23:42:26 +0100 |
commit | f52441f17fbcbd58dab6571571e7e9027c702c5c (patch) | |
tree | 8fd1330e39bbf5d11211d2836cb21f2bfedadec7 /config.guess | |
parent | e84f2ceaede4014621f79e5ca088bd6a4dfa7516 (diff) | |
download | gmp-f52441f17fbcbd58dab6571571e7e9027c702c5c.tar.gz |
* config.guess (sparc-*-*, sparc64-*-*): Add some exact CPU detection.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/config.guess b/config.guess index 7a1e1c2f1..bcaeee386 100755 --- a/config.guess +++ b/config.guess @@ -453,11 +453,21 @@ sparc-*-* | sparc64-*-*) fi # Grep the output from prtconf on Solaris. - # Use an explicit /usr/sbin path on prntconf, since that directory might - # not be in a normal user's path. - # SUNW,UltraSPARC-II (driver not attached) - # SUNW,UltraSPARC-IIi (driver not attached) - # SUNW,UltraSPARC-III+ (driver not attached) + # Use an explicit /usr/sbin, since that directory might not be in a normal + # user's path. + # + # SUNW,UltraSPARC (driver not attached) + # SUNW,UltraSPARC-II (driver not attached) + # SUNW,UltraSPARC-IIi (driver not attached) + # SUNW,UltraSPARC-III+ (driver not attached) + # Ross,RT625 (driver not attached) + # TI,TMS390Z50 (driver not attached) + # + # TMS390Z50 and TMS390Z55 are supersparcs. RT620, RT625, RT626 are + # hypersparcs (v8). + # + # /usr/sbin/sysdef prints similar information, but includes all loadable + # cpu modules, not just the real cpu. # if test -z "$exact_cpu"; then if $SHELL -c /usr/sbin/prtconf 2>/dev/null >conftest.dat; then @@ -469,6 +479,10 @@ sparc-*-* | sparc64-*-*) exact_cpu=ultrasparc2 elif grep 'SUNW,UltraSPARC' conftest.dat >/dev/null; then exact_cpu=ultrasparc + elif grep 'Ross,RT62.' conftest.dat >/dev/null; then + exact_cpu=sparcv8 + elif grep 'TI,TMS390Z5.' conftest.dat >/dev/null; then + exact_cpu=supersparc fi fi rm -f conftest.dat |