X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=xcode%2Fconfig.h;h=8b106cd96c78f576cda16b71573ee5cd1090c4a8;hp=d7765b3f79ce662ec82b93161ec75bcb5096adfc;hb=6ee5217845b2392402a50906b25eb242de753f6a;hpb=d48749331da414a3102bdbb5bc4b50f99ac02797 diff --git a/xcode/config.h b/xcode/config.h index d7765b3f7..8b106cd96 100644 --- a/xcode/config.h +++ b/xcode/config.h @@ -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_ */