Use AC_DEFINE for DEBUG macro instead of adding it to CFLAGS

This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-29 12:58:52 +09:00
parent 8c5db539b3
commit c69f6f4186
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ if test "x$werror" != "xno"; then
fi fi
if test "x$debug" != "xno"; then if test "x$debug" != "xno"; then
CFLAGS="$CFLAGS -DDEBUGBUILD" AC_DEFINE([DEBUGBUILD], [1], [Define to 1 to enable debug output.])
fi fi
AC_SUBST([TESTS_LIBS]) AC_SUBST([TESTS_LIBS])