poliva / lightum

MacBook automatic light sensor daemon
GNU General Public License v2.0
96 stars 29 forks source link

Try to autodetect systemd and only use it if present. #39

Open SukkoPera opened 9 years ago

SukkoPera commented 9 years ago

On Slackware systemd is not available, so always behave as if -U was specified.

Also try to autodetect availability of systemd during make, and behave accordingly. This part should be tested on a system with systemd, as I'm not sure it works correctly.