summaryrefslogtreecommitdiff
path: root/Makefile.am
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
commitbfca740909d84f82638ed1a7a7e4e9da25a15994 (patch)
tree839451d4a3fac1736ed79ce9ab63693183504abc /Makefile.am
parentd101880c6a7f0bc1b1ed44023f270412640947f0 (diff)
downloadc-ares-bfca740909d84f82638ed1a7a7e4e9da25a15994.tar.gz
c-ares-bfca740909d84f82638ed1a7a7e4e9da25a15994.tar.bz2
c-ares-bfca740909d84f82638ed1a7a7e4e9da25a15994.zip
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
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5ab7d8f..9a49258 100644
--- a/Makefile.am
+++ b/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