Include some notes on basic extension usage and change openssl.cnf to usually
[openssl.git] / config
diff --git a/config b/config
index 075e0c24cdefcddf294cfab028e2c6c193383289..3ddf4bb46e4b5c0c633a884df386700009264cd6 100755 (executable)
--- a/config
+++ b/config
@@ -330,6 +330,18 @@ 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
+ GCCVERMAJOR="`echo $GCCVER | sed 's/.*version \([^.]*\).*/\1/`"
+ GCCVERMINOR="`echo $GCCVER | sed 's/.*version[^.]*\.\([^.]*\).*/\1/`"
+ echo "gcc version $GCCVERMAJOR.$GCCVERMINOR.x"
+ if [ $GCCVERMAJOR$GCCVERMINOR -lt 28 ]
+ then
+  OUT=solaris-usparc-oldgcc
+ fi
+fi
+
 case "$GUESSOS" in
   i386-*) options="$options 386" ;;
 esac