]> Savannah Git Hosting - gnulib.git/commitdiff
wchar-single: fix module broken since 2021
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Aug 2023 17:15:09 +0000 (10:15 -0700)
committerBruno Haible <bruno@clisp.org>
Thu, 14 Sep 2023 10:06:06 +0000 (12:06 +0200)
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
modules/wchar-single

index 657819e6d6a727240b1cb70f059ca8c945037398..b10e1dd94b3220b4eb14a31ad6337dd1fa81ef06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <bruno@clisp.org>
 
        crypto/{sha*,md5,sm3}-buffer: Ignore too old OpenSSL versions.
index e047de008b552127609168fc9313c0e879e06c0a..08f6a850210ad86baceeb340678612fb313320de 100644 (file)
@@ -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: