diff options
author | Monsta <[email protected]> | 2015-10-01 11:30:46 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-10-01 11:30:46 +0300 |
commit | e30b208ab9447724bf3c0fb21879d2ddd404aa86 (patch) | |
tree | 807e775ab67c2bb7a9e639a8c8df3370a0419389 /configure.ac | |
parent | 7150c99091063aa5fe98d2f161086224b86481a0 (diff) | |
download | mate-session-manager-e30b208ab9447724bf3c0fb21879d2ddd404aa86.tar.bz2 mate-session-manager-e30b208ab9447724bf3c0fb21879d2ddd404aa86.tar.xz |
configure.ac: add support for new libsystemd library
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c14cccd..84e1d57 100644 --- a/configure.ac +++ b/configure.ac @@ -123,7 +123,9 @@ AC_ARG_WITH(systemd, use_systemd=no if test "x$with_systemd" != "xno" ; then - PKG_CHECK_MODULES(SYSTEMD, libsystemd-login, use_systemd=yes, use_systemd=no) + PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [have_systemd=yes], + [PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login >= $SYSTEMD_REQUIRED], + [have_systemd=yes])]) if test "x$use_systemd" = "xyes"; then AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support]) |