build: enable C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If5ae67dbc2002995f389053fb40050771e290ccd
diff --git a/configure.ac b/configure.ac
index 8ad23d9..33d383a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@
AS_IF([test "x$SDBUSPLUSPLUS" == "x"], AC_MSG_ERROR([Cannot find sdbus++]))
# Checks for typedefs, structures, and compiler characteristics.
-AX_CXX_COMPILE_STDCXX_17([noext])
+AX_CXX_COMPILE_STDCXX([20],[noext])
AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
# Checks for library functions.