masqmail

diff configure.ac @ 419:d209b4846f2b

The pid files goes to /var/run/masqmail.pid now. Added --with-piddir. Now we can change the pid dir to /run on system that did this transition.
author markus schnalke <meillo@marmaro.de>
date Tue, 29 May 2012 21:35:17 +0200
parents 7fe36ba87598
children f37384470855
line diff
     1.1 --- a/configure.ac	Tue May 29 21:33:49 2012 +0200
     1.2 +++ b/configure.ac	Tue May 29 21:35:17 2012 +0200
     1.3 @@ -188,6 +188,15 @@
     1.4  AC_DEFINE_UNQUOTED(CONF_DIR, "${with_confdir}", [The configuration file location])
     1.5  AC_SUBST(with_confdir)
     1.6  
     1.7 +dnl dir for pid files
     1.8 +AC_ARG_WITH(piddir,
     1.9 +	[  --with-piddir=DIR       directory for pid files [/var/run]],
    1.10 +	,
    1.11 +	with_piddir='/var/run'
    1.12 +	)
    1.13 +AC_DEFINE_UNQUOTED(PID_DIR, "${with_piddir}", [The pid file location])
    1.14 +AC_SUBST(with_piddir)
    1.15 +
    1.16  test "x$prefix" = xNONE && prefix="$ac_default_prefix"
    1.17  
    1.18  dnl well, /me/ thought that autoconf should make things _easy_ ... -- oku