Commit 0e2851da authored by Kean Johnston's avatar Kean Johnston
Browse files

[master] Fix building with srcdir != objdir

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.
parent 0b4b438f
......@@ -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
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment