mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
console-kit, systemd-login: Check for logind, not for systemd
It is possible to build systemd without logind, in which case sd_booted() wo succeed. Check for /run/systemd/seats to test for logind instead, as recommended by systemd upstream. For details, see: <https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html Drop the now unnecessary linking against libsystemd-daemon, and stop linking the consolekit module to any systemd library. https://bugs.freedesktop.org/show_bug.cgi?id=62593
This commit is contained in:
parent
578d2ce5c8
commit
ef199c8a81
4 changed files with 8 additions and 16 deletions
|
|
@ -1163,7 +1163,7 @@ AC_ARG_ENABLE([systemd],
|
|||
AS_HELP_STRING([--disable-systemd],[Disable optional systemd support]))
|
||||
|
||||
AS_IF([test "x$enable_systemd" != "xno"],
|
||||
[PKG_CHECK_MODULES(SYSTEMD, [ libsystemd-login libsystemd-daemon ], HAVE_SYSTEMD=1, HAVE_SYSTEMD=0)],
|
||||
[PKG_CHECK_MODULES(SYSTEMD, [ libsystemd-login ], HAVE_SYSTEMD=1, HAVE_SYSTEMD=0)],
|
||||
HAVE_SYSTEMD=0)
|
||||
|
||||
AS_IF([test "x$enable_systemd" = "xyes" && test "x$HAVE_SYSTEMD" = "x0"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue