From: H.Merijn Brand Date: Thu, 13 Jun 2002 09:18:27 +0000 (+0200) Subject: Re: [ PATCH ] AIX 5 + 17206 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=12997c75b9faaf914cd05b263bdbbcc0930ca92c;p=p5sagit%2Fp5-mst-13.2.git Re: [ PATCH ] AIX 5 + 17206 From: "H.Merijn Brand" Message-Id: <20020613091118.2BAF.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17218 --- diff --git a/hints/aix.sh b/hints/aix.sh index e6e97a9..09ca0a4 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -147,7 +147,7 @@ case "$cc" in gccversion=`$cc --version | sed 's/.*(GCC) *//` fi ;; -*) ccversion=`lslpp -L | grep 'C for AIX Compiler$' | awk '{print $2}'` +*) ccversion=`lslpp -L | grep 'C for AIX Compiler$' | grep -v '\.msg\.[A-Za-z_]*\.' | awk '{print $2}'` case "$ccversion" in '') ccversion=`lslpp -L | grep 'IBM C and C++ Compilers LUM$' | awk '{print $2}'` ;;