diff options
author | Bruno Haible <bruno@clisp.org> | 2011-02-22 14:23:24 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-02-22 14:32:27 +0100 |
commit | f1eb357fab17482b2d19f12fc731673acead4922 (patch) | |
tree | 211cd255a7b7ce9836bc58abdeeb08ad658bc733 /m4/stdlib_h.m4 | |
parent | 82e60758d286043fbeca68ac04f782bc46b4bc34 (diff) | |
download | gnulib-f1eb357fab17482b2d19f12fc731673acead4922.tar.gz |
New module 'wctomb'.
* lib/stdlib.in.h (wctomb): New declaration.
* lib/wctomb.c: New file.
* lib/wctomb-impl.h: New file.
* m4/wctomb.m4: New file.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_WCTOMB,
REPLACE_WCTOMB.
* modules/stdlib (Makefile.am): Substitute GNULIB_WCTOMB,
REPLACE_WCTOMB.
* modules/wctomb: New file.
* tests/test-stdlib-c++.cc: Test signature of wctomb.
* doc/posix-functions/wctomb.texi: Mention the new module.
* modules/wctob (Depends-on): Add wctomb.
Diffstat (limited to 'm4/stdlib_h.m4')
-rw-r--r-- | m4/stdlib_h.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4 index 7fa7d311db..25fdada0de 100644 --- a/m4/stdlib_h.m4 +++ b/m4/stdlib_h.m4 @@ -63,6 +63,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) + GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) @@ -100,4 +101,5 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) + REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) ]) |