[patch] [bug 395912] don't enable http-debug by default
- From: Christian Persch <chpe gnome org>
- To: gnome-vfs-list gnome org
- Subject: [patch] [bug 395912] don't enable http-debug by default
- Date: Sun, 14 Jan 2007 11:37:05 +0100
Hi,
by default, gnome-vfs builds from svn have http-debug enabled, which
causing endless flooding of the console with "HTTP:..." debug messages
when a programme uses the http method. Attached patch from bug
http://bugzilla.gnome.org/show_bug.cgi?id=395912 changes configure not
to default to --enable-http-debug in svn builds. Ok to commit?
Regards,
Christian
Index: configure.in
===================================================================
--- configure.in (révision 5264)
+++ configure.in (copie de travail)
@@ -484,16 +484,10 @@ dnl ******************************
VFS_NEON_BUNDLED(imported/neon)
AC_ARG_ENABLE(http-debug,
-[ --enable-http-debug Enable HTTP method debugging],
-set_http_debug="$enableval",[
-if test -f $srcdir/CVSVERSION; then
- set_http_debug=yes
-else
- set_http_debug=no
-fi
-])
+ [AS_HELP_STRING([--enable-http-debug],[Enable HTTP method debugging])],
+ [],[enable_http_debug=no])
-if test x$set_http_debug = xyes; then
+if test "$enable_http_debug" = "yes"; then
AC_DEFINE([DEBUG_HTTP_ENABLE], 1, [Indicates http debugging status])
AC_MSG_NOTICE([HTTP module debugging ENABLED])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]