2010-05-28 Robert Jordan <robertj@gmx.net>
authorRobert Jordan <robertj@gmx.net>
Fri, 28 May 2010 22:17:55 +0000 (22:17 -0000)
committerRobert Jordan <robertj@gmx.net>
Fri, 28 May 2010 22:17:55 +0000 (22:17 -0000)
* configure.in: Fix mcs_topdir* for the Windows build.

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

ChangeLog
configure.in

index c8cb5c02b290c1d3ec861864ceae442808c8023b..9d1697f86152f0552133629407953bbbcb3d3b04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-28  Robert Jordan  <robertj@gmx.net>
+
+       * configure.in: Fix mcs_topdir* for the Windows build.
+
 2010-05-28  Mark Probst  <mark.probst@gmail.com>
 
        * tools/sgen/sgen-grep-binprot.c (main): Use strtoul(), not
index c489882f1f1fdba9229dac22cc0db26ce4b6895b..e02f7e92f8c9f4c0bb08dcc2f2f589bfbbdf5da7 100644 (file)
@@ -478,6 +478,12 @@ mcs_topdir=$(cd "$srcdir/$mcsdir" && pwd)
 mcs_topdir_from_srcdir='$(top_builddir)'/$mcsdir
 fi
 
+# Convert paths to Windows syntax.
+if test x$cross_compiling$host_win32 = xnoyes; then
+  mcs_topdir=$(cygpath -m -a $mcs_topdir)
+  mcs_topdir_from_srcdir=$(cygpath -m -a $mcs_topdir_from_srcdir)
+fi
+
 ## Maybe should also disable if mcsdir is invalid.  Let's punt the issue for now.
 AM_CONDITIONAL(BUILD_MCS, [test x$cross_compiling = xno && test x$enable_mcs_build != xno])