# HG changeset patch # User rosfran # Date 1174490039 0 # Node ID 099cfb245b15af16a4c4e6e06ffd2287c2ac5d10 # Parent fc0a5721cd04d8dc674034ea098163c898737024 [svn r428] DEBUG info messages is now not added by default. diff -r fc0a5721cd04 -r 099cfb245b15 gmyth/configure.ac --- a/gmyth/configure.ac Wed Mar 21 14:51:07 2007 +0000 +++ b/gmyth/configure.ac Wed Mar 21 15:13:59 2007 +0000 @@ -80,8 +80,11 @@ dnl Test if --disable-debug given AC_ARG_ENABLE(debug, - AC_HELP_STRING([--disable-debug], [enable debugging mode])) -if test x"$enable_debug" != xno; then + [AC_HELP_STRING([--disable-debug], [disable debugging mode])], + enable_debug="$enableval", + enable_debug=no) + +if test "x$enable_debug" = "xyes"; then CFLAGS="$CFLAGS -g -DGMYTH_USE_DEBUG" else CFLAGS="$CFLAGS -O2 -DG_DISABLE_CHECKS"