changeset 6878:9ae5979172e8

* modules/wcwidth: New file. * modules/mbchar (Depends-on): Add wcwidth. * modules/mbswidth (Depends-on): Add wcwidth. * MODULES.html.sh: Add wcwidth.
author Eric Blake <ebb9@byu.net>
date Wed, 28 Jun 2006 13:11:32 +0000
parents 8a1cdc7197a8
children 68974d0e8a8d
files ChangeLog MODULES.html.sh modules/mbchar modules/mbswidth modules/wcwidth
diffstat 5 files changed, 35 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-06-28  Eric Blake  <ebb9@byu.net>
+
+	* 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  <jas@extundo.com>
 
 	* 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  <jas@extundo.com>
-            Bruno Haible  <bruno@clisp.org>
+	    Bruno Haible  <bruno@clisp.org>
 
 	* 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  <claudio@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+	    Bruno Haible  <bruno@clisp.org>
 
 	* modules/gettext (Makefile.am): Add a -I flag for <libintl.h>.
 	* gnulib-tool (func_emit_lib_Makefile_am): Emit empty default value
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -1811,6 +1811,7 @@
   func_module strtok_r
   func_module unistd
   func_module utime
+  func_module wcwidth
   func_end_table
 
   element="Enhancements for POSIX:2001 functions"
--- a/modules/mbchar
+++ b/modules/mbchar
@@ -8,6 +8,7 @@
 
 Depends-on:
 stdbool
+wcwidth
 
 configure.ac:
 gl_MBCHAR
--- a/modules/mbswidth
+++ b/modules/mbswidth
@@ -9,6 +9,7 @@
 m4/mbswidth.m4
 
 Depends-on:
+wcwidth
 
 configure.ac:
 gl_MBSWIDTH
new file mode 100644
--- /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