From: Jarkko Hietaniemi Date: Mon, 1 Oct 2001 19:22:16 +0000 (+0000) Subject: Mac OS X doesn't have threadsafe (_r) libc interfaces. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2590a1d735c9a5b2bb0473048e14315c625a1b7f;p=p5sagit%2Fp5-mst-13.2.git Mac OS X doesn't have threadsafe (_r) libc interfaces. Until it has, better stop early if someone requests threads. p4raw-id: //depot/perl@12300 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index c2e7606..b4a7e52 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -113,3 +113,20 @@ LC_ALL=C; export LC_ALL; # makefile in the same place. Since Darwin uses GNU make, this dodges # the problem. firstmakefile=GNUmakefile; + +# +# The libraries are not threadsafe as of OS X 10. (10.1?) +# Better stop now. +# +# Fix when Apple fixes libc. +# +case "$usethreads$useithreads$use5005threads" in +*define*) +cat <&4 + +*** You do not have threadsafe libraries, I cannot use threads. +*** Cannot continue, aborting. +EOM + exit 1 + ;; +esac