summaryrefslogtreecommitdiff
path: root/hints/freebsd.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-06 08:14:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-06 08:14:48 +0000
commit7ca4b19ac3a324a55438434cebf9e27504201570 (patch)
tree5aed39798edef5c93c3152ab31d3e0e2068d5321 /hints/freebsd.sh
parent60af4b9327fbde3da3e3bd46b9fdaeae92b336db (diff)
downloadperl-7ca4b19ac3a324a55438434cebf9e27504201570.tar.gz
FreeBSD: if someone *really* wants to use the system malloc.
p4raw-id: //depot/perl@20026
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r--hints/freebsd.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 5818097bfd..479fa2b37d 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -95,9 +95,15 @@ case "$osvers" in
4.*) # In FreeBSD 4 and 5 the system malloc is performance-wise
# VERY bad for Perl-- we are talking of differences of not
# one, but TWO magnitudes.
- usemymalloc=y
+ case "$usemymalloc" in
+ "") usemymalloc='y'
+ ;;
+ esac
;;
-5.*) usemymalloc=y
+5.*) case "$usemymalloc" in
+ "") usemymalloc='y'
+ ;;
+ esac
;;
*) usevfork='true'
case "$usemymalloc" in