[PATCH] Regenerate configure using autoconf-2.72-8.fc44 from Fedora

Jonathan Wakely jwakely@redhat.com
Tue Jan 13 19:51:17 GMT 2026


This fixes a Autoconf 2.72 bug in AC_PROG_CXX which incorrectly decides
that -std=gnu++11 is needed when compiling with GCC 16, because it
defaults to -std=gnu++20 which means that u8"" literals use type char8_t
not char.
---

Built the rawhide RPM package to verify it works.

 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index a9a2ad194..abb636ced 100755
--- a/configure
+++ b/configure
@@ -3121,8 +3121,8 @@ ac_cxx_conftest_cxx11_main='
 }
 {
   // Unicode literals
-  char const *utf8 = u8"UTF-8 string \u2500";
-  char16_t const *utf16 = u"UTF-8 string \u2500";
+  auto const *utf8 = u8"UTF-8 string \u2500";
+  char16_t const *utf16 = u"UTF-16 string \u2500";
   char32_t const *utf32 = U"UTF-32 string \u2500";
 }
 '
-- 
2.52.0



More information about the Systemtap mailing list