The DEBUG symbol was not defined even if --enable-debug was used.

This commit is contained in:
Moritz Bunkus 2003-10-24 22:06:58 +00:00
parent a861168b51
commit 54eb126c76

View File

@ -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])