From a1c64049fa7970bc4a0016d534b87f3f482fa956 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Sat, 18 Jul 2015 01:00:08 -0700 Subject: [PATCH] Prefer c++11 over gnu++11 --- configure.ac | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index fec86d966..f7c777a0f 100644 --- a/configure.ac +++ b/configure.ac @@ -23,16 +23,9 @@ AC_USE_SYSTEM_EXTENSIONS AC_HEADER_SYS_WAIT AC_FUNC_MMAP -dnl Find C compiler -dnl AC_PROG_CC_C99 - dnl Find C++ compiler AC_PROG_CXX -AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) -if test "$HAVE_CXX" = "no" -then - AC_MSG_ERROR([Could not find a c++ compiler]); -fi +AX_CXX_COMPILE_STDCXX_11([noext],[mandatory]) AX_CFLAGS_WARN_ALL AX_CXXFLAGS_WARN_ALL @@ -110,8 +103,6 @@ then AC_MSG_ERROR([One or more of the mandatory Boost libraries not found.]) fi -AX_CXX_COMPILE_STDCXX_11() - dnl Check for Lua libraries and headers AX_PROG_LUA([5.0],[],[ AX_LUA_HEADERS([