doc: Mention backtrace functions supported on BSD.
[gnulib.git] / modules / iconv-h
bloba7b68a6790c0c71b5c62efc0e0c9956ce6158443
1 Description:
2 A GNU-like <iconv.h>.
4 Files:
5 lib/iconv.in.h
6 m4/iconv_h.m4
8 Depends-on:
9 gen-header
10 include_next
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
15 configure.ac:
16 gl_ICONV_H
17 gl_ICONV_H_REQUIRE_DEFAULTS
18 gl_CONDITIONAL_HEADER([iconv.h])
19 AC_PROG_MKDIR_P
21 Makefile.am:
22 BUILT_SOURCES += $(ICONV_H)
24 # We need the following in order to create <iconv.h> when the system
25 # doesn't have one that works with the given compiler.
26 if GL_GENERATE_ICONV_H
27 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
28 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
29         $(gl_V_at)$(SED_HEADER_STDOUT) \
30               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
32               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
33               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
34               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
35               -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
36               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
37               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
38               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
39               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
40               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
41               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
42               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
43               $(srcdir)/iconv.in.h > $@-t
44         $(AM_V_at)mv $@-t $@
45 else
46 iconv.h: $(top_builddir)/config.status
47         rm -f $@
48 endif
49 MOSTLYCLEANFILES += iconv.h iconv.h-t
51 Include:
52 #if HAVE_ICONV_H
53 # include <iconv.h>
54 #endif
56 License:
57 LGPLv2+
59 Maintainer:
60 all