r2211 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Tue Oct 30 14:39:21 CET 2007


Author: des
Date: 2007-10-30 14:39:21 +0100 (Tue, 30 Oct 2007)
New Revision: 2211

Modified:
   trunk/varnish-cache/configure.ac
Log:
Add an --enable-diagnostics option which causes DIAGNOSTICS to be defined.


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2007-10-30 12:57:03 UTC (rev 2210)
+++ trunk/varnish-cache/configure.ac	2007-10-30 13:39:21 UTC (rev 2211)
@@ -134,6 +134,9 @@
 AC_ARG_ENABLE(debugging-symbols,
 	AS_HELP_STRING([--enable-debugging-symbols],[enable debugging symbols (default is NO)]),
 	CFLAGS="${CFLAGS} -O0 -g -fno-inline")
+AC_ARG_ENABLE(diagnostics,
+	AS_HELP_STRING([--enable-diagnostics],[enable run-time diagnostics (default is NO)]),
+	CFLAGS="${CFLAGS} -DDIAGNOSTICS")
 AC_ARG_ENABLE(extra-developer-warnings,
 	AS_HELP_STRING([--enable-extra-developer-warnings],[enable even stricter warnings (default is NO)]),
 	CFLAGS="${CFLAGS} ${EXTRA_DEVELOPER_CFLAGS}")




More information about the varnish-commit mailing list