From b1be06125ea355e15555d79f0a63022f9bb7704e Mon Sep 17 00:00:00 2001 From: Gabriel Dos Reis Date: Fri, 12 Aug 2022 17:26:03 -0700 Subject: Refactor Autconf macro for requiring C++ version. Require C++ 20. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index b7240475..b2b8aa75 100755 --- a/configure +++ b/configure @@ -6374,7 +6374,7 @@ fi oa_saved_cxxflags=$CXXFLAGS -CXXFLAGS="-std=c++17" +CXXFLAGS="-std=c++20" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports $CXXFLAGS" >&5 printf %s "checking whether $CXX supports $CXXFLAGS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -6394,7 +6394,7 @@ then : printf "%s\n" "yes" >&6; } CXXFLAGS="$CXXFLAGS $oa_saved_cxxflags" else $as_nop - as_fn_error $? "OpenAxiom requires a C++17 compiler" "$LINENO" 5 + as_fn_error $? "OpenAxiom requires a C++20 compiler" "$LINENO" 5 fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -- cgit v1.2.3