summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2002-02-05 10:30:58 +0000
committerArtur Bergman <sky@nanisky.com>2002-02-05 10:30:58 +0000
commit4f8ddd771cda27533f4680b572d765b063e03e11 (patch)
treee853c3dd28601693b7ad1674fc5c19024426804e /hints
parent6fecce66bf5da93daf0d8b2ef8093422a24df6a3 (diff)
downloadperl-4f8ddd771cda27533f4680b572d765b063e03e11.tar.gz
Enable building with threads under macosx, assume __APPLE__ means darwin and disable _r functions, since we don't have them.
p4raw-id: //depot/perl@14557
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index d5e27a593e..b0c317d696 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -81,6 +81,9 @@ ccflags="${ccflags} -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN"
# cppflags='-traditional-cpp';
# avoid Apple's cpp precompiler, better for extensions
cppflags="${cppflags} -no-cpp-precomp"
+# and ccflags needs them aswell since we don't use cpp directly
+ccflags="${ccflags} -no-cpp-precomp"
+
# Shared library extension is .dylib.
# Bundle extension is .bundle.
@@ -133,9 +136,13 @@ case "$usethreads$useithreads$use5005threads" in
*define*)
cat <<EOM >&4
-*** You do not have threadsafe libraries, I cannot use threads.
-*** Cannot continue, aborting.
+*** Warning, there might be problems with your libraries with
+*** regards to threading.
+
EOM
- exit 1
+#*** You do not have threadsafe libraries, I cannot use threads.
+#*** Cannot continue, aborting.
+#EOM
+# exit 1
;;
esac