dnl Select logging daemon helpers to build
AC_ARG_ENABLE(log-daemon-helpers,
AS_HELP_STRING([--enable-log-daemon-helpers="list of helpers"],
- [This option selects which logging daemon helpers to
+ [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
+ For a list of available helpers see the src/log/
directory.]),[
#nothing to do, really
])
-m4_include([helpers/log_daemon/modules.m4])
+m4_include([src/log/helpers.m4])
AC_ARG_ENABLE(external-acl-helpers,
AS_HELP_STRING([--enable-external-acl-helpers="list of helpers"],
build none. For a list of available helpers see the
src/security/cert_validators/ directory.]),[
])
-m4_include([src/security/cert_validators/modules.m4])
+m4_include([src/security/cert_validators/helpers.m4])
dnl Select storeid_rewrite helpers to build
AC_ARG_ENABLE(storeid-rewrite-helpers,
helpers/external_acl/unix_group/Makefile
helpers/external_acl/wbinfo_group/Makefile
helpers/external_acl/time_quota/Makefile
- helpers/log_daemon/Makefile
- helpers/log_daemon/DB/Makefile
- helpers/log_daemon/file/Makefile
helpers/negotiate_auth/Makefile
helpers/negotiate_auth/kerberos/Makefile
helpers/negotiate_auth/SSPI/Makefile
src/ip/Makefile
src/ipc/Makefile
src/log/Makefile
+ src/log/DB/Makefile
+ src/log/file/Makefile
src/mem/Makefile
src/mgr/Makefile
src/parser/Makefile
basic_auth \
digest_auth \
external_acl \
- log_daemon \
negotiate_auth \
ntlm_auth \
url_rewrite \
basic_auth \
digest_auth \
external_acl \
- log_daemon \
negotiate_auth \
url_rewrite \
storeid_rewrite
+++ /dev/null
-## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-## Alphabetical list of sub-directories to distribute with Squid:
-DIST_SUBDIRS = \
- DB \
- file
-
-SUBDIRS = $(LOG_DAEMON_HELPERS)
-EXTRA_DIST = modules.m4
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
+DIST_SUBDIRS= DB file
+SUBDIRS= $(LOG_DAEMON_HELPERS)
+EXTRA_DIST= helpers.m4
+
noinst_LTLIBRARIES = liblog.la
liblog_la_SOURCES = \
libexec_PROGRAMS = log_file_daemon
log_file_daemon_SOURCES = log_file_daemon.cc
log_file_daemon_LDADD = \
- -L$(top_builddir)/lib $(COMPAT_LIB) \
+ $(COMPAT_LIB) \
$(XTRA_LIBS)
EXTRA_DIST = required.m4
#include <paths.h>
#endif
-#include "defines.h"
+#include "helpers/defines.h"
/* parse buffer - ie, length of longest expected line */
#define LOGFILE_BUF_LEN 65536
auto_logdaemon_modules=no
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])
+ SQUID_LOOK_FOR_MODULES([$srcdir/src/log],[enable_log_daemon_helpers])
auto_logdaemon_modules=yes
fi
if test "x$enable_log_daemon_helpers" = "xnone" ; then
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"
+ dir="$srcdir/src/log/$helper"
# modules converted to autoconf macros already
# NP: we only need this list because m4_include() does not accept variables
if test "x$helper" = "xDB" ; then
- m4_include([helpers/log_daemon/DB/required.m4])
+ m4_include([src/log/DB/required.m4])
elif test "x$helper" = "xfile" ; then
- m4_include([helpers/log_daemon/file/required.m4])
+ m4_include([src/log/file/required.m4])
# modules not yet converted to autoconf macros (or third party drop-in's)
elif test -f "$dir/config.test" && sh "$dir/config.test" "$squid_host_os"; then
BUILD_HELPER="$helper"
fi
- if test -d "$srcdir/helpers/log_daemon/$helper"; then
+ if test -d "$srcdir/src/log/$helper"; then
if test "$BUILD_HELPER" != "$helper"; then
if test "x$auto_logdaemon_modules" = "xyes"; then
AC_MSG_NOTICE([Log daemon helper $helper ... found but cannot be built])
DIST_SUBDIRS= fake
SUBDIRS= $(SECURITY_CERTV_HELPERS)
-
+EXTRA_DIST= helpers.m4