diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index fea79cbb3..05490a519 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... @@ -724,4 +730,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_ */ |