trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] Bug 1902 - pam.d and preprocessor checks surrounding consolekit may be part of issue

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 26 Feb 2014 17:03:21 -0600
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

-- 
David C. Rankin, J.D.,P.E.

Attachments: