[ekiga] Small cleanups and added support for debug mode.
- From: Damien Sandras <dsandras src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Small cleanups and added support for debug mode.
- Date: Thu, 15 Oct 2009 18:30:14 +0000 (UTC)
commit 7d18aad741222bdc58eb35b91c2d7caa509634ba
Author: Damien Sandras <dsandras seconix com>
Date: Thu Oct 15 20:06:48 2009 +0200
Small cleanups and added support for debug mode.
Added support for debug mode with --enable-debug.
configure.ac | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6ae4f13..ecfb30b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,6 +165,7 @@ fi
AC_MSG_RESULT([$byte_order])
+
dnl ###############################
dnl Mandatory intltool support
dnl ###############################
@@ -187,6 +188,7 @@ AC_SUBST(GTK_LIBS)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
+
dnl ###############################
dnl Mandatory BOOST support
dnl ###############################
@@ -200,6 +202,7 @@ fi
BOOST_LIBS="${BOOST_SIGNALS_LIB}"
AC_SUBST(BOOST_LIBS)
+
dnl ###############################
dnl Mandatory libXML support
dnl ###############################
@@ -586,6 +589,7 @@ fi
AM_CONDITIONAL(HAVE_GSTREAMER, test "x$found_gstreamer" = "xyes")
+
dnl ###############################
dnl KDE support
dnl ###############################
@@ -706,6 +710,7 @@ fi
AM_CONDITIONAL(HAVE_LOUDMOUTH, test "x$found_loudmouth" = "xyes")
+
dnl ###############################
dnl Gnome-Doc-Utils
dnl ###############################
@@ -801,6 +806,19 @@ if test "x$SIP" != "xyes"; then
fi
+dnl ###############################
+dnl Gnome-Doc-Utils
+dnl ###############################
+has_debug=
+AC_ARG_ENABLE([debug],
+ [AC_HELP_STRING([--enable-debug],[Compile with debug support (default is disabled)])],
+ [if test "x$enableval" = "xyes"; then
+ CPPFLAGS="-DDEBUG $CPPFLAGS"
+ has_debug="yes"
+ fi])
+AM_CONDITIONAL(DEBUG, test "x$has_debug" = "xyes")
+
+
dnl #########################################################################
dnl Support for internationalization
dnl ########################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]