From: Wilfried Goesgens Date: Thu, 22 Dec 2011 20:11:49 +0000 (+0100) Subject: Add configure option to enable debugging in our c-ares wrapper X-Git-Tag: v8.11~286 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=f42ba7e02b32a90e7b4f9adc20b3b9681e7e109d;p=citadel.git Add configure option to enable debugging in our c-ares wrapper --- diff --git a/citadel/debian/rules b/citadel/debian/rules index 7e478e178..ef15cba83 100755 --- a/citadel/debian/rules +++ b/citadel/debian/rules @@ -16,7 +16,7 @@ CFLAGS = -Wall -g -Werror=format-security COMPILER= EXTRA_ARGS= PROFILE_ARGS= -#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling threadoff rss gcov clang" +#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling threadoff rss gcov clang cares" ifneq (,$(findstring clang,$(DEB_BUILD_OPTIONS))) COMPILER="clang" endif @@ -54,6 +54,10 @@ ifneq (,$(findstring rss,$(DEB_BUILD_OPTIONS))) CFLAGS += -D DEBUG_RSS endif +ifneq (,$(findstring cares,$(DEB_BUILD_OPTIONS))) + CFLAGS += -D DEBUG_CARES +endif + ifneq (,$(findstring iodbg,$(DEB_BUILD_OPTIONS))) CFLAGS += -D BIGBAD_IODBG endif