]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config.h.in
Factor out generic 'HAVE_ONDEMAND' macro flag
[thirdparty/cups.git] / config.h.in
index e242d561185169b2e802bda50a2b7e96936157da..526f91a5eb1611bf2198534b8f733bbc080691ad 100644 (file)
@@ -717,4 +717,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)
+#  define HAVE_ONDEMAND
+#else
+#  undef HAVE_ONDEMAND
+#endif
+
 #endif /* !_CUPS_CONFIG_H_ */