From 8a7756b21fb3b06c709f29bf145cc1ab48bdb6cc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 9 May 2012 16:52:48 -0400 Subject: [PATCH] build: Fix build with --disable-tests Commit 92c613b8f429a4fe6c762805f1a4f3588511e6a7 broke the build when tests are not enabled. Fix that by disabling this test (which depends on ../core) too. --- test/manual/Makefile.am | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/manual/Makefile.am b/test/manual/Makefile.am index 5a8dfd1..ce9ffcc 100644 --- a/test/manual/Makefile.am +++ b/test/manual/Makefile.am @@ -13,9 +13,10 @@ LDADD = \ $(DBUS_GLIB_LIBS) \ $(NULL) -noinst_PROGRAMS = \ - test-invalid-usage \ - $(NULL) +noinst_PROGRAMS = +if DBUS_BUILD_TESTS +noinst_PROGRAMS += test-invalid-usage +endif # This "test" exercises invalid usage. It is deliberately not run in # TESTS, because it's (by design) full of bugs. -- 1.7.7.6