summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-10-01 11:20:49 +0300
committerMonsta <[email protected]>2015-10-01 11:20:49 +0300
commit95b8f96ad66ab555c763dafebac8a49b9c6f3d51 (patch)
tree58af0cdee8b38351be318f73170936333f0ccad9
parent599bc816e0dca82f921e6d77c2018d7818e7b7b2 (diff)
downloadmate-screensaver-95b8f96ad66ab555c763dafebac8a49b9c6f3d51.tar.bz2
mate-screensaver-95b8f96ad66ab555c763dafebac8a49b9c6f3d51.tar.xz
configure.ac: add support for new libsystemd library
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 379f9b1..87ab770 100644
--- a/configure.ac
+++ b/configure.ac
@@ -934,9 +934,9 @@ AC_ARG_WITH(systemd,
[Add systemd support]),
[with_systemd=$withval], [with_systemd=auto])
-PKG_CHECK_MODULES(SYSTEMD,
- [libsystemd-login],
- [have_systemd=yes], [have_systemd=no])
+PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [have_systemd=yes],
+ [PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login >= $SYSTEMD_REQUIRED],
+ [have_systemd=yes])])
if test "x$with_systemd" = "xauto" ; then
if test x$have_systemd = xno ; then