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 (3 years, 9 months ago) by misho
Branches: libiconv, MAIN
CVS tags: v1_16p0, HEAD
libiconv 1.16

Integration of this library into your package:

The preferred way is to use the Gnulib module 'localcharset'.

Here are instructions if you don't want to use Gnulib. It's tedious,
many small changes to your package:

* Copy the lib/ source file (localcharset.c) and the include file
  (include/localcharset.h) into your package.

* Add the m4/ files (codeset.m4, fcntl_h.m4, glibc21.m4) to your aclocal.m4
  file or, if you are using automake, to your m4/ directory.

* Add the following lines to your configure.ac file:

    AC_CANONICAL_HOST
    AM_LANGINFO_CODESET
    gl_FCNTL_O_FLAGS
    jm_GLIBC21
    AC_CHECK_HEADERS([stddef.h stdlib.h string.h])

  and make sure that it sets and AC_SUBSTs the PACKAGE variable.

* If you are not using automake, add rules to your Makefile.in:

  - Augment target "all" by
      localcharset.o

* If you are using automake, add rules to your Makefile.am:

  - Augment the main *_SOURCES variable by

        localcharset.h localcharset.c


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