]> git.ipfire.org Git - oddments/ddns.git/commitdiff
configure: Fix systemd detection
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2015 22:34:50 +0000 (22:34 +0000)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 1 Jul 2015 19:41:15 +0000 (21:41 +0200)
libsystem-daemon does not exist any more in newer versions of
systemd so that we will need to check libsystemd.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
configure.ac

index 19a3027f17f212b6c3c49224bf871c77507a4ead..922263835a7a1d36974f1d24a10fae33f656a1ca 100644 (file)
@@ -77,7 +77,7 @@ AC_ARG_WITH([systemd],
 )
 
 AS_IF([test "x$with_systemd" != "xno"],
-      [PKG_CHECK_MODULES(systemd, [libsystemd-daemon],
+      [PKG_CHECK_MODULES(systemd, [libsystemd],
       [have_systemd=yes], [have_systemd=no])],
       [have_systemd=no]
 )