]> sigrok.org Git - libsigrok.git/commit
build: Replace AX_CXX_COMPILE_STDCXX_11 with latest AX_CXX_COMPILE_STDCXX
authorMarvin Schmidt <redacted>
Fri, 13 May 2016 10:27:14 +0000 (12:27 +0200)
committerUwe Hermann <redacted>
Fri, 13 May 2016 22:36:43 +0000 (00:36 +0200)
commitb571f84c84a9eea04f948429200ffb9fcd8ecb0f
tree2cc8c1fe17be4de3ab11571140d673dbf451d0c5
parentc4a1015a2951b85098e50915c953593025df5726
build: Replace AX_CXX_COMPILE_STDCXX_11 with latest AX_CXX_COMPILE_STDCXX

The former appended the necessary switch to enable C++11 to the CXXFLAGS
whereas AX_CXX_COMPILE_STDCXX appends it to CXX which has the benefit
that all C++ sources are compiled using the same C++ standard. Therefore
it is no longer necessary to manually hardcode '-std=c++11' anywhere
like we did in the Ruby bindings linker command and assures that the
compilation of them is done with C++11 support as well.

This fixes bug #795
Makefile.am
configure.ac
m4/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]
m4/ax_cxx_compile_stdcxx_11.m4 [deleted file]