aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-08 00:27:48 -0800
committerLei Zhang <thestig@chromium.org>2016-01-08 00:27:48 -0800
commit728bcdff610af89352057400463e1ab34fc1c37a (patch)
treee725007ab3a970f7681011a0be2c00b609036b15 /configure.ac
parentFix deprecatation warning when building for recent SDKs on iOS/OS X. (diff)
downloadbreakpad-728bcdff610af89352057400463e1ab34fc1c37a.tar.xz
Check for C++11 support in the configure script.
R=mark@chromium.org Review URL: https://codereview.chromium.org/1570013002 .
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index da14d61b..cbea712f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,9 @@ m4_include(m4/ax_pthread.m4)
AX_PTHREAD
AC_CHECK_HEADERS([a.out.h])
+m4_include(m4/ax_cxx_compile_stdcxx.m4)
+AX_CXX_COMPILE_STDCXX(11, noext, mandatory)
+
# Only build Linux client libs when compiling for Linux
case $host in
*-*-linux* | *-android* )