--- /dev/null
+#
+# All configuration options that can be enabled are enabled,
+# XXX: with the exception of those that depend on the environment.
+# TODO: Add environment-specific tests to enable more options.
+#
+# TEST: Disable auth and auth helpers. Every other possible feature enabled.
+#
+# Complete Check - everything is supposed to work at this level
+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 ' --enable-' and '\' strings
+#
+# grep -E "^AC_ARG_WITH" ./configure.ac | grep -o -E "[0-9a-z\-]+[,]" | grep -o -E "[^,]+" >without.opts
+# followed by insertion of ' --with-' and ' \' strings
+#
+# sometimes it's just too automatic..
+# Following options should be populated with local settings.
+# We can't test them automatically everywhere
+#
+# --with-default-user=NAME \
+# --with-aufs-threads=N \
+# --with-coss-membuf-size=N \
+# --with-filedescriptors=N \
+# --with-cppunit-basedir=PATH \
+# --with-openssl=PATH \
+# --with-po2html=PATH \
+# --with-tags=TAGS \
+#
+# Following features require special support from other optional packages.
+# We can't test them automatically everywhere without detecting those
+# optional packages first.
+#
+# --enable-ecap \
+# --enable-epoll \
+# --enable-kqueue \
+# --enable-win32-service \
+# --with-valgrind-debug \
+#
+# --enable-cpu-profiling \ Requires CPU support.
+#
+#
+# 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=" \
+ --enable-loadable-modules \
+ --enable-gnuregex \
+ --enable-optimizations \
+ --enable-inline \
+ --enable-debug-cbdata \
+ --enable-xmalloc-statistics \
+ --enable-async-io \
+ --enable-storeio \
+ --enable-disk-io \
+ --enable-removal-policies \
+ --enable-icmp \
+ --enable-delay-pools \
+ --enable-icap-client \
+ --enable-useragent-log \
+ --enable-referer-log \
+ --enable-wccp \
+ --enable-wccpv2 \
+ --enable-kill-parent-hack \
+ --enable-snmp \
+ --enable-cachemgr-hostname \
+ --enable-eui \
+ --enable-htcp \
+ --enable-ssl \
+ --enable-forw-via-db \
+ --enable-cache-digests \
+ --enable-poll \
+ --enable-select \
+ --enable-http-violations \
+ --enable-ipfw-transparent \
+ --enable-leakfinder \
+ --enable-follow-x-forwarded-for \
+ --enable-ident-lookups \
+ --enable-internal-dns \
+ --enable-default-hostsfile \
+ --disable-auth \
+ --disable-basic-auth-helpers \
+ --disable-ntlm-auth-helpers \
+ --disable-negotiate-auth-helpers \
+ --disable-digest-auth-helpers \
+ --disable-ntlm-fail-open \
+ --enable-external-acl-helpers \
+ --enable-url-rewrite-helpers \
+ --enable-mempools \
+ --enable-unlinkd \
+ --enable-stacktraces \
+ --enable-vary \
+ --enable-x-accelerator-vary \
+ --enable-ipv6 \
+ --enable-auto-locale \
+ --enable-translation \
+ --enable-zph-qos \
+ --enable-esi \
+ --with-aio \
+ --with-build-environment=default \
+ --with-dl \
+ --with-dns-cname \
+ --with-gnu-ld \
+ --with-ipv6-split-stack \
+ --with-large-files \
+ --with-pic \
+ --with-pthreads \
+ --enable-build-info=squid\ test\ build \
+ "
+
+# Fix the distclean testing.
+export DISTCHECK_CONFIGURE_FLAGS