From: Jarkko Hietaniemi Date: Tue, 1 Aug 2000 02:36:18 +0000 (+0000) Subject: In Digital UNIX warn if gcc explicitly chosen because even X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f8b881759d590aaf8acece41144118d426080c3;p=p5sagit%2Fp5-mst-13.2.git In Digital UNIX warn if gcc explicitly chosen because even 2.95.2 is known to cause problems. p4raw-id: //depot/perl@6474 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 31b0513..c110d1e 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -67,28 +67,36 @@ cc=${cc:-cc} case "`$cc -v 2>&1 | grep cc`" in *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 + if test "$1" -lt 2 -o \( "$1" -eq 2 -a \( "$2" -lt 95 -o \( "$2" -eq 95 -a "$3" -lt 2 \) \) \); then cat >&4 <&4 <