hints/freebsd.sh to allow usemymalloc
Slaven Rezic [Thu, 28 Mar 2002 22:27:14 +0000 (23:27 +0100)]
Message-ID: <87bsd88jt9.fsf_-_@vran.herceg.de>

p4raw-id: //depot/perl@15603

hints/freebsd.sh

index 46ea1fc..4a01430 100644 (file)
@@ -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