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/wctomb.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/wctomb.m4')
-rw-r--r-- | m4/wctomb.m4 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/m4/wctomb.m4 b/m4/wctomb.m4 new file mode 100644 index 0000000000..bc21b5b19f --- /dev/null +++ b/m4/wctomb.m4 @@ -0,0 +1,23 @@ +# wctomb.m4 serial 1 +dnl Copyright (C) 2011 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_WCTOMB], +[ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + + if false; then + REPLACE_WCTOMB=1 + fi + if test $REPLACE_WCTOMB = 1; then + AC_LIBOBJ([wctomb]) + gl_PREREQ_WCTOMB + fi +]) + +# Prerequisites of lib/wctomb.c. +AC_DEFUN([gl_PREREQ_WCTOMB], [ + : +]) |