Created attachment 54588 [details] [review]
Add systemd support
Here is a (untested) patch that adds a --enable-systemd configure option.
When it is used, polkit is using systemd for session tracking instead of
Thanks for the patch, it looks like a great start. We already have a bug for this effort so closing this one as a duplicate. Thanks!
*** This bug has been marked as a duplicate of bug 43339 ***
From a quick looks the patch looks all good to me!
Committed, thanks, and then I committed a patch on to top to automatically use systemd if available: