[Buildsystem] Require C++11-compliant compiler and clean up associated tests
As we have bumped our compiler requirements to GCC 4.4+, we can now require the compiler to support C++11. This patch updates both the autotools and the CMake tests to produce an error if the compiler doesn't support either -std=c++11 or -std=c++0x. It also renames the tests from ..0X to ..11 and renames the configure options from --disable-gxx0xcheck to --disable-cxx11check and removes a couple of redundant calls to the autotools macro.
Showing
- cmake/modules/CheckCXX11Features.cmake 7 additions, 4 deletionscmake/modules/CheckCXX11Features.cmake
- lib/dunecommonam2cmake.lib 3 additions, 3 deletionslib/dunecommonam2cmake.lib
- m4/cxx0x_nullptr.m4 1 addition, 1 deletionm4/cxx0x_nullptr.m4
- m4/cxx11_compiler.m4 66 additions, 0 deletionsm4/cxx11_compiler.m4
- m4/cxx11_constexpr.m4 1 addition, 1 deletionm4/cxx11_constexpr.m4
- m4/dune_common.m4 1 addition, 1 deletionm4/dune_common.m4
Please register or sign in to comment