From: Rainer Orth Date: Mon, 15 Jul 2002 19:23:54 +0000 (+0200) Subject: [ID 20020715.009] perl 5.8.0 RC3 incorrectly tests gcc version on Tru64 UNIX V4.0F X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=993a793cf0b1da8e06050ac82b73e14c9a6bab6d;p=p5sagit%2Fp5-mst-13.2.git [ID 20020715.009] perl 5.8.0 RC3 incorrectly tests gcc version on Tru64 UNIX V4.0F Message-Id: <5.8.0_22255_1026753561@rimsky> (also raise the gcc minimum to 2.95.3) p4raw-id: //depot/perl@17554 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 7c3569f..b3872fa 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -73,12 +73,12 @@ gcc) if [ "X$gccversion" = "X" ]; then # Done too late in Configure if hinted gccversion=`$cc --version | sed 's/.*(GCC) *//'` fi - set $gcc_version - if test "$1" -lt 2 -o \( "$1" -eq 2 -a \( "$2" -lt 95 -o \( "$2" -eq 95 -a "$3" -lt 2 \) \) \); then + set $gccversion + if test "$1" -lt 2 -o \( "$1" -eq 2 -a \( "$2" -lt 95 -o \( "$2" -eq 95 -a "$3" -lt 3 \) \) \); then cat >&4 <