mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* lib/wctype.in.h (rpl_wctrans_t, wctrans_t, GNULIB_defined_wctrans_t): Define if REPLACE_WCTRANS is 1. (wctrans): Consider REPLACE_WCTRANS. (towctrans): Override if REPLACE_WCTRANS is 1. * m4/wctype_h.m4 (gl_WCTYPE_H_DEFAULTS): Initialize REPLACE_WCTRANS. * m4/wctrans.m4 (gl_FUNC_WCTRANS): Define through AC_DEFUN_ONCE. Test whether wctrans supports the "tolower" character mapping. Set REPLACE_WCTRANS if not. * m4/towctrans.m4 (gl_FUNC_TOWCTRANS): Require gl_FUNC_WCTRANS. * modules/wctrans (Depends-on): Add towctrans. (configure.ac): Consider REPLACE_WCTRANS. * modules/towctrans (Files): Add m4/wctrans.m4. (configure.ac): Override also if REPLACE_WCTRANS is 1. * modules/wctype-h (Makefile.am): Substitute REPLACE_WCTRANS. * doc/posix-functions/wctrans.texi: Mention the NetBSD bug.
31 lines
477 B
Plaintext
31 lines
477 B
Plaintext
Description:
|
|
towctrans() function: convert a wide character using a case mapping.
|
|
|
|
Files:
|
|
lib/towctrans.c
|
|
lib/towctrans-impl.h
|
|
m4/towctrans.m4
|
|
m4/wctrans.m4
|
|
|
|
Depends-on:
|
|
wctype-h
|
|
|
|
configure.ac:
|
|
gl_FUNC_TOWCTRANS
|
|
gl_CONDITIONAL([GL_COND_OBJ_TOWCTRANS], [test $HAVE_TOWCTRANS = 0 || test $REPLACE_WCTRANS = 1])
|
|
gl_WCTYPE_MODULE_INDICATOR([towctrans])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_TOWCTRANS
|
|
lib_SOURCES += towctrans.c
|
|
endif
|
|
|
|
Include:
|
|
<wctype.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|