1 diff -urN gnome-sharp-2.24.2/configure.in gnome-sharp-2.24.2.new//configure.in
2 --- gnome-sharp-2.24.2/configure.in 2010-10-09 21:42:55.000000000 +0200
3 +++ gnome-sharp-2.24.2.new//configure.in 2010-10-23 15:49:01.620369916 +0200
8 +PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
9 +if test "x$has_mint" = "xfalse" ; then
10 + MONO_REQUIRED_VERSION=1.0
11 + PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
12 + if test "x$has_mint" = "xtrue" ; then
13 + enable_monogetoptions=yes
17 AC_PATH_PROG(GACUTIL, gacutil, no)
18 if test "x$GACUTIL" = "xno" ; then
19 AC_MSG_ERROR([No gacutil tool found. You need to install either the mono or .Net SDK.])
24 +elif test "x$has_mint" = "xtrue"; then
25 +dnl use mint if mono is not found
26 +GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /root $(DESTDIR)$(prefix)/lib'
27 +GENERATED_SOURCES=generated/*.cs
28 +AC_PATH_PROG(RUNTIME, mint, no)
29 +AC_PATH_PROG(CSC, mcs, no)
32 +SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`"
33 +if test "x$SDCHECK" = "xSystem.Drawing"; then
39 AC_PATH_PROG(CSC, csc.exe, no)