aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-02 01:58:25 +0000
committerYang Tse <yangsita@gmail.com>2009-11-02 01:58:25 +0000
commitbe7af8beaa0c15ea83ac9d5496538185ba752db2 (patch)
treea8dc0070358ce318fddc239e4fa5050b0529d2db
parentdb1281fa9bf70d47b90c1b374bee8191524add9f (diff)
Adjust include paths to take in account that currently:
c-ares with --enable-curldebug uses memdebug.h from libcurl's lib subdirectory. memdebug.h needs access to libcurl's setup.h from libcurl's lib subdirectory and also needs access to libcurl's generated curl_config.h
-rw-r--r--ares/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/Makefile.am b/ares/Makefile.am
index 5ab7d8fa7..9a4925845 100644
--- a/ares/Makefile.am
+++ b/ares/Makefile.am
@@ -15,12 +15,16 @@ ACLOCAL_AMFLAGS = -I m4
#
# $(top_builddir)/../include is for libcurl's generated curl/curlbuild.h file
# $(top_srcdir)/../include is for libcurl's external include files
+# $(top_builddir)/../lib is for libcurl's generated lib/curl_config.h file
+# $(top_srcdir)/../lib is for libcurl's lib/setup.h and other "private" files
# $(top_builddir) is for c-ares's generated ares_config.h file
# $(top_srcdir) is for c-ares's lib/setup.h and other "c-ares-private" files
if CURLDEBUG
INCLUDES = -I$(top_builddir)/../include \
-I$(top_srcdir)/../include \
+ -I$(top_builddir)/../lib \
+ -I$(top_srcdir)/../lib \
-I$(top_builddir) \
-I$(top_srcdir)
else