summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/config
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-08-10 01:48:01 +0000
committernectar <nectar@FreeBSD.org>2002-08-10 01:48:01 +0000
commiteba366e36e93f5da8ae5c744eb337c3ef6872641 (patch)
treeeede76ec3d713121ad0839511c7cee57418c67b8 /crypto/openssl/config
parentc99c2264cb2cf6c4f161218c15b8e9a3072526e5 (diff)
downloadFreeBSD-src-eba366e36e93f5da8ae5c744eb337c3ef6872641.zip
FreeBSD-src-eba366e36e93f5da8ae5c744eb337c3ef6872641.tar.gz
Import of OpenSSL 0.9.6g.
Diffstat (limited to 'crypto/openssl/config')
-rwxr-xr-xcrypto/openssl/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/openssl/config b/crypto/openssl/config
index 5f4ed18..40ad0fe 100755
--- a/crypto/openssl/config
+++ b/crypto/openssl/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.
OpenPOWER on IntegriCloud