usemymalloc='n'
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
# setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions.
-# See <A HREF="http://www.bsdi.com/bsdi-man?setuid">http://www.bsdi.com/bsdi-man?setuid</A>(2)
+# See man 2 setuid
d_setregid='undef'
d_setreuid='undef'
d_setrgid='undef'
case "$cc" in
'') cc='cc' # cc is gcc2 in 4.0
cccdlflags="-fPIC"
- ccdlflags="-rdynamic -Wl,-rpath,$privlib/$archname/CORE"
;;
esac
case "$usethreads" in
$define|true|[yY]*)
case "$osvers" in
- 3.*|4.*) ccflags="-D_REENTRANT $ccflags"
+ 3.*|4.*) ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags"
;;
*) cat <<EOM >&4
I did not know that BSD/OS $osvers supports POSIX threads.
-Feel free to tell perlbug@perl.com otherwise.
+Feel free to tell perlbug@perl.org otherwise.
EOM
exit 1
;;