1 Integration of this library into your package:
3 The preferred way is to use the Gnulib module 'localcharset'.
5 Here are instructions if you don't want to use Gnulib. It's tedious,
6 many small changes to your package:
8 * Copy the lib/ source file (localcharset.c) and the include file
9 (include/localcharset.h) into your package.
11 * Add the m4/ files (codeset.m4, fcntl_h.m4, glibc21.m4) to your aclocal.m4
12 file or, if you are using automake, to your m4/ directory.
14 * Add the following lines to your configure.ac file:
20 AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
22 and make sure that it sets and AC_SUBSTs the PACKAGE variable.
24 * If you are not using automake, add rules to your Makefile.in:
26 - Augment target "all" by
29 * If you are using automake, add rules to your Makefile.am:
31 - Augment the main *_SOURCES variable by
33 localcharset.h localcharset.c