New functions sk_set, sk_value and sk_num to replace existing macros: this is
[openssl.git] / config
diff --git a/config b/config
index 075e0c24cdefcddf294cfab028e2c6c193383289..fe8108d4391e4997a98728a64314ab79f69d0336 100755 (executable)
--- a/config
+++ b/config
@@ -330,6 +330,15 @@ case "$GUESSOS" in
   *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
 esac
 
+# gcc < 2.8 does not support -mcpu=ultrasparc
+if [ "$OUT" = solaris-usparc-gcc ]
+then
+ if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
+ then
+  OUT=solaris-usparc-oldgcc
+ fi
+fi
+
 case "$GUESSOS" in
   i386-*) options="$options 386" ;;
 esac