summaryrefslogtreecommitdiff
path: root/vcnet
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2016-06-21 11:57:03 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2016-06-21 11:57:03 -0400
commit1166bf58660ab483d7d743f05f5da84b56202a16 (patch)
tree11944e5b87f518ca0e25c7721a12e7fec3c4a161 /vcnet
parent6ee5217845b2392402a50906b25eb242de753f6a (diff)
downloadcups-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 'vcnet')
-rw-r--r--vcnet/config.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/vcnet/config.h b/vcnet/config.h
index 2ded18ba2..30c188e13 100644
--- a/vcnet/config.h
+++ b/vcnet/config.h
@@ -534,6 +534,13 @@ typedef unsigned long useconds_t;
/*
+ * Do we have on-demand support (launchd/systemd/upstart)?
+ */
+
+/* #undef HAVE_ONDEMAND */
+
+
+/*
* Do we have launchd support?
*/
@@ -549,6 +556,13 @@ typedef unsigned long useconds_t;
/*
+ * Do we have upstart support?
+ */
+
+/* #undef HAVE_UPSTART */
+
+
+/*
* Various scripting languages...
*/
@@ -784,10 +798,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_ */