From cd49e2f6641aaa3a9185704ca2f14a1e0855c247 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Dec 2013 01:36:59 +0100 Subject: build-sys: build bus-driverd if kdbus support is enabled --- Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dcf0bb3bb3..3f47bc8e5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1899,6 +1899,7 @@ bus-proxyd-uninstall-hook: INSTALL_EXEC_HOOKS += bus-proxyd-install-hook UNINSTALL_EXEC_HOOKS += bus-proxyd-uninstall-hook +if ENABLE_KDBUS nodist_systemunit_DATA += \ units/systemd-bus-proxyd@.service @@ -1910,6 +1911,7 @@ dist_userunit_DATA += \ USER_UNIT_ALIASES += \ $(systemunitdir)/systemd-bus-proxyd@.service systemd-bus-proxyd@.service +endif EXTRA_DIST += \ units/systemd-bus-proxyd@.service.in @@ -3697,7 +3699,14 @@ dist_zshcompletion_DATA += \ endif -if ENABLE_BUS_DRIVERD +polkitpolicy_in_files += \ + src/hostname/org.freedesktop.hostname1.policy.in + +EXTRA_DIST += \ + units/systemd-hostnamed.service.in + +# ------------------------------------------------------------------------------ +if ENABLE_KDBUS systemd_bus_driverd_SOURCES = \ src/bus-driverd/bus-driverd.c @@ -3711,12 +3720,6 @@ rootlibexec_PROGRAMS += \ systemd-bus-driverd endif -polkitpolicy_in_files += \ - src/hostname/org.freedesktop.hostname1.policy.in - -EXTRA_DIST += \ - units/systemd-hostnamed.service.in - # ------------------------------------------------------------------------------ if ENABLE_LOCALED systemd_localed_SOURCES = \ -- cgit v1.2.3