1 diff -burN openssl-0.9.8k/config openssl-0.9.8k.patched/config
2 --- openssl-0.9.8k/config 2009-02-16 09:43:41.000000000 +0100
3 +++ openssl-0.9.8k.patched/config 2009-03-27 19:38:37.262255825 +0100
5 # this is where the translation occurs into SSLeay terms
6 # ---------------------------------------------------------------------------
8 +# figure out if gcc is available and if so we use it otherwise
9 +# we fallback to whatever cc does on the system
10 GCCVER=`(gcc -dumpversion) 2>/dev/null`
11 if [ "$GCCVER" != "" ]; then
13 # then strip off whatever prefix egcs prepends the number with...
14 # Hopefully, this will work for any future prefixes as well.
15 GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'`
17 # major and minor version numbers.
18 # peak single digit before and after first dot, e.g. 2.95.1 gives 29
19 GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
24 # Only set CC if not supplied already