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
|
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])
|
||||||
|
|
Loading…
Reference in New Issue