summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-08-15 15:20:48 +0000
committerRichard Levitte <levitte@openssl.org>2002-08-15 15:20:48 +0000
commitc6bf63da7cebb6d477c377adf40e529816676588 (patch)
treebd13264d6798f99e9dc3505fd8a61f89109f614e /config
parent0fd05a2f0f2907e93ca103e9d643a68625f2a93c (diff)
It seems like sun4u doesn't always have a sparcv9 inside. Trust isalist.
PR: 220
Diffstat (limited to 'config')
-rwxr-xr-xconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/config b/config
index 3e9af7680a..7cfc4f9330 100755
--- a/config
+++ b/config
@@ -595,8 +595,10 @@ EOF
fi ;;
*-*-linux1) OUT="linux-aout" ;;
sun4u*-*-solaris2)
- OUT="solaris-sparcv9-$CC"
- ISA64=`(isalist) 2>/dev/null | grep sparcv9`
+ ISA=`(isalist) 2>/dev/null`
+ ISA64=`echo $ISA | grep sparcv9`
+ ISA=`set $ISA; echo $1`
+ OUT="solaris-$ISA-$CC" ;;
if [ "$ISA64" != "" ]; then
if [ "$CC" = "cc" -a $CCVER -ge 50 ]; then
echo "WARNING! If you wish to build 64-bit library, then you have to"