[gthumb/ext: 17/79] set CFLAGS when enabling the debug option



commit 8bcbab84c64c86afbec5185b46ed2e436004d4ca
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jun 17 23:54:13 2009 +0200

    set CFLAGS when enabling the debug option

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fb2ed5c..17ec69d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,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"
 fi
 
 AC_ARG_ENABLE(run_in_place,



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