From: Richard Levitte Date: Thu, 15 Aug 2002 15:20:48 +0000 (+0000) Subject: It seems like sun4u doesn't always have a sparcv9 inside. Trust isalist. X-Git-Tag: OpenSSL_0_9_7-beta4~168^2~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6bf63da7cebb6d477c377adf40e529816676588;p=oweals%2Fopenssl.git It seems like sun4u doesn't always have a sparcv9 inside. Trust isalist. PR: 220 --- 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"