From 1006bcc8f1c419a9a235ed788751667735c61c20 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 30 Oct 2007 13:39:21 +0000 Subject: [PATCH] Add an --enable-diagnostics option which causes DIAGNOSTICS to be defined. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2211 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index 41a62848..495a54f3 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -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}") -- 2.39.5