1 diff -urN gtk-sharp-0.98.orig/configure.in gtk-sharp-0.98/configure.in
2 --- gtk-sharp-0.98.orig/configure.in 2004-06-20 12:44:16.977015568 +0200
3 +++ gtk-sharp-0.98/configure.in 2004-06-20 12:50:28.532530544 +0200
6 MONO_REQUIRED_VERSION=0.96
7 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
8 +PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
10 if test "x$has_mono" = "xtrue"; then
11 GACUTIL_FLAGS='/package $(PACKAGE) /gacdir $(libdir)'
16 -AC_PATH_PROG(CSC, csc.exe, no)
18 -GENERATED_SOURCES=generated\\\\*.cs
20 -if test x$CSC = "xno"; then
21 - AC_MSG_ERROR([You need to install either mono or .Net])
27 +dnl use mint if mono is not found
28 + if test "x$has_mint" = "xtrue"; then
29 + AC_PATH_PROG(RUNTIME, mint, no)
30 + AC_PATH_PROG(CSC, mcs, no)
34 + AC_PATH_PROG(CSC, csc.exe, no)
35 + if test x$CSC = "xno"; then
36 + AC_MSG_ERROR([You need to install either mono or .Net])