From: des Date: Wed, 13 Feb 2008 13:05:36 +0000 (+0000) Subject: Some source files (especially in libraries) have embedded test X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3999c39e93f4b50bd354207ee4d3b69a9801d395;p=varnish Some source files (especially in libraries) have embedded test 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 --- diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index 5197c1f0..204124fb 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -293,6 +293,11 @@ AC_ARG_ENABLE(stack-protector, 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)]),