chiark / gitweb /
only build and install systemd-bus-proxyd if --enable-kdbus
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
Thu, 25 Sep 2014 21:13:19 +0000 (18:13 -0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Sep 2014 22:19:04 +0000 (18:19 -0400)
Makefile.am

index 5312851..065d688 100644 (file)
@@ -387,7 +387,6 @@ rootlibexec_PROGRAMS = \
        systemd-ac-power \
        systemd-sysctl \
        systemd-sleep \
-       systemd-bus-proxyd \
        systemd-socket-proxyd \
        systemd-update-done
 
@@ -2428,6 +2427,10 @@ systemd_run_LDADD = \
        libsystemd-shared.la
 
 # ------------------------------------------------------------------------------
+if ENABLE_KDBUS
+rootlibexec_PROGRAMS += \
+       systemd-bus-proxyd
+
 systemd_bus_proxyd_SOURCES = \
        src/bus-proxyd/bus-proxyd.c \
        src/bus-proxyd/bus-policy.c \
@@ -2449,7 +2452,6 @@ 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