2006-06-24 Zoltan Varga <vargaz@gmail.com>
[mono.git] / configure.in
index 45bbb7857a66b1af50c3c86e91596ea12459eb1c..b1b3b4b9fb504e7d524c6353ae1d89fce4114056 100644 (file)
@@ -607,6 +607,11 @@ case "x$gc" in
        xincluded)
                AC_CONFIG_SUBDIRS(libgc)
 
+               # Pass CPPFLAGS to libgc configure
+               # Maybe we should use a separate variable for this to avoid passing useless and
+               # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64)
+               export CPPFLAGS
+
                found_boehm=yes
                gc_headers=yes
                use_included_gc=yes
@@ -1762,9 +1767,8 @@ AM_CONDITIONAL(MONO_DEBUGGER_SUPPORTED, test x$mono_debugger_supported = xyes)
 
 if test "x$with_tls" = "x__thread"; then
        AC_DEFINE(HAVE_KW_THREAD)
-   # Pass the information to libgc
+       # Pass the information to libgc
        CPPFLAGS="$CPPFLAGS -DUSE_COMPILER_TLS"
-       export CPPFLAGS
        AC_MSG_CHECKING(if the tls_model attribute is supported)
        AC_TRY_COMPILE([static __thread int foo __attribute__((tls_model("initial-exec")));], [
                ], [
@@ -1936,6 +1940,12 @@ mono/arch/ia64/Makefile
 mono/interpreter/Makefile
 mono/tests/Makefile
 mono/tests/tests-config
+mono/tests/cas/Makefile
+mono/tests/cas/assembly/Makefile
+mono/tests/cas/demand/Makefile
+mono/tests/cas/inheritance/Makefile
+mono/tests/cas/linkdemand/Makefile
+mono/tests/cas/threads/Makefile
 mono/benchmark/Makefile
 mono/monoburg/Makefile
 mono/monograph/Makefile
@@ -2022,11 +2032,11 @@ echo "
        $disabled
 
 "
-if text x$gc = xsgen; then
+if test x$gc = xsgen; then
         echo IMPORTANT:
        echo IMPORTANT: You have selected an experimental, work-in-progress 
        echo IMPORTANT: GC engine.  This GC engine is currently not supported
        echo IMPORTANT: and is not yet ready for use.  
        echo IMPORTANT:
        echo IMPORTANT: There are known problems with it, use at your own risk.
-fi
\ No newline at end of file
+fi