aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGabriel Dos Reis <GabrielDosReis@users.noreply.github.com>2022-08-12 17:26:03 -0700
committerGabriel Dos Reis <GabrielDosReis@users.noreply.github.com>2022-08-12 17:26:03 -0700
commitb1be06125ea355e15555d79f0a63022f9bb7704e (patch)
tree4a1cef16e28426eb449003d1987e03dd0e805dc8 /configure
parent0e77f21581331cc69e1ec5515a6ecb87b3effe67 (diff)
downloadopen-axiom-b1be06125ea355e15555d79f0a63022f9bb7704e.tar.gz
Refactor Autconf macro for requiring C++ version.
Require C++ 20.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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