From 54eb126c76d828538d1af8dda4c0dce4950c047d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 24 Oct 2003 22:06:58 +0000 Subject: [PATCH] The DEBUG symbol was not defined even if --enable-debug was used. --- configure.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.in b/configure.in index f02e598d4..df7adb207 100644 --- a/configure.in +++ b/configure.in @@ -121,11 +121,9 @@ AC_ARG_ENABLE([debug], [ --enable-debug compile with debug information]) if test x"$enable_debug" = x"yes"; then dnl debug information - DEBUG_CFLAGS="-g" - echo '#define DEBUG' >> config.h + DEBUG_CFLAGS="-g -DDEBUG" else DEBUG_CFLAGS="" - echo '/*#define DEBUG*/' >> config.h fi AC_ARG_ENABLE([profiling], [ --enable-profiling compile with profiling information])