]> err.no Git - varnish/commitdiff
Add an --enable-diagnostics option which causes DIAGNOSTICS to be defined.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 30 Oct 2007 13:39:21 +0000 (13:39 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 30 Oct 2007 13:39:21 +0000 (13:39 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2211 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/configure.ac

index 41a62848468a8755e7bf177837993f396eb6aa46..495a54f3eefb940bcd45ecad449d3c382dbc4832 100644 (file)
@@ -134,6 +134,9 @@ AC_ARG_ENABLE(developer-warnings,
 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}")