Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:gloobus/trunk |
Merge into: | lp:gloobus |
Diff against target: |
11906 lines (+8882/-970) 62 files modified
gloobus-preview/ABOUT-NLS (+1068/-0) gloobus-preview/ChangeLog (+6/-0) gloobus-preview/Makefile.am (+5/-1) gloobus-preview/Makefile.in (+23/-4) gloobus-preview/aclocal.m4 (+2197/-0) gloobus-preview/config.h.in (+25/-0) gloobus-preview/config.rpath (+666/-0) gloobus-preview/configure (+2998/-936) gloobus-preview/configure.ac (+8/-4) gloobus-preview/data/Makefile.in (+17/-0) gloobus-preview/data/icons/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/16x16/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/16x16/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/22x22/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/22x22/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/24x24/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/24x24/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/32x32/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/32x32/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/48x48/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/48x48/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/64x64/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/64x64/apps/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/scalable/Makefile.in (+17/-0) gloobus-preview/data/icons/hicolor/scalable/apps/Makefile.in (+17/-0) gloobus-preview/data/images/Makefile.in (+17/-0) gloobus-preview/m4/ChangeLog (+11/-0) gloobus-preview/po/LINGUAS (+9/-0) gloobus-preview/po/Makefile.in.in (+433/-0) gloobus-preview/po/Makevars (+41/-0) gloobus-preview/po/POTFILES.in (+14/-0) gloobus-preview/po/ca.po (+70/-0) gloobus-preview/po/de.po (+70/-0) gloobus-preview/po/es.po (+70/-0) gloobus-preview/po/fr.po (+70/-0) gloobus-preview/po/gloobus-preview.pot (+69/-0) gloobus-preview/po/it.po (+70/-0) gloobus-preview/po/nb.po (+70/-0) gloobus-preview/po/nl.po (+70/-0) gloobus-preview/po/pl.po (+70/-0) gloobus-preview/po/pt_BR.po (+70/-0) gloobus-preview/po/vi.po (+70/-0) gloobus-preview/po/zh_CN.po (+70/-0) gloobus-preview/src/Makefile.am (+1/-1) gloobus-preview/src/Makefile.in (+18/-1) gloobus-preview/src/gloobus-preview-interface-main.cpp (+2/-2) gloobus-preview/src/gloobus-preview-interface-main.h (+5/-0) gloobus-preview/src/gloobus-preview-main.cpp (+15/-9) gloobus-preview/src/gloobus-preview-window.cpp (+14/-10) gloobus-preview/src/plugin-comic/Makefile.in (+17/-0) gloobus-preview/src/plugin-folder/Makefile.in (+17/-0) gloobus-preview/src/plugin-folder/plugin-folder.cpp (+2/-2) gloobus-preview/src/plugin-folder/plugin-folder.h (+6/-0) gloobus-preview/src/plugin-gstreamer-audio/Makefile.in (+17/-0) gloobus-preview/src/plugin-gstreamer-video/Makefile.in (+17/-0) gloobus-preview/src/plugin-icns/Makefile.in (+17/-0) gloobus-preview/src/plugin-openoffice/Makefile.in (+17/-0) gloobus-preview/src/plugin-pdf/Makefile.in (+17/-0) gloobus-preview/src/plugin-pixbuf/Makefile.in (+17/-0) gloobus-preview/src/plugin-text/Makefile.in (+17/-0) gloobus-preview/src/plugin-ttf/Makefile.in (+17/-0) |
To merge this branch: | bzr merge lp:gloobus/trunk |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
BadChoice | Approve | ||
Review via email: mp+14743@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
BadChoice (guitarboy000) : | # |
review:
Approve
lp:gloobus/trunk
updated
- 217. By Launchpad Code Hosting <codehost@crowberry>
-
Launchpad automatic translations update.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'gloobus-preview/ABOUT-NLS' |
2 | --- gloobus-preview/ABOUT-NLS 1970-01-01 00:00:00 +0000 |
3 | +++ gloobus-preview/ABOUT-NLS 2009-11-12 04:38:08 +0000 |
4 | @@ -0,0 +1,1068 @@ |
5 | +1 Notes on the Free Translation Project |
6 | +*************************************** |
7 | + |
8 | +Free software is going international! The Free Translation Project is |
9 | +a way to get maintainers of free software, translators, and users all |
10 | +together, so that free software will gradually become able to speak many |
11 | +languages. A few packages already provide translations for their |
12 | +messages. |
13 | + |
14 | + If you found this `ABOUT-NLS' file inside a distribution, you may |
15 | +assume that the distributed package does use GNU `gettext' internally, |
16 | +itself available at your nearest GNU archive site. But you do _not_ |
17 | +need to install GNU `gettext' prior to configuring, installing or using |
18 | +this package with messages translated. |
19 | + |
20 | + Installers will find here some useful hints. These notes also |
21 | +explain how users should proceed for getting the programs to use the |
22 | +available translations. They tell how people wanting to contribute and |
23 | +work on translations can contact the appropriate team. |
24 | + |
25 | + When reporting bugs in the `intl/' directory or bugs which may be |
26 | +related to internationalization, you should tell about the version of |
27 | +`gettext' which is used. The information can be found in the |
28 | +`intl/VERSION' file, in internationalized packages. |
29 | + |
30 | +1.1 Quick configuration advice |
31 | +============================== |
32 | + |
33 | +If you want to exploit the full power of internationalization, you |
34 | +should configure it using |
35 | + |
36 | + ./configure --with-included-gettext |
37 | + |
38 | +to force usage of internationalizing routines provided within this |
39 | +package, despite the existence of internationalizing capabilities in the |
40 | +operating system where this package is being installed. So far, only |
41 | +the `gettext' implementation in the GNU C library version 2 provides as |
42 | +many features (such as locale alias, message inheritance, automatic |
43 | +charset conversion or plural form handling) as the implementation here. |
44 | +It is also not possible to offer this additional functionality on top |
45 | +of a `catgets' implementation. Future versions of GNU `gettext' will |
46 | +very likely convey even more functionality. So it might be a good idea |
47 | +to change to GNU `gettext' as soon as possible. |
48 | + |
49 | + So you need _not_ provide this option if you are using GNU libc 2 or |
50 | +you have installed a recent copy of the GNU gettext package with the |
51 | +included `libintl'. |
52 | + |
53 | +1.2 INSTALL Matters |
54 | +=================== |
55 | + |
56 | +Some packages are "localizable" when properly installed; the programs |
57 | +they contain can be made to speak your own native language. Most such |
58 | +packages use GNU `gettext'. Other packages have their own ways to |
59 | +internationalization, predating GNU `gettext'. |
60 | + |
61 | + By default, this package will be installed to allow translation of |
62 | +messages. It will automatically detect whether the system already |
63 | +provides the GNU `gettext' functions. If not, the included GNU |
64 | +`gettext' library will be used. This library is wholly contained |
65 | +within this package, usually in the `intl/' subdirectory, so prior |
66 | +installation of the GNU `gettext' package is _not_ required. |
67 | +Installers may use special options at configuration time for changing |
68 | +the default behaviour. The commands: |
69 | + |
70 | + ./configure --with-included-gettext |
71 | + ./configure --disable-nls |
72 | + |
73 | +will, respectively, bypass any pre-existing `gettext' to use the |
74 | +internationalizing routines provided within this package, or else, |
75 | +_totally_ disable translation of messages. |
76 | + |
77 | + When you already have GNU `gettext' installed on your system and run |
78 | +configure without an option for your new package, `configure' will |
79 | +probably detect the previously built and installed `libintl.a' file and |
80 | +will decide to use this. This might not be desirable. You should use |
81 | +the more recent version of the GNU `gettext' library. I.e. if the file |
82 | +`intl/VERSION' shows that the library which comes with this package is |
83 | +more recent, you should use |
84 | + |
85 | + ./configure --with-included-gettext |
86 | + |
87 | +to prevent auto-detection. |
88 | + |
89 | + The configuration process will not test for the `catgets' function |
90 | +and therefore it will not be used. The reason is that even an |
91 | +emulation of `gettext' on top of `catgets' could not provide all the |
92 | +extensions of the GNU `gettext' library. |
93 | + |
94 | + Internationalized packages usually have many `po/LL.po' files, where |
95 | +LL gives an ISO 639 two-letter code identifying the language. Unless |
96 | +translations have been forbidden at `configure' time by using the |
97 | +`--disable-nls' switch, all available translations are installed |
98 | +together with the package. However, the environment variable `LINGUAS' |
99 | +may be set, prior to configuration, to limit the installed set. |
100 | +`LINGUAS' should then contain a space separated list of two-letter |
101 | +codes, stating which languages are allowed. |
102 | + |
103 | +1.3 Using This Package |
104 | +====================== |
105 | + |
106 | +As a user, if your language has been installed for this package, you |
107 | +only have to set the `LANG' environment variable to the appropriate |
108 | +`LL_CC' combination. If you happen to have the `LC_ALL' or some other |
109 | +`LC_xxx' environment variables set, you should unset them before |
110 | +setting `LANG', otherwise the setting of `LANG' will not have the |
111 | +desired effect. Here `LL' is an ISO 639 two-letter language code, and |
112 | +`CC' is an ISO 3166 two-letter country code. For example, let's |
113 | +suppose that you speak German and live in Germany. At the shell |
114 | +prompt, merely execute `setenv LANG de_DE' (in `csh'), |
115 | +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). |
116 | +This can be done from your `.login' or `.profile' file, once and for |
117 | +all. |
118 | + |
119 | + You might think that the country code specification is redundant. |
120 | +But in fact, some languages have dialects in different countries. For |
121 | +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The |
122 | +country code serves to distinguish the dialects. |
123 | + |
124 | + The locale naming convention of `LL_CC', with `LL' denoting the |
125 | +language and `CC' denoting the country, is the one use on systems based |
126 | +on GNU libc. On other systems, some variations of this scheme are |
127 | +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of |
128 | +locales supported by your system for your language by running the |
129 | +command `locale -a | grep '^LL''. |
130 | + |
131 | + Not all programs have translations for all languages. By default, an |
132 | +English message is shown in place of a nonexistent translation. If you |
133 | +understand other languages, you can set up a priority list of languages. |
134 | +This is done through a different environment variable, called |
135 | +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' |
136 | +for the purpose of message handling, but you still need to have `LANG' |
137 | +set to the primary language; this is required by other parts of the |
138 | +system libraries. For example, some Swedish users who would rather |
139 | +read translations in German than English for when Swedish is not |
140 | +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. |
141 | + |
142 | + Special advice for Norwegian users: The language code for Norwegian |
143 | +bokma*l changed from `no' to `nb' recently (in 2003). During the |
144 | +transition period, while some message catalogs for this language are |
145 | +installed under `nb' and some older ones under `no', it's recommended |
146 | +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and |
147 | +older translations are used. |
148 | + |
149 | + In the `LANGUAGE' environment variable, but not in the `LANG' |
150 | +environment variable, `LL_CC' combinations can be abbreviated as `LL' |
151 | +to denote the language's main dialect. For example, `de' is equivalent |
152 | +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' |
153 | +(Portuguese as spoken in Portugal) in this context. |
154 | + |
155 | +1.4 Translating Teams |
156 | +===================== |
157 | + |
158 | +For the Free Translation Project to be a success, we need interested |
159 | +people who like their own language and write it well, and who are also |
160 | +able to synergize with other translators speaking the same language. |
161 | +Each translation team has its own mailing list. The up-to-date list of |
162 | +teams can be found at the Free Translation Project's homepage, |
163 | +`http://translationproject.org/', in the "Teams" area. |
164 | + |
165 | + If you'd like to volunteer to _work_ at translating messages, you |
166 | +should become a member of the translating team for your own language. |
167 | +The subscribing address is _not_ the same as the list itself, it has |
168 | +`-request' appended. For example, speakers of Swedish can send a |
169 | +message to `sv-request@li.org', having this message body: |
170 | + |
171 | + subscribe |
172 | + |
173 | + Keep in mind that team members are expected to participate |
174 | +_actively_ in translations, or at solving translational difficulties, |
175 | +rather than merely lurking around. If your team does not exist yet and |
176 | +you want to start one, or if you are unsure about what to do or how to |
177 | +get started, please write to `coordinator@translationproject.org' to |
178 | +reach the coordinator for all translator teams. |
179 | + |
180 | + The English team is special. It works at improving and uniformizing |
181 | +the terminology in use. Proven linguistic skills are praised more than |
182 | +programming skills, here. |
183 | + |
184 | +1.5 Available Packages |
185 | +====================== |
186 | + |
187 | +Languages are not equally supported in all packages. The following |
188 | +matrix shows the current state of internationalization, as of November |
189 | +2007. The matrix shows, in regard of each package, for which languages |
190 | +PO files have been submitted to translation coordination, with a |
191 | +translation percentage of at least 50%. |
192 | + |
193 | + Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo |
194 | + +----------------------------------------------------+ |
195 | + Compendium | [] [] [] [] | |
196 | + a2ps | [] [] [] [] [] | |
197 | + aegis | () | |
198 | + ant-phone | () | |
199 | + anubis | [] | |
200 | + ap-utils | | |
201 | + aspell | [] [] [] [] [] | |
202 | + bash | [] | |
203 | + bfd | | |
204 | + bibshelf | [] | |
205 | + binutils | | |
206 | + bison | [] [] | |
207 | + bison-runtime | [] | |
208 | + bluez-pin | [] [] [] [] [] | |
209 | + cflow | [] | |
210 | + clisp | [] [] [] | |
211 | + console-tools | [] [] | |
212 | + coreutils | [] [] [] [] | |
213 | + cpio | | |
214 | + cpplib | [] [] [] | |
215 | + cryptonit | [] | |
216 | + dialog | | |
217 | + diffutils | [] [] [] [] [] [] | |
218 | + doodle | [] | |
219 | + e2fsprogs | [] [] | |
220 | + enscript | [] [] [] [] | |
221 | + fetchmail | [] [] () [] [] | |
222 | + findutils | [] | |
223 | + findutils_stable | [] [] [] | |
224 | + flex | [] [] [] | |
225 | + fslint | | |
226 | + gas | | |
227 | + gawk | [] [] [] | |
228 | + gcal | [] | |
229 | + gcc | [] | |
230 | + gettext-examples | [] [] [] [] [] | |
231 | + gettext-runtime | [] [] [] [] [] | |
232 | + gettext-tools | [] [] | |
233 | + gip | [] | |
234 | + gliv | [] [] | |
235 | + glunarclock | [] | |
236 | + gmult | [] [] | |
237 | + gnubiff | () | |
238 | + gnucash | [] [] () () [] | |
239 | + gnuedu | | |
240 | + gnulib | [] | |
241 | + gnunet | | |
242 | + gnunet-gtk | | |
243 | + gnutls | [] | |
244 | + gpe-aerial | [] [] | |
245 | + gpe-beam | [] [] | |
246 | + gpe-calendar | | |
247 | + gpe-clock | [] [] | |
248 | + gpe-conf | [] [] | |
249 | + gpe-contacts | | |
250 | + gpe-edit | [] | |
251 | + gpe-filemanager | | |
252 | + gpe-go | [] | |
253 | + gpe-login | [] [] | |
254 | + gpe-ownerinfo | [] [] | |
255 | + gpe-package | | |
256 | + gpe-sketchbook | [] [] | |
257 | + gpe-su | [] [] | |
258 | + gpe-taskmanager | [] [] | |
259 | + gpe-timesheet | [] | |
260 | + gpe-today | [] [] | |
261 | + gpe-todo | | |
262 | + gphoto2 | [] [] [] [] | |
263 | + gprof | [] [] | |
264 | + gpsdrive | | |
265 | + gramadoir | [] [] | |
266 | + grep | [] [] | |
267 | + gretl | () | |
268 | + gsasl | | |
269 | + gss | | |
270 | + gst-plugins-bad | [] [] | |
271 | + gst-plugins-base | [] [] | |
272 | + gst-plugins-good | [] [] [] | |
273 | + gst-plugins-ugly | [] [] | |
274 | + gstreamer | [] [] [] [] [] [] [] | |
275 | + gtick | () | |
276 | + gtkam | [] [] [] [] | |
277 | + gtkorphan | [] [] | |
278 | + gtkspell | [] [] [] [] | |
279 | + gutenprint | [] | |
280 | + hello | [] [] [] [] [] | |
281 | + herrie | [] | |
282 | + hylafax | | |
283 | + idutils | [] [] | |
284 | + indent | [] [] [] [] | |
285 | + iso_15924 | | |
286 | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] | |
287 | + iso_3166_2 | | |
288 | + iso_4217 | [] [] [] | |
289 | + iso_639 | [] [] [] [] | |
290 | + jpilot | [] | |
291 | + jtag | | |
292 | + jwhois | | |
293 | + kbd | [] [] [] [] | |
294 | + keytouch | [] [] | |
295 | + keytouch-editor | [] | |
296 | + keytouch-keyboa... | [] | |
297 | + latrine | () | |
298 | + ld | [] | |
299 | + leafpad | [] [] [] [] [] | |
300 | + libc | [] [] [] [] | |
301 | + libexif | [] | |
302 | + libextractor | [] | |
303 | + libgpewidget | [] [] [] | |
304 | + libgpg-error | [] | |
305 | + libgphoto2 | [] [] | |
306 | + libgphoto2_port | [] [] | |
307 | + libgsasl | | |
308 | + libiconv | [] [] | |
309 | + libidn | [] [] [] | |
310 | + lifelines | [] () | |
311 | + lilypond | [] | |
312 | + lingoteach | | |
313 | + lprng | | |
314 | + lynx | [] [] [] [] | |
315 | + m4 | [] [] [] [] | |
316 | + mailfromd | | |
317 | + mailutils | [] | |
318 | + make | [] [] | |
319 | + man-db | [] [] [] | |
320 | + minicom | [] [] [] | |
321 | + nano | [] [] [] | |
322 | + opcodes | [] | |
323 | + parted | [] [] | |
324 | + pilot-qof | | |
325 | + popt | [] [] [] | |
326 | + psmisc | [] | |
327 | + pwdutils | | |
328 | + qof | | |
329 | + radius | [] | |
330 | + recode | [] [] [] [] [] [] | |
331 | + rpm | [] | |
332 | + screem | | |
333 | + scrollkeeper | [] [] [] [] [] [] [] [] | |
334 | + sed | [] [] [] | |
335 | + shared-mime-info | [] [] [] [] () [] [] [] | |
336 | + sharutils | [] [] [] [] [] [] | |
337 | + shishi | | |
338 | + skencil | [] () | |
339 | + solfege | | |
340 | + soundtracker | [] [] | |
341 | + sp | [] | |
342 | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | |
343 | + tar | [] [] | |
344 | + texinfo | [] [] [] | |
345 | + tin | () () | |
346 | + tuxpaint | [] [] [] [] [] [] | |
347 | + unicode-han-tra... | | |
348 | + unicode-transla... | | |
349 | + util-linux | [] [] [] [] | |
350 | + util-linux-ng | [] [] [] [] | |
351 | + vorbis-tools | [] | |
352 | + wastesedge | () | |
353 | + wdiff | [] [] [] [] | |
354 | + wget | [] [] [] | |
355 | + xchat | [] [] [] [] [] [] [] | |
356 | + xkeyboard-config | [] | |
357 | + xpad | [] [] [] | |
358 | + +----------------------------------------------------+ |
359 | + af am ar az be bg bs ca cs cy da de el en en_GB eo |
360 | + 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18 |
361 | + |
362 | + es et eu fa fi fr ga gl gu he hi hr hu id is it |
363 | + +--------------------------------------------------+ |
364 | + Compendium | [] [] [] [] [] | |
365 | + a2ps | [] [] [] () | |
366 | + aegis | | |
367 | + ant-phone | [] | |
368 | + anubis | [] | |
369 | + ap-utils | [] [] | |
370 | + aspell | [] [] [] | |
371 | + bash | [] | |
372 | + bfd | [] [] | |
373 | + bibshelf | [] [] [] | |
374 | + binutils | [] [] [] | |
375 | + bison | [] [] [] [] [] [] | |
376 | + bison-runtime | [] [] [] [] [] | |
377 | + bluez-pin | [] [] [] [] [] | |
378 | + cflow | [] | |
379 | + clisp | [] [] | |
380 | + console-tools | | |
381 | + coreutils | [] [] [] [] [] [] | |
382 | + cpio | [] [] [] | |
383 | + cpplib | [] [] | |
384 | + cryptonit | [] | |
385 | + dialog | [] [] [] | |
386 | + diffutils | [] [] [] [] [] [] [] [] [] | |
387 | + doodle | [] [] | |
388 | + e2fsprogs | [] [] [] | |
389 | + enscript | [] [] [] | |
390 | + fetchmail | [] | |
391 | + findutils | [] [] [] | |
392 | + findutils_stable | [] [] [] [] | |
393 | + flex | [] [] [] | |
394 | + fslint | | |
395 | + gas | [] [] | |
396 | + gawk | [] [] [] [] () | |
397 | + gcal | [] [] | |
398 | + gcc | [] | |
399 | + gettext-examples | [] [] [] [] [] [] [] | |
400 | + gettext-runtime | [] [] [] [] [] [] | |
401 | + gettext-tools | [] [] [] [] | |
402 | + gip | [] [] [] [] | |
403 | + gliv | () | |
404 | + glunarclock | [] [] [] | |
405 | + gmult | [] [] [] | |
406 | + gnubiff | () () | |
407 | + gnucash | () () () | |
408 | + gnuedu | [] | |
409 | + gnulib | [] [] [] | |
410 | + gnunet | | |
411 | + gnunet-gtk | | |
412 | + gnutls | | |
413 | + gpe-aerial | [] [] | |
414 | + gpe-beam | [] [] | |
415 | + gpe-calendar | | |
416 | + gpe-clock | [] [] [] [] | |
417 | + gpe-conf | [] | |
418 | + gpe-contacts | [] [] | |
419 | + gpe-edit | [] [] [] [] | |
420 | + gpe-filemanager | [] | |
421 | + gpe-go | [] [] [] | |
422 | + gpe-login | [] [] [] | |
423 | + gpe-ownerinfo | [] [] [] [] [] | |
424 | + gpe-package | [] | |
425 | + gpe-sketchbook | [] [] | |
426 | + gpe-su | [] [] [] [] | |
427 | + gpe-taskmanager | [] [] [] | |
428 | + gpe-timesheet | [] [] [] [] | |
429 | + gpe-today | [] [] [] [] | |
430 | + gpe-todo | [] | |
431 | + gphoto2 | [] [] [] [] [] | |
432 | + gprof | [] [] [] [] [] | |
433 | + gpsdrive | [] | |
434 | + gramadoir | [] [] | |
435 | + grep | [] [] [] | |
436 | + gretl | [] [] [] () | |
437 | + gsasl | [] [] | |
438 | + gss | [] [] | |
439 | + gst-plugins-bad | [] [] [] [] | |
440 | + gst-plugins-base | [] [] [] [] | |
441 | + gst-plugins-good | [] [] [] [] [] | |
442 | + gst-plugins-ugly | [] [] [] [] | |
443 | + gstreamer | [] [] [] | |
444 | + gtick | [] [] [] | |
445 | + gtkam | [] [] [] [] | |
446 | + gtkorphan | [] [] | |
447 | + gtkspell | [] [] [] [] [] [] [] | |
448 | + gutenprint | [] | |
449 | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | |
450 | + herrie | [] | |
451 | + hylafax | | |
452 | + idutils | [] [] [] [] [] | |
453 | + indent | [] [] [] [] [] [] [] [] [] [] | |
454 | + iso_15924 | [] | |
455 | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | |
456 | + iso_3166_2 | [] | |
457 | + iso_4217 | [] [] [] [] [] [] | |
458 | + iso_639 | [] [] [] [] [] [] | |
459 | + jpilot | [] [] | |
460 | + jtag | [] | |
461 | + jwhois | [] [] [] [] [] | |
462 | + kbd | [] [] | |
463 | + keytouch | [] [] [] | |
464 | + keytouch-editor | [] | |
465 | + keytouch-keyboa... | [] [] | |
466 | + latrine | [] [] | |
467 | + ld | [] [] [] [] | |
468 | + leafpad | [] [] [] [] [] [] | |
469 | + libc | [] [] [] [] [] | |
470 | + libexif | [] | |
471 | + libextractor | [] | |
472 | + libgpewidget | [] [] [] [] [] | |
473 | + libgpg-error | [] | |
474 | + libgphoto2 | [] [] [] | |
475 | + libgphoto2_port | [] [] | |
476 | + libgsasl | [] [] | |
477 | + libiconv | [] [] [] | |
478 | + libidn | [] [] | |
479 | + lifelines | () | |
480 | + lilypond | [] [] [] | |
481 | + lingoteach | [] [] [] | |
482 | + lprng | | |
483 | + lynx | [] [] [] | |
484 | + m4 | [] [] [] [] | |
485 | + mailfromd | | |
486 | + mailutils | [] [] | |
487 | + make | [] [] [] [] [] [] [] [] | |
488 | + man-db | [] | |
489 | + minicom | [] [] [] [] | |
490 | + nano | [] [] [] [] [] [] [] | |
491 | + opcodes | [] [] [] [] | |
492 | + parted | [] [] [] | |
493 | + pilot-qof | | |
494 | + popt | [] [] [] [] | |
495 | + psmisc | [] [] | |
496 | + pwdutils | | |
497 | + qof | [] | |
498 | + radius | [] [] | |
499 | + recode | [] [] [] [] [] [] [] [] | |
500 | + rpm | [] [] | |
501 | + screem | | |
502 | + scrollkeeper | [] [] [] | |
503 | + sed | [] [] [] [] [] | |
504 | + shared-mime-info | [] [] [] [] [] [] | |
505 | + sharutils | [] [] [] [] [] [] [] [] | |
506 | + shishi | [] | |
507 | + skencil | [] [] | |
508 | + solfege | [] | |
509 | + soundtracker | [] [] [] | |
510 | + sp | [] | |
511 | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | |
512 | + tar | [] [] [] [] [] | |
513 | + texinfo | [] [] [] | |
514 | + tin | [] () | |
515 | + tuxpaint | [] [] | |
516 | + unicode-han-tra... | | |
517 | + unicode-transla... | [] [] | |
518 | + util-linux | [] [] [] [] [] [] [] | |
519 | + util-linux-ng | [] [] [] [] [] [] [] | |
520 | + vorbis-tools | | |
521 | + wastesedge | () | |
522 | + wdiff | [] [] [] [] [] [] [] [] | |
523 | + wget | [] [] [] [] [] [] [] [] | |
524 | + xchat | [] [] [] [] [] [] [] | |
525 | + xkeyboard-config | [] [] [] [] | |
526 | + xpad | [] [] [] | |
527 | + +--------------------------------------------------+ |
528 | + es et eu fa fi fr ga gl gu he hi hr hu id is it |
529 | + 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52 |
530 | + |
531 | + ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn |
532 | + +--------------------------------------------------+ |
533 | + Compendium | [] | |
534 | + a2ps | () [] [] | |
535 | + aegis | () | |
536 | + ant-phone | [] | |
537 | + anubis | [] [] [] | |
538 | + ap-utils | [] | |
539 | + aspell | [] [] | |
540 | + bash | [] | |
541 | + bfd | | |
542 | + bibshelf | [] | |
543 | + binutils | | |
544 | + bison | [] [] [] | |
545 | + bison-runtime | [] [] [] | |
546 | + bluez-pin | [] [] [] | |
547 | + cflow | | |
548 | + clisp | [] | |
549 | + console-tools | | |
550 | + coreutils | [] | |
551 | + cpio | [] | |
552 | + cpplib | [] | |
553 | + cryptonit | [] | |
554 | + dialog | [] [] | |
555 | + diffutils | [] [] [] | |
556 | + doodle | | |
557 | + e2fsprogs | [] | |
558 | + enscript | [] | |
559 | + fetchmail | [] [] | |
560 | + findutils | [] | |
561 | + findutils_stable | [] | |
562 | + flex | [] [] | |
563 | + fslint | | |
564 | + gas | | |
565 | + gawk | [] [] | |
566 | + gcal | | |
567 | + gcc | | |
568 | + gettext-examples | [] [] [] | |
569 | + gettext-runtime | [] [] [] | |
570 | + gettext-tools | [] [] | |
571 | + gip | [] [] | |
572 | + gliv | [] | |
573 | + glunarclock | [] [] | |
574 | + gmult | [] [] [] | |
575 | + gnubiff | | |
576 | + gnucash | () () () | |
577 | + gnuedu | | |
578 | + gnulib | [] [] | |
579 | + gnunet | | |
580 | + gnunet-gtk | | |
581 | + gnutls | [] | |
582 | + gpe-aerial | [] | |
583 | + gpe-beam | [] | |
584 | + gpe-calendar | [] | |
585 | + gpe-clock | [] [] [] | |
586 | + gpe-conf | [] [] [] | |
587 | + gpe-contacts | [] | |
588 | + gpe-edit | [] [] [] | |
589 | + gpe-filemanager | [] [] | |
590 | + gpe-go | [] [] [] | |
591 | + gpe-login | [] [] [] | |
592 | + gpe-ownerinfo | [] [] | |
593 | + gpe-package | [] [] | |
594 | + gpe-sketchbook | [] [] | |
595 | + gpe-su | [] [] [] | |
596 | + gpe-taskmanager | [] [] [] [] | |
597 | + gpe-timesheet | [] | |
598 | + gpe-today | [] [] | |
599 | + gpe-todo | [] | |
600 | + gphoto2 | [] [] | |
601 | + gprof | [] | |
602 | + gpsdrive | [] | |
603 | + gramadoir | () | |
604 | + grep | [] [] | |
605 | + gretl | | |
606 | + gsasl | [] | |
607 | + gss | | |
608 | + gst-plugins-bad | [] | |
609 | + gst-plugins-base | [] | |
610 | + gst-plugins-good | [] | |
611 | + gst-plugins-ugly | [] | |
612 | + gstreamer | [] | |
613 | + gtick | [] | |
614 | + gtkam | [] [] | |
615 | + gtkorphan | [] | |
616 | + gtkspell | [] [] | |
617 | + gutenprint | [] | |
618 | + hello | [] [] [] [] [] [] [] | |
619 | + herrie | [] | |
620 | + hylafax | | |
621 | + idutils | [] | |
622 | + indent | [] [] | |
623 | + iso_15924 | [] | |
624 | + iso_3166 | [] [] [] [] [] [] [] [] | |
625 | + iso_3166_2 | [] | |
626 | + iso_4217 | [] [] [] | |
627 | + iso_639 | [] [] [] [] | |
628 | + jpilot | () () | |
629 | + jtag | | |
630 | + jwhois | [] | |
631 | + kbd | [] | |
632 | + keytouch | [] | |
633 | + keytouch-editor | [] | |
634 | + keytouch-keyboa... | | |
635 | + latrine | [] | |
636 | + ld | | |
637 | + leafpad | [] [] | |
638 | + libc | [] [] [] | |
639 | + libexif | | |
640 | + libextractor | | |
641 | + libgpewidget | [] | |
642 | + libgpg-error | | |
643 | + libgphoto2 | [] | |
644 | + libgphoto2_port | [] | |
645 | + libgsasl | [] | |
646 | + libiconv | [] | |
647 | + libidn | [] [] | |
648 | + lifelines | [] | |
649 | + lilypond | [] | |
650 | + lingoteach | [] | |
651 | + lprng | | |
652 | + lynx | [] [] | |
653 | + m4 | [] [] | |
654 | + mailfromd | | |
655 | + mailutils | | |
656 | + make | [] [] [] | |
657 | + man-db | | |
658 | + minicom | [] | |
659 | + nano | [] [] [] | |
660 | + opcodes | [] | |
661 | + parted | [] [] | |
662 | + pilot-qof | | |
663 | + popt | [] [] [] | |
664 | + psmisc | [] [] [] | |
665 | + pwdutils | | |
666 | + qof | | |
667 | + radius | | |
668 | + recode | [] | |
669 | + rpm | [] [] | |
670 | + screem | [] | |
671 | + scrollkeeper | [] [] [] [] | |
672 | + sed | [] [] | |
673 | + shared-mime-info | [] [] [] [] [] [] [] | |
674 | + sharutils | [] [] | |
675 | + shishi | | |
676 | + skencil | | |
677 | + solfege | () () | |
678 | + soundtracker | | |
679 | + sp | () | |
680 | + system-tools-ba... | [] [] [] [] | |
681 | + tar | [] [] [] | |
682 | + texinfo | [] [] | |
683 | + tin | | |
684 | + tuxpaint | () [] [] | |
685 | + unicode-han-tra... | | |
686 | + unicode-transla... | | |
687 | + util-linux | [] [] | |
688 | + util-linux-ng | [] [] | |
689 | + vorbis-tools | | |
690 | + wastesedge | [] | |
691 | + wdiff | [] [] | |
692 | + wget | [] [] | |
693 | + xchat | [] [] [] [] | |
694 | + xkeyboard-config | [] [] [] | |
695 | + xpad | [] [] [] | |
696 | + +--------------------------------------------------+ |
697 | + ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn |
698 | + 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6 |
699 | + |
700 | + or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta |
701 | + +--------------------------------------------------+ |
702 | + Compendium | [] [] [] [] [] | |
703 | + a2ps | () [] [] [] [] [] [] | |
704 | + aegis | () () | |
705 | + ant-phone | [] [] | |
706 | + anubis | [] [] [] | |
707 | + ap-utils | () | |
708 | + aspell | [] [] [] | |
709 | + bash | [] [] | |
710 | + bfd | | |
711 | + bibshelf | [] | |
712 | + binutils | [] [] | |
713 | + bison | [] [] [] [] [] | |
714 | + bison-runtime | [] [] [] [] [] | |
715 | + bluez-pin | [] [] [] [] [] [] [] [] [] | |
716 | + cflow | [] | |
717 | + clisp | [] | |
718 | + console-tools | [] | |
719 | + coreutils | [] [] [] [] | |
720 | + cpio | [] [] [] | |
721 | + cpplib | [] | |
722 | + cryptonit | [] [] | |
723 | + dialog | [] | |
724 | + diffutils | [] [] [] [] [] [] | |
725 | + doodle | [] [] | |
726 | + e2fsprogs | [] [] | |
727 | + enscript | [] [] [] [] [] | |
728 | + fetchmail | [] [] [] | |
729 | + findutils | [] [] [] | |
730 | + findutils_stable | [] [] [] [] [] [] | |
731 | + flex | [] [] [] [] [] | |
732 | + fslint | [] | |
733 | + gas | | |
734 | + gawk | [] [] [] [] | |
735 | + gcal | [] | |
736 | + gcc | [] [] | |
737 | + gettext-examples | [] [] [] [] [] [] [] [] | |
738 | + gettext-runtime | [] [] [] [] [] [] [] [] | |
739 | + gettext-tools | [] [] [] [] [] [] [] | |
740 | + gip | [] [] [] [] | |
741 | + gliv | [] [] [] [] [] [] | |
742 | + glunarclock | [] [] [] [] [] [] | |
743 | + gmult | [] [] [] [] | |
744 | + gnubiff | () [] | |
745 | + gnucash | () [] | |
746 | + gnuedu | | |
747 | + gnulib | [] [] [] | |
748 | + gnunet | | |
749 | + gnunet-gtk | [] | |
750 | + gnutls | [] [] | |
751 | + gpe-aerial | [] [] [] [] [] [] [] | |
752 | + gpe-beam | [] [] [] [] [] [] [] | |
753 | + gpe-calendar | [] [] [] [] | |
754 | + gpe-clock | [] [] [] [] [] [] [] [] | |
755 | + gpe-conf | [] [] [] [] [] [] [] | |
756 | + gpe-contacts | [] [] [] [] [] | |
757 | + gpe-edit | [] [] [] [] [] [] [] [] [] | |
758 | + gpe-filemanager | [] [] | |
759 | + gpe-go | [] [] [] [] [] [] [] [] | |
760 | + gpe-login | [] [] [] [] [] [] [] [] | |
761 | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | |
762 | + gpe-package | [] [] | |
763 | + gpe-sketchbook | [] [] [] [] [] [] [] [] | |
764 | + gpe-su | [] [] [] [] [] [] [] [] | |
765 | + gpe-taskmanager | [] [] [] [] [] [] [] [] | |
766 | + gpe-timesheet | [] [] [] [] [] [] [] [] | |
767 | + gpe-today | [] [] [] [] [] [] [] [] | |
768 | + gpe-todo | [] [] [] [] | |
769 | + gphoto2 | [] [] [] [] [] [] | |
770 | + gprof | [] [] [] | |
771 | + gpsdrive | [] [] | |
772 | + gramadoir | [] [] | |
773 | + grep | [] [] [] [] | |
774 | + gretl | [] [] [] | |
775 | + gsasl | [] [] [] | |
776 | + gss | [] [] [] [] | |
777 | + gst-plugins-bad | [] [] [] | |
778 | + gst-plugins-base | [] [] | |
779 | + gst-plugins-good | [] [] | |
780 | + gst-plugins-ugly | [] [] [] | |
781 | + gstreamer | [] [] [] [] | |
782 | + gtick | [] | |
783 | + gtkam | [] [] [] [] [] | |
784 | + gtkorphan | [] | |
785 | + gtkspell | [] [] [] [] [] [] [] [] | |
786 | + gutenprint | [] | |
787 | + hello | [] [] [] [] [] [] [] [] | |
788 | + herrie | [] [] [] | |
789 | + hylafax | | |
790 | + idutils | [] [] [] [] [] | |
791 | + indent | [] [] [] [] [] [] [] | |
792 | + iso_15924 | | |
793 | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | |
794 | + iso_3166_2 | | |
795 | + iso_4217 | [] [] [] [] [] [] [] | |
796 | + iso_639 | [] [] [] [] [] [] [] | |
797 | + jpilot | | |
798 | + jtag | [] | |
799 | + jwhois | [] [] [] [] | |
800 | + kbd | [] [] [] | |
801 | + keytouch | [] | |
802 | + keytouch-editor | [] | |
803 | + keytouch-keyboa... | [] | |
804 | + latrine | | |
805 | + ld | [] | |
806 | + leafpad | [] [] [] [] [] [] | |
807 | + libc | [] [] [] [] | |
808 | + libexif | [] [] | |
809 | + libextractor | [] [] | |
810 | + libgpewidget | [] [] [] [] [] [] [] [] | |
811 | + libgpg-error | [] [] [] | |
812 | + libgphoto2 | [] | |
813 | + libgphoto2_port | [] [] [] | |
814 | + libgsasl | [] [] [] [] | |
815 | + libiconv | [] [] [] | |
816 | + libidn | [] [] () | |
817 | + lifelines | [] [] | |
818 | + lilypond | | |
819 | + lingoteach | [] | |
820 | + lprng | [] | |
821 | + lynx | [] [] [] | |
822 | + m4 | [] [] [] [] [] | |
823 | + mailfromd | [] | |
824 | + mailutils | [] [] [] | |
825 | + make | [] [] [] [] | |
826 | + man-db | [] [] [] [] | |
827 | + minicom | [] [] [] [] [] | |
828 | + nano | [] [] [] [] | |
829 | + opcodes | [] [] | |
830 | + parted | [] | |
831 | + pilot-qof | | |
832 | + popt | [] [] [] [] | |
833 | + psmisc | [] [] | |
834 | + pwdutils | [] [] | |
835 | + qof | [] [] | |
836 | + radius | [] [] | |
837 | + recode | [] [] [] [] [] [] [] | |
838 | + rpm | [] [] [] [] | |
839 | + screem | | |
840 | + scrollkeeper | [] [] [] [] [] [] [] | |
841 | + sed | [] [] [] [] [] [] [] [] [] | |
842 | + shared-mime-info | [] [] [] [] [] [] | |
843 | + sharutils | [] [] [] [] | |
844 | + shishi | [] | |
845 | + skencil | [] [] [] | |
846 | + solfege | [] | |
847 | + soundtracker | [] [] | |
848 | + sp | | |
849 | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | |
850 | + tar | [] [] [] [] | |
851 | + texinfo | [] [] [] [] | |
852 | + tin | () | |
853 | + tuxpaint | [] [] [] [] [] [] | |
854 | + unicode-han-tra... | | |
855 | + unicode-transla... | | |
856 | + util-linux | [] [] [] [] | |
857 | + util-linux-ng | [] [] [] [] | |
858 | + vorbis-tools | [] | |
859 | + wastesedge | | |
860 | + wdiff | [] [] [] [] [] [] [] | |
861 | + wget | [] [] [] [] | |
862 | + xchat | [] [] [] [] [] [] [] | |
863 | + xkeyboard-config | [] [] [] | |
864 | + xpad | [] [] [] | |
865 | + +--------------------------------------------------+ |
866 | + or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta |
867 | + 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3 |
868 | + |
869 | + tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu |
870 | + +---------------------------------------------------+ |
871 | + Compendium | [] [] [] [] | 19 |
872 | + a2ps | [] [] [] | 19 |
873 | + aegis | [] | 1 |
874 | + ant-phone | [] [] | 6 |
875 | + anubis | [] [] [] | 11 |
876 | + ap-utils | () [] | 4 |
877 | + aspell | [] [] [] | 16 |
878 | + bash | [] | 6 |
879 | + bfd | | 2 |
880 | + bibshelf | [] | 7 |
881 | + binutils | [] [] [] [] | 9 |
882 | + bison | [] [] [] [] | 20 |
883 | + bison-runtime | [] [] [] [] | 18 |
884 | + bluez-pin | [] [] [] [] [] [] | 28 |
885 | + cflow | [] [] | 5 |
886 | + clisp | | 9 |
887 | + console-tools | [] [] | 5 |
888 | + coreutils | [] [] [] | 18 |
889 | + cpio | [] [] [] [] | 11 |
890 | + cpplib | [] [] [] [] [] | 12 |
891 | + cryptonit | [] | 6 |
892 | + dialog | [] [] [] | 9 |
893 | + diffutils | [] [] [] [] [] | 29 |
894 | + doodle | [] | 6 |
895 | + e2fsprogs | [] [] | 10 |
896 | + enscript | [] [] [] | 16 |
897 | + fetchmail | [] [] | 12 |
898 | + findutils | [] [] [] | 11 |
899 | + findutils_stable | [] [] [] [] | 18 |
900 | + flex | [] [] | 15 |
901 | + fslint | [] | 2 |
902 | + gas | [] | 3 |
903 | + gawk | [] [] [] | 16 |
904 | + gcal | [] | 5 |
905 | + gcc | [] [] [] | 7 |
906 | + gettext-examples | [] [] [] [] [] [] | 29 |
907 | + gettext-runtime | [] [] [] [] [] [] | 28 |
908 | + gettext-tools | [] [] [] [] [] | 20 |
909 | + gip | [] [] | 13 |
910 | + gliv | [] [] | 11 |
911 | + glunarclock | [] [] [] | 15 |
912 | + gmult | [] [] [] [] | 16 |
913 | + gnubiff | [] | 2 |
914 | + gnucash | () [] | 5 |
915 | + gnuedu | [] | 2 |
916 | + gnulib | [] | 10 |
917 | + gnunet | | 0 |
918 | + gnunet-gtk | [] [] | 3 |
919 | + gnutls | | 4 |
920 | + gpe-aerial | [] [] | 14 |
921 | + gpe-beam | [] [] | 14 |
922 | + gpe-calendar | [] [] | 7 |
923 | + gpe-clock | [] [] [] [] | 21 |
924 | + gpe-conf | [] [] [] | 16 |
925 | + gpe-contacts | [] [] | 10 |
926 | + gpe-edit | [] [] [] [] [] | 22 |
927 | + gpe-filemanager | [] [] | 7 |
928 | + gpe-go | [] [] [] [] | 19 |
929 | + gpe-login | [] [] [] [] [] | 21 |
930 | + gpe-ownerinfo | [] [] [] [] | 21 |
931 | + gpe-package | [] | 6 |
932 | + gpe-sketchbook | [] [] | 16 |
933 | + gpe-su | [] [] [] [] | 21 |
934 | + gpe-taskmanager | [] [] [] [] | 21 |
935 | + gpe-timesheet | [] [] [] [] | 18 |
936 | + gpe-today | [] [] [] [] [] | 21 |
937 | + gpe-todo | [] [] | 8 |
938 | + gphoto2 | [] [] [] [] | 21 |
939 | + gprof | [] [] | 13 |
940 | + gpsdrive | [] | 5 |
941 | + gramadoir | [] | 7 |
942 | + grep | [] | 12 |
943 | + gretl | | 6 |
944 | + gsasl | [] [] [] | 9 |
945 | + gss | [] | 7 |
946 | + gst-plugins-bad | [] [] [] | 13 |
947 | + gst-plugins-base | [] [] | 11 |
948 | + gst-plugins-good | [] [] [] [] [] | 16 |
949 | + gst-plugins-ugly | [] [] [] | 13 |
950 | + gstreamer | [] [] [] | 18 |
951 | + gtick | [] [] | 7 |
952 | + gtkam | [] | 16 |
953 | + gtkorphan | [] | 7 |
954 | + gtkspell | [] [] [] [] [] [] | 27 |
955 | + gutenprint | | 4 |
956 | + hello | [] [] [] [] [] | 38 |
957 | + herrie | [] [] | 8 |
958 | + hylafax | | 0 |
959 | + idutils | [] [] | 15 |
960 | + indent | [] [] [] [] [] | 28 |
961 | + iso_15924 | [] [] | 4 |
962 | + iso_3166 | [] [] [] [] [] [] [] [] [] | 54 |
963 | + iso_3166_2 | [] [] | 4 |
964 | + iso_4217 | [] [] [] [] [] | 24 |
965 | + iso_639 | [] [] [] [] [] | 26 |
966 | + jpilot | [] [] [] [] | 7 |
967 | + jtag | [] | 3 |
968 | + jwhois | [] [] [] | 13 |
969 | + kbd | [] [] [] | 13 |
970 | + keytouch | [] | 8 |
971 | + keytouch-editor | [] | 5 |
972 | + keytouch-keyboa... | [] | 5 |
973 | + latrine | [] [] | 5 |
974 | + ld | [] [] [] [] | 10 |
975 | + leafpad | [] [] [] [] [] | 24 |
976 | + libc | [] [] [] | 19 |
977 | + libexif | [] | 5 |
978 | + libextractor | [] | 5 |
979 | + libgpewidget | [] [] [] | 20 |
980 | + libgpg-error | [] | 6 |
981 | + libgphoto2 | [] [] | 9 |
982 | + libgphoto2_port | [] [] [] | 11 |
983 | + libgsasl | [] | 8 |
984 | + libiconv | [] [] | 11 |
985 | + libidn | [] [] | 11 |
986 | + lifelines | | 4 |
987 | + lilypond | [] | 6 |
988 | + lingoteach | [] | 6 |
989 | + lprng | [] | 2 |
990 | + lynx | [] [] [] | 15 |
991 | + m4 | [] [] [] | 18 |
992 | + mailfromd | [] [] | 3 |
993 | + mailutils | [] [] | 8 |
994 | + make | [] [] [] | 20 |
995 | + man-db | [] | 9 |
996 | + minicom | [] | 14 |
997 | + nano | [] [] [] | 20 |
998 | + opcodes | [] [] | 10 |
999 | + parted | [] [] [] | 11 |
1000 | + pilot-qof | [] | 1 |
1001 | + popt | [] [] [] [] | 18 |
1002 | + psmisc | [] [] | 10 |
1003 | + pwdutils | [] | 3 |
1004 | + qof | [] | 4 |
1005 | + radius | [] [] | 7 |
1006 | + recode | [] [] [] | 25 |
1007 | + rpm | [] [] [] [] | 13 |
1008 | + screem | [] | 2 |
1009 | + scrollkeeper | [] [] [] [] | 26 |
1010 | + sed | [] [] [] [] | 23 |
1011 | + shared-mime-info | [] [] [] | 29 |
1012 | + sharutils | [] [] [] | 23 |
1013 | + shishi | [] | 3 |
1014 | + skencil | [] | 7 |
1015 | + solfege | [] | 3 |
1016 | + soundtracker | [] [] | 9 |
1017 | + sp | [] | 3 |
1018 | + system-tools-ba... | [] [] [] [] [] [] [] | 38 |
1019 | + tar | [] [] [] | 17 |
1020 | + texinfo | [] [] [] | 15 |
1021 | + tin | | 1 |
1022 | + tuxpaint | [] [] [] | 19 |
1023 | + unicode-han-tra... | | 0 |
1024 | + unicode-transla... | | 2 |
1025 | + util-linux | [] [] [] | 20 |
1026 | + util-linux-ng | [] [] [] | 20 |
1027 | + vorbis-tools | [] [] | 4 |
1028 | + wastesedge | | 1 |
1029 | + wdiff | [] [] | 23 |
1030 | + wget | [] [] [] | 20 |
1031 | + xchat | [] [] [] [] | 29 |
1032 | + xkeyboard-config | [] [] [] | 14 |
1033 | + xpad | [] [] [] | 15 |
1034 | + +---------------------------------------------------+ |
1035 | + 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu |
1036 | + 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036 |
1037 | + |
1038 | + Some counters in the preceding matrix are higher than the number of |
1039 | +visible blocks let us expect. This is because a few extra PO files are |
1040 | +used for implementing regional variants of languages, or language |
1041 | +dialects. |
1042 | + |
1043 | + For a PO file in the matrix above to be effective, the package to |
1044 | +which it applies should also have been internationalized and |
1045 | +distributed as such by its maintainer. There might be an observable |
1046 | +lag between the mere existence a PO file and its wide availability in a |
1047 | +distribution. |
1048 | + |
1049 | + If November 2007 seems to be old, you may fetch a more recent copy |
1050 | +of this `ABOUT-NLS' file on most GNU archive sites. The most |
1051 | +up-to-date matrix with full percentage details can be found at |
1052 | +`http://translationproject.org/extra/matrix.html'. |
1053 | + |
1054 | +1.6 Using `gettext' in new packages |
1055 | +=================================== |
1056 | + |
1057 | +If you are writing a freely available program and want to |
1058 | +internationalize it you are welcome to use GNU `gettext' in your |
1059 | +package. Of course you have to respect the GNU Library General Public |
1060 | +License which covers the use of the GNU `gettext' library. This means |
1061 | +in particular that even non-free programs can use `libintl' as a shared |
1062 | +library, whereas only free software can use `libintl' as a static |
1063 | +library or use modified versions of `libintl'. |
1064 | + |
1065 | + Once the sources are changed appropriately and the setup can handle |
1066 | +the use of `gettext' the only thing missing are the translations. The |
1067 | +Free Translation Project is also available for packages which are not |
1068 | +developed inside the GNU project. Therefore the information given above |
1069 | +applies also for every other Free Software Project. Contact |
1070 | +`coordinator@translationproject.org' to make the `.pot' files available |
1071 | +to the translation teams. |
1072 | + |
1073 | |
1074 | === modified file 'gloobus-preview/ChangeLog' |
1075 | --- gloobus-preview/ChangeLog 2009-06-06 16:03:23 +0000 |
1076 | +++ gloobus-preview/ChangeLog 2009-11-12 04:38:08 +0000 |
1077 | @@ -0,0 +1,6 @@ |
1078 | +2009-11-04 gettextize <bug-gnu-gettext@gnu.org> |
1079 | + |
1080 | + * Makefile.am (ACLOCAL_AMFLAGS): New variable. |
1081 | + (EXTRA_DIST): New variable. |
1082 | + * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in. |
1083 | + |
1084 | |
1085 | === modified file 'gloobus-preview/Makefile.am' |
1086 | --- gloobus-preview/Makefile.am 2009-06-06 16:03:23 +0000 |
1087 | +++ gloobus-preview/Makefile.am 2009-11-12 04:38:08 +0000 |
1088 | @@ -1,1 +1,5 @@ |
1089 | -SUBDIRS = src data |
1090 | +SUBDIRS = src data po |
1091 | + |
1092 | +ACLOCAL_AMFLAGS = -I m4 |
1093 | + |
1094 | +EXTRA_DIST = config.rpath m4/ChangeLog |
1095 | |
1096 | === modified file 'gloobus-preview/Makefile.in' |
1097 | --- gloobus-preview/Makefile.in 2009-10-31 16:20:08 +0000 |
1098 | +++ gloobus-preview/Makefile.in 2009-11-12 04:38:08 +0000 |
1099 | @@ -36,9 +36,9 @@ |
1100 | subdir = . |
1101 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
1102 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
1103 | - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
1104 | - THANKS config.guess config.sub depcomp install-sh ltmain.sh \ |
1105 | - missing |
1106 | + $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \ |
1107 | + INSTALL NEWS THANKS config.guess config.rpath config.sub \ |
1108 | + depcomp install-sh ltmain.sh missing |
1109 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
1110 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
1111 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
1112 | @@ -133,6 +133,9 @@ |
1113 | FGREP = @FGREP@ |
1114 | FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ |
1115 | FREETYPE_LIBS = @FREETYPE_LIBS@ |
1116 | +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ |
1117 | +GMSGFMT = @GMSGFMT@ |
1118 | +GMSGFMT_015 = @GMSGFMT_015@ |
1119 | GREP = @GREP@ |
1120 | GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ |
1121 | GSTREAMER_INTERFACES_CFLAGS = @GSTREAMER_INTERFACES_CFLAGS@ |
1122 | @@ -149,18 +152,27 @@ |
1123 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
1124 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
1125 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
1126 | +INTLLIBS = @INTLLIBS@ |
1127 | +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ |
1128 | LD = @LD@ |
1129 | LDFLAGS = @LDFLAGS@ |
1130 | LIBGNOMEUI_CFLAGS = @LIBGNOMEUI_CFLAGS@ |
1131 | LIBGNOMEUI_LIBS = @LIBGNOMEUI_LIBS@ |
1132 | +LIBICONV = @LIBICONV@ |
1133 | +LIBINTL = @LIBINTL@ |
1134 | LIBOBJS = @LIBOBJS@ |
1135 | LIBS = @LIBS@ |
1136 | LIBTOOL = @LIBTOOL@ |
1137 | LIPO = @LIPO@ |
1138 | LN_S = @LN_S@ |
1139 | +LTLIBICONV = @LTLIBICONV@ |
1140 | +LTLIBINTL = @LTLIBINTL@ |
1141 | LTLIBOBJS = @LTLIBOBJS@ |
1142 | MAKEINFO = @MAKEINFO@ |
1143 | MKDIR_P = @MKDIR_P@ |
1144 | +MSGFMT = @MSGFMT@ |
1145 | +MSGFMT_015 = @MSGFMT_015@ |
1146 | +MSGMERGE = @MSGMERGE@ |
1147 | NM = @NM@ |
1148 | NMEDIT = @NMEDIT@ |
1149 | OBJDUMP = @OBJDUMP@ |
1150 | @@ -178,6 +190,7 @@ |
1151 | PKG_CONFIG = @PKG_CONFIG@ |
1152 | POPPLER_CFLAGS = @POPPLER_CFLAGS@ |
1153 | POPPLER_LIBS = @POPPLER_LIBS@ |
1154 | +POSUB = @POSUB@ |
1155 | RANLIB = @RANLIB@ |
1156 | SED = @SED@ |
1157 | SET_MAKE = @SET_MAKE@ |
1158 | @@ -185,7 +198,11 @@ |
1159 | STRIP = @STRIP@ |
1160 | TAGLIB_CFLAGS = @TAGLIB_CFLAGS@ |
1161 | TAGLIB_LIBS = @TAGLIB_LIBS@ |
1162 | +USE_NLS = @USE_NLS@ |
1163 | VERSION = @VERSION@ |
1164 | +XGETTEXT = @XGETTEXT@ |
1165 | +XGETTEXT_015 = @XGETTEXT_015@ |
1166 | +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ |
1167 | abs_builddir = @abs_builddir@ |
1168 | abs_srcdir = @abs_srcdir@ |
1169 | abs_top_builddir = @abs_top_builddir@ |
1170 | @@ -239,7 +256,9 @@ |
1171 | top_build_prefix = @top_build_prefix@ |
1172 | top_builddir = @top_builddir@ |
1173 | top_srcdir = @top_srcdir@ |
1174 | -SUBDIRS = src data |
1175 | +SUBDIRS = src data po |
1176 | +ACLOCAL_AMFLAGS = -I m4 |
1177 | +EXTRA_DIST = config.rpath m4/ChangeLog |
1178 | all: config.h |
1179 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
1180 | |
1181 | |
1182 | === modified file 'gloobus-preview/aclocal.m4' |
1183 | --- gloobus-preview/aclocal.m4 2009-10-31 16:20:08 +0000 |
1184 | +++ gloobus-preview/aclocal.m4 2009-11-12 04:38:08 +0000 |
1185 | @@ -19,6 +19,1628 @@ |
1186 | If you have problems, you may need to regenerate the build system entirely. |
1187 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
1188 | |
1189 | +# gettext.m4 serial 60 (gettext-0.17) |
1190 | +dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. |
1191 | +dnl This file is free software; the Free Software Foundation |
1192 | +dnl gives unlimited permission to copy and/or distribute it, |
1193 | +dnl with or without modifications, as long as this notice is preserved. |
1194 | +dnl |
1195 | +dnl This file can can be used in projects which are not available under |
1196 | +dnl the GNU General Public License or the GNU Library General Public |
1197 | +dnl License but which still want to provide support for the GNU gettext |
1198 | +dnl functionality. |
1199 | +dnl Please note that the actual code of the GNU gettext library is covered |
1200 | +dnl by the GNU Library General Public License, and the rest of the GNU |
1201 | +dnl gettext package package is covered by the GNU General Public License. |
1202 | +dnl They are *not* in the public domain. |
1203 | + |
1204 | +dnl Authors: |
1205 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
1206 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006. |
1207 | + |
1208 | +dnl Macro to add for using GNU gettext. |
1209 | + |
1210 | +dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). |
1211 | +dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The |
1212 | +dnl default (if it is not specified or empty) is 'no-libtool'. |
1213 | +dnl INTLSYMBOL should be 'external' for packages with no intl directory, |
1214 | +dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. |
1215 | +dnl If INTLSYMBOL is 'use-libtool', then a libtool library |
1216 | +dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, |
1217 | +dnl depending on --{enable,disable}-{shared,static} and on the presence of |
1218 | +dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library |
1219 | +dnl $(top_builddir)/intl/libintl.a will be created. |
1220 | +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext |
1221 | +dnl implementations (in libc or libintl) without the ngettext() function |
1222 | +dnl will be ignored. If NEEDSYMBOL is specified and is |
1223 | +dnl 'need-formatstring-macros', then GNU gettext implementations that don't |
1224 | +dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. |
1225 | +dnl INTLDIR is used to find the intl libraries. If empty, |
1226 | +dnl the value `$(top_builddir)/intl/' is used. |
1227 | +dnl |
1228 | +dnl The result of the configuration is one of three cases: |
1229 | +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled |
1230 | +dnl and used. |
1231 | +dnl Catalog format: GNU --> install in $(datadir) |
1232 | +dnl Catalog extension: .mo after installation, .gmo in source tree |
1233 | +dnl 2) GNU gettext has been found in the system's C library. |
1234 | +dnl Catalog format: GNU --> install in $(datadir) |
1235 | +dnl Catalog extension: .mo after installation, .gmo in source tree |
1236 | +dnl 3) No internationalization, always use English msgid. |
1237 | +dnl Catalog format: none |
1238 | +dnl Catalog extension: none |
1239 | +dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. |
1240 | +dnl The use of .gmo is historical (it was needed to avoid overwriting the |
1241 | +dnl GNU format catalogs when building on a platform with an X/Open gettext), |
1242 | +dnl but we keep it in order not to force irrelevant filename changes on the |
1243 | +dnl maintainers. |
1244 | +dnl |
1245 | +AC_DEFUN([AM_GNU_GETTEXT], |
1246 | +[ |
1247 | + dnl Argument checking. |
1248 | + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , |
1249 | + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT |
1250 | +])])])])]) |
1251 | + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , |
1252 | + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT |
1253 | +])])])]) |
1254 | + define([gt_included_intl], |
1255 | + ifelse([$1], [external], |
1256 | + ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), |
1257 | + [yes])) |
1258 | + define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) |
1259 | + gt_NEEDS_INIT |
1260 | + AM_GNU_GETTEXT_NEED([$2]) |
1261 | + |
1262 | + AC_REQUIRE([AM_PO_SUBDIRS])dnl |
1263 | + ifelse(gt_included_intl, yes, [ |
1264 | + AC_REQUIRE([AM_INTL_SUBDIR])dnl |
1265 | + ]) |
1266 | + |
1267 | + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. |
1268 | + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |
1269 | + AC_REQUIRE([AC_LIB_RPATH]) |
1270 | + |
1271 | + dnl Sometimes libintl requires libiconv, so first search for libiconv. |
1272 | + dnl Ideally we would do this search only after the |
1273 | + dnl if test "$USE_NLS" = "yes"; then |
1274 | + dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
1275 | + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT |
1276 | + dnl the configure script would need to contain the same shell code |
1277 | + dnl again, outside any 'if'. There are two solutions: |
1278 | + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. |
1279 | + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. |
1280 | + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not |
1281 | + dnl documented, we avoid it. |
1282 | + ifelse(gt_included_intl, yes, , [ |
1283 | + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) |
1284 | + ]) |
1285 | + |
1286 | + dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. |
1287 | + gt_INTL_MACOSX |
1288 | + |
1289 | + dnl Set USE_NLS. |
1290 | + AC_REQUIRE([AM_NLS]) |
1291 | + |
1292 | + ifelse(gt_included_intl, yes, [ |
1293 | + BUILD_INCLUDED_LIBINTL=no |
1294 | + USE_INCLUDED_LIBINTL=no |
1295 | + ]) |
1296 | + LIBINTL= |
1297 | + LTLIBINTL= |
1298 | + POSUB= |
1299 | + |
1300 | + dnl Add a version number to the cache macros. |
1301 | + case " $gt_needs " in |
1302 | + *" need-formatstring-macros "*) gt_api_version=3 ;; |
1303 | + *" need-ngettext "*) gt_api_version=2 ;; |
1304 | + *) gt_api_version=1 ;; |
1305 | + esac |
1306 | + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
1307 | + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
1308 | + |
1309 | + dnl If we use NLS figure out what method |
1310 | + if test "$USE_NLS" = "yes"; then |
1311 | + gt_use_preinstalled_gnugettext=no |
1312 | + ifelse(gt_included_intl, yes, [ |
1313 | + AC_MSG_CHECKING([whether included gettext is requested]) |
1314 | + AC_ARG_WITH(included-gettext, |
1315 | + [ --with-included-gettext use the GNU gettext library included here], |
1316 | + nls_cv_force_use_gnu_gettext=$withval, |
1317 | + nls_cv_force_use_gnu_gettext=no) |
1318 | + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) |
1319 | + |
1320 | + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" |
1321 | + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then |
1322 | + ]) |
1323 | + dnl User does not insist on using GNU NLS library. Figure out what |
1324 | + dnl to use. If GNU gettext is available we use this. Else we have |
1325 | + dnl to fall back to GNU NLS library. |
1326 | + |
1327 | + if test $gt_api_version -ge 3; then |
1328 | + gt_revision_test_code=' |
1329 | +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
1330 | +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) |
1331 | +#endif |
1332 | +changequote(,)dnl |
1333 | +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; |
1334 | +changequote([,])dnl |
1335 | +' |
1336 | + else |
1337 | + gt_revision_test_code= |
1338 | + fi |
1339 | + if test $gt_api_version -ge 2; then |
1340 | + gt_expression_test_code=' + * ngettext ("", "", 0)' |
1341 | + else |
1342 | + gt_expression_test_code= |
1343 | + fi |
1344 | + |
1345 | + AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], |
1346 | + [AC_TRY_LINK([#include <libintl.h> |
1347 | +$gt_revision_test_code |
1348 | +extern int _nl_msg_cat_cntr; |
1349 | +extern int *_nl_domain_bindings;], |
1350 | + [bindtextdomain ("", ""); |
1351 | +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], |
1352 | + [eval "$gt_func_gnugettext_libc=yes"], |
1353 | + [eval "$gt_func_gnugettext_libc=no"])]) |
1354 | + |
1355 | + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
1356 | + dnl Sometimes libintl requires libiconv, so first search for libiconv. |
1357 | + ifelse(gt_included_intl, yes, , [ |
1358 | + AM_ICONV_LINK |
1359 | + ]) |
1360 | + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL |
1361 | + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) |
1362 | + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL |
1363 | + dnl even if libiconv doesn't exist. |
1364 | + AC_LIB_LINKFLAGS_BODY([intl]) |
1365 | + AC_CACHE_CHECK([for GNU gettext in libintl], |
1366 | + [$gt_func_gnugettext_libintl], |
1367 | + [gt_save_CPPFLAGS="$CPPFLAGS" |
1368 | + CPPFLAGS="$CPPFLAGS $INCINTL" |
1369 | + gt_save_LIBS="$LIBS" |
1370 | + LIBS="$LIBS $LIBINTL" |
1371 | + dnl Now see whether libintl exists and does not depend on libiconv. |
1372 | + AC_TRY_LINK([#include <libintl.h> |
1373 | +$gt_revision_test_code |
1374 | +extern int _nl_msg_cat_cntr; |
1375 | +extern |
1376 | +#ifdef __cplusplus |
1377 | +"C" |
1378 | +#endif |
1379 | +const char *_nl_expand_alias (const char *);], |
1380 | + [bindtextdomain ("", ""); |
1381 | +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], |
1382 | + [eval "$gt_func_gnugettext_libintl=yes"], |
1383 | + [eval "$gt_func_gnugettext_libintl=no"]) |
1384 | + dnl Now see whether libintl exists and depends on libiconv. |
1385 | + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then |
1386 | + LIBS="$LIBS $LIBICONV" |
1387 | + AC_TRY_LINK([#include <libintl.h> |
1388 | +$gt_revision_test_code |
1389 | +extern int _nl_msg_cat_cntr; |
1390 | +extern |
1391 | +#ifdef __cplusplus |
1392 | +"C" |
1393 | +#endif |
1394 | +const char *_nl_expand_alias (const char *);], |
1395 | + [bindtextdomain ("", ""); |
1396 | +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], |
1397 | + [LIBINTL="$LIBINTL $LIBICONV" |
1398 | + LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
1399 | + eval "$gt_func_gnugettext_libintl=yes" |
1400 | + ]) |
1401 | + fi |
1402 | + CPPFLAGS="$gt_save_CPPFLAGS" |
1403 | + LIBS="$gt_save_LIBS"]) |
1404 | + fi |
1405 | + |
1406 | + dnl If an already present or preinstalled GNU gettext() is found, |
1407 | + dnl use it. But if this macro is used in GNU gettext, and GNU |
1408 | + dnl gettext is already preinstalled in libintl, we update this |
1409 | + dnl libintl. (Cf. the install rule in intl/Makefile.in.) |
1410 | + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ |
1411 | + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ |
1412 | + && test "$PACKAGE" != gettext-runtime \ |
1413 | + && test "$PACKAGE" != gettext-tools; }; then |
1414 | + gt_use_preinstalled_gnugettext=yes |
1415 | + else |
1416 | + dnl Reset the values set by searching for libintl. |
1417 | + LIBINTL= |
1418 | + LTLIBINTL= |
1419 | + INCINTL= |
1420 | + fi |
1421 | + |
1422 | + ifelse(gt_included_intl, yes, [ |
1423 | + if test "$gt_use_preinstalled_gnugettext" != "yes"; then |
1424 | + dnl GNU gettext is not found in the C library. |
1425 | + dnl Fall back on included GNU gettext library. |
1426 | + nls_cv_use_gnu_gettext=yes |
1427 | + fi |
1428 | + fi |
1429 | + |
1430 | + if test "$nls_cv_use_gnu_gettext" = "yes"; then |
1431 | + dnl Mark actions used to generate GNU NLS library. |
1432 | + BUILD_INCLUDED_LIBINTL=yes |
1433 | + USE_INCLUDED_LIBINTL=yes |
1434 | + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" |
1435 | + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" |
1436 | + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` |
1437 | + fi |
1438 | + |
1439 | + CATOBJEXT= |
1440 | + if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
1441 | + || test "$nls_cv_use_gnu_gettext" = "yes"; then |
1442 | + dnl Mark actions to use GNU gettext tools. |
1443 | + CATOBJEXT=.gmo |
1444 | + fi |
1445 | + ]) |
1446 | + |
1447 | + if test -n "$INTL_MACOSX_LIBS"; then |
1448 | + if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
1449 | + || test "$nls_cv_use_gnu_gettext" = "yes"; then |
1450 | + dnl Some extra flags are needed during linking. |
1451 | + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
1452 | + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
1453 | + fi |
1454 | + fi |
1455 | + |
1456 | + if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
1457 | + || test "$nls_cv_use_gnu_gettext" = "yes"; then |
1458 | + AC_DEFINE(ENABLE_NLS, 1, |
1459 | + [Define to 1 if translation of program messages to the user's native language |
1460 | + is requested.]) |
1461 | + else |
1462 | + USE_NLS=no |
1463 | + fi |
1464 | + fi |
1465 | + |
1466 | + AC_MSG_CHECKING([whether to use NLS]) |
1467 | + AC_MSG_RESULT([$USE_NLS]) |
1468 | + if test "$USE_NLS" = "yes"; then |
1469 | + AC_MSG_CHECKING([where the gettext function comes from]) |
1470 | + if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
1471 | + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
1472 | + gt_source="external libintl" |
1473 | + else |
1474 | + gt_source="libc" |
1475 | + fi |
1476 | + else |
1477 | + gt_source="included intl directory" |
1478 | + fi |
1479 | + AC_MSG_RESULT([$gt_source]) |
1480 | + fi |
1481 | + |
1482 | + if test "$USE_NLS" = "yes"; then |
1483 | + |
1484 | + if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
1485 | + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
1486 | + AC_MSG_CHECKING([how to link with libintl]) |
1487 | + AC_MSG_RESULT([$LIBINTL]) |
1488 | + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) |
1489 | + fi |
1490 | + |
1491 | + dnl For backward compatibility. Some packages may be using this. |
1492 | + AC_DEFINE(HAVE_GETTEXT, 1, |
1493 | + [Define if the GNU gettext() function is already present or preinstalled.]) |
1494 | + AC_DEFINE(HAVE_DCGETTEXT, 1, |
1495 | + [Define if the GNU dcgettext() function is already present or preinstalled.]) |
1496 | + fi |
1497 | + |
1498 | + dnl We need to process the po/ directory. |
1499 | + POSUB=po |
1500 | + fi |
1501 | + |
1502 | + ifelse(gt_included_intl, yes, [ |
1503 | + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL |
1504 | + dnl to 'yes' because some of the testsuite requires it. |
1505 | + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then |
1506 | + BUILD_INCLUDED_LIBINTL=yes |
1507 | + fi |
1508 | + |
1509 | + dnl Make all variables we use known to autoconf. |
1510 | + AC_SUBST(BUILD_INCLUDED_LIBINTL) |
1511 | + AC_SUBST(USE_INCLUDED_LIBINTL) |
1512 | + AC_SUBST(CATOBJEXT) |
1513 | + |
1514 | + dnl For backward compatibility. Some configure.ins may be using this. |
1515 | + nls_cv_header_intl= |
1516 | + nls_cv_header_libgt= |
1517 | + |
1518 | + dnl For backward compatibility. Some Makefiles may be using this. |
1519 | + DATADIRNAME=share |
1520 | + AC_SUBST(DATADIRNAME) |
1521 | + |
1522 | + dnl For backward compatibility. Some Makefiles may be using this. |
1523 | + INSTOBJEXT=.mo |
1524 | + AC_SUBST(INSTOBJEXT) |
1525 | + |
1526 | + dnl For backward compatibility. Some Makefiles may be using this. |
1527 | + GENCAT=gencat |
1528 | + AC_SUBST(GENCAT) |
1529 | + |
1530 | + dnl For backward compatibility. Some Makefiles may be using this. |
1531 | + INTLOBJS= |
1532 | + if test "$USE_INCLUDED_LIBINTL" = yes; then |
1533 | + INTLOBJS="\$(GETTOBJS)" |
1534 | + fi |
1535 | + AC_SUBST(INTLOBJS) |
1536 | + |
1537 | + dnl Enable libtool support if the surrounding package wishes it. |
1538 | + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix |
1539 | + AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) |
1540 | + ]) |
1541 | + |
1542 | + dnl For backward compatibility. Some Makefiles may be using this. |
1543 | + INTLLIBS="$LIBINTL" |
1544 | + AC_SUBST(INTLLIBS) |
1545 | + |
1546 | + dnl Make all documented variables known to autoconf. |
1547 | + AC_SUBST(LIBINTL) |
1548 | + AC_SUBST(LTLIBINTL) |
1549 | + AC_SUBST(POSUB) |
1550 | +]) |
1551 | + |
1552 | + |
1553 | +dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. |
1554 | +m4_define([gt_NEEDS_INIT], |
1555 | +[ |
1556 | + m4_divert_text([DEFAULTS], [gt_needs=]) |
1557 | + m4_define([gt_NEEDS_INIT], []) |
1558 | +]) |
1559 | + |
1560 | + |
1561 | +dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) |
1562 | +AC_DEFUN([AM_GNU_GETTEXT_NEED], |
1563 | +[ |
1564 | + m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) |
1565 | +]) |
1566 | + |
1567 | + |
1568 | +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) |
1569 | +AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) |
1570 | + |
1571 | +# iconv.m4 serial AM6 (gettext-0.17) |
1572 | +dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. |
1573 | +dnl This file is free software; the Free Software Foundation |
1574 | +dnl gives unlimited permission to copy and/or distribute it, |
1575 | +dnl with or without modifications, as long as this notice is preserved. |
1576 | + |
1577 | +dnl From Bruno Haible. |
1578 | + |
1579 | +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], |
1580 | +[ |
1581 | + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. |
1582 | + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |
1583 | + AC_REQUIRE([AC_LIB_RPATH]) |
1584 | + |
1585 | + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV |
1586 | + dnl accordingly. |
1587 | + AC_LIB_LINKFLAGS_BODY([iconv]) |
1588 | +]) |
1589 | + |
1590 | +AC_DEFUN([AM_ICONV_LINK], |
1591 | +[ |
1592 | + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and |
1593 | + dnl those with the standalone portable GNU libiconv installed). |
1594 | + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles |
1595 | + |
1596 | + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV |
1597 | + dnl accordingly. |
1598 | + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) |
1599 | + |
1600 | + dnl Add $INCICONV to CPPFLAGS before performing the following checks, |
1601 | + dnl because if the user has installed libiconv and not disabled its use |
1602 | + dnl via --without-libiconv-prefix, he wants to use it. The first |
1603 | + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. |
1604 | + am_save_CPPFLAGS="$CPPFLAGS" |
1605 | + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) |
1606 | + |
1607 | + AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ |
1608 | + am_cv_func_iconv="no, consider installing GNU libiconv" |
1609 | + am_cv_lib_iconv=no |
1610 | + AC_TRY_LINK([#include <stdlib.h> |
1611 | +#include <iconv.h>], |
1612 | + [iconv_t cd = iconv_open("",""); |
1613 | + iconv(cd,NULL,NULL,NULL,NULL); |
1614 | + iconv_close(cd);], |
1615 | + am_cv_func_iconv=yes) |
1616 | + if test "$am_cv_func_iconv" != yes; then |
1617 | + am_save_LIBS="$LIBS" |
1618 | + LIBS="$LIBS $LIBICONV" |
1619 | + AC_TRY_LINK([#include <stdlib.h> |
1620 | +#include <iconv.h>], |
1621 | + [iconv_t cd = iconv_open("",""); |
1622 | + iconv(cd,NULL,NULL,NULL,NULL); |
1623 | + iconv_close(cd);], |
1624 | + am_cv_lib_iconv=yes |
1625 | + am_cv_func_iconv=yes) |
1626 | + LIBS="$am_save_LIBS" |
1627 | + fi |
1628 | + ]) |
1629 | + if test "$am_cv_func_iconv" = yes; then |
1630 | + AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [ |
1631 | + dnl This tests against bugs in AIX 5.1 and HP-UX 11.11. |
1632 | + am_save_LIBS="$LIBS" |
1633 | + if test $am_cv_lib_iconv = yes; then |
1634 | + LIBS="$LIBS $LIBICONV" |
1635 | + fi |
1636 | + AC_TRY_RUN([ |
1637 | +#include <iconv.h> |
1638 | +#include <string.h> |
1639 | +int main () |
1640 | +{ |
1641 | + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
1642 | + returns. */ |
1643 | + { |
1644 | + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
1645 | + if (cd_utf8_to_88591 != (iconv_t)(-1)) |
1646 | + { |
1647 | + static const char input[] = "\342\202\254"; /* EURO SIGN */ |
1648 | + char buf[10]; |
1649 | + const char *inptr = input; |
1650 | + size_t inbytesleft = strlen (input); |
1651 | + char *outptr = buf; |
1652 | + size_t outbytesleft = sizeof (buf); |
1653 | + size_t res = iconv (cd_utf8_to_88591, |
1654 | + (char **) &inptr, &inbytesleft, |
1655 | + &outptr, &outbytesleft); |
1656 | + if (res == 0) |
1657 | + return 1; |
1658 | + } |
1659 | + } |
1660 | +#if 0 /* This bug could be worked around by the caller. */ |
1661 | + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
1662 | + { |
1663 | + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
1664 | + if (cd_88591_to_utf8 != (iconv_t)(-1)) |
1665 | + { |
1666 | + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; |
1667 | + char buf[50]; |
1668 | + const char *inptr = input; |
1669 | + size_t inbytesleft = strlen (input); |
1670 | + char *outptr = buf; |
1671 | + size_t outbytesleft = sizeof (buf); |
1672 | + size_t res = iconv (cd_88591_to_utf8, |
1673 | + (char **) &inptr, &inbytesleft, |
1674 | + &outptr, &outbytesleft); |
1675 | + if ((int)res > 0) |
1676 | + return 1; |
1677 | + } |
1678 | + } |
1679 | +#endif |
1680 | + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
1681 | + provided. */ |
1682 | + if (/* Try standardized names. */ |
1683 | + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
1684 | + /* Try IRIX, OSF/1 names. */ |
1685 | + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
1686 | + /* Try AIX names. */ |
1687 | + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
1688 | + /* Try HP-UX names. */ |
1689 | + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
1690 | + return 1; |
1691 | + return 0; |
1692 | +}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], |
1693 | + [case "$host_os" in |
1694 | + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
1695 | + *) am_cv_func_iconv_works="guessing yes" ;; |
1696 | + esac]) |
1697 | + LIBS="$am_save_LIBS" |
1698 | + ]) |
1699 | + case "$am_cv_func_iconv_works" in |
1700 | + *no) am_func_iconv=no am_cv_lib_iconv=no ;; |
1701 | + *) am_func_iconv=yes ;; |
1702 | + esac |
1703 | + else |
1704 | + am_func_iconv=no am_cv_lib_iconv=no |
1705 | + fi |
1706 | + if test "$am_func_iconv" = yes; then |
1707 | + AC_DEFINE(HAVE_ICONV, 1, |
1708 | + [Define if you have the iconv() function and it works.]) |
1709 | + fi |
1710 | + if test "$am_cv_lib_iconv" = yes; then |
1711 | + AC_MSG_CHECKING([how to link with libiconv]) |
1712 | + AC_MSG_RESULT([$LIBICONV]) |
1713 | + else |
1714 | + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV |
1715 | + dnl either. |
1716 | + CPPFLAGS="$am_save_CPPFLAGS" |
1717 | + LIBICONV= |
1718 | + LTLIBICONV= |
1719 | + fi |
1720 | + AC_SUBST(LIBICONV) |
1721 | + AC_SUBST(LTLIBICONV) |
1722 | +]) |
1723 | + |
1724 | +AC_DEFUN([AM_ICONV], |
1725 | +[ |
1726 | + AM_ICONV_LINK |
1727 | + if test "$am_cv_func_iconv" = yes; then |
1728 | + AC_MSG_CHECKING([for iconv declaration]) |
1729 | + AC_CACHE_VAL(am_cv_proto_iconv, [ |
1730 | + AC_TRY_COMPILE([ |
1731 | +#include <stdlib.h> |
1732 | +#include <iconv.h> |
1733 | +extern |
1734 | +#ifdef __cplusplus |
1735 | +"C" |
1736 | +#endif |
1737 | +#if defined(__STDC__) || defined(__cplusplus) |
1738 | +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); |
1739 | +#else |
1740 | +size_t iconv(); |
1741 | +#endif |
1742 | +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") |
1743 | + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) |
1744 | + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` |
1745 | + AC_MSG_RESULT([$]{ac_t:- |
1746 | + }[$]am_cv_proto_iconv) |
1747 | + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, |
1748 | + [Define as const if the declaration of iconv() needs const.]) |
1749 | + fi |
1750 | +]) |
1751 | + |
1752 | +# intlmacosx.m4 serial 1 (gettext-0.17) |
1753 | +dnl Copyright (C) 2004-2007 Free Software Foundation, Inc. |
1754 | +dnl This file is free software; the Free Software Foundation |
1755 | +dnl gives unlimited permission to copy and/or distribute it, |
1756 | +dnl with or without modifications, as long as this notice is preserved. |
1757 | +dnl |
1758 | +dnl This file can can be used in projects which are not available under |
1759 | +dnl the GNU General Public License or the GNU Library General Public |
1760 | +dnl License but which still want to provide support for the GNU gettext |
1761 | +dnl functionality. |
1762 | +dnl Please note that the actual code of the GNU gettext library is covered |
1763 | +dnl by the GNU Library General Public License, and the rest of the GNU |
1764 | +dnl gettext package package is covered by the GNU General Public License. |
1765 | +dnl They are *not* in the public domain. |
1766 | + |
1767 | +dnl Checks for special options needed on MacOS X. |
1768 | +dnl Defines INTL_MACOSX_LIBS. |
1769 | +AC_DEFUN([gt_INTL_MACOSX], |
1770 | +[ |
1771 | + dnl Check for API introduced in MacOS X 10.2. |
1772 | + AC_CACHE_CHECK([for CFPreferencesCopyAppValue], |
1773 | + gt_cv_func_CFPreferencesCopyAppValue, |
1774 | + [gt_save_LIBS="$LIBS" |
1775 | + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
1776 | + AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], |
1777 | + [CFPreferencesCopyAppValue(NULL, NULL)], |
1778 | + [gt_cv_func_CFPreferencesCopyAppValue=yes], |
1779 | + [gt_cv_func_CFPreferencesCopyAppValue=no]) |
1780 | + LIBS="$gt_save_LIBS"]) |
1781 | + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
1782 | + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, |
1783 | + [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) |
1784 | + fi |
1785 | + dnl Check for API introduced in MacOS X 10.3. |
1786 | + AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, |
1787 | + [gt_save_LIBS="$LIBS" |
1788 | + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
1789 | + AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], |
1790 | + [gt_cv_func_CFLocaleCopyCurrent=yes], |
1791 | + [gt_cv_func_CFLocaleCopyCurrent=no]) |
1792 | + LIBS="$gt_save_LIBS"]) |
1793 | + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
1794 | + AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, |
1795 | + [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) |
1796 | + fi |
1797 | + INTL_MACOSX_LIBS= |
1798 | + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
1799 | + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
1800 | + fi |
1801 | + AC_SUBST([INTL_MACOSX_LIBS]) |
1802 | +]) |
1803 | + |
1804 | +# lib-ld.m4 serial 3 (gettext-0.13) |
1805 | +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. |
1806 | +dnl This file is free software; the Free Software Foundation |
1807 | +dnl gives unlimited permission to copy and/or distribute it, |
1808 | +dnl with or without modifications, as long as this notice is preserved. |
1809 | + |
1810 | +dnl Subroutines of libtool.m4, |
1811 | +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision |
1812 | +dnl with libtool.m4. |
1813 | + |
1814 | +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. |
1815 | +AC_DEFUN([AC_LIB_PROG_LD_GNU], |
1816 | +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, |
1817 | +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
1818 | +case `$LD -v 2>&1 </dev/null` in |
1819 | +*GNU* | *'with BFD'*) |
1820 | + acl_cv_prog_gnu_ld=yes ;; |
1821 | +*) |
1822 | + acl_cv_prog_gnu_ld=no ;; |
1823 | +esac]) |
1824 | +with_gnu_ld=$acl_cv_prog_gnu_ld |
1825 | +]) |
1826 | + |
1827 | +dnl From libtool-1.4. Sets the variable LD. |
1828 | +AC_DEFUN([AC_LIB_PROG_LD], |
1829 | +[AC_ARG_WITH(gnu-ld, |
1830 | +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], |
1831 | +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) |
1832 | +AC_REQUIRE([AC_PROG_CC])dnl |
1833 | +AC_REQUIRE([AC_CANONICAL_HOST])dnl |
1834 | +# Prepare PATH_SEPARATOR. |
1835 | +# The user is always right. |
1836 | +if test "${PATH_SEPARATOR+set}" != set; then |
1837 | + echo "#! /bin/sh" >conf$$.sh |
1838 | + echo "exit 0" >>conf$$.sh |
1839 | + chmod +x conf$$.sh |
1840 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
1841 | + PATH_SEPARATOR=';' |
1842 | + else |
1843 | + PATH_SEPARATOR=: |
1844 | + fi |
1845 | + rm -f conf$$.sh |
1846 | +fi |
1847 | +ac_prog=ld |
1848 | +if test "$GCC" = yes; then |
1849 | + # Check if gcc -print-prog-name=ld gives a path. |
1850 | + AC_MSG_CHECKING([for ld used by GCC]) |
1851 | + case $host in |
1852 | + *-*-mingw*) |
1853 | + # gcc leaves a trailing carriage return which upsets mingw |
1854 | + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
1855 | + *) |
1856 | + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
1857 | + esac |
1858 | + case $ac_prog in |
1859 | + # Accept absolute paths. |
1860 | + [[\\/]* | [A-Za-z]:[\\/]*)] |
1861 | + [re_direlt='/[^/][^/]*/\.\./'] |
1862 | + # Canonicalize the path of ld |
1863 | + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
1864 | + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
1865 | + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
1866 | + done |
1867 | + test -z "$LD" && LD="$ac_prog" |
1868 | + ;; |
1869 | + "") |
1870 | + # If it fails, then pretend we aren't using GCC. |
1871 | + ac_prog=ld |
1872 | + ;; |
1873 | + *) |
1874 | + # If it is relative, then search for the first ld in PATH. |
1875 | + with_gnu_ld=unknown |
1876 | + ;; |
1877 | + esac |
1878 | +elif test "$with_gnu_ld" = yes; then |
1879 | + AC_MSG_CHECKING([for GNU ld]) |
1880 | +else |
1881 | + AC_MSG_CHECKING([for non-GNU ld]) |
1882 | +fi |
1883 | +AC_CACHE_VAL(acl_cv_path_LD, |
1884 | +[if test -z "$LD"; then |
1885 | + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
1886 | + for ac_dir in $PATH; do |
1887 | + test -z "$ac_dir" && ac_dir=. |
1888 | + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
1889 | + acl_cv_path_LD="$ac_dir/$ac_prog" |
1890 | + # Check to see if the program is GNU ld. I'd rather use --version, |
1891 | + # but apparently some GNU ld's only accept -v. |
1892 | + # Break only if it was the GNU/non-GNU ld that we prefer. |
1893 | + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in |
1894 | + *GNU* | *'with BFD'*) |
1895 | + test "$with_gnu_ld" != no && break ;; |
1896 | + *) |
1897 | + test "$with_gnu_ld" != yes && break ;; |
1898 | + esac |
1899 | + fi |
1900 | + done |
1901 | + IFS="$ac_save_ifs" |
1902 | +else |
1903 | + acl_cv_path_LD="$LD" # Let the user override the test with a path. |
1904 | +fi]) |
1905 | +LD="$acl_cv_path_LD" |
1906 | +if test -n "$LD"; then |
1907 | + AC_MSG_RESULT($LD) |
1908 | +else |
1909 | + AC_MSG_RESULT(no) |
1910 | +fi |
1911 | +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) |
1912 | +AC_LIB_PROG_LD_GNU |
1913 | +]) |
1914 | + |
1915 | +# lib-link.m4 serial 13 (gettext-0.17) |
1916 | +dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. |
1917 | +dnl This file is free software; the Free Software Foundation |
1918 | +dnl gives unlimited permission to copy and/or distribute it, |
1919 | +dnl with or without modifications, as long as this notice is preserved. |
1920 | + |
1921 | +dnl From Bruno Haible. |
1922 | + |
1923 | +AC_PREREQ(2.54) |
1924 | + |
1925 | +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and |
1926 | +dnl the libraries corresponding to explicit and implicit dependencies. |
1927 | +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and |
1928 | +dnl augments the CPPFLAGS variable. |
1929 | +dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname |
1930 | +dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |
1931 | +AC_DEFUN([AC_LIB_LINKFLAGS], |
1932 | +[ |
1933 | + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |
1934 | + AC_REQUIRE([AC_LIB_RPATH]) |
1935 | + define([Name],[translit([$1],[./-], [___])]) |
1936 | + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |
1937 | + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |
1938 | + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ |
1939 | + AC_LIB_LINKFLAGS_BODY([$1], [$2]) |
1940 | + ac_cv_lib[]Name[]_libs="$LIB[]NAME" |
1941 | + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" |
1942 | + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" |
1943 | + ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" |
1944 | + ]) |
1945 | + LIB[]NAME="$ac_cv_lib[]Name[]_libs" |
1946 | + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" |
1947 | + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" |
1948 | + LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" |
1949 | + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) |
1950 | + AC_SUBST([LIB]NAME) |
1951 | + AC_SUBST([LTLIB]NAME) |
1952 | + AC_SUBST([LIB]NAME[_PREFIX]) |
1953 | + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the |
1954 | + dnl results of this search when this library appears as a dependency. |
1955 | + HAVE_LIB[]NAME=yes |
1956 | + undefine([Name]) |
1957 | + undefine([NAME]) |
1958 | +]) |
1959 | + |
1960 | +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) |
1961 | +dnl searches for libname and the libraries corresponding to explicit and |
1962 | +dnl implicit dependencies, together with the specified include files and |
1963 | +dnl the ability to compile and link the specified testcode. If found, it |
1964 | +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and |
1965 | +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and |
1966 | +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs |
1967 | +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. |
1968 | +dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname |
1969 | +dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |
1970 | +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], |
1971 | +[ |
1972 | + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |
1973 | + AC_REQUIRE([AC_LIB_RPATH]) |
1974 | + define([Name],[translit([$1],[./-], [___])]) |
1975 | + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |
1976 | + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |
1977 | + |
1978 | + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME |
1979 | + dnl accordingly. |
1980 | + AC_LIB_LINKFLAGS_BODY([$1], [$2]) |
1981 | + |
1982 | + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, |
1983 | + dnl because if the user has installed lib[]Name and not disabled its use |
1984 | + dnl via --without-lib[]Name-prefix, he wants to use it. |
1985 | + ac_save_CPPFLAGS="$CPPFLAGS" |
1986 | + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) |
1987 | + |
1988 | + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ |
1989 | + ac_save_LIBS="$LIBS" |
1990 | + LIBS="$LIBS $LIB[]NAME" |
1991 | + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) |
1992 | + LIBS="$ac_save_LIBS" |
1993 | + ]) |
1994 | + if test "$ac_cv_lib[]Name" = yes; then |
1995 | + HAVE_LIB[]NAME=yes |
1996 | + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) |
1997 | + AC_MSG_CHECKING([how to link with lib[]$1]) |
1998 | + AC_MSG_RESULT([$LIB[]NAME]) |
1999 | + else |
2000 | + HAVE_LIB[]NAME=no |
2001 | + dnl If $LIB[]NAME didn't lead to a usable library, we don't need |
2002 | + dnl $INC[]NAME either. |
2003 | + CPPFLAGS="$ac_save_CPPFLAGS" |
2004 | + LIB[]NAME= |
2005 | + LTLIB[]NAME= |
2006 | + LIB[]NAME[]_PREFIX= |
2007 | + fi |
2008 | + AC_SUBST([HAVE_LIB]NAME) |
2009 | + AC_SUBST([LIB]NAME) |
2010 | + AC_SUBST([LTLIB]NAME) |
2011 | + AC_SUBST([LIB]NAME[_PREFIX]) |
2012 | + undefine([Name]) |
2013 | + undefine([NAME]) |
2014 | +]) |
2015 | + |
2016 | +dnl Determine the platform dependent parameters needed to use rpath: |
2017 | +dnl acl_libext, |
2018 | +dnl acl_shlibext, |
2019 | +dnl acl_hardcode_libdir_flag_spec, |
2020 | +dnl acl_hardcode_libdir_separator, |
2021 | +dnl acl_hardcode_direct, |
2022 | +dnl acl_hardcode_minus_L. |
2023 | +AC_DEFUN([AC_LIB_RPATH], |
2024 | +[ |
2025 | + dnl Tell automake >= 1.10 to complain if config.rpath is missing. |
2026 | + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) |
2027 | + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS |
2028 | + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld |
2029 | + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host |
2030 | + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir |
2031 | + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ |
2032 | + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
2033 | + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
2034 | + . ./conftest.sh |
2035 | + rm -f ./conftest.sh |
2036 | + acl_cv_rpath=done |
2037 | + ]) |
2038 | + wl="$acl_cv_wl" |
2039 | + acl_libext="$acl_cv_libext" |
2040 | + acl_shlibext="$acl_cv_shlibext" |
2041 | + acl_libname_spec="$acl_cv_libname_spec" |
2042 | + acl_library_names_spec="$acl_cv_library_names_spec" |
2043 | + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
2044 | + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
2045 | + acl_hardcode_direct="$acl_cv_hardcode_direct" |
2046 | + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
2047 | + dnl Determine whether the user wants rpath handling at all. |
2048 | + AC_ARG_ENABLE(rpath, |
2049 | + [ --disable-rpath do not hardcode runtime library paths], |
2050 | + :, enable_rpath=yes) |
2051 | +]) |
2052 | + |
2053 | +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and |
2054 | +dnl the libraries corresponding to explicit and implicit dependencies. |
2055 | +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. |
2056 | +dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found |
2057 | +dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |
2058 | +AC_DEFUN([AC_LIB_LINKFLAGS_BODY], |
2059 | +[ |
2060 | + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) |
2061 | + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |
2062 | + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |
2063 | + dnl Autoconf >= 2.61 supports dots in --with options. |
2064 | + define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) |
2065 | + dnl By default, look in $includedir and $libdir. |
2066 | + use_additional=yes |
2067 | + AC_LIB_WITH_FINAL_PREFIX([ |
2068 | + eval additional_includedir=\"$includedir\" |
2069 | + eval additional_libdir=\"$libdir\" |
2070 | + ]) |
2071 | + AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], |
2072 | +[ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib |
2073 | + --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], |
2074 | +[ |
2075 | + if test "X$withval" = "Xno"; then |
2076 | + use_additional=no |
2077 | + else |
2078 | + if test "X$withval" = "X"; then |
2079 | + AC_LIB_WITH_FINAL_PREFIX([ |
2080 | + eval additional_includedir=\"$includedir\" |
2081 | + eval additional_libdir=\"$libdir\" |
2082 | + ]) |
2083 | + else |
2084 | + additional_includedir="$withval/include" |
2085 | + additional_libdir="$withval/$acl_libdirstem" |
2086 | + fi |
2087 | + fi |
2088 | +]) |
2089 | + dnl Search the library and its dependencies in $additional_libdir and |
2090 | + dnl $LDFLAGS. Using breadth-first-seach. |
2091 | + LIB[]NAME= |
2092 | + LTLIB[]NAME= |
2093 | + INC[]NAME= |
2094 | + LIB[]NAME[]_PREFIX= |
2095 | + rpathdirs= |
2096 | + ltrpathdirs= |
2097 | + names_already_handled= |
2098 | + names_next_round='$1 $2' |
2099 | + while test -n "$names_next_round"; do |
2100 | + names_this_round="$names_next_round" |
2101 | + names_next_round= |
2102 | + for name in $names_this_round; do |
2103 | + already_handled= |
2104 | + for n in $names_already_handled; do |
2105 | + if test "$n" = "$name"; then |
2106 | + already_handled=yes |
2107 | + break |
2108 | + fi |
2109 | + done |
2110 | + if test -z "$already_handled"; then |
2111 | + names_already_handled="$names_already_handled $name" |
2112 | + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS |
2113 | + dnl or AC_LIB_HAVE_LINKFLAGS call. |
2114 | + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
2115 | + eval value=\"\$HAVE_LIB$uppername\" |
2116 | + if test -n "$value"; then |
2117 | + if test "$value" = yes; then |
2118 | + eval value=\"\$LIB$uppername\" |
2119 | + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" |
2120 | + eval value=\"\$LTLIB$uppername\" |
2121 | + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" |
2122 | + else |
2123 | + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined |
2124 | + dnl that this library doesn't exist. So just drop it. |
2125 | + : |
2126 | + fi |
2127 | + else |
2128 | + dnl Search the library lib$name in $additional_libdir and $LDFLAGS |
2129 | + dnl and the already constructed $LIBNAME/$LTLIBNAME. |
2130 | + found_dir= |
2131 | + found_la= |
2132 | + found_so= |
2133 | + found_a= |
2134 | + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
2135 | + if test -n "$acl_shlibext"; then |
2136 | + shrext=".$acl_shlibext" # typically: shrext=.so |
2137 | + else |
2138 | + shrext= |
2139 | + fi |
2140 | + if test $use_additional = yes; then |
2141 | + dir="$additional_libdir" |
2142 | + dnl The same code as in the loop below: |
2143 | + dnl First look for a shared library. |
2144 | + if test -n "$acl_shlibext"; then |
2145 | + if test -f "$dir/$libname$shrext"; then |
2146 | + found_dir="$dir" |
2147 | + found_so="$dir/$libname$shrext" |
2148 | + else |
2149 | + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
2150 | + ver=`(cd "$dir" && \ |
2151 | + for f in "$libname$shrext".*; do echo "$f"; done \ |
2152 | + | sed -e "s,^$libname$shrext\\\\.,," \ |
2153 | + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
2154 | + | sed 1q ) 2>/dev/null` |
2155 | + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
2156 | + found_dir="$dir" |
2157 | + found_so="$dir/$libname$shrext.$ver" |
2158 | + fi |
2159 | + else |
2160 | + eval library_names=\"$acl_library_names_spec\" |
2161 | + for f in $library_names; do |
2162 | + if test -f "$dir/$f"; then |
2163 | + found_dir="$dir" |
2164 | + found_so="$dir/$f" |
2165 | + break |
2166 | + fi |
2167 | + done |
2168 | + fi |
2169 | + fi |
2170 | + fi |
2171 | + dnl Then look for a static library. |
2172 | + if test "X$found_dir" = "X"; then |
2173 | + if test -f "$dir/$libname.$acl_libext"; then |
2174 | + found_dir="$dir" |
2175 | + found_a="$dir/$libname.$acl_libext" |
2176 | + fi |
2177 | + fi |
2178 | + if test "X$found_dir" != "X"; then |
2179 | + if test -f "$dir/$libname.la"; then |
2180 | + found_la="$dir/$libname.la" |
2181 | + fi |
2182 | + fi |
2183 | + fi |
2184 | + if test "X$found_dir" = "X"; then |
2185 | + for x in $LDFLAGS $LTLIB[]NAME; do |
2186 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2187 | + case "$x" in |
2188 | + -L*) |
2189 | + dir=`echo "X$x" | sed -e 's/^X-L//'` |
2190 | + dnl First look for a shared library. |
2191 | + if test -n "$acl_shlibext"; then |
2192 | + if test -f "$dir/$libname$shrext"; then |
2193 | + found_dir="$dir" |
2194 | + found_so="$dir/$libname$shrext" |
2195 | + else |
2196 | + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
2197 | + ver=`(cd "$dir" && \ |
2198 | + for f in "$libname$shrext".*; do echo "$f"; done \ |
2199 | + | sed -e "s,^$libname$shrext\\\\.,," \ |
2200 | + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
2201 | + | sed 1q ) 2>/dev/null` |
2202 | + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
2203 | + found_dir="$dir" |
2204 | + found_so="$dir/$libname$shrext.$ver" |
2205 | + fi |
2206 | + else |
2207 | + eval library_names=\"$acl_library_names_spec\" |
2208 | + for f in $library_names; do |
2209 | + if test -f "$dir/$f"; then |
2210 | + found_dir="$dir" |
2211 | + found_so="$dir/$f" |
2212 | + break |
2213 | + fi |
2214 | + done |
2215 | + fi |
2216 | + fi |
2217 | + fi |
2218 | + dnl Then look for a static library. |
2219 | + if test "X$found_dir" = "X"; then |
2220 | + if test -f "$dir/$libname.$acl_libext"; then |
2221 | + found_dir="$dir" |
2222 | + found_a="$dir/$libname.$acl_libext" |
2223 | + fi |
2224 | + fi |
2225 | + if test "X$found_dir" != "X"; then |
2226 | + if test -f "$dir/$libname.la"; then |
2227 | + found_la="$dir/$libname.la" |
2228 | + fi |
2229 | + fi |
2230 | + ;; |
2231 | + esac |
2232 | + if test "X$found_dir" != "X"; then |
2233 | + break |
2234 | + fi |
2235 | + done |
2236 | + fi |
2237 | + if test "X$found_dir" != "X"; then |
2238 | + dnl Found the library. |
2239 | + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" |
2240 | + if test "X$found_so" != "X"; then |
2241 | + dnl Linking with a shared library. We attempt to hardcode its |
2242 | + dnl directory into the executable's runpath, unless it's the |
2243 | + dnl standard /usr/lib. |
2244 | + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then |
2245 | + dnl No hardcoding is needed. |
2246 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" |
2247 | + else |
2248 | + dnl Use an explicit option to hardcode DIR into the resulting |
2249 | + dnl binary. |
2250 | + dnl Potentially add DIR to ltrpathdirs. |
2251 | + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. |
2252 | + haveit= |
2253 | + for x in $ltrpathdirs; do |
2254 | + if test "X$x" = "X$found_dir"; then |
2255 | + haveit=yes |
2256 | + break |
2257 | + fi |
2258 | + done |
2259 | + if test -z "$haveit"; then |
2260 | + ltrpathdirs="$ltrpathdirs $found_dir" |
2261 | + fi |
2262 | + dnl The hardcoding into $LIBNAME is system dependent. |
2263 | + if test "$acl_hardcode_direct" = yes; then |
2264 | + dnl Using DIR/libNAME.so during linking hardcodes DIR into the |
2265 | + dnl resulting binary. |
2266 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" |
2267 | + else |
2268 | + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
2269 | + dnl Use an explicit option to hardcode DIR into the resulting |
2270 | + dnl binary. |
2271 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" |
2272 | + dnl Potentially add DIR to rpathdirs. |
2273 | + dnl The rpathdirs will be appended to $LIBNAME at the end. |
2274 | + haveit= |
2275 | + for x in $rpathdirs; do |
2276 | + if test "X$x" = "X$found_dir"; then |
2277 | + haveit=yes |
2278 | + break |
2279 | + fi |
2280 | + done |
2281 | + if test -z "$haveit"; then |
2282 | + rpathdirs="$rpathdirs $found_dir" |
2283 | + fi |
2284 | + else |
2285 | + dnl Rely on "-L$found_dir". |
2286 | + dnl But don't add it if it's already contained in the LDFLAGS |
2287 | + dnl or the already constructed $LIBNAME |
2288 | + haveit= |
2289 | + for x in $LDFLAGS $LIB[]NAME; do |
2290 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2291 | + if test "X$x" = "X-L$found_dir"; then |
2292 | + haveit=yes |
2293 | + break |
2294 | + fi |
2295 | + done |
2296 | + if test -z "$haveit"; then |
2297 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" |
2298 | + fi |
2299 | + if test "$acl_hardcode_minus_L" != no; then |
2300 | + dnl FIXME: Not sure whether we should use |
2301 | + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" |
2302 | + dnl here. |
2303 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" |
2304 | + else |
2305 | + dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH |
2306 | + dnl here, because this doesn't fit in flags passed to the |
2307 | + dnl compiler. So give up. No hardcoding. This affects only |
2308 | + dnl very old systems. |
2309 | + dnl FIXME: Not sure whether we should use |
2310 | + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" |
2311 | + dnl here. |
2312 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" |
2313 | + fi |
2314 | + fi |
2315 | + fi |
2316 | + fi |
2317 | + else |
2318 | + if test "X$found_a" != "X"; then |
2319 | + dnl Linking with a static library. |
2320 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" |
2321 | + else |
2322 | + dnl We shouldn't come here, but anyway it's good to have a |
2323 | + dnl fallback. |
2324 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" |
2325 | + fi |
2326 | + fi |
2327 | + dnl Assume the include files are nearby. |
2328 | + additional_includedir= |
2329 | + case "$found_dir" in |
2330 | + */$acl_libdirstem | */$acl_libdirstem/) |
2331 | + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
2332 | + LIB[]NAME[]_PREFIX="$basedir" |
2333 | + additional_includedir="$basedir/include" |
2334 | + ;; |
2335 | + esac |
2336 | + if test "X$additional_includedir" != "X"; then |
2337 | + dnl Potentially add $additional_includedir to $INCNAME. |
2338 | + dnl But don't add it |
2339 | + dnl 1. if it's the standard /usr/include, |
2340 | + dnl 2. if it's /usr/local/include and we are using GCC on Linux, |
2341 | + dnl 3. if it's already present in $CPPFLAGS or the already |
2342 | + dnl constructed $INCNAME, |
2343 | + dnl 4. if it doesn't exist as a directory. |
2344 | + if test "X$additional_includedir" != "X/usr/include"; then |
2345 | + haveit= |
2346 | + if test "X$additional_includedir" = "X/usr/local/include"; then |
2347 | + if test -n "$GCC"; then |
2348 | + case $host_os in |
2349 | + linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
2350 | + esac |
2351 | + fi |
2352 | + fi |
2353 | + if test -z "$haveit"; then |
2354 | + for x in $CPPFLAGS $INC[]NAME; do |
2355 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2356 | + if test "X$x" = "X-I$additional_includedir"; then |
2357 | + haveit=yes |
2358 | + break |
2359 | + fi |
2360 | + done |
2361 | + if test -z "$haveit"; then |
2362 | + if test -d "$additional_includedir"; then |
2363 | + dnl Really add $additional_includedir to $INCNAME. |
2364 | + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" |
2365 | + fi |
2366 | + fi |
2367 | + fi |
2368 | + fi |
2369 | + fi |
2370 | + dnl Look for dependencies. |
2371 | + if test -n "$found_la"; then |
2372 | + dnl Read the .la file. It defines the variables |
2373 | + dnl dlname, library_names, old_library, dependency_libs, current, |
2374 | + dnl age, revision, installed, dlopen, dlpreopen, libdir. |
2375 | + save_libdir="$libdir" |
2376 | + case "$found_la" in |
2377 | + */* | *\\*) . "$found_la" ;; |
2378 | + *) . "./$found_la" ;; |
2379 | + esac |
2380 | + libdir="$save_libdir" |
2381 | + dnl We use only dependency_libs. |
2382 | + for dep in $dependency_libs; do |
2383 | + case "$dep" in |
2384 | + -L*) |
2385 | + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
2386 | + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. |
2387 | + dnl But don't add it |
2388 | + dnl 1. if it's the standard /usr/lib, |
2389 | + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, |
2390 | + dnl 3. if it's already present in $LDFLAGS or the already |
2391 | + dnl constructed $LIBNAME, |
2392 | + dnl 4. if it doesn't exist as a directory. |
2393 | + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then |
2394 | + haveit= |
2395 | + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then |
2396 | + if test -n "$GCC"; then |
2397 | + case $host_os in |
2398 | + linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
2399 | + esac |
2400 | + fi |
2401 | + fi |
2402 | + if test -z "$haveit"; then |
2403 | + haveit= |
2404 | + for x in $LDFLAGS $LIB[]NAME; do |
2405 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2406 | + if test "X$x" = "X-L$additional_libdir"; then |
2407 | + haveit=yes |
2408 | + break |
2409 | + fi |
2410 | + done |
2411 | + if test -z "$haveit"; then |
2412 | + if test -d "$additional_libdir"; then |
2413 | + dnl Really add $additional_libdir to $LIBNAME. |
2414 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" |
2415 | + fi |
2416 | + fi |
2417 | + haveit= |
2418 | + for x in $LDFLAGS $LTLIB[]NAME; do |
2419 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2420 | + if test "X$x" = "X-L$additional_libdir"; then |
2421 | + haveit=yes |
2422 | + break |
2423 | + fi |
2424 | + done |
2425 | + if test -z "$haveit"; then |
2426 | + if test -d "$additional_libdir"; then |
2427 | + dnl Really add $additional_libdir to $LTLIBNAME. |
2428 | + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" |
2429 | + fi |
2430 | + fi |
2431 | + fi |
2432 | + fi |
2433 | + ;; |
2434 | + -R*) |
2435 | + dir=`echo "X$dep" | sed -e 's/^X-R//'` |
2436 | + if test "$enable_rpath" != no; then |
2437 | + dnl Potentially add DIR to rpathdirs. |
2438 | + dnl The rpathdirs will be appended to $LIBNAME at the end. |
2439 | + haveit= |
2440 | + for x in $rpathdirs; do |
2441 | + if test "X$x" = "X$dir"; then |
2442 | + haveit=yes |
2443 | + break |
2444 | + fi |
2445 | + done |
2446 | + if test -z "$haveit"; then |
2447 | + rpathdirs="$rpathdirs $dir" |
2448 | + fi |
2449 | + dnl Potentially add DIR to ltrpathdirs. |
2450 | + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. |
2451 | + haveit= |
2452 | + for x in $ltrpathdirs; do |
2453 | + if test "X$x" = "X$dir"; then |
2454 | + haveit=yes |
2455 | + break |
2456 | + fi |
2457 | + done |
2458 | + if test -z "$haveit"; then |
2459 | + ltrpathdirs="$ltrpathdirs $dir" |
2460 | + fi |
2461 | + fi |
2462 | + ;; |
2463 | + -l*) |
2464 | + dnl Handle this in the next round. |
2465 | + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
2466 | + ;; |
2467 | + *.la) |
2468 | + dnl Handle this in the next round. Throw away the .la's |
2469 | + dnl directory; it is already contained in a preceding -L |
2470 | + dnl option. |
2471 | + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
2472 | + ;; |
2473 | + *) |
2474 | + dnl Most likely an immediate library name. |
2475 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" |
2476 | + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" |
2477 | + ;; |
2478 | + esac |
2479 | + done |
2480 | + fi |
2481 | + else |
2482 | + dnl Didn't find the library; assume it is in the system directories |
2483 | + dnl known to the linker and runtime loader. (All the system |
2484 | + dnl directories known to the linker should also be known to the |
2485 | + dnl runtime loader, otherwise the system is severely misconfigured.) |
2486 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" |
2487 | + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" |
2488 | + fi |
2489 | + fi |
2490 | + fi |
2491 | + done |
2492 | + done |
2493 | + if test "X$rpathdirs" != "X"; then |
2494 | + if test -n "$acl_hardcode_libdir_separator"; then |
2495 | + dnl Weird platform: only the last -rpath option counts, the user must |
2496 | + dnl pass all path elements in one option. We can arrange that for a |
2497 | + dnl single library, but not when more than one $LIBNAMEs are used. |
2498 | + alldirs= |
2499 | + for found_dir in $rpathdirs; do |
2500 | + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
2501 | + done |
2502 | + dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. |
2503 | + acl_save_libdir="$libdir" |
2504 | + libdir="$alldirs" |
2505 | + eval flag=\"$acl_hardcode_libdir_flag_spec\" |
2506 | + libdir="$acl_save_libdir" |
2507 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" |
2508 | + else |
2509 | + dnl The -rpath options are cumulative. |
2510 | + for found_dir in $rpathdirs; do |
2511 | + acl_save_libdir="$libdir" |
2512 | + libdir="$found_dir" |
2513 | + eval flag=\"$acl_hardcode_libdir_flag_spec\" |
2514 | + libdir="$acl_save_libdir" |
2515 | + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" |
2516 | + done |
2517 | + fi |
2518 | + fi |
2519 | + if test "X$ltrpathdirs" != "X"; then |
2520 | + dnl When using libtool, the option that works for both libraries and |
2521 | + dnl executables is -R. The -R options are cumulative. |
2522 | + for found_dir in $ltrpathdirs; do |
2523 | + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" |
2524 | + done |
2525 | + fi |
2526 | +]) |
2527 | + |
2528 | +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, |
2529 | +dnl unless already present in VAR. |
2530 | +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes |
2531 | +dnl contains two or three consecutive elements that belong together. |
2532 | +AC_DEFUN([AC_LIB_APPENDTOVAR], |
2533 | +[ |
2534 | + for element in [$2]; do |
2535 | + haveit= |
2536 | + for x in $[$1]; do |
2537 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2538 | + if test "X$x" = "X$element"; then |
2539 | + haveit=yes |
2540 | + break |
2541 | + fi |
2542 | + done |
2543 | + if test -z "$haveit"; then |
2544 | + [$1]="${[$1]}${[$1]:+ }$element" |
2545 | + fi |
2546 | + done |
2547 | +]) |
2548 | + |
2549 | +dnl For those cases where a variable contains several -L and -l options |
2550 | +dnl referring to unknown libraries and directories, this macro determines the |
2551 | +dnl necessary additional linker options for the runtime path. |
2552 | +dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) |
2553 | +dnl sets LDADDVAR to linker options needed together with LIBSVALUE. |
2554 | +dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, |
2555 | +dnl otherwise linking without libtool is assumed. |
2556 | +AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], |
2557 | +[ |
2558 | + AC_REQUIRE([AC_LIB_RPATH]) |
2559 | + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) |
2560 | + $1= |
2561 | + if test "$enable_rpath" != no; then |
2562 | + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
2563 | + dnl Use an explicit option to hardcode directories into the resulting |
2564 | + dnl binary. |
2565 | + rpathdirs= |
2566 | + next= |
2567 | + for opt in $2; do |
2568 | + if test -n "$next"; then |
2569 | + dir="$next" |
2570 | + dnl No need to hardcode the standard /usr/lib. |
2571 | + if test "X$dir" != "X/usr/$acl_libdirstem"; then |
2572 | + rpathdirs="$rpathdirs $dir" |
2573 | + fi |
2574 | + next= |
2575 | + else |
2576 | + case $opt in |
2577 | + -L) next=yes ;; |
2578 | + -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` |
2579 | + dnl No need to hardcode the standard /usr/lib. |
2580 | + if test "X$dir" != "X/usr/$acl_libdirstem"; then |
2581 | + rpathdirs="$rpathdirs $dir" |
2582 | + fi |
2583 | + next= ;; |
2584 | + *) next= ;; |
2585 | + esac |
2586 | + fi |
2587 | + done |
2588 | + if test "X$rpathdirs" != "X"; then |
2589 | + if test -n ""$3""; then |
2590 | + dnl libtool is used for linking. Use -R options. |
2591 | + for dir in $rpathdirs; do |
2592 | + $1="${$1}${$1:+ }-R$dir" |
2593 | + done |
2594 | + else |
2595 | + dnl The linker is used for linking directly. |
2596 | + if test -n "$acl_hardcode_libdir_separator"; then |
2597 | + dnl Weird platform: only the last -rpath option counts, the user |
2598 | + dnl must pass all path elements in one option. |
2599 | + alldirs= |
2600 | + for dir in $rpathdirs; do |
2601 | + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" |
2602 | + done |
2603 | + acl_save_libdir="$libdir" |
2604 | + libdir="$alldirs" |
2605 | + eval flag=\"$acl_hardcode_libdir_flag_spec\" |
2606 | + libdir="$acl_save_libdir" |
2607 | + $1="$flag" |
2608 | + else |
2609 | + dnl The -rpath options are cumulative. |
2610 | + for dir in $rpathdirs; do |
2611 | + acl_save_libdir="$libdir" |
2612 | + libdir="$dir" |
2613 | + eval flag=\"$acl_hardcode_libdir_flag_spec\" |
2614 | + libdir="$acl_save_libdir" |
2615 | + $1="${$1}${$1:+ }$flag" |
2616 | + done |
2617 | + fi |
2618 | + fi |
2619 | + fi |
2620 | + fi |
2621 | + fi |
2622 | + AC_SUBST([$1]) |
2623 | +]) |
2624 | + |
2625 | +# lib-prefix.m4 serial 5 (gettext-0.15) |
2626 | +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. |
2627 | +dnl This file is free software; the Free Software Foundation |
2628 | +dnl gives unlimited permission to copy and/or distribute it, |
2629 | +dnl with or without modifications, as long as this notice is preserved. |
2630 | + |
2631 | +dnl From Bruno Haible. |
2632 | + |
2633 | +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and |
2634 | +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't |
2635 | +dnl require excessive bracketing. |
2636 | +ifdef([AC_HELP_STRING], |
2637 | +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], |
2638 | +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) |
2639 | + |
2640 | +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed |
2641 | +dnl to access previously installed libraries. The basic assumption is that |
2642 | +dnl a user will want packages to use other packages he previously installed |
2643 | +dnl with the same --prefix option. |
2644 | +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate |
2645 | +dnl libraries, but is otherwise very convenient. |
2646 | +AC_DEFUN([AC_LIB_PREFIX], |
2647 | +[ |
2648 | + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) |
2649 | + AC_REQUIRE([AC_PROG_CC]) |
2650 | + AC_REQUIRE([AC_CANONICAL_HOST]) |
2651 | + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) |
2652 | + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |
2653 | + dnl By default, look in $includedir and $libdir. |
2654 | + use_additional=yes |
2655 | + AC_LIB_WITH_FINAL_PREFIX([ |
2656 | + eval additional_includedir=\"$includedir\" |
2657 | + eval additional_libdir=\"$libdir\" |
2658 | + ]) |
2659 | + AC_LIB_ARG_WITH([lib-prefix], |
2660 | +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib |
2661 | + --without-lib-prefix don't search for libraries in includedir and libdir], |
2662 | +[ |
2663 | + if test "X$withval" = "Xno"; then |
2664 | + use_additional=no |
2665 | + else |
2666 | + if test "X$withval" = "X"; then |
2667 | + AC_LIB_WITH_FINAL_PREFIX([ |
2668 | + eval additional_includedir=\"$includedir\" |
2669 | + eval additional_libdir=\"$libdir\" |
2670 | + ]) |
2671 | + else |
2672 | + additional_includedir="$withval/include" |
2673 | + additional_libdir="$withval/$acl_libdirstem" |
2674 | + fi |
2675 | + fi |
2676 | +]) |
2677 | + if test $use_additional = yes; then |
2678 | + dnl Potentially add $additional_includedir to $CPPFLAGS. |
2679 | + dnl But don't add it |
2680 | + dnl 1. if it's the standard /usr/include, |
2681 | + dnl 2. if it's already present in $CPPFLAGS, |
2682 | + dnl 3. if it's /usr/local/include and we are using GCC on Linux, |
2683 | + dnl 4. if it doesn't exist as a directory. |
2684 | + if test "X$additional_includedir" != "X/usr/include"; then |
2685 | + haveit= |
2686 | + for x in $CPPFLAGS; do |
2687 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2688 | + if test "X$x" = "X-I$additional_includedir"; then |
2689 | + haveit=yes |
2690 | + break |
2691 | + fi |
2692 | + done |
2693 | + if test -z "$haveit"; then |
2694 | + if test "X$additional_includedir" = "X/usr/local/include"; then |
2695 | + if test -n "$GCC"; then |
2696 | + case $host_os in |
2697 | + linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
2698 | + esac |
2699 | + fi |
2700 | + fi |
2701 | + if test -z "$haveit"; then |
2702 | + if test -d "$additional_includedir"; then |
2703 | + dnl Really add $additional_includedir to $CPPFLAGS. |
2704 | + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" |
2705 | + fi |
2706 | + fi |
2707 | + fi |
2708 | + fi |
2709 | + dnl Potentially add $additional_libdir to $LDFLAGS. |
2710 | + dnl But don't add it |
2711 | + dnl 1. if it's the standard /usr/lib, |
2712 | + dnl 2. if it's already present in $LDFLAGS, |
2713 | + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, |
2714 | + dnl 4. if it doesn't exist as a directory. |
2715 | + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then |
2716 | + haveit= |
2717 | + for x in $LDFLAGS; do |
2718 | + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) |
2719 | + if test "X$x" = "X-L$additional_libdir"; then |
2720 | + haveit=yes |
2721 | + break |
2722 | + fi |
2723 | + done |
2724 | + if test -z "$haveit"; then |
2725 | + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then |
2726 | + if test -n "$GCC"; then |
2727 | + case $host_os in |
2728 | + linux*) haveit=yes;; |
2729 | + esac |
2730 | + fi |
2731 | + fi |
2732 | + if test -z "$haveit"; then |
2733 | + if test -d "$additional_libdir"; then |
2734 | + dnl Really add $additional_libdir to $LDFLAGS. |
2735 | + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" |
2736 | + fi |
2737 | + fi |
2738 | + fi |
2739 | + fi |
2740 | + fi |
2741 | +]) |
2742 | + |
2743 | +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, |
2744 | +dnl acl_final_exec_prefix, containing the values to which $prefix and |
2745 | +dnl $exec_prefix will expand at the end of the configure script. |
2746 | +AC_DEFUN([AC_LIB_PREPARE_PREFIX], |
2747 | +[ |
2748 | + dnl Unfortunately, prefix and exec_prefix get only finally determined |
2749 | + dnl at the end of configure. |
2750 | + if test "X$prefix" = "XNONE"; then |
2751 | + acl_final_prefix="$ac_default_prefix" |
2752 | + else |
2753 | + acl_final_prefix="$prefix" |
2754 | + fi |
2755 | + if test "X$exec_prefix" = "XNONE"; then |
2756 | + acl_final_exec_prefix='${prefix}' |
2757 | + else |
2758 | + acl_final_exec_prefix="$exec_prefix" |
2759 | + fi |
2760 | + acl_save_prefix="$prefix" |
2761 | + prefix="$acl_final_prefix" |
2762 | + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
2763 | + prefix="$acl_save_prefix" |
2764 | +]) |
2765 | + |
2766 | +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the |
2767 | +dnl variables prefix and exec_prefix bound to the values they will have |
2768 | +dnl at the end of the configure script. |
2769 | +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], |
2770 | +[ |
2771 | + acl_save_prefix="$prefix" |
2772 | + prefix="$acl_final_prefix" |
2773 | + acl_save_exec_prefix="$exec_prefix" |
2774 | + exec_prefix="$acl_final_exec_prefix" |
2775 | + $1 |
2776 | + exec_prefix="$acl_save_exec_prefix" |
2777 | + prefix="$acl_save_prefix" |
2778 | +]) |
2779 | + |
2780 | +dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing |
2781 | +dnl the basename of the libdir, either "lib" or "lib64". |
2782 | +AC_DEFUN([AC_LIB_PREPARE_MULTILIB], |
2783 | +[ |
2784 | + dnl There is no formal standard regarding lib and lib64. The current |
2785 | + dnl practice is that on a system supporting 32-bit and 64-bit instruction |
2786 | + dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit |
2787 | + dnl libraries go under $prefix/lib. We determine the compiler's default |
2788 | + dnl mode by looking at the compiler's library search path. If at least |
2789 | + dnl of its elements ends in /lib64 or points to a directory whose absolute |
2790 | + dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the |
2791 | + dnl default, namely "lib". |
2792 | + acl_libdirstem=lib |
2793 | + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` |
2794 | + if test -n "$searchpath"; then |
2795 | + acl_save_IFS="${IFS= }"; IFS=":" |
2796 | + for searchdir in $searchpath; do |
2797 | + if test -d "$searchdir"; then |
2798 | + case "$searchdir" in |
2799 | + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
2800 | + *) searchdir=`cd "$searchdir" && pwd` |
2801 | + case "$searchdir" in |
2802 | + */lib64 ) acl_libdirstem=lib64 ;; |
2803 | + esac ;; |
2804 | + esac |
2805 | + fi |
2806 | + done |
2807 | + IFS="$acl_save_IFS" |
2808 | + fi |
2809 | +]) |
2810 | + |
2811 | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
2812 | # |
2813 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
2814 | @@ -7984,6 +9606,38 @@ |
2815 | m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
2816 | m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
2817 | |
2818 | +# nls.m4 serial 3 (gettext-0.15) |
2819 | +dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. |
2820 | +dnl This file is free software; the Free Software Foundation |
2821 | +dnl gives unlimited permission to copy and/or distribute it, |
2822 | +dnl with or without modifications, as long as this notice is preserved. |
2823 | +dnl |
2824 | +dnl This file can can be used in projects which are not available under |
2825 | +dnl the GNU General Public License or the GNU Library General Public |
2826 | +dnl License but which still want to provide support for the GNU gettext |
2827 | +dnl functionality. |
2828 | +dnl Please note that the actual code of the GNU gettext library is covered |
2829 | +dnl by the GNU Library General Public License, and the rest of the GNU |
2830 | +dnl gettext package package is covered by the GNU General Public License. |
2831 | +dnl They are *not* in the public domain. |
2832 | + |
2833 | +dnl Authors: |
2834 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
2835 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
2836 | + |
2837 | +AC_PREREQ(2.50) |
2838 | + |
2839 | +AC_DEFUN([AM_NLS], |
2840 | +[ |
2841 | + AC_MSG_CHECKING([whether NLS is requested]) |
2842 | + dnl Default is enabled NLS |
2843 | + AC_ARG_ENABLE(nls, |
2844 | + [ --disable-nls do not use Native Language Support], |
2845 | + USE_NLS=$enableval, USE_NLS=yes) |
2846 | + AC_MSG_RESULT($USE_NLS) |
2847 | + AC_SUBST(USE_NLS) |
2848 | +]) |
2849 | + |
2850 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
2851 | # |
2852 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
2853 | @@ -8142,6 +9796,549 @@ |
2854 | fi[]dnl |
2855 | ])# PKG_CHECK_MODULES |
2856 | |
2857 | +# po.m4 serial 15 (gettext-0.17) |
2858 | +dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. |
2859 | +dnl This file is free software; the Free Software Foundation |
2860 | +dnl gives unlimited permission to copy and/or distribute it, |
2861 | +dnl with or without modifications, as long as this notice is preserved. |
2862 | +dnl |
2863 | +dnl This file can can be used in projects which are not available under |
2864 | +dnl the GNU General Public License or the GNU Library General Public |
2865 | +dnl License but which still want to provide support for the GNU gettext |
2866 | +dnl functionality. |
2867 | +dnl Please note that the actual code of the GNU gettext library is covered |
2868 | +dnl by the GNU Library General Public License, and the rest of the GNU |
2869 | +dnl gettext package package is covered by the GNU General Public License. |
2870 | +dnl They are *not* in the public domain. |
2871 | + |
2872 | +dnl Authors: |
2873 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
2874 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
2875 | + |
2876 | +AC_PREREQ(2.50) |
2877 | + |
2878 | +dnl Checks for all prerequisites of the po subdirectory. |
2879 | +AC_DEFUN([AM_PO_SUBDIRS], |
2880 | +[ |
2881 | + AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
2882 | + AC_REQUIRE([AC_PROG_INSTALL])dnl |
2883 | + AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake |
2884 | + AC_REQUIRE([AM_NLS])dnl |
2885 | + |
2886 | + dnl Release version of the gettext macros. This is used to ensure that |
2887 | + dnl the gettext macros and po/Makefile.in.in are in sync. |
2888 | + AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) |
2889 | + |
2890 | + dnl Perform the following tests also if --disable-nls has been given, |
2891 | + dnl because they are needed for "make dist" to work. |
2892 | + |
2893 | + dnl Search for GNU msgfmt in the PATH. |
2894 | + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. |
2895 | + dnl The second test excludes FreeBSD msgfmt. |
2896 | + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, |
2897 | + [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && |
2898 | + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
2899 | + :) |
2900 | + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) |
2901 | + |
2902 | + dnl Test whether it is GNU msgfmt >= 0.15. |
2903 | +changequote(,)dnl |
2904 | + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
2905 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
2906 | + *) MSGFMT_015=$MSGFMT ;; |
2907 | + esac |
2908 | +changequote([,])dnl |
2909 | + AC_SUBST([MSGFMT_015]) |
2910 | +changequote(,)dnl |
2911 | + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
2912 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
2913 | + *) GMSGFMT_015=$GMSGFMT ;; |
2914 | + esac |
2915 | +changequote([,])dnl |
2916 | + AC_SUBST([GMSGFMT_015]) |
2917 | + |
2918 | + dnl Search for GNU xgettext 0.12 or newer in the PATH. |
2919 | + dnl The first test excludes Solaris xgettext and early GNU xgettext versions. |
2920 | + dnl The second test excludes FreeBSD xgettext. |
2921 | + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, |
2922 | + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && |
2923 | + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
2924 | + :) |
2925 | + dnl Remove leftover from FreeBSD xgettext call. |
2926 | + rm -f messages.po |
2927 | + |
2928 | + dnl Test whether it is GNU xgettext >= 0.15. |
2929 | +changequote(,)dnl |
2930 | + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
2931 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
2932 | + *) XGETTEXT_015=$XGETTEXT ;; |
2933 | + esac |
2934 | +changequote([,])dnl |
2935 | + AC_SUBST([XGETTEXT_015]) |
2936 | + |
2937 | + dnl Search for GNU msgmerge 0.11 or newer in the PATH. |
2938 | + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, |
2939 | + [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) |
2940 | + |
2941 | + dnl Installation directories. |
2942 | + dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we |
2943 | + dnl have to define it here, so that it can be used in po/Makefile. |
2944 | + test -n "$localedir" || localedir='${datadir}/locale' |
2945 | + AC_SUBST([localedir]) |
2946 | + |
2947 | + dnl Support for AM_XGETTEXT_OPTION. |
2948 | + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
2949 | + AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) |
2950 | + |
2951 | + AC_CONFIG_COMMANDS([po-directories], [[ |
2952 | + for ac_file in $CONFIG_FILES; do |
2953 | + # Support "outfile[:infile[:infile...]]" |
2954 | + case "$ac_file" in |
2955 | + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
2956 | + esac |
2957 | + # PO directories have a Makefile.in generated from Makefile.in.in. |
2958 | + case "$ac_file" in */Makefile.in) |
2959 | + # Adjust a relative srcdir. |
2960 | + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
2961 | + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
2962 | + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
2963 | + # In autoconf-2.13 it is called $ac_given_srcdir. |
2964 | + # In autoconf-2.50 it is called $srcdir. |
2965 | + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
2966 | + case "$ac_given_srcdir" in |
2967 | + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
2968 | + /*) top_srcdir="$ac_given_srcdir" ;; |
2969 | + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
2970 | + esac |
2971 | + # Treat a directory as a PO directory if and only if it has a |
2972 | + # POTFILES.in file. This allows packages to have multiple PO |
2973 | + # directories under different names or in different locations. |
2974 | + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
2975 | + rm -f "$ac_dir/POTFILES" |
2976 | + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
2977 | + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
2978 | + POMAKEFILEDEPS="POTFILES.in" |
2979 | + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
2980 | + # on $ac_dir but don't depend on user-specified configuration |
2981 | + # parameters. |
2982 | + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
2983 | + # The LINGUAS file contains the set of available languages. |
2984 | + if test -n "$OBSOLETE_ALL_LINGUAS"; then |
2985 | + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
2986 | + fi |
2987 | + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
2988 | + # Hide the ALL_LINGUAS assigment from automake < 1.5. |
2989 | + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
2990 | + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
2991 | + else |
2992 | + # The set of available languages was given in configure.in. |
2993 | + # Hide the ALL_LINGUAS assigment from automake < 1.5. |
2994 | + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
2995 | + fi |
2996 | + # Compute POFILES |
2997 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
2998 | + # Compute UPDATEPOFILES |
2999 | + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
3000 | + # Compute DUMMYPOFILES |
3001 | + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
3002 | + # Compute GMOFILES |
3003 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
3004 | + case "$ac_given_srcdir" in |
3005 | + .) srcdirpre= ;; |
3006 | + *) srcdirpre='$(srcdir)/' ;; |
3007 | + esac |
3008 | + POFILES= |
3009 | + UPDATEPOFILES= |
3010 | + DUMMYPOFILES= |
3011 | + GMOFILES= |
3012 | + for lang in $ALL_LINGUAS; do |
3013 | + POFILES="$POFILES $srcdirpre$lang.po" |
3014 | + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
3015 | + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
3016 | + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
3017 | + done |
3018 | + # CATALOGS depends on both $ac_dir and the user's LINGUAS |
3019 | + # environment variable. |
3020 | + INST_LINGUAS= |
3021 | + if test -n "$ALL_LINGUAS"; then |
3022 | + for presentlang in $ALL_LINGUAS; do |
3023 | + useit=no |
3024 | + if test "%UNSET%" != "$LINGUAS"; then |
3025 | + desiredlanguages="$LINGUAS" |
3026 | + else |
3027 | + desiredlanguages="$ALL_LINGUAS" |
3028 | + fi |
3029 | + for desiredlang in $desiredlanguages; do |
3030 | + # Use the presentlang catalog if desiredlang is |
3031 | + # a. equal to presentlang, or |
3032 | + # b. a variant of presentlang (because in this case, |
3033 | + # presentlang can be used as a fallback for messages |
3034 | + # which are not translated in the desiredlang catalog). |
3035 | + case "$desiredlang" in |
3036 | + "$presentlang"*) useit=yes;; |
3037 | + esac |
3038 | + done |
3039 | + if test $useit = yes; then |
3040 | + INST_LINGUAS="$INST_LINGUAS $presentlang" |
3041 | + fi |
3042 | + done |
3043 | + fi |
3044 | + CATALOGS= |
3045 | + if test -n "$INST_LINGUAS"; then |
3046 | + for lang in $INST_LINGUAS; do |
3047 | + CATALOGS="$CATALOGS $lang.gmo" |
3048 | + done |
3049 | + fi |
3050 | + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
3051 | + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" |
3052 | + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
3053 | + if test -f "$f"; then |
3054 | + case "$f" in |
3055 | + *.orig | *.bak | *~) ;; |
3056 | + *) cat "$f" >> "$ac_dir/Makefile" ;; |
3057 | + esac |
3058 | + fi |
3059 | + done |
3060 | + fi |
3061 | + ;; |
3062 | + esac |
3063 | + done]], |
3064 | + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute |
3065 | + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
3066 | + # from automake < 1.5. |
3067 | + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
3068 | + # Capture the value of LINGUAS because we need it to compute CATALOGS. |
3069 | + LINGUAS="${LINGUAS-%UNSET%}" |
3070 | + ]) |
3071 | +]) |
3072 | + |
3073 | +dnl Postprocesses a Makefile in a directory containing PO files. |
3074 | +AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], |
3075 | +[ |
3076 | + # When this code is run, in config.status, two variables have already been |
3077 | + # set: |
3078 | + # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, |
3079 | + # - LINGUAS is the value of the environment variable LINGUAS at configure |
3080 | + # time. |
3081 | + |
3082 | +changequote(,)dnl |
3083 | + # Adjust a relative srcdir. |
3084 | + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
3085 | + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
3086 | + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
3087 | + # In autoconf-2.13 it is called $ac_given_srcdir. |
3088 | + # In autoconf-2.50 it is called $srcdir. |
3089 | + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
3090 | + case "$ac_given_srcdir" in |
3091 | + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
3092 | + /*) top_srcdir="$ac_given_srcdir" ;; |
3093 | + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
3094 | + esac |
3095 | + |
3096 | + # Find a way to echo strings without interpreting backslash. |
3097 | + if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then |
3098 | + gt_echo='echo' |
3099 | + else |
3100 | + if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then |
3101 | + gt_echo='printf %s\n' |
3102 | + else |
3103 | + echo_func () { |
3104 | + cat <<EOT |
3105 | +$* |
3106 | +EOT |
3107 | + } |
3108 | + gt_echo='echo_func' |
3109 | + fi |
3110 | + fi |
3111 | + |
3112 | + # A sed script that extracts the value of VARIABLE from a Makefile. |
3113 | + sed_x_variable=' |
3114 | +# Test if the hold space is empty. |
3115 | +x |
3116 | +s/P/P/ |
3117 | +x |
3118 | +ta |
3119 | +# Yes it was empty. Look if we have the expected variable definition. |
3120 | +/^[ ]*VARIABLE[ ]*=/{ |
3121 | + # Seen the first line of the variable definition. |
3122 | + s/^[ ]*VARIABLE[ ]*=// |
3123 | + ba |
3124 | +} |
3125 | +bd |
3126 | +:a |
3127 | +# Here we are processing a line from the variable definition. |
3128 | +# Remove comment, more precisely replace it with a space. |
3129 | +s/#.*$/ / |
3130 | +# See if the line ends in a backslash. |
3131 | +tb |
3132 | +:b |
3133 | +s/\\$// |
3134 | +# Print the line, without the trailing backslash. |
3135 | +p |
3136 | +tc |
3137 | +# There was no trailing backslash. The end of the variable definition is |
3138 | +# reached. Clear the hold space. |
3139 | +s/^.*$// |
3140 | +x |
3141 | +bd |
3142 | +:c |
3143 | +# A trailing backslash means that the variable definition continues in the |
3144 | +# next line. Put a nonempty string into the hold space to indicate this. |
3145 | +s/^.*$/P/ |
3146 | +x |
3147 | +:d |
3148 | +' |
3149 | +changequote([,])dnl |
3150 | + |
3151 | + # Set POTFILES to the value of the Makefile variable POTFILES. |
3152 | + sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` |
3153 | + POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` |
3154 | + # Compute POTFILES_DEPS as |
3155 | + # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) |
3156 | + POTFILES_DEPS= |
3157 | + for file in $POTFILES; do |
3158 | + POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" |
3159 | + done |
3160 | + POMAKEFILEDEPS="" |
3161 | + |
3162 | + if test -n "$OBSOLETE_ALL_LINGUAS"; then |
3163 | + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
3164 | + fi |
3165 | + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
3166 | + # The LINGUAS file contains the set of available languages. |
3167 | + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
3168 | + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
3169 | + else |
3170 | + # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. |
3171 | + sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` |
3172 | + ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` |
3173 | + fi |
3174 | + # Hide the ALL_LINGUAS assigment from automake < 1.5. |
3175 | + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
3176 | + # Compute POFILES |
3177 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
3178 | + # Compute UPDATEPOFILES |
3179 | + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
3180 | + # Compute DUMMYPOFILES |
3181 | + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
3182 | + # Compute GMOFILES |
3183 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
3184 | + # Compute PROPERTIESFILES |
3185 | + # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) |
3186 | + # Compute CLASSFILES |
3187 | + # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) |
3188 | + # Compute QMFILES |
3189 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) |
3190 | + # Compute MSGFILES |
3191 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) |
3192 | + # Compute RESOURCESDLLFILES |
3193 | + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) |
3194 | + case "$ac_given_srcdir" in |
3195 | + .) srcdirpre= ;; |
3196 | + *) srcdirpre='$(srcdir)/' ;; |
3197 | + esac |
3198 | + POFILES= |
3199 | + UPDATEPOFILES= |
3200 | + DUMMYPOFILES= |
3201 | + GMOFILES= |
3202 | + PROPERTIESFILES= |
3203 | + CLASSFILES= |
3204 | + QMFILES= |
3205 | + MSGFILES= |
3206 | + RESOURCESDLLFILES= |
3207 | + for lang in $ALL_LINGUAS; do |
3208 | + POFILES="$POFILES $srcdirpre$lang.po" |
3209 | + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
3210 | + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
3211 | + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
3212 | + PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" |
3213 | + CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" |
3214 | + QMFILES="$QMFILES $srcdirpre$lang.qm" |
3215 | + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
3216 | + MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" |
3217 | + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
3218 | + RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" |
3219 | + done |
3220 | + # CATALOGS depends on both $ac_dir and the user's LINGUAS |
3221 | + # environment variable. |
3222 | + INST_LINGUAS= |
3223 | + if test -n "$ALL_LINGUAS"; then |
3224 | + for presentlang in $ALL_LINGUAS; do |
3225 | + useit=no |
3226 | + if test "%UNSET%" != "$LINGUAS"; then |
3227 | + desiredlanguages="$LINGUAS" |
3228 | + else |
3229 | + desiredlanguages="$ALL_LINGUAS" |
3230 | + fi |
3231 | + for desiredlang in $desiredlanguages; do |
3232 | + # Use the presentlang catalog if desiredlang is |
3233 | + # a. equal to presentlang, or |
3234 | + # b. a variant of presentlang (because in this case, |
3235 | + # presentlang can be used as a fallback for messages |
3236 | + # which are not translated in the desiredlang catalog). |
3237 | + case "$desiredlang" in |
3238 | + "$presentlang"*) useit=yes;; |
3239 | + esac |
3240 | + done |
3241 | + if test $useit = yes; then |
3242 | + INST_LINGUAS="$INST_LINGUAS $presentlang" |
3243 | + fi |
3244 | + done |
3245 | + fi |
3246 | + CATALOGS= |
3247 | + JAVACATALOGS= |
3248 | + QTCATALOGS= |
3249 | + TCLCATALOGS= |
3250 | + CSHARPCATALOGS= |
3251 | + if test -n "$INST_LINGUAS"; then |
3252 | + for lang in $INST_LINGUAS; do |
3253 | + CATALOGS="$CATALOGS $lang.gmo" |
3254 | + JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" |
3255 | + QTCATALOGS="$QTCATALOGS $lang.qm" |
3256 | + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
3257 | + TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" |
3258 | + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
3259 | + CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" |
3260 | + done |
3261 | + fi |
3262 | + |
3263 | + sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" |
3264 | + if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then |
3265 | + # Add dependencies that cannot be formulated as a simple suffix rule. |
3266 | + for lang in $ALL_LINGUAS; do |
3267 | + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
3268 | + cat >> "$ac_file.tmp" <<EOF |
3269 | +$frobbedlang.msg: $lang.po |
3270 | + @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ |
3271 | + \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } |
3272 | +EOF |
3273 | + done |
3274 | + fi |
3275 | + if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then |
3276 | + # Add dependencies that cannot be formulated as a simple suffix rule. |
3277 | + for lang in $ALL_LINGUAS; do |
3278 | + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
3279 | + cat >> "$ac_file.tmp" <<EOF |
3280 | +$frobbedlang/\$(DOMAIN).resources.dll: $lang.po |
3281 | + @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ |
3282 | + \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } |
3283 | +EOF |
3284 | + done |
3285 | + fi |
3286 | + if test -n "$POMAKEFILEDEPS"; then |
3287 | + cat >> "$ac_file.tmp" <<EOF |
3288 | +Makefile: $POMAKEFILEDEPS |
3289 | +EOF |
3290 | + fi |
3291 | + mv "$ac_file.tmp" "$ac_file" |
3292 | +]) |
3293 | + |
3294 | +dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. |
3295 | +AC_DEFUN([AM_XGETTEXT_OPTION_INIT], |
3296 | +[ |
3297 | + XGETTEXT_EXTRA_OPTIONS= |
3298 | +]) |
3299 | + |
3300 | +dnl Registers an option to be passed to xgettext in the po subdirectory. |
3301 | +AC_DEFUN([AM_XGETTEXT_OPTION], |
3302 | +[ |
3303 | + AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) |
3304 | + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" |
3305 | +]) |
3306 | + |
3307 | +# progtest.m4 serial 4 (gettext-0.14.2) |
3308 | +dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. |
3309 | +dnl This file is free software; the Free Software Foundation |
3310 | +dnl gives unlimited permission to copy and/or distribute it, |
3311 | +dnl with or without modifications, as long as this notice is preserved. |
3312 | +dnl |
3313 | +dnl This file can can be used in projects which are not available under |
3314 | +dnl the GNU General Public License or the GNU Library General Public |
3315 | +dnl License but which still want to provide support for the GNU gettext |
3316 | +dnl functionality. |
3317 | +dnl Please note that the actual code of the GNU gettext library is covered |
3318 | +dnl by the GNU Library General Public License, and the rest of the GNU |
3319 | +dnl gettext package package is covered by the GNU General Public License. |
3320 | +dnl They are *not* in the public domain. |
3321 | + |
3322 | +dnl Authors: |
3323 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1996. |
3324 | + |
3325 | +AC_PREREQ(2.50) |
3326 | + |
3327 | +# Search path for a program which passes the given test. |
3328 | + |
3329 | +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, |
3330 | +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) |
3331 | +AC_DEFUN([AM_PATH_PROG_WITH_TEST], |
3332 | +[ |
3333 | +# Prepare PATH_SEPARATOR. |
3334 | +# The user is always right. |
3335 | +if test "${PATH_SEPARATOR+set}" != set; then |
3336 | + echo "#! /bin/sh" >conf$$.sh |
3337 | + echo "exit 0" >>conf$$.sh |
3338 | + chmod +x conf$$.sh |
3339 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
3340 | + PATH_SEPARATOR=';' |
3341 | + else |
3342 | + PATH_SEPARATOR=: |
3343 | + fi |
3344 | + rm -f conf$$.sh |
3345 | +fi |
3346 | + |
3347 | +# Find out how to test for executable files. Don't use a zero-byte file, |
3348 | +# as systems may use methods other than mode bits to determine executability. |
3349 | +cat >conf$$.file <<_ASEOF |
3350 | +#! /bin/sh |
3351 | +exit 0 |
3352 | +_ASEOF |
3353 | +chmod +x conf$$.file |
3354 | +if test -x conf$$.file >/dev/null 2>&1; then |
3355 | + ac_executable_p="test -x" |
3356 | +else |
3357 | + ac_executable_p="test -f" |
3358 | +fi |
3359 | +rm -f conf$$.file |
3360 | + |
3361 | +# Extract the first word of "$2", so it can be a program name with args. |
3362 | +set dummy $2; ac_word=[$]2 |
3363 | +AC_MSG_CHECKING([for $ac_word]) |
3364 | +AC_CACHE_VAL(ac_cv_path_$1, |
3365 | +[case "[$]$1" in |
3366 | + [[\\/]]* | ?:[[\\/]]*) |
3367 | + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. |
3368 | + ;; |
3369 | + *) |
3370 | + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
3371 | + for ac_dir in ifelse([$5], , $PATH, [$5]); do |
3372 | + IFS="$ac_save_IFS" |
3373 | + test -z "$ac_dir" && ac_dir=. |
3374 | + for ac_exec_ext in '' $ac_executable_extensions; do |
3375 | + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
3376 | + echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD |
3377 | + if [$3]; then |
3378 | + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" |
3379 | + break 2 |
3380 | + fi |
3381 | + fi |
3382 | + done |
3383 | + done |
3384 | + IFS="$ac_save_IFS" |
3385 | +dnl If no 4th arg is given, leave the cache variable unset, |
3386 | +dnl so AC_PATH_PROGS will keep looking. |
3387 | +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" |
3388 | +])dnl |
3389 | + ;; |
3390 | +esac])dnl |
3391 | +$1="$ac_cv_path_$1" |
3392 | +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then |
3393 | + AC_MSG_RESULT([$]$1) |
3394 | +else |
3395 | + AC_MSG_RESULT(no) |
3396 | +fi |
3397 | +AC_SUBST($1)dnl |
3398 | +]) |
3399 | + |
3400 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
3401 | # |
3402 | # This file is free software; the Free Software Foundation |
3403 | |
3404 | === modified file 'gloobus-preview/config.h.in' |
3405 | --- gloobus-preview/config.h.in 2009-10-29 17:49:11 +0000 |
3406 | +++ gloobus-preview/config.h.in 2009-11-12 04:38:08 +0000 |
3407 | @@ -1,8 +1,30 @@ |
3408 | /* config.h.in. Generated from configure.ac by autoheader. */ |
3409 | |
3410 | +/* Define to 1 if translation of program messages to the user's native |
3411 | + language is requested. */ |
3412 | +#undef ENABLE_NLS |
3413 | + |
3414 | +/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the |
3415 | + CoreFoundation framework. */ |
3416 | +#undef HAVE_CFLOCALECOPYCURRENT |
3417 | + |
3418 | +/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in |
3419 | + the CoreFoundation framework. */ |
3420 | +#undef HAVE_CFPREFERENCESCOPYAPPVALUE |
3421 | + |
3422 | +/* Define if the GNU dcgettext() function is already present or preinstalled. |
3423 | + */ |
3424 | +#undef HAVE_DCGETTEXT |
3425 | + |
3426 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
3427 | #undef HAVE_DLFCN_H |
3428 | |
3429 | +/* Define if the GNU gettext() function is already present or preinstalled. */ |
3430 | +#undef HAVE_GETTEXT |
3431 | + |
3432 | +/* Define if you have the iconv() function and it works. */ |
3433 | +#undef HAVE_ICONV |
3434 | + |
3435 | /* Define to 1 if you have the <inttypes.h> header file. */ |
3436 | #undef HAVE_INTTYPES_H |
3437 | |
3438 | @@ -51,6 +73,9 @@ |
3439 | /* Define to 1 if the system has the type `_Bool'. */ |
3440 | #undef HAVE__BOOL |
3441 | |
3442 | +/* "Dynamic Translations path" */ |
3443 | +#undef LOCALEDIR |
3444 | + |
3445 | /* Define to the sub-directory in which libtool stores uninstalled libraries. |
3446 | */ |
3447 | #undef LT_OBJDIR |
3448 | |
3449 | === added file 'gloobus-preview/config.rpath' |
3450 | --- gloobus-preview/config.rpath 1970-01-01 00:00:00 +0000 |
3451 | +++ gloobus-preview/config.rpath 2009-11-12 04:38:08 +0000 |
3452 | @@ -0,0 +1,666 @@ |
3453 | +#! /bin/sh |
3454 | +# Output a system dependent set of variables, describing how to set the |
3455 | +# run time search path of shared libraries in an executable. |
3456 | +# |
3457 | +# Copyright 1996-2007 Free Software Foundation, Inc. |
3458 | +# Taken from GNU libtool, 2001 |
3459 | +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
3460 | +# |
3461 | +# This file is free software; the Free Software Foundation gives |
3462 | +# unlimited permission to copy and/or distribute it, with or without |
3463 | +# modifications, as long as this notice is preserved. |
3464 | +# |
3465 | +# The first argument passed to this file is the canonical host specification, |
3466 | +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
3467 | +# or |
3468 | +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM |
3469 | +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld |
3470 | +# should be set by the caller. |
3471 | +# |
3472 | +# The set of defined variables is at the end of this script. |
3473 | + |
3474 | +# Known limitations: |
3475 | +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer |
3476 | +# than 256 bytes, otherwise the compiler driver will dump core. The only |
3477 | +# known workaround is to choose shorter directory names for the build |
3478 | +# directory and/or the installation directory. |
3479 | + |
3480 | +# All known linkers require a `.a' archive for static linking (except MSVC, |
3481 | +# which needs '.lib'). |
3482 | +libext=a |
3483 | +shrext=.so |
3484 | + |
3485 | +host="$1" |
3486 | +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
3487 | +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
3488 | +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
3489 | + |
3490 | +# Code taken from libtool.m4's _LT_CC_BASENAME. |
3491 | + |
3492 | +for cc_temp in $CC""; do |
3493 | + case $cc_temp in |
3494 | + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
3495 | + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
3496 | + \-*) ;; |
3497 | + *) break;; |
3498 | + esac |
3499 | +done |
3500 | +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` |
3501 | + |
3502 | +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. |
3503 | + |
3504 | +wl= |
3505 | +if test "$GCC" = yes; then |
3506 | + wl='-Wl,' |
3507 | +else |
3508 | + case "$host_os" in |
3509 | + aix*) |
3510 | + wl='-Wl,' |
3511 | + ;; |
3512 | + darwin*) |
3513 | + case $cc_basename in |
3514 | + xlc*) |
3515 | + wl='-Wl,' |
3516 | + ;; |
3517 | + esac |
3518 | + ;; |
3519 | + mingw* | cygwin* | pw32* | os2*) |
3520 | + ;; |
3521 | + hpux9* | hpux10* | hpux11*) |
3522 | + wl='-Wl,' |
3523 | + ;; |
3524 | + irix5* | irix6* | nonstopux*) |
3525 | + wl='-Wl,' |
3526 | + ;; |
3527 | + newsos6) |
3528 | + ;; |
3529 | + linux* | k*bsd*-gnu) |
3530 | + case $cc_basename in |
3531 | + icc* | ecc*) |
3532 | + wl='-Wl,' |
3533 | + ;; |
3534 | + pgcc | pgf77 | pgf90) |
3535 | + wl='-Wl,' |
3536 | + ;; |
3537 | + ccc*) |
3538 | + wl='-Wl,' |
3539 | + ;; |
3540 | + como) |
3541 | + wl='-lopt=' |
3542 | + ;; |
3543 | + *) |
3544 | + case `$CC -V 2>&1 | sed 5q` in |
3545 | + *Sun\ C*) |
3546 | + wl='-Wl,' |
3547 | + ;; |
3548 | + esac |
3549 | + ;; |
3550 | + esac |
3551 | + ;; |
3552 | + osf3* | osf4* | osf5*) |
3553 | + wl='-Wl,' |
3554 | + ;; |
3555 | + rdos*) |
3556 | + ;; |
3557 | + solaris*) |
3558 | + wl='-Wl,' |
3559 | + ;; |
3560 | + sunos4*) |
3561 | + wl='-Qoption ld ' |
3562 | + ;; |
3563 | + sysv4 | sysv4.2uw2* | sysv4.3*) |
3564 | + wl='-Wl,' |
3565 | + ;; |
3566 | + sysv4*MP*) |
3567 | + ;; |
3568 | + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
3569 | + wl='-Wl,' |
3570 | + ;; |
3571 | + unicos*) |
3572 | + wl='-Wl,' |
3573 | + ;; |
3574 | + uts4*) |
3575 | + ;; |
3576 | + esac |
3577 | +fi |
3578 | + |
3579 | +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. |
3580 | + |
3581 | +hardcode_libdir_flag_spec= |
3582 | +hardcode_libdir_separator= |
3583 | +hardcode_direct=no |
3584 | +hardcode_minus_L=no |
3585 | + |
3586 | +case "$host_os" in |
3587 | + cygwin* | mingw* | pw32*) |
3588 | + # FIXME: the MSVC++ port hasn't been tested in a loooong time |
3589 | + # When not using gcc, we currently assume that we are using |
3590 | + # Microsoft Visual C++. |
3591 | + if test "$GCC" != yes; then |
3592 | + with_gnu_ld=no |
3593 | + fi |
3594 | + ;; |
3595 | + interix*) |
3596 | + # we just hope/assume this is gcc and not c89 (= MSVC++) |
3597 | + with_gnu_ld=yes |
3598 | + ;; |
3599 | + openbsd*) |
3600 | + with_gnu_ld=no |
3601 | + ;; |
3602 | +esac |
3603 | + |
3604 | +ld_shlibs=yes |
3605 | +if test "$with_gnu_ld" = yes; then |
3606 | + # Set some defaults for GNU ld with shared library support. These |
3607 | + # are reset later if shared libraries are not supported. Putting them |
3608 | + # here allows them to be overridden if necessary. |
3609 | + # Unlike libtool, we use -rpath here, not --rpath, since the documented |
3610 | + # option of GNU ld is called -rpath, not --rpath. |
3611 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
3612 | + case "$host_os" in |
3613 | + aix3* | aix4* | aix5*) |
3614 | + # On AIX/PPC, the GNU linker is very broken |
3615 | + if test "$host_cpu" != ia64; then |
3616 | + ld_shlibs=no |
3617 | + fi |
3618 | + ;; |
3619 | + amigaos*) |
3620 | + hardcode_libdir_flag_spec='-L$libdir' |
3621 | + hardcode_minus_L=yes |
3622 | + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
3623 | + # that the semantics of dynamic libraries on AmigaOS, at least up |
3624 | + # to version 4, is to share data among multiple programs linked |
3625 | + # with the same dynamic library. Since this doesn't match the |
3626 | + # behavior of shared libraries on other platforms, we cannot use |
3627 | + # them. |
3628 | + ld_shlibs=no |
3629 | + ;; |
3630 | + beos*) |
3631 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
3632 | + : |
3633 | + else |
3634 | + ld_shlibs=no |
3635 | + fi |
3636 | + ;; |
3637 | + cygwin* | mingw* | pw32*) |
3638 | + # hardcode_libdir_flag_spec is actually meaningless, as there is |
3639 | + # no search path for DLLs. |
3640 | + hardcode_libdir_flag_spec='-L$libdir' |
3641 | + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
3642 | + : |
3643 | + else |
3644 | + ld_shlibs=no |
3645 | + fi |
3646 | + ;; |
3647 | + interix[3-9]*) |
3648 | + hardcode_direct=no |
3649 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
3650 | + ;; |
3651 | + gnu* | linux* | k*bsd*-gnu) |
3652 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
3653 | + : |
3654 | + else |
3655 | + ld_shlibs=no |
3656 | + fi |
3657 | + ;; |
3658 | + netbsd*) |
3659 | + ;; |
3660 | + solaris*) |
3661 | + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
3662 | + ld_shlibs=no |
3663 | + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
3664 | + : |
3665 | + else |
3666 | + ld_shlibs=no |
3667 | + fi |
3668 | + ;; |
3669 | + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
3670 | + case `$LD -v 2>&1` in |
3671 | + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
3672 | + ld_shlibs=no |
3673 | + ;; |
3674 | + *) |
3675 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
3676 | + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
3677 | + else |
3678 | + ld_shlibs=no |
3679 | + fi |
3680 | + ;; |
3681 | + esac |
3682 | + ;; |
3683 | + sunos4*) |
3684 | + hardcode_direct=yes |
3685 | + ;; |
3686 | + *) |
3687 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
3688 | + : |
3689 | + else |
3690 | + ld_shlibs=no |
3691 | + fi |
3692 | + ;; |
3693 | + esac |
3694 | + if test "$ld_shlibs" = no; then |
3695 | + hardcode_libdir_flag_spec= |
3696 | + fi |
3697 | +else |
3698 | + case "$host_os" in |
3699 | + aix3*) |
3700 | + # Note: this linker hardcodes the directories in LIBPATH if there |
3701 | + # are no directories specified by -L. |
3702 | + hardcode_minus_L=yes |
3703 | + if test "$GCC" = yes; then |
3704 | + # Neither direct hardcoding nor static linking is supported with a |
3705 | + # broken collect2. |
3706 | + hardcode_direct=unsupported |
3707 | + fi |
3708 | + ;; |
3709 | + aix4* | aix5*) |
3710 | + if test "$host_cpu" = ia64; then |
3711 | + # On IA64, the linker does run time linking by default, so we don't |
3712 | + # have to do anything special. |
3713 | + aix_use_runtimelinking=no |
3714 | + else |
3715 | + aix_use_runtimelinking=no |
3716 | + # Test if we are trying to use run time linking or normal |
3717 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
3718 | + # need to do runtime linking. |
3719 | + case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
3720 | + for ld_flag in $LDFLAGS; do |
3721 | + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
3722 | + aix_use_runtimelinking=yes |
3723 | + break |
3724 | + fi |
3725 | + done |
3726 | + ;; |
3727 | + esac |
3728 | + fi |
3729 | + hardcode_direct=yes |
3730 | + hardcode_libdir_separator=':' |
3731 | + if test "$GCC" = yes; then |
3732 | + case $host_os in aix4.[012]|aix4.[012].*) |
3733 | + collect2name=`${CC} -print-prog-name=collect2` |
3734 | + if test -f "$collect2name" && \ |
3735 | + strings "$collect2name" | grep resolve_lib_name >/dev/null |
3736 | + then |
3737 | + # We have reworked collect2 |
3738 | + : |
3739 | + else |
3740 | + # We have old collect2 |
3741 | + hardcode_direct=unsupported |
3742 | + hardcode_minus_L=yes |
3743 | + hardcode_libdir_flag_spec='-L$libdir' |
3744 | + hardcode_libdir_separator= |
3745 | + fi |
3746 | + ;; |
3747 | + esac |
3748 | + fi |
3749 | + # Begin _LT_AC_SYS_LIBPATH_AIX. |
3750 | + echo 'int main () { return 0; }' > conftest.c |
3751 | + ${CC} ${LDFLAGS} conftest.c -o conftest |
3752 | + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
3753 | +}'` |
3754 | + if test -z "$aix_libpath"; then |
3755 | + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
3756 | +}'` |
3757 | + fi |
3758 | + if test -z "$aix_libpath"; then |
3759 | + aix_libpath="/usr/lib:/lib" |
3760 | + fi |
3761 | + rm -f conftest.c conftest |
3762 | + # End _LT_AC_SYS_LIBPATH_AIX. |
3763 | + if test "$aix_use_runtimelinking" = yes; then |
3764 | + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
3765 | + else |
3766 | + if test "$host_cpu" = ia64; then |
3767 | + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
3768 | + else |
3769 | + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
3770 | + fi |
3771 | + fi |
3772 | + ;; |
3773 | + amigaos*) |
3774 | + hardcode_libdir_flag_spec='-L$libdir' |
3775 | + hardcode_minus_L=yes |
3776 | + # see comment about different semantics on the GNU ld section |
3777 | + ld_shlibs=no |
3778 | + ;; |
3779 | + bsdi[45]*) |
3780 | + ;; |
3781 | + cygwin* | mingw* | pw32*) |
3782 | + # When not using gcc, we currently assume that we are using |
3783 | + # Microsoft Visual C++. |
3784 | + # hardcode_libdir_flag_spec is actually meaningless, as there is |
3785 | + # no search path for DLLs. |
3786 | + hardcode_libdir_flag_spec=' ' |
3787 | + libext=lib |
3788 | + ;; |
3789 | + darwin* | rhapsody*) |
3790 | + hardcode_direct=no |
3791 | + if test "$GCC" = yes ; then |
3792 | + : |
3793 | + else |
3794 | + case $cc_basename in |
3795 | + xlc*) |
3796 | + ;; |
3797 | + *) |
3798 | + ld_shlibs=no |
3799 | + ;; |
3800 | + esac |
3801 | + fi |
3802 | + ;; |
3803 | + dgux*) |
3804 | + hardcode_libdir_flag_spec='-L$libdir' |
3805 | + ;; |
3806 | + freebsd1*) |
3807 | + ld_shlibs=no |
3808 | + ;; |
3809 | + freebsd2.2*) |
3810 | + hardcode_libdir_flag_spec='-R$libdir' |
3811 | + hardcode_direct=yes |
3812 | + ;; |
3813 | + freebsd2*) |
3814 | + hardcode_direct=yes |
3815 | + hardcode_minus_L=yes |
3816 | + ;; |
3817 | + freebsd* | dragonfly*) |
3818 | + hardcode_libdir_flag_spec='-R$libdir' |
3819 | + hardcode_direct=yes |
3820 | + ;; |
3821 | + hpux9*) |
3822 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
3823 | + hardcode_libdir_separator=: |
3824 | + hardcode_direct=yes |
3825 | + # hardcode_minus_L: Not really in the search PATH, |
3826 | + # but as the default location of the library. |
3827 | + hardcode_minus_L=yes |
3828 | + ;; |
3829 | + hpux10*) |
3830 | + if test "$with_gnu_ld" = no; then |
3831 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
3832 | + hardcode_libdir_separator=: |
3833 | + hardcode_direct=yes |
3834 | + # hardcode_minus_L: Not really in the search PATH, |
3835 | + # but as the default location of the library. |
3836 | + hardcode_minus_L=yes |
3837 | + fi |
3838 | + ;; |
3839 | + hpux11*) |
3840 | + if test "$with_gnu_ld" = no; then |
3841 | + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
3842 | + hardcode_libdir_separator=: |
3843 | + case $host_cpu in |
3844 | + hppa*64*|ia64*) |
3845 | + hardcode_direct=no |
3846 | + ;; |
3847 | + *) |
3848 | + hardcode_direct=yes |
3849 | + # hardcode_minus_L: Not really in the search PATH, |
3850 | + # but as the default location of the library. |
3851 | + hardcode_minus_L=yes |
3852 | + ;; |
3853 | + esac |
3854 | + fi |
3855 | + ;; |
3856 | + irix5* | irix6* | nonstopux*) |
3857 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
3858 | + hardcode_libdir_separator=: |
3859 | + ;; |
3860 | + netbsd*) |
3861 | + hardcode_libdir_flag_spec='-R$libdir' |
3862 | + hardcode_direct=yes |
3863 | + ;; |
3864 | + newsos6) |
3865 | + hardcode_direct=yes |
3866 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
3867 | + hardcode_libdir_separator=: |
3868 | + ;; |
3869 | + openbsd*) |
3870 | + if test -f /usr/libexec/ld.so; then |
3871 | + hardcode_direct=yes |
3872 | + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
3873 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
3874 | + else |
3875 | + case "$host_os" in |
3876 | + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
3877 | + hardcode_libdir_flag_spec='-R$libdir' |
3878 | + ;; |
3879 | + *) |
3880 | + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
3881 | + ;; |
3882 | + esac |
3883 | + fi |
3884 | + else |
3885 | + ld_shlibs=no |
3886 | + fi |
3887 | + ;; |
3888 | + os2*) |
3889 | + hardcode_libdir_flag_spec='-L$libdir' |
3890 | + hardcode_minus_L=yes |
3891 | + ;; |
3892 | + osf3*) |
3893 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
3894 | + hardcode_libdir_separator=: |
3895 | + ;; |
3896 | + osf4* | osf5*) |
3897 | + if test "$GCC" = yes; then |
3898 | + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
3899 | + else |
3900 | + # Both cc and cxx compiler support -rpath directly |
3901 | + hardcode_libdir_flag_spec='-rpath $libdir' |
3902 | + fi |
3903 | + hardcode_libdir_separator=: |
3904 | + ;; |
3905 | + solaris*) |
3906 | + hardcode_libdir_flag_spec='-R$libdir' |
3907 | + ;; |
3908 | + sunos4*) |
3909 | + hardcode_libdir_flag_spec='-L$libdir' |
3910 | + hardcode_direct=yes |
3911 | + hardcode_minus_L=yes |
3912 | + ;; |
3913 | + sysv4) |
3914 | + case $host_vendor in |
3915 | + sni) |
3916 | + hardcode_direct=yes # is this really true??? |
3917 | + ;; |
3918 | + siemens) |
3919 | + hardcode_direct=no |
3920 | + ;; |
3921 | + motorola) |
3922 | + hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
3923 | + ;; |
3924 | + esac |
3925 | + ;; |
3926 | + sysv4.3*) |
3927 | + ;; |
3928 | + sysv4*MP*) |
3929 | + if test -d /usr/nec; then |
3930 | + ld_shlibs=yes |
3931 | + fi |
3932 | + ;; |
3933 | + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
3934 | + ;; |
3935 | + sysv5* | sco3.2v5* | sco5v6*) |
3936 | + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
3937 | + hardcode_libdir_separator=':' |
3938 | + ;; |
3939 | + uts4*) |
3940 | + hardcode_libdir_flag_spec='-L$libdir' |
3941 | + ;; |
3942 | + *) |
3943 | + ld_shlibs=no |
3944 | + ;; |
3945 | + esac |
3946 | +fi |
3947 | + |
3948 | +# Check dynamic linker characteristics |
3949 | +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. |
3950 | +# Unlike libtool.m4, here we don't care about _all_ names of the library, but |
3951 | +# only about the one the linker finds when passed -lNAME. This is the last |
3952 | +# element of library_names_spec in libtool.m4, or possibly two of them if the |
3953 | +# linker has special search rules. |
3954 | +library_names_spec= # the last element of library_names_spec in libtool.m4 |
3955 | +libname_spec='lib$name' |
3956 | +case "$host_os" in |
3957 | + aix3*) |
3958 | + library_names_spec='$libname.a' |
3959 | + ;; |
3960 | + aix4* | aix5*) |
3961 | + library_names_spec='$libname$shrext' |
3962 | + ;; |
3963 | + amigaos*) |
3964 | + library_names_spec='$libname.a' |
3965 | + ;; |
3966 | + beos*) |
3967 | + library_names_spec='$libname$shrext' |
3968 | + ;; |
3969 | + bsdi[45]*) |
3970 | + library_names_spec='$libname$shrext' |
3971 | + ;; |
3972 | + cygwin* | mingw* | pw32*) |
3973 | + shrext=.dll |
3974 | + library_names_spec='$libname.dll.a $libname.lib' |
3975 | + ;; |
3976 | + darwin* | rhapsody*) |
3977 | + shrext=.dylib |
3978 | + library_names_spec='$libname$shrext' |
3979 | + ;; |
3980 | + dgux*) |
3981 | + library_names_spec='$libname$shrext' |
3982 | + ;; |
3983 | + freebsd1*) |
3984 | + ;; |
3985 | + freebsd* | dragonfly*) |
3986 | + case "$host_os" in |
3987 | + freebsd[123]*) |
3988 | + library_names_spec='$libname$shrext$versuffix' ;; |
3989 | + *) |
3990 | + library_names_spec='$libname$shrext' ;; |
3991 | + esac |
3992 | + ;; |
3993 | + gnu*) |
3994 | + library_names_spec='$libname$shrext' |
3995 | + ;; |
3996 | + hpux9* | hpux10* | hpux11*) |
3997 | + case $host_cpu in |
3998 | + ia64*) |
3999 | + shrext=.so |
4000 | + ;; |
4001 | + hppa*64*) |
4002 | + shrext=.sl |
4003 | + ;; |
4004 | + *) |
4005 | + shrext=.sl |
4006 | + ;; |
4007 | + esac |
4008 | + library_names_spec='$libname$shrext' |
4009 | + ;; |
4010 | + interix[3-9]*) |
4011 | + library_names_spec='$libname$shrext' |
4012 | + ;; |
4013 | + irix5* | irix6* | nonstopux*) |
4014 | + library_names_spec='$libname$shrext' |
4015 | + case "$host_os" in |
4016 | + irix5* | nonstopux*) |
4017 | + libsuff= shlibsuff= |
4018 | + ;; |
4019 | + *) |
4020 | + case $LD in |
4021 | + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; |
4022 | + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; |
4023 | + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; |
4024 | + *) libsuff= shlibsuff= ;; |
4025 | + esac |
4026 | + ;; |
4027 | + esac |
4028 | + ;; |
4029 | + linux*oldld* | linux*aout* | linux*coff*) |
4030 | + ;; |
4031 | + linux* | k*bsd*-gnu) |
4032 | + library_names_spec='$libname$shrext' |
4033 | + ;; |
4034 | + knetbsd*-gnu) |
4035 | + library_names_spec='$libname$shrext' |
4036 | + ;; |
4037 | + netbsd*) |
4038 | + library_names_spec='$libname$shrext' |
4039 | + ;; |
4040 | + newsos6) |
4041 | + library_names_spec='$libname$shrext' |
4042 | + ;; |
4043 | + nto-qnx*) |
4044 | + library_names_spec='$libname$shrext' |
4045 | + ;; |
4046 | + openbsd*) |
4047 | + library_names_spec='$libname$shrext$versuffix' |
4048 | + ;; |
4049 | + os2*) |
4050 | + libname_spec='$name' |
4051 | + shrext=.dll |
4052 | + library_names_spec='$libname.a' |
4053 | + ;; |
4054 | + osf3* | osf4* | osf5*) |
4055 | + library_names_spec='$libname$shrext' |
4056 | + ;; |
4057 | + rdos*) |
4058 | + ;; |
4059 | + solaris*) |
4060 | + library_names_spec='$libname$shrext' |
4061 | + ;; |
4062 | + sunos4*) |
4063 | + library_names_spec='$libname$shrext$versuffix' |
4064 | + ;; |
4065 | + sysv4 | sysv4.3*) |
4066 | + library_names_spec='$libname$shrext' |
4067 | + ;; |
4068 | + sysv4*MP*) |
4069 | + library_names_spec='$libname$shrext' |
4070 | + ;; |
4071 | + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
4072 | + library_names_spec='$libname$shrext' |
4073 | + ;; |
4074 | + uts4*) |
4075 | + library_names_spec='$libname$shrext' |
4076 | + ;; |
4077 | +esac |
4078 | + |
4079 | +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4080 | +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` |
4081 | +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` |
4082 | +escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` |
4083 | +escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` |
4084 | +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` |
4085 | + |
4086 | +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF |
4087 | + |
4088 | +# How to pass a linker flag through the compiler. |
4089 | +wl="$escaped_wl" |
4090 | + |
4091 | +# Static library suffix (normally "a"). |
4092 | +libext="$libext" |
4093 | + |
4094 | +# Shared library suffix (normally "so"). |
4095 | +shlibext="$shlibext" |
4096 | + |
4097 | +# Format of library name prefix. |
4098 | +libname_spec="$escaped_libname_spec" |
4099 | + |
4100 | +# Library names that the linker finds when passed -lNAME. |
4101 | +library_names_spec="$escaped_library_names_spec" |
4102 | + |
4103 | +# Flag to hardcode \$libdir into a binary during linking. |
4104 | +# This must work even if \$libdir does not exist. |
4105 | +hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" |
4106 | + |
4107 | +# Whether we need a single -rpath flag with a separated argument. |
4108 | +hardcode_libdir_separator="$hardcode_libdir_separator" |
4109 | + |
4110 | +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the |
4111 | +# resulting binary. |
4112 | +hardcode_direct="$hardcode_direct" |
4113 | + |
4114 | +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
4115 | +# resulting binary. |
4116 | +hardcode_minus_L="$hardcode_minus_L" |
4117 | + |
4118 | +EOF |
4119 | |
4120 | === modified file 'gloobus-preview/configure' |
4121 | --- gloobus-preview/configure 2009-10-31 16:21:48 +0000 |
4122 | +++ gloobus-preview/configure 2009-11-12 04:38:09 +0000 |
4123 | @@ -701,6 +701,7 @@ |
4124 | PACKAGE_URL= |
4125 | |
4126 | ac_unique_file="src/gloobus-preview-main.cpp" |
4127 | +gt_needs= |
4128 | # Factoring default headers for most tests. |
4129 | ac_includes_default="\ |
4130 | #include <stdio.h> |
4131 | @@ -782,12 +783,20 @@ |
4132 | EGREP |
4133 | GREP |
4134 | SED |
4135 | -am__fastdepCC_FALSE |
4136 | -am__fastdepCC_TRUE |
4137 | -CCDEPMODE |
4138 | -ac_ct_CC |
4139 | -CFLAGS |
4140 | -CC |
4141 | +LIBTOOL |
4142 | +am__fastdepCXX_FALSE |
4143 | +am__fastdepCXX_TRUE |
4144 | +CXXDEPMODE |
4145 | +ac_ct_CXX |
4146 | +CXXFLAGS |
4147 | +CXX |
4148 | +POSUB |
4149 | +LTLIBINTL |
4150 | +LIBINTL |
4151 | +INTLLIBS |
4152 | +LTLIBICONV |
4153 | +LIBICONV |
4154 | +INTL_MACOSX_LIBS |
4155 | host_os |
4156 | host_vendor |
4157 | host_cpu |
4158 | @@ -796,10 +805,9 @@ |
4159 | build_vendor |
4160 | build_cpu |
4161 | build |
4162 | -LIBTOOL |
4163 | -am__fastdepCXX_FALSE |
4164 | -am__fastdepCXX_TRUE |
4165 | -CXXDEPMODE |
4166 | +am__fastdepCC_FALSE |
4167 | +am__fastdepCC_TRUE |
4168 | +CCDEPMODE |
4169 | AMDEPBACKSLASH |
4170 | AMDEP_FALSE |
4171 | AMDEP_TRUE |
4172 | @@ -808,11 +816,21 @@ |
4173 | DEPDIR |
4174 | OBJEXT |
4175 | EXEEXT |
4176 | -ac_ct_CXX |
4177 | +ac_ct_CC |
4178 | CPPFLAGS |
4179 | LDFLAGS |
4180 | -CXXFLAGS |
4181 | -CXX |
4182 | +CFLAGS |
4183 | +CC |
4184 | +XGETTEXT_EXTRA_OPTIONS |
4185 | +MSGMERGE |
4186 | +XGETTEXT_015 |
4187 | +XGETTEXT |
4188 | +GMSGFMT_015 |
4189 | +MSGFMT_015 |
4190 | +GMSGFMT |
4191 | +MSGFMT |
4192 | +GETTEXT_MACRO_VERSION |
4193 | +USE_NLS |
4194 | am__untar |
4195 | am__tar |
4196 | AMTAR |
4197 | @@ -877,25 +895,29 @@ |
4198 | ac_subst_files='' |
4199 | ac_user_opts=' |
4200 | enable_option_checking |
4201 | +enable_nls |
4202 | enable_dependency_tracking |
4203 | +with_gnu_ld |
4204 | +enable_rpath |
4205 | +with_libiconv_prefix |
4206 | +with_libintl_prefix |
4207 | enable_shared |
4208 | enable_static |
4209 | with_pic |
4210 | enable_fast_install |
4211 | -with_gnu_ld |
4212 | enable_libtool_lock |
4213 | ' |
4214 | ac_precious_vars='build_alias |
4215 | host_alias |
4216 | target_alias |
4217 | -CXX |
4218 | -CXXFLAGS |
4219 | +CC |
4220 | +CFLAGS |
4221 | LDFLAGS |
4222 | LIBS |
4223 | CPPFLAGS |
4224 | +CXX |
4225 | +CXXFLAGS |
4226 | CCC |
4227 | -CC |
4228 | -CFLAGS |
4229 | CPP |
4230 | CXXCPP |
4231 | PKG_CONFIG |
4232 | @@ -1536,8 +1558,10 @@ |
4233 | --disable-option-checking ignore unrecognized --enable/--with options |
4234 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
4235 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
4236 | + --disable-nls do not use Native Language Support |
4237 | --disable-dependency-tracking speeds up one-time build |
4238 | --enable-dependency-tracking do not reject slow dependency extractors |
4239 | + --disable-rpath do not hardcode runtime library paths |
4240 | --enable-shared[=PKGS] build shared libraries [default=yes] |
4241 | --enable-static[=PKGS] build static libraries [default=yes] |
4242 | --enable-fast-install[=PKGS] |
4243 | @@ -1547,20 +1571,25 @@ |
4244 | Optional Packages: |
4245 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
4246 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
4247 | + --with-gnu-ld assume the C compiler uses GNU ld default=no |
4248 | + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
4249 | + --without-libiconv-prefix don't search for libiconv in includedir and libdir |
4250 | + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
4251 | + --without-libintl-prefix don't search for libintl in includedir and libdir |
4252 | --with-pic try to use only PIC/non-PIC objects [default=use |
4253 | both] |
4254 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
4255 | |
4256 | Some influential environment variables: |
4257 | - CXX C++ compiler command |
4258 | - CXXFLAGS C++ compiler flags |
4259 | + CC C compiler command |
4260 | + CFLAGS C compiler flags |
4261 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
4262 | nonstandard directory <lib dir> |
4263 | LIBS libraries to pass to the linker, e.g. -l<library> |
4264 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
4265 | you have headers in a nonstandard directory <include dir> |
4266 | - CC C compiler command |
4267 | - CFLAGS C compiler flags |
4268 | + CXX C++ compiler command |
4269 | + CXXFLAGS C++ compiler flags |
4270 | CPP C preprocessor |
4271 | CXXCPP C++ preprocessor |
4272 | PKG_CONFIG path to pkg-config utility |
4273 | @@ -1681,44 +1710,6 @@ |
4274 | ## Autoconf initialization. ## |
4275 | ## ------------------------ ## |
4276 | |
4277 | -# ac_fn_cxx_try_compile LINENO |
4278 | -# ---------------------------- |
4279 | -# Try to compile conftest.$ac_ext, and return whether this succeeded. |
4280 | -ac_fn_cxx_try_compile () |
4281 | -{ |
4282 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4283 | - rm -f conftest.$ac_objext |
4284 | - if { { ac_try="$ac_compile" |
4285 | -case "(($ac_try" in |
4286 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4287 | - *) ac_try_echo=$ac_try;; |
4288 | -esac |
4289 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4290 | -$as_echo "$ac_try_echo"; } >&5 |
4291 | - (eval "$ac_compile") 2>conftest.err |
4292 | - ac_status=$? |
4293 | - if test -s conftest.err; then |
4294 | - grep -v '^ *+' conftest.err >conftest.er1 |
4295 | - cat conftest.er1 >&5 |
4296 | - mv -f conftest.er1 conftest.err |
4297 | - fi |
4298 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4299 | - test $ac_status = 0; } && { |
4300 | - test -z "$ac_cxx_werror_flag" || |
4301 | - test ! -s conftest.err |
4302 | - } && test -s conftest.$ac_objext; then : |
4303 | - ac_retval=0 |
4304 | -else |
4305 | - $as_echo "$as_me: failed program was:" >&5 |
4306 | -sed 's/^/| /' conftest.$ac_ext >&5 |
4307 | - |
4308 | - ac_retval=1 |
4309 | -fi |
4310 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4311 | - return $ac_retval |
4312 | - |
4313 | -} # ac_fn_cxx_try_compile |
4314 | - |
4315 | # ac_fn_c_try_compile LINENO |
4316 | # -------------------------- |
4317 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
4318 | @@ -1803,74 +1794,6 @@ |
4319 | |
4320 | } # ac_fn_c_try_link |
4321 | |
4322 | -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
4323 | -# ------------------------------------------------------- |
4324 | -# Tests whether HEADER exists and can be compiled using the include files in |
4325 | -# INCLUDES, setting the cache variable VAR accordingly. |
4326 | -ac_fn_c_check_header_compile () |
4327 | -{ |
4328 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4329 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
4330 | -$as_echo_n "checking for $2... " >&6; } |
4331 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
4332 | - $as_echo_n "(cached) " >&6 |
4333 | -else |
4334 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4335 | -/* end confdefs.h. */ |
4336 | -$4 |
4337 | -#include <$2> |
4338 | -_ACEOF |
4339 | -if ac_fn_c_try_compile "$LINENO"; then : |
4340 | - eval "$3=yes" |
4341 | -else |
4342 | - eval "$3=no" |
4343 | -fi |
4344 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4345 | -fi |
4346 | -eval ac_res=\$$3 |
4347 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4348 | -$as_echo "$ac_res" >&6; } |
4349 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4350 | - |
4351 | -} # ac_fn_c_check_header_compile |
4352 | - |
4353 | -# ac_fn_c_try_cpp LINENO |
4354 | -# ---------------------- |
4355 | -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
4356 | -ac_fn_c_try_cpp () |
4357 | -{ |
4358 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4359 | - if { { ac_try="$ac_cpp conftest.$ac_ext" |
4360 | -case "(($ac_try" in |
4361 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4362 | - *) ac_try_echo=$ac_try;; |
4363 | -esac |
4364 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4365 | -$as_echo "$ac_try_echo"; } >&5 |
4366 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
4367 | - ac_status=$? |
4368 | - if test -s conftest.err; then |
4369 | - grep -v '^ *+' conftest.err >conftest.er1 |
4370 | - cat conftest.er1 >&5 |
4371 | - mv -f conftest.er1 conftest.err |
4372 | - fi |
4373 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4374 | - test $ac_status = 0; } >/dev/null && { |
4375 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4376 | - test ! -s conftest.err |
4377 | - }; then : |
4378 | - ac_retval=0 |
4379 | -else |
4380 | - $as_echo "$as_me: failed program was:" >&5 |
4381 | -sed 's/^/| /' conftest.$ac_ext >&5 |
4382 | - |
4383 | - ac_retval=1 |
4384 | -fi |
4385 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4386 | - return $ac_retval |
4387 | - |
4388 | -} # ac_fn_c_try_cpp |
4389 | - |
4390 | # ac_fn_c_try_run LINENO |
4391 | # ---------------------- |
4392 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
4393 | @@ -1913,6 +1836,112 @@ |
4394 | |
4395 | } # ac_fn_c_try_run |
4396 | |
4397 | +# ac_fn_cxx_try_compile LINENO |
4398 | +# ---------------------------- |
4399 | +# Try to compile conftest.$ac_ext, and return whether this succeeded. |
4400 | +ac_fn_cxx_try_compile () |
4401 | +{ |
4402 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4403 | + rm -f conftest.$ac_objext |
4404 | + if { { ac_try="$ac_compile" |
4405 | +case "(($ac_try" in |
4406 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4407 | + *) ac_try_echo=$ac_try;; |
4408 | +esac |
4409 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4410 | +$as_echo "$ac_try_echo"; } >&5 |
4411 | + (eval "$ac_compile") 2>conftest.err |
4412 | + ac_status=$? |
4413 | + if test -s conftest.err; then |
4414 | + grep -v '^ *+' conftest.err >conftest.er1 |
4415 | + cat conftest.er1 >&5 |
4416 | + mv -f conftest.er1 conftest.err |
4417 | + fi |
4418 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4419 | + test $ac_status = 0; } && { |
4420 | + test -z "$ac_cxx_werror_flag" || |
4421 | + test ! -s conftest.err |
4422 | + } && test -s conftest.$ac_objext; then : |
4423 | + ac_retval=0 |
4424 | +else |
4425 | + $as_echo "$as_me: failed program was:" >&5 |
4426 | +sed 's/^/| /' conftest.$ac_ext >&5 |
4427 | + |
4428 | + ac_retval=1 |
4429 | +fi |
4430 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4431 | + return $ac_retval |
4432 | + |
4433 | +} # ac_fn_cxx_try_compile |
4434 | + |
4435 | +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
4436 | +# ------------------------------------------------------- |
4437 | +# Tests whether HEADER exists and can be compiled using the include files in |
4438 | +# INCLUDES, setting the cache variable VAR accordingly. |
4439 | +ac_fn_c_check_header_compile () |
4440 | +{ |
4441 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4442 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
4443 | +$as_echo_n "checking for $2... " >&6; } |
4444 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
4445 | + $as_echo_n "(cached) " >&6 |
4446 | +else |
4447 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4448 | +/* end confdefs.h. */ |
4449 | +$4 |
4450 | +#include <$2> |
4451 | +_ACEOF |
4452 | +if ac_fn_c_try_compile "$LINENO"; then : |
4453 | + eval "$3=yes" |
4454 | +else |
4455 | + eval "$3=no" |
4456 | +fi |
4457 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4458 | +fi |
4459 | +eval ac_res=\$$3 |
4460 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4461 | +$as_echo "$ac_res" >&6; } |
4462 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4463 | + |
4464 | +} # ac_fn_c_check_header_compile |
4465 | + |
4466 | +# ac_fn_c_try_cpp LINENO |
4467 | +# ---------------------- |
4468 | +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
4469 | +ac_fn_c_try_cpp () |
4470 | +{ |
4471 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4472 | + if { { ac_try="$ac_cpp conftest.$ac_ext" |
4473 | +case "(($ac_try" in |
4474 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4475 | + *) ac_try_echo=$ac_try;; |
4476 | +esac |
4477 | +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4478 | +$as_echo "$ac_try_echo"; } >&5 |
4479 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
4480 | + ac_status=$? |
4481 | + if test -s conftest.err; then |
4482 | + grep -v '^ *+' conftest.err >conftest.er1 |
4483 | + cat conftest.er1 >&5 |
4484 | + mv -f conftest.er1 conftest.err |
4485 | + fi |
4486 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4487 | + test $ac_status = 0; } >/dev/null && { |
4488 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4489 | + test ! -s conftest.err |
4490 | + }; then : |
4491 | + ac_retval=0 |
4492 | +else |
4493 | + $as_echo "$as_me: failed program was:" >&5 |
4494 | +sed 's/^/| /' conftest.$ac_ext >&5 |
4495 | + |
4496 | + ac_retval=1 |
4497 | +fi |
4498 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
4499 | + return $ac_retval |
4500 | + |
4501 | +} # ac_fn_c_try_cpp |
4502 | + |
4503 | # ac_fn_c_check_func LINENO FUNC VAR |
4504 | # ---------------------------------- |
4505 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
4506 | @@ -2486,6 +2515,7 @@ |
4507 | >$cache_file |
4508 | fi |
4509 | |
4510 | +gt_needs="$gt_needs " |
4511 | # Check that the precious variables saved in the cache have kept the same |
4512 | # value. |
4513 | ac_cache_corrupted=false |
4514 | @@ -3052,28 +3082,591 @@ |
4515 | |
4516 | |
4517 | |
4518 | -# Checks for programs. |
4519 | -ac_ext=cpp |
4520 | -ac_cpp='$CXXCPP $CPPFLAGS' |
4521 | -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4522 | -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4523 | -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4524 | -if test -z "$CXX"; then |
4525 | - if test -n "$CCC"; then |
4526 | - CXX=$CCC |
4527 | - else |
4528 | - if test -n "$ac_tool_prefix"; then |
4529 | - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4530 | + |
4531 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
4532 | +$as_echo_n "checking whether NLS is requested... " >&6; } |
4533 | + # Check whether --enable-nls was given. |
4534 | +if test "${enable_nls+set}" = set; then : |
4535 | + enableval=$enable_nls; USE_NLS=$enableval |
4536 | +else |
4537 | + USE_NLS=yes |
4538 | +fi |
4539 | + |
4540 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
4541 | +$as_echo "$USE_NLS" >&6; } |
4542 | + |
4543 | + |
4544 | + |
4545 | + |
4546 | + GETTEXT_MACRO_VERSION=0.17 |
4547 | + |
4548 | + |
4549 | + |
4550 | + |
4551 | +# Prepare PATH_SEPARATOR. |
4552 | +# The user is always right. |
4553 | +if test "${PATH_SEPARATOR+set}" != set; then |
4554 | + echo "#! /bin/sh" >conf$$.sh |
4555 | + echo "exit 0" >>conf$$.sh |
4556 | + chmod +x conf$$.sh |
4557 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
4558 | + PATH_SEPARATOR=';' |
4559 | + else |
4560 | + PATH_SEPARATOR=: |
4561 | + fi |
4562 | + rm -f conf$$.sh |
4563 | +fi |
4564 | + |
4565 | +# Find out how to test for executable files. Don't use a zero-byte file, |
4566 | +# as systems may use methods other than mode bits to determine executability. |
4567 | +cat >conf$$.file <<_ASEOF |
4568 | +#! /bin/sh |
4569 | +exit 0 |
4570 | +_ASEOF |
4571 | +chmod +x conf$$.file |
4572 | +if test -x conf$$.file >/dev/null 2>&1; then |
4573 | + ac_executable_p="test -x" |
4574 | +else |
4575 | + ac_executable_p="test -f" |
4576 | +fi |
4577 | +rm -f conf$$.file |
4578 | + |
4579 | +# Extract the first word of "msgfmt", so it can be a program name with args. |
4580 | +set dummy msgfmt; ac_word=$2 |
4581 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4582 | +$as_echo_n "checking for $ac_word... " >&6; } |
4583 | +if test "${ac_cv_path_MSGFMT+set}" = set; then : |
4584 | + $as_echo_n "(cached) " >&6 |
4585 | +else |
4586 | + case "$MSGFMT" in |
4587 | + [\\/]* | ?:[\\/]*) |
4588 | + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
4589 | + ;; |
4590 | + *) |
4591 | + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
4592 | + for ac_dir in $PATH; do |
4593 | + IFS="$ac_save_IFS" |
4594 | + test -z "$ac_dir" && ac_dir=. |
4595 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4596 | + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
4597 | + echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
4598 | + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
4599 | + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
4600 | + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
4601 | + break 2 |
4602 | + fi |
4603 | + fi |
4604 | + done |
4605 | + done |
4606 | + IFS="$ac_save_IFS" |
4607 | + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
4608 | + ;; |
4609 | +esac |
4610 | +fi |
4611 | +MSGFMT="$ac_cv_path_MSGFMT" |
4612 | +if test "$MSGFMT" != ":"; then |
4613 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
4614 | +$as_echo "$MSGFMT" >&6; } |
4615 | +else |
4616 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4617 | +$as_echo "no" >&6; } |
4618 | +fi |
4619 | + |
4620 | + # Extract the first word of "gmsgfmt", so it can be a program name with args. |
4621 | +set dummy gmsgfmt; ac_word=$2 |
4622 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4623 | +$as_echo_n "checking for $ac_word... " >&6; } |
4624 | +if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
4625 | + $as_echo_n "(cached) " >&6 |
4626 | +else |
4627 | + case $GMSGFMT in |
4628 | + [\\/]* | ?:[\\/]*) |
4629 | + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
4630 | + ;; |
4631 | + *) |
4632 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4633 | +for as_dir in $PATH |
4634 | +do |
4635 | + IFS=$as_save_IFS |
4636 | + test -z "$as_dir" && as_dir=. |
4637 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4638 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4639 | + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
4640 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4641 | + break 2 |
4642 | + fi |
4643 | +done |
4644 | + done |
4645 | +IFS=$as_save_IFS |
4646 | + |
4647 | + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
4648 | + ;; |
4649 | +esac |
4650 | +fi |
4651 | +GMSGFMT=$ac_cv_path_GMSGFMT |
4652 | +if test -n "$GMSGFMT"; then |
4653 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
4654 | +$as_echo "$GMSGFMT" >&6; } |
4655 | +else |
4656 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4657 | +$as_echo "no" >&6; } |
4658 | +fi |
4659 | + |
4660 | + |
4661 | + |
4662 | + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
4663 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
4664 | + *) MSGFMT_015=$MSGFMT ;; |
4665 | + esac |
4666 | + |
4667 | + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
4668 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
4669 | + *) GMSGFMT_015=$GMSGFMT ;; |
4670 | + esac |
4671 | + |
4672 | + |
4673 | + |
4674 | +# Prepare PATH_SEPARATOR. |
4675 | +# The user is always right. |
4676 | +if test "${PATH_SEPARATOR+set}" != set; then |
4677 | + echo "#! /bin/sh" >conf$$.sh |
4678 | + echo "exit 0" >>conf$$.sh |
4679 | + chmod +x conf$$.sh |
4680 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
4681 | + PATH_SEPARATOR=';' |
4682 | + else |
4683 | + PATH_SEPARATOR=: |
4684 | + fi |
4685 | + rm -f conf$$.sh |
4686 | +fi |
4687 | + |
4688 | +# Find out how to test for executable files. Don't use a zero-byte file, |
4689 | +# as systems may use methods other than mode bits to determine executability. |
4690 | +cat >conf$$.file <<_ASEOF |
4691 | +#! /bin/sh |
4692 | +exit 0 |
4693 | +_ASEOF |
4694 | +chmod +x conf$$.file |
4695 | +if test -x conf$$.file >/dev/null 2>&1; then |
4696 | + ac_executable_p="test -x" |
4697 | +else |
4698 | + ac_executable_p="test -f" |
4699 | +fi |
4700 | +rm -f conf$$.file |
4701 | + |
4702 | +# Extract the first word of "xgettext", so it can be a program name with args. |
4703 | +set dummy xgettext; ac_word=$2 |
4704 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4705 | +$as_echo_n "checking for $ac_word... " >&6; } |
4706 | +if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
4707 | + $as_echo_n "(cached) " >&6 |
4708 | +else |
4709 | + case "$XGETTEXT" in |
4710 | + [\\/]* | ?:[\\/]*) |
4711 | + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
4712 | + ;; |
4713 | + *) |
4714 | + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
4715 | + for ac_dir in $PATH; do |
4716 | + IFS="$ac_save_IFS" |
4717 | + test -z "$ac_dir" && ac_dir=. |
4718 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4719 | + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
4720 | + echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
4721 | + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && |
4722 | + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
4723 | + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
4724 | + break 2 |
4725 | + fi |
4726 | + fi |
4727 | + done |
4728 | + done |
4729 | + IFS="$ac_save_IFS" |
4730 | + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
4731 | + ;; |
4732 | +esac |
4733 | +fi |
4734 | +XGETTEXT="$ac_cv_path_XGETTEXT" |
4735 | +if test "$XGETTEXT" != ":"; then |
4736 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
4737 | +$as_echo "$XGETTEXT" >&6; } |
4738 | +else |
4739 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4740 | +$as_echo "no" >&6; } |
4741 | +fi |
4742 | + |
4743 | + rm -f messages.po |
4744 | + |
4745 | + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
4746 | + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
4747 | + *) XGETTEXT_015=$XGETTEXT ;; |
4748 | + esac |
4749 | + |
4750 | + |
4751 | + |
4752 | +# Prepare PATH_SEPARATOR. |
4753 | +# The user is always right. |
4754 | +if test "${PATH_SEPARATOR+set}" != set; then |
4755 | + echo "#! /bin/sh" >conf$$.sh |
4756 | + echo "exit 0" >>conf$$.sh |
4757 | + chmod +x conf$$.sh |
4758 | + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
4759 | + PATH_SEPARATOR=';' |
4760 | + else |
4761 | + PATH_SEPARATOR=: |
4762 | + fi |
4763 | + rm -f conf$$.sh |
4764 | +fi |
4765 | + |
4766 | +# Find out how to test for executable files. Don't use a zero-byte file, |
4767 | +# as systems may use methods other than mode bits to determine executability. |
4768 | +cat >conf$$.file <<_ASEOF |
4769 | +#! /bin/sh |
4770 | +exit 0 |
4771 | +_ASEOF |
4772 | +chmod +x conf$$.file |
4773 | +if test -x conf$$.file >/dev/null 2>&1; then |
4774 | + ac_executable_p="test -x" |
4775 | +else |
4776 | + ac_executable_p="test -f" |
4777 | +fi |
4778 | +rm -f conf$$.file |
4779 | + |
4780 | +# Extract the first word of "msgmerge", so it can be a program name with args. |
4781 | +set dummy msgmerge; ac_word=$2 |
4782 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4783 | +$as_echo_n "checking for $ac_word... " >&6; } |
4784 | +if test "${ac_cv_path_MSGMERGE+set}" = set; then : |
4785 | + $as_echo_n "(cached) " >&6 |
4786 | +else |
4787 | + case "$MSGMERGE" in |
4788 | + [\\/]* | ?:[\\/]*) |
4789 | + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
4790 | + ;; |
4791 | + *) |
4792 | + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
4793 | + for ac_dir in $PATH; do |
4794 | + IFS="$ac_save_IFS" |
4795 | + test -z "$ac_dir" && ac_dir=. |
4796 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4797 | + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
4798 | + echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
4799 | + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
4800 | + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
4801 | + break 2 |
4802 | + fi |
4803 | + fi |
4804 | + done |
4805 | + done |
4806 | + IFS="$ac_save_IFS" |
4807 | + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
4808 | + ;; |
4809 | +esac |
4810 | +fi |
4811 | +MSGMERGE="$ac_cv_path_MSGMERGE" |
4812 | +if test "$MSGMERGE" != ":"; then |
4813 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
4814 | +$as_echo "$MSGMERGE" >&6; } |
4815 | +else |
4816 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4817 | +$as_echo "no" >&6; } |
4818 | +fi |
4819 | + |
4820 | + |
4821 | + test -n "$localedir" || localedir='${datadir}/locale' |
4822 | + |
4823 | + |
4824 | + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
4825 | + |
4826 | + |
4827 | + ac_config_commands="$ac_config_commands po-directories" |
4828 | + |
4829 | + |
4830 | + |
4831 | + if test "X$prefix" = "XNONE"; then |
4832 | + acl_final_prefix="$ac_default_prefix" |
4833 | + else |
4834 | + acl_final_prefix="$prefix" |
4835 | + fi |
4836 | + if test "X$exec_prefix" = "XNONE"; then |
4837 | + acl_final_exec_prefix='${prefix}' |
4838 | + else |
4839 | + acl_final_exec_prefix="$exec_prefix" |
4840 | + fi |
4841 | + acl_save_prefix="$prefix" |
4842 | + prefix="$acl_final_prefix" |
4843 | + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
4844 | + prefix="$acl_save_prefix" |
4845 | + |
4846 | +DEPDIR="${am__leading_dot}deps" |
4847 | + |
4848 | +ac_config_commands="$ac_config_commands depfiles" |
4849 | + |
4850 | + |
4851 | +am_make=${MAKE-make} |
4852 | +cat > confinc << 'END' |
4853 | +am__doit: |
4854 | + @echo this is the am__doit target |
4855 | +.PHONY: am__doit |
4856 | +END |
4857 | +# If we don't find an include directive, just comment out the code. |
4858 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4859 | +$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4860 | +am__include="#" |
4861 | +am__quote= |
4862 | +_am_result=none |
4863 | +# First try GNU make style include. |
4864 | +echo "include confinc" > confmf |
4865 | +# Ignore all kinds of additional output from `make'. |
4866 | +case `$am_make -s -f confmf 2> /dev/null` in #( |
4867 | +*the\ am__doit\ target*) |
4868 | + am__include=include |
4869 | + am__quote= |
4870 | + _am_result=GNU |
4871 | + ;; |
4872 | +esac |
4873 | +# Now try BSD make style include. |
4874 | +if test "$am__include" = "#"; then |
4875 | + echo '.include "confinc"' > confmf |
4876 | + case `$am_make -s -f confmf 2> /dev/null` in #( |
4877 | + *the\ am__doit\ target*) |
4878 | + am__include=.include |
4879 | + am__quote="\"" |
4880 | + _am_result=BSD |
4881 | + ;; |
4882 | + esac |
4883 | +fi |
4884 | + |
4885 | + |
4886 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4887 | +$as_echo "$_am_result" >&6; } |
4888 | +rm -f confinc confmf |
4889 | + |
4890 | +# Check whether --enable-dependency-tracking was given. |
4891 | +if test "${enable_dependency_tracking+set}" = set; then : |
4892 | + enableval=$enable_dependency_tracking; |
4893 | +fi |
4894 | + |
4895 | +if test "x$enable_dependency_tracking" != xno; then |
4896 | + am_depcomp="$ac_aux_dir/depcomp" |
4897 | + AMDEPBACKSLASH='\' |
4898 | +fi |
4899 | + if test "x$enable_dependency_tracking" != xno; then |
4900 | + AMDEP_TRUE= |
4901 | + AMDEP_FALSE='#' |
4902 | +else |
4903 | + AMDEP_TRUE='#' |
4904 | + AMDEP_FALSE= |
4905 | +fi |
4906 | + |
4907 | + |
4908 | +ac_ext=c |
4909 | +ac_cpp='$CPP $CPPFLAGS' |
4910 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4911 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4912 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4913 | +if test -n "$ac_tool_prefix"; then |
4914 | + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4915 | +set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4916 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4917 | +$as_echo_n "checking for $ac_word... " >&6; } |
4918 | +if test "${ac_cv_prog_CC+set}" = set; then : |
4919 | + $as_echo_n "(cached) " >&6 |
4920 | +else |
4921 | + if test -n "$CC"; then |
4922 | + ac_cv_prog_CC="$CC" # Let the user override the test. |
4923 | +else |
4924 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4925 | +for as_dir in $PATH |
4926 | +do |
4927 | + IFS=$as_save_IFS |
4928 | + test -z "$as_dir" && as_dir=. |
4929 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4930 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4931 | + ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4932 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4933 | + break 2 |
4934 | + fi |
4935 | +done |
4936 | + done |
4937 | +IFS=$as_save_IFS |
4938 | + |
4939 | +fi |
4940 | +fi |
4941 | +CC=$ac_cv_prog_CC |
4942 | +if test -n "$CC"; then |
4943 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4944 | +$as_echo "$CC" >&6; } |
4945 | +else |
4946 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4947 | +$as_echo "no" >&6; } |
4948 | +fi |
4949 | + |
4950 | + |
4951 | +fi |
4952 | +if test -z "$ac_cv_prog_CC"; then |
4953 | + ac_ct_CC=$CC |
4954 | + # Extract the first word of "gcc", so it can be a program name with args. |
4955 | +set dummy gcc; ac_word=$2 |
4956 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4957 | +$as_echo_n "checking for $ac_word... " >&6; } |
4958 | +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
4959 | + $as_echo_n "(cached) " >&6 |
4960 | +else |
4961 | + if test -n "$ac_ct_CC"; then |
4962 | + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4963 | +else |
4964 | +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4965 | +for as_dir in $PATH |
4966 | +do |
4967 | + IFS=$as_save_IFS |
4968 | + test -z "$as_dir" && as_dir=. |
4969 | + for ac_exec_ext in '' $ac_executable_extensions; do |
4970 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4971 | + ac_cv_prog_ac_ct_CC="gcc" |
4972 | + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4973 | + break 2 |
4974 | + fi |
4975 | +done |
4976 | + done |
4977 | +IFS=$as_save_IFS |
4978 | + |
4979 | +fi |
4980 | +fi |
4981 | +ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4982 | +if test -n "$ac_ct_CC"; then |
4983 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4984 | +$as_echo "$ac_ct_CC" >&6; } |
4985 | +else |
4986 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4987 | +$as_echo "no" >&6; } |
4988 | +fi |
4989 | + |
4990 | + if test "x$ac_ct_CC" = x; then |
4991 | + CC="" |
4992 | + else |
4993 | + case $cross_compiling:$ac_tool_warned in |
4994 | +yes:) |
4995 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4996 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4997 | +ac_tool_warned=yes ;; |
4998 | +esac |
4999 | + CC=$ac_ct_CC |
5000 | + fi |
The diff has been truncated for viewing.