From 59f6997cf0181ede98f13240f82a4835b2029bc9 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 10 Dec 2005 11:13:57 +0000 Subject: [PATCH] Debug info is now added by default (--with-debug=1 for ./configure) --- configure.in | 2 +- debian/rules | 3 ++- weechat/configure.in | 2 +- weechat/debian/rules | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index e2d2ffd17..7dd20c288 100644 --- a/configure.in +++ b/configure.in @@ -103,7 +103,7 @@ AC_ARG_ENABLE(perl, [ --enable-perl Turn on Perl script plug AC_ARG_ENABLE(python, [ --enable-python Turn on Python script plugin (default=no Python plugin)],enable_python=$enableval,enable_python=no) AC_ARG_ENABLE(ruby, [ --enable-ruby Turn on Ruby script plugin (default=no Ruby script)],enable_ruby=$enableval,enable_ruby=no) AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes) -AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=0)],debug=$withval,debug=0) +AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1) AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes") AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes") diff --git a/debian/rules b/debian/rules index 9558637da..5bf81416b 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,8 @@ configure: configure-stamp configure-stamp: dh_testdir ./configure --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info --enable-perl --enable-python --enable-ruby + --infodir=\$${prefix}/share/info --enable-perl --enable-python --enable-ruby \ + --with-debug=0 touch configure-stamp diff --git a/weechat/configure.in b/weechat/configure.in index e2d2ffd17..7dd20c288 100644 --- a/weechat/configure.in +++ b/weechat/configure.in @@ -103,7 +103,7 @@ AC_ARG_ENABLE(perl, [ --enable-perl Turn on Perl script plug AC_ARG_ENABLE(python, [ --enable-python Turn on Python script plugin (default=no Python plugin)],enable_python=$enableval,enable_python=no) AC_ARG_ENABLE(ruby, [ --enable-ruby Turn on Ruby script plugin (default=no Ruby script)],enable_ruby=$enableval,enable_ruby=no) AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes) -AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=0)],debug=$withval,debug=0) +AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1) AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes") AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes") diff --git a/weechat/debian/rules b/weechat/debian/rules index 9558637da..5bf81416b 100755 --- a/weechat/debian/rules +++ b/weechat/debian/rules @@ -15,7 +15,8 @@ configure: configure-stamp configure-stamp: dh_testdir ./configure --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info --enable-perl --enable-python --enable-ruby + --infodir=\$${prefix}/share/info --enable-perl --enable-python --enable-ruby \ + --with-debug=0 touch configure-stamp