Test drives are fun. Implement ccversion for Itanium HP-UX 11.23
H.Merijn Brand [Tue, 6 Apr 2004 14:44:29 +0000 (14:44 +0000)]
p4raw-id: //depot/perl@22666

hints/hpux.sh

index f45cf68..bf74f86 100644 (file)
@@ -134,7 +134,7 @@ case `$cc -v 2>&1`"" in
                esac
            ;;
     *)      ccisgcc=''
-           ccversion=`which cc | xargs what | awk '/Compiler/{print $2}'`
+           ccversion=`which cc | xargs what | awk '/Compiler/{print $2}/Itanium/{print $6,$7}'`
            case "$ccflags" in
                "-Ae "*) ;;
                *) ccflags="-Ae $cc_cppflags -Wl,+vnocompatwarnings" ;;