Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require the C++11 standard when compiling kyua
Kyua implicitly tests out C++11 compilers, but doesn't make the requirement explicit. In order to leverage modern C++ language features, e.g., `std::regex`, et al, it's best to explicitly require a C++11 capable compiler and to explicitly set the compiler to support the C++11 standard. This allows Kyua to use modern C++ features without having to import/rely on the Boost libraries when executing/scraping content from tests. Remove `KYUA_REQUIRE_CXX` as it's a superfluous check now. Add a news entry for the -std=c++-11 change/requirement === Notes about ax_cxx_compile_stdcxx.m4 === ax_cxx_compile_stdcxx.m4 comes from the autoconf-archive Savannah git repo This file allows autoconf end-users to specifically require and test versions of the C++ standard. More information about the macros contained and the file can be found [here](https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html). This file can be downloaded via [this link](http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4;h=43087b2e6889ec6f8ebd2f8ba77f4a9a716f8ac2;hb=44f18a92d5b6956997a9765e62711d5c70d4c2b1). Signed-off-by: Enji Cooper <[email protected]>
- Loading branch information