From 744029c15470a6b16e9645a16c76bbff15be7596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Tue, 4 May 1999 23:18:24 +0000 Subject: Recognise Ultra Sparc and compiler version number. --- config | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config b/config index eec90a3456..e8cde735dd 100755 --- a/config +++ b/config @@ -283,6 +283,14 @@ if [ $? = "0" ]; then CC=gcc else CC=cc + if [ "$SYSTEM" = "SunOS" ] + then + case `cc -V 2>&1` in + *4*) CC=sc4;; + *5*) CC=sc5;; + *) CC=cc;; + esac + fi fi # read the output of the embedded GuessOS @@ -298,6 +306,7 @@ case "$GUESSOS" in ppc-*-linux2) OUT="linux-ppc" ;; *-*-linux2) OUT="linux-elf" ;; *-*-linux1) OUT="linux-aout" ;; + sun4u-sun-solaris2) OUT="solaris-usparc-$CC" ;; sun4*-sun-solaris2) OUT="solaris-sparc-$CC" ;; *86*-sun-solaris2) OUT="solaris-x86-$CC" ;; *-*-sunos4) OUT="sunos-$CC" ;; @@ -374,6 +383,6 @@ if [ $? = "0" ]; then $PERL ./Configure $OUT $options fi else - echo "This system is not supported. See file INSTALL for details." + echo "This system ($OUT) is not supported. See file INSTALL for details." fi ) -- cgit v1.2.3