+2024-06-09 Bruno Haible <bruno@clisp.org>
+
+ c32rtomb: Add a sanity check, working around Solaris 11 OmniOS.
+ * m4/c32rtomb.m4 (gl_CHECK_FUNC_C32RTOMB): New macro, extracted from
+ gl_FUNC_C32RTOMB.
+ (gl_C32RTOMB_SANITYCHECK): New macro.
+ (gl_FUNC_C32RTOMB): Require gl_CHECK_FUNC_C32RTOMB and
+ gl_C32RTOMB_SANITYCHECK. If HAVE_WORKING_C32RTOMB is 0, set
+ REPLACE_C32RTOMB.
+ * lib/c32rtomb.c (c32rtomb): Together with HAVE_WORKING_MBRTOC32, test
+ also HAVE_WORKING_C32RTOMB.
+ --
+ * m4/mbrtoc32.m4 (gl_PREREQ_MBRTOC32): Require gl_C32RTOMB_SANITYCHECK.
+ * lib/mbrtoc32.c (mbrtoc32): Together with HAVE_WORKING_MBRTOC32, test
+ also HAVE_WORKING_C32RTOMB.
+ * modules/mbrtoc32 (Files): Add m4/c32rtomb.m4.
+ --
+ * lib/btoc32.c (btoc32): Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ --
+ * lib/mbsrtoc32s.c: Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ --
+ * lib/mbsnrtoc32s.c: Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ --
+ * lib/c32tob.c (c32tob): Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ * modules/c32tob (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ --
+ * lib/c32srtombs.c: Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ --
+ * lib/c32snrtombs.c: Together with HAVE_WORKING_MBRTOC32, test also
+ HAVE_WORKING_C32RTOMB.
+ --
+ * lib/c32is-impl.h (FUNC): Together with HAVE_WORKING_MBRTOC32, test
+ also HAVE_WORKING_C32RTOMB.
+ * modules/c32isalnum (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isalpha (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isblank (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32iscntrl (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isdigit (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isgraph (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32islower (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isprint (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32ispunct (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isspace (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isupper (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32isxdigit (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ --
+ * lib/c32to-impl.h (FUNC): Together with HAVE_WORKING_MBRTOC32, test
+ also HAVE_WORKING_C32RTOMB.
+ * modules/c32tolower (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ * modules/c32toupper (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+ --
+ * lib/c32width.c (c32width): Together with HAVE_WORKING_MBRTOC32, test
+ also HAVE_WORKING_C32RTOMB.
+ * modules/c32width (Files): Add m4/c32rtomb.m4.
+ (configure.ac): Require gl_C32RTOMB_SANITYCHECK.
+
2024-06-08 Bruno Haible <bruno@clisp.org>
c32isblank tests: Avoid test failure on NetBSD 10.0.
/* Convert unibyte character to 32-bit wide character.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
wint_t
btoc32 (int c)
{
-#if HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4
+#if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding. */
if (c != EOF)
/* Test whether a 32-bit wide character belongs to a specific character class.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
else
return 0;
-#elif HAVE_WORKING_MBRTOC32 /* glibc, Android */
+#elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */
/* mbrtoc32() is essentially defined by the system libc. */
# if _GL_WCHAR_T_IS_UCS4
/* Convert 32-bit wide character to multibyte character.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
c32rtomb (char *s, char32_t wc, mbstate_t *ps)
#undef c32rtomb
{
-#if HAVE_WORKING_MBRTOC32
+#if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB
# if C32RTOMB_RETVAL_BUG
if (s == NULL)
/* Convert 32-bit wide string to string.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
#include <wchar.h>
-#if (HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
+#if (HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding, or char32_t is wider than wchar_t. */
/* Convert 32-bit wide string to string.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
#include <wchar.h>
-#if (HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
+#if (HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding, or char32_t is wider than wchar_t. */
/* Case mapping of a 32-bit wide character.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
else
return wc;
-#elif HAVE_WORKING_MBRTOC32 /* glibc, Android */
+#elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */
/* mbrtoc32() is essentially defined by the system libc. */
# if _GL_WCHAR_T_IS_UCS4
/* Convert 32-bit wide character to unibyte character.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
int
c32tob (wint_t wc)
{
-#if HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4
+#if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding. */
if (wc != WEOF)
/* Determine the number of screen columns needed for a 32-bit wide character.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
else
return wcwidth (wc);
-#elif HAVE_WORKING_MBRTOC32 /* glibc, Android */
+#elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */
/* mbrtoc32() is essentially defined by the system libc. */
# if _GL_WCHAR_T_IS_UCS4
if (ps == NULL)
ps = &internal_state;
-# if HAVE_WORKING_MBRTOC32 && !MBRTOC32_MULTIBYTE_LOCALE_BUG
+# if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !MBRTOC32_MULTIBYTE_LOCALE_BUG
/* mbrtoc32() may produce different values for wc than mbrtowc(). Therefore
use mbrtoc32(). */
/* Convert string to 32-bit wide string.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2020.
This file is free software: you can redistribute it and/or modify
#include <wchar.h>
-#if (HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
+#if (HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding, or char32_t is wider than wchar_t. */
/* Convert string to 32-bit wide string.
- Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ Copyright (C) 2020-2024 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2020.
This file is free software: you can redistribute it and/or modify
#include <wchar.h>
-#if (HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
+#if (HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4) || (GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION) || _GL_SMALL_WCHAR_T
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding, or char32_t is wider than wchar_t. */
-# c32rtomb.m4 serial 6
-dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
+# c32rtomb.m4 serial 6.1
+dnl Copyright (C) 2020-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_REQUIRE([gl_UCHAR_H_DEFAULTS])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+ AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
+ AC_REQUIRE([gl_CHECK_FUNC_C32RTOMB])
+ if test $gl_cv_func_c32rtomb = no; then
+ HAVE_C32RTOMB=0
+ else
+ dnl When we override mbrtoc32, redefining the meaning of the char32_t
+ dnl values, we need to override c32rtomb as well, for consistency.
+ if test $HAVE_WORKING_MBRTOC32 = 0; then
+ REPLACE_C32RTOMB=1
+ fi
+ AC_CACHE_CHECK([whether c32rtomb return value is correct],
+ [gl_cv_func_c32rtomb_retval],
+ [
+ dnl Initial guess, used when cross-compiling.
+changequote(,)dnl
+ case "$host_os" in
+ # Guess no on AIX.
+ aix*) gl_cv_func_c32rtomb_retval="guessing no" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_c32rtomb_retval="guessing yes" ;;
+ esac
+changequote([,])dnl
+ AC_RUN_IFELSE(
+ [AC_LANG_SOURCE([[
+#include <stddef.h>
+#ifdef __HAIKU__
+ #include <stdint.h>
+#endif
+#include <uchar.h>
+int main ()
+{
+ int result = 0;
+ if (c32rtomb (NULL, 0, NULL) != 1)
+ result |= 1;
+ return result;
+}]])],
+ [gl_cv_func_c32rtomb_retval=yes],
+ [gl_cv_func_c32rtomb_retval=no],
+ [:])
+ ])
+ case "$gl_cv_func_c32rtomb_retval" in
+ *yes) ;;
+ *) AC_DEFINE([C32RTOMB_RETVAL_BUG], [1],
+ [Define if the c32rtomb function has an incorrect return value.])
+ REPLACE_C32RTOMB=1 ;;
+ esac
+ if test $HAVE_WORKING_C32RTOMB = 0; then
+ REPLACE_C32RTOMB=1
+ fi
+ fi
+])
+
+AC_DEFUN([gl_CHECK_FUNC_C32RTOMB],
+[
dnl Cf. gl_CHECK_FUNCS_ANDROID
AC_CHECK_DECL([c32rtomb], , ,
[[#ifdef __HAIKU__
else
gl_cv_func_c32rtomb=no
fi
- if test $gl_cv_func_c32rtomb = no; then
- HAVE_C32RTOMB=0
+])
+
+dnl Test whether c32rtomb works not worse than wcrtomb.
+dnl Result is HAVE_WORKING_C32RTOMB.
+
+AC_DEFUN([gl_C32RTOMB_SANITYCHECK],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ AC_REQUIRE([gl_TYPE_CHAR32_T])
+ AC_REQUIRE([gl_CHECK_FUNC_C32RTOMB])
+ AC_REQUIRE([gt_LOCALE_ZH_CN])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_c32rtomb = no; then
+ HAVE_WORKING_C32RTOMB=0
else
- dnl When we override mbrtoc32, redefining the meaning of the char32_t
- dnl values, we need to override c32rtomb as well, for consistency.
- if test $HAVE_WORKING_MBRTOC32 = 0; then
- REPLACE_C32RTOMB=1
- fi
- AC_CACHE_CHECK([whether c32rtomb return value is correct],
- [gl_cv_func_c32rtomb_retval],
+ AC_CACHE_CHECK([whether c32rtomb works as well as wcrtomb],
+ [gl_cv_func_c32rtomb_sanitycheck],
[
- dnl Initial guess, used when cross-compiling.
+ dnl Initial guess, used when cross-compiling or when no suitable locale
+ dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on AIX.
- aix*) gl_cv_func_c32rtomb_retval="guessing no" ;;
+ # Guess no on Solaris derivatives.
+ solaris*)
+ if test -f /etc/release && grep 'Oracle Solaris' /etc/release >/dev/null; then
+ gl_cv_func_c32rtomb_sanitycheck="guessing yes"
+ else
+ gl_cv_func_c32rtomb_sanitycheck="guessing no"
+ fi
+ ;;
# Guess yes otherwise.
- *) gl_cv_func_c32rtomb_retval="guessing yes" ;;
+ *)
+ gl_cv_func_c32rtomb_sanitycheck="guessing yes"
+ ;;
esac
changequote([,])dnl
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
-#include <stddef.h>
+ if test $LOCALE_ZH_CN != none; then
+ AC_RUN_IFELSE(
+ [AC_LANG_SOURCE([[
+#include <locale.h>
+#include <stdlib.h>
+#include <string.h>
+#include <wchar.h>
#ifdef __HAIKU__
#include <stdint.h>
#endif
int main ()
{
int result = 0;
- if (c32rtomb (NULL, 0, NULL) != 1)
- result |= 1;
+ /* This fails on Solaris 11 OmniOS:
+ c32rtomb returns (size_t)-1.
+ wcrtomb returns 4 (correct). */
+ if (strcmp ("$LOCALE_ZH_CN", "none") != 0
+ && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
+ {
+ mbstate_t state;
+ wchar_t wc = (wchar_t) 0xBADFACE;
+ char buf[16];
+ memset (&state, '\0', sizeof (mbstate_t));
+ if (mbrtowc (&wc, "\201\060\211\070", 4, &state) == 4
+ && wcrtomb (buf, wc, NULL) == 4
+ && memcmp (buf, "\201\060\211\070", 4) == 0)
+ {
+ char32_t c32 = (wchar_t) 0xBADFACE;
+ memset (&state, '\0', sizeof (mbstate_t));
+ if (mbrtoc32 (&c32, "\201\060\211\070", 4, &state) == 4
+ && c32rtomb (buf, c32, NULL) != 4)
+ result |= 1;
+ }
+ }
return result;
}]])],
- [gl_cv_func_c32rtomb_retval=yes],
- [gl_cv_func_c32rtomb_retval=no],
- [:])
+ [gl_cv_func_c32rtomb_sanitycheck=yes],
+ [gl_cv_func_c32rtomb_sanitycheck=no],
+ [:])
+ fi
])
- case "$gl_cv_func_c32rtomb_retval" in
- *yes) ;;
- *) AC_DEFINE([C32RTOMB_RETVAL_BUG], [1],
- [Define if the c32rtomb function has an incorrect return value.])
- REPLACE_C32RTOMB=1 ;;
+ case "$gl_cv_func_c32rtomb_sanitycheck" in
+ *yes)
+ HAVE_WORKING_C32RTOMB=1
+ AC_DEFINE([HAVE_WORKING_C32RTOMB], [1],
+ [Define if the c32rtomb function basically works.])
+ ;;
+ *) HAVE_WORKING_C32RTOMB=0 ;;
esac
fi
+ AC_SUBST([HAVE_WORKING_C32RTOMB])
])
-# mbrtoc32.m4 serial 17.1
+# mbrtoc32.m4 serial 17.2
dnl Copyright (C) 2014-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([gl_CHECK_FUNC_MBRTOC32])
AC_REQUIRE([gt_LOCALE_FR])
AC_REQUIRE([gt_LOCALE_ZH_CN])
- AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
+ AC_REQUIRE([AC_CANONICAL_HOST])
if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_mbrtoc32 = no; then
HAVE_WORKING_MBRTOC32=0
else
# Prerequisites of lib/mbrtoc32.c and lib/lc-charset-dispatch.c.
AC_DEFUN([gl_PREREQ_MBRTOC32], [
+ AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
:
])
lib/c32isalnum.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isalnum])
Makefile.am:
lib/c32isalpha.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isalpha])
Makefile.am:
lib/c32isblank.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isblank])
Makefile.am:
lib/c32iscntrl.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32iscntrl])
Makefile.am:
lib/c32isdigit.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isdigit])
Makefile.am:
lib/c32isgraph.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isgraph])
Makefile.am:
lib/c32islower.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32islower])
Makefile.am:
lib/c32isprint.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isprint])
Makefile.am:
lib/c32ispunct.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32ispunct])
Makefile.am:
lib/c32isspace.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isspace])
Makefile.am:
lib/c32isupper.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isupper])
Makefile.am:
lib/c32isxdigit.c
lib/c32is-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32isxdigit])
Makefile.am:
Files:
lib/c32tob.c
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/locale-fr.m4
m4/locale-zh.m4
m4/codeset.m4
configure.ac:
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32tob])
Makefile.am:
lib/c32tolower.c
lib/c32to-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32tolower])
Makefile.am:
lib/c32toupper.c
lib/c32to-impl.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32toupper])
Makefile.am:
Files:
lib/c32width.c
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/locale-ja.m4
dnl determined. It describes how mbrtoc32 is implemented.
AC_REQUIRE([gl_MBSTATE_T_BROKEN])
AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
gl_UCHAR_MODULE_INDICATOR([c32width])
Makefile.am:
lib/mbtowc-lock.c
lib/windows-initguard.h
m4/mbrtoc32.m4
+m4/c32rtomb.m4
m4/locale-fr.m4
m4/locale-zh.m4
m4/codeset.m4