]> Savannah Git Hosting - gnulib.git/commitdiff
category-none: Fix link errors on MSVC, when libunistring is installed.
authorBruno Haible <bruno@clisp.org>
Sun, 23 Apr 2023 18:19:50 +0000 (20:19 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 27 Apr 2023 16:16:34 +0000 (18:16 +0200)
* modules/unictype/category-none (configure.ac): Remove
gl_LIBUNISTRING_MODULE invocation.
(Makefile.am): Compile unictype/categ_none.c always.

ChangeLog
modules/unictype/category-none

index 6f5555561a9eaca165a813bc8795074d12e29305..173a3602d7cda47cfae83c910c95b1c36e95e06b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-04-23  Bruno Haible  <bruno@clisp.org>
+
+       category-none: Fix link errors on MSVC, when libunistring is installed.
+       * modules/unictype/category-none (configure.ac): Remove
+       gl_LIBUNISTRING_MODULE invocation.
+       (Makefile.am): Compile unictype/categ_none.c always.
+
 2023-04-22  Bruno Haible  <bruno@clisp.org>
 
        Avoid some Autoconf "was expanded before it was required" warnings.
index c07d55a96fe38a04cf3df4a4432bcf18a8f302f4..7b8aa83da66814c90d1b81581a9d5b6aa007322b 100644 (file)
@@ -8,12 +8,11 @@ Depends-on:
 unictype/base
 
 configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-none])
+dnl Since _UC_CATEGORY_NONE is not exported from an installed libunistring,
+dnl don't use gl_LIBUNISTRING_MODULE here.
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE
 lib_SOURCES += unictype/categ_none.c
-endif
 
 Include:
 "unictype.h"