summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-20 00:23:25 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-20 00:53:13 +0000
commit82fb0540ca253e14f479ffcb4b94b5ee31b30fea (patch)
treefcc2aefc74427ade2a032aafc3d82bfd4eea176e /Makefile.in
parent67cfaf5a8037be7018c59b62be4d5c9d37d9b6b1 (diff)
downloadswig-82fb0540ca253e14f479ffcb4b94b5ee31b30fea.tar.gz
Modernise C++11 compiler support detection in autotools
Replace AX_CXX_COMPILE_STDCXX_11 with AX_CXX_COMPILE_STDCXX from autoconf archive.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 39816bed5..6edfc240a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -29,7 +29,7 @@ TARGET = $(TARGET_NOEXE)@EXEEXT@
SOURCE = Source
CCACHE = CCache
DOCS = Doc/Manual
-HAVE_CXX11_COMPILER = @HAVE_CXX11_COMPILER@
+HAVE_CXX11 = @HAVE_CXX11@
swig: libfiles source ccache
@@ -249,7 +249,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_COMPILER=$(HAVE_CXX11_COMPILER)) \
+ (cd $$dir && $(MAKE) $(FLAGS) $(ACTION) HAVE_CXX11=$(HAVE_CXX11)) \
|| passed=false; \
fi; \
test $$passed = true