[gnac/devel] Added some flags for the compiler to improve the debugging abilities (trac ticket #12)
- From: Benoît Dupasquier <bdupasqu src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnac/devel] Added some flags for the compiler to improve the debugging abilities (trac ticket #12)
- Date: Sun, 17 Jan 2010 10:18:54 +0000 (UTC)
commit 87a02f0c2f09f88ecd4c36699a8835130452b7ee
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date: Sun Jan 17 10:17:53 2010 +0000
Added some flags for the compiler to improve the debugging abilities (trac ticket #12)
configure.ac | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 60e4c63..b2e9a84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,13 @@ if test "$enable_deprecations" = "no"; then
AC_SUBST(DISABLE_DEPRECATED)
fi
+# debug support
+AC_ARG_ENABLE([debug], [],
+ [ if test "$enableval" = "yes"; then
+ AM_CFLAGS="$AM_CFLAGS -ggdb -O0"
+ fi
+ ])
+
dnl We require Scroll Keeper 0.3.5 or above for the help
#SCROLLKEEPER_BUILD_REQUIRED=0.3.5
#AC_SUBST(SCROLLKEEPER_BUILD_REQUIRED)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]