Index: longomatch/configure.ac
===================================================================
--- longomatch.orig/configure.ac	2010-01-29 21:09:11.608748567 +0100
+++ longomatch/configure.ac	2010-01-29 21:09:29.927730309 +0100
@@ -29,22 +29,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
