New module 'iconv-h'.
[gnulib.git] / modules / iconv-h
1 Description:
2 A GNU-like <iconv.h>.
3
4 Files:
5 lib/iconv.in.h
6 m4/iconv_h.m4
7
8 Depends-on:
9 include_next
10 arg-nonnull
11
12 configure.ac:
13 gl_ICONV_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(ICONV_H)
17
18 # We need the following in order to create <iconv.h> when the system
19 # doesn't have one that works with the given compiler.
20 iconv.h: iconv.in.h $(ARG_NONNULL_H)
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
26               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
27               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
28               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
29               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
30               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
31               < $(srcdir)/iconv.in.h; \
32         } > $@-t && \
33         mv $@-t $@
34 MOSTLYCLEANFILES += iconv.h iconv.h-t
35
36 Include:
37 <iconv.h>
38
39 License:
40 LGPLv2+
41
42 Maintainer:
43 Bruno Haible