From be4338ca764db3051934a0c8adbf2ef17c85c705 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 30 Aug 2023 10:15:09 -0700 Subject: [PATCH] wchar-single: fix module broken since 2021 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to GNULIB_WCHAR_SINGLE_LOCALE”. Apparently nobody noticed that the module was broken. Perhaps we should obsolete the module? * modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define. --- ChangeLog | 8 ++++++++ modules/wchar-single | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d5f7b958c..c9c0f408f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-08-30 Paul Eggert + + wchar-single: fix module broken since 2021 + Adjust to 2021-03-07 change “Rename GNULIB_WCHAR_SINGLE to + GNULIB_WCHAR_SINGLE_LOCALE”. Apparently nobody noticed that + the module was broken. Perhaps we should obsolete the module? + * modules/wchar-single (GNULIB_WCHAR_SINGLE_LOCALE): Define. + 2023-08-26 Bruno Haible c32width tests: Avoid failure on FreeBSD 12. diff --git a/modules/wchar-single b/modules/wchar-single index e047de008b..08f6a85021 100644 --- a/modules/wchar-single +++ b/modules/wchar-single @@ -8,6 +8,10 @@ Depends-on: wchar configure.ac: +AC_DEFINE([GNULIB_WCHAR_SINGLE_LOCALE], [1], + [Define to 1 to enable more efficient wchar replacements, + where we know the locale charset will not change between calls.]) +dnl For backward compatibility: gl_MODULE_INDICATOR([wchar-single]) Makefile.am: -- 2.39.5