summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2014-04-09 12:23:30 +0200
committerKarel Zak2014-04-09 12:23:30 +0200
commitebff016a19b655ff8c087c3cbe42cb8061cc8f97 (patch)
tree1eae1278c9711d79e53d90e966b961034c57f106 /sys-utils/Makemodule.am
parentbuild-sys: fix fstrim systemd stuff (diff)
downloadkernel-qcow2-util-linux-ebff016a19b655ff8c087c3cbe42cb8061cc8f97.tar.gz
kernel-qcow2-util-linux-ebff016a19b655ff8c087c3cbe42cb8061cc8f97.tar.xz
kernel-qcow2-util-linux-ebff016a19b655ff8c087c3cbe42cb8061cc8f97.zip
build-sys: consolidate systemd support
* systemd (since v209) uses only one library (when compiled without --enable-compat-libs) * all systemd build-sys stuff is merged into HAVE_SYSTEMD (automake) and HAVE_LIBSYSTEMD (C macro) now * all is controlled by --with-systemd, default is to automatically check for systemd libs * no more --enable-socket-activation and --enable-journald Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index 598f3fee0..a19d58b84 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -53,7 +53,7 @@ dist_man_MANS += sys-utils/fstrim.8
fstrim_SOURCES = sys-utils/fstrim.c
fstrim_LDADD = $(LDADD) libcommon.la libmount.la
fstrim_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir)
-if HAVE_SYSTEMD_DAEMON
+if HAVE_SYSTEMD
systemdsystemunit_DATA += \
sys-utils/fstrim.service \
sys-utils/fstrim.timer