Add -D_DEBUG when --enable-debug is used, this can't be turned off as

anyone making a debug build should use any features to help out with
debugging.

Originally committed to SVN as r2737.
This commit is contained in:
Amar Takhar 2009-02-17 02:27:31 +00:00
parent 8dc0f77fa1
commit 28b8c45b54

View file

@ -1055,6 +1055,8 @@ if test "$enable_debug" = "yes"; then
CPPFLAGS="$DEBUG_FLAGS $CPPFLAGS"
msg_debug="($DEBUG_FLAGS)"
AC_SUBST(DEBUG_FLAGS)
# This turns on some internal (to aegisub) debugging features.
AC_CXX_FLAG([-D_DEBUG])
else
enable_debug="no"
AC_MSG_RESULT([no])