From be7af8beaa0c15ea83ac9d5496538185ba752db2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 2 Nov 2009 01:58:25 +0000 Subject: [PATCH] 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 --- ares/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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