last-svn-commit-527-g99dae6c WIP: Fix Boost.Tuple handling.

--- milena/tests/accu/Makefile.am | 1 + milena/tests/unit_test/Makefile.am | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/milena/tests/accu/Makefile.am b/milena/tests/accu/Makefile.am index 7c0790a..d494d46 100644 --- a/milena/tests/accu/Makefile.am +++ b/milena/tests/accu/Makefile.am @@ -54,6 +54,7 @@ transform_snake_SOURCES = transform_snake.cc if HAVE_BOOST_TUPLE check_PROGRAMS += tuple tuple_SOURCES = tuple.cc + tuple_CPPFLAGS = $(AM_CPPFLAGS) $(BOOST_CPPFLAGS) endif HAVE_BOOST_TUPLE TESTS = $(check_PROGRAMS) diff --git a/milena/tests/unit_test/Makefile.am b/milena/tests/unit_test/Makefile.am index b5c8803..4ee9885 100644 --- a/milena/tests/unit_test/Makefile.am +++ b/milena/tests/unit_test/Makefile.am @@ -51,6 +51,11 @@ $(srcdir)/unit-tests.mk: $(top_srcdir)/build-aux/build_unit_test.sh disabled_tes milena/tests/unit_test/disabled_tests \ mln +# Handling Boost.Tuple-dependent programs: `boost.m4' defines +# BOOST_CPPFLAGS, but `unit-tests.mk' expects BOOST_TUPLE_CPPFLAGS; +# help it by defining the later using the former. +BOOST_TUPLE_CPPFLAGS = $(BOOST_CPPFLAGS) + include $(srcdir)/unit-tests.mk MAINTAINERCLEANFILES = $(srcdir)/mln_*.cc -- 1.5.6.5
participants (1)
-
Roland Levillain