[PATCH] configure: Fix systemd detection

Michael Tremer michael.tremer at ipfire.org
Wed Jun 24 00:34:50 CEST 2015


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 at ipfire.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 19a3027..9222638 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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]
 )
-- 
1.8.1



More information about the ddns mailing list