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) to your aclocal.m4 file
12 or, if you are using automake, to your m4/ directory.
14 * Add the following lines to your configure.ac file:
19 AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
21 and make sure that it sets and AC_SUBSTs the PACKAGE variable.
23 * If you are not using automake, add rules to your Makefile.in:
25 - Augment target "all" by
28 * If you are using automake, add rules to your Makefile.am:
30 - Augment the main *_SOURCES variable by
32 localcharset.h localcharset.c