+## Copyright (C) 1996-2023 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.
+##
+
#
# Minimal configuration options.
# - Everthing that can be disabled is
-# - Everyhing that can be done without is
+# - Everyhing that can be done without is
#
#
# Check - everything MUST work at this level
MAKETEST="distcheck"
#
#
-# The options for this level can be easily generated semi-automatically from configure.in by:
-# grep -E "^AC_ARG_ENABLE" ./configure.in | grep -o -E "[0-9a-z\-]+[,]" | grep -o -E "[^,]+" >disable.opts
+# The options for this level can be easily generated semi-automatically from configure.ac by:
+# grep -E "^AC_ARG_ENABLE" ./configure.ac | grep -o -E "[0-9a-z-]+[,]" | grep -o -E "[^,]+" >disable.opts
# followed by insertion of ' --disable-' and '\' strings
#
-# grep -E "^AC_ARG_WITH" ./configure.in | grep -o -E "[0-9a-z\-]+[,]" | grep -o -E "[^,]+" >without.opts
+# grep -E "^AC_ARG_WITH" ./configure.ac | grep -o -E "[0-9a-z-]+[,]" | grep -o -E "[^,]+" >without.opts
# followed by insertion of ' --without-' and ' \' strings
#
# sometimes it's just too automatic.. Following options should be just stripped
#
# --without-default-user \
# --without-aufs-threads \
-# --without-coss-membuf-size \
# --without-filedescriptors \
-# --without-cppunit-basedir \
# --without-build-environment \
#
-#
-OPTS=" \
- --disable-loadable-modules \
- --disable-gnuregex \
- --disable-optimizations \
- --disable-inline \
- --disable-debug-cbdata \
+# NP: DISTCHECK_CONFIGURE_FLAGS is a magic automake macro for the
+# distcheck target recursive tests beteen scripted runs.
+# we use it to perform the same duty between our nested scripts.
+DISTCHECK_CONFIGURE_FLAGS=" \
+ --disable-build-info \
+ --disable-shared \
--disable-xmalloc-statistics \
--disable-async-io \
--disable-storeio \
--disable-referer-log \
--disable-wccp \
--disable-wccpv2 \
- --disable-kill-parent-hack \
--disable-snmp \
--disable-cachemgr-hostname \
- --disable-arp-acl \
+ --disable-eui \
--disable-htcp \
- --disable-ssl \
+ --disable-ssl-crtd \
--disable-forw-via-db \
--disable-cache-digests \
--disable-poll \
--disable-pf-transparent \
--disable-linux-netfilter \
--disable-linux-tproxy \
- --disable-leakfinder \
--disable-follow-x-forwarded-for \
--disable-ident-lookups \
- --disable-internal-dns \
--disable-default-hostsfile \
--disable-auth \
--disable-basic-auth-helpers \
--disable-digest-auth-helpers \
--disable-ntlm-fail-open \
--disable-external-acl-helpers \
+ --disable-url-rewrite-helpers \
--disable-mempools \
--disable-win32-service \
--disable-unlinkd \
--disable-zph-qos \
--disable-auto-locale \
--disable-translation \
+ --disable-optimizations \
\
--without-pthreads \
--without-aio \
+ --without-cap \
--without-dl \
- --without-openssl \
+ --without-gnugss \
+ --without-heimdal-krb5 \
--without-large-files \
+ --without-ldap \
+ --without-mit-krb5 \
+ --without-nettle \
--without-valgrind-debug \
--without-ipv6-split-stack \
--without-dns-cname \
+ --without-gnutls \
+ --without-openssl \
--without-po2html \
+ --without-systemd \
+ --without-tdb \
"
# Fix the distclean testing.
-export DISTCHECK_CONFIGURE_FLAGS="${OPTS}"
+export DISTCHECK_CONFIGURE_FLAGS