]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fix building with srcdir != objdir
authorKean Johnston <kean@isc.org>
Tue, 17 Dec 2013 05:33:22 +0000 (07:33 +0200)
committerKean Johnston <kean@isc.org>
Tue, 17 Dec 2013 05:33:22 +0000 (07:33 +0200)
Recent changes to the perfdhcp tool introduced a new breakage when
configuring with srcdir != objdir. These were introuced by the code
using #include <tests/tools/perfdhcp/SOME_FILE.h> but there were no
-I flags set to allow for including files from the top level.

tests/tools/perfdhcp/Makefile.am
tests/tools/perfdhcp/tests/Makefile.am

index 014a4e2598b8d059199eef74e27c96cdc60ea07e..cfab327da6287f09af682ac6e8b9b8cb94798408 100644 (file)
@@ -2,6 +2,7 @@ SUBDIRS = . tests
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log
+AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
 AM_CPPFLAGS += $(BOOST_INCLUDES)
 
 AM_CXXFLAGS = $(B10_CXXFLAGS)
@@ -43,4 +44,4 @@ perfdhcp_LDADD += $(top_builddir)/src/lib/asiolink/libb10-asiolink.la
 
 
 # ... and the documentation
-EXTRA_DIST = perfdhcp_internals.dox
\ No newline at end of file
+EXTRA_DIST = perfdhcp_internals.dox
index 64f446b23a2633d107d22c726876604697141faf..31c11ed7f91cc24a5568949be6c35682a9a1ca13 100644 (file)
@@ -1,6 +1,7 @@
 SUBDIRS = . testdata
 
 AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
+AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
 AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(abs_srcdir)/testdata\"
 AM_CPPFLAGS += $(BOOST_INCLUDES)
 AM_CXXFLAGS = $(B10_CXXFLAGS)