summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-02 13:38:17 +0000
committerBodo Möller <bodo@openssl.org>1999-07-02 13:38:17 +0000
commite0371fe4dc65ec62861e0ef293305442c0d97269 (patch)
tree9a3ba2bd72b29cd64586ba9e1b0a8ba050948e06 /config
parent5271ebd9a32c0097f61451f2a4f0bf6ab946ac85 (diff)
Don't use ...-oldgcc for egcs compiler.
Diffstat (limited to 'config')
-rwxr-xr-xconfig14
1 files changed, 10 insertions, 4 deletions
diff --git a/config b/config
index af3ae9ae11..8a47ca102d 100755
--- a/config
+++ b/config
@@ -355,10 +355,16 @@ 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
+ case "$GCCVERMAJOR" in
+ egcs*)
+ ;;
+ *)
+ if [ $GCCVERMAJOR$GCCVERMINOR -lt 28 ]
+ then
+ OUT=solaris-usparc-oldgcc
+ fi
+ ;;
+ esac
fi
case "$GUESSOS" in