Mercurial > hg > octave-nkf > gnulib-hg
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 |
rev | line source |
---|---|
12915 | 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 | |
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 | 13 |
14 configure.ac: | |
15 gl_ICONV_H | |
16 | |
17 Makefile.am: | |
18 BUILT_SOURCES += $(ICONV_H) | |
19 | |
20 # We need the following in order to create <iconv.h> when the system | |
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 | 24 $(AM_V_GEN)rm -f $@-t $@ && \ |
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 | 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 | 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 | 32 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ |
33 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ | |
34 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ | |
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 | 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 | 39 < $(srcdir)/iconv.in.h; \ |
40 } > $@-t && \ | |
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 | 46 MOSTLYCLEANFILES += iconv.h iconv.h-t |
47 | |
48 Include: | |
49 <iconv.h> | |
50 | |
51 License: | |
52 LGPLv2+ | |
53 | |
54 Maintainer: | |
17713
1f14c6dd175d
Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15419
diff
changeset
|
55 all |