Use AC_DEFINE for DEBUG macro instead of adding it to CFLAGS
This commit is contained in:
parent
8c5db539b3
commit
c69f6f4186
|
@ -428,7 +428,7 @@ if test "x$werror" != "xno"; then
|
|||
fi
|
||||
|
||||
if test "x$debug" != "xno"; then
|
||||
CFLAGS="$CFLAGS -DDEBUGBUILD"
|
||||
AC_DEFINE([DEBUGBUILD], [1], [Define to 1 to enable debug output.])
|
||||
fi
|
||||
|
||||
AC_SUBST([TESTS_LIBS])
|
||||
|
|
Loading…
Reference in New Issue