Fix problem with getdate on mingw32 reported by Simon Josefsson
[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 m4/iconv_h.m4
12 m4/iconv_open.m4
13
14 Depends-on:
15 gperf
16 include_next
17 iconv
18 c-ctype
19 c-strcase
20
21 configure.ac:
22 gl_ICONV_H
23 gl_FUNC_ICONV_OPEN
24
25 Makefile.am:
26 BUILT_SOURCES += $(ICONV_H)
27
28 # We need the following in order to create <iconv.h> when the system
29 # doesn't have one that works with the given compiler.
30 iconv.h: iconv.in.h
31         rm -f $@-t $@
32         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
33           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
34               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
35               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
36               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
37               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
38               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
39               < $(srcdir)/iconv.in.h; \
40         } > $@-t
41         mv $@-t $@
42 MOSTLYCLEANFILES += iconv.h iconv.h-t
43
44 iconv_open-aix.h: iconv_open-aix.gperf
45         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
46         mv $@-t $@
47 iconv_open-hpux.h: iconv_open-hpux.gperf
48         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
49         mv $@-t $@
50 iconv_open-irix.h: iconv_open-irix.gperf
51         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
52         mv $@-t $@
53 iconv_open-osf.h: iconv_open-osf.gperf
54         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
55         mv $@-t $@
56 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
57 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
58 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
59 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
60
61 Include:
62 <iconv.h>
63
64 License:
65 LGPLv2+
66
67 Maintainer:
68 Bruno Haible