From a43a3da29a92c1b9667b281d81f06ce43f72082c Mon Sep 17 00:00:00 2001
From: Klaus Rabbertz <klaus.rabbertz@cern.ch>
Date: Wed, 12 Jun 2024 18:05:12 +0200
Subject: [PATCH] Require full C++17 functionality also for nlojet++ interface

---
 v2.5/generators/nlojet++/configure.ac | 4 ++--
 v2.5/toolkit/configure.ac             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/v2.5/generators/nlojet++/configure.ac b/v2.5/generators/nlojet++/configure.ac
index 67582390..6c681950 100644
--- a/v2.5/generators/nlojet++/configure.ac
+++ b/v2.5/generators/nlojet++/configure.ac
@@ -58,10 +58,10 @@ AM_CONDITIONAL([HAVE_LIBZ],[test "x$HAVE_LIBZ" == "xtrue"])
 AC_HEADER_STDBOOL
 AC_C_INLINE
 
-# Require full C++11 functionality, which has been supported by gcc since version 4.8.1
+# Require full C++17 functionality, which has been supported by gcc since version 11
 # If the following macro is not found, you might want to install the autoconf-archive
 # package and repeat the 'autoreconf -i' step.
-AX_CXX_COMPILE_STDCXX_11
+AX_CXX_COMPILE_STDCXX_17
 
 # Checks for library functions.
 AC_FUNC_ERROR_AT_LINE
diff --git a/v2.5/toolkit/configure.ac b/v2.5/toolkit/configure.ac
index c84e754c..70994eba 100644
--- a/v2.5/toolkit/configure.ac
+++ b/v2.5/toolkit/configure.ac
@@ -57,7 +57,7 @@ AM_CONDITIONAL([HAVE_LIBZ],[test "x$HAVE_LIBZ" == "xtrue"])
 AC_HEADER_STDBOOL
 AC_C_INLINE
 
-# Require full C++11 functionality, which has been supported by gcc since version 4.8.1
+# Require full C++17 functionality, which has been supported by gcc since version 11
 # If the following macro is not found, you might want to install the autoconf-archive
 # package and repeat the 'autoreconf -i' step.
 AX_CXX_COMPILE_STDCXX_17
-- 
GitLab