]> Savannah Git Hosting - gnulib.git/commit
libunistring: Fix build on Windows, when a libunistring is installed.
authorBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2023 11:25:42 +0000 (13:25 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2023 11:35:30 +0000 (13:35 +0200)
commite46a05b5ee1cbe2d6d0c2ac679b71ad3fd2f7c2d
treeb3eb9f5427f3e860f9b5aca0bfc9fbbaab6ac4ea
parent934167a39654699eca26869c96b875092dc16976
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.
148 files changed:
ChangeLog
lib/unicase.in.h
lib/unictype.in.h
lib/uninorm.in.h
m4/libunistring-base.m4
m4/unicase_h.m4 [new file with mode: 0644]
m4/unictype_h.m4 [new file with mode: 0644]
m4/uninorm_h.m4 [new file with mode: 0644]
modules/unicase/base
modules/unicase/empty-prefix-context
modules/unicase/empty-suffix-context
modules/unictype/base
modules/unictype/category-C
modules/unictype/category-Cc
modules/unictype/category-Cf
modules/unictype/category-Cn
modules/unictype/category-Co
modules/unictype/category-Cs
modules/unictype/category-L
modules/unictype/category-LC
modules/unictype/category-Ll
modules/unictype/category-Lm
modules/unictype/category-Lo
modules/unictype/category-Lt
modules/unictype/category-Lu
modules/unictype/category-M
modules/unictype/category-Mc
modules/unictype/category-Me
modules/unictype/category-Mn
modules/unictype/category-N
modules/unictype/category-Nd
modules/unictype/category-Nl
modules/unictype/category-No
modules/unictype/category-P
modules/unictype/category-Pc
modules/unictype/category-Pd
modules/unictype/category-Pe
modules/unictype/category-Pf
modules/unictype/category-Pi
modules/unictype/category-Po
modules/unictype/category-Ps
modules/unictype/category-S
modules/unictype/category-Sc
modules/unictype/category-Sk
modules/unictype/category-Sm
modules/unictype/category-So
modules/unictype/category-Z
modules/unictype/category-Zl
modules/unictype/category-Zp
modules/unictype/category-Zs
modules/unictype/property-alphabetic
modules/unictype/property-ascii-hex-digit
modules/unictype/property-bidi-arabic-digit
modules/unictype/property-bidi-arabic-right-to-left
modules/unictype/property-bidi-block-separator
modules/unictype/property-bidi-boundary-neutral
modules/unictype/property-bidi-common-separator
modules/unictype/property-bidi-control
modules/unictype/property-bidi-embedding-or-override
modules/unictype/property-bidi-eur-num-separator
modules/unictype/property-bidi-eur-num-terminator
modules/unictype/property-bidi-european-digit
modules/unictype/property-bidi-hebrew-right-to-left
modules/unictype/property-bidi-left-to-right
modules/unictype/property-bidi-non-spacing-mark
modules/unictype/property-bidi-other-neutral
modules/unictype/property-bidi-pdf
modules/unictype/property-bidi-segment-separator
modules/unictype/property-bidi-whitespace
modules/unictype/property-case-ignorable
modules/unictype/property-cased
modules/unictype/property-changes-when-casefolded
modules/unictype/property-changes-when-casemapped
modules/unictype/property-changes-when-lowercased
modules/unictype/property-changes-when-titlecased
modules/unictype/property-changes-when-uppercased
modules/unictype/property-combining
modules/unictype/property-composite
modules/unictype/property-currency-symbol
modules/unictype/property-dash
modules/unictype/property-decimal-digit
modules/unictype/property-default-ignorable-code-point
modules/unictype/property-deprecated
modules/unictype/property-diacritic
modules/unictype/property-emoji
modules/unictype/property-emoji-component
modules/unictype/property-emoji-modifier
modules/unictype/property-emoji-modifier-base
modules/unictype/property-emoji-presentation
modules/unictype/property-extended-pictographic
modules/unictype/property-extender
modules/unictype/property-format-control
modules/unictype/property-grapheme-base
modules/unictype/property-grapheme-extend
modules/unictype/property-grapheme-link
modules/unictype/property-hex-digit
modules/unictype/property-hyphen
modules/unictype/property-id-continue
modules/unictype/property-id-start
modules/unictype/property-ideographic
modules/unictype/property-ids-binary-operator
modules/unictype/property-ids-trinary-operator
modules/unictype/property-ignorable-control
modules/unictype/property-iso-control
modules/unictype/property-join-control
modules/unictype/property-left-of-pair
modules/unictype/property-line-separator
modules/unictype/property-logical-order-exception
modules/unictype/property-lowercase
modules/unictype/property-math
modules/unictype/property-non-break
modules/unictype/property-not-a-character
modules/unictype/property-numeric
modules/unictype/property-other-alphabetic
modules/unictype/property-other-default-ignorable-code-point
modules/unictype/property-other-grapheme-extend
modules/unictype/property-other-id-continue
modules/unictype/property-other-id-start
modules/unictype/property-other-lowercase
modules/unictype/property-other-math
modules/unictype/property-other-uppercase
modules/unictype/property-paired-punctuation
modules/unictype/property-paragraph-separator
modules/unictype/property-pattern-syntax
modules/unictype/property-pattern-white-space
modules/unictype/property-private-use
modules/unictype/property-punctuation
modules/unictype/property-quotation-mark
modules/unictype/property-radical
modules/unictype/property-regional-indicator
modules/unictype/property-sentence-terminal
modules/unictype/property-soft-dotted
modules/unictype/property-space
modules/unictype/property-terminal-punctuation
modules/unictype/property-titlecase
modules/unictype/property-unassigned-code-value
modules/unictype/property-unified-ideograph
modules/unictype/property-uppercase
modules/unictype/property-variation-selector
modules/unictype/property-white-space
modules/unictype/property-xid-continue
modules/unictype/property-xid-start
modules/unictype/property-zero-width
modules/uninorm/base
modules/uninorm/nfc
modules/uninorm/nfd
modules/uninorm/nfkc
modules/uninorm/nfkd