summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-23 13:25:42 +0200
committerBruno Haible <bruno@clisp.org>2023-04-23 13:35:30 +0200
commite46a05b5ee1cbe2d6d0c2ac679b71ad3fd2f7c2d (patch)
treeb3eb9f5427f3e860f9b5aca0bfc9fbbaab6ac4ea /ChangeLog
parent934167a39654699eca26869c96b875092dc16976 (diff)
downloadgnulib-e46a05b5ee1cbe2d6d0c2ac679b71ad3fd2f7c2d.tar.gz
libunistring: Fix build on Windows, when a libunistring is installed.
* lib/unicase.in.h: Include <unistring/woe32dll.h>. (unicase_empty_prefix_context, unicase_empty_suffix_context): Declare with GNULIB_UNICASE_..._DLL_VARIABLE. * lib/unictype.in.h: Include <unistring/woe32dll.h>. (UC_CATEGORY_*, UC_PROPERTY_*): Declare with GNULIB_UNICTYPE_..._DLL_VARIABLE. * lib/uninorm.in.h: Include <unistring/woe32dll.h>. (unicode_normalization_form uninorm_nf*): Declare with GNULIB_UNINORM_..._DLL_VARIABLE. * m4/libunistring-base.m4 (gl_LIBUNISTRING_MODULE_WITH_VARIABLE): New macro. (gl_LIBUNISTRING_LIB_PREPARE): Set HAVE_UNISTRING_WOE32DLL_H. * m4/unicase_h.m4: New file. * m4/unictype_h.m4: New file. * m4/uninorm_h.m4: New file. * modules/unicase/base (Files): Add m4/unicase_h.m4. (configure.ac): Bump version number. Invoke gl_UNICASE_H, gl_UNICASE_H_REQUIRE_DEFAULTS. (Makefile.am): Substitute all GNULIB_UNICASE_*_DLL_VARIABLE. * modules/unicase/empty-*-context (configure.ac): Invoke gl_UNICASE_H_REQUIRE_DEFAULTS. Use gl_LIBUNISTRING_MODULE_WITH_VARIABLE. * modules/unictype/base (Files): Add m4/unictype_h.m4. (configure.ac): Bump version number. Invoke gl_UNICTYPE_H, gl_UNICTYPE_H_REQUIRE_DEFAULTS. (Makefile.am): Substitute all GNULIB_UNICTYPE_*_DLL_VARIABLE. * modules/unictype/category-* (configure.ac): Invoke gl_UNICTYPE_H_REQUIRE_DEFAULTS. Use gl_LIBUNISTRING_MODULE_WITH_VARIABLE. * modules/unictype/property-* (configure.ac): Likewise. * modules/uninorm/base (Files): Add m4/uninorm_h.m4. (configure.ac): Bump version number. Invoke gl_UNINORM_H, gl_UNINORM_H_REQUIRE_DEFAULTS. (Makefile.am): Substitute all GNULIB_UNINORM_*_DLL_VARIABLE. * modules/uninorm/nf* (configure.ac): Invoke gl_UNINORM_H_REQUIRE_DEFAULTS. Use gl_LIBUNISTRING_MODULE_WITH_VARIABLE.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog39
1 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9498f134aa..874cf704f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,42 @@
+2023-04-23 Bruno Haible <bruno@clisp.org>
+
+ libunistring: Fix build on Windows, when a libunistring is installed.
+ * lib/unicase.in.h: Include <unistring/woe32dll.h>.
+ (unicase_empty_prefix_context, unicase_empty_suffix_context): Declare
+ with GNULIB_UNICASE_..._DLL_VARIABLE.
+ * lib/unictype.in.h: Include <unistring/woe32dll.h>.
+ (UC_CATEGORY_*, UC_PROPERTY_*): Declare with
+ GNULIB_UNICTYPE_..._DLL_VARIABLE.
+ * lib/uninorm.in.h: Include <unistring/woe32dll.h>.
+ (unicode_normalization_form uninorm_nf*): Declare with
+ GNULIB_UNINORM_..._DLL_VARIABLE.
+ * m4/libunistring-base.m4 (gl_LIBUNISTRING_MODULE_WITH_VARIABLE): New
+ macro.
+ (gl_LIBUNISTRING_LIB_PREPARE): Set HAVE_UNISTRING_WOE32DLL_H.
+ * m4/unicase_h.m4: New file.
+ * m4/unictype_h.m4: New file.
+ * m4/uninorm_h.m4: New file.
+ * modules/unicase/base (Files): Add m4/unicase_h.m4.
+ (configure.ac): Bump version number. Invoke gl_UNICASE_H,
+ gl_UNICASE_H_REQUIRE_DEFAULTS.
+ (Makefile.am): Substitute all GNULIB_UNICASE_*_DLL_VARIABLE.
+ * modules/unicase/empty-*-context (configure.ac): Invoke
+ gl_UNICASE_H_REQUIRE_DEFAULTS. Use gl_LIBUNISTRING_MODULE_WITH_VARIABLE.
+ * modules/unictype/base (Files): Add m4/unictype_h.m4.
+ (configure.ac): Bump version number. Invoke gl_UNICTYPE_H,
+ gl_UNICTYPE_H_REQUIRE_DEFAULTS.
+ (Makefile.am): Substitute all GNULIB_UNICTYPE_*_DLL_VARIABLE.
+ * modules/unictype/category-* (configure.ac): Invoke
+ gl_UNICTYPE_H_REQUIRE_DEFAULTS. Use
+ gl_LIBUNISTRING_MODULE_WITH_VARIABLE.
+ * modules/unictype/property-* (configure.ac): Likewise.
+ * modules/uninorm/base (Files): Add m4/uninorm_h.m4.
+ (configure.ac): Bump version number. Invoke gl_UNINORM_H,
+ gl_UNINORM_H_REQUIRE_DEFAULTS.
+ (Makefile.am): Substitute all GNULIB_UNINORM_*_DLL_VARIABLE.
+ * modules/uninorm/nf* (configure.ac): Invoke
+ gl_UNINORM_H_REQUIRE_DEFAULTS. Use gl_LIBUNISTRING_MODULE_WITH_VARIABLE.
+
2023-04-22 Bruno Haible <bruno@clisp.org>
Avoid some Autoconf "was expanded before it was required" warnings.