summaryrefslogtreecommitdiff
path: root/hints/vos.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-05-16 18:42:34 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-16 13:44:03 +0000
commita4349beab060ae6e975b158829344a74589cf57b (patch)
tree575ef8358f74498962e05e47769bc6c54ed1cca5 /hints/vos.sh
parentfefd7080dbb7bc74916ad5ba8b63e3bdeeb86c38 (diff)
downloadperl-a4349beab060ae6e975b158829344a74589cf57b.tar.gz
Re: [ PATCH ] AIX 4.3 / gcc / threads
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020516164139.666A.H.M.BRAND@hccnet.nl> gcc 3 version parsing proofing. p4raw-id: //depot/perl@16629
Diffstat (limited to 'hints/vos.sh')
-rw-r--r--hints/vos.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/hints/vos.sh b/hints/vos.sh
index 9860a6faac..62510ee0d1 100644
--- a/hints/vos.sh
+++ b/hints/vos.sh
@@ -108,9 +108,12 @@ echo "Testing whether bug gnu_g++-220 is fixed in your compiler..."
# Try compiling the test case.
if $cc -o t001 -O $ccflags $ldflags ../hints/t001.c; then
gccbug=`$run ./t001`
+ if [ "X$gccversion" = "X" ]; then
+ # Done too late in Configure if hinted
+ gccversion=`$cc --version | sed 's/.*(GCC) *//'`
+ fi
case "$gccbug" in
- *fails*) gccversion=`$cc --version`
- cat >&4 <<EOF
+ *fails*) cat >&4 <<EOF
This C compiler ($gccversion) is known to have optimizer
problems when compiling pp_pack.c. The Stratus bug number
for this problem is gnu_g++-220.