Enhance OCSP_request_verify() so it finds the signers certificate
[openssl.git] / config
diff --git a/config b/config
index 8d924f88247224454f12edeaaf14888e239b616e..c97655daaa9e0afe53257be4688e5ae93c985557 100755 (executable)
--- a/config
+++ b/config
@@ -401,13 +401,19 @@ case "$GUESSOS" in
        ;;
   mips4-sgi-irix64)
        echo "WARNING! If you wish to build 64-bit library, then you have to"
-       echo "         invoke './Configre irix64-mips4-$CC' *manually*."
+       echo "         invoke './Configure irix64-mips4-$CC' *manually*."
        echo "         Type return if you want to continue, Ctrl-C to abort."
        read waste < /dev/tty
-       options="$options -mips4"
+        CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+        CPU=${CPU:-0}
+        if [ $CPU -ge 5000 ]; then
+                options="$options -mips4"
+        else
+                options="$options -mips3"
+        fi
        OUT="irix-mips3-$CC"
        ;;
-  alpha-*-linux2
+  alpha-*-linux2)
         ISA=`awk '/cpu model/{print$4}' /proc/cpuinfo`
        case ${ISA:-generic} in
        *[67])  OUT="linux-alpha+bwx-$CC" ;;