src/Makefile.am is missing one include location, and this prevents
out-of-tree builds due to a missing include in cf_gen.cc.
Please add
-I$(top_builddir)/src
to INCLUDES
or just apply the attached patch.
Kinkie
--- src/Makefile.am 2008-09-28 14:15:56 +0000
+++ src/Makefile.am 2008-09-29 06:42:46 +0000
@@ -226,7 +226,7 @@
noinst_LIBRARIES = @DISK_LIBS@
noinst_LTLIBRARIES = libsquid.la libauth.la
-INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/lib/libTrie/include
+INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/lib/libTrie/include -I$(top_builddir)/src
INCLUDES += -I$(top_builddir)/lib -I$(top_srcdir)/lib
INCLUDES += @SQUID_CPPUNIT_INC@