diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-01-12 15:15:13 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-01-12 15:15:13 +0000 |
commit | 0baa094867867dae4d06080810389e0a395c66b9 (patch) | |
tree | a21b5dff09ce2f446eac3635502095445d565aac /hints/aix_4.sh | |
parent | c560d966b003defa80c2baa9fedc0a294d2b3afe (diff) | |
download | perl-0baa094867867dae4d06080810389e0a395c66b9.tar.gz |
gcc -dumpversion is at least supported back to 2.7.x and
thus seems to be much more defensive against upcoming version
reporting format changes.
p4raw-id: //depot/perl@29777
Diffstat (limited to 'hints/aix_4.sh')
-rwxr-xr-x | hints/aix_4.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/aix_4.sh b/hints/aix_4.sh index 489ce89a73..46e8d25ffd 100755 --- a/hints/aix_4.sh +++ b/hints/aix_4.sh @@ -130,7 +130,7 @@ case "$cc" in ccdlflags='-Xlinker' if [ "X$gccversion" = "X" ]; then # Done too late in Configure if hinted - gccversion=`$cc --version | sed 's/.*(GCC) *//'` + gccversion=`$cc -dumpversion` fi ;; |