* examples/calc++/local.mk: Be sure to ship calc++.test even if
the current C++ compiler is not sufficient to run the tests.
---
 examples/calc++/local.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/calc++/local.mk b/examples/calc++/local.mk
index b260001..d1d43a0 100644
--- a/examples/calc++/local.mk
+++ b/examples/calc++/local.mk
@@ -71,4 +71,6 @@ nodist_examples_calc___calc___SOURCES =         \
 examples_calc___calc___CPPFLAGS = -I$(top_builddir)/examples/calc++
 examples_calc___calc___CXXFLAGS = $(AM_CXXFLAGS) $(FLEX_SCANNER_CXXFLAGS)
 dist_TESTS += examples/calc++/calc++.test
+else
+EXTRA_DIST += examples/calc++/calc++.test
 endif
-- 
1.8.2.3


Reply via email to