+## Copyright (C) 1996-2015 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
#
-# 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
+#
+# Check - everything MUST work at this level
+# distcheck is not possible here since it drops our configure options...
+MAKETEST="distcheck"
+#
+#
+# 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=" \
+# 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-loadable-modules \
--disable-gnuregex \
--disable-optimizations \
--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-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-ipv6 \
--disable-zph-qos \
--disable-auto-locale \
+ --disable-translation \
\
--without-pthreads \
--without-aio \
--without-dl \
- --without-openssl \
--without-large-files \
--without-valgrind-debug \
--without-ipv6-split-stack \
- --without-ipv4-mapped \
- --without-localhost-ipv6 \
--without-dns-cname \
+ --without-openssl \
--without-po2html \
"
+
+# Fix the distclean testing.
+export DISTCHECK_CONFIGURE_FLAGS