summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/name-test/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/name-test/Makefile.am b/test/name-test/Makefile.am
index 1b5722b0..a3c5166a 100644
--- a/test/name-test/Makefile.am
+++ b/test/name-test/Makefile.am
@@ -16,7 +16,11 @@ if DBUS_BUILD_TESTS
## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
## build even when not doing "make check"
-noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client test-autolaunch
+noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client
+
+if DBUS_ENABLE_LAUNCHD
+noinst_PROGRAMS+=test-autolaunch
+endif
test_names_SOURCES= \
test-names.c