1 diff -Nuard gtk-sharp-1.0.orig/configure.in gtk-sharp-1.0/configure.in
2 --- gtk-sharp-1.0.orig/configure.in 2004-06-29 18:02:15.000000000 +0200
3 +++ gtk-sharp-1.0/configure.in 2004-06-30 23:45:46.724677928 +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 + GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir)'
30 + GENERATED_SOURCES=generated/*.cs
31 + AC_PATH_PROG(RUNTIME, mint, no)
32 + AC_PATH_PROG(CSC, mcs, no)
36 + AC_PATH_PROG(CSC, csc.exe, no)
37 + if test x$CSC = "xno"; then
38 + AC_MSG_ERROR([You need to install either mono or .Net])