File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libiconv / libcharset / INTEGRATE
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 13:38:46 2021 UTC (4 years ago) by misho
Branches: libiconv, MAIN
CVS tags: v1_16p0, HEAD
libiconv 1.16

    1: Integration of this library into your package:
    2: 
    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.
   10: 
   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.
   13: 
   14: * Add the following lines to your configure.ac file:
   15: 
   16:     AC_CANONICAL_HOST
   17:     AM_LANGINFO_CODESET
   18:     gl_FCNTL_O_FLAGS
   19:     jm_GLIBC21
   20:     AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
   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
   27:       localcharset.o
   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>