From 28b8c45b5430bf93ee3ecfa945bcd3dd4bef5064 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 17 Feb 2009 02:27:31 +0000 Subject: [PATCH] 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. --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index bbd01e510..4aaa2dc92 100644 --- a/configure.in +++ b/configure.in @@ -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])