]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - xcode/config.h
Merge pull request #4825 from computersforpeace/upstart
[thirdparty/cups.git] / xcode / config.h
index d7765b3f79ce662ec82b93161ec75bcb5096adfc..8b106cd96c78f576cda16b71573ee5cd1090c4a8 100644 (file)
@@ -740,4 +740,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_ */