diff options
author | Brian Norris <briannorris@google.com> | 2016-05-27 13:07:05 -0700 |
---|---|---|
committer | Brian Norris <briannorris@google.com> | 2016-05-27 13:07:05 -0700 |
commit | 441de8b2e031703feec2d8e7bacab0e1223e818a (patch) | |
tree | f872afcaad2e5eafeeaf46767815a914e36495fb /config.h.in | |
parent | 26c14fa6e1b9639d47aca3032337d9fe728ee2dc (diff) | |
download | cups-441de8b2e031703feec2d8e7bacab0e1223e818a.tar.gz |
support Upstart socket activation
Inspired by code here:
https://bugs.launchpad.net/upstart/+bug/1276713
With significant refactoring and bug-fixing.
Notably, Upstart only supports passing a single file descriptor via
UPSTART_FDS, so systems that want to use this support will need to
configure CUPS appropriately in order to use this.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in index 526f91a5e..918d90f08 100644 --- a/config.h.in +++ b/config.h.in @@ -494,6 +494,12 @@ #undef HAVE_SYSTEMD +/* + * Do we have upstart support? + */ + +#undef HAVE_UPSTART + /* * Various scripting languages... @@ -717,7 +723,7 @@ 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) +#if defined(HAVE_LAUNCHD) || defined(HAVE_SYSTEMD) || defined(HAVE_UPSTART) # define HAVE_ONDEMAND #else # undef HAVE_ONDEMAND |