summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-06-13 11:18:27 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-13 12:24:53 +0000
commit12997c75b9faaf914cd05b263bdbbcc0930ca92c (patch)
tree1de5a27ddaf729702ce2faf66e3087831e39668e /hints/aix.sh
parentb11575486bfd20a8caa4a78b3ffbf747a1e95094 (diff)
downloadperl-12997c75b9faaf914cd05b263bdbbcc0930ca92c.tar.gz
Re: [ PATCH ] AIX 5 + 17206
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020613091118.2BAF.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17218
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index e6e97a9edf..09ca0a4b57 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}'`
;;