summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-22 13:30:02 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-09-22 13:54:45 +0200
commit5b4010ff05254178e43cd802250e69f35d05bce5 (patch)
tree4f6aa338c3c888bc1f4d6f13aa0d854269a8ee81 /configure.ac
parenta3a0dda17526cb1465e49a2ba7f6e33da855cbce (diff)
Enable parallel marker in configure for Solaris.
* configure.ac (PARALLEL_MARK): Check --enable-parallel-mark also for Solaris.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b6c60ef..01296f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,6 +180,9 @@ case "$THREADS" in
;;
*-*-solaris*)
AC_DEFINE(GC_SOLARIS_THREADS)
+ if test "${enable_parallel_mark}" = yes; then
+ AC_DEFINE(PARALLEL_MARK)
+ fi
AC_DEFINE(THREAD_LOCAL_ALLOC)
# Need to use alternate thread library, otherwise gctest hangs
# on Solaris 8.
@@ -212,12 +215,12 @@ case "$THREADS" in
;;
*-*-darwin*)
AC_DEFINE(GC_DARWIN_THREADS)
- AC_DEFINE(THREAD_LOCAL_ALLOC)
AC_MSG_WARN("Explicit GC_INIT() calls may be required.");
# Parallel-mark is not well-tested on Darwin
if test "${enable_parallel_mark}" = yes; then
AC_DEFINE(PARALLEL_MARK)
fi
+ AC_DEFINE(THREAD_LOCAL_ALLOC)
darwin_threads=true
;;
*-*-osf*)