From 79972d22ac7085c252b6714d7dffd10fb470db6b Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sat, 1 Jun 2013 11:38:10 -0400 Subject: [PATCH] Fix failure to build exit-on-close gdbus test In the case that HAVE_DBUS_DAEMON was undefined (as in ostree where glib is built before D-Bus) this test was failing. Move it inside the HAVE_DBUS_DAEMON block. --- gio/tests/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am index 14982515e..212b524fa 100644 --- a/gio/tests/Makefile.am +++ b/gio/tests/Makefile.am @@ -274,9 +274,6 @@ gdbus_connection_flush_SOURCES = \ test-pipe-unix.c \ test-pipe-unix.h -test_programs += gdbus-exit-on-close -gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c $(gdbus_tests_sources) $(gdbus_sessionbus_sources) - test_programs += gdbus-non-socket gdbus_non_socket_SOURCES = \ gdbus-non-socket.c \ @@ -316,6 +313,7 @@ test_programs += \ gdbus-auth \ gdbus-connection \ gdbus-bz627724 \ + gdbus-exit-on-close \ gdbus-connection-loss \ gdbus-connection-slow \ gdbus-names \ @@ -332,6 +330,7 @@ test_programs += \ $(NULL) gdbus_proxy_threads_CFLAGS = $(AM_CFLAGS) $(DBUS1_CFLAGS) +gdbus_exit_on_close_SOURCES = $(gdbus_sessionbus_sources) gdbus-exit-on-close.c gapplication_SOURCES = $(gdbus_sessionbus_sources) gapplication.c actions_SOURCES = $(gdbus_sessionbus_sources) actions.c gdbus_auth_SOURCES = $(gdbus_sessionbus_sources) gdbus-auth.c