[gthumb: 4/40] specify the DEBUG macro when --debug is used



commit 60fe5fd1a5dc1b01d086b25f03dba40ad9b7649b
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Sep 2 13:30:32 2010 +0200

    specify the DEBUG macro when --debug is used

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2d77d1d..609ad1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,7 +82,7 @@ AC_ARG_ENABLE(debug,
 	      [ENABLE_DEBUG=no])
 if test x$ENABLE_DEBUG = xyes; then
 	AC_DEFINE(DEBUG, 1, [enable compilation of debugging messages])
-	CFLAGS+=" -g -O0"
+	CFLAGS+=" -g -O0 -DDEBUG"
 fi
 
 AC_ARG_ENABLE(gseal,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]