]> code.delx.au - pulseaudio/commit
console-kit, systemd-login: Check for logind, not for systemd
authorMartin Pitt <martinpitt@gnome.org>
Thu, 21 Mar 2013 13:17:33 +0000 (14:17 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 29 Mar 2013 11:33:18 +0000 (13:33 +0200)
commitef199c8a816ed24fd9bb9a0a6dccfc866294c22d
tree3e1b489f733591c255e9c9cd81ca1862649b4d92
parent578d2ce5c8affbd0f8268085d709081f62521706
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
configure.ac
src/Makefile.am
src/modules/module-console-kit.c
src/modules/module-systemd-login.c