Force stdc++11

This commit is contained in:
Alejandro Gallo 2022-03-14 14:06:48 +01:00
parent 103d7183a0
commit 69611ec0d8

View File

@ -82,7 +82,6 @@ AC_FUNC_MALLOC
AX_BLAS([], [AC_MSG_FAILURE([Could not find BLAS library.])])
AX_LAPACK([], [AC_MSG_FAILURE([Could not find LAPACK library.])])
AX_CXX_COMPILE_STDCXX([11])
AX_CXX_STATIC_CAST
AX_CXX_TEMPLATES
AX_CXX_TYPENAME
@ -91,6 +90,8 @@ AX_MPI([],
AX_PROG_CXX_MPI
CXX=${MPICXX}
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
dnl ---------- CHECK CTF
if test xYES = x${BUILD_CTF}; then
AC_MSG_WARN([Sorry, building CTF not supported yet provide a build path
@ -115,6 +116,7 @@ AC_MSG_RESULT([
-----------------------
CXX = $CXX
CXXFLAGS = $CXXFLAGS
CPPFLAGS = $CPPFLAGS
LDFLAGS = $LDFLAGS
ATRIP_LDFLAGS = $ATRIP_LDFLAGS
])