1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Bruno Haible ac19d2a1ff streq: Rename to streq-opt.
* lib/streq-opt.h: Renamed from lib/streq.h.
* modules/streq-opt: Renamed from modules/streq.
* NEWS: Mention the change.
* lib/c32is-impl.h: Include streq-opt.h instead of streq.h.
* lib/c32to-impl.h: Likewise.
* lib/c32rtomb.c: Likewise.
* lib/c32width.c: Likewise.
* lib/lc-charset-dispatch.c: Likewise.
* lib/lc-charset-unicode.c: Likewise.
* lib/mbrtoc32.c: Likewise.
* lib/uniwidth/cjk.h: Likewise.
* lib/wcwidth.c: Likewise.
* modules/c32is* (Depends-on): Add streq-opt. Remove streq.
* modules/c32to* (Depends-on): Likewise.
* modules/c32rtomb (Depends-on): Likewise.
* modules/mbrtoc32 (Depends-on): Likewise.
* modules/mbrtowc (Depends-on): Likewise.
* modules/uchar-h-c23 (Depends-on): Likewise.
* modules/unilbrk/u*-possible-linebreaks (Depends-on): Likewise.
* modules/uniwidth/width (Depends-on): Likewise.
* modules/wcwidth (Depends-on): Likewise.
* MODULES.html.sh: Update.
2026-02-21 08:02:52 +01:00

42 lines
873 B
Plaintext

Description:
Determine the number of screen columns needed for a character.
Files:
lib/wcwidth.c
m4/wcwidth.m4
m4/wint_t.m4
Depends-on:
wchar-h
extensions
wctype-h [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
localcharset [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
streq-opt [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
uniwidth/width [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
configure.ac:
gl_FUNC_WCWIDTH
gl_CONDITIONAL([GL_COND_OBJ_WCWIDTH],
[test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1])
AM_COND_IF([GL_COND_OBJ_WCWIDTH], [
gl_PREREQ_WCWIDTH
])
gl_WCHAR_MODULE_INDICATOR([wcwidth])
Makefile.am:
if GL_COND_OBJ_WCWIDTH
lib_SOURCES += wcwidth.c
endif
Include:
<wchar.h>
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
License:
LGPLv2+
Maintainer:
all