diff options
author | Bodo Möller <bodo@openssl.org> | 1999-07-02 13:38:17 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-07-02 13:38:17 +0000 |
commit | e0371fe4dc65ec62861e0ef293305442c0d97269 (patch) | |
tree | 9a3ba2bd72b29cd64586ba9e1b0a8ba050948e06 /config | |
parent | 5271ebd9a32c0097f61451f2a4f0bf6ab946ac85 (diff) |
Don't use ...-oldgcc for egcs compiler.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 |