From 1f499d8aec2625ef812f69cae6831581a9726ee8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 21 Jun 2015 22:25:12 +0200 Subject: Add correct C++11 autotools check --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2e420cd..d4cf923 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,8 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL +AX_CXX_COMPILE_STDCXX_11(noext,mandatory) + # Checks for libraries. AC_CHECK_LIB([pthread], [pthread_create], [], AC_MSG_ERROR([libpthread is required])) AX_BOOST_BASE([1.41.0], [], AC_MSG_ERROR([BOOST 1.41 or later is required])) -- cgit v1.2.3