1 configure.ac: Check for libsystemd, not libsystemd-daemon.
3 Newer versions of systemd do not provide libsystemd-daemon anymore.
4 Therefore, use libsystemd instead.
6 Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
8 diff --git a/configure.ac b/configure.ac
9 index bb3674e..2b02ef4 100644
12 @@ -28,7 +28,7 @@ AC_ARG_WITH([systemd],
13 [], [with_systemd=check])
15 if test "x$with_systemd" != "xno"; then
16 - PKG_CHECK_MODULES(systemd, [libsystemd-daemon],
17 + PKG_CHECK_MODULES(systemd, [libsystemd],
18 [AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is available])