From 2467f814a81f614301c257ab0afb1db29f3ec4f7 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 11 Nov 2004 14:15:41 +0000
Subject: [PATCH] fix the -I path to the proper include dir when --enable-debug
 is used

---
 ares/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ares/configure.ac b/ares/configure.ac
index 319d5b70b6..64c76c9f90 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -41,7 +41,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
     dnl Checks for standard header files, to make memdebug.h inclusions bettter
     AC_HEADER_STDC
 
-    CPPFLAGS="$CPPFLAGS -DCURLDEBUG -I../include"
+    CPPFLAGS="$CPPFLAGS -DCURLDEBUG -I$srcdir/../include"
     CFLAGS="$CFLAGS -g" 
 
     dnl set compiler "debug" options to become more picky, and remove
-- 
GitLab