X-Git-Url: https://git.m6w6.name/?p=awesomized%2Flibmemcached;a=blobdiff_plain;f=m4%2Fdebug.m4;h=7bdbeba092b7886d136298554242d127cf08c1eb;hp=605576593c99c29a543f1fd396dbcc89213e63d8;hb=8586aca8c7c155bdd29355374502aeb3048a630c;hpb=cf663b377e1ef2ae8e4b7166e72562c37f59c410 diff --git a/m4/debug.m4 b/m4/debug.m4 index 60557659..7bdbeba0 100644 --- a/m4/debug.m4 +++ b/m4/debug.m4 @@ -2,9 +2,9 @@ AC_DEFUN([AX_DEBUG],[ AC_ARG_WITH([debug], [AS_HELP_STRING([--with-debug], [Add debug code/turns off optimizations (yes|no) @<:@default=no@:>@])], - [with_debug=$withval], - [with_debug=no]) - AS_IF([test "$with_debug" = "yes"],[ + [ax_with_debug=$withval], + [ax_with_debug=no]) + AS_IF([test "$ax_with_debug" = "yes"],[ # Debugging. No optimization. AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG" AM_CXXFLAGS="${AM_CXXFLAGS} ${DEBUG_CXXFLAGS} -DDEBUG"