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.
This commit is contained in:
Ryan Lortie 2013-06-01 11:38:10 -04:00
parent 16ec629580
commit 79972d22ac

View File

@ -274,9 +274,6 @@ gdbus_connection_flush_SOURCES = \
test-pipe-unix.c \ test-pipe-unix.c \
test-pipe-unix.h 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 test_programs += gdbus-non-socket
gdbus_non_socket_SOURCES = \ gdbus_non_socket_SOURCES = \
gdbus-non-socket.c \ gdbus-non-socket.c \
@ -316,6 +313,7 @@ test_programs += \
gdbus-auth \ gdbus-auth \
gdbus-connection \ gdbus-connection \
gdbus-bz627724 \ gdbus-bz627724 \
gdbus-exit-on-close \
gdbus-connection-loss \ gdbus-connection-loss \
gdbus-connection-slow \ gdbus-connection-slow \
gdbus-names \ gdbus-names \
@ -332,6 +330,7 @@ test_programs += \
$(NULL) $(NULL)
gdbus_proxy_threads_CFLAGS = $(AM_CFLAGS) $(DBUS1_CFLAGS) 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 gapplication_SOURCES = $(gdbus_sessionbus_sources) gapplication.c
actions_SOURCES = $(gdbus_sessionbus_sources) actions.c actions_SOURCES = $(gdbus_sessionbus_sources) actions.c
gdbus_auth_SOURCES = $(gdbus_sessionbus_sources) gdbus-auth.c gdbus_auth_SOURCES = $(gdbus_sessionbus_sources) gdbus-auth.c