summaryrefslogtreecommitdiff
path: root/modules/unictype/property-other-grapheme-extend
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 /modules/unictype/property-other-grapheme-extend
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 'modules/unictype/property-other-grapheme-extend')
-rw-r--r--modules/unictype/property-other-grapheme-extend3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/unictype/property-other-grapheme-extend b/modules/unictype/property-other-grapheme-extend
index f5eb14a1a2..23d261da98 100644
--- a/modules/unictype/property-other-grapheme-extend
+++ b/modules/unictype/property-other-grapheme-extend
@@ -11,7 +11,8 @@ unictype/base
configure.ac:
AC_REQUIRE([AC_C_INLINE])
-gl_LIBUNISTRING_MODULE([0.9.11], [unictype/property-other-grapheme-extend])
+gl_UNICTYPE_H_REQUIRE_DEFAULTS
+gl_LIBUNISTRING_MODULE_WITH_VARIABLE([0.9.11], [unictype/property-other-grapheme-extend])
Makefile.am:
if LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND