[svn r428] DEBUG info messages is now not added by default.
1.1 --- a/gmyth/configure.ac Wed Mar 21 14:51:07 2007 +0000
1.2 +++ b/gmyth/configure.ac Wed Mar 21 15:13:59 2007 +0000
1.3 @@ -80,8 +80,11 @@
1.4
1.5 dnl Test if --disable-debug given
1.6 AC_ARG_ENABLE(debug,
1.7 - AC_HELP_STRING([--disable-debug], [enable debugging mode]))
1.8 -if test x"$enable_debug" != xno; then
1.9 + [AC_HELP_STRING([--disable-debug], [disable debugging mode])],
1.10 + enable_debug="$enableval",
1.11 + enable_debug=no)
1.12 +
1.13 +if test "x$enable_debug" = "xyes"; then
1.14 CFLAGS="$CFLAGS -g -DGMYTH_USE_DEBUG"
1.15 else
1.16 CFLAGS="$CFLAGS -O2 -DG_DISABLE_CHECKS"