programs. Add a configure option and a corresponding automake
conditional to enable these tests.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2453
d4fa192b-c00b-0410-8231-
f00ffab90ce4
AS_HELP_STRING([--enable-stack-protector],[enable stack protector (default is NO)]),
CFLAGS="${CFLAGS} -fstack-protector-all")
+# --enable-tests
+AC_ARG_ENABLE(tests,
+ AS_HELP_STRING([--enable-tests],[build test programs (default is NO)]))
+AM_CONDITIONAL([ENABLE_TESTS], [test x$enable_tests = xyes])
+
# --enable-werror
AC_ARG_ENABLE(werror,
AS_HELP_STRING([--enable-werror],[use -Werror (default is NO)]),