summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-06-13 11:58:30 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-13 12:24:22 +0000
commitb11575486bfd20a8caa4a78b3ffbf747a1e95094 (patch)
tree129bbf2d8bc393f356913d55047b3ec12374ed8c /hints/hpux.sh
parent61cf7330b686bc733383ce43a494cf42f3032880 (diff)
downloadperl-b11575486bfd20a8caa4a78b3ffbf747a1e95094.tar.gz
[ PATCH ] mymalloc on HP-UX
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020613095503.2BB2.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17217
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh21
1 files changed, 20 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 1cd190eb5b..71705163d4 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -553,7 +553,26 @@ EOM
EOCBU
# The mysterious io_xs memory corruption in 11.00 32bit seems to get
-# fixed by not using Perl's malloc.
+# fixed by not using Perl's malloc. Flip side is performance loss.
+# So we want mymalloc for all situations possible
+usemymalloc='y'
+case "$usethreads" in
+ $define|true|[yY]*) usemymalloc='n' ;;
+ *) case "$ccisgcc" in
+ $undef|false|[nN]*)
+ case "$use64bitint" in
+ $undef|false|[nN]*)
+ case "$ccflags" in
+ *-DDEBUGGING*) ;;
+ *) usemymalloc='n' ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+
usemymalloc='n'
case "$useperlio" in
$undef|false|[nN]*) usemymalloc='y' ;;