aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-12-03 14:44:57 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-26 16:15:02 +0200
commit67969af09f4729d041589da5f31ac40c07d2f4be (patch)
tree5e5a0ff79753f9c045b608af817d492d19beb783 /configure.ac
parente26b62093ae21e89ed7d36a24a6b863f38ec631d (diff)
build: Enable C++11 build, require C++11 compiler
Implements #6211.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 100bb79e11..713ea59eda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,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])