diff options
-rw-r--r-- | hints/darwin.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index c2e7606d7b..b4a7e52898 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 <<EOM >&4 + +*** You do not have threadsafe libraries, I cannot use threads. +*** Cannot continue, aborting. +EOM + exit 1 + ;; +esac |