Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-08-09 13:23:29 +0400
committerRichard Levitte <levitte@openssl.org>2002-08-09 13:23:29 +0400
commite39238e4038d0f6df54c7d23b780b9b279f559e4 (patch)
tree56947d1ac2743c489401b3dc1c58afb6849a6da3 /config
parentecdf1549931df3cab4935d4b2d0ee9b3d84c68a4 (diff)
Recent changes.
Diffstat (limited to 'config')
-rwxr-xr-xconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/config b/config
index 1cb6143614..09b6be1f02 100755
--- a/config
+++ b/config
@@ -384,6 +384,9 @@ done
GCCVER=`(gcc -dumpversion) 2>/dev/null`
if [ "$GCCVER" != "" ]; then
CC=gcc
+ # then strip off whatever prefix egcs prepends the number with...
+ # Hopefully, this will work for any future prefixes as well.
+ GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
# Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion
# does give us what we want though, so we use that. We just just the
# major and minor version numbers.