From: Richard Levitte Date: Thu, 13 Jun 2002 21:12:20 +0000 (+0000) Subject: Make sure that any dash in the prefix before the version number is removed. X-Git-Tag: OpenSSL_0_9_6e~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f5a2a4dde326b8b910d7b6ab3ce2cd55684ca77;p=oweals%2Fopenssl.git Make sure that any dash in the prefix before the version number is removed. PR: 96 --- diff --git a/config b/config index b24c231a9c..215f982dc4 100755 --- a/config +++ b/config @@ -387,7 +387,7 @@ if [ "$GCCVER" != "" ]; then # then strip off whatever prefix Cygnus as well as GCC 3.1 prepends # the number with... Hopefully, this will work for any future prefixes # as well. - GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z ()]*\-//'` + GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z ()---]*//'` # peak single digit before and after first dot, e.g. 2.95.1 gives 29 GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'` else