2006-06-06 Zoltan Varga <vargaz@gmail.com>
[mono.git] / configure.in
index e42dfd7426f7be9b284ee04f3a2283fd6eb5caea..3f42392a62cf6ab6e6e5383302d7c9dbd92b34c9 100644 (file)
@@ -628,15 +628,15 @@ case "x$gc" in
                AC_DEFINE_UNQUOTED(USED_GC_NAME, "Included Boehm (with typed GC)", [GC description])
                ;;
 
-dnl    xsgen)
-dnl            found_boehm=no
-dnl            gc_headers=no
-dnl            use_included_gc=no
-dnl            AC_DEFINE(HAVE_SGEN_GC,1,[Using the simple generational GC.])
-dnl            AC_DEFINE(HAVE_MOVING_COLLECTOR,1,[The GC can move objects.])
-dnl            AC_DEFINE(HAVE_WRITE_BARRIERS,1,[The GC needs write barriers.])
-dnl            AC_DEFINE_UNQUOTED(USED_GC_NAME, "Simple generational", [GC description])
-dnl            ;;
+       xsgen)
+               found_boehm=no
+               gc_headers=no
+               use_included_gc=no
+               AC_DEFINE(HAVE_SGEN_GC,1,[Using the simple generational GC.])
+               AC_DEFINE(HAVE_MOVING_COLLECTOR,1,[The GC can move objects.])
+               AC_DEFINE(HAVE_WRITE_BARRIERS,1,[The GC needs write barriers.])
+               AC_DEFINE_UNQUOTED(USED_GC_NAME, "Simple generational", [GC description])
+               ;;
 
        xnone)
                AC_MSG_WARN("Compiling mono without GC.")
@@ -2022,3 +2022,11 @@ echo "
        $disabled
 
 "
+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