On 02/26/2014 04:49 PM, David C. Rankin wrote:
On 02/26/2014 01:01 PM, Slávek Banko wrote:
Will this
work? Will HAVE_SYSTEMD be seen in dm.h (or any other header)
> so it can be used as a preprocessor check?
Must remove is nice requirement,
but when the code in reality without the
presence of consolekit can not do anything, so it is quite the same as if
there was not :)
Ok,
I've made some progress. We will need to add:
add_definitions(-DWITH_SYSTEMD)
in order to get the preprocessor definition to be recognized (only took about 3
hours to find that out :p)
I'll rebuild - this time actually tripping the WITH_SYSTEMD preprocessor flag...
Slavek, Francios,
Here is an updated patch that sets the WITH_SYSTEMD preprocessor flag