Index: longomatch.git/configure.ac
===================================================================
--- longomatch.git.orig/configure.ac	2010-04-08 17:10:13.592991898 +0200
+++ longomatch.git/configure.ac	2010-04-08 17:10:46.776989524 +0200
@@ -38,22 +38,11 @@
 
 
 dnl Check for C# compiler
-AC_PATH_PROG(CSC, csc, no)
+AC_PATH_PROG(CSC, mono-csc, no)
 if test "x$CSC" = "xno"; then
-	AC_PATH_PROG(MCS, gmcs, no)
-	if test "x$MCS" = "xno"; then
-       		AC_PATH_PROG(MCS2, gmcs2,no)
-		if test "x$MCS2" = "xno"; then
-			AC_MSG_ERROR([You need to install a C-sharp compiler])
-		else 
-			AC_SUBST(CSC,[gmcs2])	
-		fi
-	
-	else 
-		AC_SUBST(CSC,[gmcs])
-	fi
-else 
-	AC_SUBST(CSC,[csc])
+	AC_MSG_ERROR([You need to install a C-sharp compiler])
+else
+	AC_SUBST(CSC,[mono-csc])
 fi
 
 dnl Check for gettext utils
