Annotation of embedaddon/libiconv/libcharset/INTEGRATE, revision 1.1.1.3

1.1       misho       1: Integration of this library into your package:
                      2: 
1.1.1.3 ! misho       3: The preferred way is to use the Gnulib module 'localcharset'.
        !             4: 
        !             5: Here are instructions if you don't want to use Gnulib. It's tedious,
        !             6: many small changes to your package:
        !             7: 
        !             8: * Copy the lib/ source file (localcharset.c) and the include file
        !             9:   (include/localcharset.h) into your package.
1.1       misho      10: 
1.1.1.2   misho      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.
1.1       misho      13: 
                     14: * Add the following lines to your configure.ac file:
                     15: 
                     16:     AC_CANONICAL_HOST
                     17:     AM_LANGINFO_CODESET
1.1.1.2   misho      18:     gl_FCNTL_O_FLAGS
1.1       misho      19:     jm_GLIBC21
1.1.1.3 ! misho      20:     AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
1.1       misho      21: 
                     22:   and make sure that it sets and AC_SUBSTs the PACKAGE variable.
                     23: 
                     24: * If you are not using automake, add rules to your Makefile.in:
                     25: 
                     26:   - Augment target "all" by
1.1.1.3 ! misho      27:       localcharset.o
1.1       misho      28: 
                     29: * If you are using automake, add rules to your Makefile.am:
                     30: 
                     31:   - Augment the main *_SOURCES variable by
                     32: 
                     33:         localcharset.h localcharset.c
                     34: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>