From eaa5a4a2c0c31e24b252e23ecfd04a2a6c3d80a8 Mon Sep 17 00:00:00 2001 From: Spider Boardman Date: Thu, 7 Sep 2000 13:54:27 -0400 Subject: Fix the ccversion detection for 5.1 and beyond. Subject: [ID 20000907.007] Not OK: perl v5.7.0 +devel-7030 on alpha-dec_osf 4.0f Message-Id: <200009072154.RAA14747@leggy.zk3.dec.com> p4raw-id: //depot/perl@7031 --- hints/dec_osf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hints/dec_osf.sh') diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 86e8f944fa..ff8c374718 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -99,7 +99,7 @@ EOF fi ;; *) # compile something small: taint.c is fine for this. - ccversion=`cc -V | grep 'DEC C' | awk '{print $3}'` + ccversion=`cc -V | grep -E '(Compaq|DEC) C' | awk '{print $3}'` # 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 -- cgit v1.2.1