annotate modules/iconv-h @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 1f14c6dd175d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <iconv.h>.
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/iconv.in.h
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/iconv_h.m4
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 include_next
15415
768296dab89a Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
Bruno Haible <bruno@clisp.org>
parents: 14894
diff changeset
10 snippet/arg-nonnull
15416
10b35faca629 Rename module 'c++defs' to 'snippet/c++defs'.
Bruno Haible <bruno@clisp.org>
parents: 15415
diff changeset
11 snippet/c++defs
15419
d2437ed29d20 Rename module 'warn-on-use' to 'snippet/warn-on-use'.
Bruno Haible <bruno@clisp.org>
parents: 15416
diff changeset
12 snippet/warn-on-use
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_ICONV_H
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Makefile.am:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 BUILT_SOURCES += $(ICONV_H)
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 # We need the following in order to create <iconv.h> when the system
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # doesn't have one that works with the given compiler.
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
22 if GL_GENERATE_ICONV_H
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
23 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 $(AM_V_GEN)rm -f $@-t $@ && \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
14840
5f709022a256 Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
26 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
5f709022a256 Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents: 14528
diff changeset
27 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
13761
a19ace3ba849 Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents: 12933
diff changeset
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
14894
b22360ddefc4 gnulib-tool: Better isolation between different gnulib-tool invocations.
Bruno Haible <bruno@clisp.org>
parents: 14840
diff changeset
31 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
12933
c6724931d704 iconv-h: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12915
diff changeset
36 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
12933
c6724931d704 iconv-h: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12915
diff changeset
38 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 < $(srcdir)/iconv.in.h; \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 } > $@-t && \
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 mv $@-t $@
14528
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
42 else
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
43 iconv.h: $(top_builddir)/config.status
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
44 rm -f $@
662ae53d8d37 Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents: 14527
diff changeset
45 endif
12915
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 MOSTLYCLEANFILES += iconv.h iconv.h-t
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48 Include:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 <iconv.h>
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 License:
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 LGPLv2+
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53
787bfaea0891 New module 'iconv-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
54 Maintainer:
17713
1f14c6dd175d Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents: 15419
diff changeset
55 all