]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Clean up DEFAULT_PID_FILE in similar manner
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 20 Aug 2010 02:06:26 +0000 (04:06 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 20 Aug 2010 02:06:26 +0000 (04:06 +0200)
configure.in
src/Makefile.am

index 4658189370aab19f879bf3f0a5ad7509906294c1..78e203d9ed01927ce36c4793c8eb4fdd86ca07cf 100644 (file)
@@ -192,7 +192,7 @@ esac
 )
 AC_SUBST(DEFAULT_LOG_DIR)
 
-DEFAULT_PIDFILE="$localstatedir/run/squid.pid"
+DEFAULT_PID_FILE="$localstatedir/run/squid.pid"
 AC_ARG_WITH(pidfile,
   AS_HELP_STRING([--with-pidfile=PATH],
     [Default location for squid pid file. Default: PREFIX/var/run/squid.pid]), [
@@ -201,11 +201,11 @@ case $withval in
    AC_MSG_ERROR( --with-pidfile requires a file PATH. --with-pidfile=PATH )
    ;;
  *)
-   DEFAULT_PIDFILE="$withval"
+   DEFAULT_PID_FILE="$withval"
    ;;
  esac
 ])
-AC_SUBST(DEFAULT_PIDFILE)
+AC_SUBST(DEFAULT_PID_FILE)
 
 if test "x$GCC" = "xyes"; then
   GCCVER=`$CC -v 2>&1 | awk '$2 ==  "version" {print $3}'`
index e34b441d3c1b92455193af73980f8213932b7936..1e6b57e126f8cf3677b882e36fa26b15fd9bbda5 100644 (file)
@@ -737,7 +737,6 @@ DEFAULT_LOG_PREFIX  = $(DEFAULT_LOG_DIR)
 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_PIDFILE)
 DEFAULT_NETDB_FILE      = $(DEFAULT_LOG_PREFIX)/netdb.state
 DEFAULT_SWAP_DIR        = $(localstatedir)/cache
 DEFAULT_PINGER         = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`