summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-10-05 16:35:08 +0300
committerMonsta <[email protected]>2015-10-05 16:35:08 +0300
commit15d6a877306f62f7c96b8cdd1fa5a12dfd993ca4 (patch)
treec2bce95335bd6d2ee8ed452a77db4d32c8df1e52 /configure.ac
parent5c599e81b81187b1166f8ccaa9be37fe316cd056 (diff)
downloadmate-session-manager-15d6a877306f62f7c96b8cdd1fa5a12dfd993ca4.tar.bz2
mate-session-manager-15d6a877306f62f7c96b8cdd1fa5a12dfd993ca4.tar.xz
fix build issue when using libsystemd-login package
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c36d201..3e93874 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,8 +124,8 @@ AC_ARG_WITH(systemd,
use_systemd=no
if test "x$with_systemd" != "xno" ; then
PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [use_systemd=yes],
- [PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login >= $SYSTEMD_REQUIRED],
- [use_systemd=yes])])
+ [PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login],
+ [use_systemd=yes], [use_systemd=no])])
if test "x$use_systemd" = "xyes"; then
AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support])