annotate modules/iconv_open @ 11910:32fc3a6c4499

Work around iconv_open problem on Solaris.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Aug 2009 14:29:34 +0200
parents 67c2b22aff08
children f7842310a565
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Character set conversion.
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
9252
d649a05a81e8 Rename iconv_.h to iconv.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9131
diff changeset
5 lib/iconv.in.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/iconv_open.c
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 lib/iconv_open-aix.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 lib/iconv_open-hpux.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 lib/iconv_open-irix.gperf
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 lib/iconv_open-osf.gperf
11910
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
11 lib/iconv_open-solaris.gperf
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 m4/iconv_h.m4
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 m4/iconv_open.m4
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 Depends-on:
9470
4b48f7a470c2 New module 'gperf'.
Bruno Haible <bruno@clisp.org>
parents: 9341
diff changeset
16 gperf
8998
442682a45bcd * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
Paul Eggert <eggert@cs.ucla.edu>
parents: 8825
diff changeset
17 include_next
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 iconv
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 c-ctype
9341
212d6f041290 New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible <bruno@clisp.org>
parents: 9252
diff changeset
20 c-strcase
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 configure.ac:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 gl_ICONV_H
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 gl_FUNC_ICONV_OPEN
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 Makefile.am:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 BUILT_SOURCES += $(ICONV_H)
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 # We need the following in order to create <iconv.h> when the system
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 # doesn't have one that works with the given compiler.
9252
d649a05a81e8 Rename iconv_.h to iconv.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9131
diff changeset
31 iconv.h: iconv.in.h
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11543
diff changeset
32 $(AM_V_GEN)rm -f $@-t $@ && \
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
10375
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 10130
diff changeset
34 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f96e845fc36d Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents: 10130
diff changeset
35 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
8998
442682a45bcd * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
Paul Eggert <eggert@cs.ucla.edu>
parents: 8825
diff changeset
36 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
9341
212d6f041290 New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible <bruno@clisp.org>
parents: 9252
diff changeset
37 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
212d6f041290 New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible <bruno@clisp.org>
parents: 9252
diff changeset
38 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
9341
212d6f041290 New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible <bruno@clisp.org>
parents: 9252
diff changeset
40 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
9252
d649a05a81e8 Rename iconv_.h to iconv.in.h.
Bruno Haible <bruno@clisp.org>
parents: 9131
diff changeset
41 < $(srcdir)/iconv.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11543
diff changeset
42 } > $@-t && \
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 mv $@-t $@
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 MOSTLYCLEANFILES += iconv.h iconv.h-t
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 iconv_open-aix.h: iconv_open-aix.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
47 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
48 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 iconv_open-hpux.h: iconv_open-hpux.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
50 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
51 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 iconv_open-irix.h: iconv_open-irix.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
53 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
54 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 iconv_open-osf.h: iconv_open-osf.gperf
11543
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
56 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
847f612e069f Create gperf-generated files in the source dir, not in the build dir.
Bruno Haible <bruno@clisp.org>
parents: 10375
diff changeset
57 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
11910
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
58 iconv_open-solaris.h: iconv_open-solaris.gperf
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
59 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
60 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
61 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
62 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
63 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
32fc3a6c4499 Work around iconv_open problem on Solaris.
Bruno Haible <bruno@clisp.org>
parents: 11868
diff changeset
64 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
65
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
66 Include:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
67 <iconv.h>
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
68
10130
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
69 Link:
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
70 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
7581db129a32 Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents: 9470
diff changeset
71
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
72 License:
9131
8812f453e378 Use the synonymous term LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents: 8998
diff changeset
73 LGPLv2+
8603
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
74
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
75 Maintainer:
4aea800039c0 New module 'iconv_open'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
76 Bruno Haible