diff options
author | Monsta <[email protected]> | 2015-10-01 11:20:49 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-10-01 11:20:49 +0300 |
commit | 95b8f96ad66ab555c763dafebac8a49b9c6f3d51 (patch) | |
tree | 58af0cdee8b38351be318f73170936333f0ccad9 | |
parent | 599bc816e0dca82f921e6d77c2018d7818e7b7b2 (diff) | |
download | mate-screensaver-95b8f96ad66ab555c763dafebac8a49b9c6f3d51.tar.bz2 mate-screensaver-95b8f96ad66ab555c763dafebac8a49b9c6f3d51.tar.xz |
configure.ac: add support for new libsystemd library
-rw-r--r-- | configure.ac | 6 |
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 |