diff --git a/configure.ac b/configure.ac index 84fbe0c304..8dcc9c0a9b 100644 --- a/configure.ac +++ b/configure.ac @@ -406,7 +406,7 @@ AC_SUBST(CLIENTLIBS) ## some more tweaking to turn non-standard libs into statically linked ones CLIENTGUIFLAGS="-DNOCLIPBOARD -DNOTASKBAR" -if test "${enable_client_release}" = yes; then +if test "${enable_debug}" = yes; then CLIENTGUIFLAGS="$CLIENTGUIFLAGS -D__WXDEBUG__" fi