summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-03-14 13:55:40 +0100
committertege <tege@gmplib.org>2000-03-14 13:55:40 +0100
commit3c3325d7a8d699e9247c74465bf946e1a8013a71 (patch)
treec0a3b2583388fe6cd63c1ecb21817755d4a9a71b /config.guess
parentd7ee4c0938219e51e530260f365c2e90eb3adf66 (diff)
downloadgmp-3c3325d7a8d699e9247c74465bf946e1a8013a71.tar.gz
* Remove `SunOS 6' handling.
* Recognize sun4m and sun4d architectures under old SunOS.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.guess b/config.guess
index 7705c348d..30c5b9deb 100755
--- a/config.guess
+++ b/config.guess
@@ -299,11 +299,14 @@ EOF
i86pc:SunOS:5.*:*)
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
- sun4*:SunOS:6*:*)
- # According to config.sub, this is the proper way to canonicalize
- # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- # it's likely to be more like Solaris than SunOS4.
- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ sun4[md]:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparcv8-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
exit 0 ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in