mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

78 lines
2.2 KiB

# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/mnemoc/mono-xsp/no-net20-objects.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./configure.in (revision 40359)
+++ ./configure.in (working copy)
@@ -19,6 +19,25 @@
MCS=$CSC
fi
+if test "x$GMCS" != "xno" ; then
+ AC_MSG_CHECKING([whether gmcs is actually able to compile])
+
+ tmpin=`mktemp /tmp/xsp.XXXXXX`
+ tmpout=`mktemp /tmp/xsp.XXXXXX`
+
+ 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
--- ./configure.orig 2005-03-31 18:20:41.000000000 +0200
+++ ./configure 2005-03-31 18:20:47.000000000 +0200
@@ -1974,6 +1974,28 @@
MCS=$CSC
fi
+if test "x$GMCS" != "xno" ; then
+ echo "$as_me:$LINENO: checking whether gmcs is actually able to compile" >&5
+echo $ECHO_N "checking whether gmcs is actually able to compile... $ECHO_C" >&6
+
+ tmpin=`mktemp /tmp/xsp.XXXXXX`
+ tmpout=`mktemp /tmp/xsp.XXXXXX`
+
+ echo "class Foo { public static void Main() {} }" > $tmpin
+
+ if gmcs -r:System.Web.dll -out:$tmpout $tmpin > /dev/null 2>&1
+ then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ GMCS=no
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
+ rm -f $tmpin $tmpout
+fi
+
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes