From e0371fe4dc65ec62861e0ef293305442c0d97269 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 2 Jul 1999 13:38:17 +0000 Subject: [PATCH] Don't use ...-oldgcc for egcs compiler. --- config | 14 ++++++++++---- 1 file 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 -- 2.25.1