summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-14 08:56:58 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-14 08:56:58 +0200
commit0086242f3828f69de42d3ba11ee51b2cef515c6f (patch)
treed0a3d4912f870faf6db3472cb604f04bb104d2fb
parent77f6d6dc59ca04f9aaebad80e9e699d406aafb98 (diff)
Allow to use real nunit instead of mono-nunit and prefer it
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4827a3b..b2529ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,11 +144,15 @@ if test "x$NUNIT_TESTER" = "xno" ; then
fi
AC_SUBST(NUNIT_TESTER)
-PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 2.4, do_tests="yes", do_tests="no")
+PKG_CHECK_MODULES(MONO_NUNIT, nunit >= 2.4,
+ do_tests="yes",
+ [ PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 2.4,
+ do_tests="yes", do_tests="no")
+ ])
AC_SUBST(MONO_NUNIT_LIBS)
AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
if test "x$do_tests" = "xno"; then
- AC_MSG_WARN([Could not find mono-nunit: tests will not be available])
+ AC_MSG_WARN([Could not find mono-nunit or nunit: tests will not be available])
fi
AC_CHECK_SIZEOF(off_t)