build: Enable C++11 build, require C++11 compiler

Implements #6211.
This commit is contained in:
Wladimir J. van der Laan
2015-12-03 14:44:57 +01:00
committed by Jack Grigg
parent b08a1f7836
commit 4ba172369d
2 changed files with 560 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ case $host in
lt_cv_deplibs_check_method="pass_all"
;;
esac
dnl Require C++11 compiler (no GNU extensions)
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
dnl Libtool init checks.
LT_INIT([pic-only])