From 4de7e3a28691dec1434bfa3ef7e6568c966fecd5 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 5 Aug 2001 13:56:46 +0000 Subject: [PATCH] Some Tru64 C compilers have C++ components that confuse the ccversion parsing. p4raw-id: //depot/perl@11580 --- hints/dec_osf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 71bc05f..8bf043f 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -100,7 +100,7 @@ EOF fi ;; *) # compile something small: taint.c is fine for this. - ccversion=`cc -V | awk '/(Compaq|DEC) C/ {print $3}'` + ccversion=`cc -V | awk '/(Compaq|DEC) C/ {print $3}' | grep '^V'` # the main point is the '-v' flag of 'cc'. case "`cc -v -I. -c taint.c -o taint$$.o 2>&1`" in */gemc_cc*) # we have the new DEC GEM CC -- 1.8.3.1