summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-20 02:02:35 +0100
committerBruno Haible <bruno@clisp.org>2008-12-20 02:02:35 +0100
commit7ec4dd0757faee6c51e3b20119dded0b321c3199 (patch)
tree5b4c763284548e14a18463b8b92c8a3d8462e840 /modules
parent797646a90607dc6632372db04cb04d13e49e5c9c (diff)
downloadgnulib-7ec4dd0757faee6c51e3b20119dded0b321c3199.tar.gz
New module 'mbsrtowcs'.
Diffstat (limited to 'modules')
-rw-r--r--modules/mbsrtowcs28
-rw-r--r--modules/wchar2
2 files changed, 30 insertions, 0 deletions
diff --git a/modules/mbsrtowcs b/modules/mbsrtowcs
new file mode 100644
index 0000000000..4707e80278
--- /dev/null
+++ b/modules/mbsrtowcs
@@ -0,0 +1,28 @@
+Description:
+mbsrtowcs() function: convert string to wide string.
+
+Files:
+lib/mbsrtowcs.c
+m4/mbsrtowcs.m4
+m4/mbstate_t.m4
+
+Depends-on:
+wchar
+mbrtowc
+strnlen1
+
+configure.ac:
+gl_FUNC_MBSRTOWCS
+gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
+
+Makefile.am:
+
+Include:
+<wchar.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+
diff --git a/modules/wchar b/modules/wchar
index 6042d19134..8953fc1846 100644
--- a/modules/wchar
+++ b/modules/wchar
@@ -30,6 +30,7 @@ wchar.h: wchar.in.h
-e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
-e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
-e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
+ -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
-e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
-e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
-e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
@@ -37,6 +38,7 @@ wchar.h: wchar.in.h
-e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
-e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
-e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
+ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
-e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \