]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - xcode/config.h
Do some cleanup for the on-demand support - remove old launchd support (no
[thirdparty/cups.git] / xcode / config.h
index 8b106cd96c78f576cda16b71573ee5cd1090c4a8..54117ac5a07d30761c7a5e766fae81da52d7c3c8 100644 (file)
 #define HAVE_PTHREAD_H 1
 
 
+/*
+ * Do we have on-demand support (launchd/systemd/upstart)?
+ */
+
+#define HAVE_ONDEMAND 1
+
+
 /*
  * Do we have launchd support?
  */
 
 #define HAVE_LAUNCH_H 1
 #define HAVE_LAUNCHD 1
-#define HAVE_LAUNCH_ACTIVATE_SOCKET 1
+
+
+/*
+ * Do we have systemd support?
+ */
+
+/* #undef HAVE_SYSTEMD */
+
+
+/*
+ * Do we have upstart support?
+ */
+
+/* #undef HAVE_UPSTART */
 
 
 /*
@@ -740,10 +760,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_ */