summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-12 17:49:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-12 17:49:25 +0000
commit0d9fb23463c32ae1c8bbc5c38ebf35e1ae0134cd (patch)
treeab860e5989de764f85b75ea56263bcce3016ee8f /hints
parent1959eefa49f10a38ce74b04e0e5ade1aa0f804a4 (diff)
downloadperl-0d9fb23463c32ae1c8bbc5c38ebf35e1ae0134cd.tar.gz
64-bitness tweak: separate 64bitint and 64bitall.
p4raw-id: //depot/cfgperl@5680
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh51
1 files changed, 25 insertions, 26 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 67d823adf6..4d5071773a 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -140,11 +140,33 @@ else
fi
# Do this right now instead of the delayed callback unit approach.
-case "$use64bitall" in
-$define|true|[yY]*) use64bitint="$define" ;;
-esac
case "$use64bitint" in
$define|true|[yY]*)
+ case "$ccisgcc" in
+ "$define") ld=$cc ;;
+ *) ld=/usr/bin/ld ;;
+ esac
+ ar=/usr/bin/ar
+ full_ar=$ar
+
+ case "$ccisgcc" in
+ "$define") ;;
+ *) # The strict ANSI mode (-Aa) doesn't like the LL suffixes.
+ case "$ccflags" in
+ *-Ae*)
+ echo "(Changing from strict ANSI compilation to extended because of 64-bitintness)"
+ ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @g'`
+ ;;
+ *) ccflags="$ccflags -Ae" ;;
+ esac
+ ;;
+ esac
+ ;;
+esac
+
+# Do this right now instead of the delayed callback unit approach.
+case "$use64bitall" in
+$define|true|[yY]*)
if [ "$xxOsRevMajor" -lt 11 ]; then
cat <<EOM >&4
@@ -176,32 +198,10 @@ EOM
*LP64*|*PA-RISC2.0*) ;;
*) xxx=/no/64-bit$xxx ;;
esac'
- case "$ccisgcc" in
- "$define") ld=$cc ;;
- *) ld=/usr/bin/ld ;;
- esac
- ar=/usr/bin/ar
- full_ar=$ar
-
- case "$ccisgcc" in
- "$define") ;;
- *) # The strict ANSI mode (-Aa) doesn't like the LL suffixes.
- case "$ccflags" in
- *-Aa*)
- echo "(Changing from strict ANSI compilation to extended because of 64-bitness)"
- ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'`
- ;;
- *) ccflags="$ccflags -Ae" ;;
- esac
- ;;
- esac
set `echo " $libswanted " | sed -e 's@ dl @ @'`
libswanted="$*"
- case "$ccisgcc" in
- "$define") ;;
- esac
;;
esac
@@ -209,7 +209,6 @@ case "$ccisgcc" in
# Even if you use gcc, prefer the HP math library over the GNU one.
"$define") test -d /lib/pa1.1 && ccflags="$ccflags -L/lib/pa1.1" ;;
esac
-
case "$ccisgcc" in
"$define") ;;