Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2002-09-20 17:34:35 +0400
committerPaolo Molaro <lupus@oddwiz.org>2002-09-20 17:34:35 +0400
commit14043542c4bbcb28f4bf1f9fcb7a0cddf782a01f (patch)
treede199d7fe5d2204fa82ec0e923f13c642ca3adc7 /configure.in
parent99dc6fbb98018940bce5ea553c3c6626d61f551b (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.in5
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!])