Include some notes on basic extension usage and change openssl.cnf to usually
[openssl.git] / config
diff --git a/config b/config
index 428fe62cbe6c6195d96bbd7f81ecb132b988186c..3ddf4bb46e4b5c0c633a884df386700009264cd6 100755 (executable)
--- a/config
+++ b/config
@@ -333,9 +333,12 @@ 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 ]
+ 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-sparc-gcc
+  OUT=solaris-usparc-oldgcc
  fi
 fi