banshee r5205 - in trunk/banshee: . build/m4/shamrock



Author: gburt
Date: Wed Apr 15 21:38:42 2009
New Revision: 5205
URL: http://svn.gnome.org/viewvc/banshee?rev=5205&view=rev

Log:
2009-04-15  Gabriel Burt  <gabriel burt gmail com>

	* build/m4/shamrock/nunit.m4: If nunit is not found, look for mono-nunit.

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/build/m4/shamrock/nunit.m4

Modified: trunk/banshee/build/m4/shamrock/nunit.m4
==============================================================================
--- trunk/banshee/build/m4/shamrock/nunit.m4	(original)
+++ trunk/banshee/build/m4/shamrock/nunit.m4	Wed Apr 15 21:38:42 2009
@@ -9,6 +9,14 @@
 	AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
 
 	if test "x$do_tests" = "xno"; then
-		AC_MSG_WARN([Could not find nunit: tests will not be available.])
+        PKG_CHECK_MODULES(NUNIT, mono-nunit >= 2.4, 
+            do_tests="yes", do_tests="no")
+        
+        AC_SUBST(NUNIT_LIBS)
+        AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
+
+        if test "x$do_tests" = "xno"; then
+            AC_MSG_WARN([Could not find nunit: tests will not be available.])
+        fi
 	fi
 ])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]