From 11331397d1c166d037d478a0484ded1e08631f2f Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 14 Mar 2005 21:07:58 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5659 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 4138b8833a..d5fe7c3fce 100644 --- a/configure.ac +++ b/configure.ac @@ -138,6 +138,15 @@ dnl in order to solve the problem. AC_SYS_LARGEFILE +dnl enable debug mode on all components using standard debug flags +if test "${enable_debug}" = yes; then + CXXFLAGS="$CXXFLAGS -DDEBUG -D_DEBUG" + CFLAGS="$CFLAGS -DDEBUG -D_DEBUG" + + AC_SUBST(CXXFLAGS) + AC_SUBST(CFLAGS) +fi + if test "${enable_server}" = yes; then AC_CHECK_MYSQL if test "${no_mysql}" = yes; then