summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-03-24 21:42:25 +0000
committerNicholas Clark <nick@ccl4.org>2004-03-24 21:42:25 +0000
commitda0b61dd4c6bf78c70cbb82bfd7d9e2c4748080a (patch)
tree7d17aa229cd0e34850b2bbe1e16a51d027f60d82 /hints
parentb2e26e6edc035b06037b6eca4ef7db0cd8e603a6 (diff)
downloadperl-da0b61dd4c6bf78c70cbb82bfd7d9e2c4748080a.tar.gz
Remaining smoked platforms where malloc wrap is known to work.
Data for Irix and NetBSD would be useful - they probably will work too. Will Unicos work? Place bets now... p4raw-id: //depot/perl@22585
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh5
-rw-r--r--hints/bsdos.sh5
-rw-r--r--hints/dec_osf.sh5
-rw-r--r--hints/freebsd.sh4
-rw-r--r--hints/hpux.sh5
-rw-r--r--hints/linux.sh5
-rw-r--r--hints/openbsd.sh5
-rw-r--r--hints/solaris_2.sh5
8 files changed, 39 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index acf8222c7d..386da4d269 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -39,6 +39,11 @@ case "$usemymalloc" in
'') usemymalloc='n' ;;
esac
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# Intuiting the existence of system calls under AIX is difficult,
# at best; the safest technique is to find them empirically.
diff --git a/hints/bsdos.sh b/hints/bsdos.sh
index f16a56efc7..ab56f991da 100644
--- a/hints/bsdos.sh
+++ b/hints/bsdos.sh
@@ -21,6 +21,11 @@ d_voidsig='define'
usemymalloc='n'
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions.
# See <A HREF="http://www.bsdi.com/bsdi-man?setuid">http://www.bsdi.com/bsdi-man?setuid</A>(2)
d_setregid='undef'
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 114aca1df2..851ac24ad7 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -362,6 +362,11 @@ EOF
esac
EOCBU
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
cat > UU/uselongdouble.cbu <<'EOCBU'
# This script UU/uselongdouble.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use long doubles.
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 28e22ac62c..c6014819fa 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -269,3 +269,7 @@ EOM
esac
EOCBU
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
diff --git a/hints/hpux.sh b/hints/hpux.sh
index b2a888c164..f45cf68c56 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -630,6 +630,11 @@ case "$useperlio" in
$undef|false|[nN]*) usemymalloc='y' ;;
esac
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# fpclassify() is a macro, the library call is Fpclassify
# Similarly with the others below.
d_fpclassify='define'
diff --git a/hints/linux.sh b/hints/linux.sh
index 043590bbcb..551d96e180 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -60,6 +60,11 @@ fi
# function in <sys/stat.h>.
d_lstat=define
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# The system malloc() is about as fast and as frugal as perl's.
# Since the system malloc() has been the default since at least
# 5.001, we might as well leave it that way. --AD 10 Jan 2002
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 5d47e0af14..3b8acf585e 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -11,6 +11,11 @@
# OpenBSD has a better malloc than perl...
test "$usemymalloc" || usemymalloc='n'
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# Currently, vfork(2) is not a real win over fork(2).
usevfork="$undef"
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index c2a2edef0d..c41d31620f 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -32,6 +32,11 @@ mistrustnm=${mistrustnm:-run}
# http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-01/msg00465.html
usemymalloc=${usemymalloc:-false}
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# Avoid all libraries in /usr/ucblib.
# /lib is just a symlink to /usr/lib
set `echo $glibpth | sed -e 's@/usr/ucblib@@' -e 's@ /lib @ @'`