[patch] Add --enable-debug option to libbonobo's configure script
- From: Gustavo Giráldez <gustavo giraldez gmx net>
- To: Michael Meeks <michael ximian com>
- Cc: Gnome components list <gnome-components-list gnome org>
- Subject: [patch] Add --enable-debug option to libbonobo's configure script
- Date: 25 May 2002 03:59:09 -0300
Hi!
Adding to Jaka's very useful patch, I propose this simple patch which
adds an option to configure to enable the debugging code.
HTH,
Gustavo
Index: configure.in
===================================================================
RCS file: /cvs/gnome/libbonobo/configure.in,v
retrieving revision 1.74
diff -u -r1.74 configure.in
--- configure.in 20 May 2002 10:34:03 -0000 1.74
+++ configure.in 25 May 2002 06:56:45 -0000
@@ -125,6 +125,15 @@
AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
+AC_ARG_ENABLE(debug,
+ [ --enable-debug Enable debugging code [default=disabled]],
+ enable_debug="$enableval",
+ enable_debug=no)
+
+if test x$enable_debug = xyes; then
+ AC_DEFINE(G_ENABLE_DEBUG, 1, [Defined if debugging code should be compiled])
+fi
+
AC_OUTPUT([
Makefile
po/Makefile.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]