From 69611ec0d86142532a466d5c222a3d0b615f4630 Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Mon, 14 Mar 2022 14:06:48 +0100 Subject: [PATCH] Force stdc++11 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c004015..c2ce647 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ])