From 3999c39e93f4b50bd354207ee4d3b69a9801d395 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 13 Feb 2008 13:05:36 +0000 Subject: [PATCH] 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 --- varnish-cache/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) 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)]), -- 2.39.5