This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #40161] ccversion fix for hpux
authorsmoketst@hp46t243.cup.hp.com <smoketst@hp46t243.cup.hp.com>
Wed, 16 Aug 2006 23:10:52 +0000 (16:10 -0700)
committerSteve Peters <steve@fisharerojo.org>
Wed, 23 Aug 2006 16:08:17 +0000 (16:08 +0000)
From: smoketst@hp46t243.cup.hp.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31263-1155795052-1297.40161-75-0@perl.org>

p4raw-id: //depot/perl@28751

hints/hpux.sh

index f769e51..be1a51e 100644 (file)
@@ -157,7 +157,7 @@ case `$cc -v 2>&1`"" in
                done
            [ -z "$cc_found" ] && cc_found=`which cc`
            what $cc_found >&4
-           ccversion=`what $cc_found | awk '/Compiler/{print $2}/Itanium/{print $6,$7}'`
+           ccversion=`what $cc_found | awk '/Compiler/{print $2}/Itanium/{print $6,$7}/for Integrity/{print $7}'`
            case "$ccflags" in
                "-Ae "*) ;;
                *)  ccflags="-Ae $cc_cppflags"