diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2002-09-20 17:34:35 +0400 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2002-09-20 17:34:35 +0400 |
commit | 14043542c4bbcb28f4bf1f9fcb7a0cddf782a01f (patch) | |
tree | de199d7fe5d2204fa82ec0e923f13c642ca3adc7 /configure.in | |
parent | 99dc6fbb98018940bce5ea553c3c6626d61f551b (diff) |
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <lupus@ximian.com>
* configure.in: add some needed defines to fix support of
threads in the GC.
svn path=/trunk/mono/; revision=7640
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 3cd1bc0ff7b..01d1fda17ab 100644 --- a/configure.in +++ b/configure.in @@ -12,6 +12,7 @@ case "$host" in AC_DEFINE(PLATFORM_WIN32) CC="gcc -mno-cygwin" HOST_CC="gcc" + CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS" libdl= ;; *-*-*bsd*) @@ -22,12 +23,12 @@ case "$host" in ;; *-*-linux*) platform_win32=no - CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT" + CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT" libdl="-ldl" ;; *-*-solaris*) platform_win32=no - CPPFLAGS="$CPPFLAGS -D_REENTRANT" + CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT" ;; *) AC_MSG_WARN([*** Please add $host to configure.in checks!]) |