[PATCH] configure.ac: Add support for new versions of systemd
Javier Jardón
jjardon at gnome.org
Sat Mar 21 20:52:03 PDT 2015
... that only provide a unique libsystemd.pc file
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 280c369..46b4989 100644
--- a/configure.ac
+++ b/configure.ac
@@ -832,7 +832,9 @@ AC_ARG_WITH([systemd-daemon],
[support systemd socket activation (default: auto)]),
[WITH_SYSTEMD_DAEMON=$withval], [WITH_SYSTEMD_DAEMON=auto])
PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
- [HAVE_SYSTEMD_DAEMON=yes], [HAVE_SYSTEMD_DAEMON=no])
+ [HAVE_SYSTEMD_DAEMON=yes],
+ [PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
+ [HAVE_SYSTEMD_DAEMON=yes], [HAVE_SYSTEMD_DAEMON=no])])
if test "x$WITH_SYSTEMD_DAEMON" = xauto; then
WITH_SYSTEMD_DAEMON="$HAVE_SYSTEMD_DAEMON"
fi
--
2.3.3
More information about the xorg-devel
mailing list