* declsec.c (dump_declsec_entry20): Fix a warning.
[mono.git] / configure.in
index d9c69efe6b7e59bf64762407f9f01512fe7d5190..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.")
@@ -1892,6 +1892,20 @@ AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/machine.config],
     cd $depth
 ],[LN_S='$LN_S'])
 
+AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/web.config],
+[   depth=../../../..
+    case $srcdir in
+    [[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
+    .) reldir=$depth ;;
+    *) reldir=$depth/$srcdir ;;
+    esac
+    $ac_aux_dir/install-sh -d runtime/etc/mono/2.0
+    cd runtime/etc/mono/2.0
+    rm -f web.config
+    $LN_S $reldir/data/net_2_0/web.config web.config
+    cd $depth
+],[LN_S='$LN_S'])
+
 AC_OUTPUT([
 Makefile
 mint.pc
@@ -2008,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