)
AC_SUBST(DEFAULT_LOG_DIR)
+DEFAULT_PIDFILE="$localstatedir/squid.pid"
+AC_ARG_WITH(pidfile,
+ AC_HELP_STRING([--with-pidfile=PATH],
+ Default location for squid PID file. default: $DEFAULT_PIDFILE),
+ [ case $withval in
+ yes|no)
+ AC_MSG_ERROR( --with-pidfile requires a file PATH. --with-pidfile=PATH )
+ ;;
+ *)
+ DEFAULT_PIDFILE="$withval"
+ ;;
+ esac
+ ]
+)
+AC_SUBST(DEFAULT_PIDFILE)
+
dnl Gerben Wierda <Gerben_Wierda@RnA.nl>
case "$host" in
mab-next-nextstep3)
<p>Enable special additions for IPv6 support in Windows XP.
see the IPv6 details above for a better description.
+ <tag>--with-pidfile=PATH</tag>
+ <p>Allow build-time configuration of Default location and name of squid.pid file.
+
<tag>--with-po2html=PATH</tag>
<p>Absolute path to po2html executable.
Default is to automatically detect the binary.
DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
-DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid
+DEFAULT_PID_FILE = @DEFAULT_PIDFILE@
DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
DEFAULT_SWAP_DIR = $(localstatedir)/cache
DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`