Hello,

I put together a patch that fixes the issue.

Can you please confirm that it works with Debian + Mono 2.10?

Regards,

Jordi,
diff --git a/configure.ac b/configure.ac
index 03ed5fe..d814f3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,9 +55,13 @@ needed_assemblies="Mono.Posix Mono.Cairo Mono.CSharp"
 for i in $needed_assemblies; do
   AC_MSG_CHECKING([for $i.dll])
   if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0//$i.dll \); then
-    AC_MSG_ERROR([missing required mono 2.0 DLL: $i.dll])
+	if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/4.0//$i.dll \); then
+		AC_MSG_ERROR([missing required mono 2.0/4.0 DLL: $i.dll])
+	else
+	AC_MSG_RESULT([found])
+	fi
   else
-    AC_MSG_RESULT([found])
+	AC_MSG_RESULT([found])
   fi
 done
 

Reply via email to