Make it work when using ConsoleKit instead of libsystemd-login
authorDavid Zeuthen <zeuthen@gmail.com>
Wed, 6 Jun 2012 18:32:26 +0000 (14:32 -0400)
committerDavid Zeuthen <zeuthen@gmail.com>
Wed, 6 Jun 2012 18:32:26 +0000 (14:32 -0400)
commit3d007cbc5d4a1560cdcca08b5ca0401371fc7b77
treee28c5dd7ee568b33f4bc1211d36c8a563637ad3d
parent14121fda7e4fa9463c66ce419cc32be7e7f3b535
Make it work when using ConsoleKit instead of libsystemd-login

... although it would be nicer to just rip out the CK bits and simply
hard-require libsystemd-login instead - it should work just fine on
non-systemd systems, same way systemd-udev works fine there.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
configure.ac
src/polkitbackend/polkitbackendinteractiveauthority.c
src/polkitbackend/polkitbackendinteractiveauthority.h
src/polkitbackend/polkitbackendjsauthority.c
test/polkitbackend/test-polkitbackendjsauthority.c