diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2016-06-21 11:57:03 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2016-06-21 11:57:03 -0400 |
commit | 1166bf58660ab483d7d743f05f5da84b56202a16 (patch) | |
tree | 11944e5b87f518ca0e25c7721a12e7fec3c4a161 /config.h.in | |
parent | 6ee5217845b2392402a50906b25eb242de753f6a (diff) | |
download | cups-1166bf58660ab483d7d743f05f5da84b56202a16.tar.gz |
Do some cleanup for the on-demand support - remove old launchd support (no
longer needed), naming/style updates, fix compiler warnings.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/config.h.in b/config.h.in index 05490a519..0323eaace 100644 --- a/config.h.in +++ b/config.h.in @@ -480,12 +480,18 @@ /* + * Do we have on-demand support (launchd/systemd/upstart)? + */ + +#undef HAVE_ONDEMAND + + +/* * Do we have launchd support? */ #undef HAVE_LAUNCH_H #undef HAVE_LAUNCHD -#undef HAVE_LAUNCH_ACTIVATE_SOCKET /* @@ -494,6 +500,7 @@ #undef HAVE_SYSTEMD + /* * Do we have upstart support? */ @@ -730,10 +737,4 @@ static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); } # endif /* __GNUC__ || __STDC_VERSION__ */ #endif /* !HAVE_ABS && !abs */ -#if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD) || defined(HAVE_UPSTART) -# define HAVE_ONDEMAND -#else -# undef HAVE_ONDEMAND -#endif - #endif /* !_CUPS_CONFIG_H_ */ |