summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-10-01 14:28:15 +0300
committerMonsta <[email protected]>2015-10-01 14:28:15 +0300
commit5c599e81b81187b1166f8ccaa9be37fe316cd056 (patch)
tree3e0751d4d315110bded620e067f86a6f45d1a9a0
parente30b208ab9447724bf3c0fb21879d2ddd404aa86 (diff)
downloadmate-session-manager-5c599e81b81187b1166f8ccaa9be37fe316cd056.tar.bz2
mate-session-manager-5c599e81b81187b1166f8ccaa9be37fe316cd056.tar.xz
fix systemd support that my copy/paste mistake broke in last commit
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 84e1d57..c36d201 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,9 +123,9 @@ AC_ARG_WITH(systemd,
use_systemd=no
if test "x$with_systemd" != "xno" ; then
- PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [have_systemd=yes],
+ PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [use_systemd=yes],
[PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login >= $SYSTEMD_REQUIRED],
- [have_systemd=yes])])
+ [use_systemd=yes])])
if test "x$use_systemd" = "xyes"; then
AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support])