From eba8d6d5f5be7a6a410b90903fb3965a46c5b86d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 9 Jun 2009 17:58:34 +0000 Subject: c-ares' --enable-debug --enable-curldebug decoupling follow-up --- ares/m4/cares-compilers.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ares/m4/cares-compilers.m4') diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4 index 9c8294877..b15b1103f 100644 --- a/ares/m4/cares-compilers.m4 +++ b/ares/m4/cares-compilers.m4 @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 55 +# serial 56 dnl CARES_CHECK_COMPILER @@ -1153,6 +1153,11 @@ AC_DEFUN([CARES_CHECK_CURLDEBUG], [ CPPFLAGS="$CPPFLAGS -DCURLDEBUG" squeeze CPPFLAGS fi + # + if test "$want_debug" = "yes"; then + CPPFLAGS="$CPPFLAGS -DDEBUGBUILD" + squeeze CPPFLAGS + fi ]) -- cgit v1.2.3