Commit a83e29a8 authored by Jeremy C. Reed's avatar Jeremy C. Reed

[master] add -I for builddir to find generated spec_config.h.

Add -I flag for builddir to find generated spec_config.h.

Also remove the ../spec_config.h target. It didn't work as-is
since it referenced file in the wrong directory. Instead of fixing
this I decided to remove. In normal build, the previous directory
does build it first. In the case of attempting to build specific
directories first, doesn't work yet due to other problems already
(like missing dns components).

This was noticed in a failed distcheck.
parent bf0a9b35
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_builddir)/src/bin # for generated spec_config.h header
AM_CPPFLAGS += -I$(top_builddir)/src/lib/dns -I$(top_srcdir)/src/bin
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
AM_CPPFLAGS += $(BOOST_INCLUDES)
......@@ -16,10 +17,6 @@ CLEANFILES = *.gcno *.gcda
TESTS =
if HAVE_GTEST
../spec_config.h: ../spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
CLEANFILES += ../spec_config.h
BUILT_SOURCES = ../spec_config.h
TESTS += run_unittests
......
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