It seems like sun4u doesn't always have a sparcv9 inside. Trust isalist.
authorRichard Levitte <levitte@openssl.org>
Thu, 15 Aug 2002 15:20:48 +0000 (15:20 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Aug 2002 15:20:48 +0000 (15:20 +0000)
PR: 220

config

diff --git a/config b/config
index 3e9af76..7cfc4f9 100755 (executable)
--- 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"