summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorMichael R Sweet <michaelrsweet@gmail.com>2016-06-21 11:09:37 -0400
committerGitHub <noreply@github.com>2016-06-21 11:09:37 -0400
commit6ee5217845b2392402a50906b25eb242de753f6a (patch)
treedf10153fa3b38bb63eebd7ef443f7e39442e157f /config.h.in
parentd48749331da414a3102bdbb5bc4b50f99ac02797 (diff)
parent441de8b2e031703feec2d8e7bacab0e1223e818a (diff)
downloadcups-6ee5217845b2392402a50906b25eb242de753f6a.tar.gz
Merge pull request #4825 from computersforpeace/upstart
Add Upstart socket activation support
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in12
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_ */