diff options
-rw-r--r-- | hints/aix.sh | 5 | ||||
-rw-r--r-- | hints/bsdos.sh | 5 | ||||
-rw-r--r-- | hints/dec_osf.sh | 5 | ||||
-rw-r--r-- | hints/freebsd.sh | 4 | ||||
-rw-r--r-- | hints/hpux.sh | 5 | ||||
-rw-r--r-- | hints/linux.sh | 5 | ||||
-rw-r--r-- | hints/openbsd.sh | 5 | ||||
-rw-r--r-- | hints/solaris_2.sh | 5 |
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 @ @'` |