Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2009-11-01 22:16:00 +0300
committerZoltan Varga <vargaz@gmail.com>2009-11-01 22:16:00 +0300
commit284d7fb78eff23871b34752ab50abe85e4abb36c (patch)
treeac35910e32121ae996e957d8d13be42c65d1b2d2 /configure.in
parentc20fa2a85cecd69ca89f8c346ad9eb82c268ca6b (diff)
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. svn path=/trunk/mono/; revision=145171
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index ddf375265e1..3a522ff2baa 100644
--- a/configure.in
+++ b/configure.in
@@ -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