summaryrefslogtreecommitdiff
path: root/modules/c32width
diff options
context:
space:
mode:
Diffstat (limited to 'modules/c32width')
-rw-r--r--modules/c32width41
1 files changed, 41 insertions, 0 deletions
diff --git a/modules/c32width b/modules/c32width
new file mode 100644
index 0000000000..f91e67f37f
--- /dev/null
+++ b/modules/c32width
@@ -0,0 +1,41 @@
+Description:
+c32width() function: Determine the number of screen columns needed for
+a 32-bit wide character.
+
+Files:
+lib/c32width.c
+m4/mbrtoc32.m4
+m4/mbrtowc.m4
+m4/locale-fr.m4
+m4/locale-ja.m4
+m4/locale-zh.m4
+m4/codeset.m4
+
+Depends-on:
+uchar
+wchar
+wcwidth
+uniwidth/width
+
+configure.ac:
+AC_REQUIRE([gl_UCHAR_H])
+dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
+dnl determined. It describes how mbrtoc32 is implemented.
+AC_REQUIRE([gl_MBSTATE_T_BROKEN])
+AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
+gl_UCHAR_MODULE_INDICATOR([c32width])
+
+Makefile.am:
+lib_SOURCES += c32width.c
+
+Include:
+<uchar.h>
+
+Link:
+$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
+
+License:
+LGPLv3+ or GPLv2+
+
+Maintainer:
+Bruno Haible