From e0edd5715c35d04d79ab75d3e4df28244c355444 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 28 Jun 2006 13:11:32 +0000 Subject: [PATCH] * modules/wcwidth: New file. * modules/mbchar (Depends-on): Add wcwidth. * modules/mbswidth (Depends-on): Add wcwidth. * MODULES.html.sh: Add wcwidth. --- ChangeLog | 11 +++++++++-- MODULES.html.sh | 1 + modules/mbchar | 1 + modules/mbswidth | 1 + modules/wcwidth | 23 +++++++++++++++++++++++ 5 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 modules/wcwidth diff --git a/ChangeLog b/ChangeLog index ac0403372..0f7cd2a12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-06-28 Eric Blake + + * modules/wcwidth: New file. + * modules/mbchar (Depends-on): Add wcwidth. + * modules/mbswidth (Depends-on): Add wcwidth. + * MODULES.html.sh: Add wcwidth. + 2006-06-28 Simon Josefsson * tests/test-getaddrinfo.c: Test getnameinfo too. Call WSAStartup @@ -16,7 +23,7 @@ * modules/stdint (Makefile.am): Also substitute HAVE_WCHAR_H. 2006-06-23 Simon Josefsson - Bruno Haible + Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): Define MOSTLYCLEANDIRS. Emit mostlyclean-local rule. @@ -104,7 +111,7 @@ * modules/wait-process: Likewise. 2006-04-23 Claudio Fontana - Bruno Haible + Bruno Haible * modules/gettext (Makefile.am): Add a -I flag for . * gnulib-tool (func_emit_lib_Makefile_am): Emit empty default value diff --git a/MODULES.html.sh b/MODULES.html.sh index 3f824813e..d5060ba01 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1811,6 +1811,7 @@ func_all_modules () func_module strtok_r func_module unistd func_module utime + func_module wcwidth func_end_table element="Enhancements for POSIX:2001 functions" diff --git a/modules/mbchar b/modules/mbchar index 5f1932169..c43036144 100644 --- a/modules/mbchar +++ b/modules/mbchar @@ -8,6 +8,7 @@ m4/mbchar.m4 Depends-on: stdbool +wcwidth configure.ac: gl_MBCHAR diff --git a/modules/mbswidth b/modules/mbswidth index 51ea07a41..f4b8f7920 100644 --- a/modules/mbswidth +++ b/modules/mbswidth @@ -9,6 +9,7 @@ m4/mbrtowc.m4 m4/mbswidth.m4 Depends-on: +wcwidth configure.ac: gl_MBSWIDTH diff --git a/modules/wcwidth b/modules/wcwidth new file mode 100644 index 000000000..6afb42063 --- /dev/null +++ b/modules/wcwidth @@ -0,0 +1,23 @@ +Description: +Determine the number of screen columns needed for a character. + +Files: +lib/wcwidth.h +m4/wcwidth.m4 + +Depends-on: + +configure.ac: +gl_FUNC_WCWIDTH + +Makefile.am: +lib_SOURCES += wcwidth.h + +Include: +"wcwidth.h" + +License: +GPL + +Maintainer: +Bruno Haible -- 2.11.0