Mercurial > masqmail
comparison 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 |
comparison
equal
deleted
inserted
replaced
418:4cbaf6d6793f | 419:d209b4846f2b |
---|---|
604 | 604 |
605 ac_subst_vars='am__EXEEXT_FALSE | 605 ac_subst_vars='am__EXEEXT_FALSE |
606 am__EXEEXT_TRUE | 606 am__EXEEXT_TRUE |
607 LTLIBOBJS | 607 LTLIBOBJS |
608 LIBOBJS | 608 LIBOBJS |
609 with_piddir | |
609 with_confdir | 610 with_confdir |
610 with_spooldir | 611 with_spooldir |
611 with_logdir | 612 with_logdir |
612 USE_LIBLOCKFILE | 613 USE_LIBLOCKFILE |
613 LOCKFILE_LIBS | 614 LOCKFILE_LIBS |
713 enable_auth | 714 enable_auth |
714 with_liblockfile | 715 with_liblockfile |
715 with_logdir | 716 with_logdir |
716 with_spooldir | 717 with_spooldir |
717 with_confdir | 718 with_confdir |
719 with_piddir | |
718 ' | 720 ' |
719 ac_precious_vars='build_alias | 721 ac_precious_vars='build_alias |
720 host_alias | 722 host_alias |
721 target_alias | 723 target_alias |
722 CC | 724 CC |
1359 --with-group=GROUP set group mail | 1361 --with-group=GROUP set group mail |
1360 --with-liblockfile use liblock (for Debian) | 1362 --with-liblockfile use liblock (for Debian) |
1361 --with-logdir=DIR set log directory /var/log/masqmail | 1363 --with-logdir=DIR set log directory /var/log/masqmail |
1362 --with-spooldir=DIR set spool directory /var/spool/masqmail | 1364 --with-spooldir=DIR set spool directory /var/spool/masqmail |
1363 --with-confdir=DIR directory for configuration /etc/masqmail | 1365 --with-confdir=DIR directory for configuration /etc/masqmail |
1366 --with-piddir=DIR directory for pid files /var/run | |
1364 | 1367 |
1365 Some influential environment variables: | 1368 Some influential environment variables: |
1366 CC C compiler command | 1369 CC C compiler command |
1367 CFLAGS C compiler flags | 1370 CFLAGS C compiler flags |
1368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
4242 | 4245 |
4243 | 4246 |
4244 | 4247 |
4245 | 4248 |
4246 | 4249 |
4250 | |
4247 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 4251 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
4248 if test -n "$ac_tool_prefix"; then | 4252 if test -n "$ac_tool_prefix"; then |
4249 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 4253 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
4250 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 4254 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4370 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 | 4374 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
4371 ac_status=$? | 4375 ac_status=$? |
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4373 test $ac_status = 0; }; then | 4377 test $ac_status = 0; }; then |
4374 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` | 4378 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` |
4379 test "x$?" != "x0" && pkg_failed=yes | |
4375 else | 4380 else |
4376 pkg_failed=yes | 4381 pkg_failed=yes |
4377 fi | 4382 fi |
4378 else | 4383 else |
4379 pkg_failed=untried | 4384 pkg_failed=untried |
4386 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 | 4391 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
4387 ac_status=$? | 4392 ac_status=$? |
4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4389 test $ac_status = 0; }; then | 4394 test $ac_status = 0; }; then |
4390 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` | 4395 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` |
4396 test "x$?" != "x0" && pkg_failed=yes | |
4391 else | 4397 else |
4392 pkg_failed=yes | 4398 pkg_failed=yes |
4393 fi | 4399 fi |
4394 else | 4400 else |
4395 pkg_failed=untried | 4401 pkg_failed=untried |
4405 _pkg_short_errors_supported=yes | 4411 _pkg_short_errors_supported=yes |
4406 else | 4412 else |
4407 _pkg_short_errors_supported=no | 4413 _pkg_short_errors_supported=no |
4408 fi | 4414 fi |
4409 if test $_pkg_short_errors_supported = yes; then | 4415 if test $_pkg_short_errors_supported = yes; then |
4410 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1` | 4416 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` |
4411 else | 4417 else |
4412 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1` | 4418 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` |
4413 fi | 4419 fi |
4414 # Put the nasty error message in config.log where it belongs | 4420 # Put the nasty error message in config.log where it belongs |
4415 echo "$GLIB_PKG_ERRORS" >&5 | 4421 echo "$GLIB_PKG_ERRORS" >&5 |
4416 | 4422 |
4417 as_fn_error $? "Package requirements (glib-2.0) were not met: | 4423 as_fn_error $? "Package requirements (glib-2.0) were not met: |
5282 fi | 5288 fi |
5283 | 5289 |
5284 | 5290 |
5285 cat >>confdefs.h <<_ACEOF | 5291 cat >>confdefs.h <<_ACEOF |
5286 #define CONF_DIR "${with_confdir}" | 5292 #define CONF_DIR "${with_confdir}" |
5293 _ACEOF | |
5294 | |
5295 | |
5296 | |
5297 | |
5298 # Check whether --with-piddir was given. | |
5299 if test "${with_piddir+set}" = set; then : | |
5300 withval=$with_piddir; | |
5301 else | |
5302 with_piddir='/var/run' | |
5303 | |
5304 fi | |
5305 | |
5306 | |
5307 cat >>confdefs.h <<_ACEOF | |
5308 #define PID_DIR "${with_piddir}" | |
5287 _ACEOF | 5309 _ACEOF |
5288 | 5310 |
5289 | 5311 |
5290 | 5312 |
5291 test "x$prefix" = xNONE && prefix="$ac_default_prefix" | 5313 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |