]> Savannah Git Hosting - gnulib.git/commitdiff
Fix link errors on platforms with libunistring.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Nov 2020 01:51:29 +0000 (02:51 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Nov 2020 01:51:29 +0000 (02:51 +0100)
* modules/c32isalnum (Link): New section.
* modules/c32isalnum-tests (Makefile.am): Link test-c32isalnum with
$(LIBUNISTRING).
* modules/c32isalpha (Link): New section.
* modules/c32isalpha-tests (Makefile.am): Link test-c32isalpha with
$(LIBUNISTRING).
* modules/c32isblank (Link): New section.
* modules/c32isblank-tests (Makefile.am): Link test-c32isblank with
$(LIBUNISTRING).
* modules/c32iscntrl (Link): New section.
* modules/c32iscntrl-tests (Makefile.am): Link test-c32iscntrl with
$(LIBUNISTRING).
* modules/c32isdigit (Link): New section.
* modules/c32isdigit-tests (Makefile.am): Link test-c32isdigit with
$(LIBUNISTRING).
* modules/c32isgraph (Link): New section.
* modules/c32isgraph-tests (Makefile.am): Link test-c32isgraph with
$(LIBUNISTRING).
* modules/c32islower (Link): New section.
* modules/c32islower-tests (Makefile.am): Link test-c32islower with
$(LIBUNISTRING).
* modules/c32isprint (Link): New section.
* modules/c32isprint-tests (Makefile.am): Link test-c32isprint with
$(LIBUNISTRING).
* modules/c32ispunct (Link): New section.
* modules/c32ispunct-tests (Makefile.am): Link test-c32ispunct with
$(LIBUNISTRING).
* modules/c32isspace (Link): New section.
* modules/c32isspace-tests (Makefile.am): Link test-c32isspace with
$(LIBUNISTRING).
* modules/c32isupper (Link): New section.
* modules/c32isupper-tests (Makefile.am): Link test-c32isupper with
$(LIBUNISTRING).
* modules/c32isxdigit (Link): New section.
* modules/c32isxdigit-tests (Makefile.am): Link test-c32isxdigit with
$(LIBUNISTRING).
* modules/unicodeio (Link): Mention $(LIBUNISTRING).
* modules/unicodeio-tests (Makefile.am): Link test-unicodeio with
$(LIBUNISTRING).

27 files changed:
ChangeLog
modules/c32isalnum
modules/c32isalnum-tests
modules/c32isalpha
modules/c32isalpha-tests
modules/c32isblank
modules/c32isblank-tests
modules/c32iscntrl
modules/c32iscntrl-tests
modules/c32isdigit
modules/c32isdigit-tests
modules/c32isgraph
modules/c32isgraph-tests
modules/c32islower
modules/c32islower-tests
modules/c32isprint
modules/c32isprint-tests
modules/c32ispunct
modules/c32ispunct-tests
modules/c32isspace
modules/c32isspace-tests
modules/c32isupper
modules/c32isupper-tests
modules/c32isxdigit
modules/c32isxdigit-tests
modules/unicodeio
modules/unicodeio-tests

index 9aa062804c94aaf4fcd33daee8edd30c7fbb852b..c8f4ffaac0b1f77cb5949fb8eefac1a083cfbe42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,46 @@
+2020-11-16  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on platforms with libunistring.
+       * modules/c32isalnum (Link): New section.
+       * modules/c32isalnum-tests (Makefile.am): Link test-c32isalnum with
+       $(LIBUNISTRING).
+       * modules/c32isalpha (Link): New section.
+       * modules/c32isalpha-tests (Makefile.am): Link test-c32isalpha with
+       $(LIBUNISTRING).
+       * modules/c32isblank (Link): New section.
+       * modules/c32isblank-tests (Makefile.am): Link test-c32isblank with
+       $(LIBUNISTRING).
+       * modules/c32iscntrl (Link): New section.
+       * modules/c32iscntrl-tests (Makefile.am): Link test-c32iscntrl with
+       $(LIBUNISTRING).
+       * modules/c32isdigit (Link): New section.
+       * modules/c32isdigit-tests (Makefile.am): Link test-c32isdigit with
+       $(LIBUNISTRING).
+       * modules/c32isgraph (Link): New section.
+       * modules/c32isgraph-tests (Makefile.am): Link test-c32isgraph with
+       $(LIBUNISTRING).
+       * modules/c32islower (Link): New section.
+       * modules/c32islower-tests (Makefile.am): Link test-c32islower with
+       $(LIBUNISTRING).
+       * modules/c32isprint (Link): New section.
+       * modules/c32isprint-tests (Makefile.am): Link test-c32isprint with
+       $(LIBUNISTRING).
+       * modules/c32ispunct (Link): New section.
+       * modules/c32ispunct-tests (Makefile.am): Link test-c32ispunct with
+       $(LIBUNISTRING).
+       * modules/c32isspace (Link): New section.
+       * modules/c32isspace-tests (Makefile.am): Link test-c32isspace with
+       $(LIBUNISTRING).
+       * modules/c32isupper (Link): New section.
+       * modules/c32isupper-tests (Makefile.am): Link test-c32isupper with
+       $(LIBUNISTRING).
+       * modules/c32isxdigit (Link): New section.
+       * modules/c32isxdigit-tests (Makefile.am): Link test-c32isxdigit with
+       $(LIBUNISTRING).
+       * modules/unicodeio (Link): Mention $(LIBUNISTRING).
+       * modules/unicodeio-tests (Makefile.am): Link test-unicodeio with
+       $(LIBUNISTRING).
+
 2020-11-16  Bruno Haible  <bruno@clisp.org>
 
        Fix link errors on platforms with libintl (e.g. Solaris and AIX).
index 213ffdda722072e45a301fdd059e3ced0b802513..193565552b6499815ea9ae7d875d0e50fc7186a6 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isalnum.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 51e3ac4de6fc95dffd754fef4667ca4f73d9a388..54ef82c0dc57fe564008b261b0414a6d5379e543 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isalnum
-test_c32isalnum_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isalnum_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 1ca598d3e45891e1b307777ff16fe6800929e11f..c4b831e4c9513d4d735d545d639bb1086e4331a1 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isalpha.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 4c4ebaa9a761ede971087c735843076707a757ee..1e4c77bfbc205cfb986c29627336e08151b5fe45 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isalpha
-test_c32isalpha_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isalpha_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index eff925a33cfdf9252ad1297d1cd4785c827deacd..3c99311778eef942029d6e6af105ec8438928d16 100644 (file)
@@ -27,6 +27,9 @@ lib_SOURCES += c32isblank.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 8f48be3ff44cfe77e5f1017cf4a80ffbc4491a07..9efdda44c78a209bfa5389833d4087730f45995d 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isblank
-test_c32isblank_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isblank_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 4fb648463f123db85ac1691b5cca09549302f7c5..74f571debe562d7513234b1623b6e582acbdbfcb 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32iscntrl.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index b170e7c9155ab8f88adc81de9c0e47a1a72dd4ce..d927f33f41e9af86899db0fafbd06d681cc11baa 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32iscntrl
-test_c32iscntrl_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32iscntrl_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 3e31fdb36fee3c2b33b4e467122bc8e3696eb6a7..bb1cae5ee245ac72a2d484f9026160d7d62c0023 100644 (file)
@@ -27,6 +27,9 @@ lib_SOURCES += c32isdigit.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index ccb74f3c156e1da8d4963976500fe36e40c07435..b300e11ca8c6b0ea3c385dfe82510b24e1377be1 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isdigit
-test_c32isdigit_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isdigit_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 9c14ab043a5ec0bc0f752443872a7c7907429422..dd967ca8a3d46f97c12db1a3bd228d78428e6a30 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isgraph.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 0cb732194ab7e9a97c50c78c210a601bfeaab324..a1badde179308bda82ad666d4e73afa05752aa99 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isgraph
-test_c32isgraph_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isgraph_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 475f51d68c588e77b7c8d0b14a6e183e2e1e330c..b8949aef39c8ccf30a810e80395c3fc57446ac7b 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32islower.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index bf528166853567b914e181094ca29d9243586882..5a6010fdf58cb92b1cdda4cbac6fd6999ace73ec 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32islower
-test_c32islower_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32islower_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index b95a8c59371dd1f084e66dc998de368796284773..9badd0b6d0296c1306d2f30e9493a63542cf494d 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isprint.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index ea7abd61fb5b2a4cbd29ab92de0bd8f116c3e0d8..5c804f244dfba3000f2879f9d1e2a12fff166c8a 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isprint
-test_c32isprint_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isprint_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 2f5e0e48d6ce2729a3b6fe482dcabb05719d1a95..72373c847377c3b99d00b3ad8dea8a150413a014 100644 (file)
@@ -27,6 +27,9 @@ lib_SOURCES += c32ispunct.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 2e1ee9526fb63ddc1328bb44085260240c6fa6a3..396d1ca4c0631c4b6a278cf21ab56f52b6dac846 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32ispunct
-test_c32ispunct_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32ispunct_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index e42658b5daa448aa14a12f674cbcc12ae2e5f3a6..2974e20e81e3c306bd51c1f2afcccbb017d3ddde 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isspace.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index a37b5282004c3c20615f602ea51dfc90e75b3b11..aef1272a75159fbcf8050f790a8dc4c3c5063008 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isspace
-test_c32isspace_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isspace_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 05ea0f4dee644347d83e8461cad8e7d7a8035bf5..e10c58a2722c3fc97f875ebb831911bd294a9404 100644 (file)
@@ -26,6 +26,9 @@ lib_SOURCES += c32isupper.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 0410e9d2ba75b6a120f7117fe0f698f60524ecbe..beeb3a91ed6f5f653affa3c4dd5dcac14c99c513 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isupper
-test_c32isupper_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isupper_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index 4572deb04d4b355fd6c3a6fcbc4fec4ffefd9453..127155ca5a1e5e8f5b25a56b12f29d364de8402a 100644 (file)
@@ -28,6 +28,9 @@ lib_SOURCES += c32isxdigit.c
 Include:
 <uchar.h>
 
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
 License:
 LGPLv3+ or GPLv2
 
index 9b23f07115c8d0b988c34706c71e1a83da899849..b0860405e6893e62232497d0587c93582f7e62e2 100644 (file)
@@ -26,4 +26,4 @@ TESTS_ENVIRONMENT += \
   LOCALE_JA='@LOCALE_JA@' \
   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-c32isxdigit
-test_c32isxdigit_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)
+test_c32isxdigit_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) $(LIBUNISTRING)
index d7a3a4a95d45ab0a78f2cffa3b132e42d27c600f..b1b077d76bdff1219536ff56dc4e2aa1b569474c 100644 (file)
@@ -27,6 +27,7 @@ Include:
 
 Link:
 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
 
 License:
 GPL
index aa5803cf1071a76d8a0c9d6a4697e09aa45d4a33..c53f26f2b53e761621512eede8da5646eb1c9ed6 100644 (file)
@@ -18,4 +18,4 @@ gt_LOCALE_ZH_CN
 Makefile.am:
 TESTS += test-unicodeio1.sh test-unicodeio2.sh test-unicodeio3.sh
 check_PROGRAMS += test-unicodeio
-test_unicodeio_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIBICONV) $(LIBINTL)
+test_unicodeio_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIBUNISTRING) $(LIBICONV) $(LIBINTL)