summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-04 23:18:24 +0000
committerUlf Möller <ulf@openssl.org>1999-05-04 23:18:24 +0000
commit744029c15470a6b16e9645a16c76bbff15be7596 (patch)
tree0b873d409a340be53d3508ca092ee2fd073ff4a7 /config
parentef0a5354850becf858617d5ec62f440b51bda225 (diff)
Recognise Ultra Sparc and compiler version number.
Diffstat (limited to 'config')
-rwxr-xr-xconfig11
1 files changed, 10 insertions, 1 deletions
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
)