fix to prevent --disable-debug from enabling it

This commit is contained in:
Chris Conlon 2013-01-31 13:44:38 -07:00
parent d799898a36
commit ba26b4b4e2

View File

@ -49,7 +49,7 @@ AC_DEFUN([AX_DEBUG],[
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],
[Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])],[
ax_enable_debug=yes
ax_enable_debug=$enableval
AC_DEFINE(DEBUG, [ 1 ], [Define to 1 to enable debugging code.])
],[
ax_enable_debug=no