jasonfan commited on
Commit
fa85b49
·
verified ·
1 Parent(s): bdd1071

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. miniconda3/share/doc/gettext/autopoint.1.html +148 -0
  2. miniconda3/share/doc/gettext/bind_textdomain_codeset.3.html +158 -0
  3. miniconda3/share/doc/gettext/bindtextdomain.3.html +154 -0
  4. miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
  5. miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
  6. miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
  7. miniconda3/share/doc/gettext/csharpdoc/begin.html +11 -0
  8. miniconda3/share/doc/gettext/csharpdoc/index.html +10 -0
  9. miniconda3/share/doc/gettext/csharpdoc/namespaces.html +6 -0
  10. miniconda3/share/doc/gettext/envsubst.1.html +142 -0
  11. miniconda3/share/doc/gettext/examples/README +115 -0
  12. miniconda3/share/doc/gettext/examples/build-aux/csharp.m4 +34 -0
  13. miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.m4 +93 -0
  14. miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.sh.in +247 -0
  15. miniconda3/share/doc/gettext/examples/build-aux/csharpexec-test.exe +0 -0
  16. miniconda3/share/doc/gettext/examples/build-aux/csharpexec.m4 +88 -0
  17. miniconda3/share/doc/gettext/examples/build-aux/csharpexec.sh.in +213 -0
  18. miniconda3/share/doc/gettext/examples/build-aux/dcomp.m4 +52 -0
  19. miniconda3/share/doc/gettext/examples/build-aux/dcomp.sh.in +139 -0
  20. miniconda3/share/doc/gettext/examples/build-aux/gocomp.m4 +127 -0
  21. miniconda3/share/doc/gettext/examples/build-aux/gocomp.sh.in +32 -0
  22. miniconda3/share/doc/gettext/examples/build-aux/javacomp.m4 +495 -0
  23. miniconda3/share/doc/gettext/examples/build-aux/javacomp.sh.in +54 -0
  24. miniconda3/share/doc/gettext/examples/build-aux/javaexec.m4 +93 -0
  25. miniconda3/share/doc/gettext/examples/build-aux/javaexec.sh.in +58 -0
  26. miniconda3/share/doc/gettext/examples/build-aux/modula2comp.m4 +34 -0
  27. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/INSTALL +19 -0
  28. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/Makefile.am +29 -0
  29. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autoclean.sh +43 -0
  30. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autogen.sh +29 -0
  31. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/configure.ac +24 -0
  32. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/hello.cc +92 -0
  33. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/Makefile.am +6 -0
  34. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-gnorba-check.m4 +35 -0
  35. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-orbit-check.m4 +33 -0
  36. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome.m4 +128 -0
  37. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk--.m4 +195 -0
  38. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk.m4 +194 -0
  39. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/LINGUAS +5 -0
  40. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/Makevars +95 -0
  41. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/POTFILES.in +5 -0
  42. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/af.po +26 -0
  43. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ast.po +29 -0
  44. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/bg.po +26 -0
  45. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ca.po +27 -0
  46. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/cs.po +29 -0
  47. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/da.po +28 -0
  48. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/de.po +32 -0
  49. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/el.po +26 -0
  50. miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/eo.po +28 -0
miniconda3/share/doc/gettext/autopoint.1.html ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>AUTOPOINT</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">AUTOPOINT</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#OPTIONS">OPTIONS</a><br>
26
+ <a href="#AUTHOR">AUTHOR</a><br>
27
+ <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
28
+ <a href="#COPYRIGHT">COPYRIGHT</a><br>
29
+ <a href="#SEE ALSO">SEE ALSO</a><br>
30
+
31
+ <hr>
32
+
33
+
34
+ <h2>NAME
35
+ <a name="NAME"></a>
36
+ </h2>
37
+
38
+
39
+ <p style="margin-left:11%; margin-top: 1em">autopoint
40
+ - copies standard gettext infrastructure</p>
41
+
42
+ <h2>SYNOPSIS
43
+ <a name="SYNOPSIS"></a>
44
+ </h2>
45
+
46
+
47
+
48
+ <p style="margin-left:11%; margin-top: 1em"><b>autopoint</b>
49
+ [<i>OPTION</i>]...</p>
50
+
51
+ <h2>DESCRIPTION
52
+ <a name="DESCRIPTION"></a>
53
+ </h2>
54
+
55
+
56
+ <p style="margin-left:11%; margin-top: 1em">Copies standard
57
+ gettext infrastructure files into a source package.</p>
58
+
59
+ <h2>OPTIONS
60
+ <a name="OPTIONS"></a>
61
+ </h2>
62
+
63
+
64
+ <table width="100%" border="0" rules="none" frame="void"
65
+ cellspacing="0" cellpadding="0">
66
+ <tr valign="top" align="left">
67
+ <td width="11%"></td>
68
+ <td width="9%">
69
+
70
+
71
+ <p style="margin-top: 1em"><b>--help</b></p></td>
72
+ <td width="2%"></td>
73
+ <td width="36%">
74
+
75
+
76
+ <p style="margin-top: 1em">print this help and exit</p></td>
77
+ <td width="42%">
78
+ </td></tr>
79
+ </table>
80
+
81
+
82
+ <p style="margin-left:11%;"><b>--version</b></p>
83
+
84
+ <p style="margin-left:22%;">print version information and
85
+ exit</p>
86
+
87
+ <p style="margin-left:11%;"><b>-f</b>,
88
+ <b>--force</b></p>
89
+
90
+ <p style="margin-left:22%;">force overwriting of files that
91
+ already exist</p>
92
+
93
+ <p style="margin-left:11%;"><b>-n</b>,
94
+ <b>--dry-run</b></p>
95
+
96
+ <p style="margin-left:22%;">print modifications but
97
+ don&rsquo;t perform them</p>
98
+
99
+ <h2>AUTHOR
100
+ <a name="AUTHOR"></a>
101
+ </h2>
102
+
103
+
104
+ <p style="margin-left:11%; margin-top: 1em">Written by
105
+ Bruno Haible</p>
106
+
107
+ <h2>REPORTING BUGS
108
+ <a name="REPORTING BUGS"></a>
109
+ </h2>
110
+
111
+
112
+ <p style="margin-left:11%; margin-top: 1em">Report bugs in
113
+ the bug tracker at
114
+ &lt;https://savannah.gnu.org/projects/gettext&gt; or by
115
+ email to &lt;bug-gettext@gnu.org&gt;.</p>
116
+
117
+ <h2>COPYRIGHT
118
+ <a name="COPYRIGHT"></a>
119
+ </h2>
120
+
121
+
122
+ <p style="margin-left:11%; margin-top: 1em">Copyright
123
+ &copy; 2002-2025 Free Software Foundation, Inc.
124
+ License GPLv3+: GNU GPL version 3 or later
125
+ &lt;https://gnu.org/licenses/gpl.html&gt; <br>
126
+ This is free software: you are free to change and
127
+ redistribute it. There is NO WARRANTY, to the extent
128
+ permitted by law.</p>
129
+
130
+ <h2>SEE ALSO
131
+ <a name="SEE ALSO"></a>
132
+ </h2>
133
+
134
+
135
+ <p style="margin-left:11%; margin-top: 1em">The full
136
+ documentation for <b>autopoint</b> is maintained as a
137
+ Texinfo manual. If the <b>info</b> and <b>autopoint</b>
138
+ programs are properly installed at your site, the
139
+ command</p>
140
+
141
+ <p style="margin-left:22%; margin-top: 1em"><b>info
142
+ autopoint</b></p>
143
+
144
+ <p style="margin-left:11%; margin-top: 1em">should give you
145
+ access to the complete manual.</p>
146
+ <hr>
147
+ </body>
148
+ </html>
miniconda3/share/doc/gettext/bind_textdomain_codeset.3.html ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>BIND_TEXTDOMAIN_CODESET</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">BIND_TEXTDOMAIN_CODESET</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#RETURN VALUE">RETURN VALUE</a><br>
26
+ <a href="#ERRORS">ERRORS</a><br>
27
+ <a href="#BUGS">BUGS</a><br>
28
+ <a href="#SEE ALSO">SEE ALSO</a><br>
29
+
30
+ <hr>
31
+
32
+
33
+ <h2>NAME
34
+ <a name="NAME"></a>
35
+ </h2>
36
+
37
+
38
+
39
+ <p style="margin-left:11%; margin-top: 1em">bind_textdomain_codeset
40
+ - set encoding of message translations</p>
41
+
42
+ <h2>SYNOPSIS
43
+ <a name="SYNOPSIS"></a>
44
+ </h2>
45
+
46
+
47
+ <p style="margin-left:11%; margin-top: 1em"><b>#include
48
+ &lt;libintl.h&gt;</b></p>
49
+
50
+ <p style="margin-left:11%; margin-top: 1em"><b>char *
51
+ bind_textdomain_codeset (const char *</b>
52
+ <i>domainname</i><b>, <br>
53
+ const char *</b> <i>codeset</i><b>);</b></p>
54
+
55
+ <h2>DESCRIPTION
56
+ <a name="DESCRIPTION"></a>
57
+ </h2>
58
+
59
+
60
+ <p style="margin-left:11%; margin-top: 1em">The
61
+ <b>bind_textdomain_codeset</b> function sets the output
62
+ codeset for message catalogs for domain
63
+ <i>domainname</i>.</p>
64
+
65
+ <p style="margin-left:11%; margin-top: 1em">A message
66
+ domain is a set of translatable <i>msgid</i> messages.
67
+ Usually, every software package has its own message
68
+ domain.</p>
69
+
70
+ <p style="margin-left:11%; margin-top: 1em">By default, the
71
+ <b>gettext</b> family of functions returns translated
72
+ messages in the locale&rsquo;s character encoding, which can
73
+ be retrieved as <b>nl_langinfo (CODESET)</b>. The need for
74
+ calling <b>bind_textdomain_codeset</b> arises for programs
75
+ which store strings in a locale independent way (e.g. UTF-8)
76
+ and want to avoid an extra character set conversion on the
77
+ returned translated messages.</p>
78
+
79
+
80
+ <p style="margin-left:11%; margin-top: 1em"><i>domainname</i>
81
+ must be a non-empty string.</p>
82
+
83
+ <p style="margin-left:11%; margin-top: 1em">If
84
+ <i>codeset</i> is not NULL, it must be a valid encoding name
85
+ which can be used for the <b>iconv_open</b> function. The
86
+ <b>bind_textdomain_codeset</b> function sets the output
87
+ codeset for message catalogs belonging to domain
88
+ <i>domainname</i> to <i>codeset</i>. The function makes
89
+ copies of the argument strings as needed.</p>
90
+
91
+ <p style="margin-left:11%; margin-top: 1em">If
92
+ <i>codeset</i> is NULL, the function returns the previously
93
+ set codeset for domain <i>domainname</i>. The default is
94
+ NULL, denoting the locale&rsquo;s character encoding.</p>
95
+
96
+ <h2>RETURN VALUE
97
+ <a name="RETURN VALUE"></a>
98
+ </h2>
99
+
100
+
101
+ <p style="margin-left:11%; margin-top: 1em">If successful,
102
+ the <b>bind_textdomain_codeset</b> function returns the
103
+ current codeset for domain <i>domainname</i>, after possibly
104
+ changing it. The resulting string is valid until the next
105
+ <b>bind_textdomain_codeset</b> call for the same
106
+ <i>domainname</i> and must not be modified or freed. If a
107
+ memory allocation failure occurs, it sets <b>errno</b> to
108
+ <b>ENOMEM</b> and returns NULL. If no codeset has been set
109
+ for domain <i>domainname</i>, it returns NULL.</p>
110
+
111
+ <h2>ERRORS
112
+ <a name="ERRORS"></a>
113
+ </h2>
114
+
115
+
116
+ <p style="margin-left:11%; margin-top: 1em">The following
117
+ error can occur, among others:</p>
118
+
119
+ <table width="100%" border="0" rules="none" frame="void"
120
+ cellspacing="0" cellpadding="0">
121
+ <tr valign="top" align="left">
122
+ <td width="11%"></td>
123
+ <td width="9%">
124
+
125
+
126
+ <p><b>ENOMEM</b></p></td>
127
+ <td width="2%"></td>
128
+ <td width="43%">
129
+
130
+
131
+ <p>Not enough memory available.</p></td>
132
+ <td width="35%">
133
+ </td></tr>
134
+ </table>
135
+
136
+ <h2>BUGS
137
+ <a name="BUGS"></a>
138
+ </h2>
139
+
140
+
141
+ <p style="margin-left:11%; margin-top: 1em">The return type
142
+ ought to be <b>const char *</b>, but is <b>char *</b> to
143
+ avoid warnings in C code predating ANSI C.</p>
144
+
145
+ <h2>SEE ALSO
146
+ <a name="SEE ALSO"></a>
147
+ </h2>
148
+
149
+
150
+
151
+ <p style="margin-left:11%; margin-top: 1em"><b>gettext</b>(3),
152
+ <b>dgettext</b>(3), <b>dcgettext</b>(3), <b>ngettext</b>(3),
153
+ <b>dngettext</b>(3), <b>dcngettext</b>(3),
154
+ <b>textdomain</b>(3), <b>nl_langinfo</b>(3),
155
+ <b>iconv_open</b>(3)</p>
156
+ <hr>
157
+ </body>
158
+ </html>
miniconda3/share/doc/gettext/bindtextdomain.3.html ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>BINDTEXTDOMAIN</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">BINDTEXTDOMAIN</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#RETURN VALUE">RETURN VALUE</a><br>
26
+ <a href="#ERRORS">ERRORS</a><br>
27
+ <a href="#BUGS">BUGS</a><br>
28
+ <a href="#SEE ALSO">SEE ALSO</a><br>
29
+
30
+ <hr>
31
+
32
+
33
+ <h2>NAME
34
+ <a name="NAME"></a>
35
+ </h2>
36
+
37
+
38
+ <p style="margin-left:11%; margin-top: 1em">bindtextdomain
39
+ - set directory containing message catalogs</p>
40
+
41
+ <h2>SYNOPSIS
42
+ <a name="SYNOPSIS"></a>
43
+ </h2>
44
+
45
+
46
+ <p style="margin-left:11%; margin-top: 1em"><b>#include
47
+ &lt;libintl.h&gt;</b></p>
48
+
49
+ <p style="margin-left:11%; margin-top: 1em"><b>char *
50
+ bindtextdomain (const char *</b> <i>domainname</i><b>, const
51
+ char *</b> <i>dirname</i><b>);</b></p>
52
+
53
+ <h2>DESCRIPTION
54
+ <a name="DESCRIPTION"></a>
55
+ </h2>
56
+
57
+
58
+ <p style="margin-left:11%; margin-top: 1em">The
59
+ <b>bindtextdomain</b> function sets the base directory of
60
+ the hierarchy containing message catalogs for a given
61
+ message domain.</p>
62
+
63
+ <p style="margin-left:11%; margin-top: 1em">A message
64
+ domain is a set of translatable <i>msgid</i> messages.
65
+ Usually, every software package has its own message domain.
66
+ The need for calling <b>bindtextdomain</b> arises because
67
+ packages are not always installed with the same prefix as
68
+ the &lt;libintl.h&gt; header and the libc/libintl
69
+ libraries.</p>
70
+
71
+ <p style="margin-left:11%; margin-top: 1em">Message
72
+ catalogs will be expected at the pathnames
73
+ <i>dirname</i>/<i>locale</i>/<i>category</i>/<i>domainname</i>.mo,
74
+ where <i>locale</i> is a locale name and <i>category</i> is
75
+ a locale facet such as <b>LC_MESSAGES</b>.</p>
76
+
77
+
78
+ <p style="margin-left:11%; margin-top: 1em"><i>domainname</i>
79
+ must be a non-empty string.</p>
80
+
81
+ <p style="margin-left:11%; margin-top: 1em">If
82
+ <i>dirname</i> is not NULL, the base directory for message
83
+ catalogs belonging to domain <i>domainname</i> is set to
84
+ <i>dirname</i>. The function makes copies of the argument
85
+ strings as needed. If the program wishes to call the
86
+ <b>chdir</b> function, it is important that <i>dirname</i>
87
+ be an absolute pathname; otherwise it cannot be guaranteed
88
+ that the message catalogs will be found.</p>
89
+
90
+ <p style="margin-left:11%; margin-top: 1em">If
91
+ <i>dirname</i> is NULL, the function returns the previously
92
+ set base directory for domain <i>domainname</i>.</p>
93
+
94
+ <h2>RETURN VALUE
95
+ <a name="RETURN VALUE"></a>
96
+ </h2>
97
+
98
+
99
+ <p style="margin-left:11%; margin-top: 1em">If successful,
100
+ the <b>bindtextdomain</b> function returns the current base
101
+ directory for domain <i>domainname</i>, after possibly
102
+ changing it. The resulting string is valid until the next
103
+ <b>bindtextdomain</b> call for the same <i>domainname</i>
104
+ and must not be modified or freed. If a memory allocation
105
+ failure occurs, it sets <b>errno</b> to <b>ENOMEM</b> and
106
+ returns NULL.</p>
107
+
108
+ <h2>ERRORS
109
+ <a name="ERRORS"></a>
110
+ </h2>
111
+
112
+
113
+ <p style="margin-left:11%; margin-top: 1em">The following
114
+ error can occur, among others:</p>
115
+
116
+ <table width="100%" border="0" rules="none" frame="void"
117
+ cellspacing="0" cellpadding="0">
118
+ <tr valign="top" align="left">
119
+ <td width="11%"></td>
120
+ <td width="9%">
121
+
122
+
123
+ <p><b>ENOMEM</b></p></td>
124
+ <td width="2%"></td>
125
+ <td width="43%">
126
+
127
+
128
+ <p>Not enough memory available.</p></td>
129
+ <td width="35%">
130
+ </td></tr>
131
+ </table>
132
+
133
+ <h2>BUGS
134
+ <a name="BUGS"></a>
135
+ </h2>
136
+
137
+
138
+ <p style="margin-left:11%; margin-top: 1em">The return type
139
+ ought to be <b>const char *</b>, but is <b>char *</b> to
140
+ avoid warnings in C code predating ANSI C.</p>
141
+
142
+ <h2>SEE ALSO
143
+ <a name="SEE ALSO"></a>
144
+ </h2>
145
+
146
+
147
+
148
+ <p style="margin-left:11%; margin-top: 1em"><b>gettext</b>(3),
149
+ <b>dgettext</b>(3), <b>dcgettext</b>(3), <b>ngettext</b>(3),
150
+ <b>dngettext</b>(3), <b>dcngettext</b>(3),
151
+ <b>textdomain</b>(3), <b>realpath</b>(3)</p>
152
+ <hr>
153
+ </body>
154
+ </html>
miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext.html ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <BODY BGCOLOR="#FFFFFF">
3
+ <I>GNU.Gettext Namespace</I><P>
4
+
5
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GettextResourceManager</A><BR>
6
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GettextResourceSet</A><BR>
7
+ </BODY>
8
+ </HTML>
miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <HEAD>
3
+ <TITLE>GNU.Gettext.GettextResourceManager Class</TITLE>
4
+ </HEAD>
5
+ <BODY BGCOLOR="#FFFFFF">
6
+ <H3>GNU.Gettext.GettextResourceManager Class</H3>
7
+
8
+ <BLOCKQUOTE>
9
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
10
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public class GettextResourceManager: System.Resources.ResourceManager</PRE></TD></TR>
11
+ </TABLE>
12
+ </BLOCKQUOTE>
13
+
14
+ <H4>Base Types</H4>
15
+
16
+ <BLOCKQUOTE>
17
+ System.Resources.ResourceManager<BR>
18
+ &nbsp;&nbsp;GettextResourceManager<P>
19
+
20
+ </BLOCKQUOTE>
21
+
22
+ <H4>Library</H4>
23
+
24
+ <BLOCKQUOTE>
25
+ GNU.Gettext
26
+ </BLOCKQUOTE>
27
+
28
+ <H4>Summary</H4>
29
+
30
+ <BLOCKQUOTE>
31
+
32
+ Each instance of this class can be used to lookup translations for a
33
+ given resource name. For each <CODE>CultureInfo</CODE>, it performs the lookup
34
+ in several assemblies, from most specific over territory-neutral to
35
+ language-neutral.
36
+ </BLOCKQUOTE>
37
+
38
+ <H4>See Also</H4>
39
+
40
+ <BLOCKQUOTE>
41
+ <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
42
+ </BLOCKQUOTE>
43
+
44
+ <H4>Members</H4>
45
+
46
+ <BLOCKQUOTE>
47
+ <P>
48
+
49
+ GettextResourceManager Constructors<P>
50
+
51
+ <A HREF="#GettextResourceManager%28System.String%29%20Constructor" TARGET="contents">GettextResourceManager(System.String) Constructor</A><BR>
52
+ <A HREF="#GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor" TARGET="contents">GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</A><BR>
53
+ <P>
54
+
55
+ GettextResourceManager Methods<P>
56
+
57
+ <A HREF="#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method" TARGET="contents">GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method</A><BR>
58
+ <A HREF="#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method" TARGET="contents">GettextResourceManager.GetPluralString(System.String, System.String, long) Method</A><BR>
59
+ <A HREF="#GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method" TARGET="contents">GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method</A><BR>
60
+ <A HREF="#GettextResourceManager.GetString%28System.String%29%20Method" TARGET="contents">GettextResourceManager.GetString(System.String) Method</A><BR>
61
+ </BLOCKQUOTE>
62
+
63
+ <HR>
64
+
65
+ <A NAME="GettextResourceManager%28System.String%29%20Constructor"><H3>GettextResourceManager(System.String) Constructor</H3>
66
+
67
+ <BLOCKQUOTE>
68
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
69
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName);</PRE></TD></TR>
70
+ </TABLE>
71
+ </BLOCKQUOTE>
72
+
73
+ <H4>Summary</H4>
74
+
75
+ <BLOCKQUOTE>
76
+
77
+ Constructor.
78
+ </BLOCKQUOTE>
79
+
80
+ <H4>Parameters</H4>
81
+
82
+ <BLOCKQUOTE>
83
+ <DL>
84
+ <DT>baseName</DT>
85
+ <DD>the resource name, also the assembly base
86
+ name</DD>
87
+ </DL>
88
+ </BLOCKQUOTE>
89
+
90
+ <H4>See Also</H4>
91
+
92
+ <BLOCKQUOTE>
93
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
94
+ </BLOCKQUOTE>
95
+
96
+ <HR>
97
+
98
+ <A NAME="GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor"><H3>GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</H3>
99
+
100
+ <BLOCKQUOTE>
101
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
102
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName, System.Reflection.Assembly assembly);</PRE></TD></TR>
103
+ </TABLE>
104
+ </BLOCKQUOTE>
105
+
106
+ <H4>Summary</H4>
107
+
108
+ <BLOCKQUOTE>
109
+
110
+ Constructor.
111
+ </BLOCKQUOTE>
112
+
113
+ <H4>Parameters</H4>
114
+
115
+ <BLOCKQUOTE>
116
+ <DL>
117
+ <DT>baseName</DT>
118
+ <DD>the resource name, also the assembly base
119
+ name</DD>
120
+ </DL>
121
+ </BLOCKQUOTE>
122
+
123
+ <H4>See Also</H4>
124
+
125
+ <BLOCKQUOTE>
126
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
127
+ </BLOCKQUOTE>
128
+
129
+ <HR>
130
+
131
+ <A NAME="GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method</H3>
132
+
133
+ <BLOCKQUOTE>
134
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
135
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n, System.Globalization.CultureInfo culture);</PRE></TD></TR>
136
+ </TABLE>
137
+ </BLOCKQUOTE>
138
+
139
+ <H4>Summary</H4>
140
+
141
+ <BLOCKQUOTE>
142
+
143
+ Returns the translation of <I>msgid</I> and
144
+ <I>msgidPlural</I> in a given culture, choosing the right
145
+ plural form depending on the number <I>n</I>.
146
+ </BLOCKQUOTE>
147
+
148
+ <H4>Parameters</H4>
149
+
150
+ <BLOCKQUOTE>
151
+ <DL>
152
+ <DT>msgid</DT>
153
+ <DD>the key string to be translated, an ASCII
154
+ string</DD>
155
+ <DT>msgidPlural</DT>
156
+ <DD>the English plural of <I>msgid</I>,
157
+ an ASCII string</DD>
158
+ <DT>n</DT>
159
+ <DD>the number, should be &gt;= 0</DD>
160
+ </DL>
161
+ </BLOCKQUOTE>
162
+
163
+ <H4>Return Value</H4>
164
+
165
+ <BLOCKQUOTE>
166
+ the translation, or <I>msgid</I> or
167
+ <I>msgidPlural</I> if none is found
168
+ </BLOCKQUOTE>
169
+
170
+ <H4>See Also</H4>
171
+
172
+ <BLOCKQUOTE>
173
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
174
+ </BLOCKQUOTE>
175
+
176
+ <HR>
177
+
178
+ <A NAME="GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long) Method</H3>
179
+
180
+ <BLOCKQUOTE>
181
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
182
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);</PRE></TD></TR>
183
+ </TABLE>
184
+ </BLOCKQUOTE>
185
+
186
+ <H4>Summary</H4>
187
+
188
+ <BLOCKQUOTE>
189
+
190
+ Returns the translation of <I>msgid</I> and
191
+ <I>msgidPlural</I> in the current culture, choosing the
192
+ right plural form depending on the number <I>n</I>.
193
+ </BLOCKQUOTE>
194
+
195
+ <H4>Parameters</H4>
196
+
197
+ <BLOCKQUOTE>
198
+ <DL>
199
+ <DT>msgid</DT>
200
+ <DD>the key string to be translated, an ASCII
201
+ string</DD>
202
+ <DT>msgidPlural</DT>
203
+ <DD>the English plural of <I>msgid</I>,
204
+ an ASCII string</DD>
205
+ <DT>n</DT>
206
+ <DD>the number, should be &gt;= 0</DD>
207
+ </DL>
208
+ </BLOCKQUOTE>
209
+
210
+ <H4>Return Value</H4>
211
+
212
+ <BLOCKQUOTE>
213
+ the translation, or <I>msgid</I> or
214
+ <I>msgidPlural</I> if none is found
215
+ </BLOCKQUOTE>
216
+
217
+ <H4>See Also</H4>
218
+
219
+ <BLOCKQUOTE>
220
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
221
+ </BLOCKQUOTE>
222
+
223
+ <HR>
224
+
225
+ <A NAME="GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method</H3>
226
+
227
+ <BLOCKQUOTE>
228
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
229
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid, System.Globalization.CultureInfo culture);</PRE></TD></TR>
230
+ </TABLE>
231
+ </BLOCKQUOTE>
232
+
233
+ <H4>Summary</H4>
234
+
235
+ <BLOCKQUOTE>
236
+
237
+ Returns the translation of <I>msgid</I> in a given culture.
238
+ </BLOCKQUOTE>
239
+
240
+ <H4>Parameters</H4>
241
+
242
+ <BLOCKQUOTE>
243
+ <DL>
244
+ <DT>msgid</DT>
245
+ <DD>the key string to be translated, an ASCII
246
+ string</DD>
247
+ </DL>
248
+ </BLOCKQUOTE>
249
+
250
+ <H4>Return Value</H4>
251
+
252
+ <BLOCKQUOTE>
253
+ the translation of <I>msgid</I>, or
254
+ <I>msgid</I> if none is found
255
+ </BLOCKQUOTE>
256
+
257
+ <H4>See Also</H4>
258
+
259
+ <BLOCKQUOTE>
260
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
261
+ </BLOCKQUOTE>
262
+
263
+ <HR>
264
+
265
+ <A NAME="GettextResourceManager.GetString%28System.String%29%20Method"><H3>GettextResourceManager.GetString(System.String) Method</H3>
266
+
267
+ <BLOCKQUOTE>
268
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
269
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid);</PRE></TD></TR>
270
+ </TABLE>
271
+ </BLOCKQUOTE>
272
+
273
+ <H4>Summary</H4>
274
+
275
+ <BLOCKQUOTE>
276
+
277
+ Returns the translation of <I>msgid</I> in the current
278
+ culture.
279
+ </BLOCKQUOTE>
280
+
281
+ <H4>Parameters</H4>
282
+
283
+ <BLOCKQUOTE>
284
+ <DL>
285
+ <DT>msgid</DT>
286
+ <DD>the key string to be translated, an ASCII
287
+ string</DD>
288
+ </DL>
289
+ </BLOCKQUOTE>
290
+
291
+ <H4>Return Value</H4>
292
+
293
+ <BLOCKQUOTE>
294
+ the translation of <I>msgid</I>, or
295
+ <I>msgid</I> if none is found
296
+ </BLOCKQUOTE>
297
+
298
+ <H4>See Also</H4>
299
+
300
+ <BLOCKQUOTE>
301
+ <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
302
+ </BLOCKQUOTE>
303
+
304
+ </BODY>
305
+ </HTML>
miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <HEAD>
3
+ <TITLE>GNU.Gettext.GettextResourceSet Class</TITLE>
4
+ </HEAD>
5
+ <BODY BGCOLOR="#FFFFFF">
6
+ <H3>GNU.Gettext.GettextResourceSet Class</H3>
7
+
8
+ <BLOCKQUOTE>
9
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
10
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public class GettextResourceSet: System.Resources.ResourceSet</PRE></TD></TR>
11
+ </TABLE>
12
+ </BLOCKQUOTE>
13
+
14
+ <H4>Base Types</H4>
15
+
16
+ <BLOCKQUOTE>
17
+ System.Resources.ResourceSet<BR>
18
+ &nbsp;&nbsp;GettextResourceSet<P>
19
+
20
+ </BLOCKQUOTE>
21
+
22
+ <H4>Library</H4>
23
+
24
+ <BLOCKQUOTE>
25
+ GNU.Gettext
26
+ </BLOCKQUOTE>
27
+
28
+ <H4>Summary</H4>
29
+
30
+ <BLOCKQUOTE>
31
+
32
+ Each instance of this class encapsulates a single PO file.
33
+ <P>
34
+
35
+
36
+ This API of this class is not meant to be used directly; use
37
+ <CODE>GettextResourceManager</CODE> instead.
38
+ <P>
39
+
40
+ </BLOCKQUOTE>
41
+
42
+ <H4>See Also</H4>
43
+
44
+ <BLOCKQUOTE>
45
+ <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
46
+ </BLOCKQUOTE>
47
+
48
+ <H4>Members</H4>
49
+
50
+ <BLOCKQUOTE>
51
+ <P>
52
+
53
+ GettextResourceSet Constructors<P>
54
+
55
+ <A HREF="#GettextResourceSet%28%29%20Constructor" TARGET="contents">GettextResourceSet() Constructor</A><BR>
56
+ <A HREF="#GettextResourceSet%28System.Resources.IResourceReader%29%20Constructor" TARGET="contents">GettextResourceSet(System.Resources.IResourceReader) Constructor</A><BR>
57
+ <A HREF="#GettextResourceSet%28System.IO.Stream%29%20Constructor" TARGET="contents">GettextResourceSet(System.IO.Stream) Constructor</A><BR>
58
+ <A HREF="#GettextResourceSet%28System.String%29%20Constructor" TARGET="contents">GettextResourceSet(System.String) Constructor</A><BR>
59
+ <P>
60
+
61
+ GettextResourceSet Methods<P>
62
+
63
+ <A HREF="#GettextResourceSet.GetPluralString%20Method" TARGET="contents">GettextResourceSet.GetPluralString Method</A><BR>
64
+ <A HREF="#GettextResourceSet.GetString%28System.String%29%20Method" TARGET="contents">GettextResourceSet.GetString(System.String) Method</A><BR>
65
+ <A HREF="#GettextResourceSet.GetString%28System.String%2C%20bool%29%20Method" TARGET="contents">GettextResourceSet.GetString(System.String, bool) Method</A><BR>
66
+ <A HREF="#GettextResourceSet.PluralEval%20Method" TARGET="contents">GettextResourceSet.PluralEval Method</A><BR>
67
+ <P>
68
+
69
+ GettextResourceSet Properties<P>
70
+
71
+ <A HREF="#GettextResourceSet.Keys%20Property" TARGET="contents">GettextResourceSet.Keys Property</A><BR>
72
+ </BLOCKQUOTE>
73
+
74
+ <HR>
75
+
76
+ <A NAME="GettextResourceSet%28%29%20Constructor"><H3>GettextResourceSet() Constructor</H3>
77
+
78
+ <BLOCKQUOTE>
79
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
80
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>protected GettextResourceSet();</PRE></TD></TR>
81
+ </TABLE>
82
+ </BLOCKQUOTE>
83
+
84
+ <H4>Summary</H4>
85
+
86
+ <BLOCKQUOTE>
87
+
88
+ Creates a new message catalog. When using this constructor, you
89
+ must override the <CODE>ReadResources</CODE> method, in order to initialize
90
+ the <CODE>Table</CODE> property. The message catalog will support plural
91
+ forms only if the <CODE>ReadResources</CODE> method installs values of type
92
+ <CODE>String[]</CODE> and if the <CODE>PluralEval</CODE> method is overridden.
93
+ </BLOCKQUOTE>
94
+
95
+ <H4>See Also</H4>
96
+
97
+ <BLOCKQUOTE>
98
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
99
+ </BLOCKQUOTE>
100
+
101
+ <HR>
102
+
103
+ <A NAME="GettextResourceSet%28System.Resources.IResourceReader%29%20Constructor"><H3>GettextResourceSet(System.Resources.IResourceReader) Constructor</H3>
104
+
105
+ <BLOCKQUOTE>
106
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
107
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceSet(System.Resources.IResourceReader reader);</PRE></TD></TR>
108
+ </TABLE>
109
+ </BLOCKQUOTE>
110
+
111
+ <H4>Summary</H4>
112
+
113
+ <BLOCKQUOTE>
114
+
115
+ Creates a new message catalog, by reading the string/value pairs from
116
+ the given <I>reader</I>. The message catalog will support
117
+ plural forms only if the reader can produce values of type
118
+ <CODE>String[]</CODE> and if the <CODE>PluralEval</CODE> method is overridden.
119
+ </BLOCKQUOTE>
120
+
121
+ <H4>See Also</H4>
122
+
123
+ <BLOCKQUOTE>
124
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
125
+ </BLOCKQUOTE>
126
+
127
+ <HR>
128
+
129
+ <A NAME="GettextResourceSet%28System.IO.Stream%29%20Constructor"><H3>GettextResourceSet(System.IO.Stream) Constructor</H3>
130
+
131
+ <BLOCKQUOTE>
132
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
133
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceSet(System.IO.Stream stream);</PRE></TD></TR>
134
+ </TABLE>
135
+ </BLOCKQUOTE>
136
+
137
+ <H4>Summary</H4>
138
+
139
+ <BLOCKQUOTE>
140
+
141
+ Creates a new message catalog, by reading the string/value pairs from
142
+ the given <I>stream</I>, which should have the format of
143
+ a <CODE>.resources</CODE> file. The message catalog will not support plural
144
+ forms.
145
+ </BLOCKQUOTE>
146
+
147
+ <H4>See Also</H4>
148
+
149
+ <BLOCKQUOTE>
150
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
151
+ </BLOCKQUOTE>
152
+
153
+ <HR>
154
+
155
+ <A NAME="GettextResourceSet%28System.String%29%20Constructor"><H3>GettextResourceSet(System.String) Constructor</H3>
156
+
157
+ <BLOCKQUOTE>
158
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
159
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceSet(System.String fileName);</PRE></TD></TR>
160
+ </TABLE>
161
+ </BLOCKQUOTE>
162
+
163
+ <H4>Summary</H4>
164
+
165
+ <BLOCKQUOTE>
166
+
167
+ Creates a new message catalog, by reading the string/value pairs from
168
+ the file with the given <I>fileName</I>. The file should
169
+ be in the format of a <CODE>.resources</CODE> file. The message catalog will
170
+ not support plural forms.
171
+ </BLOCKQUOTE>
172
+
173
+ <H4>See Also</H4>
174
+
175
+ <BLOCKQUOTE>
176
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
177
+ </BLOCKQUOTE>
178
+
179
+ <HR>
180
+
181
+ <A NAME="GettextResourceSet.GetPluralString%20Method"><H3>GettextResourceSet.GetPluralString Method</H3>
182
+
183
+ <BLOCKQUOTE>
184
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
185
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);</PRE></TD></TR>
186
+ </TABLE>
187
+ </BLOCKQUOTE>
188
+
189
+ <H4>Summary</H4>
190
+
191
+ <BLOCKQUOTE>
192
+
193
+ Returns the translation of <I>msgid</I> and
194
+ <I>msgidPlural</I>, choosing the right plural form
195
+ depending on the number <I>n</I>.
196
+ </BLOCKQUOTE>
197
+
198
+ <H4>Parameters</H4>
199
+
200
+ <BLOCKQUOTE>
201
+ <DL>
202
+ <DT>msgid</DT>
203
+ <DD>the key string to be translated, an ASCII
204
+ string</DD>
205
+ <DT>msgidPlural</DT>
206
+ <DD>the English plural of <I>msgid</I>,
207
+ an ASCII string</DD>
208
+ <DT>n</DT>
209
+ <DD>the number, should be &gt;= 0</DD>
210
+ </DL>
211
+ </BLOCKQUOTE>
212
+
213
+ <H4>Return Value</H4>
214
+
215
+ <BLOCKQUOTE>
216
+ the translation, or <CODE>null</CODE> if none is found
217
+ </BLOCKQUOTE>
218
+
219
+ <H4>See Also</H4>
220
+
221
+ <BLOCKQUOTE>
222
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
223
+ </BLOCKQUOTE>
224
+
225
+ <HR>
226
+
227
+ <A NAME="GettextResourceSet.GetString%28System.String%29%20Method"><H3>GettextResourceSet.GetString(System.String) Method</H3>
228
+
229
+ <BLOCKQUOTE>
230
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
231
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid);</PRE></TD></TR>
232
+ </TABLE>
233
+ </BLOCKQUOTE>
234
+
235
+ <H4>Summary</H4>
236
+
237
+ <BLOCKQUOTE>
238
+
239
+ Returns the translation of <I>msgid</I>.
240
+ </BLOCKQUOTE>
241
+
242
+ <H4>Parameters</H4>
243
+
244
+ <BLOCKQUOTE>
245
+ <DL>
246
+ <DT>msgid</DT>
247
+ <DD>the key string to be translated, an ASCII
248
+ string</DD>
249
+ </DL>
250
+ </BLOCKQUOTE>
251
+
252
+ <H4>Return Value</H4>
253
+
254
+ <BLOCKQUOTE>
255
+ the translation of <I>msgid</I>, or <CODE>null</CODE> if
256
+ none is found
257
+ </BLOCKQUOTE>
258
+
259
+ <H4>See Also</H4>
260
+
261
+ <BLOCKQUOTE>
262
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
263
+ </BLOCKQUOTE>
264
+
265
+ <HR>
266
+
267
+ <A NAME="GettextResourceSet.GetString%28System.String%2C%20bool%29%20Method"><H3>GettextResourceSet.GetString(System.String, bool) Method</H3>
268
+
269
+ <BLOCKQUOTE>
270
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
271
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid, bool ignoreCase);</PRE></TD></TR>
272
+ </TABLE>
273
+ </BLOCKQUOTE>
274
+
275
+ <H4>Summary</H4>
276
+
277
+ <BLOCKQUOTE>
278
+
279
+ Returns the translation of <I>msgid</I>, with possibly
280
+ case-insensitive lookup.
281
+ </BLOCKQUOTE>
282
+
283
+ <H4>Parameters</H4>
284
+
285
+ <BLOCKQUOTE>
286
+ <DL>
287
+ <DT>msgid</DT>
288
+ <DD>the key string to be translated, an ASCII
289
+ string</DD>
290
+ </DL>
291
+ </BLOCKQUOTE>
292
+
293
+ <H4>Return Value</H4>
294
+
295
+ <BLOCKQUOTE>
296
+ the translation of <I>msgid</I>, or <CODE>null</CODE> if
297
+ none is found
298
+ </BLOCKQUOTE>
299
+
300
+ <H4>See Also</H4>
301
+
302
+ <BLOCKQUOTE>
303
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
304
+ </BLOCKQUOTE>
305
+
306
+ <HR>
307
+
308
+ <A NAME="GettextResourceSet.PluralEval%20Method"><H3>GettextResourceSet.PluralEval Method</H3>
309
+
310
+ <BLOCKQUOTE>
311
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
312
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>protected virtual long PluralEval(long n);</PRE></TD></TR>
313
+ </TABLE>
314
+ </BLOCKQUOTE>
315
+
316
+ <H4>Summary</H4>
317
+
318
+ <BLOCKQUOTE>
319
+
320
+ Returns the index of the plural form to be chosen for a given number.
321
+ The default implementation is the Germanic plural formula:
322
+ zero for <I>n</I> == 1, one for <I>n</I> != 1.
323
+ </BLOCKQUOTE>
324
+
325
+ <H4>See Also</H4>
326
+
327
+ <BLOCKQUOTE>
328
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
329
+ </BLOCKQUOTE>
330
+
331
+ <HR>
332
+
333
+ <A NAME="GettextResourceSet.Keys%20Property"><H3>GettextResourceSet.Keys Property</H3>
334
+
335
+ <BLOCKQUOTE>
336
+ <TABLE COLS="1" ROWS="1" WIDTH="100%">
337
+ <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.Collections.ICollection Keys { get; }</PRE></TD></TR>
338
+ </TABLE>
339
+ </BLOCKQUOTE>
340
+
341
+ <H4>Summary</H4>
342
+
343
+ <BLOCKQUOTE>
344
+
345
+ Returns the keys of this resource set, i.e. the strings for which
346
+ <CODE>GetObject()</CODE> can return a non-null value.
347
+ </BLOCKQUOTE>
348
+
349
+ <H4>See Also</H4>
350
+
351
+ <BLOCKQUOTE>
352
+ <A HREF="GNU_Gettext_GettextResourceSet.html" TARGET="contents">GNU.Gettext.GettextResourceSet Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
353
+ </BLOCKQUOTE>
354
+
355
+ </BODY>
356
+ </HTML>
miniconda3/share/doc/gettext/csharpdoc/begin.html ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <HEAD><TITLE>-</TITLE></HEAD>
3
+ <BODY BGCOLOR="#FFFFFF">
4
+ <H1>-</H1>
5
+
6
+ <BLOCKQUOTE>
7
+ <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A><BR>
8
+ </BLOCKQUOTE>
9
+
10
+ </BODY>
11
+ </HTML>
miniconda3/share/doc/gettext/csharpdoc/index.html ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <HEAD><TITLE>-</TITLE></HEAD>
3
+ <FRAMESET COLS="150,*">
4
+ <FRAMESET ROWS="50%,50%">
5
+ <FRAME SRC="namespaces.html" NAME="namespaces">
6
+ <FRAME SRC="GNU_Gettext.html" NAME="members">
7
+ </FRAMESET>
8
+ <FRAME SRC="begin.html" NAME="contents">
9
+ </FRAMESET>
10
+ </HTML>
miniconda3/share/doc/gettext/csharpdoc/namespaces.html ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <HTML>
2
+ <BODY BGCOLOR="#FFFFFF">
3
+ <I>Namespaces</I><P>
4
+ <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext</A><BR>
5
+ </BODY>
6
+ </HTML>
miniconda3/share/doc/gettext/envsubst.1.html ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>ENVSUBST</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ENVSUBST</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#AUTHOR">AUTHOR</a><br>
26
+ <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
27
+ <a href="#COPYRIGHT">COPYRIGHT</a><br>
28
+ <a href="#SEE ALSO">SEE ALSO</a><br>
29
+
30
+ <hr>
31
+
32
+
33
+ <h2>NAME
34
+ <a name="NAME"></a>
35
+ </h2>
36
+
37
+
38
+ <p style="margin-left:11%; margin-top: 1em">envsubst
39
+ - substitutes environment variables in shell format
40
+ strings</p>
41
+
42
+ <h2>SYNOPSIS
43
+ <a name="SYNOPSIS"></a>
44
+ </h2>
45
+
46
+
47
+
48
+ <p style="margin-left:11%; margin-top: 1em"><b>envsubst</b>
49
+ [<i>OPTION</i>] [<i>SHELL-FORMAT</i>]</p>
50
+
51
+ <h2>DESCRIPTION
52
+ <a name="DESCRIPTION"></a>
53
+ </h2>
54
+
55
+
56
+ <p style="margin-left:11%; margin-top: 1em">Substitutes the
57
+ values of environment variables.</p>
58
+
59
+ <p style="margin-left:11%; margin-top: 1em"><b>Operation
60
+ mode: <br>
61
+ -v</b>, <b>--variables</b></p>
62
+
63
+ <p style="margin-left:22%;">output the variables occurring
64
+ in SHELL-FORMAT</p>
65
+
66
+ <p style="margin-left:11%; margin-top: 1em"><b>Informative
67
+ output: <br>
68
+ -h</b>, <b>--help</b></p>
69
+
70
+ <p style="margin-left:22%;">display this help and exit</p>
71
+
72
+ <p style="margin-left:11%;"><b>-V</b>,
73
+ <b>--version</b></p>
74
+
75
+ <p style="margin-left:22%;">output version information and
76
+ exit</p>
77
+
78
+ <p style="margin-left:11%; margin-top: 1em">In normal
79
+ operation mode, standard input is copied to standard output,
80
+ with references to environment variables of the form
81
+ $VARIABLE or ${VARIABLE} being replaced with the
82
+ corresponding values. If a SHELL-FORMAT is given, only
83
+ those environment variables that are referenced in
84
+ SHELL-FORMAT are substituted; otherwise all
85
+ environment variables references occurring in standard input
86
+ are substituted.</p>
87
+
88
+ <p style="margin-left:11%; margin-top: 1em">When
89
+ <b>--variables</b> is used, standard input is
90
+ ignored, and the output consists of the environment
91
+ variables that are referenced in SHELL-FORMAT, one per
92
+ line.</p>
93
+
94
+ <h2>AUTHOR
95
+ <a name="AUTHOR"></a>
96
+ </h2>
97
+
98
+
99
+ <p style="margin-left:11%; margin-top: 1em">Written by
100
+ Bruno Haible.</p>
101
+
102
+ <h2>REPORTING BUGS
103
+ <a name="REPORTING BUGS"></a>
104
+ </h2>
105
+
106
+
107
+ <p style="margin-left:11%; margin-top: 1em">Report bugs in
108
+ the bug tracker at
109
+ &lt;https://savannah.gnu.org/projects/gettext&gt; or by
110
+ email to &lt;bug-gettext@gnu.org&gt;.</p>
111
+
112
+ <h2>COPYRIGHT
113
+ <a name="COPYRIGHT"></a>
114
+ </h2>
115
+
116
+
117
+ <p style="margin-left:11%; margin-top: 1em">Copyright
118
+ &copy; 2003-2025 Free Software Foundation, Inc.
119
+ License GPLv3+: GNU GPL version 3 or later
120
+ &lt;https://gnu.org/licenses/gpl.html&gt; <br>
121
+ This is free software: you are free to change and
122
+ redistribute it. There is NO WARRANTY, to the extent
123
+ permitted by law.</p>
124
+
125
+ <h2>SEE ALSO
126
+ <a name="SEE ALSO"></a>
127
+ </h2>
128
+
129
+
130
+ <p style="margin-left:11%; margin-top: 1em">The full
131
+ documentation for <b>envsubst</b> is maintained as a Texinfo
132
+ manual. If the <b>info</b> and <b>envsubst</b> programs are
133
+ properly installed at your site, the command</p>
134
+
135
+ <p style="margin-left:22%; margin-top: 1em"><b>info
136
+ envsubst</b></p>
137
+
138
+ <p style="margin-left:11%; margin-top: 1em">should give you
139
+ access to the complete manual.</p>
140
+ <hr>
141
+ </body>
142
+ </html>
miniconda3/share/doc/gettext/examples/README ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This directory contains simple examples of the use of GNU gettext.
2
+ Each example is a simple "hello world" program with a very small message
3
+ catalog, written in a particular programming language for a particular
4
+ environment.
5
+
6
+ Example Language GUI Environment
7
+
8
+ hello-c C
9
+ hello-c-gnome2 C GNOME 2 (obsolete)
10
+ hello-c-gnome3 C GNOME 3.10 or later
11
+ hello-c-http C web browser
12
+ hello-c++ C++
13
+ hello-c++20 C++ 20
14
+ hello-c++-qt C++ Qt
15
+ hello-c++-kde C++ KDE
16
+ hello-c++-gnome2 C++ GNOME 2 (obsolete)
17
+ hello-c++-gnome3 C++ GNOME 3.10 or later
18
+ hello-c++-wxwidgets C++ wxWidgets
19
+ hello-objc ObjectiveC
20
+ hello-objc-gnustep ObjectiveC GNUstep
21
+ hello-objc-gnome2 ObjectiveC GNOME 2 (obsolete)
22
+ hello-python Python
23
+ hello-java Java
24
+ hello-java-awt Java AWT
25
+ hello-java-swing Java Swing
26
+ hello-java-qtjambi Java Qt
27
+ hello-csharp C#
28
+ hello-csharp-forms C# Forms
29
+ hello-guile Scheme
30
+ hello-clisp Lisp
31
+ hello-librep librep
32
+ hello-rust Rust
33
+ hello-go Go
34
+ hello-go-http Go web browser
35
+ hello-ruby Ruby
36
+ hello-sh Shell
37
+ hello-gawk awk
38
+ hello-pascal Pascal
39
+ hello-modula2 Modula-2
40
+ hello-d D
41
+ hello-smalltalk Smalltalk
42
+ hello-tcl Tcl
43
+ hello-tcl-tk Tcl Tk
44
+ hello-perl Perl
45
+ hello-php PHP
46
+ hello-ycp YCP libyui
47
+
48
+ Before building an example, you need to
49
+ 1. Build and install the GNU gettext package, as described in the INSTALL
50
+ file.
51
+ 2. cd to the example and do
52
+ ./autogen.sh
53
+ 3. Then you can build the example as usual:
54
+ ./configure --prefix=/some/prefix
55
+ make
56
+ make install
57
+ and see it work by executing
58
+ /some/prefix/bin/hello
59
+
60
+ The po/ directories of the examples use different binary catalog formats and
61
+ Makefile types:
62
+
63
+ Example Binary catalog format Makefile type
64
+
65
+ hello-c .gmo Makefile.in.in
66
+ hello-c-gnome2 .gmo Makefile.in.in
67
+ hello-c-gnome3 .gmo Makefile.in.in
68
+ hello-c-http .gmo Makefile.in.in
69
+ hello-c++ .gmo Makefile.in.in
70
+ hello-c++20 .gmo Makefile.in.in
71
+ hello-c++-kde .gmo Makefile.in.in
72
+ hello-c++-gnome2 .gmo Makefile.in.in
73
+ hello-c++-gnome3 .gmo Makefile.in.in
74
+ hello-objc .gmo Makefile.in.in
75
+ hello-objc-gnome2 .gmo Makefile.in.in
76
+ hello-c++-wxwidgets .gmo Makefile.am
77
+ hello-python .gmo Makefile.am
78
+ hello-guile .gmo Makefile.am
79
+ hello-clisp .gmo Makefile.am
80
+ hello-librep .gmo Makefile.am
81
+ hello-rust .gmo Makefile.am
82
+ hello-go .gmo Makefile.am
83
+ hello-go-http .gmo Makefile.am
84
+ hello-ruby .gmo Makefile.am
85
+ hello-sh .gmo Makefile.am
86
+ hello-gawk .gmo Makefile.am
87
+ hello-pascal .gmo Makefile.am
88
+ hello-modula2 .gmo Makefile.am
89
+ hello-d .gmo Makefile.am
90
+ hello-smalltalk .gmo Makefile.am
91
+ hello-perl .gmo Makefile.am
92
+ hello-php .gmo Makefile.am
93
+ hello-ycp .gmo Makefile.am
94
+ hello-java .properties Makefile.am
95
+ hello-java-awt .properties Makefile.am
96
+ hello-java-swing .properties Makefile.am
97
+ hello-java-qtjambi .properties Makefile.am
98
+ hello-csharp .resources.dll Makefile.am
99
+ hello-csharp-forms .resources.dll Makefile.am
100
+ hello-tcl .msg Makefile.am
101
+ hello-tcl-tk .msg Makefile.am
102
+ hello-c++-qt .qm Makefile.am
103
+ hello-objc-gnustep .strings GNUmakefile
104
+
105
+ The Makefiles in the po/ directories make use of the variable assignment
106
+ operator != standardized by POSIX:2024
107
+ <https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html>.
108
+ They thus require a 'make' implementation that supports this operator !=.
109
+ As of 2024, these are: GNU make >= 4.0, FreeBSD make, NetBSD make,
110
+ OpenBSD make. This means that building on specific platforms requires
111
+ use of GNU make:
112
+ - On macOS, use /opt/homebrew/bin/gmake.
113
+ - On Solaris 11 OpenIndiana, use /usr/bin/gmake = /usr/gnu/bin/make.
114
+ - On Solaris 11.4, install GNU make yourself.
115
+ - On AIX, use /opt/freeware/bin/make.
miniconda3/share/doc/gettext/examples/build-aux/csharp.m4 ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # csharp.m4
2
+ # serial 5
3
+ dnl Copyright (C) 2004-2005, 2009-2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # Sets CSHARP_CHOICE to the preferred C# implementation:
10
+ # 'mono' or 'dotnet' or 'any' or 'no'.
11
+ # Here
12
+ # - 'mono' means <https://en.wikipedia.org/wiki/Mono_(software)>.
13
+ # - 'dotnet' means the (newer) .NET <https://en.wikipedia.org/wiki/.NET>,
14
+ # *not* the .NET framework <https://en.wikipedia.org/wiki/.NET_Framework>.
15
+ AC_DEFUN([gt_CSHARP_CHOICE],
16
+ [
17
+ AC_MSG_CHECKING([for preferred C[#] implementation])
18
+ AC_ARG_ENABLE([csharp],
19
+ [ --enable-csharp[[=IMPL]] choose preferred C[#] implementation (mono, dotnet)],
20
+ [CSHARP_CHOICE="$enableval"],
21
+ CSHARP_CHOICE=any)
22
+ AC_SUBST([CSHARP_CHOICE])
23
+ AC_MSG_RESULT([$CSHARP_CHOICE])
24
+ case "$CSHARP_CHOICE" in
25
+ mono)
26
+ AC_DEFINE([CSHARP_CHOICE_MONO], [1],
27
+ [Define if mono is the preferred C# implementation.])
28
+ ;;
29
+ dotnet)
30
+ AC_DEFINE([CSHARP_CHOICE_DOTNET], [1],
31
+ [Define if dotnet is the preferred C# implementation.])
32
+ ;;
33
+ esac
34
+ ])
miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.m4 ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # csharpcomp.m4
2
+ # serial 11
3
+ dnl Copyright (C) 2003-2005, 2007, 2009-2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # Prerequisites of csharpcomp.sh.
10
+ # Checks for a C# compiler.
11
+ # Sets at most one of HAVE_MCS, HAVE_DOTNET_SDK, HAVE_DOTNET_CSC, HAVE_CSC.
12
+ # Sets HAVE_CSHARPCOMP to nonempty if csharpcomp.sh will work.
13
+ # Also sets CSHARPCOMPFLAGS.
14
+ AC_DEFUN([gt_CSHARPCOMP],
15
+ [
16
+ AC_REQUIRE([gt_CSHARP_CHOICE])
17
+ AC_MSG_CHECKING([for C[#] compiler])
18
+ HAVE_CSHARPCOMP=1
19
+ pushdef([AC_MSG_CHECKING],[:])dnl
20
+ pushdef([AC_CHECKING],[:])dnl
21
+ pushdef([AC_MSG_RESULT],[:])dnl
22
+ AC_CHECK_PROG([HAVE_MCS_IN_PATH], [mcs], [yes])
23
+ AC_CHECK_PROG([HAVE_DOTNET_IN_PATH], [dotnet], [yes])
24
+ AC_CHECK_PROG([HAVE_CSC_IN_PATH], [csc], [yes])
25
+ popdef([AC_MSG_RESULT])dnl
26
+ popdef([AC_CHECKING])dnl
27
+ popdef([AC_MSG_CHECKING])dnl
28
+ for impl in "$CSHARP_CHOICE" mono dotnet sscli no; do
29
+ case "$impl" in
30
+ mono)
31
+ if test -n "$HAVE_MCS_IN_PATH" \
32
+ && mcs --version >/dev/null 2>/dev/null \
33
+ && mcs --version 2>/dev/null | grep Mono >/dev/null; then
34
+ HAVE_MCS=1
35
+ ac_result="mcs"
36
+ break
37
+ fi
38
+ ;;
39
+ dotnet)
40
+ # The dotnet compiler is called "Roslyn".
41
+ # <https://en.wikipedia.org/wiki/Roslyn_(compiler)>
42
+ # There are two situations:
43
+ # - A dotnet SDK, that contains a 'dotnet' program and the Roslyn
44
+ # compiler as csc.dll.
45
+ # - An MSVC installation, that contains the Roslyn compiler as csc.exe
46
+ # (e.g. in C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\Roslyn\csc.exe).
47
+ # In the first case, the user only has to make sure that 'dotnet' is
48
+ # found in $PATH.
49
+ # In the second case, they need to make sure that both 'dotnet' and
50
+ # 'csc' are found in $PATH.
51
+ if test -n "$HAVE_DOTNET_IN_PATH" \
52
+ && dotnet --list-runtimes >/dev/null 2>/dev/null \
53
+ && test -n "`dotnet --list-sdks 2>/dev/null`"; then
54
+ HAVE_DOTNET_SDK=1
55
+ ac_result="dotnet"
56
+ break
57
+ else
58
+ if test -n "$HAVE_CSC_IN_PATH" \
59
+ && csc -help 2>/dev/null | grep analyzer >/dev/null \
60
+ && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then false; else true; fi; }; then
61
+ HAVE_DOTNET_CSC=1
62
+ ac_result="dotnet"
63
+ break
64
+ fi
65
+ fi
66
+ ;;
67
+ sscli)
68
+ if test -n "$HAVE_CSC_IN_PATH" \
69
+ && csc -help >/dev/null 2>/dev/null \
70
+ && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then false; else true; fi; }; then
71
+ HAVE_CSC=1
72
+ ac_result="csc"
73
+ break
74
+ fi
75
+ ;;
76
+ no)
77
+ HAVE_CSHARPCOMP=
78
+ ac_result="no"
79
+ break
80
+ ;;
81
+ esac
82
+ done
83
+ AC_MSG_RESULT([$ac_result])
84
+ AC_SUBST([HAVE_MCS])
85
+ AC_SUBST([HAVE_DOTNET_SDK])
86
+ AC_SUBST([HAVE_DOTNET_CSC])
87
+ AC_SUBST([HAVE_CSC])
88
+ dnl Provide a default for CSHARPCOMPFLAGS.
89
+ if test -z "${CSHARPCOMPFLAGS+set}"; then
90
+ CSHARPCOMPFLAGS="-O -g"
91
+ fi
92
+ AC_SUBST([CSHARPCOMPFLAGS])
93
+ ])
miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.sh.in ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Compile a C# program.
3
+
4
+ # Copyright (C) 2003-2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <bruno@clisp.org>, 2003.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # This uses the same choices as csharpcomp.c, but instead of relying on the
21
+ # environment settings at run time, it uses the environment variables
22
+ # present at configuration time.
23
+ #
24
+ # This is a separate shell script, because the various C# compilers have
25
+ # different command line options.
26
+ #
27
+ # Usage: /bin/sh csharpcomp.sh [OPTION] SOURCE.cs ... RES.resource ...
28
+ # Options:
29
+ # -o PROGRAM.exe or -o LIBRARY.dll
30
+ # set the output assembly name
31
+ # -L DIRECTORY search for C# libraries also in DIRECTORY
32
+ # -l LIBRARY reference the C# library LIBRARY.dll
33
+ # -O optimize
34
+ # -g generate debugging information
35
+
36
+ # func_tmpdir
37
+ # creates a temporary directory.
38
+ # Sets variable
39
+ # - tmp pathname of freshly created temporary directory
40
+ func_tmpdir ()
41
+ {
42
+ # Use the environment variable TMPDIR, falling back to /tmp. This allows
43
+ # users to specify a different temporary directory, for example, if their
44
+ # /tmp is filled up or too small.
45
+ : "${TMPDIR=/tmp}"
46
+ {
47
+ # Use the mktemp program if available. If not available, hide the error
48
+ # message.
49
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` &&
50
+ test -n "$tmp" && test -d "$tmp"
51
+ } ||
52
+ {
53
+ # Use a simple mkdir command. It is guaranteed to fail if the directory
54
+ # already exists. $RANDOM is bash specific and expands to empty in shells
55
+ # other than bash, ksh and zsh. Its use does not increase security;
56
+ # rather, it minimizes the probability of failure in a very cluttered /tmp
57
+ # directory.
58
+ tmp=$TMPDIR/gt$$-$RANDOM
59
+ (umask 077 && mkdir "$tmp")
60
+ } ||
61
+ {
62
+ echo "$0: cannot create a temporary directory in $TMPDIR" >&2
63
+ { (exit 1); exit 1; }
64
+ }
65
+ }
66
+
67
+ # In order to construct a command that invokes csc, we need 'eval', because
68
+ # some of the arguments may contain spaces.
69
+ command_for_print=
70
+ command_for_eval=
71
+ options_csc_for_print=
72
+ options_csc_for_eval=
73
+ sources_csc_for_print=
74
+ sources_csc_for_eval=
75
+ # Protecting special characters, hiding them from 'eval':
76
+ # Double each backslash.
77
+ sed_protect_1='s/\\/\\\\/g'
78
+ # Escape each dollar, backquote, double-quote.
79
+ sed_protect_2a='s/\$/\\$/g'
80
+ sed_protect_2b='s/`/\\`/g'
81
+ sed_protect_2c='s/"/\\"/g'
82
+ # Add double-quotes at the beginning and end of the word.
83
+ sed_protect_3a='1s/^/"/'
84
+ sed_protect_3b='$s/$/"/'
85
+ func_add_word_to_command ()
86
+ {
87
+ command_for_print="${command_for_print:+$command_for_print }$1"
88
+ word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"`
89
+ command_for_eval="${command_for_eval:+$command_for_eval }$word_protected"
90
+ }
91
+ func_add_word_to_options_csc ()
92
+ {
93
+ options_csc_for_print="${options_csc_for_print:+$options_csc_for_print }$1"
94
+ word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"`
95
+ options_csc_for_eval="${options_csc_for_eval:+$options_csc_for_eval }$word_protected"
96
+ }
97
+ func_add_word_to_sources_csc ()
98
+ {
99
+ sources_csc_for_print="${sources_csc_for_print:+$sources_csc_for_print }$1"
100
+ word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"`
101
+ sources_csc_for_eval="${sources_csc_for_eval:+$sources_csc_for_eval }$word_protected"
102
+ }
103
+
104
+ sed_quote_subst='s/\([|&;<>()$`"'"'"'*?[#~=% \\]\)/\\\1/g'
105
+
106
+ options_mcs=
107
+ sources=
108
+ func_add_word_to_options_csc "-nologo"
109
+ while test $# != 0; do
110
+ case "$1" in
111
+ -o)
112
+ case "$2" in
113
+ *.dll)
114
+ options_mcs="$options_mcs -target:library"
115
+ func_add_word_to_options_csc "-target:library"
116
+ ;;
117
+ *.exe)
118
+ func_add_word_to_options_csc "-target:exe"
119
+ ;;
120
+ esac
121
+ options_mcs="$options_mcs -out:"`echo "$2" | sed -e "$sed_quote_subst"`
122
+ # On Windows, assume that 'dotnet' and 'csc' are native Windows programs,
123
+ # not Cygwin programs.
124
+ arg="$2"
125
+ case "@build_os@" in
126
+ cygwin*)
127
+ arg=`cygpath -w "$arg"`
128
+ ;;
129
+ esac
130
+ func_add_word_to_options_csc "-out:$arg"
131
+ shift
132
+ ;;
133
+ -L)
134
+ options_mcs="$options_mcs -lib:"`echo "$2" | sed -e "$sed_quote_subst"`
135
+ # On Windows, assume that 'dotnet' and 'csc' are native Windows programs,
136
+ # not Cygwin programs.
137
+ arg="$2"
138
+ case "@build_os@" in
139
+ cygwin*)
140
+ arg=`cygpath -w "$arg"`
141
+ ;;
142
+ esac
143
+ func_add_word_to_options_csc "-lib:$arg"
144
+ shift
145
+ ;;
146
+ -l)
147
+ options_mcs="$options_mcs -reference:"`echo "$2" | sed -e "$sed_quote_subst"`
148
+ func_add_word_to_options_csc "-reference:$2.dll"
149
+ shift
150
+ ;;
151
+ -O)
152
+ func_add_word_to_options_csc "-optimize+"
153
+ ;;
154
+ -g)
155
+ options_mcs="$options_mcs -debug"
156
+ func_add_word_to_options_csc "-debug+"
157
+ ;;
158
+ -*)
159
+ echo "csharpcomp: unknown option '$1'" 1>&2
160
+ exit 1
161
+ ;;
162
+ *.resources)
163
+ options_mcs="$options_mcs -resource:"`echo "$1" | sed -e "$sed_quote_subst"`
164
+ # On Windows, assume that 'dotnet' and 'csc' are native Windows programs,
165
+ # not Cygwin programs.
166
+ arg="$1"
167
+ case "@build_os@" in
168
+ cygwin*)
169
+ arg=`cygpath -w "$arg"`
170
+ ;;
171
+ esac
172
+ func_add_word_to_options_csc "-resource:$arg"
173
+ ;;
174
+ *.cs)
175
+ sources="$sources "`echo "$1" | sed -e "$sed_quote_subst"`
176
+ # On Windows, assume that 'dotnet' and 'csc' are native Windows programs,
177
+ # not Cygwin programs.
178
+ arg="$1"
179
+ case "@build_os@" in
180
+ cygwin*)
181
+ arg=`cygpath -w "$arg"`
182
+ ;;
183
+ esac
184
+ func_add_word_to_sources_csc "$arg"
185
+ ;;
186
+ *)
187
+ echo "csharpcomp: unknown type of argument '$1'" 1>&2
188
+ exit 1
189
+ ;;
190
+ esac
191
+ shift
192
+ done
193
+
194
+ if test -n "@HAVE_MCS@"; then
195
+ # mcs prints it errors and warnings to stdout, not stderr. Furthermore it
196
+ # adds a useless line "Compilation succeeded..." at the end. Correct both.
197
+ sed_drop_success_line='${
198
+ /^Compilation succeeded/d
199
+ }'
200
+ func_tmpdir
201
+ trap 'rm -rf "$tmp"' HUP INT QUIT TERM
202
+ test -z "$CSHARP_VERBOSE" || echo mcs $options_mcs $sources 1>&2
203
+ mcs $options_mcs $sources > "$tmp"/mcs.err
204
+ result=$?
205
+ sed -e "$sed_drop_success_line" < "$tmp"/mcs.err >&2
206
+ rm -rf "$tmp"
207
+ exit $result
208
+ else
209
+ if test -n "@HAVE_DOTNET_SDK@"; then
210
+ dotnet_runtime_dir=`dotnet --list-runtimes | sed -n -e 's/Microsoft.NETCore.App \([^ ]*\) \[\(.*\)\].*/\2\/\1/p' | sed -e 1q`
211
+ dotnet_sdk_dir=`dotnet --list-sdks | sed -e 's/\([^ ]*\) \[\(.*\)\].*/\2\/\1/p' | sed -e 1q`
212
+ # Add -lib and -reference options, so that the compiler finds Object, Console, String, etc.
213
+ arg="$dotnet_runtime_dir"
214
+ case "@build_os@" in
215
+ cygwin*)
216
+ arg=`cygpath -w "$arg"`
217
+ ;;
218
+ esac
219
+ func_add_word_to_options_csc "-lib:$arg"
220
+ for file in `cd "$dotnet_runtime_dir" && echo [ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.dll`; do
221
+ case "$file" in
222
+ *.Native.*) ;;
223
+ *) func_add_word_to_options_csc "-reference:$file" ;;
224
+ esac
225
+ done
226
+ func_add_word_to_command dotnet
227
+ csc="$dotnet_sdk_dir/Roslyn/bincore/csc.dll"
228
+ case "@build_os@" in
229
+ cygwin*)
230
+ csc=`cygpath -w "$csc"`
231
+ ;;
232
+ esac
233
+ func_add_word_to_command "$csc"
234
+ test -z "$CSHARP_VERBOSE" || echo "$command_for_print $options_csc_for_print $sources_csc_for_print" 1>&2
235
+ eval "$command_for_eval $options_csc_for_eval $sources_csc_for_eval"
236
+ exit $?
237
+ else
238
+ if test -n "@HAVE_DOTNET_CSC@" || test -n "@HAVE_CSC@"; then
239
+ test -z "$CSHARP_VERBOSE" || echo "csc $options_csc_for_print $sources_csc_for_print" 1>&2
240
+ eval "csc $options_csc_for_eval $sources_csc_for_eval"
241
+ exit $?
242
+ else
243
+ echo 'C# compiler not found, try installing mono or dotnet, then reconfigure' 1>&2
244
+ exit 1
245
+ fi
246
+ fi
247
+ fi
miniconda3/share/doc/gettext/examples/build-aux/csharpexec-test.exe ADDED
Binary file (2.56 kB). View file
 
miniconda3/share/doc/gettext/examples/build-aux/csharpexec.m4 ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # csharpexec.m4
2
+ # serial 10
3
+ dnl Copyright (C) 2003-2005, 2009-2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # Prerequisites of csharpexec.sh.
10
+ # Checks for a C# execution engine.
11
+ # gt_CSHARPEXEC or gt_CSHARPEXEC(testexecutable, its-directory)
12
+ # Sets at most one of HAVE_MONO, HAVE_DOTNET, HAVE_CLIX.
13
+ # Sets HAVE_CSHARPEXEC to nonempty if csharpexec.sh will work.
14
+ AC_DEFUN([gt_CSHARPEXEC],
15
+ [
16
+ AC_REQUIRE([gt_CSHARP_CHOICE])
17
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
18
+ AC_MSG_CHECKING([for C[#] program execution engine])
19
+ AC_EGREP_CPP([yes], [
20
+ #if defined _WIN32 || defined __EMX__ || defined __DJGPP__
21
+ yes
22
+ #endif
23
+ ], MONO_PATH_SEPARATOR=';', MONO_PATH_SEPARATOR=':')
24
+ HAVE_CSHARPEXEC=1
25
+ pushdef([AC_MSG_CHECKING],[:])dnl
26
+ pushdef([AC_CHECKING],[:])dnl
27
+ pushdef([AC_MSG_RESULT],[:])dnl
28
+ AC_CHECK_PROG([HAVE_MONO_IN_PATH], [mono], [yes])
29
+ AC_CHECK_PROG([HAVE_DOTNET_IN_PATH], [dotnet], [yes])
30
+ AC_CHECK_PROG([HAVE_CLIX_IN_PATH], [clix], [yes])
31
+ popdef([AC_MSG_RESULT])dnl
32
+ popdef([AC_CHECKING])dnl
33
+ popdef([AC_MSG_CHECKING])dnl
34
+ for impl in "$CSHARP_CHOICE" mono dotnet no; do
35
+ case "$impl" in
36
+ mono)
37
+ if test -n "$HAVE_MONO_IN_PATH" \
38
+ && mono --version >/dev/null 2>/dev/null \
39
+ m4_if([$1], , , [&& mono $2/$1 >/dev/null 2>/dev/null]); then
40
+ HAVE_MONO=1
41
+ ac_result="mono"
42
+ break
43
+ fi
44
+ ;;
45
+ dotnet)
46
+ if test -n "$HAVE_DOTNET_IN_PATH" \
47
+ && dotnet --list-runtimes >/dev/null 2>/dev/null; then
48
+ HAVE_DOTNET=1
49
+ ac_result="dotnet"
50
+ break
51
+ fi
52
+ ;;
53
+ sscli)
54
+ if test -n "$HAVE_CLIX_IN_PATH" \
55
+ m4_if([$1], , , [&& clix $2/$1 >/dev/null 2>/dev/null]); then
56
+ HAVE_CLIX=1
57
+ case $host_os in
58
+ cygwin* | mingw* | windows* | pw32*)
59
+ CLIX_PATH_VAR=PATH
60
+ ;;
61
+ darwin* | rhapsody*)
62
+ CLIX_PATH_VAR=DYLD_LIBRARY_PATH
63
+ ;;
64
+ *)
65
+ CLIX_PATH_VAR=LD_LIBRARY_PATH
66
+ ;;
67
+ esac
68
+ eval CLIX_PATH=\"\$CLIX_PATH_VAR\"
69
+ ac_result="clix"
70
+ break
71
+ fi
72
+ ;;
73
+ no)
74
+ HAVE_CSHARPEXEC=
75
+ ac_result="no"
76
+ break
77
+ ;;
78
+ esac
79
+ done
80
+ AC_MSG_RESULT([$ac_result])
81
+ AC_SUBST([MONO_PATH])
82
+ AC_SUBST([MONO_PATH_SEPARATOR])
83
+ AC_SUBST([CLIX_PATH_VAR])
84
+ AC_SUBST([CLIX_PATH])
85
+ AC_SUBST([HAVE_MONO])
86
+ AC_SUBST([HAVE_DOTNET])
87
+ AC_SUBST([HAVE_CLIX])
88
+ ])
miniconda3/share/doc/gettext/examples/build-aux/csharpexec.sh.in ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Execute a C# program.
3
+
4
+ # Copyright (C) 2003-2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <bruno@clisp.org>, 2003.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # This uses the same choices as csharpexec.c, but instead of relying on the
21
+ # environment settings at run time, it uses the environment variables
22
+ # present at configuration time.
23
+ #
24
+ # This is a separate shell script, because the various C# interpreters have
25
+ # different command line options.
26
+ #
27
+ # Usage: /bin/sh csharpexec.sh [OPTION] program.exe [ARGUMENTS]
28
+ # Options:
29
+ # -L DIRECTORY search for C# libraries also in DIRECTORY
30
+
31
+ # func_tmpdir
32
+ # creates a temporary directory.
33
+ # Sets variable
34
+ # - tmp pathname of freshly created temporary directory
35
+ func_tmpdir ()
36
+ {
37
+ # Use the environment variable TMPDIR, falling back to /tmp. This allows
38
+ # users to specify a different temporary directory, for example, if their
39
+ # /tmp is filled up or too small.
40
+ : "${TMPDIR=/tmp}"
41
+ {
42
+ # Use the mktemp program if available. If not available, hide the error
43
+ # message.
44
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` &&
45
+ test -n "$tmp" && test -d "$tmp"
46
+ } ||
47
+ {
48
+ # Use a simple mkdir command. It is guaranteed to fail if the directory
49
+ # already exists. $RANDOM is bash specific and expands to empty in shells
50
+ # other than bash, ksh and zsh. Its use does not increase security;
51
+ # rather, it minimizes the probability of failure in a very cluttered /tmp
52
+ # directory.
53
+ tmp=$TMPDIR/gt$$-$RANDOM
54
+ (umask 077 && mkdir "$tmp")
55
+ } ||
56
+ {
57
+ echo "$0: cannot create a temporary directory in $TMPDIR" >&2
58
+ { (exit 1); exit 1; }
59
+ }
60
+ }
61
+
62
+ libdirs_mono=
63
+ libdirs_dotnet=
64
+ prog=
65
+ while test $# != 0; do
66
+ case "$1" in
67
+ -L)
68
+ libdirs_mono="${libdirs_mono:+$libdirs_mono@MONO_PATH_SEPARATOR@}$2"
69
+ libdirs_dotnet="${libdirs_dotnet:+$libdirs_dotnet|}$2"
70
+ shift
71
+ ;;
72
+ -*)
73
+ echo "csharpexec: unknown option '$1'" 1>&2
74
+ exit 1
75
+ ;;
76
+ *)
77
+ prog="$1"
78
+ break
79
+ ;;
80
+ esac
81
+ shift
82
+ done
83
+ if test -z "$prog"; then
84
+ echo "csharpexec: no program specified" 1>&2
85
+ exit 1
86
+ fi
87
+ case "$prog" in
88
+ *.exe) ;;
89
+ *)
90
+ echo "csharpexec: program is not a .exe" 1>&2
91
+ exit 1
92
+ ;;
93
+ esac
94
+
95
+ if test -n "@HAVE_MONO@"; then
96
+ CONF_MONO_PATH='@MONO_PATH@'
97
+ if test -n "$libdirs_mono"; then
98
+ MONO_PATH="$libdirs_mono${CONF_MONO_PATH:+@MONO_PATH_SEPARATOR@$CONF_MONO_PATH}"
99
+ else
100
+ MONO_PATH="$CONF_MONO_PATH"
101
+ fi
102
+ export MONO_PATH
103
+ test -z "$CSHARP_VERBOSE" || echo mono "$@" 1>&2
104
+ exec mono "$@"
105
+ else
106
+ if test -n "@HAVE_DOTNET@"; then
107
+ # Invoke 'dotnet $prog ...'.
108
+ # Documentation:
109
+ # <https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet#options-for-running-an-application>
110
+ # This could be optimized on Windows platforms, because C# .exe files are
111
+ # directly executable there. But there's no point in optimizing specifically
112
+ # a non-free platform, especially since it would increase the test matrix.
113
+ shift
114
+ # On Windows, assume that 'dotnet' is a native Windows program, not a Cygwin program.
115
+ prog_arg="$prog"
116
+ case "@build_os@" in
117
+ cygwin*)
118
+ prog_arg=`cygpath -w "$prog"`
119
+ ;;
120
+ esac
121
+ # Handle the -L options.
122
+ # The way this works is that we have to copy (or symlink) the DLLs into the
123
+ # directory where FOO.exe resides.
124
+ # Maybe there is another way to do this, but I haven't found it, trying
125
+ # - the --additionalprobingpath command-line option,
126
+ # - the additionalProbingPaths property in runtimeconfig.json,
127
+ # - adding a --deps deps.json option,
128
+ # cf. <https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet#options-for-running-an-application>
129
+ # and <https://github.com/dotnet/runtime/blob/main/docs/design/features/host-probing.md>.
130
+ tmpfiles=
131
+ if test -n "$libdirs_dotnet"; then
132
+ # Make sure the added DLLs are removed when this script terminates.
133
+ func_cleanup_tmpfiles()
134
+ {
135
+ saved_IFS="$IFS"
136
+ IFS='|'
137
+ for file in $tmpfiles; do
138
+ IFS="$saved_IFS"
139
+ rm -f "$file"
140
+ done
141
+ IFS="$saved_IFS"
142
+ }
143
+ trap func_cleanup_tmpfiles HUP INT QUIT PIPE TERM
144
+ trap 'exit_status=$?; func_cleanup_tmpfiles; exit $exit_status' EXIT
145
+ # Copy the DLLs.
146
+ prog_dir=`dirname "$prog"`
147
+ saved_IFS="$IFS"
148
+ IFS='|'
149
+ for dir in $libdirs_dotnet; do
150
+ IFS="$saved_IFS"
151
+ for file in `cd "$dir" && echo *.dll`; do
152
+ if test -f "$prog_dir/$file"; then
153
+ # A DLL of this name is already at the expected location.
154
+ :
155
+ else
156
+ tmpfiles="${tmpfiles:+$tmpfiles|}$prog_dir/$file"
157
+ cp "$dir/$file" "$prog_dir/$file" || exit 1
158
+ fi
159
+ done
160
+ done
161
+ IFS="$saved_IFS"
162
+ fi
163
+ if test -f "${prog%.exe}.runtimeconfig.json"; then
164
+ # There is already a FOO.runtimeconfig.json alongside FOO.exe.
165
+ dotnet exec "$prog_arg" "$@"
166
+ result=$?
167
+ else
168
+ # dotnet needs a FOO.runtimeconfig.json alongside FOO.exe in order to
169
+ # execute FOO.exe. Create a dummy one in a temporary directory
170
+ # (because the directory where FOO.exe sits is not necessarily writable).
171
+ # Documentation of this file format:
172
+ # <https://learn.microsoft.com/en-us/dotnet/core/runtime-config/>
173
+ func_tmpdir
174
+ runtimeconfig="$tmp"/runtimeconfig.json
175
+ dotnet --list-runtimes | sed -n -e 's/Microsoft.NETCore.App \([^ ]*\) .*/{ "runtimeOptions": { "framework": { "name": "Microsoft.NETCore.App", "version": "\1" } } }/p' > "$runtimeconfig"
176
+ runtimeconfig_arg="$runtimeconfig"
177
+ case "@build_os@" in
178
+ cygwin*)
179
+ runtimeconfig_arg=`cygpath -w "$runtimeconfig"`
180
+ ;;
181
+ esac
182
+ test -z "$CSHARP_VERBOSE" || echo dotnet exec --runtimeconfig "$runtimeconfig_arg" "$prog_arg" "$@" 1>&2
183
+ dotnet exec --runtimeconfig "$runtimeconfig_arg" "$prog_arg" "$@"
184
+ result=$?
185
+ rm -f "$runtimeconfig"
186
+ rmdir "$tmp"
187
+ fi
188
+ exit $result
189
+ else
190
+ if test -n "@HAVE_CLIX@"; then
191
+ CONF_CLIX_PATH='@CLIX_PATH@'
192
+ if test -n "$libdirs_mono"; then
193
+ @CLIX_PATH_VAR@="$libdirs_mono${CONF_CLIX_PATH:+@MONO_PATH_SEPARATOR@$CONF_CLIX_PATH}"
194
+ else
195
+ @CLIX_PATH_VAR@="$CONF_CLIX_PATH"
196
+ fi
197
+ export @CLIX_PATH_VAR@
198
+ shift
199
+ # On Windows, assume that 'clix' is a native Windows program,
200
+ # not a Cygwin program.
201
+ case "@build_os@" in
202
+ cygwin*)
203
+ prog=`cygpath -w "$prog"`
204
+ ;;
205
+ esac
206
+ test -z "$CSHARP_VERBOSE" || echo clix "$prog" "$@" 1>&2
207
+ exec clix "$prog" "$@"
208
+ else
209
+ echo 'C# virtual machine not found, try installing mono or dotnet, then reconfigure' 1>&2
210
+ exit 1
211
+ fi
212
+ fi
213
+ fi
miniconda3/share/doc/gettext/examples/build-aux/dcomp.m4 ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # dcomp.m4
2
+ # serial 2
3
+ dnl Copyright (C) 2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # There are three D implementations, see
10
+ # <https://en.wikipedia.org/wiki/D_(programming_language)#Implementations>
11
+ # <https://wiki.dlang.org/Compilers>
12
+ # <https://dub.pm/dub-reference/build_settings/#buildoptions>
13
+ # Although each has different possible options, a few options are accepted by
14
+ # all of the implementations: -c, -I, -g, -O. Some essential options, however,
15
+ # are different:
16
+ # gdc ldc2 dmd
17
+ # ---------- ------------------- ------------
18
+ # -oFILE -of=FILE, --of=FILE -of=FILE
19
+ # -lLIBRARY -L -lLIBRARY -L=-lLIBRARY
20
+ # -LDIR -L -LDIR -L=-LDIR
21
+ # -Wl,OPTION -L OPTION -L=OPTION
22
+
23
+ # Checks for a D implementation.
24
+ # Sets DC and DFLAGS (options that can be used with "$DC").
25
+ AC_DEFUN([gt_DCOMP],
26
+ [
27
+ AC_MSG_CHECKING([for D compiler])
28
+ pushdef([AC_MSG_CHECKING],[:])dnl
29
+ pushdef([AC_CHECKING],[:])dnl
30
+ pushdef([AC_MSG_RESULT],[:])dnl
31
+ AC_ARG_VAR([DC], [D compiler command])
32
+ AC_ARG_VAR([DFLAGS], [D compiler options])
33
+ dnl On OpenBSD, gdc is called 'egdc' and works less well than dmd.
34
+ AC_CHECK_TOOLS([DC], [gdc ldc2 dmd egdc])
35
+ popdef([AC_MSG_RESULT])dnl
36
+ popdef([AC_CHECKING])dnl
37
+ popdef([AC_MSG_CHECKING])dnl
38
+ if test -n "$DC"; then
39
+ ac_result="$DC"
40
+ else
41
+ ac_result="no"
42
+ fi
43
+ AC_MSG_RESULT([$ac_result])
44
+ AC_SUBST([DC])
45
+ if test -z "$DFLAGS" && test -n "$DC"; then
46
+ case `$DC --version | sed -e 's/ .*//' -e 1q` in
47
+ gdc | *-gdc | egdc | *-egdc | LDC*) DFLAGS="-g -O2" ;;
48
+ *) DFLAGS="-g -O" ;;
49
+ esac
50
+ fi
51
+ AC_SUBST([DFLAGS])
52
+ ])
miniconda3/share/doc/gettext/examples/build-aux/dcomp.sh.in ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Compile a D program, library, or compilation unit.
3
+
4
+ # Copyright (C) 2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <bruno@clisp.org>, 2025.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # Usage: /bin/sh dcomp.sh [OPTION] SOURCE.d ...
21
+ # where the supported OPTIONs are:
22
+ # -I DIR
23
+ # -c
24
+ # -g
25
+ # -O (mapped to -O or -O2, depending on implementation)
26
+ # -o FILE (for libtool compatility)
27
+ # -lLIBRARY (for libtool compatility)
28
+ # -LDIR (for libtool compatility)
29
+ # -pthread (for libtool compatility)
30
+ # -Wl,OPTION (for libtool compatility)
31
+
32
+ # Find out which implementation we are using.
33
+ case `@DC@ --version | sed -e 's/ .*//' -e 1q` in
34
+ gdc | *-gdc | egdc | *-egdc) flavor=gdc ;;
35
+ LDC*) flavor=ldc ;;
36
+ DMD*) flavor=dmd ;;
37
+ *)
38
+ echo "Warning: implementation flavor of '"'@DC@'"' not recognized." 1>&2
39
+ flavor=dmd ;;
40
+ esac
41
+
42
+ # In order to construct a command that invokes the D compiler, we need 'eval',
43
+ # because some of the arguments may contain spaces.
44
+ options_for_print=
45
+ options_for_eval=
46
+ # Protecting special characters, hiding them from 'eval':
47
+ # Double each backslash.
48
+ sed_protect_1='s/\\/\\\\/g'
49
+ # Escape each dollar, backquote, double-quote.
50
+ sed_protect_2a='s/\$/\\$/g'
51
+ sed_protect_2b='s/`/\\`/g'
52
+ sed_protect_2c='s/"/\\"/g'
53
+ # Add double-quotes at the beginning and end of the word.
54
+ sed_protect_3a='1s/^/"/'
55
+ sed_protect_3b='$s/$/"/'
56
+ func_add_word_to_options ()
57
+ {
58
+ options_for_print="${options_for_print:+$options_for_print }$1"
59
+ word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"`
60
+ options_for_eval="${options_for_eval:+$options_for_eval }$word_protected"
61
+ }
62
+
63
+ # Process the arguments.
64
+ next_is_arg_of=
65
+ for arg
66
+ do
67
+ if test -z "$next_is_arg_of"; then
68
+ case "$arg" in
69
+ -I | -l | -L)
70
+ echo "dcomp: Unsupported option: $arg. Combine with next argument." 1>&2
71
+ exit 1
72
+ ;;
73
+ -I* | -c | -g)
74
+ func_add_word_to_options "$arg"
75
+ ;;
76
+ -O)
77
+ case "$flavor" in
78
+ gdc | ldc) func_add_word_to_options "-O2" ;;
79
+ dmd) func_add_word_to_options "-O" ;;
80
+ esac
81
+ ;;
82
+ -o) next_is_arg_of='o' ;;
83
+ -l* | -L* | -pthread)
84
+ case "$arg" in
85
+ -pthread) arg='-lpthread' ;;
86
+ esac
87
+ case "$flavor" in
88
+ gdc) func_add_word_to_options "$arg" ;;
89
+ ldc) func_add_word_to_options '-L'; func_add_word_to_options "$arg" ;;
90
+ dmd) func_add_word_to_options "-L=$arg" ;;
91
+ esac
92
+ ;;
93
+ -Wl,*)
94
+ if test "$flavor" = gdc; then
95
+ func_add_word_to_options "$arg"
96
+ else
97
+ option=`echo "$arg" | sed -e 's/^-Wl,//'`
98
+ case "$flavor" in
99
+ ldc) func_add_word_to_options '-L'; func_add_word_to_options "$option" ;;
100
+ dmd) func_add_word_to_options "-L=$option" ;;
101
+ esac
102
+ fi
103
+ ;;
104
+ -*)
105
+ echo "dcomp: Unsupported option: $arg" 1>&2
106
+ exit 1
107
+ ;;
108
+ *)
109
+ # dmd rejects shared library file names such as libfoo.so.1.3:
110
+ # "Error: unrecognized file extension 3"
111
+ if test "$flavor" = dmd \
112
+ && case `basename "$arg"` in lib*.so.*) true ;; *) false ;; esac; then
113
+ func_add_word_to_options "-L=$arg"
114
+ else
115
+ func_add_word_to_options "$arg"
116
+ fi
117
+ ;;
118
+ esac
119
+ else
120
+ case "$next_is_arg_of" in
121
+ o)
122
+ case "$flavor" in
123
+ gdc) func_add_word_to_options '-o'; func_add_word_to_options "$arg" ;;
124
+ *) func_add_word_to_options "-of=$arg" ;;
125
+ esac
126
+ ;;
127
+ esac
128
+ next_is_arg_of=
129
+ fi
130
+ done
131
+ if test -n "$next_is_arg_of"; then
132
+ echo "dcomp: missing argument to option -$next_is_arg_of" 1>&2
133
+ exit 1
134
+ fi
135
+
136
+ # Execute the command.
137
+ test -z "$D_VERBOSE" || echo "@DC@ @DFLAGS@ $options_for_print" 1>&2
138
+ eval "@DC@ @DFLAGS@ $options_for_eval"
139
+ exit $?
miniconda3/share/doc/gettext/examples/build-aux/gocomp.m4 ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # gocomp.m4
2
+ # serial 1
3
+ dnl Copyright (C) 2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # There are two Go implementations, that differ essentially only regarding
10
+ # the compiler and the used runtime version:
11
+ # * The golang Go is the original implementation, typically a little more
12
+ # up-to-date. It supports only the major computing platforms.
13
+ # * The GCC Go implementation is part of the GNU Compiler Collection.
14
+ # It lags behind a bit. It supports all platforms supported by GCC.
15
+ # The golang Go implementation produces smaller executables, and the
16
+ # binary packages needed for development are smaller as well.
17
+ #
18
+ # Therefore the preferred implementation is
19
+ # * golang where available,
20
+ # * GCC on the platforms where golang is not available. This includes in
21
+ # particular:
22
+ # - Linux/alpha, Linux/hppa, Linux/m68k, Linux/sparc, Linux/powerpc (32-bit)
23
+ # - GNU/Hurd
24
+ # - Solaris/sparc
25
+ # - Haiku
26
+
27
+ # Sets GO_CHOICE to the preferred Go compiler implementation:
28
+ # 'golang' or 'gcc' or 'any' or 'no'.
29
+ # Here
30
+ # - 'golang' means the original Go compiler.
31
+ # - 'gcc' means GCC Go compiler.
32
+ # The runtime library of both is the same (possibly in different versions,
33
+ # though).
34
+ AC_DEFUN([gt_GO_CHOICE],
35
+ [
36
+ AC_MSG_CHECKING([for preferred Go compiler])
37
+ AC_ARG_ENABLE([go],
38
+ [ --enable-go[[=IMPL]] choose preferred Go compiler (golang, gcc)],
39
+ [GO_CHOICE="$enableval"],
40
+ [GO_CHOICE=any])
41
+ AC_SUBST([GO_CHOICE])
42
+ AC_MSG_RESULT([$GO_CHOICE])
43
+ ])
44
+
45
+ # How to run Go programs?
46
+ # Assume you want to distribute a Go program. In which form? And what are
47
+ # the dependencies to do so?
48
+ #
49
+ # There are three ways to do so:
50
+ #
51
+ # * Run the program by compiling it on-the-fly in a temporary directory
52
+ # and running it from there:
53
+ # ${GO} run foo.go
54
+ # You would distribute foo.go (very small).
55
+ # But the dependencies are large: the Go development environment.
56
+ # On Ubuntu 24.04 this is:
57
+ # - with 'golang': the package 'golang-go'
58
+ # 11 MB for /usr/lib/go-1.22/bin/go,
59
+ # 85 MB for /usr/lib/go-1.22/pkg/tool/linux_amd64/*
60
+ # = 96 MB in total
61
+ # - with 'gccgo': the package 'gccgo-13'
62
+ # 60 MB for /usr/lib/x86_64-linux-gnu/libgo.so.22.0.0,
63
+ # > 40 MB for /usr/libexec/gcc/x86_64-linux-gnu/13/go1
64
+ # and /usr/bin/x86_64-linux-gnu-go-13,
65
+ # 116 MB for /usr/lib/gcc/x86_64-linux-gnu/13/libgo.a
66
+ # = 216 MB in total.
67
+ #
68
+ # * You distribute the binary, linked against the shared Go runtime library.
69
+ # Running the program is just invoking that binary.
70
+ # On Ubuntu the dependencies are:
71
+ # - with 'golang': unsupported.
72
+ # - with 'gccgo': the package 'libgo22'
73
+ # 60 MB for /usr/lib/x86_64-linux-gnu/libgo.so.22.0.0
74
+ # = 60 MB in total.
75
+ #
76
+ # * You distribute the binary, linked statically with the needed parts
77
+ # of the Go runtime library:
78
+ # ${GO} build ${GOCOMPFLAGS} foo.go
79
+ # Running the program is just invoking that binary.
80
+ # On Ubuntu the dependencies are:
81
+ # - with 'golang': No dependencies; the binary is statically linked.
82
+ # The stripped executable's size is >= 1 MB.
83
+ # - with 'gccgo': No dependencies; the binary is statically linked
84
+ # (when using GOCOMPFLAGS='-static') or statically linked except for
85
+ # the standard C library (when using GOCOMPFLAGS='-static-libgo').
86
+ # The stripped executable's size is 5 MB or 6 MB, respectively.
87
+ # Distros generally prefer avoiding dynamic linking with libc,
88
+ # so let's use that.
89
+ #
90
+ # It is clear that the third approach will be preferred for small programs.
91
+
92
+ # Prerequisites of gocomp.sh.
93
+ # Checks for a Go implementation.
94
+ # Sets HAVE_GOCOMP to nonempty if gocomp.sh will work.
95
+ # Also sets GO and GOCOMPFLAGS (options that can be used with "$GO build").
96
+ AC_DEFUN([gt_GOCOMP],
97
+ [
98
+ AC_REQUIRE([gt_GO_CHOICE])
99
+ AC_MSG_CHECKING([for Go compiler])
100
+ HAVE_GOCOMP=1
101
+ pushdef([AC_MSG_CHECKING],[:])dnl
102
+ pushdef([AC_CHECKING],[:])dnl
103
+ pushdef([AC_MSG_RESULT],[:])dnl
104
+ dnl Prefer golang over gcc by default, because it produces much smaller
105
+ dnl executables (see above).
106
+ if test "$GO_CHOICE" = gcc; then
107
+ AC_PATH_PROGS([GO], [go-30 go-29 go-28 go-27 go-26 go-25 go-24 go-23 go-22 go-21 go-20 go-19 go-18 go-17 go-16 go-15 go-14 go-13 go-12 go-11 go-10 go-9 go-8 go-7 go-6 go-5 go])
108
+ else
109
+ AC_PATH_PROGS([GO], [go go-30 go-29 go-28 go-27 go-26 go-25 go-24 go-23 go-22 go-21 go-20 go-19 go-18 go-17 go-16 go-15 go-14 go-13 go-12 go-11 go-10 go-9 go-8 go-7 go-6 go-5])
110
+ fi
111
+ popdef([AC_MSG_RESULT])dnl
112
+ popdef([AC_CHECKING])dnl
113
+ popdef([AC_MSG_CHECKING])dnl
114
+ if test -n "$GO"; then
115
+ case "$GO" in
116
+ go | */go ) GOCOMPFLAGS= ;;
117
+ *) GOCOMPFLAGS='-gccgoflags=-static-libgo' ;;
118
+ esac
119
+ ac_result="$GO"
120
+ else
121
+ HAVE_GOCOMP=
122
+ ac_result="no"
123
+ fi
124
+ AC_MSG_RESULT([$ac_result])
125
+ AC_SUBST([GO])
126
+ AC_SUBST([GOCOMPFLAGS])
127
+ ])
miniconda3/share/doc/gettext/examples/build-aux/gocomp.sh.in ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Compile a Go program.
3
+
4
+ # Copyright (C) 2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <haible@clisp.cons.org>, 2025.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # Usage: /bin/sh gocomp.sh [OPTION] SOURCE.go ...
21
+ #
22
+ # Limitation: Go programs that make use of the C to Go interface ('cgo') are
23
+ # unsupported.
24
+
25
+ # Avoid error "CC environment variable is relative; must be absolute path"
26
+ # on native Windows. Cf.
27
+ # <https://github.com/golang/go/commit/aa161e799df7e1eba99d2be10271e76b6f758142>
28
+ unset CC
29
+ unset CXX
30
+
31
+ test -z "$GO_VERBOSE" || echo "@GO@ build @GOCOMPFLAGS@ $@"
32
+ exec @GO@ build @GOCOMPFLAGS@ "$@"
miniconda3/share/doc/gettext/examples/build-aux/javacomp.m4 ADDED
@@ -0,0 +1,495 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # javacomp.m4
2
+ # serial 26
3
+ dnl Copyright (C) 2001-2003, 2006-2007, 2009-2025 Free Software Foundation,
4
+ dnl Inc.
5
+ dnl This file is free software; the Free Software Foundation
6
+ dnl gives unlimited permission to copy and/or distribute it,
7
+ dnl with or without modifications, as long as this notice is preserved.
8
+ dnl This file is offered as-is, without any warranty.
9
+
10
+ # Prerequisites of javacomp.sh.
11
+ # gt_JAVACOMP([source-version], [target-version])
12
+ # Sets HAVE_JAVACOMP to nonempty if javacomp.sh will allow Java source code
13
+ # according to source-version to be compiled to Java bytecode classes in the
14
+ # target-version format.
15
+ #
16
+ # source-version can be: support for
17
+ # 1.6 assert keyword (1.4), generic classes and methods (1.5)
18
+ # 1.7 switch(string)
19
+ # 1.8 lambdas
20
+ # 9 private interface methods
21
+ # 10 type inference for local variables
22
+ # 11 'var' in parameters of lambda expressions
23
+ # ...
24
+ # (For reference, see <https://en.wikipedia.org/wiki/Java_version_history>.)
25
+ # If source-version 1.3 or 1.4 or 1.5 is requested, it gets mapped to 1.6, for
26
+ # backward compatibility. (Currently the minimum Java and javac version we need
27
+ # to support is Java 1.6, since that's the default Java version on Solaris 10.)
28
+ #
29
+ # target-version can be: classfile version:
30
+ # 1.6 50.0
31
+ # 1.7 51.0
32
+ # 1.8 52.0
33
+ # 9 53.0
34
+ # 10 54.0
35
+ # 11 55.0
36
+ # ... ...
37
+ # The classfile version of a .class file can be determined through the "file"
38
+ # command. More portably, the classfile major version can be determined through
39
+ # "od -A n -t d1 -j 7 -N 1 classfile".
40
+ # If a target-version below 1.6 is requested, it gets mapped to 1.6, for
41
+ # backward compatibility. (Currently the minimum Java and javac version we need
42
+ # to support is Java 1.6, since that's the default Java version on Solaris 10.)
43
+ #
44
+ # target-version can also be omitted. In this case, the required target-version
45
+ # is determined from the found JVM (see macro gt_JAVAEXEC):
46
+ # target-version for JVM
47
+ # 1.6 JDK/JRE 6
48
+ # 1.7 JDK/JRE 7
49
+ # 1.8 JDK/JRE 8
50
+ # 9 JDK/JRE 9
51
+ # 10 JDK/JRE 10
52
+ # 11 JDK/JRE 11
53
+ # ... ...
54
+ #
55
+ # Specifying target-version is useful when building a library (.jar) that is
56
+ # useful outside the given package. Omitting target-version is useful when
57
+ # building an application.
58
+ #
59
+ # It is unreasonable to ask for a target-version < source-version, such as
60
+ # - target-version < 1.4 with source-version >= 1.4, or
61
+ # - target-version < 1.5 with source-version >= 1.5, or
62
+ # - target_version < 1.6 with source_version >= 1.6, or
63
+ # - target_version < 1.7 with source_version >= 1.7, or
64
+ # - target_version < 1.8 with source_version >= 1.8, or
65
+ # - target_version < 9 with source_version >= 9, or
66
+ # - target_version < 10 with source_version >= 10, or
67
+ # - target_version < 11 with source_version >= 11, or
68
+ # - ...
69
+ # because even Sun's/Oracle's javac doesn't support these combinations.
70
+ #
71
+ # It is redundant to ask for a target-version > source-version, since the
72
+ # smaller target-version = source-version will also always work and newer JVMs
73
+ # support the older target-versions too.
74
+
75
+ AC_DEFUN([gt_JAVACOMP],
76
+ [
77
+ m4_if([$2], [], [AC_REQUIRE([gt_JAVAEXEC])], [])
78
+ AC_EGREP_CPP([yes], [
79
+ #if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__
80
+ yes
81
+ #endif
82
+ ], CLASSPATH_SEPARATOR=';', CLASSPATH_SEPARATOR=':')
83
+ source_version=$1
84
+ test -n "$source_version" || {
85
+ AC_MSG_ERROR([missing source-version argument to gt_@&t@JAVACOMP])
86
+ }
87
+ case "$source_version" in
88
+ 1.1 | 1.2 | 1.3 | 1.4 | 1.5) source_version='1.6' ;;
89
+ esac
90
+ m4_if([$2], [],
91
+ [if test -n "$HAVE_JAVAEXEC"; then
92
+ dnl Use $CONF_JAVA to determine the JVM's version.
93
+ changequote(,)dnl
94
+ cat > conftestver.java <<EOF
95
+ public class conftestver {
96
+ public static void main (String[] args) {
97
+ System.out.println(System.getProperty("java.specification.version"));
98
+ }
99
+ }
100
+ EOF
101
+ changequote([,])dnl
102
+ dnl A precompiled version of conftestver.java, compiled with
103
+ dnl "javac -target 1.1". This avoids having to compile conftestver.java
104
+ dnl during each test for a suitable Java compiler.
105
+ dnl For the conversion from binary to this ASCII encapsulation, avoiding
106
+ dnl to assume the presence of uudecode, use the command
107
+ dnl $ od -A n -t o1 < conftestver.class | tr ' ' '\012'| sort | uniq | sed -e '/^$/d' -e 's,^,\\,' | tr -d '\012'
108
+ dnl and the long tr command in opposite direction.
109
+ dnl Finally move the position corresponding to \055 to the last position,
110
+ dnl to work around a coreutils-5.x bug.
111
+ echo 'yzwx!$!I!D,!)!3+!4!5*!6,!4!7,!8!9)!:)!;"!(MeienN"!$FGW"!%Ojab"!2QeibRohZblVYZgb"!%hYei"!9FXQfYpYKgYidKUnleidLGW"!,Ujol_bPegb"!3_jicnbmnpblJfYpY/!*!+)!</!=!>"!=fYpYJmkb_ece_YnejiJpblmeji/!?!@)!A/!B!C"!._jicnbmnpbl"!3fYpYKgYidKSZfb_n"!3fYpYKgYidKUqmnbh"!$jon"!8QfYpYKejKTleinUnlbYhL"!.dbnTljkblnq"!EFQfYpYKgYidKUnleidLGQfYpYKgYidKUnleidL"!6fYpYKejKTleinUnlbYh"!)kleingi"!8FQfYpYKgYidKUnleidLGW!D!(!)!!!!!#!"!*!+!"!,!!!@!"!"!!!&Hu!"r!!!"!.!!!(!"!!!"!+!/!0!"!,!!!F!#!"!!!/s!#5$v!%t!&r!!!"!.!!!,!#!!!$!.!%!"!1!!!#!2' \
112
+ | tr -d '\012\015' \
113
+ | tr '!"#$%&()*+,./0123456789:;<=>?@ABCDEFGHJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzI' '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\046\050\051\052\056\057\073\074\076\103\106\114\116\117\120\123\124\126\133\141\142\143\144\145\146\147\151\152\154\155\156\157\160\162\163\164\165\166\171\261\262\266\267\270\272\276\312\376\055' \
114
+ > conftestver.class
115
+ java_exec_version=`{
116
+ unset JAVA_HOME
117
+ echo "$as_me:__oline__: CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver" >&AS_MESSAGE_LOG_FD
118
+ CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver 2>&AS_MESSAGE_LOG_FD
119
+ }`
120
+ case "$java_exec_version" in
121
+ null)
122
+ dnl JDK 1.1.X returns null.
123
+ java_exec_version=1.1 ;;
124
+ esac
125
+ case "$java_exec_version" in
126
+ 1.1 | 1.2 | 1.3 | 1.4 | 1.5)
127
+ AC_MSG_WARN([$CONF_JAVA is too old, cannot compile Java code for this old version any more])
128
+ target_version=1.6 ;;
129
+ changequote(,)dnl
130
+ 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9])
131
+ changequote([,])dnl
132
+ dnl Here we could choose any target_version between $source_version
133
+ dnl and the $java_exec_version. (If it is too small, it will be
134
+ dnl incremented below until it works.) Since we documented above that
135
+ dnl it is determined from the JVM, we do that:
136
+ target_version="$java_exec_version" ;;
137
+ *) AC_MSG_WARN([unknown target-version $target_version, please update gt_@&t@JAVACOMP macro])
138
+ target_version=1.6 ;;
139
+ esac
140
+ else
141
+ target_version="1.6"
142
+ fi
143
+ ],
144
+ [target_version=$2
145
+ case "$target_version" in
146
+ 1.1 | 1.2 | 1.3 | 1.4 | 1.5) target_version='1.6' ;;
147
+ esac
148
+ ])
149
+ case "$source_version" in
150
+ changequote(,)dnl
151
+ 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9]) ;;
152
+ changequote([,])dnl
153
+ *) AC_MSG_ERROR([invalid source-version argument to gt_@&t@JAVACOMP: $source_version]) ;;
154
+ esac
155
+ case "$target_version" in
156
+ changequote(,)dnl
157
+ 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9]) ;;
158
+ changequote([,])dnl
159
+ *) AC_MSG_ERROR([invalid target-version argument to gt_@&t@JAVACOMP: $target_version]) ;;
160
+ esac
161
+ # Function to output the classfile version of a file (8th byte) in decimal.
162
+ if od -A x < /dev/null >/dev/null 2>/dev/null; then
163
+ # Use POSIX od.
164
+ func_classfile_version ()
165
+ {
166
+ od -A n -t d1 -j 7 -N 1 "[$]1"
167
+ }
168
+ else
169
+ # Use BSD hexdump.
170
+ func_classfile_version ()
171
+ {
172
+ dd if="[$]1" bs=1 count=1 skip=7 2>/dev/null | hexdump -e '1/1 "%3d "'
173
+ echo
174
+ }
175
+ fi
176
+ AC_MSG_CHECKING([for Java compiler])
177
+ dnl
178
+ dnl The support of Sun/Oracle javac for target-version and source-version:
179
+ dnl
180
+ dnl javac 1.6: -target 1.1 1.2 1.3 1.4 1.5 1.6 default: 1.6
181
+ dnl -source 1.3 1.4 1.5 1.6 default: 1.5
182
+ dnl -target 1.1/1.2/1.3 only possible with -source 1.3
183
+ dnl -target 1.4 only possible with -source 1.3/1.4
184
+ dnl -target 1.5 only possible with -source 1.3/1.4/1.5 or no -source
185
+ dnl
186
+ dnl javac 1.7: -target 1.1 1.2 1.3 1.4 1.5 1.6 1.7 default: 1.7
187
+ dnl -source 1.3 1.4 1.5 1.6 1.7 default: 1.7
188
+ dnl -target 1.1/1.2/1.3 only possible with -source 1.3
189
+ dnl -target 1.4 only possible with -source 1.3/1.4
190
+ dnl -target 1.5 only possible with -source 1.3/1.4/1.5
191
+ dnl -target 1.6 only possible with -source 1.3/1.4/1.5/1.6
192
+ dnl
193
+ dnl javac 1.8: -target 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 default: 1.8
194
+ dnl -source 1.3 1.4 1.5 1.6 1.7 1.8 default: 1.8
195
+ dnl -target 1.1/1.2/1.3 only possible with -source 1.3
196
+ dnl -target 1.4 only possible with -source 1.3/1.4
197
+ dnl -target 1.5 only possible with -source 1.3/1.4/1.5
198
+ dnl -target 1.6 only possible with -source 1.3/1.4/1.5/1.6
199
+ dnl -target 1.7 only possible with -source 1.3/1.4/1.5/1.6/1.7
200
+ dnl
201
+ dnl javac 9: -target 1.6 1.7 1.8 9 default: 9
202
+ dnl -source 1.6 1.7 1.8 9 default: 9
203
+ dnl -target 1.6 only possible with -source 1.6
204
+ dnl -target 1.7 only possible with -source 1.6/1.7
205
+ dnl -target 1.8 only possible with -source 1.6/1.7/1.8
206
+ dnl
207
+ dnl javac 10: -target 1.6 1.7 1.8 9 10 default: 10
208
+ dnl -source 1.6 1.7 1.8 9 10 default: 10
209
+ dnl -target 1.6 only possible with -source 1.6
210
+ dnl -target 1.7 only possible with -source 1.6/1.7
211
+ dnl -target 1.8 only possible with -source 1.6/1.7/1.8
212
+ dnl -target 9 only possible with -source 1.6/1.7/1.8/9
213
+ dnl
214
+ dnl and so on.
215
+ dnl This can be summarized in this table:
216
+ dnl
217
+ dnl javac classfile valid -source and obsolete -source
218
+ dnl version default version -target values and -target values
219
+ dnl ------- --------------- ----------------- ------------------
220
+ dnl 1.6 50.0 1.2 .. 1.6
221
+ dnl 1.7 51.0 1.2 .. 1.7
222
+ dnl 1.8 52.0 1.3 .. 1.8 1.3 .. 1.5
223
+ dnl 9 53.0 1.6 .. 9 1.6
224
+ dnl 10 54.0 1.6 .. 10 1.6
225
+ dnl 11 55.0 1.6 .. 11 1.6
226
+ dnl 12 56.0 1.7 .. 12 1.7
227
+ dnl 13 57.0 1.7 .. 13 1.7
228
+ dnl 14 58.0 1.7 .. 14 1.7
229
+ dnl 15 59.0 1.7 .. 15 1.7
230
+ dnl 16 60.0 1.7 .. 16 1.7
231
+ dnl 17 61.0 1.7 .. 17 1.7
232
+ dnl 18 62.0 1.7 .. 18 1.7
233
+ dnl 19 63.0 1.7 .. 19 1.7
234
+ dnl 20 64.0 1.8 .. 20 1.8
235
+ dnl
236
+ dnl The -source option value must be <= the -target option value.
237
+ dnl The minimal -source and -target option value produces an "is obsolete"
238
+ dnl warning (in javac 1.8 or newer). Additionally, if the -source option
239
+ dnl value is not the maximal possible one, i.e. not redundant, it produces a
240
+ dnl "bootstrap class path not set in conjunction with -source ..." warning
241
+ dnl (in javac 1.7 or newer).
242
+ dnl
243
+ dnl To get rid of these warnings, two options are available:
244
+ dnl * -nowarn. This option is supported since javac 1.6 at least. But
245
+ dnl it is overkill, because it would also silence warnings about the
246
+ dnl code being compiled.
247
+ dnl * -Xlint:-options. This option is supported since javac 1.6 at least.
248
+ dnl In javac 1.6 it is an undocumented no-op.
249
+ dnl We use -Xlint:-options and omit it only if we find that the compiler
250
+ dnl does not support it (which is unlikely).
251
+ dnl
252
+ dnl Canonicalize source_version and target_version, for easier arithmetic.
253
+ case "$source_version" in
254
+ 1.*) source_version=`echo "$source_version" | sed -e 's/^1\.//'` ;;
255
+ esac
256
+ case "$target_version" in
257
+ 1.*) target_version=`echo "$target_version" | sed -e 's/^1\.//'` ;;
258
+ esac
259
+ CONF_JAVAC=
260
+ HAVE_JAVAC_ENVVAR=
261
+ HAVE_JAVAC=
262
+ HAVE_JAVACOMP=
263
+ dnl Sanity check.
264
+ if expr $source_version '<=' $target_version >/dev/null; then
265
+ echo 'class conftest {}' > conftest.java
266
+ dnl If the user has set the JAVAC environment variable, use that, if it
267
+ dnl satisfies the constraints (possibly after adding -target and -source
268
+ dnl options).
269
+ if test -n "$JAVAC"; then
270
+ dnl Test whether $JAVAC is usable.
271
+ dnl At the same time, determine which option to use to inhibit warnings;
272
+ dnl see the discussion above.
273
+ nowarn_option=' -Xlint:-options'
274
+ if { rm -f conftest.class \
275
+ && { echo "$as_me:__oline__: $JAVAC$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
276
+ $JAVAC$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
277
+ } \
278
+ && test -f conftest.class
279
+ } || { \
280
+ nowarn_option=
281
+ rm -f conftest.class \
282
+ && { echo "$as_me:__oline__: $JAVAC$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
283
+ $JAVAC$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
284
+ } \
285
+ && test -f conftest.class
286
+ }; then
287
+ compiler_cfversion=`func_classfile_version conftest.class`
288
+ compiler_target_version=`expr $compiler_cfversion - 44`
289
+ dnl It is hard to determine the compiler_source_version. This would
290
+ dnl require a list of code snippets that can be compiled only with a
291
+ dnl specific '-source' option and up, and this list would need to grow
292
+ dnl every 6 months.
293
+ dnl Also, $JAVAC may already include a '-source' option.
294
+ dnl Therefore, pass a '-source' option always.
295
+ source_option=' -source '`case "$source_version" in 6|7|8) echo 1. ;; esac`"$source_version"
296
+ dnl And pass a '-target' option as well, if needed.
297
+ dnl (All supported javac versions support both, see the table above.)
298
+ if expr $target_version = $compiler_target_version >/dev/null; then
299
+ target_option=
300
+ else
301
+ target_option=' -target '`case "$target_version" in 6|7|8) echo 1. ;; esac`"$target_version"
302
+ fi
303
+ if { echo "$as_me:__oline__: $JAVAC$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
304
+ $JAVAC$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
305
+ } \
306
+ && test -f conftest.class; then
307
+ dnl The compiler directly supports the desired source_version and
308
+ dnl target_version. Perfect.
309
+ CONF_JAVAC="$JAVAC$nowarn_option$source_option$target_option"
310
+ HAVE_JAVAC_ENVVAR=1
311
+ HAVE_JAVACOMP=1
312
+ else
313
+ dnl If the desired source_version or target_version were too large
314
+ dnl for the compiler, there's nothing else we can do.
315
+ compiler_version=`echo "$as_me:__oline__: $JAVAC -version | sed -e 1q" >&AS_MESSAGE_LOG_FD
316
+ $JAVAC -version | sed -e 1q`
317
+ changequote(,)dnl
318
+ compiler_version=`echo "$compiler_version" | sed -e 's/^[^0-9]*\([0-9][0-9.]*\).*/\1/'`
319
+ changequote([,])dnl
320
+ case "$compiler_version" in
321
+ 1.*) dnl Map 1.6.0_85 to 6, 1.8.0_151 to 8.
322
+ compiler_version=`echo "$compiler_version" | sed -e 's/^1\.//' -e 's/\..*//'`
323
+ ;;
324
+ *) dnl Map 9.0.4 to 9, 10.0.2 to 10, etc.
325
+ compiler_version=`echo "$compiler_version" | sed -e 's/\..*//'`
326
+ ;;
327
+ esac
328
+ if expr $source_version '<=' "$compiler_version" >/dev/null \
329
+ && expr $target_version '<=' "$compiler_version" >/dev/null; then
330
+ dnl Increase $source_version and $compiler_version until the
331
+ dnl compiler accepts these values. This is necessary to make
332
+ dnl e.g. $source_version = 6 work with Java 12 or newer, or
333
+ dnl $source_version = 7 work with Java 20 or newer.
334
+ try_source_version="$source_version"
335
+ try_target_version="$target_version"
336
+ while true; do
337
+ dnl Invariant: $try_source_version <= $try_target_version.
338
+ if expr $try_source_version = $try_target_version >/dev/null; then
339
+ try_target_version=`expr $try_target_version + 1`
340
+ fi
341
+ try_source_version=`expr $try_source_version + 1`
342
+ expr $try_source_version '<=' $compiler_version >/dev/null || break
343
+ source_option=' -source '`case "$try_source_version" in 6|7|8) echo 1. ;; esac`"$try_source_version"
344
+ if expr $try_target_version = $compiler_target_version >/dev/null; then
345
+ target_option=
346
+ else
347
+ target_option=' -target '`case "$try_target_version" in 6|7|8) echo 1. ;; esac`"$try_target_version"
348
+ fi
349
+ if { echo "$as_me:__oline__: $JAVAC$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
350
+ $JAVAC$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
351
+ } \
352
+ && test -f conftest.class; then
353
+ dnl The compiler supports the try_source_version and
354
+ dnl try_target_version. It's better than nothing.
355
+ CONF_JAVAC="$JAVAC$nowarn_option$source_option$target_option"
356
+ HAVE_JAVAC_ENVVAR=1
357
+ HAVE_JAVACOMP=1
358
+ break
359
+ fi
360
+ done
361
+ fi
362
+ fi
363
+ fi
364
+ fi
365
+ if test -z "$HAVE_JAVACOMP"; then
366
+ pushdef([AC_MSG_CHECKING],[:])dnl
367
+ pushdef([AC_CHECKING],[:])dnl
368
+ pushdef([AC_MSG_RESULT],[:])dnl
369
+ AC_CHECK_PROG([HAVE_JAVAC_IN_PATH], [javac], [yes])
370
+ popdef([AC_MSG_RESULT])dnl
371
+ popdef([AC_CHECKING])dnl
372
+ popdef([AC_MSG_CHECKING])dnl
373
+ if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_JAVAC_IN_PATH"; then
374
+ dnl Test whether javac is usable.
375
+ dnl At the same time, determine which option to use to inhibit warnings;
376
+ dnl see the discussion above.
377
+ nowarn_option=' -Xlint:-options'
378
+ if { rm -f conftest.class \
379
+ && { echo "$as_me:__oline__: javac$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
380
+ javac$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
381
+ } \
382
+ && test -f conftest.class
383
+ } || { \
384
+ nowarn_option=
385
+ rm -f conftest.class \
386
+ && { echo "$as_me:__oline__: javac$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
387
+ javac$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
388
+ } \
389
+ && test -f conftest.class
390
+ }; then
391
+ compiler_cfversion=`func_classfile_version conftest.class`
392
+ compiler_target_version=`expr $compiler_cfversion - 44`
393
+ dnl It is hard to determine the compiler_source_version. This would
394
+ dnl require a list of code snippets that can be compiled only with a
395
+ dnl specific '-source' option and up, and this list would need to grow
396
+ dnl every 6 months.
397
+ dnl Also, javac may point to a shell script that already includes a
398
+ dnl '-source' option.
399
+ dnl Therefore, pass a '-source' option always.
400
+ source_option=' -source '`case "$source_version" in 6|7|8) echo 1. ;; esac`"$source_version"
401
+ dnl And pass a '-target' option as well, if needed.
402
+ dnl (All supported javac versions support both, see the table above.)
403
+ if expr $target_version = $compiler_target_version >/dev/null; then
404
+ target_option=
405
+ else
406
+ target_option=' -target '`case "$target_version" in 6|7|8) echo 1. ;; esac`"$target_version"
407
+ fi
408
+ if { echo "$as_me:__oline__: javac$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
409
+ javac$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
410
+ } \
411
+ && test -f conftest.class; then
412
+ dnl The compiler directly supports the desired source_version and
413
+ dnl target_version. Perfect.
414
+ CONF_JAVAC="javac$nowarn_option$source_option$target_option"
415
+ HAVE_JAVAC=1
416
+ HAVE_JAVACOMP=1
417
+ else
418
+ dnl If the desired source_version or target_version were too large
419
+ dnl for the compiler, there's nothing else we can do.
420
+ compiler_version=`echo "$as_me:__oline__: javac -version | sed -e 1q" >&AS_MESSAGE_LOG_FD
421
+ javac -version | sed -e 1q`
422
+ changequote(,)dnl
423
+ compiler_version=`echo "$compiler_version" | sed -e 's/^[^0-9]*\([0-9][0-9.]*\).*/\1/'`
424
+ changequote([,])dnl
425
+ case "$compiler_version" in
426
+ 1.*) dnl Map 1.6.0_85 to 6, 1.8.0_151 to 8.
427
+ compiler_version=`echo "$compiler_version" | sed -e 's/^1\.//' -e 's/\..*//'`
428
+ ;;
429
+ *) dnl Map 9.0.4 to 9, 10.0.2 to 10, etc.
430
+ compiler_version=`echo "$compiler_version" | sed -e 's/\..*//'`
431
+ ;;
432
+ esac
433
+ if expr $source_version '<=' "$compiler_version" >/dev/null \
434
+ && expr $target_version '<=' "$compiler_version" >/dev/null; then
435
+ dnl Increase $source_version and $compiler_version until the
436
+ dnl compiler accepts these values. This is necessary to make
437
+ dnl e.g. $source_version = 6 work with Java 12 or newer, or
438
+ dnl $source_version = 7 work with Java 20 or newer.
439
+ try_source_version="$source_version"
440
+ try_target_version="$target_version"
441
+ while true; do
442
+ dnl Invariant: $try_source_version <= $try_target_version.
443
+ if expr $try_source_version = $try_target_version >/dev/null; then
444
+ try_target_version=`expr $try_target_version + 1`
445
+ fi
446
+ try_source_version=`expr $try_source_version + 1`
447
+ expr $try_source_version '<=' $compiler_version >/dev/null || break
448
+ source_option=' -source '`case "$try_source_version" in 6|7|8) echo 1. ;; esac`"$try_source_version"
449
+ if expr $try_target_version = $compiler_target_version >/dev/null; then
450
+ target_option=
451
+ else
452
+ target_option=' -target '`case "$try_target_version" in 6|7|8) echo 1. ;; esac`"$try_target_version"
453
+ fi
454
+ if { echo "$as_me:__oline__: javac$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD
455
+ javac$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1
456
+ } \
457
+ && test -f conftest.class; then
458
+ dnl The compiler supports the try_source_version and
459
+ dnl try_target_version. It's better than nothing.
460
+ CONF_JAVAC="javac$nowarn_option$source_option$target_option"
461
+ HAVE_JAVAC=1
462
+ HAVE_JAVACOMP=1
463
+ break
464
+ fi
465
+ done
466
+ fi
467
+ fi
468
+ fi
469
+ fi
470
+ fi
471
+ rm -f conftest*.java conftest*.class
472
+ fi
473
+ if test -n "$HAVE_JAVACOMP"; then
474
+ ac_result="$CONF_JAVAC"
475
+ else
476
+ ac_result="no"
477
+ fi
478
+ AC_MSG_RESULT([$ac_result])
479
+ AC_SUBST([CONF_JAVAC])
480
+ AC_SUBST([CLASSPATH])
481
+ AC_SUBST([CLASSPATH_SEPARATOR])
482
+ AC_SUBST([HAVE_JAVAC_ENVVAR])
483
+ AC_SUBST([HAVE_JAVAC])
484
+ ])
485
+
486
+ # Simulates gt_JAVACOMP when no Java support is desired.
487
+ AC_DEFUN([gt_JAVACOMP_DISABLED],
488
+ [
489
+ CONF_JAVAC=
490
+ HAVE_JAVAC_ENVVAR=
491
+ HAVE_JAVAC=
492
+ AC_SUBST([CONF_JAVAC])
493
+ AC_SUBST([HAVE_JAVAC_ENVVAR])
494
+ AC_SUBST([HAVE_JAVAC])
495
+ ])
miniconda3/share/doc/gettext/examples/build-aux/javacomp.sh.in ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Compile a Java program.
3
+
4
+ # Copyright (C) 2001-2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <haible@clisp.cons.org>, 2001.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # This uses the same choices as javacomp.c, but instead of relying on the
21
+ # environment settings at run time, it uses the environment variables
22
+ # present at configuration time.
23
+ #
24
+ # This is a separate shell script, because it must be able to unset JAVA_HOME
25
+ # in some cases, which a simple shell command cannot do.
26
+ #
27
+ # The extra CLASSPATH must have been set prior to calling this script.
28
+ # Options that can be passed are -O, -g and "-d DIRECTORY".
29
+
30
+ CONF_JAVAC='@CONF_JAVAC@'
31
+ CONF_CLASSPATH='@CLASSPATH@'
32
+ if test -n "@HAVE_JAVAC_ENVVAR@"; then
33
+ # Combine given CLASSPATH and configured CLASSPATH.
34
+ if test -n "$CLASSPATH"; then
35
+ CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+@CLASSPATH_SEPARATOR@$CONF_CLASSPATH}"
36
+ else
37
+ CLASSPATH="$CONF_CLASSPATH"
38
+ fi
39
+ export CLASSPATH
40
+ test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@" 1>&2
41
+ exec $CONF_JAVAC "$@"
42
+ else
43
+ unset JAVA_HOME
44
+ if test -n "@HAVE_JAVAC@"; then
45
+ # In this case, $CONF_JAVAC starts with "javac".
46
+ CLASSPATH="$CLASSPATH"
47
+ export CLASSPATH
48
+ test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@" 1>&2
49
+ exec $CONF_JAVAC "$@"
50
+ else
51
+ echo 'Java compiler not found, try setting $JAVAC, then reconfigure' 1>&2
52
+ exit 1
53
+ fi
54
+ fi
miniconda3/share/doc/gettext/examples/build-aux/javaexec.m4 ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # javaexec.m4
2
+ # serial 11
3
+ dnl Copyright (C) 2001-2003, 2006, 2009-2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # Prerequisites of javaexec.sh.
10
+ # gt_JAVAEXEC or gt_JAVAEXEC(testclass, its-directory)
11
+ # Sets HAVE_JAVAEXEC to nonempty if javaexec.sh will work.
12
+
13
+ AC_DEFUN([gt_JAVAEXEC],
14
+ [
15
+ AC_MSG_CHECKING([for Java virtual machine])
16
+ AC_EGREP_CPP([yes], [
17
+ #if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__
18
+ yes
19
+ #endif
20
+ ], CLASSPATH_SEPARATOR=';', CLASSPATH_SEPARATOR=':')
21
+ CONF_JAVA=
22
+ HAVE_JAVA_ENVVAR=
23
+ HAVE_JAVA=
24
+ HAVE_JRE=
25
+ HAVE_JAVAEXEC=1
26
+ if test -n "$JAVA"; then
27
+ HAVE_JAVA_ENVVAR=1
28
+ CONF_JAVA="$JAVA"
29
+ else
30
+ pushdef([AC_MSG_CHECKING],[:])dnl
31
+ pushdef([AC_CHECKING],[:])dnl
32
+ pushdef([AC_MSG_RESULT],[:])dnl
33
+ AC_CHECK_PROG([HAVE_JAVA_IN_PATH], [java], [yes])
34
+ AC_CHECK_PROG([HAVE_JRE_IN_PATH], [jre], [yes])
35
+ popdef([AC_MSG_RESULT])dnl
36
+ popdef([AC_CHECKING])dnl
37
+ popdef([AC_MSG_CHECKING])dnl
38
+ m4_if([$1], , , [
39
+ gt_saved_CLASSPATH="$CLASSPATH"
40
+ CLASSPATH="$2"${CLASSPATH+"$CLASSPATH_SEPARATOR$CLASSPATH"}
41
+ ])
42
+ export CLASSPATH
43
+ if test -n "$HAVE_JAVA_IN_PATH" \
44
+ && java -version >/dev/null 2>/dev/null \
45
+ m4_if([$1], , , [&& {
46
+ echo "$as_me:__oline__: java $1" >&AS_MESSAGE_LOG_FD
47
+ java $1 >&AS_MESSAGE_LOG_FD 2>&1
48
+ }]); then
49
+ HAVE_JAVA=1
50
+ CONF_JAVA="java"
51
+ else
52
+ if test -n "$HAVE_JRE_IN_PATH" \
53
+ && (jre >/dev/null 2>/dev/null || test $? = 1) \
54
+ m4_if([$1], , , [&& {
55
+ echo "$as_me:__oline__: jre $1" >&AS_MESSAGE_LOG_FD
56
+ jre $1 >&AS_MESSAGE_LOG_FD 2>&1
57
+ }]); then
58
+ HAVE_JRE=1
59
+ CONF_JAVA="jre"
60
+ else
61
+ HAVE_JAVAEXEC=
62
+ fi
63
+ fi
64
+ m4_if([$1], , , [
65
+ CLASSPATH="$gt_saved_CLASSPATH"
66
+ ])
67
+ fi
68
+ if test -n "$HAVE_JAVAEXEC"; then
69
+ ac_result="$CONF_JAVA"
70
+ else
71
+ ac_result="no"
72
+ fi
73
+ AC_MSG_RESULT([$ac_result])
74
+ AC_SUBST([CONF_JAVA])
75
+ AC_SUBST([CLASSPATH])
76
+ AC_SUBST([CLASSPATH_SEPARATOR])
77
+ AC_SUBST([HAVE_JAVA_ENVVAR])
78
+ AC_SUBST([HAVE_JAVA])
79
+ AC_SUBST([HAVE_JRE])
80
+ ])
81
+
82
+ # Simulates gt_JAVAEXEC when no Java support is desired.
83
+ AC_DEFUN([gt_JAVAEXEC_DISABLED],
84
+ [
85
+ CONF_JAVA=
86
+ HAVE_JAVA_ENVVAR=
87
+ HAVE_JAVA=
88
+ HAVE_JRE=
89
+ AC_SUBST([CONF_JAVA])
90
+ AC_SUBST([HAVE_JAVA_ENVVAR])
91
+ AC_SUBST([HAVE_JAVA])
92
+ AC_SUBST([HAVE_JRE])
93
+ ])
miniconda3/share/doc/gettext/examples/build-aux/javaexec.sh.in ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Execute a Java program.
3
+
4
+ # Copyright (C) 2001-2025 Free Software Foundation, Inc.
5
+ # Written by Bruno Haible <haible@clisp.cons.org>, 2001.
6
+ #
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ # This uses the same choices as javaexec.c, but instead of relying on the
21
+ # environment settings at run time, it uses the environment variables
22
+ # present at configuration time.
23
+ #
24
+ # This is a separate shell script, because it must be able to unset JAVA_HOME
25
+ # in some cases, which a simple shell command cannot do.
26
+ #
27
+ # The extra CLASSPATH must have been set prior to calling this script.
28
+
29
+ CONF_JAVA='@CONF_JAVA@'
30
+ CONF_CLASSPATH='@CLASSPATH@'
31
+ if test -n "@HAVE_JAVA_ENVVAR@"; then
32
+ # Combine given CLASSPATH and configured CLASSPATH.
33
+ if test -n "$CLASSPATH"; then
34
+ CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+@CLASSPATH_SEPARATOR@$CONF_CLASSPATH}"
35
+ else
36
+ CLASSPATH="$CONF_CLASSPATH"
37
+ fi
38
+ export CLASSPATH
39
+ test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2
40
+ exec $CONF_JAVA "$@"
41
+ else
42
+ unset JAVA_HOME
43
+ export CLASSPATH
44
+ if test -n "@HAVE_JAVA@"; then
45
+ # In this case, $CONF_JAVA is "java".
46
+ test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2
47
+ exec $CONF_JAVA "$@"
48
+ else
49
+ if test -n "@HAVE_JRE@"; then
50
+ # In this case, $CONF_JAVA is "jre".
51
+ test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2
52
+ exec $CONF_JAVA "$@"
53
+ else
54
+ echo 'Java virtual machine not found, try setting $JAVA, then reconfigure' 1>&2
55
+ exit 1
56
+ fi
57
+ fi
58
+ fi
miniconda3/share/doc/gettext/examples/build-aux/modula2comp.m4 ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # modula2comp.m4
2
+ # serial 1
3
+ dnl Copyright (C) 2025 Free Software Foundation, Inc.
4
+ dnl This file is free software; the Free Software Foundation
5
+ dnl gives unlimited permission to copy and/or distribute it,
6
+ dnl with or without modifications, as long as this notice is preserved.
7
+ dnl This file is offered as-is, without any warranty.
8
+
9
+ # Checks for a Modula-2 implementation.
10
+ # Sets M2C and M2FLAGS (options that can be used with "$M2C").
11
+ AC_DEFUN([gt_MODULA2COMP],
12
+ [
13
+ AC_MSG_CHECKING([for GNU Modula-2 compiler])
14
+ pushdef([AC_MSG_CHECKING],[:])dnl
15
+ pushdef([AC_CHECKING],[:])dnl
16
+ pushdef([AC_MSG_RESULT],[:])dnl
17
+ AC_ARG_VAR([M2C], [Modula-2 compiler command])
18
+ AC_ARG_VAR([M2FLAGS], [Modula-2 compiler options])
19
+ AC_CHECK_TOOLS([M2C], [gm2])
20
+ popdef([AC_MSG_RESULT])dnl
21
+ popdef([AC_CHECKING])dnl
22
+ popdef([AC_MSG_CHECKING])dnl
23
+ if test -n "$M2C"; then
24
+ ac_result="$M2C"
25
+ else
26
+ ac_result="no"
27
+ fi
28
+ AC_MSG_RESULT([$ac_result])
29
+ AC_SUBST([M2C])
30
+ if test -z "$M2FLAGS" && test -n "$M2C"; then
31
+ M2FLAGS="-g -O2"
32
+ fi
33
+ AC_SUBST([M2FLAGS])
34
+ ])
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/INSTALL ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This example relies on:
2
+ - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl)
3
+ and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile),
4
+ esound (libesd), zlib (libz).
5
+ - the GTK libraries (libgtk, libgdk)
6
+ - the glib libraries (libglib, libgmodule)
7
+ - the X11 libraries
8
+ - the GTK / C++ bindings (libgtkmm, libgdkmm)
9
+ - the C++ signal/slot library (libsigc++)
10
+ - the C++ runtime libraries (libstdc++)
11
+
12
+ Installation:
13
+ ./autogen.sh
14
+ ./configure --prefix=/some/prefix
15
+ make
16
+ make install
17
+ Cleanup:
18
+ make distclean
19
+ ./autoclean.sh
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/Makefile.am ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Example for use of GNU gettext.
2
+ # This file is in the public domain.
3
+ #
4
+ # Makefile configuration - processed by automake.
5
+
6
+ # General automake options.
7
+ AUTOMAKE_OPTIONS = foreign no-dependencies
8
+ ACLOCAL_AMFLAGS = -I m4
9
+
10
+ # The list of subdirectories containing Makefiles.
11
+ SUBDIRS = m4 po
12
+
13
+ # The list of programs that are built.
14
+ bin_PROGRAMS = hello
15
+
16
+ # The source files of the 'hello' program.
17
+ hello_SOURCES = hello.cc
18
+
19
+ # Define a C macro LOCALEDIR indicating where catalogs will be installed.
20
+ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
21
+
22
+ # Make sure the gnome.h include file is found.
23
+ AM_CPPFLAGS = $(GTKMM_CFLAGS) $(GNOME_INCLUDEDIR)
24
+
25
+ # Link time dependencies.
26
+ LDADD = $(GTKMM_LIBS) $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@
27
+
28
+ # Additional files to be distributed.
29
+ EXTRA_DIST = autogen.sh autoclean.sh
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autoclean.sh ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Example for use of GNU gettext.
3
+ # This file is in the public domain.
4
+ #
5
+ # Script for cleaning all autogenerated files.
6
+
7
+ test ! -f Makefile || make distclean
8
+ rm -rf autom4te.cache
9
+
10
+ # Brought in by autopoint.
11
+ rm -f ABOUT-NLS
12
+ rm -f config.rpath
13
+ rm -f m4/gettext.m4
14
+ rm -f m4/build-to-host.m4
15
+ rm -f m4/host-cpu-c-abi.m4
16
+ rm -f m4/iconv.m4
17
+ rm -f m4/intlmacosx.m4
18
+ rm -f m4/lib-ld.m4
19
+ rm -f m4/lib-link.m4
20
+ rm -f m4/lib-prefix.m4
21
+ rm -f m4/nls.m4
22
+ rm -f m4/po.m4
23
+ rm -f m4/progtest.m4
24
+ rm -f po/Makefile.in.in
25
+ rm -f po/remove-potcdate.sed
26
+
27
+ # Generated by aclocal.
28
+ rm -f aclocal.m4
29
+
30
+ # Generated by autoconf.
31
+ rm -f configure
32
+
33
+ # Generated or brought in by automake.
34
+ rm -f Makefile.in
35
+ rm -f m4/Makefile.in
36
+ rm -f compile
37
+ rm -f install-sh
38
+ rm -f missing
39
+ rm -f config.guess
40
+ rm -f config.sub
41
+ rm -f po/*.pot
42
+ rm -f po/stamp-po
43
+ rm -f po/*.gmo
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autogen.sh ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # Example for use of GNU gettext.
3
+ # This file is in the public domain.
4
+ #
5
+ # Script for regenerating all autogenerated files.
6
+
7
+ autopoint -f # was: gettextize -f -c
8
+ rm po/Makevars.template
9
+ rm po/Rules-quot
10
+ rm po/boldquot.sed
11
+ rm po/en@boldquot.header
12
+ rm po/en@quot.header
13
+ rm po/insert-header.sed
14
+ rm po/quot.sed
15
+
16
+ aclocal -I m4
17
+
18
+ autoconf
19
+
20
+ automake -a -c
21
+
22
+ cd po
23
+ for f in *.po; do
24
+ if test -r "$f"; then
25
+ lang=`echo $f | sed -e 's,\.po$,,'`
26
+ msgfmt -c -o $lang.gmo $lang.po
27
+ fi
28
+ done
29
+ cd ..
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/configure.ac ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dnl Example for use of GNU gettext.
2
+ dnl This file is in the public domain.
3
+ dnl
4
+ dnl Configuration file - processed by autoconf.
5
+
6
+ AC_INIT([hello-c++-gnome2], [0], , [hello-c++-gnome2])
7
+ AC_CONFIG_SRCDIR([hello.cc])
8
+ AM_INIT_AUTOMAKE([1.11])
9
+
10
+ AC_PROG_CXX
11
+
12
+ GNOME_INIT
13
+ GTKMM_CFLAGS=`gtkmm-config --cflags`
14
+ AC_SUBST([GTKMM_CFLAGS])
15
+ GTKMM_LIBS=`gtkmm-config --libs`
16
+ AC_SUBST([GTKMM_LIBS])
17
+
18
+ AM_GNU_GETTEXT([external])
19
+ AM_GNU_GETTEXT_VERSION([0.25])
20
+
21
+ AC_CONFIG_FILES([Makefile])
22
+ AC_CONFIG_FILES([m4/Makefile])
23
+ AC_CONFIG_FILES([po/Makefile.in])
24
+ AC_OUTPUT
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/hello.cc ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Example for use of GNU gettext.
2
+ This file is in the public domain.
3
+
4
+ Source code of the C++ program. */
5
+
6
+
7
+ /* Get GNOME declarations. */
8
+ #include <gnome.h>
9
+ #include <gtk--.h>
10
+
11
+ /* Get getpid() declaration. */
12
+ #if defined _WIN32 && !defined __CYGWIN__
13
+ /* native Windows API */
14
+ # include <process.h>
15
+ # define getpid _getpid
16
+ #else
17
+ /* POSIX API */
18
+ # include <unistd.h>
19
+ #endif
20
+
21
+ static Gtk::Main *application;
22
+
23
+ static gint
24
+ quit_callback (GdkEventAny*)
25
+ {
26
+ application->quit ();
27
+ }
28
+
29
+ int
30
+ main (int argc, char *argv[])
31
+ {
32
+ Gtk::Window *window;
33
+ Gtk::VBox *panel;
34
+ Gtk::Label *label1;
35
+ Gtk::Alignment *label1aligned;
36
+ Gtk::Label *label2;
37
+ Gtk::Alignment *label2aligned;
38
+ Gtk::Button *button;
39
+ Gtk::HButtonBox *buttonbar;
40
+
41
+ /* Initializations. */
42
+
43
+ setlocale (LC_ALL, "");
44
+ application = new Gtk::Main (argc, argv);
45
+ textdomain ("hello-c++-gnome2");
46
+ bindtextdomain ("hello-c++-gnome2", LOCALEDIR);
47
+
48
+ /* Create the GUI elements. */
49
+
50
+ window = new Gtk::Window (GTK_WINDOW_TOPLEVEL);
51
+ window->set_title ("Hello example");
52
+ window->realize ();
53
+ window->delete_event.connect (SigC::slot (quit_callback));
54
+
55
+ label1 = new Gtk::Label (_("Hello, world!"));
56
+
57
+ label1aligned = new Gtk::Alignment (0.0, 0.5, 0, 0);
58
+ label1aligned->add (*label1);
59
+
60
+ label2 = new Gtk::Label (g_strdup_printf (_("This program is running as process number %d."), getpid ()));
61
+
62
+ label2aligned = new Gtk::Alignment (0.0, 0.5, 0, 0);
63
+ label2aligned->add (*label2);
64
+
65
+ button = new Gtk::Button ("OK");
66
+ button->clicked.connect (Gtk::Main::quit.slot()); //slot (quit_callback));
67
+
68
+ buttonbar = new Gtk::HButtonBox (GTK_BUTTONBOX_END);
69
+ buttonbar->pack_start (*button);
70
+
71
+ panel = new Gtk::VBox (false, GNOME_PAD_SMALL);
72
+ panel->pack_start (*label1aligned);
73
+ panel->pack_start (*label2aligned);
74
+ panel->pack_start (*buttonbar);
75
+
76
+ window->add (*panel);
77
+
78
+ /* Make the GUI elements visible. */
79
+
80
+ label1->show ();
81
+ label1aligned->show ();
82
+ label2->show ();
83
+ label2aligned->show ();
84
+ button->show ();
85
+ buttonbar->show ();
86
+ panel->show ();
87
+ window->show ();
88
+
89
+ /* Start the event loop. */
90
+
91
+ application->run ();
92
+ }
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/Makefile.am ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ EXTRA_DIST = \
2
+ gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \
3
+ iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \
4
+ nls.m4 po.m4 progtest.m4 \
5
+ gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4 \
6
+ gtk.m4 gtk--.m4
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-gnorba-check.m4 ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dnl
2
+ dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
3
+ dnl
4
+ dnl if failflag is "failure" it aborts if gnorba is not found.
5
+ dnl
6
+
7
+ AC_DEFUN([GNOME_GNORBA_HOOK],[
8
+ GNOME_ORBIT_HOOK([],$2)
9
+ AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
10
+ gnome_cv_gnorba_found=no
11
+ if test x$gnome_cv_orbit_found = xyes; then
12
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
13
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
14
+ if test -n "$GNORBA_LIBS"; then
15
+ gnome_cv_gnorba_found=yes
16
+ fi
17
+ fi
18
+ ])
19
+ AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
20
+ if test x$gnome_cv_orbit_found = xyes; then
21
+ $1
22
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
23
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
24
+ AC_SUBST(GNORBA_CFLAGS)
25
+ AC_SUBST(GNORBA_LIBS)
26
+ else
27
+ if test x$2 = xfailure; then
28
+ AC_MSG_ERROR(gnorba library not installed or installation problem)
29
+ fi
30
+ fi
31
+ ])
32
+
33
+ AC_DEFUN([GNOME_GNORBA_CHECK], [
34
+ GNOME_GNORBA_HOOK([],failure)
35
+ ])
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-orbit-check.m4 ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dnl
2
+ dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag)
3
+ dnl
4
+ dnl if failflag is "failure" it aborts if orbit is not found.
5
+ dnl
6
+
7
+ AC_DEFUN([GNOME_ORBIT_HOOK],[
8
+ AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no)
9
+ AC_PATH_PROG(ORBIT_IDL,orbit-idl,no)
10
+ AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[
11
+ if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
12
+ gnome_cv_orbit_found=no
13
+ else
14
+ gnome_cv_orbit_found=yes
15
+ fi
16
+ ])
17
+ AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes)
18
+ if test x$gnome_cv_orbit_found = xyes; then
19
+ $1
20
+ ORBIT_CFLAGS=`orbit-config --cflags client server`
21
+ ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
22
+ AC_SUBST(ORBIT_CFLAGS)
23
+ AC_SUBST(ORBIT_LIBS)
24
+ else
25
+ if test x$2 = xfailure; then
26
+ AC_MSG_ERROR(ORBit not installed or installation problem)
27
+ fi
28
+ fi
29
+ ])
30
+
31
+ AC_DEFUN([GNOME_ORBIT_CHECK], [
32
+ GNOME_ORBIT_HOOK([],failure)
33
+ ])
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome.m4 ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dnl
2
+ dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits])
3
+ dnl
4
+ dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh
5
+ dnl is not found.
6
+ dnl
7
+
8
+ AC_DEFUN([GNOME_INIT_HOOK],[
9
+ AC_SUBST(GNOME_LIBS)
10
+ AC_SUBST(GNOMEUI_LIBS)
11
+ AC_SUBST(GNOMEGNORBA_LIBS)
12
+ AC_SUBST(GTKXMHTML_LIBS)
13
+ AC_SUBST(ZVT_LIBS)
14
+ AC_SUBST(GNOME_LIBDIR)
15
+ AC_SUBST(GNOME_INCLUDEDIR)
16
+
17
+ AC_ARG_WITH(gnome-includes,
18
+ [ --with-gnome-includes Specify location of GNOME headers],[
19
+ CFLAGS="$CFLAGS -I$withval"
20
+ ])
21
+
22
+ AC_ARG_WITH(gnome-libs,
23
+ [ --with-gnome-libs Specify location of GNOME libs],[
24
+ LDFLAGS="$LDFLAGS -L$withval"
25
+ gnome_prefix=$withval
26
+ ])
27
+
28
+ AC_ARG_WITH(gnome,
29
+ [ --with-gnome Specify prefix for GNOME files],
30
+ if test x$withval = xyes; then
31
+ want_gnome=yes
32
+ dnl Note that an empty true branch is not
33
+ dnl valid sh syntax.
34
+ ifelse([$1], [], :, [$1])
35
+ else
36
+ if test "x$withval" = xno; then
37
+ want_gnome=no
38
+ else
39
+ want_gnome=yes
40
+ LDFLAGS="$LDFLAGS -L$withval/lib"
41
+ CFLAGS="$CFLAGS -I$withval/include"
42
+ gnome_prefix=$withval/lib
43
+ fi
44
+ fi,
45
+ want_gnome=yes)
46
+
47
+ if test "x$want_gnome" = xyes; then
48
+
49
+ AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
50
+ if test "$GNOME_CONFIG" = "no"; then
51
+ no_gnome_config="yes"
52
+ else
53
+ AC_MSG_CHECKING(if $GNOME_CONFIG works)
54
+ if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
55
+ AC_MSG_RESULT(yes)
56
+ GNOME_GNORBA_HOOK([],$2)
57
+ GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
58
+ GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
59
+ GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
60
+ GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
61
+ ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
62
+ GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
63
+ GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
64
+ $1
65
+ else
66
+ AC_MSG_RESULT(no)
67
+ no_gnome_config="yes"
68
+ fi
69
+ fi
70
+
71
+ if test x$exec_prefix = xNONE; then
72
+ if test x$prefix = xNONE; then
73
+ gnome_prefix=$ac_default_prefix/lib
74
+ else
75
+ gnome_prefix=$prefix/lib
76
+ fi
77
+ else
78
+ gnome_prefix=`eval echo \`echo $libdir\``
79
+ fi
80
+
81
+ if test "$no_gnome_config" = "yes"; then
82
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
83
+ if test -f $gnome_prefix/gnomeConf.sh; then
84
+ AC_MSG_RESULT(found)
85
+ echo "loading gnome configuration from" \
86
+ "$gnome_prefix/gnomeConf.sh"
87
+ . $gnome_prefix/gnomeConf.sh
88
+ $1
89
+ else
90
+ AC_MSG_RESULT(not found)
91
+ if test x$2 = xfail; then
92
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
93
+ fi
94
+ fi
95
+ fi
96
+ fi
97
+
98
+ if test -n "$3"; then
99
+ n="$3"
100
+ for i in $n; do
101
+ AC_MSG_CHECKING(extra library \"$i\")
102
+ case $i in
103
+ applets)
104
+ AC_SUBST(GNOME_APPLETS_LIBS)
105
+ GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
106
+ AC_MSG_RESULT($GNOME_APPLETS_LIBS);;
107
+ docklets)
108
+ AC_SUBST(GNOME_DOCKLETS_LIBS)
109
+ GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
110
+ AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);;
111
+ capplet)
112
+ AC_SUBST(GNOME_CAPPLET_LIBS)
113
+ GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
114
+ AC_MSG_RESULT($GNOME_CAPPLET_LIBS);;
115
+ *)
116
+ AC_MSG_RESULT(unknown library)
117
+ esac
118
+ done
119
+ fi
120
+ ])
121
+
122
+ dnl
123
+ dnl GNOME_INIT ([additional-inits])
124
+ dnl
125
+
126
+ AC_DEFUN([GNOME_INIT],[
127
+ GNOME_INIT_HOOK([],fail,$1)
128
+ ])
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk--.m4 ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Configure paths for GTK--
2
+ # Erik Andersen 30 May 1998
3
+ # Modified by Tero Pulkkinen (added the compiler checks... I hope they work..)
4
+ # Modified by Thomas Langen 16 Jan 2000 (corrected CXXFLAGS)
5
+
6
+ dnl Test for GTKMM, and define GTKMM_CFLAGS and GTKMM_LIBS
7
+ dnl to be used as follows:
8
+ dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
9
+ dnl
10
+ AC_DEFUN([AM_PATH_GTKMM],
11
+ [dnl
12
+ dnl Get the cflags and libraries from the gtkmm-config script
13
+ dnl
14
+ AC_ARG_WITH(gtkmm-prefix,[ --with-gtkmm-prefix=PREFIX
15
+ Prefix where GTK-- is installed (optional)],
16
+ gtkmm_config_prefix="$withval", gtkmm_config_prefix="")
17
+ AC_ARG_WITH(gtkmm-exec-prefix,[ --with-gtkmm-exec-prefix=PREFIX
18
+ Exec prefix where GTK-- is installed (optional)],
19
+ gtkmm_config_exec_prefix="$withval", gtkmm_config_exec_prefix="")
20
+ AC_ARG_ENABLE(gtkmmtest, [ --disable-gtkmmtest Do not try to compile and run a test GTK-- program],
21
+ , enable_gtkmmtest=yes)
22
+
23
+ if test x$gtkmm_config_exec_prefix != x ; then
24
+ gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
25
+ if test x${GTKMM_CONFIG+set} != xset ; then
26
+ GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config
27
+ fi
28
+ fi
29
+ if test x$gtkmm_config_prefix != x ; then
30
+ gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
31
+ if test x${GTKMM_CONFIG+set} != xset ; then
32
+ GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config
33
+ fi
34
+ fi
35
+
36
+ AC_PATH_PROG(GTKMM_CONFIG, gtkmm-config, no)
37
+ min_gtkmm_version=ifelse([$1], ,0.10.0,$1)
38
+
39
+ AC_MSG_CHECKING(for GTK-- - version >= $min_gtkmm_version)
40
+ AC_LANG_SAVE
41
+ no_gtkmm=""
42
+ if test "$GTKMM_CONFIG" = "no" ; then
43
+ no_gtkmm=yes
44
+ else
45
+ AC_LANG_CPLUSPLUS
46
+
47
+ GTKMM_CFLAGS=`$GTKMM_CONFIG $gtkmm_config_args --cflags`
48
+ GTKMM_LIBS=`$GTKMM_CONFIG $gtkmm_config_args --libs`
49
+ gtkmm_config_major_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
50
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
51
+ gtkmm_config_minor_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
52
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
53
+ gtkmm_config_micro_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
54
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
55
+ if test "x$enable_gtkmmtest" = "xyes" ; then
56
+ ac_save_CXXFLAGS="$CXXFLAGS"
57
+ ac_save_LIBS="$LIBS"
58
+ CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS"
59
+ LIBS="$LIBS $GTKMM_LIBS"
60
+ dnl
61
+ dnl Now check if the installed GTK-- is sufficiently new. (Also sanity
62
+ dnl checks the results of gtkmm-config to some extent
63
+ dnl
64
+ rm -f conf.gtkmmtest
65
+ AC_TRY_RUN([
66
+ #include <gtk--.h>
67
+ #include <stdio.h>
68
+ #include <stdlib.h>
69
+
70
+ int
71
+ main ()
72
+ {
73
+ int major, minor, micro;
74
+ char *tmp_version;
75
+
76
+ system ("touch conf.gtkmmtest");
77
+
78
+ /* HP/UX 0 (%@#!) writes to sscanf strings */
79
+ tmp_version = g_strdup("$min_gtkmm_version");
80
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
81
+ printf("%s, bad version string\n", "$min_gtkmm_version");
82
+ exit(1);
83
+ }
84
+
85
+ if ((gtkmm_major_version != $gtkmm_config_major_version) ||
86
+ (gtkmm_minor_version != $gtkmm_config_minor_version) ||
87
+ (gtkmm_micro_version != $gtkmm_config_micro_version))
88
+ {
89
+ printf("\n*** 'gtkmm-config --version' returned %d.%d.%d, but GTK-- (%d.%d.%d)\n",
90
+ $gtkmm_config_major_version, $gtkmm_config_minor_version, $gtkmm_config_micro_version,
91
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
92
+ printf ("*** was found! If gtkmm-config was correct, then it is best\n");
93
+ printf ("*** to remove the old version of GTK--. You may also be able to fix the error\n");
94
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
95
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
96
+ printf("*** required on your system.\n");
97
+ printf("*** If gtkmm-config was wrong, set the environment variable GTKMM_CONFIG\n");
98
+ printf("*** to point to the correct copy of gtkmm-config, and remove the file config.cache\n");
99
+ printf("*** before re-running configure\n");
100
+ }
101
+ /* GTK-- does not have the GTKMM_*_VERSION constants */
102
+ /*
103
+ else if ((gtkmm_major_version != GTKMM_MAJOR_VERSION) ||
104
+ (gtkmm_minor_version != GTKMM_MINOR_VERSION) ||
105
+ (gtkmm_micro_version != GTKMM_MICRO_VERSION))
106
+ {
107
+ printf("*** GTK-- header files (version %d.%d.%d) do not match\n",
108
+ GTKMM_MAJOR_VERSION, GTKMM_MINOR_VERSION, GTKMM_MICRO_VERSION);
109
+ printf("*** library (version %d.%d.%d)\n",
110
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
111
+ }
112
+ */
113
+ else
114
+ {
115
+ if ((gtkmm_major_version > major) ||
116
+ ((gtkmm_major_version == major) && (gtkmm_minor_version > minor)) ||
117
+ ((gtkmm_major_version == major) && (gtkmm_minor_version == minor) && (gtkmm_micro_version >= micro)))
118
+ {
119
+ return 0;
120
+ }
121
+ else
122
+ {
123
+ printf("\n*** An old version of GTK-- (%d.%d.%d) was found.\n",
124
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
125
+ printf("*** You need a version of GTK-- newer than %d.%d.%d. The latest version of\n",
126
+ major, minor, micro);
127
+ printf("*** GTK-- is always available from ftp://ftp.gtk.org.\n");
128
+ printf("***\n");
129
+ printf("*** If you have already installed a sufficiently new version, this error\n");
130
+ printf("*** probably means that the wrong copy of the gtkmm-config shell script is\n");
131
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
132
+ printf("*** of GTK--, but you can also set the GTKMM_CONFIG environment to point to the\n");
133
+ printf("*** correct copy of gtkmm-config. (In this case, you will have to\n");
134
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
135
+ printf("*** so that the correct libraries are found at run-time))\n");
136
+ }
137
+ }
138
+ return 1;
139
+ }
140
+ ],, no_gtkmm=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
141
+ CXXFLAGS="$ac_save_CXXFLAGS"
142
+ LIBS="$ac_save_LIBS"
143
+ fi
144
+ fi
145
+ if test "x$no_gtkmm" = x ; then
146
+ AC_MSG_RESULT(yes)
147
+ ifelse([$2], , :, [$2])
148
+ else
149
+ AC_MSG_RESULT(no)
150
+ if test "$GTKMM_CONFIG" = "no" ; then
151
+ echo "*** The gtkmm-config script installed by GTK-- could not be found"
152
+ echo "*** If GTK-- was installed in PREFIX, make sure PREFIX/bin is in"
153
+ echo "*** your path, or set the GTKMM_CONFIG environment variable to the"
154
+ echo "*** full path to gtkmm-config."
155
+ echo "*** The gtkmm-config script was not available in GTK-- versions"
156
+ echo "*** prior to 0.9.12. Perhaps you need to update your installed"
157
+ echo "*** version to 0.9.12 or later"
158
+ else
159
+ if test -f conf.gtkmmtest ; then
160
+ :
161
+ else
162
+ echo "*** Could not run GTK-- test program, checking why..."
163
+ CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS"
164
+ LIBS="$LIBS $GTKMM_LIBS"
165
+ AC_TRY_LINK([
166
+ #include <gtk--.h>
167
+ #include <stdio.h>
168
+ ], [ return ((gtkmm_major_version) || (gtkmm_minor_version) || (gtkmm_micro_version)); ],
169
+ [ echo "*** The test program compiled, but did not run. This usually means"
170
+ echo "*** that the run-time linker is not finding GTK-- or finding the wrong"
171
+ echo "*** version of GTK--. If it is not finding GTK--, you'll need to set your"
172
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
173
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
174
+ echo "*** is required on your system"
175
+ echo "***"
176
+ echo "*** If you have an old version installed, it is best to remove it, although"
177
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
178
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
179
+ echo "*** exact error that occured. This usually means GTK-- was incorrectly installed"
180
+ echo "*** or that you have moved GTK-- since it was installed. In the latter case, you"
181
+ echo "*** may want to edit the gtkmm-config script: $GTKMM_CONFIG" ])
182
+ CXXFLAGS="$ac_save_CXXFLAGS"
183
+ LIBS="$ac_save_LIBS"
184
+ fi
185
+ fi
186
+ GTKMM_CFLAGS=""
187
+ GTKMM_LIBS=""
188
+ ifelse([$3], , :, [$3])
189
+ fi
190
+ AC_LANG_RESTORE
191
+ AC_SUBST(GTKMM_CFLAGS)
192
+ AC_SUBST(GTKMM_LIBS)
193
+ rm -f conf.gtkmmtest
194
+ ])
195
+
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk.m4 ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Configure paths for GTK+
2
+ # Owen Taylor 97-11-3
3
+
4
+ dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5
+ dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
6
+ dnl
7
+ AC_DEFUN([AM_PATH_GTK],
8
+ [dnl
9
+ dnl Get the cflags and libraries from the gtk-config script
10
+ dnl
11
+ AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
12
+ gtk_config_prefix="$withval", gtk_config_prefix="")
13
+ AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
14
+ gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
15
+ AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
16
+ , enable_gtktest=yes)
17
+
18
+ for module in . $4
19
+ do
20
+ case "$module" in
21
+ gthread)
22
+ gtk_config_args="$gtk_config_args gthread"
23
+ ;;
24
+ esac
25
+ done
26
+
27
+ if test x$gtk_config_exec_prefix != x ; then
28
+ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29
+ if test x${GTK_CONFIG+set} != xset ; then
30
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31
+ fi
32
+ fi
33
+ if test x$gtk_config_prefix != x ; then
34
+ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
35
+ if test x${GTK_CONFIG+set} != xset ; then
36
+ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
37
+ fi
38
+ fi
39
+
40
+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
41
+ min_gtk_version=ifelse([$1], ,0.99.7,$1)
42
+ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
43
+ no_gtk=""
44
+ if test "$GTK_CONFIG" = "no" ; then
45
+ no_gtk=yes
46
+ else
47
+ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
48
+ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
49
+ gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
50
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
51
+ gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
52
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
53
+ gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
54
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
55
+ if test "x$enable_gtktest" = "xyes" ; then
56
+ ac_save_CFLAGS="$CFLAGS"
57
+ ac_save_LIBS="$LIBS"
58
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
59
+ LIBS="$GTK_LIBS $LIBS"
60
+ dnl
61
+ dnl Now check if the installed GTK is sufficiently new. (Also sanity
62
+ dnl checks the results of gtk-config to some extent
63
+ dnl
64
+ rm -f conf.gtktest
65
+ AC_TRY_RUN([
66
+ #include <gtk/gtk.h>
67
+ #include <stdio.h>
68
+ #include <stdlib.h>
69
+
70
+ int
71
+ main ()
72
+ {
73
+ int major, minor, micro;
74
+ char *tmp_version;
75
+
76
+ system ("touch conf.gtktest");
77
+
78
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
79
+ tmp_version = g_strdup("$min_gtk_version");
80
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
81
+ printf("%s, bad version string\n", "$min_gtk_version");
82
+ exit(1);
83
+ }
84
+
85
+ if ((gtk_major_version != $gtk_config_major_version) ||
86
+ (gtk_minor_version != $gtk_config_minor_version) ||
87
+ (gtk_micro_version != $gtk_config_micro_version))
88
+ {
89
+ printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
90
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
91
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
92
+ printf ("*** was found! If gtk-config was correct, then it is best\n");
93
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
94
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
95
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
96
+ printf("*** required on your system.\n");
97
+ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
98
+ printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
99
+ printf("*** before re-running configure\n");
100
+ }
101
+ #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
102
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
103
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
104
+ (gtk_micro_version != GTK_MICRO_VERSION))
105
+ {
106
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
107
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
108
+ printf("*** library (version %d.%d.%d)\n",
109
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
110
+ }
111
+ #endif /* defined (GTK_MAJOR_VERSION) ... */
112
+ else
113
+ {
114
+ if ((gtk_major_version > major) ||
115
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
116
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
117
+ {
118
+ return 0;
119
+ }
120
+ else
121
+ {
122
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
123
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
124
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
125
+ major, minor, micro);
126
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
127
+ printf("***\n");
128
+ printf("*** If you have already installed a sufficiently new version, this error\n");
129
+ printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
130
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
131
+ printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
132
+ printf("*** correct copy of gtk-config. (In this case, you will have to\n");
133
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
134
+ printf("*** so that the correct libraries are found at run-time))\n");
135
+ }
136
+ }
137
+ return 1;
138
+ }
139
+ ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
140
+ CFLAGS="$ac_save_CFLAGS"
141
+ LIBS="$ac_save_LIBS"
142
+ fi
143
+ fi
144
+ if test "x$no_gtk" = x ; then
145
+ AC_MSG_RESULT(yes)
146
+ ifelse([$2], , :, [$2])
147
+ else
148
+ AC_MSG_RESULT(no)
149
+ if test "$GTK_CONFIG" = "no" ; then
150
+ echo "*** The gtk-config script installed by GTK could not be found"
151
+ echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
152
+ echo "*** your path, or set the GTK_CONFIG environment variable to the"
153
+ echo "*** full path to gtk-config."
154
+ else
155
+ if test -f conf.gtktest ; then
156
+ :
157
+ else
158
+ echo "*** Could not run GTK test program, checking why..."
159
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
160
+ LIBS="$LIBS $GTK_LIBS"
161
+ AC_TRY_LINK([
162
+ #include <gtk/gtk.h>
163
+ #include <stdio.h>
164
+ ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
165
+ [ echo "*** The test program compiled, but did not run. This usually means"
166
+ echo "*** that the run-time linker is not finding GTK or finding the wrong"
167
+ echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
168
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
169
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
170
+ echo "*** is required on your system"
171
+ echo "***"
172
+ echo "*** If you have an old version installed, it is best to remove it, although"
173
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
174
+ echo "***"
175
+ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
176
+ echo "*** came with the system with the command"
177
+ echo "***"
178
+ echo "*** rpm --erase --nodeps gtk gtk-devel" ],
179
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
180
+ echo "*** exact error that occured. This usually means GTK was incorrectly installed"
181
+ echo "*** or that you have moved GTK since it was installed. In the latter case, you"
182
+ echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
183
+ CFLAGS="$ac_save_CFLAGS"
184
+ LIBS="$ac_save_LIBS"
185
+ fi
186
+ fi
187
+ GTK_CFLAGS=""
188
+ GTK_LIBS=""
189
+ ifelse([$3], , :, [$3])
190
+ fi
191
+ AC_SUBST(GTK_CFLAGS)
192
+ AC_SUBST(GTK_LIBS)
193
+ rm -f conf.gtktest
194
+ ])
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/LINGUAS ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Example for use of GNU gettext.
2
+ # This file is in the public domain.
3
+ #
4
+ # Set of available languages.
5
+ af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/Makevars ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Makefile variables for PO directory in any package using GNU gettext.
2
+ #
3
+ # Copyright (C) 2003-2025 Free Software Foundation, Inc.
4
+ # This file is free software; the Free Software Foundation gives
5
+ # unlimited permission to use, copy, distribute, and modify it.
6
+
7
+ # Usually the message domain is the same as the package name.
8
+ DOMAIN = $(PACKAGE)
9
+
10
+ # These two variables depend on the location of this directory.
11
+ subdir = po
12
+ top_builddir = ..
13
+
14
+ # These options get passed to xgettext.
15
+ XGETTEXT_OPTIONS = \
16
+ --keyword=_ --flag=_:1:pass-c-format \
17
+ --keyword=N_ --flag=N_:1:pass-c-format \
18
+ --flag=g_log:3:c-format --flag=g_logv:3:c-format \
19
+ --flag=g_error:1:c-format --flag=g_message:1:c-format \
20
+ --flag=g_critical:1:c-format --flag=g_warning:1:c-format \
21
+ --flag=g_print:1:c-format \
22
+ --flag=g_printerr:1:c-format \
23
+ --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \
24
+ --flag=g_printf_string_upper_bound:1:c-format \
25
+ --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \
26
+ --flag=g_string_sprintf:2:c-format \
27
+ --flag=g_string_sprintfa:2:c-format \
28
+ --flag=g_scanner_error:2:c-format \
29
+ --flag=g_scanner_warn:2:c-format
30
+
31
+ # This is the copyright holder that gets inserted into the header of the
32
+ # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
33
+ # package. (Note that the msgid strings, extracted from the package's
34
+ # sources, belong to the copyright holder of the package.) Translators are
35
+ # expected to transfer the copyright for their translations to this person
36
+ # or entity, or to disclaim their copyright. The empty string stands for
37
+ # the public domain; in this case the translators are expected to disclaim
38
+ # their copyright.
39
+ COPYRIGHT_HOLDER = Yoyodyne, Inc.
40
+
41
+ # This tells whether or not to prepend "GNU " prefix to the package
42
+ # name that gets inserted into the header of the $(DOMAIN).pot file.
43
+ # Possible values are "yes", "no", or empty. If it is empty, try to
44
+ # detect it automatically by scanning the files in $(top_srcdir) for
45
+ # "GNU packagename" string.
46
+ PACKAGE_GNU = no
47
+
48
+ # This is the email address or URL to which the translators shall report
49
+ # bugs in the untranslated strings:
50
+ # - Strings which are not entire sentences, see the maintainer guidelines
51
+ # in the GNU gettext documentation, section 'Preparing Strings'.
52
+ # - Strings which use unclear terms or require additional context to be
53
+ # understood.
54
+ # - Strings which make invalid assumptions about notation of date, time or
55
+ # money.
56
+ # - Pluralisation problems.
57
+ # - Incorrect English spelling.
58
+ # - Incorrect formatting.
59
+ # It can be your email address, or a mailing list address where translators
60
+ # can write to without being subscribed, or the URL of a web page through
61
+ # which the translators can contact you.
62
+ MSGID_BUGS_ADDRESS = bug-gettext@gnu.org
63
+
64
+ # This is the list of locale categories, beyond LC_MESSAGES, for which the
65
+ # message catalogs shall be used. It is usually empty.
66
+ EXTRA_LOCALE_CATEGORIES =
67
+
68
+ # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
69
+ # context. Possible values are "yes" and "no". Set this to yes if the
70
+ # package uses functions taking also a message context, like pgettext(), or
71
+ # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
72
+ USE_MSGCTXT = no
73
+
74
+ # These options get passed to msgmerge.
75
+ # Useful options are in particular:
76
+ # --previous to keep previous msgids of translated messages
77
+ MSGMERGE_OPTIONS =
78
+
79
+ # These options get passed to msginit.
80
+ # If you want to disable line wrapping when writing PO files, add
81
+ # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
82
+ # MSGINIT_OPTIONS.
83
+ MSGINIT_OPTIONS =
84
+
85
+ # This tells whether or not to regenerate a PO file when $(DOMAIN).pot
86
+ # has changed. Possible values are "yes" and "no". Set this to no if
87
+ # the POT file is checked in the repository and the version control
88
+ # program ignores timestamps.
89
+ PO_DEPENDS_ON_POT = yes
90
+
91
+ # This tells whether or not to forcibly update $(DOMAIN).pot and
92
+ # regenerate PO files on "make dist". Possible values are "yes" and
93
+ # "no". Set this to no if the POT file and PO files are maintained
94
+ # externally.
95
+ DIST_DEPENDS_ON_UPDATE_PO = yes
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/POTFILES.in ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Example for use of GNU gettext.
2
+ # This file is in the public domain.
3
+ #
4
+ # List of files which contain translatable strings.
5
+ hello.cc
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/af.po ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Afrikaans translation for Silky
2
+ # Copyright (C) 2004 Free Software Foundation, Inc.
3
+ # This file is distributed under the same license as the silky package.
4
+ # Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hello-c++-gnome2-0.13.1\n"
9
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
10
+ "PO-Revision-Date: 2003-12-31 10:30+2\n"
11
+ "Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
12
+ "Language-Team: Afrikaans <i18n@af.org.za>\n"
13
+ "Language: af\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
18
+
19
+ #: hello.cc:55
20
+ msgid "Hello, world!"
21
+ msgstr "Hallo wêreld!"
22
+
23
+ #: hello.cc:60
24
+ #, c-format
25
+ msgid "This program is running as process number %d."
26
+ msgstr "Hierdie program loop as prosesnommer %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ast.po ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Asturian translation for hello-c++-gnome2
2
+ # Copyright (C) 2018 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ #
5
+ # Marquinos <maacub@gmail.com>, 2009.
6
+ # enolp <enolp@softastur.org>, 2018.
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hello-c++-gnome2 0.19.4.73\n"
10
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
11
+ "PO-Revision-Date: 2018-07-16 00:28+0100\n"
12
+ "Last-Translator: enolp <enolp@softastur.org>\n"
13
+ "Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
14
+ "Language: ast\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
19
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
+ "X-Generator: Lokalize 2.0\n"
21
+
22
+ #: hello.cc:55
23
+ msgid "Hello, world!"
24
+ msgstr "¡Hola, mundu!"
25
+
26
+ #: hello.cc:60
27
+ #, c-format
28
+ msgid "This program is running as process number %d."
29
+ msgstr "Esti programa ta executándose como procesu númberu %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/bg.po ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Bulgarian translations for hello-c++-gnome2 package.
2
+ # Copyright (C) 2010 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ # Roumen Petrov <transl@roumenpetrov.info>, 2010,2014,2015,2019,2023,2024.2025.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: GNU hello-c++-gnome2 0.24-pre1\n"
9
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
10
+ "PO-Revision-Date: 2025-03-08 19:09+0200\n"
11
+ "Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
12
+ "Language-Team: Bulgarian <dict@ludost.net>\n"
13
+ "Language: bg\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
18
+
19
+ #: hello.cc:55
20
+ msgid "Hello, world!"
21
+ msgstr "Здравейте всички!"
22
+
23
+ #: hello.cc:60
24
+ #, c-format
25
+ msgid "This program is running as process number %d."
26
+ msgstr "Програмата е пусната под процес номер %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ca.po ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Catalan messages for GNU hello-c++-gnome2.
2
+ # Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ # Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014, 2015, 2023.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hello-c++-gnome2 0.22\n"
9
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
10
+ "PO-Revision-Date: 2023-07-07 08:36+0200\n"
11
+ "Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
12
+ "Language-Team: Catalan <ca@dodds.net>\n"
13
+ "Language: ca\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
20
+ #: hello.cc:55
21
+ msgid "Hello, world!"
22
+ msgstr "Hola, món!"
23
+
24
+ #: hello.cc:60
25
+ #, c-format
26
+ msgid "This program is running as process number %d."
27
+ msgstr "Aquest programa està corrent amb el número de procés %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/cs.po ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The Czech translation for the gettext package.
2
+ # Copyright (C) 2011 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ #
5
+ # Marek Černocký <marek@manet.cz>, 2011.
6
+ # Petr Písař <petr.pisar@atlas.cz>, 2025.
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: hello-c++-gnome2 0.25-pre1\n"
11
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
12
+ "PO-Revision-Date: 2025-04-28 20:05+02:00\n"
13
+ "Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
14
+ "Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
15
+ "Language: cs\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
20
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
21
+
22
+ #: hello.cc:55
23
+ msgid "Hello, world!"
24
+ msgstr "Ahoj světe!"
25
+
26
+ #: hello.cc:60
27
+ #, c-format
28
+ msgid "This program is running as process number %d."
29
+ msgstr "Tento program běží jako proces číslo %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/da.po ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Danish messages for hello-c++-gnome2.
2
+ # Copyright (C) 2015 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ # Jan Djærv <jan.h.d@swipnet.se>, 2003, 2006.
5
+ # Keld Simonsen <keld@keldix.com>, 2011.
6
+ # Joe Hansen <joedalton2@yahoo.dk>, 2015.
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Project-Id-Version: hello-c++-gnome2 0.19.4.73\n"
11
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
12
+ "PO-Revision-Date: 2015-06-27 12:39+0100\n"
13
+ "Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
14
+ "Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
15
+ "Language: da\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
20
+
21
+ #: hello.cc:55
22
+ msgid "Hello, world!"
23
+ msgstr "Hej verden!"
24
+
25
+ #: hello.cc:60
26
+ #, c-format
27
+ msgid "This program is running as process number %d."
28
+ msgstr "Dette program kører som proces nummer %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/de.po ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # German messages for hello-c++-gnome2.
2
+ # Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ #
5
+ # Bruno Haible <bruno@clisp.org>, 2003.
6
+ # Karl Eichwalder <ke@gnu.franken.de>, 2003.
7
+ # Jakob Kramer <jakob.kramer@gmx.de>, 2013.
8
+ # Mario Blättermann <mario.blaettermann@gmail.com>, 2014, 2023, 2025.
9
+ # Philipp Thomas <pth@suse.de>, 2015.
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: hello-c++-gnome2 0.25-pre1\n"
13
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
14
+ "PO-Revision-Date: 2025-04-28 17:15+0200\n"
15
+ "Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
16
+ "Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
17
+ "Language: de\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
22
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
+ "X-Generator: Lokalize 25.04.0\n"
24
+
25
+ #: hello.cc:55
26
+ msgid "Hello, world!"
27
+ msgstr "Hallo Welt!"
28
+
29
+ #: hello.cc:60
30
+ #, c-format
31
+ msgid "This program is running as process number %d."
32
+ msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/el.po ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Greek translation of hello-c++-gnome2
2
+ # Copyright (C) 2005 Free Software Foundation, Inc.
3
+ # Simos Xenitellis <simos74@gmx.net>, 2005.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: hello-c++-gnome2 0.14.1\n"
8
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
9
+ "PO-Revision-Date: 2005-01-06 18:50+0000\n"
10
+ "Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
11
+ "Language-Team: Greek <nls@tux.hellug.gr>\n"
12
+ "Language: el\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
17
+ "X-Generator: KBabel 1.3.1\n"
18
+
19
+ #: hello.cc:55
20
+ msgid "Hello, world!"
21
+ msgstr "Γεια σου, κόσμε!"
22
+
23
+ #: hello.cc:60
24
+ #, c-format
25
+ msgid "This program is running as process number %d."
26
+ msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/eo.po ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # La teksto por la mesaĝoj de la programo "gettext".
2
+ # Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids)
3
+ # This file is distributed under the same license as the gettext package.
4
+ # Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
5
+ # Felipe CASTRO <fefcas@gmail.com>, 2016, 2023.
6
+ #
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hello-c++-gnome2 0.22\n"
10
+ "Report-Msgid-Bugs-To: bug-gettext@gnu.org\n"
11
+ "PO-Revision-Date: 2023-06-23 19:00-0300\n"
12
+ "Last-Translator: Felipe Castro <fefcas@gmail.com>\n"
13
+ "Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
14
+ "Language: eo\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Bugs: Report translation errors to the Language-Team address.\n"
19
+ "X-Generator: Poedit 2.4.2\n"
20
+
21
+ #: hello.cc:55
22
+ msgid "Hello, world!"
23
+ msgstr "Saluton, mondo!"
24
+
25
+ #: hello.cc:60
26
+ #, c-format
27
+ msgid "This program is running as process number %d."
28
+ msgstr "Ĉi tiu programo rulas kiel procez-numero %d."