aboutsummaryrefslogtreecommitdiff
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
commit4a560492250ba8f33f10584d370c5e476fd7328d (patch)
tree73a6d884ebe3e4c597c33273bc6067067bbf5c27
parent04ea4b4d7561c623dca891cc1413516d41c5e5fd (diff)
attempt to fix the ares link breakage with --enable-debug in libcurl and here
-rw-r--r--ares/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 30f92b31d..ec1d3ba04 100644
--- a/ares/configure.ac
+++ b/ares/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"