From: Nicholas Clark Date: Wed, 24 Mar 2004 21:42:25 +0000 (+0000) Subject: Remaining smoked platforms where malloc wrap is known to work. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=da0b61dd4c6bf78c70cbb82bfd7d9e2c4748080a;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/hints/aix.sh b/hints/aix.sh index acf8222..386da4d 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 f16a56e..ab56f99 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 http://www.bsdi.com/bsdi-man?setuid(2) d_setregid='undef' diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 114aca1..851ac24 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 28e22ac..c601481 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 b2a888c..f45cf68 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 043590b..551d96e 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -60,6 +60,11 @@ fi # function in . 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 5d47e0a..3b8acf5 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 c2a2ede..c41d316 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 @ @'`