summaryrefslogtreecommitdiff
path: root/hints/dec_osf.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-22 14:31:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-22 14:31:21 +0000
commitbaa8820ae0cbed603563b58fc57ad147b17f1f3b (patch)
treebfc37e912fb5153dd3046b2a6b0a41aaaccd2763 /hints/dec_osf.sh
parent87b718577ff6cdca0223546e3d763cdc43aa9c70 (diff)
downloadperl-baa8820ae0cbed603563b58fc57ad147b17f1f3b.tar.gz
Tru64 V5.0 patches from Spider Boardman.
p4raw-id: //depot/cfgperl@5200
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r--hints/dec_osf.sh19
1 files changed, 16 insertions, 3 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 5eb7e80968..e5970ff2ec 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -151,7 +151,7 @@ case "`uname -r`" in
*) if $test "X$optimize" = "X$undef"; then
lddlflags="$lddlflags -msym"
else
- case "`sizer -v`" in
+ case "`/usr/sbin/sizer -v`" in
*4.0D*)
# QAR 56761: -O4 + .so may produce broken code,
# fixed in 4.0E or better.
@@ -162,7 +162,7 @@ case "`uname -r`" in
esac
# -msym: If using a sufficiently recent /sbin/loader,
# keep the module symbols with the modules.
- lddlflags="$lddlflags -msym"
+ lddlflags="$lddlflags -msym -std"
fi
;;
esac
@@ -202,7 +202,16 @@ esac
# please adjust this appropriately. See also pp_sys.c just before the
# emulate_eaccess().
+# Fixed in V5.0A.
+case "`/usr/sbin/sizer -v`" in
+*5.0[A-Z]*|*[6-9].[0-9]*)
+ : ok
+ ;;
+*)
+# V5.0 or previous
pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
+ ;;
+esac
# The off_t is already 8 bytes, so we do have largefileness.
@@ -225,7 +234,11 @@ $define|true|[yY]*)
*) libswanted="$libswanted pthread exc" ;;
esac
- usemymalloc='n'
+ case "$usemymalloc" in
+ '')
+ usemymalloc='n'
+ ;;
+ esac
;;
esac
EOCBU