diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-17 09:33:39 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-17 09:33:39 +0000 |
commit | 35727b84c71fa1997973466e1085cc7718896a75 (patch) | |
tree | e7e43dfad20624da26797b823f39695f519b496c /hints/aix.sh | |
parent | 68fed2afeea75342559d1bce2d459572bbdd23e4 (diff) | |
download | perl-35727b84c71fa1997973466e1085cc7718896a75.tar.gz |
The AIX C product potentially consists of several packages,
the main package being (hopefully) the first one.
p4raw-id: //depot/perl@21261
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index bf1667bd4f..dd800ae965 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -145,7 +145,7 @@ case "$cc" in gccversion=`$cc --version | sed 's/.*(GCC) *//'` fi ;; -*) ccversion=`lslpp -L | grep 'C for AIX Compiler$' | grep -v '\.msg\.[A-Za-z_]*\.' | awk '{print $1,$2}'` +*) ccversion=`lslpp -L | grep 'C for AIX Compiler$' | grep -v '\.msg\.[A-Za-z_]*\.' | head -1 | awk '{print $1,$2}'` case "$ccversion" in '') ccversion=`lslpp -L | grep 'IBM C and C++ Compilers LUM$'` ;; |