AC_SUBST(AUTH_LIBS_TO_BUILD)
dnl Select logging daemon helpers to build
-squid_opt_logdaemon_helpers="auto"
AC_ARG_ENABLE(log-daemon-helpers,
AS_HELP_STRING([--enable-log-daemon-helpers="list of helpers"],
[This option selects which logging daemon helpers to
build and install as part of the normal build process
For a list of available helpers see the helpers/log_daemon
directory.]),[
-case "$enableval" in
- yes) : ;;
- no) squid_opt_logdaemon_helpers="" ;;
- *) squid_opt_logdaemon_helpers="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`" ;;
- esac
+#nothing to do, really
])
m4_include([helpers/log_daemon/modules.m4])
# This file is supposed to run all the tests required to identify which
# configured modules are able to be built in this environment
-# FIXME: de-duplicate $squid_opt_logdaemon_helpers list containing double entries.
+# FIXME: de-duplicate $enable_log_daemon_helpers list containing double entries.
#define list of modules to build
-if test "x$squid_opt_logdaemon_helpers" = "xauto" ; then
- squid_opt_logdaemon_helpers=""
- SQUID_LOOK_FOR_MODULES([$srcdir/helpers/log_daemon],[squid_opt_logdaemon_helpers])
+if test "x${enable_log_daemon_helpers:=yes}" = "xyes" ;then
+ enable_log_daemon_helpers=""
+ SQUID_LOOK_FOR_MODULES([$srcdir/helpers/log_daemon],[enable_log_daemon_helpers])
+fi
+if test "x$enable_log_daemon_helpers" = "xnone" ; then
+ enable_log_daemon_helpers=""
fi
LOG_DAEMON_HELPERS=""
-squid_opt_logdaemon_helpers="`echo $squid_opt_logdaemon_helpers| sed -e 's/,/ /g;s/ */ /g'`"
-if test "x$squid_opt_logdaemon_helpers" = "x"; then
- for helper in $squid_opt_logdaemon_helpers ; do
+enable_log_daemon_helpers="`echo $enable_log_daemon_helpers| sed -e 's/,/ /g;s/ */ /g'`"
+if test "x$enable_log_daemon_helpers" != "xno"; then
+ for helper in $enable_log_daemon_helpers ; do
dir="$srcdir/helpers/log_daemon/$helper"
# modules converted to autoconf macros already