fix the -I path to the proper include dir when --enable-debug is used
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2004 14:15:41 +0000 (14:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2004 14:15:41 +0000 (14:15 +0000)
configure.ac

index 319d5b7..64c76c9 100644 (file)
@@ -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