numbers like 2.95.2. Reported in
Subject: [ID
20000731.005] Perl 5.6.0 "Configure" fails to recognize gcc 2.95.2
Message-Id: <
200007311255.AA25586@axcdf4.pd.infn.it>
p4raw-id: //depot/perl@6473
# reset
_DEC_cc_style=
case "`$cc -v 2>&1 | grep cc`" in
-*gcc*) _gcc_version=`$cc -v 2>&1 | grep "gcc version" | sed 's%^gcc version \([0-9]*\)\.\([0-9]*\) .*%\1 \2%'`
+*gcc*) _gcc_version=`$cc --version 2>&1 | tr . ' '`
set $_gcc_version
if test "$1" -lt 2 -o \( "$1" -eq 2 -a "$2" -lt 95 \); then
cat >&4 <<EOF