view modules/iconv @ 14289:b5843d4d8441

New module 'wcscmp'. * modules/wcscmp: New file. * lib/wchar.in.h (wcscmp): New declaration. * lib/wcscmp.c: New file. * lib/wcscmp-impl.h: New file, from libutf8 with modifications. * m4/wcscmp.m4: New file. * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscmp is declared. (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCMP, HAVE_WCSCMP. * modules/wchar (Makefile.am): Substitute GNULIB_WCSCMP, HAVE_WCSCMP. * tests/test-wchar-c++.cc: Test the declaration of wcscmp. * doc/posix-functions/wcscmp.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Feb 2011 04:39:48 +0100
parents 8bb7740af8bb
children
line wrap: on
line source

Description:
Character set conversion.

Files:
m4/iconv.m4

Depends-on:
havelib

configure.ac:
AM_ICONV
m4_ifdef([gl_ICONV_MODULE_INDICATOR],
  [gl_ICONV_MODULE_INDICATOR([iconv])])

Makefile.am:

Include:
#if HAVE_ICONV
# include <iconv.h>
#endif

Link:
$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise

License:
LGPLv2+

Maintainer:
Bruno Haible