2007-11-22 Marek Habersack <mhabersack@novell.com>
[mono.git] / configure.in
index 08aeaf5570001a488abb77d45b809cbbba721b10..2de9c2bbe27c80c32238d33c47f94d5799970657 100644 (file)
@@ -6,7 +6,7 @@ AC_CANONICAL_SYSTEM
 m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
 
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mono,1.2.5.99)
+AM_INIT_AUTOMAKE(mono,1.2.6)
 AM_MAINTAINER_MODE
 
 API_VER=1.0
@@ -1484,6 +1484,7 @@ else
        AC_CHECK_LIB(winmm, main, LIBS="$LIBS -lwinmm", AC_ERROR(bad mingw install?))
        AC_CHECK_LIB(oleaut32, main, LIBS="$LIBS -loleaut32", AC_ERROR(bad mingw install?))
        AC_CHECK_LIB(advapi32, main, LIBS="$LIBS -ladvapi32", AC_ERROR(bad mingw install?))
+       AC_CHECK_LIB(version, main, LIBS="$LIBS -lversion", AC_ERROR(bad mingw install?))
 
        dnl *********************************
        dnl *** Check for struct ip_mreqn ***
@@ -1631,6 +1632,7 @@ if test "x$try_shared_handles" != "xyes"; then
        AC_SUBST(DISABLE_SHARED_HANDLES)
 fi
 
+
 AC_ARG_ENABLE(nunit-tests, [ --enable-nunit-tests      Run the nunit tests of the class library on 'make check'])
 AM_CONDITIONAL(ENABLE_NUNIT_TESTS, [test x$enable_nunit_tests = xyes])
 
@@ -1971,10 +1973,10 @@ AC_ARG_WITH(preview,  [ --with-preview=yes,no     If you want to install the 2.0
        fi
 ])
 
-MOONLIGHT=no
+MOONLIGHT=yes
 AC_ARG_WITH(moonlight,[ --with-moonlight=yes,no   If you want to build the Moonlight 2.1 assemblies],[
-       if test x$with_moonlight = xyes; then
-             MOONLIGHT=yes
+       if test x$with_moonlight = xno; then
+             MOONLIGHT=no
        fi
 ])