summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-10-05 16:18:35 +0200
committerAndrei Pavel <andrei@isc.org>2022-10-21 16:45:24 +0200
commit38c7b0f4e74e49d5808bf9fc4c79333ee6b3291a (patch)
tree9e67f638e6e400c2ffe3f42ab2dfb7226093787f /configure.ac
parent[#2311] migrate autoconf to libyang2 and sysrepo2 (diff)
downloadkea-38c7b0f4e74e49d5808bf9fc4c79333ee6b3291a.tar.xz
kea-38c7b0f4e74e49d5808bf9fc4c79333ee6b3291a.zip
[#2311] detect C++20 in autoconf
And enforce -std=c++20 when building --with-libyang-cpp or --with-sysrepo-cpp.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9f9336a83c..99d38edf48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,6 +161,9 @@ AM_CONDITIONAL(USE_CLANGPP, test "X${CLANGPP}" = "Xyes")
# Check for C++11 features support
AX_ISC_CPP11
+# Check for C++20 compiler support.
+AX_ISC_CPP20
+
# Check for std::is_base_of support
AC_MSG_CHECKING([for std::is_base_of])
AC_COMPILE_IFELSE(