mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 13:40:10 +01:00
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>
This commit is contained in:
parent
ce6d5580f5
commit
068e9210ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue