Make --disable-debug[_flag] configure option really work.
We never defined wxDEBUG_LEVEL as 0 meaning that debugging code in wxWidgets was always enabled, even if --disable-debug_flag or --disable-debug (which implies it) was given. Fix this now by adding -DwxDEBUG_LEVEL=0 to CPPFLAGS if necessary. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -42527,6 +42527,8 @@ if test "$wxUSE_DEBUG_GDB" = "yes" ; then
|
||||
fi
|
||||
|
||||
if test "$wxUSE_DEBUG_FLAG" = "no" ; then
|
||||
WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
|
||||
|
||||
if test "$wxUSE_GTK" = 1 ; then
|
||||
if test "x$wxGTK_VERSION" = "x1" ; then
|
||||
CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
|
||||
|
Reference in New Issue
Block a user