Mercurial > hg > octave-nkf > gnulib-hg
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 |
rev | line source |
---|---|
8603 | 1 Description: |
2 Character set conversion. | |
3 | |
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 | 6 lib/iconv_open.c |
7 lib/iconv_open-aix.gperf | |
8 lib/iconv_open-hpux.gperf | |
9 lib/iconv_open-irix.gperf | |
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 | 12 m4/iconv_h.m4 |
13 m4/iconv_open.m4 | |
14 | |
15 Depends-on: | |
9470 | 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 | 18 iconv |
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 | 21 |
22 configure.ac: | |
23 gl_ICONV_H | |
24 gl_FUNC_ICONV_OPEN | |
25 | |
26 Makefile.am: | |
27 BUILT_SOURCES += $(ICONV_H) | |
28 | |
29 # We need the following in order to create <iconv.h> when the system | |
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 | 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 | 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 | 43 mv $@-t $@ |
44 MOSTLYCLEANFILES += iconv.h iconv.h-t | |
45 | |
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 | 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 | 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 | 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 | 65 |
66 Include: | |
67 <iconv.h> | |
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 | 72 License: |
9131
8812f453e378
Use the synonymous term LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents:
8998
diff
changeset
|
73 LGPLv2+ |
8603 | 74 |
75 Maintainer: | |
76 Bruno Haible |