Mercurial > masqmail
diff configure @ 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 wrap: on
line diff
--- a/configure Tue May 29 21:33:49 2012 +0200 +++ b/configure Tue May 29 21:35:17 2012 +0200 @@ -606,6 +606,7 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +with_piddir with_confdir with_spooldir with_logdir @@ -715,6 +716,7 @@ with_logdir with_spooldir with_confdir +with_piddir ' ac_precious_vars='build_alias host_alias @@ -1361,6 +1363,7 @@ --with-logdir=DIR set log directory /var/log/masqmail --with-spooldir=DIR set spool directory /var/spool/masqmail --with-confdir=DIR directory for configuration /etc/masqmail + --with-piddir=DIR directory for pid files /var/run Some influential environment variables: CC C compiler command @@ -4244,6 +4247,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -4372,6 +4376,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4388,6 +4393,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -4407,9 +4413,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` else - GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 @@ -5288,6 +5294,22 @@ + +# Check whether --with-piddir was given. +if test "${with_piddir+set}" = set; then : + withval=$with_piddir; +else + with_piddir='/var/run' + +fi + + +cat >>confdefs.h <<_ACEOF +#define PID_DIR "${with_piddir}" +_ACEOF + + + test "x$prefix" = xNONE && prefix="$ac_default_prefix"