Rocco Rutte:
[apps/madmutt.git] / configure.in
index aad23c2..a64271a 100644 (file)
@@ -735,8 +735,10 @@ dnl -- end socket --
 AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]),
         [ if test x$enableval = xyes ; then
                 AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ])
+                want_debug=yes
           fi
          ])
+AM_CONDITIONAL(WANT_DEBUG, test x$want_debug = xyes)
 
 AC_ARG_ENABLE(flock, AC_HELP_STRING([--enable-flock], [Use flock() to lock files]),
         [if test $enableval = yes; then