summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-20 00:38:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-20 00:38:50 +0000
commitda97171445f2ea15e70e85082595f992c700f887 (patch)
tree5d0cc9112183322000f564516eb5bceb87352247 /configure.ac
parentbb42658b06414d1d9d2dfe4d5bdae1395af96da8 (diff)
downloadc-ares-da97171445f2ea15e70e85082595f992c700f887.tar.gz
c-ares-da97171445f2ea15e70e85082595f992c700f887.tar.bz2
c-ares-da97171445f2ea15e70e85082595f992c700f887.zip
attempt to fix the ares link breakage with --enable-debug in libcurl and here
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 30f92b3..ec1d3ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,10 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
dnl Checks for standard header files, to make memdebug.h inclusions bettter
AC_HEADER_STDC
+ dnl the entire --enable-debug is a hack that lives and runs on top of
+ dnl libcurl stuff so this BUILDING_LIBCURL is not THAT much uglier
+ AC_DEFINE(BUILDING_LIBCURL, 1, [when building as static part of libcurl])
+
CPPFLAGS="$CPPFLAGS -DCURLDEBUG -I$srcdir/../include"
CFLAGS="$CFLAGS -g"