2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: detect if gmcs actually works. Patch by Robert Jordan.


svn path=/trunk/xsp/; revision=40499
This commit is contained in:
Gonzalo Paniagua Javier 2005-02-11 21:54:22 +00:00
Родитель e6c9c1ed75
Коммит 72107960c1
2 изменённых файлов: 23 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,7 @@
2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: detect if gmcs actually works. Patch by Robert Jordan.
2005-02-08 Raja R Harinath <rharinath@novell.com>
* test/2.0/treeview/Makefile.am (install-data-hook,uninstall-hook):

Просмотреть файл

@ -19,6 +19,25 @@ if test "x$MCS" = "xno" ; then
MCS=$CSC
fi
if test "x$GMCS" != "xno" ; then
AC_MSG_CHECKING([whether gmcs is actually able to compile...])
tmpin=`mktemp`
tmpout=`mktemp`
echo "class Foo { public static void Main() {} }" > $tmpin
if [ gmcs -r:System.Web.dll -out:$tmpout $tmpin > /dev/null 2>&1 ]
then
AC_MSG_RESULT(yes)
else
GMCS=no
AC_MSG_RESULT(no)
fi
rm -f $tmpin $tmpout
fi
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes