summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-03-27 19:34:20 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-03-27 19:34:20 +0100
commit5cc4591ae77416d8f8be23fa7d5a622eba5e8240 (patch)
tree5dc24e4e19daa77f28c881b83107eab7013caba3 /Makefile.in
parent27d6f5c2fef0abe43208cbb6a2f4f11e1e144881 (diff)
downloadswig-5cc4591ae77416d8f8be23fa7d5a622eba5e8240.tar.gz
Consistent cpp11 testing in test-suite
Move HAVE_CXX11 into makefiles so that running test-suite from top level directory or in the language's test-suite directory is consistent. For example, running 'make check-java-test-suite' behaves the same as 'cd Examples/test-suite/java && make check'.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 6edfc240a..f4cb794d8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,7 +29,6 @@ TARGET = $(TARGET_NOEXE)@EXEEXT@
SOURCE = Source
CCACHE = CCache
DOCS = Doc/Manual
-HAVE_CXX11 = @HAVE_CXX11@
swig: libfiles source ccache
@@ -249,7 +248,7 @@ check-%-test-suite:
echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
else \
echo $(ACTION)ing $* test-suite; \
- (cd $$dir && $(MAKE) $(FLAGS) $(ACTION) HAVE_CXX11=$(HAVE_CXX11)) \
+ (cd $$dir && $(MAKE) $(FLAGS) $(ACTION)) \
|| passed=false; \
fi; \
test $$passed = true