2009-11-01 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Sun, 1 Nov 2009 19:16:00 +0000 (19:16 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sun, 1 Nov 2009 19:16:00 +0000 (19:16 -0000)
* configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
since it now works on windows too.

svn path=/trunk/mono/; revision=145171

ChangeLog
configure.in

index 39063c731303ddd4836b392943916122406d820f..fbb6ac0b10a040f38dbb48c71eef4a87ba16960c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
+       since it now works on windows too.
+
 2009-10-27  Zoltan Varga  <vargaz@gmail.com>
 
        * configure.in: Add support for cross-compiling to ppc.
index ddf375265e16c84fe248872f17c21a40d897e437..3a522ff2baa7999aa418c0b2ea5c1b76c6890cd8 100644 (file)
@@ -82,8 +82,10 @@ case "$host" in
                AC_DEFINE(PLATFORM_NO_SYMLINKS,1,[This platform does not support symlinks])
                if test "x$cross_compiling" = "xno"; then
                        CC="gcc -mno-cygwin -g"
+                       CXX="g++ -mno-cygwin -g"
                        # So libgc configure gets -mno-cygwin
                        export CC
+                       export CXX
                fi
                HOST_CC="gcc"
                # Windows 2000 is required that includes Internet Explorer 5.01
@@ -234,8 +236,7 @@ AM_CONDITIONAL(PLATFORM_SIGPOSIX, test x$use_sigposix = xyes)
 
 AC_CHECK_TOOL(CC, gcc, gcc)
 AC_PROG_CC
-# Disabled for now to fix the windows build
-#AC_PROG_CXX
+AC_PROG_CXX
 AM_PROG_AS
 AM_PROG_CC_STDC
 AC_PROG_INSTALL