From: Slaven Rezic Date: Thu, 28 Mar 2002 22:27:14 +0000 (+0100) Subject: hints/freebsd.sh to allow usemymalloc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7696928986f501d3d6879c8adfe416998c3cd6ea;p=p5sagit%2Fp5-mst-13.2.git hints/freebsd.sh to allow usemymalloc Message-ID: <87bsd88jt9.fsf_-_@vran.herceg.de> p4raw-id: //depot/perl@15603 --- diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 46ea1fc..4a01430 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -67,7 +67,10 @@ case "$osvers" in # 2.0.5*|2.0-built*|2.1*) usevfork='true' - usemymalloc='n' + case "$usemymalloc" in + "") usemymalloc='n' + ;; + esac d_setregid='define' d_setreuid='define' d_setegid='undef' @@ -79,7 +82,10 @@ case "$osvers" in # don't use -lmalloc (maybe there's an old one from 1.1.5.1 floating around) 2.2*) usevfork='true' - usemymalloc='n' + case "$usemymalloc" in + "") usemymalloc='n' + ;; + esac libswanted=`echo $libswanted | sed 's/ malloc / /'` d_setregid='define' d_setreuid='define' @@ -87,7 +93,10 @@ case "$osvers" in d_seteuid='undef' ;; *) usevfork='true' - usemymalloc='n' + case "$usemymalloc" in + "") usemymalloc='n' + ;; + esac libswanted=`echo $libswanted | sed 's/ malloc / /'` ;; esac