dnl
-dnl "$Id: cups-directories.m4 4933 2006-01-16 00:26:57Z mike $"
+dnl "$Id: cups-directories.m4 5023 2006-01-29 14:39:44Z mike $"
dnl
dnl Directory stuff for the Common UNIX Printing System (CUPS).
dnl
Darwin*)
# Darwin and MacOS X...
INITDIR=""
- INITDDIR="/System/Library/StartupItems/PrintingServices"
+ AC_CHECK_PROG(INITDDIR, launchd,
+ "/System/Library/LaunchDaemons",
+ "/System/Library/StartupItems/PrintingServices")
;;
Linux | GNU)
AC_ARG_WITH(cachedir, [ --with-cachedir set path for cache files],cachedir="$withval",cachedir="")
if test x$cachedir = x; then
- CUPS_CACHEDIR="$localstatedir/cache/cups"
+ if test "x$uname" = xDarwin; then
+ CUPS_CACHEDIR="$localstatedir/tmp/cups"
+ else
+ CUPS_CACHEDIR="$localstatedir/cache/cups"
+ fi
else
CUPS_CACHEDIR="$cachedir"
fi
AC_SUBST(CUPS_STATEDIR)
dnl
-dnl End of "$Id: cups-directories.m4 4933 2006-01-16 00:26:57Z mike $".
+dnl End of "$Id: cups-directories.m4 5023 2006-01-29 14:39:44Z mike $".
dnl