summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-20 08:58:00 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:47 +0200
commita093713e7f250cbbb3489445364859efe3ebe520 (patch)
treebb37d6c58699b54429bc33e80898e3780bb63657 /configure.ac
parent92dc500ffa9139beda7721a5e1fde3c307aa3d82 (diff)
2009-09-20 Ivan Maidanski <ivmai@mail.ru>
* configure.ac: Replace GC_WIN32_THREADS with GC_THREADS. * configure.ac: Process enable_parallel_mark option for Cygwin and Win32; define THREAD_LOCAL_ALLOC for Win32.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 9f2e87c..4e91724 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ AC_INIT(gc,7.2alpha3,Hans.Boehm@hp.com)
AC_CONFIG_SRCDIR(gcj_mlc.c)
AC_CANONICAL_TARGET
AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.45 $)
+AC_REVISION($Revision: 1.46 $)
GC_SET_VERSION
AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects nostdinc])
AM_MAINTAINER_MODE
@@ -154,7 +154,10 @@ case "$THREADS" in
AC_DEFINE(GC_IRIX_THREADS)
;;
*-*-cygwin*)
- AC_DEFINE(GC_WIN32_THREADS)
+ AC_DEFINE(GC_THREADS)
+ if test "${enable_parallel_mark}" = yes; then
+ AC_DEFINE(PARALLEL_MARK)
+ fi
AC_DEFINE(THREAD_LOCAL_ALLOC)
# Cygwin doesn't have a real libpthread, so Libtool can't link
# against it.
@@ -189,7 +192,11 @@ case "$THREADS" in
esac
;;
win32)
- AC_DEFINE(GC_WIN32_THREADS)
+ AC_DEFINE(GC_THREADS)
+ if test "${enable_parallel_mark}" = yes; then
+ AC_DEFINE(PARALLEL_MARK)
+ AC_DEFINE(THREAD_LOCAL_ALLOC)
+ fi
win32_threads=true
dnl Wine getenv may not return NULL for missing entry
AC_DEFINE(NO_GETENV)