New module 'setlocale'.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2011 15:45:13 +0000 (16:45 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2011 16:06:20 +0000 (17:06 +0100)
commit4f1d12a5e3cef3d0da80e63320fcbc4d46a39c14
tree1cd1f9b39b11c2ca4e8807de9e984ac46291be55
parentec07f8e14133ce33f800d10d4a585e48e950f24a
New module 'setlocale'.

* lib/locale.in.h (setlocale): New declaration.
* lib/setlocale.c: New file, based on
gettext/gettext-runtime/intl/setlocale.c.
* m4/setlocale.m4: New file.
* m4/locale_h.m4 (gl_LOCALE_H): Test whether setlocale is declared.
(gl_LOCALE_H_DEFAULTS): Initialize GNULIB_SETLOCALE, REPLACE_SETLOCALE.
* modules/locale (Makefile.am): Substitute GNULIB_SETLOCALE,
REPLACE_SETLOCALE.
* modules/setlocale: New file.
* tests/test-locale-c++.cc: Test the declaration of setlocale.
* doc/posix-functions/setlocale.texi: Mention the new module.
ChangeLog
doc/posix-functions/setlocale.texi
lib/locale.in.h
lib/setlocale.c [new file with mode: 0644]
m4/locale_h.m4
m4/setlocale.m4 [new file with mode: 0644]
modules/locale
modules/setlocale [new file with mode: 0644]
tests/test-locale-c++.cc