summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-21 16:18:49 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-21 16:18:49 +0000
commit0215cc28a64f0c5ec200bf5c210bc0178850683f (patch)
tree28424712061d84b58c6da5af89e53ee69c2f64c2 /hints/hpux.sh
parent54a37cc602dafb8466d1a805253084685a1af67d (diff)
downloadperl-0215cc28a64f0c5ec200bf5c210bc0178850683f.tar.gz
Upgrade warning should only be issued if upgrade happens
p4raw-id: //depot/perl@29341
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 4d105c75f0..05d3a69401 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -191,11 +191,14 @@ case "$ccisgcc" in
echo '#include <stdio.h>\nint main(){long l;printf("%d\\n",sizeof(l));}'>try.c
$cc -o try $ccflags $ldflags try.c
if [ "`try`" = "8" ]; then
- cat <<EOM >&4
+ case "$use64bitall" in
+ $define|true|[Yy]) ;;
+ *) cat <<EOM >&4
*** This version of gcc uses 64 bit longs. -Duse64bitall is
*** implicitly set to enable continuation
EOM
+ esac
use64bitall=$define
gcc_64native=yes
fi