Use DEBUG instead of ENABLE_DEBUG in config.h

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2014-07-04 18:25:22 +08:00
parent 270fd1dd7b
commit 21d9c486c0

View file

@ -80,7 +80,7 @@ AC_SUBST(DEPS_LIBS)
AC_ARG_ENABLE(debug,AS_HELP_STRING([--enable-debug],[enable debug])) AC_ARG_ENABLE(debug,AS_HELP_STRING([--enable-debug],[enable debug]))
if test "x$enable_debug" = "xyes"; then if test "x$enable_debug" = "xyes"; then
AC_DEFINE(ENABLE_DEBUG, 1, "debug") AC_DEFINE(DEBUG, 1, "debug")
fi fi
AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = "xyes") AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = "xyes")