summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-14 11:28:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-16 18:57:02 +0900
commit9d7b37808782a9b4a0d3d64ab34aaae0f515d758 (patch)
tree1fe560e5e74b973be306f721c321ee30ada8611c
parentc5527c8d97c5c97320ea07d88590ff2c43c76bcc (diff)
downloadadmin-r14.1.x.tar.gz
admin-r14.1.x.zip
Raised required C++ standard to c++17r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 585c17a2dda766ac4d442c4b9f998e18cb1b2d98)
-rw-r--r--acinclude.m4.in3
-rw-r--r--configure.in.min2
2 files changed, 4 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index 61ed05f..545a510 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -6564,6 +6564,9 @@ m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_14],
_TDE_CXX_COMPILE_STDCXX_testbody_new_in_14
)
+
+dnl Test body for checking C++17 support
+
m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_17],
_TDE_CXX_COMPILE_STDCXX_testbody_new_in_11
_TDE_CXX_COMPILE_STDCXX_testbody_new_in_14
diff --git a/configure.in.min b/configure.in.min
index 33e23dc..d645355 100644
--- a/configure.in.min
+++ b/configure.in.min
@@ -46,7 +46,7 @@ AC_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
-TDE_CXX_COMPILE_STDCXX(11)
+TDE_CXX_COMPILE_STDCXX(17, noext, mandatory)
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)