From d28a81f506f612cb47d5af3c81859e77da8fe607 Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 27 Oct 2017 18:39:13 +0300 Subject: [PATCH] configure: make cxx14 mandatory fix macro usage --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index b74f58c4..6d3c2846 100644 --- a/configure.ac +++ b/configure.ac @@ -52,13 +52,7 @@ AC_PROG_CC_C99 AC_PROG_INSTALL AC_HEADER_STDC -AX_CXX_COMPILE_STDCXX_14 -AS_IF([test "x$ax_cv_cxx_compile_cxx14" != "xyes"],[ - AC_MSG_ERROR([No C++14 compiler found, please upgrade (g++ >= 5 or clang >= 3.4)]) -],[ - AC_MSG_NOTICE([Found C++14 compatible compiler]) -]) - +AX_CXX_COMPILE_STDCXX_14(,[mandatory]) AX_COMPILER_FLAGS(,,[yes]) AX_VALGRIND_CHECK