d_setegid='undef'
d_seteuid='undef'
;;
+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
+ ;;
+5.*) usemymalloc=y
+ ;;
*) usevfork='true'
case "$usemymalloc" in
- "") usemymalloc='n'
- ;;
+ "") usemymalloc='y'
+ ;;
esac
libswanted=`echo $libswanted | sed 's/ malloc / /'`
;;
fi
ldflags="-pthread $ldflags"
case "$osvers" in
- 4.*) # 4.x has gethostbyaddr_r but it is
+ 4.*|5.0-release*)
+ # 4.x and 5.0-release have gethostbyaddr_r but it is
# "Temporary function, not threadsafe"...
d_gethostbyaddr_r="undef"
- d_gethostbyaddr_r_proto="undef"
+ d_gethostbyaddr_r_proto="0"
;;
esac
;;
# Even with the malloc mutexes the Perl malloc does not
# seem to be threadsafe in FreeBSD?
- usemymalloc=n
+ usemymalloc=y
esac
EOCBU