1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/modules/uchar-h-c23
Bruno Haible 5f1f075cc0 Fix module dependencies after 2025-09-17 "stringeq: prefer streq to strcmp in other modules".
* modules/c-vasnprintf (Dependencies): Add stringeq.
* modules/findprog-lgpl (Dependendies): Likewise.
* modules/localename-environ (Dependendies): Likewise.
* modules/localename-unsafe-limited (Dependendies): Likewise.
* modules/uchar-h-c23 (Dependendies): Likewise.
* modules/unistdio/u16-u16-vasnprintf (Dependendies): Likewise.
* modules/unistdio/u16-vasnprintf (Dependendies): Likewise.
* modules/unistdio/u32-u32-vasnprintf (Dependendies): Likewise.
* modules/unistdio/u32-vasnprintf (Dependendies): Likewise.
* modules/unistdio/u8-u8-vasnprintf (Dependendies): Likewise.
* modules/unistdio/u8-vasnprintf (Dependendies): Likewise.
* modules/unistdio/ulc-vasnprintf (Dependendies): Likewise.
* modules/vasnprintf (Dependendies): Likewise.
* modules/vasnwprintf (Dependendies): Likewise.
* modules/setenv (Dependendies): Remove stringeq.
* modules/uchar-h (Dependendies): Likewise.
* modules/uniconv/base (Dependendies): Likewise.
2026-02-28 21:17:43 +01:00

60 lines
1.2 KiB
Plaintext

Description:
A <uchar.h> in which the char32_t values are always Unicode code points.
Files:
lib/lc-charset-unicode.h
lib/lc-charset-unicode.c
Depends-on:
uchar-h
wchar-h
iconv
localcharset
streq
streq-opt
once
tls
mbszero
wcrtomb
unistr/u8-mbtouc
unistr/u8-uctomb
mbrtowc
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AM_ICONV])
AC_DEFINE([GL_CHAR32_T_IS_UNICODE], [1],
[Define if gnulib's char32_t values are always Unicode code points.])
dnl On macOS, FreeBSD, NetBSD, Solaris, the functions mbrtoc32 and c32rtomb
dnl need to convert between the wchar_t encoding and Unicode.
case "$host_os" in
darwin* | freebsd* | dragonfly* | netbsd* | solaris*)
AC_DEFINE([GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION], [1],
[Define if gnulib needs to convert between the wchar_t encoding and Unicode.])
LIBC32CONV="$LIBICONV"
LTLIBC32CONV="$LTLIBICONV"
;;
*)
LIBC32CONV=
LTLIBC32CONV=
;;
esac
AC_SUBST([LIBC32CONV])
AC_SUBST([LTLIBC32CONV])
Makefile.am:
lib_SOURCES += lc-charset-unicode.c
Include:
<uchar.h>
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
LGPLv2+
Maintainer:
all