This patch is based on the Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=443666 to add a configure option for ConsoleKit support to LXDM build.
LXDM (hopefuly) does not hard depend on ConsoleKit, so having such a configure option would make sense.
It will default to --enable-consolekit and the current behaviour, not to break any build system.
If --enable-consolekit should stop the build when ConsoleKit is not detected (not the case at the moment), replace "echo "ConsoleKit devel package not found"" with "AC_MSG_ERROR([ConsoleKit devel package not found])".
Log in to post a comment.