Bläddra i källkod

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

Miguel de Icaza 18 år sedan
förälder
incheckning
09189ef4ee
2 ändrade filer med 12 tillägg och 1 borttagningar
  1. 9 0
      ChangeLog
  2. 3 1
      configure.in

+ 9 - 0
ChangeLog

@@ -1,3 +1,12 @@
+2008-02-29  Miguel de Icaza  <[email protected]>
+
+	* configure.in: Detect if there is an mcs1 command installed as
+	the external c# compiler, and if this is the compiler, pick this
+	to bootstrap. 
+
+	You need to re-autogen.sh after the first installation of mono
+	with the new scripts.
+
 2008-02-28  Miguel de Icaza  <[email protected]>
 
 	* scripts/Makefile.am: Implement new defaults for the Mono 2.0

+ 3 - 1
configure.in

@@ -1928,6 +1928,8 @@ if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86" -o "x$TARGET" = "xALPHA"; t
 	fi
 fi
 
+AC_PATH_PROG(MCSCMD, mcs1, mcs1, mcs)
+
 AC_MSG_CHECKING(if the Mono Debugger is supported on this platform)
 if test "x$mono_debugger_supported" = "xyes"; then
 	AC_DEFINE(MONO_DEBUGGER_SUPPORTED,1,[The Mono Debugger is supported on this platform])
@@ -2209,7 +2211,7 @@ fi
     echo 'IL_FLAGS = /debug' >> $srcdir/$mcsdir/build/config.make
     echo "RUNTIME = $mono_build_root/runtime/mono-wrapper" >> $srcdir/$mcsdir/build/config.make
     echo "ILDISASM = $mono_build_root/runtime/monodis-wrapper" >> $srcdir/$mcsdir/build/config.make
-
+    echo "EXTERNAL_MCS = $MCSCMD" >>  $srcdir/$mcsdir/build/config.make
     case $INSTALL in
     [[\\/$]]* | ?:[[\\/]]* ) mcs_INSTALL=$INSTALL ;;
     *) mcs_INSTALL=$mono_build_root/$INSTALL ;;