strftime.h: wrap funtion declaration in extern "C" block
[gnulib.git] / modules / iconv_open
1 Description:
2 Character set conversion.
3
4 Files:
5 lib/iconv.in.h
6 lib/iconv_open.c
7 lib/iconv_open-aix.gperf
8 lib/iconv_open-hpux.gperf
9 lib/iconv_open-irix.gperf
10 lib/iconv_open-osf.gperf
11 lib/iconv_open-solaris.gperf
12 m4/iconv_h.m4
13 m4/iconv_open.m4
14
15 Depends-on:
16 gperf
17 include_next
18 iconv
19 c-ctype
20 c-strcase
21
22 configure.ac:
23 gl_ICONV_H
24 gl_FUNC_ICONV_OPEN
25
26 Makefile.am:
27 BUILT_SOURCES += $(ICONV_H)
28
29 # We need the following in order to create <iconv.h> when the system
30 # doesn't have one that works with the given compiler.
31 iconv.h: iconv.in.h
32         $(AM_V_GEN)rm -f $@-t $@ && \
33         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
34           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
35               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
36               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
37               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
38               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
39               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
40               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
41               < $(srcdir)/iconv.in.h; \
42         } > $@-t && \
43         mv $@-t $@
44 MOSTLYCLEANFILES += iconv.h iconv.h-t
45
46 iconv_open-aix.h: iconv_open-aix.gperf
47         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
48         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
49 iconv_open-hpux.h: iconv_open-hpux.gperf
50         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
51         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
52 iconv_open-irix.h: iconv_open-irix.gperf
53         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
54         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
55 iconv_open-osf.h: iconv_open-osf.gperf
56         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
57         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
58 iconv_open-solaris.h: iconv_open-solaris.gperf
59         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
60         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
61 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
62 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
63 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
64 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
65
66 Include:
67 <iconv.h>
68
69 Link:
70 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
71
72 License:
73 LGPLv2+
74
75 Maintainer:
76 Bruno Haible