Under darwin 6.0+ (MacOSX 10.2) we have threadsafe
Artur Bergman [Fri, 3 Jan 2003 08:23:16 +0000 (08:23 +0000)]
libc_r functions.

p4raw-id: //depot/perl@18406

hints/darwin.sh

index 777960e..7565935 100644 (file)
@@ -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