r2453 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Wed Feb 13 14:05:36 CET 2008


Author: des
Date: 2008-02-13 14:05:36 +0100 (Wed, 13 Feb 2008)
New Revision: 2453

Modified:
   trunk/varnish-cache/configure.ac
Log:
Some source files (especially in libraries) have embedded test
programs.  Add a configure option and a corresponding automake
conditional to enable these tests.


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2008-02-13 11:35:10 UTC (rev 2452)
+++ trunk/varnish-cache/configure.ac	2008-02-13 13:05:36 UTC (rev 2453)
@@ -293,6 +293,11 @@
 	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)]),




More information about the varnish-commit mailing list