configure: make cxx14 mandatory

fix macro usage
This commit is contained in:
djcb 2017-10-27 18:39:13 +03:00
parent f02758c1c1
commit d28a81f506
1 changed files with 1 additions and 7 deletions

View File

@ -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