From 28eebe0162f5caf8fec30e49291f81f48f118818 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 6 Jul 2012 15:11:40 -0500 Subject: if tests aren't explicitly requested, don't fail the build if dbus-test-runner isn't installed --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8d2d901..73f7a55 100644 --- a/configure.ac +++ b/configure.ac @@ -137,7 +137,9 @@ if test "x$enable_tests" != "xno"; then if test "x$enable_tests" = "xyes"; then PKG_CHECK_MODULES([TEST_SERVICE],[indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION dbustest-1 >= $DBUSTEST_REQUIRED_VERSION - dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION]) + dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION], + [enable_tests="yes"], + [enable_tests="no"]) fi fi AM_CONDITIONAL([BUILD_TESTS],[test "x$enable_tests" = "xyes"]) -- cgit v1.2.3