From 7696928986f501d3d6879c8adfe416998c3cd6ea Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Thu, 28 Mar 2002 23:27:14 +0100 Subject: hints/freebsd.sh to allow usemymalloc Message-ID: <87bsd88jt9.fsf_-_@vran.herceg.de> p4raw-id: //depot/perl@15603 --- hints/freebsd.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'hints') diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 46ea1fcda4..4a01430017 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 -- cgit v1.2.1