From: Paul Eggert Date: Wed, 30 Aug 2023 17:15:09 +0000 (-0700) Subject: wchar-single: fix module broken since 2021 X-Git-Tag: v1.0~845 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=da189cc1c66207e6741fb4d1004f80941ab7ae3d;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index a839600839..702f195ec0 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-29 Bruno Haible wctype: Rely on module iswpunct. 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: