build-sys: meson: Make module-console-kit optional
Default build configuration would fail to run on a system without systemd-logind
(or elogind
) and without ConsoleKit
daemon responding on dbus interface. Here, module-console-kit
would fail to initialize, preventing daemon from starting.
Make module-console-kit
an optional build feature to allow opt-out.
Another option would be to remove module-console-kit
!513 (closed) but ConsoleKit2 looks alive so there could still be users out there.