diff options
author | Pavel Šimerda <psimerda@redhat.com> | 2015-03-04 15:32:33 +0100 |
---|---|---|
committer | Pavel Šimerda <psimerda@redhat.com> | 2015-03-04 15:56:27 +0100 |
commit | 068e9210ec2deb63cda38b2c7cbb1987ed98130d (patch) | |
tree | fb89c694b181743b4fad4ede3efee326776c791c /configure.ac | |
parent | ce6d5580f5f66edc3635854f3c7a98950cf227e9 (diff) | |
download | NetworkManager-068e9210ec2deb63cda38b2c7cbb1987ed98130d.tar.gz |
session: check for libsystemd-logind and fallback to libsystemd
The previous change turned out to be wrong despite it was nothing more
than a reversion of the respective lines.
Acked-By: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5f3511a5e0..44705dd725 100644 --- a/configure.ac +++ b/configure.ac @@ -373,7 +373,7 @@ AS_IF([test -z "$use_consolekit"], [use_consolekit="yes"]) # output session_tracking= if test "$use_systemd_logind" = "yes"; then - PKG_CHECK_MODULES(SYSTEMD_LOGIND, [libsystemd], , [PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login])]) + PKG_CHECK_MODULES(SYSTEMD_LOGIND, [libsystemd-login], , [PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd])]) AC_SUBST(SYSTEMD_LOGIN_CFLAGS) AC_SUBST(SYSTEMD_LOGIN_LIBS) AC_DEFINE([SESSION_TRACKING_SYSTEMD], 1, [Define to 1 if libsystemd-login is available]) |