summaryrefslogtreecommitdiff
path: root/hints/dec_osf.sh
diff options
context:
space:
mode:
authorSpider Boardman <spider@orb.nashua.nh.us>2000-09-07 13:54:27 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-07 22:02:29 +0000
commiteaa5a4a2c0c31e24b252e23ecfd04a2a6c3d80a8 (patch)
tree66125c3dccd8c5ebf3cd66e0c51c2f5168feb28e /hints/dec_osf.sh
parent289d4f092c382a985bdc9f6c69b13b9b784f67f9 (diff)
downloadperl-eaa5a4a2c0c31e24b252e23ecfd04a2a6c3d80a8.tar.gz
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
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r--hints/dec_osf.sh2
1 files changed, 1 insertions, 1 deletions
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