summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2003-01-03 08:23:16 +0000
committerArtur Bergman <sky@nanisky.com>2003-01-03 08:23:16 +0000
commit9bff986ac099639cb63c1af35bf85e00cdb370c7 (patch)
treea0ab3cbecd8dff96f7c2d7e52db34bdf20777fc4 /hints
parentc7dd62f6d09657a468a31e6f1d7745e2ea59048b (diff)
downloadperl-9bff986ac099639cb63c1af35bf85e00cdb370c7.tar.gz
Under darwin 6.0+ (MacOSX 10.2) we have threadsafe
libc_r functions. p4raw-id: //depot/perl@18406
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 777960e2b9..7565935274 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -147,7 +147,10 @@ firstmakefile=GNUmakefile;
#
case "$usethreads$useithreads" in
*define*)
- cat <<EOM >&4
+ case "$osvers" in
+ [12345].*) cat <<EOM >&4
+
+
*** Warning, there might be problems with your libraries with
*** regards to threading. The test ext/threads/t/libc.t is likely
@@ -155,4 +158,7 @@ case "$usethreads$useithreads" in
EOM
;;
+ *) usereentrant='define';;
+ esac
+
esac