diff options
author | Michael R Sweet <michaelrsweet@gmail.com> | 2016-06-21 11:09:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 11:09:37 -0400 |
commit | 6ee5217845b2392402a50906b25eb242de753f6a (patch) | |
tree | df10153fa3b38bb63eebd7ef443f7e39442e157f /vcnet | |
parent | d48749331da414a3102bdbb5bc4b50f99ac02797 (diff) | |
parent | 441de8b2e031703feec2d8e7bacab0e1223e818a (diff) | |
download | cups-6ee5217845b2392402a50906b25eb242de753f6a.tar.gz |
Merge pull request #4825 from computersforpeace/upstart
Add Upstart socket activation support
Diffstat (limited to 'vcnet')
-rw-r--r-- | vcnet/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcnet/config.h b/vcnet/config.h index c7ea6aaf6..2ded18ba2 100644 --- a/vcnet/config.h +++ b/vcnet/config.h @@ -784,4 +784,10 @@ 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_ */ |