Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/iconv-h @ 14528:662ae53d8d37
Remove leftover generated .h files after config.status changed.
* m4/alloca.m4 (gl_FUNC_ALLOCA): New automake conditional
GL_GENERATE_ALLOCA_H.
* modules/alloca-opt (Makefile.am): Remove alloca.h if
GL_GENERATE_ALLOCA_H evaluates to false.
* m4/argz.m4 (gl_FUNC_ARGZ): New automake conditional
GL_GENERATE_ARGZ_H.
* modules/argz (Makefile.am): Remove argz.h if GL_GENERATE_ARGZ_H
evaluates to false.
* m4/byteswap.m4 (gl_BYTESWAP): New automake conditional
GL_GENERATE_BYTESWAP_H.
* modules/byteswap (Makefile.am): Remove byteswap.h if
GL_GENERATE_BYTESWAP_H evaluates to false.
* m4/errno_h.m4 (gl_HEADER_ERRNO_H): New automake conditional
GL_GENERATE_ERRNO_H.
* modules/errno (Makefile.am): Remove errno.h if GL_GENERATE_ERRNO_H
evaluates to false.
* m4/float_h.m4 (gl_FLOAT_H): New automake conditional
GL_GENERATE_FLOAT_H.
* modules/float (Makefile.am): Remove float.h if GL_GENERATE_FLOAT_H
evaluates to false.
* m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): New automake conditional
GL_GENERATE_FNMATCH_H.
* modules/fnmatch (Makefile.am): Remove fnmatch.h if
GL_GENERATE_FNMATCH_H evaluates to false.
* m4/glob.m4 (gl_GLOB_SUBSTITUTE, gl_GLOB): New automake conditional
GL_GENERATE_GLOB_H.
* modules/glob (Makefile.am): Remove glob.h if GL_GENERATE_GLOB_H
evaluates to false.
* m4/iconv_h.m4 (gl_REPLACE_ICONV_H, gl_ICONV_H_DEFAULTS): New
automake conditional GL_GENERATE_ICONV_H.
* modules/iconv-h (Makefile.am): Remove iconv.h if GL_GENERATE_ICONV_H
evaluates to false.
* m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): New automake conditional
GL_GENERATE_NETINET_IN_H.
* modules/netinet_in (Makefile.am): Remove netinet/in.h if
GL_GENERATE_NETINET_IN_H evaluates to false.
* m4/pthread.m4 (gl_PTHREAD_CHECK): Set PTHREAD_H here. New automake
conditional GL_GENERATE_PTHREAD_H.
(gl_PTHREAD_DEFAULTS): Don't set PTHREAD_H here.
* modules/pthread (Makefile.am): Remove pthread.h if
GL_GENERATE_PTHREAD_H evaluates to false.
* m4/sched_h.m4 (gl_SCHED_H): New automake conditional
GL_GENERATE_SCHED_H.
* modules/sched (Makefile.am): Remove sched.h if GL_GENERATE_SCHED_H
evaluates to false.
* m4/selinux-context-h.m4 (gl_HEADERS_SELINUX_CONTEXT_H): New automake
conditional GL_GENERATE_SELINUX_CONTEXT_H.
* modules/selinux-h (Makefile.am): Remove selinux/context.h if
GL_GENERATE_SELINUX_CONTEXT_H evaluates to false.
* m4/stdarg.m4 (gl_STDARG_H): New automake conditional
GL_GENERATE_STDARG_H.
* modules/stdarg (Makefile.am): Remove stdarg.h if
GL_GENERATE_STDARG_H evaluates to false.
* m4/stdbool.m4 (AM_STDBOOL_H): New automake conditional
GL_GENERATE_STDBOOL_H.
* modules/stdbool (Makefile.am): Remove stdbool.h if
GL_GENERATE_STDBOOL_H evaluates to false.
* m4/stddef_h.m4 (gl_STDDEF_H): Set STDDEF_H here. New automake
conditional GL_GENERATE_STDDEF_H.
(gl_STDDEF_H_DEFAULTS): Don't set STDDEF_H here.
* modules/stddef (Makefile.am): Remove stddef.h if
GL_GENERATE_STDDEF_H evaluates to false.
* m4/stdint.m4 (gl_STDINT_H): New automake conditional
GL_GENERATE_STDINT_H.
* modules/stdint (Makefile.am): Remove stdint.h if
GL_GENERATE_STDINT_H evaluates to false.
* m4/sysexits.m4 (gl_SYSEXITS): New automake conditional
GL_GENERATE_SYSEXITS_H.
* modules/sysexits (Makefile.am): Remove sysexits.h if
GL_GENERATE_SYSEXITS_H evaluates to false.
Reported by Karl Berry and Ralf Wildenhues.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 06 Apr 2011 01:55:16 +0200 |
parents | 049942251f65 |
children | 6758fa38915e 5f709022a256 |
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 | |
12933
c6724931d704
iconv-h: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12915
diff
changeset
|
10 c++defs |
12915 | 11 arg-nonnull |
12933
c6724931d704
iconv-h: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
12915
diff
changeset
|
12 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! */' && \ | |
26 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
27 -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
|
28 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
12915 | 29 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ |
13898
9e1ca99d049e
iconv-h: Fix test-iconv-h-c++ failure on Solaris 11 2010-11.
Bruno Haible <bruno@clisp.org>
parents:
13761
diff
changeset
|
30 -e 's|@''GNULIB_ICONV''@|$(GNULIB_ICONV)|g' \ |
12915 | 31 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ |
32 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ | |
33 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ | |
34 -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
|
35 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
12915 | 36 -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
|
37 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
12915 | 38 < $(srcdir)/iconv.in.h; \ |
39 } > $@-t && \ | |
40 mv $@-t $@ | |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
41 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
42 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
|
43 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
44 endif |
12915 | 45 MOSTLYCLEANFILES += iconv.h iconv.h-t |
46 | |
47 Include: | |
48 <iconv.h> | |
49 | |
50 License: | |
51 LGPLv2+ | |
52 | |
53 Maintainer: | |
54 Bruno Haible |