Import Upstream version 3.21.91
Sophie Brun
7 years ago
0 | 1 Notes on the Free Translation Project | |
1 | *************************************** | |
2 | ||
3 | Free software is going international! The Free Translation Project is | |
4 | a way to get maintainers of free software, translators, and users all | |
5 | together, so that free software will gradually become able to speak many | |
6 | languages. A few packages already provide translations for their | |
7 | messages. | |
8 | ||
9 | If you found this `ABOUT-NLS' file inside a distribution, you may | |
10 | assume that the distributed package does use GNU `gettext' internally, | |
11 | itself available at your nearest GNU archive site. But you do _not_ | |
12 | need to install GNU `gettext' prior to configuring, installing or using | |
13 | this package with messages translated. | |
14 | ||
15 | Installers will find here some useful hints. These notes also | |
16 | explain how users should proceed for getting the programs to use the | |
17 | available translations. They tell how people wanting to contribute and | |
18 | work on translations can contact the appropriate team. | |
19 | ||
20 | 1.1 INSTALL Matters | |
21 | =================== | |
22 | ||
23 | Some packages are "localizable" when properly installed; the programs | |
24 | they contain can be made to speak your own native language. Most such | |
25 | packages use GNU `gettext'. Other packages have their own ways to | |
26 | internationalization, predating GNU `gettext'. | |
27 | ||
28 | By default, this package will be installed to allow translation of | |
29 | messages. It will automatically detect whether the system already | |
30 | provides the GNU `gettext' functions. Installers may use special | |
31 | options at configuration time for changing the default behaviour. The | |
32 | command: | |
33 | ||
34 | ./configure --disable-nls | |
35 | ||
36 | will _totally_ disable translation of messages. | |
37 | ||
38 | When you already have GNU `gettext' installed on your system and run | |
39 | configure without an option for your new package, `configure' will | |
40 | probably detect the previously built and installed `libintl' library | |
41 | and will decide to use it. If not, you may have to to use the | |
42 | `--with-libintl-prefix' option to tell `configure' where to look for it. | |
43 | ||
44 | Internationalized packages usually have many `po/LL.po' files, where | |
45 | LL gives an ISO 639 two-letter code identifying the language. Unless | |
46 | translations have been forbidden at `configure' time by using the | |
47 | `--disable-nls' switch, all available translations are installed | |
48 | together with the package. However, the environment variable `LINGUAS' | |
49 | may be set, prior to configuration, to limit the installed set. | |
50 | `LINGUAS' should then contain a space separated list of two-letter | |
51 | codes, stating which languages are allowed. | |
52 | ||
53 | 1.2 Using This Package | |
54 | ====================== | |
55 | ||
56 | As a user, if your language has been installed for this package, you | |
57 | only have to set the `LANG' environment variable to the appropriate | |
58 | `LL_CC' combination. If you happen to have the `LC_ALL' or some other | |
59 | `LC_xxx' environment variables set, you should unset them before | |
60 | setting `LANG', otherwise the setting of `LANG' will not have the | |
61 | desired effect. Here `LL' is an ISO 639 two-letter language code, and | |
62 | `CC' is an ISO 3166 two-letter country code. For example, let's | |
63 | suppose that you speak German and live in Germany. At the shell | |
64 | prompt, merely execute `setenv LANG de_DE' (in `csh'), | |
65 | `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). | |
66 | This can be done from your `.login' or `.profile' file, once and for | |
67 | all. | |
68 | ||
69 | You might think that the country code specification is redundant. | |
70 | But in fact, some languages have dialects in different countries. For | |
71 | example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The | |
72 | country code serves to distinguish the dialects. | |
73 | ||
74 | The locale naming convention of `LL_CC', with `LL' denoting the | |
75 | language and `CC' denoting the country, is the one use on systems based | |
76 | on GNU libc. On other systems, some variations of this scheme are | |
77 | used, such as `LL' or `LL_CC.ENCODING'. You can get the list of | |
78 | locales supported by your system for your language by running the | |
79 | command `locale -a | grep '^LL''. | |
80 | ||
81 | Not all programs have translations for all languages. By default, an | |
82 | English message is shown in place of a nonexistent translation. If you | |
83 | understand other languages, you can set up a priority list of languages. | |
84 | This is done through a different environment variable, called | |
85 | `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' | |
86 | for the purpose of message handling, but you still need to have `LANG' | |
87 | set to the primary language; this is required by other parts of the | |
88 | system libraries. For example, some Swedish users who would rather | |
89 | read translations in German than English for when Swedish is not | |
90 | available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. | |
91 | ||
92 | Special advice for Norwegian users: The language code for Norwegian | |
93 | bokma*l changed from `no' to `nb' recently (in 2003). During the | |
94 | transition period, while some message catalogs for this language are | |
95 | installed under `nb' and some older ones under `no', it's recommended | |
96 | for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and | |
97 | older translations are used. | |
98 | ||
99 | In the `LANGUAGE' environment variable, but not in the `LANG' | |
100 | environment variable, `LL_CC' combinations can be abbreviated as `LL' | |
101 | to denote the language's main dialect. For example, `de' is equivalent | |
102 | to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' | |
103 | (Portuguese as spoken in Portugal) in this context. | |
104 | ||
105 | 1.3 Translating Teams | |
106 | ===================== | |
107 | ||
108 | For the Free Translation Project to be a success, we need interested | |
109 | people who like their own language and write it well, and who are also | |
110 | able to synergize with other translators speaking the same language. | |
111 | Each translation team has its own mailing list. The up-to-date list of | |
112 | teams can be found at the Free Translation Project's homepage, | |
113 | `http://translationproject.org/', in the "Teams" area. | |
114 | ||
115 | If you'd like to volunteer to _work_ at translating messages, you | |
116 | should become a member of the translating team for your own language. | |
117 | The subscribing address is _not_ the same as the list itself, it has | |
118 | `-request' appended. For example, speakers of Swedish can send a | |
119 | message to `[email protected]', having this message body: | |
120 | ||
121 | subscribe | |
122 | ||
123 | Keep in mind that team members are expected to participate | |
124 | _actively_ in translations, or at solving translational difficulties, | |
125 | rather than merely lurking around. If your team does not exist yet and | |
126 | you want to start one, or if you are unsure about what to do or how to | |
127 | get started, please write to `[email protected]' to | |
128 | reach the coordinator for all translator teams. | |
129 | ||
130 | The English team is special. It works at improving and uniformizing | |
131 | the terminology in use. Proven linguistic skills are praised more than | |
132 | programming skills, here. | |
133 | ||
134 | 1.4 Available Packages | |
135 | ====================== | |
136 | ||
137 | Languages are not equally supported in all packages. The following | |
138 | matrix shows the current state of internationalization, as of June | |
139 | 2010. The matrix shows, in regard of each package, for which languages | |
140 | PO files have been submitted to translation coordination, with a | |
141 | translation percentage of at least 50%. | |
142 | ||
143 | Ready PO files af am an ar as ast az be bg bn bn_IN bs ca crh cs | |
144 | +---------------------------------------------------+ | |
145 | a2ps | [] [] [] | | |
146 | aegis | | | |
147 | anubis | | | |
148 | aspell | [] [] [] | | |
149 | bash | [] [] [] | | |
150 | bfd | | | |
151 | binutils | [] | | |
152 | bison | | | |
153 | bison-runtime | [] | | |
154 | buzztrax | [] | | |
155 | ccd2cue | | | |
156 | ccide | | | |
157 | cflow | | | |
158 | clisp | | | |
159 | coreutils | [] [] | | |
160 | cpio | | | |
161 | cppi | | | |
162 | cpplib | [] | | |
163 | cryptsetup | [] | | |
164 | datamash | | | |
165 | denemo | [] [] | | |
166 | dfarc | [] | | |
167 | dialog | [] [] [] | | |
168 | dico | | | |
169 | diffutils | [] | | |
170 | dink | [] | | |
171 | direvent | | | |
172 | doodle | [] | | |
173 | dos2unix | | | |
174 | dos2unix-man | | | |
175 | e2fsprogs | [] [] | | |
176 | enscript | [] | | |
177 | exif | [] | | |
178 | fetchmail | [] [] | | |
179 | findutils | [] | | |
180 | flex | [] | | |
181 | freedink | [] [] | | |
182 | fusionforge | | | |
183 | gas | | | |
184 | gawk | [] | | |
185 | gcal | [] | | |
186 | gcc | | | |
187 | gdbm | | | |
188 | gettext-examples | [] [] [] [] [] | | |
189 | gettext-runtime | [] [] [] | | |
190 | gettext-tools | [] [] | | |
191 | gip | [] [] | | |
192 | gjay | | | |
193 | glunarclock | [] [] [] | | |
194 | gnubiff | [] | | |
195 | gnubik | [] | | |
196 | gnucash | () () [] | | |
197 | gnuchess | | | |
198 | gnulib | [] | | |
199 | gnunet | | | |
200 | gnunet-gtk | | | |
201 | gold | | | |
202 | gphoto2 | [] | | |
203 | gprof | [] | | |
204 | gpsdrive | | | |
205 | gramadoir | | | |
206 | grep | [] [] | | |
207 | grub | [] | | |
208 | gsasl | | | |
209 | gss | | | |
210 | gst-plugins-bad | [] | | |
211 | gst-plugins-base | [] [] [] | | |
212 | gst-plugins-good | [] [] [] | | |
213 | gst-plugins-ugly | [] [] [] | | |
214 | gstreamer | [] [] [] [] | | |
215 | gtick | [] | | |
216 | gtkam | [] [] | | |
217 | gtkorphan | [] [] | | |
218 | gtkspell | [] [] [] [] [] | | |
219 | guix | | | |
220 | guix-packages | | | |
221 | gutenprint | [] | | |
222 | hello | [] | | |
223 | help2man | | | |
224 | help2man-texi | | | |
225 | hylafax | | | |
226 | idutils | | | |
227 | iso_15924 | [] | | |
228 | iso_3166 | [] [] [] [] [] [] [] [] [] [] | | |
229 | iso_3166_2 | | | |
230 | iso_4217 | [] | | |
231 | iso_639 | [] [] [] [] [] [] [] [] [] | | |
232 | iso_639_3 | [] [] | | |
233 | iso_639_5 | | | |
234 | jwhois | | | |
235 | kbd | [] | | |
236 | klavaro | [] [] [] [] [] | | |
237 | latrine | | | |
238 | ld | [] | | |
239 | leafpad | [] [] [] [] | | |
240 | libc | [] [] [] | | |
241 | libexif | () | | |
242 | libextractor | | | |
243 | libgnutls | [] | | |
244 | libgpg-error | [] | | |
245 | libgphoto2 | [] | | |
246 | libgphoto2_port | [] | | |
247 | libgsasl | | | |
248 | libiconv | [] [] | | |
249 | libidn | [] | | |
250 | liferea | [] [] [] [] | | |
251 | lilypond | [] [] | | |
252 | lordsawar | [] | | |
253 | lprng | | | |
254 | lynx | [] [] | | |
255 | m4 | [] | | |
256 | mailfromd | | | |
257 | mailutils | | | |
258 | make | [] | | |
259 | man-db | [] [] | | |
260 | man-db-manpages | | | |
261 | midi-instruments | [] [] [] | | |
262 | minicom | [] | | |
263 | mkisofs | [] | | |
264 | myserver | [] | | |
265 | nano | [] [] [] | | |
266 | opcodes | | | |
267 | parted | [] | | |
268 | pies | | | |
269 | popt | [] | | |
270 | procps-ng | | | |
271 | procps-ng-man | | | |
272 | psmisc | [] | | |
273 | pspp | [] | | |
274 | pushover | [] | | |
275 | pwdutils | | | |
276 | pyspread | | | |
277 | radius | [] | | |
278 | recode | [] [] [] | | |
279 | recutils | | | |
280 | rpm | | | |
281 | rush | | | |
282 | sarg | | | |
283 | sed | [] [] [] | | |
284 | sharutils | [] | | |
285 | shishi | | | |
286 | skribilo | | | |
287 | solfege | [] | | |
288 | solfege-manual | | | |
289 | spotmachine | | | |
290 | sudo | [] [] | | |
291 | sudoers | [] [] | | |
292 | sysstat | [] | | |
293 | tar | [] [] [] | | |
294 | texinfo | [] [] | | |
295 | texinfo_document | [] | | |
296 | tigervnc | [] | | |
297 | tin | | | |
298 | tin-man | | | |
299 | tracgoogleappsa... | | | |
300 | trader | | | |
301 | util-linux | [] | | |
302 | ve | | | |
303 | vice | | | |
304 | vmm | | | |
305 | vorbis-tools | [] | | |
306 | wastesedge | | | |
307 | wcd | | | |
308 | wcd-man | | | |
309 | wdiff | [] [] | | |
310 | wget | [] [] | | |
311 | wyslij-po | | | |
312 | xboard | | | |
313 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | | |
314 | xkeyboard-config | [] [] [] | | |
315 | +---------------------------------------------------+ | |
316 | af am an ar as ast az be bg bn bn_IN bs ca crh cs | |
317 | 4 0 2 4 3 11 0 8 24 3 3 1 55 4 76 | |
318 | ||
319 | da de el en en_GB en_ZA eo es et eu fa fi fr | |
320 | +--------------------------------------------------+ | |
321 | a2ps | [] [] [] [] [] [] [] [] [] | | |
322 | aegis | [] [] [] [] | | |
323 | anubis | [] [] [] [] [] | | |
324 | aspell | [] [] [] [] [] [] [] | | |
325 | bash | [] [] [] [] [] | | |
326 | bfd | [] [] [] [] | | |
327 | binutils | [] [] [] | | |
328 | bison | [] [] [] [] [] [] [] [] | | |
329 | bison-runtime | [] [] [] [] [] [] [] [] | | |
330 | buzztrax | [] [] [] [] | | |
331 | ccd2cue | [] [] [] | | |
332 | ccide | [] [] [] [] [] [] | | |
333 | cflow | [] [] [] [] [] | | |
334 | clisp | [] [] [] [] [] | | |
335 | coreutils | [] [] [] [] [] | | |
336 | cpio | [] [] [] [] [] | | |
337 | cppi | [] [] [] [] [] | | |
338 | cpplib | [] [] [] [] [] [] | | |
339 | cryptsetup | [] [] [] [] [] | | |
340 | datamash | [] [] [] [] | | |
341 | denemo | | | |
342 | dfarc | [] [] [] [] [] [] | | |
343 | dialog | [] [] [] [] [] [] [] [] [] | | |
344 | dico | [] [] [] [] | | |
345 | diffutils | [] [] [] [] [] [] | | |
346 | dink | [] [] [] [] [] [] | | |
347 | direvent | [] [] [] [] | | |
348 | doodle | [] [] [] [] | | |
349 | dos2unix | [] [] [] [] [] | | |
350 | dos2unix-man | [] [] [] | | |
351 | e2fsprogs | [] [] [] [] [] | | |
352 | enscript | [] [] [] [] [] [] | | |
353 | exif | [] [] [] [] [] [] | | |
354 | fetchmail | [] () [] [] [] [] [] | | |
355 | findutils | [] [] [] [] [] [] [] [] | | |
356 | flex | [] [] [] [] [] [] | | |
357 | freedink | [] [] [] [] [] [] [] [] | | |
358 | fusionforge | [] [] [] | | |
359 | gas | [] [] [] | | |
360 | gawk | [] [] [] [] [] | | |
361 | gcal | [] [] [] [] | | |
362 | gcc | [] [] | | |
363 | gdbm | [] [] [] [] [] | | |
364 | gettext-examples | [] [] [] [] [] [] [] | | |
365 | gettext-runtime | [] [] [] [] [] [] | | |
366 | gettext-tools | [] [] [] [] [] | | |
367 | gip | [] [] [] [] [] [] [] | | |
368 | gjay | [] [] [] [] | | |
369 | glunarclock | [] [] [] [] [] | | |
370 | gnubiff | () [] [] () | | |
371 | gnubik | [] [] [] [] [] | | |
372 | gnucash | [] () () () () () () | | |
373 | gnuchess | [] [] [] [] | | |
374 | gnulib | [] [] [] [] [] [] [] | | |
375 | gnunet | [] | | |
376 | gnunet-gtk | [] | | |
377 | gold | [] [] [] | | |
378 | gphoto2 | [] () [] [] | | |
379 | gprof | [] [] [] [] [] [] | | |
380 | gpsdrive | [] [] [] [] | | |
381 | gramadoir | [] [] [] [] [] | | |
382 | grep | [] [] [] [] [] [] [] | | |
383 | grub | [] [] [] [] [] | | |
384 | gsasl | [] [] [] [] [] | | |
385 | gss | [] [] [] [] [] | | |
386 | gst-plugins-bad | [] [] | | |
387 | gst-plugins-base | [] [] [] [] [] [] | | |
388 | gst-plugins-good | [] [] [] [] [] [] [] | | |
389 | gst-plugins-ugly | [] [] [] [] [] [] [] [] | | |
390 | gstreamer | [] [] [] [] [] [] [] | | |
391 | gtick | [] () [] [] [] | | |
392 | gtkam | [] () [] [] [] [] | | |
393 | gtkorphan | [] [] [] [] [] | | |
394 | gtkspell | [] [] [] [] [] [] [] [] | | |
395 | guix | [] [] [] | | |
396 | guix-packages | | | |
397 | gutenprint | [] [] [] [] | | |
398 | hello | [] [] [] [] [] [] [] [] | | |
399 | help2man | [] [] [] [] [] [] [] | | |
400 | help2man-texi | [] [] [] | | |
401 | hylafax | [] [] | | |
402 | idutils | [] [] [] [] [] | | |
403 | iso_15924 | [] () [] [] () [] () | | |
404 | iso_3166 | [] () [] [] [] [] () [] () | | |
405 | iso_3166_2 | [] () () () | | |
406 | iso_4217 | [] () [] [] [] () [] () | | |
407 | iso_639 | [] () [] [] () [] () | | |
408 | iso_639_3 | () () () | | |
409 | iso_639_5 | () () () | | |
410 | jwhois | [] [] [] [] [] | | |
411 | kbd | [] [] [] [] [] [] | | |
412 | klavaro | [] [] [] [] [] [] [] | | |
413 | latrine | [] () [] [] | | |
414 | ld | [] [] [] [] | | |
415 | leafpad | [] [] [] [] [] [] [] [] | | |
416 | libc | [] [] [] [] [] | | |
417 | libexif | [] [] () [] [] | | |
418 | libextractor | [] | | |
419 | libgnutls | [] [] [] [] | | |
420 | libgpg-error | [] [] [] | | |
421 | libgphoto2 | [] () [] | | |
422 | libgphoto2_port | [] () [] [] [] [] | | |
423 | libgsasl | [] [] [] [] [] | | |
424 | libiconv | [] [] [] [] [] [] [] | | |
425 | libidn | [] [] [] [] [] | | |
426 | liferea | [] () [] [] [] [] [] | | |
427 | lilypond | [] [] [] [] [] [] | | |
428 | lordsawar | [] [] | | |
429 | lprng | | | |
430 | lynx | [] [] [] [] [] [] | | |
431 | m4 | [] [] [] [] [] [] | | |
432 | mailfromd | [] | | |
433 | mailutils | [] [] [] [] | | |
434 | make | [] [] [] [] [] | | |
435 | man-db | [] [] [] [] | | |
436 | man-db-manpages | [] [] | | |
437 | midi-instruments | [] [] [] [] [] [] [] [] [] | | |
438 | minicom | [] [] [] [] [] | | |
439 | mkisofs | [] [] [] | | |
440 | myserver | [] [] [] [] | | |
441 | nano | [] [] [] [] [] [] [] | | |
442 | opcodes | [] [] [] [] [] | | |
443 | parted | [] [] [] | | |
444 | pies | [] | | |
445 | popt | [] [] [] [] [] [] | | |
446 | procps-ng | [] [] | | |
447 | procps-ng-man | [] [] | | |
448 | psmisc | [] [] [] [] [] [] [] | | |
449 | pspp | [] [] [] | | |
450 | pushover | () [] [] [] | | |
451 | pwdutils | [] [] [] | | |
452 | pyspread | [] [] | | |
453 | radius | [] [] | | |
454 | recode | [] [] [] [] [] [] [] | | |
455 | recutils | [] [] [] [] | | |
456 | rpm | [] [] [] [] [] | | |
457 | rush | [] [] [] | | |
458 | sarg | [] [] | | |
459 | sed | [] [] [] [] [] [] [] [] | | |
460 | sharutils | [] [] [] [] | | |
461 | shishi | [] [] [] | | |
462 | skribilo | [] [] | | |
463 | solfege | [] [] [] [] [] [] [] [] | | |
464 | solfege-manual | [] [] [] [] [] | | |
465 | spotmachine | [] [] [] [] | | |
466 | sudo | [] [] [] [] [] [] | | |
467 | sudoers | [] [] [] [] [] [] | | |
468 | sysstat | [] [] [] [] [] [] | | |
469 | tar | [] [] [] [] [] [] [] | | |
470 | texinfo | [] [] [] [] [] | | |
471 | texinfo_document | [] [] [] [] | | |
472 | tigervnc | [] [] [] [] [] [] | | |
473 | tin | [] [] [] [] | | |
474 | tin-man | [] | | |
475 | tracgoogleappsa... | [] [] [] [] [] | | |
476 | trader | [] [] [] [] [] [] | | |
477 | util-linux | [] [] [] [] | | |
478 | ve | [] [] [] [] [] | | |
479 | vice | () () () | | |
480 | vmm | [] [] | | |
481 | vorbis-tools | [] [] [] [] | | |
482 | wastesedge | [] () | | |
483 | wcd | [] [] [] [] | | |
484 | wcd-man | [] | | |
485 | wdiff | [] [] [] [] [] [] [] | | |
486 | wget | [] [] [] [] [] [] | | |
487 | wyslij-po | [] [] [] [] | | |
488 | xboard | [] [] [] [] | | |
489 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | | |
490 | xkeyboard-config | [] [] [] [] [] [] [] | | |
491 | +--------------------------------------------------+ | |
492 | da de el en en_GB en_ZA eo es et eu fa fi fr | |
493 | 123 134 32 1 6 0 97 97 23 14 4 106 139 | |
494 | ||
495 | ga gd gl gu he hi hr hu hy ia id is it ja ka kk | |
496 | +-------------------------------------------------+ | |
497 | a2ps | [] [] [] [] | | |
498 | aegis | [] | | |
499 | anubis | [] [] [] [] | | |
500 | aspell | [] [] [] [] [] | | |
501 | bash | [] [] [] [] | | |
502 | bfd | [] [] | | |
503 | binutils | [] [] [] | | |
504 | bison | [] | | |
505 | bison-runtime | [] [] [] [] [] [] [] [] | | |
506 | buzztrax | | | |
507 | ccd2cue | [] | | |
508 | ccide | [] [] | | |
509 | cflow | [] [] [] | | |
510 | clisp | | | |
511 | coreutils | [] [] [] | | |
512 | cpio | [] [] [] [] [] [] | | |
513 | cppi | [] [] [] [] [] | | |
514 | cpplib | [] [] | | |
515 | cryptsetup | [] | | |
516 | datamash | | | |
517 | denemo | [] | | |
518 | dfarc | [] [] [] | | |
519 | dialog | [] [] [] [] [] [] [] [] [] [] | | |
520 | dico | | | |
521 | diffutils | [] [] [] [] | | |
522 | dink | [] | | |
523 | direvent | [] | | |
524 | doodle | [] [] | | |
525 | dos2unix | [] [] | | |
526 | dos2unix-man | | | |
527 | e2fsprogs | [] | | |
528 | enscript | [] [] [] | | |
529 | exif | [] [] [] [] [] [] | | |
530 | fetchmail | [] [] [] | | |
531 | findutils | [] [] [] [] [] [] [] | | |
532 | flex | [] | | |
533 | freedink | [] [] [] [] | | |
534 | fusionforge | | | |
535 | gas | [] | | |
536 | gawk | [] () [] | | |
537 | gcal | | | |
538 | gcc | | | |
539 | gdbm | | | |
540 | gettext-examples | [] [] [] [] [] [] [] | | |
541 | gettext-runtime | [] [] [] [] [] [] [] | | |
542 | gettext-tools | [] [] [] | | |
543 | gip | [] [] [] [] [] [] | | |
544 | gjay | [] | | |
545 | glunarclock | [] [] [] [] [] [] | | |
546 | gnubiff | [] [] () | | |
547 | gnubik | [] [] [] | | |
548 | gnucash | () () () () () [] | | |
549 | gnuchess | | | |
550 | gnulib | [] [] [] [] [] | | |
551 | gnunet | | | |
552 | gnunet-gtk | | | |
553 | gold | [] [] | | |
554 | gphoto2 | [] [] [] [] | | |
555 | gprof | [] [] [] [] | | |
556 | gpsdrive | [] [] [] [] | | |
557 | gramadoir | [] [] [] | | |
558 | grep | [] [] [] [] [] [] [] | | |
559 | grub | [] [] [] | | |
560 | gsasl | [] [] [] [] [] | | |
561 | gss | [] [] [] [] [] | | |
562 | gst-plugins-bad | [] | | |
563 | gst-plugins-base | [] [] [] [] | | |
564 | gst-plugins-good | [] [] [] [] [] [] | | |
565 | gst-plugins-ugly | [] [] [] [] [] [] | | |
566 | gstreamer | [] [] [] [] [] | | |
567 | gtick | [] [] [] [] [] | | |
568 | gtkam | [] [] [] [] [] | | |
569 | gtkorphan | [] [] [] [] | | |
570 | gtkspell | [] [] [] [] [] [] [] [] [] [] | | |
571 | guix | [] | | |
572 | guix-packages | | | |
573 | gutenprint | [] [] [] | | |
574 | hello | [] [] [] [] [] | | |
575 | help2man | [] [] [] | | |
576 | help2man-texi | | | |
577 | hylafax | [] | | |
578 | idutils | [] [] | | |
579 | iso_15924 | [] [] [] [] [] [] | | |
580 | iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | | |
581 | iso_3166_2 | [] [] | | |
582 | iso_4217 | [] [] [] [] [] [] | | |
583 | iso_639 | [] [] [] [] [] [] [] [] [] | | |
584 | iso_639_3 | [] [] | | |
585 | iso_639_5 | | | |
586 | jwhois | [] [] [] [] | | |
587 | kbd | [] [] [] | | |
588 | klavaro | [] [] [] [] | | |
589 | latrine | [] | | |
590 | ld | [] [] [] [] | | |
591 | leafpad | [] [] [] [] [] [] [] () | | |
592 | libc | [] [] [] [] [] | | |
593 | libexif | [] | | |
594 | libextractor | | | |
595 | libgnutls | [] | | |
596 | libgpg-error | [] [] [] | | |
597 | libgphoto2 | [] [] | | |
598 | libgphoto2_port | [] [] | | |
599 | libgsasl | [] [] [] [] | | |
600 | libiconv | [] [] [] [] [] [] [] | | |
601 | libidn | [] [] [] [] | | |
602 | liferea | [] [] [] [] [] | | |
603 | lilypond | [] | | |
604 | lordsawar | | | |
605 | lprng | [] | | |
606 | lynx | [] [] [] [] | | |
607 | m4 | [] [] [] [] [] | | |
608 | mailfromd | | | |
609 | mailutils | | | |
610 | make | [] [] [] [] | | |
611 | man-db | [] [] | | |
612 | man-db-manpages | [] [] | | |
613 | midi-instruments | [] [] [] [] [] [] [] [] [] | | |
614 | minicom | [] [] [] | | |
615 | mkisofs | [] [] | | |
616 | myserver | [] | | |
617 | nano | [] [] [] [] [] | | |
618 | opcodes | [] [] [] | | |
619 | parted | [] [] [] [] | | |
620 | pies | | | |
621 | popt | [] [] [] [] [] [] [] [] [] [] | | |
622 | procps-ng | | | |
623 | procps-ng-man | | | |
624 | psmisc | [] [] [] [] | | |
625 | pspp | [] [] | | |
626 | pushover | [] | | |
627 | pwdutils | [] | | |
628 | pyspread | | | |
629 | radius | [] | | |
630 | recode | [] [] [] [] [] [] [] | | |
631 | recutils | | | |
632 | rpm | [] | | |
633 | rush | [] | | |
634 | sarg | | | |
635 | sed | [] [] [] [] [] [] [] | | |
636 | sharutils | | | |
637 | shishi | | | |
638 | skribilo | [] | | |
639 | solfege | [] [] | | |
640 | solfege-manual | | | |
641 | spotmachine | | | |
642 | sudo | [] [] [] [] | | |
643 | sudoers | [] [] [] | | |
644 | sysstat | [] [] [] | | |
645 | tar | [] [] [] [] [] [] | | |
646 | texinfo | [] [] [] | | |
647 | texinfo_document | [] [] | | |
648 | tigervnc | | | |
649 | tin | | | |
650 | tin-man | | | |
651 | tracgoogleappsa... | [] [] [] [] | | |
652 | trader | [] [] | | |
653 | util-linux | [] | | |
654 | ve | [] | | |
655 | vice | () () | | |
656 | vmm | | | |
657 | vorbis-tools | [] [] | | |
658 | wastesedge | () | | |
659 | wcd | | | |
660 | wcd-man | | | |
661 | wdiff | [] [] [] | | |
662 | wget | [] [] [] [] | | |
663 | wyslij-po | [] [] [] | | |
664 | xboard | | | |
665 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | | |
666 | xkeyboard-config | [] [] [] [] [] | | |
667 | +-------------------------------------------------+ | |
668 | ga gd gl gu he hi hr hu hy ia id is it ja ka kk | |
669 | 36 2 49 4 8 2 54 75 2 6 84 11 89 60 0 3 | |
670 | ||
671 | kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl | |
672 | +--------------------------------------------------+ | |
673 | a2ps | [] [] | | |
674 | aegis | [] | | |
675 | anubis | [] [] [] | | |
676 | aspell | [] [] | | |
677 | bash | [] [] | | |
678 | bfd | | | |
679 | binutils | | | |
680 | bison | [] | | |
681 | bison-runtime | [] [] [] [] [] [] | | |
682 | buzztrax | | | |
683 | ccd2cue | | | |
684 | ccide | [] [] | | |
685 | cflow | [] | | |
686 | clisp | [] | | |
687 | coreutils | [] [] | | |
688 | cpio | [] | | |
689 | cppi | | | |
690 | cpplib | [] | | |
691 | cryptsetup | [] | | |
692 | datamash | [] [] | | |
693 | denemo | | | |
694 | dfarc | [] [] | | |
695 | dialog | [] [] [] [] [] [] | | |
696 | dico | | | |
697 | diffutils | [] [] [] | | |
698 | dink | [] | | |
699 | direvent | [] | | |
700 | doodle | [] | | |
701 | dos2unix | [] [] | | |
702 | dos2unix-man | [] | | |
703 | e2fsprogs | [] | | |
704 | enscript | [] | | |
705 | exif | [] [] | | |
706 | fetchmail | [] | | |
707 | findutils | [] [] | | |
708 | flex | [] | | |
709 | freedink | [] [] | | |
710 | fusionforge | | | |
711 | gas | | | |
712 | gawk | [] | | |
713 | gcal | | | |
714 | gcc | | | |
715 | gdbm | | | |
716 | gettext-examples | [] [] [] [] [] [] | | |
717 | gettext-runtime | [] [] | | |
718 | gettext-tools | [] | | |
719 | gip | [] [] [] | | |
720 | gjay | | | |
721 | glunarclock | [] [] | | |
722 | gnubiff | [] | | |
723 | gnubik | [] [] | | |
724 | gnucash | () () () () () () () [] | | |
725 | gnuchess | [] [] | | |
726 | gnulib | [] | | |
727 | gnunet | | | |
728 | gnunet-gtk | | | |
729 | gold | | | |
730 | gphoto2 | [] | | |
731 | gprof | [] [] | | |
732 | gpsdrive | [] | | |
733 | gramadoir | [] | | |
734 | grep | [] [] | | |
735 | grub | [] [] [] | | |
736 | gsasl | [] | | |
737 | gss | | | |
738 | gst-plugins-bad | [] | | |
739 | gst-plugins-base | [] [] [] | | |
740 | gst-plugins-good | [] [] [] [] | | |
741 | gst-plugins-ugly | [] [] [] [] [] | | |
742 | gstreamer | [] [] | | |
743 | gtick | [] | | |
744 | gtkam | [] [] | | |
745 | gtkorphan | [] [] | | |
746 | gtkspell | [] [] [] [] [] [] [] | | |
747 | guix | | | |
748 | guix-packages | | | |
749 | gutenprint | [] | | |
750 | hello | [] [] [] | | |
751 | help2man | [] | | |
752 | help2man-texi | | | |
753 | hylafax | [] | | |
754 | idutils | [] | | |
755 | iso_15924 | () [] [] | | |
756 | iso_3166 | [] [] [] () [] [] [] [] [] [] | | |
757 | iso_3166_2 | () [] | | |
758 | iso_4217 | () [] [] [] | | |
759 | iso_639 | [] [] () [] [] [] [] | | |
760 | iso_639_3 | [] () [] | | |
761 | iso_639_5 | () | | |
762 | jwhois | [] [] | | |
763 | kbd | [] | | |
764 | klavaro | [] [] | | |
765 | latrine | | | |
766 | ld | | | |
767 | leafpad | [] [] [] [] [] | | |
768 | libc | [] [] | | |
769 | libexif | [] | | |
770 | libextractor | [] | | |
771 | libgnutls | [] [] | | |
772 | libgpg-error | [] | | |
773 | libgphoto2 | [] | | |
774 | libgphoto2_port | [] | | |
775 | libgsasl | [] | | |
776 | libiconv | [] [] | | |
777 | libidn | [] | | |
778 | liferea | [] [] [] | | |
779 | lilypond | | | |
780 | lordsawar | | | |
781 | lprng | | | |
782 | lynx | [] | | |
783 | m4 | [] | | |
784 | mailfromd | | | |
785 | mailutils | | | |
786 | make | [] [] | | |
787 | man-db | [] | | |
788 | man-db-manpages | [] | | |
789 | midi-instruments | [] [] [] [] [] [] [] | | |
790 | minicom | [] | | |
791 | mkisofs | [] | | |
792 | myserver | | | |
793 | nano | [] [] [] | | |
794 | opcodes | [] | | |
795 | parted | [] | | |
796 | pies | | | |
797 | popt | [] [] [] [] [] | | |
798 | procps-ng | | | |
799 | procps-ng-man | | | |
800 | psmisc | [] | | |
801 | pspp | [] [] | | |
802 | pushover | | | |
803 | pwdutils | [] | | |
804 | pyspread | | | |
805 | radius | [] | | |
806 | recode | [] [] | | |
807 | recutils | [] | | |
808 | rpm | [] | | |
809 | rush | [] | | |
810 | sarg | | | |
811 | sed | [] [] | | |
812 | sharutils | [] | | |
813 | shishi | | | |
814 | skribilo | | | |
815 | solfege | [] [] | | |
816 | solfege-manual | [] | | |
817 | spotmachine | [] | | |
818 | sudo | [] [] | | |
819 | sudoers | [] [] | | |
820 | sysstat | [] [] | | |
821 | tar | [] [] [] | | |
822 | texinfo | [] | | |
823 | texinfo_document | [] | | |
824 | tigervnc | [] | | |
825 | tin | | | |
826 | tin-man | | | |
827 | tracgoogleappsa... | [] [] [] | | |
828 | trader | [] | | |
829 | util-linux | [] | | |
830 | ve | [] | | |
831 | vice | [] | | |
832 | vmm | [] | | |
833 | vorbis-tools | [] | | |
834 | wastesedge | [] | | |
835 | wcd | [] | | |
836 | wcd-man | [] | | |
837 | wdiff | [] | | |
838 | wget | [] [] | | |
839 | wyslij-po | [] | | |
840 | xboard | [] | | |
841 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] | | |
842 | xkeyboard-config | [] [] [] | | |
843 | +--------------------------------------------------+ | |
844 | kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl | |
845 | 5 11 4 6 0 13 24 3 3 3 4 12 2 40 1 126 | |
846 | ||
847 | nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr | |
848 | +--------------------------------------------------+ | |
849 | a2ps | [] [] [] [] [] [] [] | | |
850 | aegis | [] [] | | |
851 | anubis | [] [] [] | | |
852 | aspell | [] [] [] [] [] [] [] | | |
853 | bash | [] [] [] [] [] | | |
854 | bfd | [] | | |
855 | binutils | [] [] | | |
856 | bison | [] [] [] | | |
857 | bison-runtime | [] [] [] [] [] [] [] [] | | |
858 | buzztrax | | | |
859 | ccd2cue | [] | | |
860 | ccide | [] [] [] | | |
861 | cflow | [] [] | | |
862 | clisp | [] | | |
863 | coreutils | [] [] [] [] | | |
864 | cpio | [] [] [] | | |
865 | cppi | [] [] [] | | |
866 | cpplib | [] [] [] | | |
867 | cryptsetup | [] [] | | |
868 | datamash | [] [] | | |
869 | denemo | | | |
870 | dfarc | [] [] [] | | |
871 | dialog | [] [] [] [] [] [] [] | | |
872 | dico | [] | | |
873 | diffutils | [] [] | | |
874 | dink | | | |
875 | direvent | [] [] | | |
876 | doodle | [] [] | | |
877 | dos2unix | [] [] [] [] | | |
878 | dos2unix-man | [] [] | | |
879 | e2fsprogs | [] | | |
880 | enscript | [] [] [] [] [] [] | | |
881 | exif | [] [] [] [] [] [] | | |
882 | fetchmail | [] [] [] | | |
883 | findutils | [] [] [] [] [] | | |
884 | flex | [] [] [] [] [] | | |
885 | freedink | [] [] [] [] [] | | |
886 | fusionforge | | | |
887 | gas | | | |
888 | gawk | [] | | |
889 | gcal | | | |
890 | gcc | | | |
891 | gdbm | [] [] [] | | |
892 | gettext-examples | [] [] [] [] [] [] [] [] | | |
893 | gettext-runtime | [] [] [] [] [] [] [] [] [] | | |
894 | gettext-tools | [] [] [] [] [] [] [] | | |
895 | gip | [] [] [] [] [] | | |
896 | gjay | [] | | |
897 | glunarclock | [] [] [] [] [] [] | | |
898 | gnubiff | [] | | |
899 | gnubik | [] [] [] [] | | |
900 | gnucash | () () () () [] | | |
901 | gnuchess | [] [] | | |
902 | gnulib | [] [] [] [] [] | | |
903 | gnunet | | | |
904 | gnunet-gtk | | | |
905 | gold | | | |
906 | gphoto2 | [] [] [] [] [] | | |
907 | gprof | [] [] [] [] | | |
908 | gpsdrive | [] | | |
909 | gramadoir | [] [] | | |
910 | grep | [] [] [] [] [] [] | | |
911 | grub | [] [] [] [] [] | | |
912 | gsasl | [] [] [] | | |
913 | gss | [] [] [] [] | | |
914 | gst-plugins-bad | [] [] [] [] | | |
915 | gst-plugins-base | [] [] [] [] [] [] | | |
916 | gst-plugins-good | [] [] [] [] [] [] [] | | |
917 | gst-plugins-ugly | [] [] [] [] [] [] [] | | |
918 | gstreamer | [] [] [] [] [] [] [] | | |
919 | gtick | [] [] [] [] [] | | |
920 | gtkam | [] [] [] [] [] [] | | |
921 | gtkorphan | [] [] [] [] | | |
922 | gtkspell | [] [] [] [] [] [] [] [] [] | | |
923 | guix | | | |
924 | guix-packages | | | |
925 | gutenprint | [] | | |
926 | hello | [] [] [] [] [] [] | | |
927 | help2man | [] [] [] [] | | |
928 | help2man-texi | [] | | |
929 | hylafax | | | |
930 | idutils | [] [] [] | | |
931 | iso_15924 | [] () [] [] [] [] | | |
932 | iso_3166 | [] [] [] [] () [] [] [] [] [] [] [] [] | | |
933 | iso_3166_2 | [] () [] | | |
934 | iso_4217 | [] [] () [] [] [] [] [] | | |
935 | iso_639 | [] [] [] () [] [] [] [] [] [] | | |
936 | iso_639_3 | [] () | | |
937 | iso_639_5 | () [] | | |
938 | jwhois | [] [] [] [] | | |
939 | kbd | [] [] | | |
940 | klavaro | [] [] [] [] [] | | |
941 | latrine | [] | | |
942 | ld | | | |
943 | leafpad | [] [] [] [] [] [] [] [] [] | | |
944 | libc | [] [] [] | | |
945 | libexif | [] () [] | | |
946 | libextractor | [] | | |
947 | libgnutls | [] | | |
948 | libgpg-error | [] [] [] | | |
949 | libgphoto2 | [] | | |
950 | libgphoto2_port | [] [] [] [] [] | | |
951 | libgsasl | [] [] [] [] | | |
952 | libiconv | [] [] [] [] [] | | |
953 | libidn | [] [] [] | | |
954 | liferea | [] [] [] [] () [] [] | | |
955 | lilypond | | | |
956 | lordsawar | | | |
957 | lprng | [] | | |
958 | lynx | [] [] | | |
959 | m4 | [] [] [] [] [] | | |
960 | mailfromd | [] | | |
961 | mailutils | [] | | |
962 | make | [] [] [] | | |
963 | man-db | [] [] [] | | |
964 | man-db-manpages | [] [] [] | | |
965 | midi-instruments | [] [] [] [] [] [] [] [] | | |
966 | minicom | [] [] [] [] | | |
967 | mkisofs | [] [] [] | | |
968 | myserver | [] [] | | |
969 | nano | [] [] [] [] [] [] | | |
970 | opcodes | | | |
971 | parted | [] [] [] [] [] [] | | |
972 | pies | [] | | |
973 | popt | [] [] [] [] [] [] | | |
974 | procps-ng | [] | | |
975 | procps-ng-man | [] | | |
976 | psmisc | [] [] [] [] | | |
977 | pspp | [] [] | | |
978 | pushover | | | |
979 | pwdutils | [] | | |
980 | pyspread | [] [] | | |
981 | radius | [] [] | | |
982 | recode | [] [] [] [] [] [] [] [] | | |
983 | recutils | [] | | |
984 | rpm | [] | | |
985 | rush | [] [] [] | | |
986 | sarg | [] [] | | |
987 | sed | [] [] [] [] [] [] [] [] | | |
988 | sharutils | [] [] [] | | |
989 | shishi | [] [] | | |
990 | skribilo | | | |
991 | solfege | [] [] [] | | |
992 | solfege-manual | [] [] | | |
993 | spotmachine | [] [] | | |
994 | sudo | [] [] [] [] [] | | |
995 | sudoers | [] [] [] [] | | |
996 | sysstat | [] [] [] [] [] | | |
997 | tar | [] [] [] [] [] | | |
998 | texinfo | [] [] [] | | |
999 | texinfo_document | [] [] | | |
1000 | tigervnc | | | |
1001 | tin | [] | | |
1002 | tin-man | | | |
1003 | tracgoogleappsa... | [] [] [] [] | | |
1004 | trader | [] | | |
1005 | util-linux | [] [] | | |
1006 | ve | [] [] [] | | |
1007 | vice | | | |
1008 | vmm | | | |
1009 | vorbis-tools | [] [] [] | | |
1010 | wastesedge | | | |
1011 | wcd | | | |
1012 | wcd-man | | | |
1013 | wdiff | [] [] [] [] [] | | |
1014 | wget | [] [] [] [] [] | | |
1015 | wyslij-po | [] [] [] [] | | |
1016 | xboard | [] [] | | |
1017 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | | |
1018 | xkeyboard-config | [] [] [] [] | | |
1019 | +--------------------------------------------------+ | |
1020 | nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr | |
1021 | 7 3 1 6 117 1 12 84 33 82 3 37 45 7 98 | |
1022 | ||
1023 | sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK | |
1024 | +---------------------------------------------------+ | |
1025 | a2ps | [] [] [] [] [] | | |
1026 | aegis | [] | | |
1027 | anubis | [] [] [] [] | | |
1028 | aspell | [] [] [] [] | | |
1029 | bash | [] [] [] [] [] | | |
1030 | bfd | [] [] | | |
1031 | binutils | [] [] [] | | |
1032 | bison | [] [] [] [] | | |
1033 | bison-runtime | [] [] [] [] [] [] | | |
1034 | buzztrax | [] [] [] | | |
1035 | ccd2cue | [] [] | | |
1036 | ccide | [] [] [] | | |
1037 | cflow | [] [] [] [] | | |
1038 | clisp | | | |
1039 | coreutils | [] [] [] [] | | |
1040 | cpio | [] [] [] [] [] | | |
1041 | cppi | [] [] [] | | |
1042 | cpplib | [] [] [] [] [] | | |
1043 | cryptsetup | [] [] [] | | |
1044 | datamash | [] [] [] | | |
1045 | denemo | | | |
1046 | dfarc | [] | | |
1047 | dialog | [] [] [] [] [] [] | | |
1048 | dico | [] | | |
1049 | diffutils | [] [] [] [] [] | | |
1050 | dink | | | |
1051 | direvent | [] [] | | |
1052 | doodle | [] [] | | |
1053 | dos2unix | [] [] [] | | |
1054 | dos2unix-man | [] [] | | |
1055 | e2fsprogs | [] [] [] [] | | |
1056 | enscript | [] [] [] [] | | |
1057 | exif | [] [] [] [] [] | | |
1058 | fetchmail | [] [] [] [] | | |
1059 | findutils | [] [] [] [] [] | | |
1060 | flex | [] [] [] | | |
1061 | freedink | [] [] | | |
1062 | fusionforge | | | |
1063 | gas | [] | | |
1064 | gawk | [] [] | | |
1065 | gcal | [] [] | | |
1066 | gcc | [] [] | | |
1067 | gdbm | [] [] | | |
1068 | gettext-examples | [] [] [] [] [] [] | | |
1069 | gettext-runtime | [] [] [] [] [] [] | | |
1070 | gettext-tools | [] [] [] [] [] | | |
1071 | gip | [] [] [] [] | | |
1072 | gjay | [] [] | | |
1073 | glunarclock | [] [] [] [] | | |
1074 | gnubiff | [] [] | | |
1075 | gnubik | [] [] [] | | |
1076 | gnucash | () () () () [] | | |
1077 | gnuchess | [] [] | | |
1078 | gnulib | [] [] [] [] | | |
1079 | gnunet | | | |
1080 | gnunet-gtk | | | |
1081 | gold | [] [] | | |
1082 | gphoto2 | [] [] [] [] | | |
1083 | gprof | [] [] [] [] | | |
1084 | gpsdrive | [] [] [] | | |
1085 | gramadoir | [] [] [] | | |
1086 | grep | [] [] [] [] [] | | |
1087 | grub | [] [] [] [] | | |
1088 | gsasl | [] [] [] [] | | |
1089 | gss | [] [] [] | | |
1090 | gst-plugins-bad | [] [] [] [] | | |
1091 | gst-plugins-base | [] [] [] [] [] | | |
1092 | gst-plugins-good | [] [] [] [] [] | | |
1093 | gst-plugins-ugly | [] [] [] [] [] | | |
1094 | gstreamer | [] [] [] [] [] | | |
1095 | gtick | [] [] [] | | |
1096 | gtkam | [] [] [] [] | | |
1097 | gtkorphan | [] [] [] | | |
1098 | gtkspell | [] [] [] [] [] [] [] [] | | |
1099 | guix | [] | | |
1100 | guix-packages | | | |
1101 | gutenprint | [] [] [] | | |
1102 | hello | [] [] [] [] [] | | |
1103 | help2man | [] [] [] | | |
1104 | help2man-texi | [] | | |
1105 | hylafax | [] | | |
1106 | idutils | [] [] [] | | |
1107 | iso_15924 | [] () [] [] () [] | | |
1108 | iso_3166 | [] [] () [] [] () [] [] [] | | |
1109 | iso_3166_2 | () [] [] () [] | | |
1110 | iso_4217 | [] () [] [] () [] [] | | |
1111 | iso_639 | [] [] [] () [] [] () [] [] [] | | |
1112 | iso_639_3 | [] () [] [] () | | |
1113 | iso_639_5 | () [] () | | |
1114 | jwhois | [] [] [] [] | | |
1115 | kbd | [] [] [] | | |
1116 | klavaro | [] [] [] [] [] [] | | |
1117 | latrine | [] [] | | |
1118 | ld | [] [] [] [] [] | | |
1119 | leafpad | [] [] [] [] [] [] | | |
1120 | libc | [] [] [] [] [] | | |
1121 | libexif | [] () | | |
1122 | libextractor | [] [] | | |
1123 | libgnutls | [] [] [] [] | | |
1124 | libgpg-error | [] [] [] [] | | |
1125 | libgphoto2 | [] [] | | |
1126 | libgphoto2_port | [] [] [] [] | | |
1127 | libgsasl | [] [] [] [] | | |
1128 | libiconv | [] [] [] [] [] | | |
1129 | libidn | () [] [] [] | | |
1130 | liferea | [] [] [] [] [] | | |
1131 | lilypond | [] | | |
1132 | lordsawar | | | |
1133 | lprng | [] | | |
1134 | lynx | [] [] [] [] | | |
1135 | m4 | [] [] [] | | |
1136 | mailfromd | [] [] | | |
1137 | mailutils | [] | | |
1138 | make | [] [] [] | | |
1139 | man-db | [] [] | | |
1140 | man-db-manpages | [] | | |
1141 | midi-instruments | [] [] [] [] [] [] | | |
1142 | minicom | [] [] | | |
1143 | mkisofs | [] [] [] | | |
1144 | myserver | [] | | |
1145 | nano | [] [] [] [] | | |
1146 | opcodes | [] [] | | |
1147 | parted | [] [] [] [] [] | | |
1148 | pies | [] [] | | |
1149 | popt | [] [] [] [] [] [] [] | | |
1150 | procps-ng | [] [] | | |
1151 | procps-ng-man | [] | | |
1152 | psmisc | [] [] [] | | |
1153 | pspp | [] [] [] | | |
1154 | pushover | [] | | |
1155 | pwdutils | [] [] | | |
1156 | pyspread | [] | | |
1157 | radius | [] [] | | |
1158 | recode | [] [] [] [] | | |
1159 | recutils | [] [] [] | | |
1160 | rpm | [] [] [] [] | | |
1161 | rush | [] [] | | |
1162 | sarg | | | |
1163 | sed | [] [] [] [] [] | | |
1164 | sharutils | [] [] [] | | |
1165 | shishi | [] | | |
1166 | skribilo | | | |
1167 | solfege | [] [] [] | | |
1168 | solfege-manual | [] | | |
1169 | spotmachine | [] [] | | |
1170 | sudo | [] [] [] [] | | |
1171 | sudoers | [] [] [] | | |
1172 | sysstat | [] [] [] [] | | |
1173 | tar | [] [] [] [] [] | | |
1174 | texinfo | [] [] [] | | |
1175 | texinfo_document | [] | | |
1176 | tigervnc | [] [] | | |
1177 | tin | [] | | |
1178 | tin-man | | | |
1179 | tracgoogleappsa... | [] [] [] [] [] | | |
1180 | trader | [] | | |
1181 | util-linux | [] [] [] | | |
1182 | ve | [] [] [] [] | | |
1183 | vice | () () | | |
1184 | vmm | | | |
1185 | vorbis-tools | [] [] | | |
1186 | wastesedge | | | |
1187 | wcd | [] [] | | |
1188 | wcd-man | [] | | |
1189 | wdiff | [] [] [] | | |
1190 | wget | [] [] [] | | |
1191 | wyslij-po | [] [] | | |
1192 | xboard | [] | | |
1193 | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | | |
1194 | xkeyboard-config | [] [] [] [] | | |
1195 | +---------------------------------------------------+ | |
1196 | sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK | |
1197 | 87 1 4 3 0 14 52 114 1 130 7 1 88 7 | |
1198 | ||
1199 | zh_TW | |
1200 | +-------+ | |
1201 | a2ps | | 30 | |
1202 | aegis | | 9 | |
1203 | anubis | | 19 | |
1204 | aspell | | 28 | |
1205 | bash | [] | 25 | |
1206 | bfd | | 9 | |
1207 | binutils | | 12 | |
1208 | bison | [] | 18 | |
1209 | bison-runtime | [] | 38 | |
1210 | buzztrax | | 8 | |
1211 | ccd2cue | | 7 | |
1212 | ccide | | 16 | |
1213 | cflow | | 15 | |
1214 | clisp | | 10 | |
1215 | coreutils | | 20 | |
1216 | cpio | [] | 21 | |
1217 | cppi | | 16 | |
1218 | cpplib | [] | 19 | |
1219 | cryptsetup | | 13 | |
1220 | datamash | | 11 | |
1221 | denemo | | 3 | |
1222 | dfarc | | 16 | |
1223 | dialog | [] | 42 | |
1224 | dico | | 6 | |
1225 | diffutils | | 21 | |
1226 | dink | | 9 | |
1227 | direvent | | 10 | |
1228 | doodle | | 12 | |
1229 | dos2unix | [] | 17 | |
1230 | dos2unix-man | | 8 | |
1231 | e2fsprogs | | 14 | |
1232 | enscript | | 21 | |
1233 | exif | | 26 | |
1234 | fetchmail | | 19 | |
1235 | findutils | | 28 | |
1236 | flex | [] | 18 | |
1237 | freedink | | 23 | |
1238 | fusionforge | | 3 | |
1239 | gas | | 5 | |
1240 | gawk | | 12 | |
1241 | gcal | | 7 | |
1242 | gcc | | 4 | |
1243 | gdbm | | 10 | |
1244 | gettext-examples | [] | 40 | |
1245 | gettext-runtime | [] | 34 | |
1246 | gettext-tools | [] | 24 | |
1247 | gip | [] | 28 | |
1248 | gjay | | 8 | |
1249 | glunarclock | [] | 27 | |
1250 | gnubiff | | 9 | |
1251 | gnubik | | 18 | |
1252 | gnucash | () | 6 | |
1253 | gnuchess | | 10 | |
1254 | gnulib | | 23 | |
1255 | gnunet | | 1 | |
1256 | gnunet-gtk | | 1 | |
1257 | gold | | 7 | |
1258 | gphoto2 | [] | 19 | |
1259 | gprof | | 21 | |
1260 | gpsdrive | | 13 | |
1261 | gramadoir | | 14 | |
1262 | grep | [] | 30 | |
1263 | grub | | 21 | |
1264 | gsasl | [] | 19 | |
1265 | gss | | 17 | |
1266 | gst-plugins-bad | | 13 | |
1267 | gst-plugins-base | | 27 | |
1268 | gst-plugins-good | | 32 | |
1269 | gst-plugins-ugly | | 34 | |
1270 | gstreamer | [] | 31 | |
1271 | gtick | | 19 | |
1272 | gtkam | | 24 | |
1273 | gtkorphan | | 20 | |
1274 | gtkspell | [] | 48 | |
1275 | guix | | 5 | |
1276 | guix-packages | | 0 | |
1277 | gutenprint | | 13 | |
1278 | hello | [] | 29 | |
1279 | help2man | | 18 | |
1280 | help2man-texi | | 5 | |
1281 | hylafax | | 5 | |
1282 | idutils | | 14 | |
1283 | iso_15924 | [] | 23 | |
1284 | iso_3166 | [] | 58 | |
1285 | iso_3166_2 | | 9 | |
1286 | iso_4217 | [] | 28 | |
1287 | iso_639 | [] | 46 | |
1288 | iso_639_3 | | 10 | |
1289 | iso_639_5 | | 2 | |
1290 | jwhois | [] | 20 | |
1291 | kbd | | 16 | |
1292 | klavaro | | 29 | |
1293 | latrine | | 7 | |
1294 | ld | [] | 15 | |
1295 | leafpad | [] | 40 | |
1296 | libc | [] | 24 | |
1297 | libexif | | 9 | |
1298 | libextractor | | 5 | |
1299 | libgnutls | | 13 | |
1300 | libgpg-error | | 15 | |
1301 | libgphoto2 | | 9 | |
1302 | libgphoto2_port | [] | 19 | |
1303 | libgsasl | | 18 | |
1304 | libiconv | [] | 29 | |
1305 | libidn | | 17 | |
1306 | liferea | | 29 | |
1307 | lilypond | | 10 | |
1308 | lordsawar | | 3 | |
1309 | lprng | | 3 | |
1310 | lynx | | 19 | |
1311 | m4 | [] | 22 | |
1312 | mailfromd | | 4 | |
1313 | mailutils | | 6 | |
1314 | make | | 18 | |
1315 | man-db | | 14 | |
1316 | man-db-manpages | | 9 | |
1317 | midi-instruments | [] | 43 | |
1318 | minicom | [] | 17 | |
1319 | mkisofs | | 13 | |
1320 | myserver | | 9 | |
1321 | nano | [] | 29 | |
1322 | opcodes | | 11 | |
1323 | parted | [] | 21 | |
1324 | pies | | 4 | |
1325 | popt | [] | 36 | |
1326 | procps-ng | | 5 | |
1327 | procps-ng-man | | 4 | |
1328 | psmisc | [] | 21 | |
1329 | pspp | | 13 | |
1330 | pushover | | 6 | |
1331 | pwdutils | | 8 | |
1332 | pyspread | | 5 | |
1333 | radius | | 9 | |
1334 | recode | | 31 | |
1335 | recutils | | 9 | |
1336 | rpm | [] | 13 | |
1337 | rush | | 10 | |
1338 | sarg | | 4 | |
1339 | sed | [] | 34 | |
1340 | sharutils | | 12 | |
1341 | shishi | | 6 | |
1342 | skribilo | | 3 | |
1343 | solfege | | 19 | |
1344 | solfege-manual | | 9 | |
1345 | spotmachine | | 9 | |
1346 | sudo | | 23 | |
1347 | sudoers | | 20 | |
1348 | sysstat | | 21 | |
1349 | tar | [] | 30 | |
1350 | texinfo | | 17 | |
1351 | texinfo_document | | 11 | |
1352 | tigervnc | | 10 | |
1353 | tin | [] | 7 | |
1354 | tin-man | | 1 | |
1355 | tracgoogleappsa... | [] | 22 | |
1356 | trader | | 11 | |
1357 | util-linux | | 12 | |
1358 | ve | | 14 | |
1359 | vice | | 1 | |
1360 | vmm | | 3 | |
1361 | vorbis-tools | | 13 | |
1362 | wastesedge | | 2 | |
1363 | wcd | | 7 | |
1364 | wcd-man | | 3 | |
1365 | wdiff | [] | 22 | |
1366 | wget | | 22 | |
1367 | wyslij-po | | 14 | |
1368 | xboard | | 8 | |
1369 | xdg-user-dirs | [] | 68 | |
1370 | xkeyboard-config | [] | 27 | |
1371 | +-------+ | |
1372 | 90 teams zh_TW | |
1373 | 170 domains 44 2805 | |
1374 | ||
1375 | Some counters in the preceding matrix are higher than the number of | |
1376 | visible blocks let us expect. This is because a few extra PO files are | |
1377 | used for implementing regional variants of languages, or language | |
1378 | dialects. | |
1379 | ||
1380 | For a PO file in the matrix above to be effective, the package to | |
1381 | which it applies should also have been internationalized and | |
1382 | distributed as such by its maintainer. There might be an observable | |
1383 | lag between the mere existence a PO file and its wide availability in a | |
1384 | distribution. | |
1385 | ||
1386 | If June 2010 seems to be old, you may fetch a more recent copy of | |
1387 | this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date | |
1388 | matrix with full percentage details can be found at | |
1389 | `http://translationproject.org/extra/matrix.html'. | |
1390 | ||
1391 | 1.5 Using `gettext' in new packages | |
1392 | =================================== | |
1393 | ||
1394 | If you are writing a freely available program and want to | |
1395 | internationalize it you are welcome to use GNU `gettext' in your | |
1396 | package. Of course you have to respect the GNU Library General Public | |
1397 | License which covers the use of the GNU `gettext' library. This means | |
1398 | in particular that even non-free programs can use `libintl' as a shared | |
1399 | library, whereas only free software can use `libintl' as a static | |
1400 | library or use modified versions of `libintl'. | |
1401 | ||
1402 | Once the sources are changed appropriately and the setup can handle | |
1403 | the use of `gettext' the only thing missing are the translations. The | |
1404 | Free Translation Project is also available for packages which are not | |
1405 | developed inside the GNU project. Therefore the information given above | |
1406 | applies also for every other Free Software Project. Contact | |
1407 | `[email protected]' to make the `.pot' files available | |
1408 | to the translation teams. | |
1409 |
84 | 84 | NORMAL_UNINSTALL = : |
85 | 85 | PRE_UNINSTALL = : |
86 | 86 | POST_UNINSTALL = : |
87 | build_triplet = @build@ | |
88 | host_triplet = @host@ | |
87 | 89 | @CLASSIC_MODE_TRUE@am__append_1 = data |
88 | 90 | subdir = . |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
154 | 160 | CTAGS = ctags |
155 | 161 | CSCOPE = cscope |
156 | 162 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/include.mk \ |
163 | $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ | |
164 | $(top_srcdir)/config/config.rpath \ | |
165 | $(top_srcdir)/config/config.sub \ | |
157 | 166 | $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing \ |
158 | COPYING NEWS README config/install-sh config/missing | |
167 | ABOUT-NLS COPYING NEWS README config/compile \ | |
168 | config/config.guess config/config.rpath config/config.sub \ | |
169 | config/install-sh config/missing | |
159 | 170 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
160 | 171 | distdir = $(PACKAGE)-$(VERSION) |
161 | 172 | top_distdir = $(distdir) |
200 | 211 | distcleancheck_listfiles = find . -type f -print |
201 | 212 | ACLOCAL = @ACLOCAL@ |
202 | 213 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
203 | ALL_LINGUAS = @ALL_LINGUAS@ | |
204 | 214 | AMTAR = @AMTAR@ |
205 | 215 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
206 | 216 | AUTOCONF = @AUTOCONF@ |
207 | 217 | AUTOHEADER = @AUTOHEADER@ |
208 | 218 | AUTOMAKE = @AUTOMAKE@ |
209 | 219 | AWK = @AWK@ |
220 | CC = @CC@ | |
221 | CCDEPMODE = @CCDEPMODE@ | |
222 | CFLAGS = @CFLAGS@ | |
210 | 223 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
224 | CPP = @CPP@ | |
225 | CPPFLAGS = @CPPFLAGS@ | |
211 | 226 | CYGPATH_W = @CYGPATH_W@ |
212 | 227 | DEFS = @DEFS@ |
228 | DEPDIR = @DEPDIR@ | |
213 | 229 | ECHO_C = @ECHO_C@ |
214 | 230 | ECHO_N = @ECHO_N@ |
215 | 231 | ECHO_T = @ECHO_T@ |
232 | EGREP = @EGREP@ | |
216 | 233 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
234 | EXEEXT = @EXEEXT@ | |
235 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
217 | 236 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
218 | 237 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
219 | 238 | GMSGFMT = @GMSGFMT@ |
239 | GMSGFMT_015 = @GMSGFMT_015@ | |
240 | GREP = @GREP@ | |
220 | 241 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
221 | 242 | INSTALL = @INSTALL@ |
222 | 243 | INSTALL_DATA = @INSTALL_DATA@ |
223 | 244 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
224 | 245 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
225 | 246 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
226 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
227 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
228 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
229 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
230 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
231 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
232 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
233 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
247 | INTLLIBS = @INTLLIBS@ | |
248 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
249 | LDFLAGS = @LDFLAGS@ | |
250 | LIBICONV = @LIBICONV@ | |
251 | LIBINTL = @LIBINTL@ | |
234 | 252 | LIBOBJS = @LIBOBJS@ |
235 | 253 | LIBS = @LIBS@ |
254 | LTLIBICONV = @LTLIBICONV@ | |
255 | LTLIBINTL = @LTLIBINTL@ | |
236 | 256 | LTLIBOBJS = @LTLIBOBJS@ |
237 | 257 | MAKEINFO = @MAKEINFO@ |
238 | 258 | MKDIR_P = @MKDIR_P@ |
239 | 259 | MSGFMT = @MSGFMT@ |
260 | MSGFMT_015 = @MSGFMT_015@ | |
240 | 261 | MSGMERGE = @MSGMERGE@ |
262 | OBJEXT = @OBJEXT@ | |
241 | 263 | PACKAGE = @PACKAGE@ |
242 | 264 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
243 | 265 | PACKAGE_NAME = @PACKAGE_NAME@ |
249 | 271 | PKG_CONFIG = @PKG_CONFIG@ |
250 | 272 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
251 | 273 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
274 | POSUB = @POSUB@ | |
252 | 275 | SASS = @SASS@ |
276 | SED = @SED@ | |
253 | 277 | SET_MAKE = @SET_MAKE@ |
254 | 278 | SHELL = @SHELL@ |
255 | 279 | SHELL_VERSION = @SHELL_VERSION@ |
257 | 281 | USE_NLS = @USE_NLS@ |
258 | 282 | VERSION = @VERSION@ |
259 | 283 | XGETTEXT = @XGETTEXT@ |
284 | XGETTEXT_015 = @XGETTEXT_015@ | |
285 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
260 | 286 | abs_builddir = @abs_builddir@ |
261 | 287 | abs_srcdir = @abs_srcdir@ |
262 | 288 | abs_top_builddir = @abs_top_builddir@ |
263 | 289 | abs_top_srcdir = @abs_top_srcdir@ |
290 | ac_ct_CC = @ac_ct_CC@ | |
291 | am__include = @am__include@ | |
264 | 292 | am__leading_dot = @am__leading_dot@ |
293 | am__quote = @am__quote@ | |
265 | 294 | am__tar = @am__tar@ |
266 | 295 | am__untar = @am__untar@ |
267 | 296 | bindir = @bindir@ |
297 | build = @build@ | |
268 | 298 | build_alias = @build_alias@ |
299 | build_cpu = @build_cpu@ | |
300 | build_os = @build_os@ | |
301 | build_vendor = @build_vendor@ | |
269 | 302 | builddir = @builddir@ |
270 | 303 | datadir = @datadir@ |
271 | 304 | datarootdir = @datarootdir@ |
273 | 306 | dvidir = @dvidir@ |
274 | 307 | exec_prefix = @exec_prefix@ |
275 | 308 | gsettingsschemadir = @gsettingsschemadir@ |
309 | host = @host@ | |
276 | 310 | host_alias = @host_alias@ |
311 | host_cpu = @host_cpu@ | |
312 | host_os = @host_os@ | |
313 | host_vendor = @host_vendor@ | |
277 | 314 | htmldir = @htmldir@ |
278 | 315 | includedir = @includedir@ |
279 | 316 | infodir = @infodir@ |
280 | 317 | install_sh = @install_sh@ |
281 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
282 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
283 | 318 | libdir = @libdir@ |
284 | 319 | libexecdir = @libexecdir@ |
285 | 320 | localedir = @localedir@ |
523 | 558 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
524 | 559 | || chmod -R a+r "$(distdir)" |
525 | 560 | dist-gzip: distdir |
526 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
561 | tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz | |
527 | 562 | $(am__post_remove_distdir) |
528 | 563 | |
529 | 564 | dist-bzip2: distdir |
548 | 583 | @echo WARNING: "Support for shar distribution archives is" \ |
549 | 584 | "deprecated." >&2 |
550 | 585 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
551 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |
586 | shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz | |
552 | 587 | $(am__post_remove_distdir) |
553 | 588 | |
554 | 589 | dist-zip: distdir |
566 | 601 | distcheck: dist |
567 | 602 | case '$(DIST_ARCHIVES)' in \ |
568 | 603 | *.tar.gz*) \ |
569 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
604 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
570 | 605 | *.tar.bz2*) \ |
571 | 606 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
572 | 607 | *.tar.lz*) \ |
576 | 611 | *.tar.Z*) \ |
577 | 612 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
578 | 613 | *.shar.gz*) \ |
579 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
614 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ | |
580 | 615 | *.zip*) \ |
581 | 616 | unzip $(distdir).zip ;;\ |
582 | 617 | esac |
0 | 3.21.91 | |
1 | ======= | |
2 | * updated translations (pl) | |
3 | ||
4 | 3.21.90 | |
5 | ======= | |
6 | * updated translations (es, gu) | |
7 | ||
8 | 3.21.4 | |
9 | ====== | |
10 | * apps-menu: Fix entries from non-standard AppDir directories | |
11 | ||
12 | 3.21.3 | |
13 | ====== | |
14 | * adjust to gnome-shell changes | |
15 | * updated translations (oc) | |
16 | ||
17 | 3.21.2 | |
18 | ====== | |
19 | * version bump, nothing to see here | |
20 | ||
0 | 21 | 3.20.1 |
1 | 22 | ====== |
2 | 23 | * update classic style |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # nls.m4 serial 5 (gettext-0.18) | |
23 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, | |
24 | dnl Inc. | |
25 | dnl This file is free software; the Free Software Foundation | |
26 | dnl gives unlimited permission to copy and/or distribute it, | |
27 | dnl with or without modifications, as long as this notice is preserved. | |
28 | dnl | |
29 | dnl This file can be used in projects which are not available under | |
30 | dnl the GNU General Public License or the GNU Library General Public | |
31 | dnl License but which still want to provide support for the GNU gettext | |
32 | dnl functionality. | |
33 | dnl Please note that the actual code of the GNU gettext library is covered | |
34 | dnl by the GNU Library General Public License, and the rest of the GNU | |
35 | dnl gettext package is covered by the GNU General Public License. | |
36 | dnl They are *not* in the public domain. | |
37 | ||
38 | dnl Authors: | |
39 | dnl Ulrich Drepper <[email protected]>, 1995-2000. | |
40 | dnl Bruno Haible <[email protected]>, 2000-2003. | |
41 | ||
42 | AC_PREREQ([2.50]) | |
43 | ||
44 | AC_DEFUN([AM_NLS], | |
45 | [ | |
46 | AC_MSG_CHECKING([whether NLS is requested]) | |
47 | dnl Default is enabled NLS | |
48 | AC_ARG_ENABLE([nls], | |
49 | [ --disable-nls do not use Native Language Support], | |
50 | USE_NLS=$enableval, USE_NLS=yes) | |
51 | AC_MSG_RESULT([$USE_NLS]) | |
52 | AC_SUBST([USE_NLS]) | |
53 | ]) | |
54 | ||
55 | 22 | dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
56 | dnl serial 11 (pkg-config-0.29) | |
23 | dnl serial 11 (pkg-config-0.29.1) | |
57 | 24 | dnl |
58 | 25 | dnl Copyright © 2004 Scott James Remnant <[email protected]>. |
59 | 26 | dnl Copyright © 2012-2015 Dan Nicholson <[email protected]> |
95 | 62 | dnl See the "Since" comment for each macro you use to see what version |
96 | 63 | dnl of the macros you require. |
97 | 64 | m4_defun([PKG_PREREQ], |
98 | [m4_define([PKG_MACROS_VERSION], [0.29]) | |
65 | [m4_define([PKG_MACROS_VERSION], [0.29.1]) | |
99 | 66 | m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, |
100 | 67 | [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) |
101 | 68 | ])dnl PKG_PREREQ |
532 | 499 | AC_MSG_ERROR([[conditional "$1" was never defined. |
533 | 500 | Usually this means the macro was only invoked conditionally.]]) |
534 | 501 | fi])]) |
502 | ||
503 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
504 | # | |
505 | # This file is free software; the Free Software Foundation | |
506 | # gives unlimited permission to copy and/or distribute it, | |
507 | # with or without modifications, as long as this notice is preserved. | |
508 | ||
509 | ||
510 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
511 | # written in clear, in which case automake, when reading aclocal.m4, | |
512 | # will think it sees a *use*, and therefore will trigger all it's | |
513 | # C support machinery. Also note that it means that autoscan, seeing | |
514 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | |
515 | ||
516 | ||
517 | # _AM_DEPENDENCIES(NAME) | |
518 | # ---------------------- | |
519 | # See how the compiler implements dependency checking. | |
520 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
521 | # We try a few techniques and use that to set a single cache variable. | |
522 | # | |
523 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | |
524 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | |
525 | # dependency, and given that the user is not expected to run this macro, | |
526 | # just rely on AC_PROG_CC. | |
527 | AC_DEFUN([_AM_DEPENDENCIES], | |
528 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | |
529 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
530 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
531 | AC_REQUIRE([AM_DEP_TRACK])dnl | |
532 | ||
533 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
534 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
535 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
536 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
537 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
538 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
539 | [depcc="$$1" am_compiler_list=]) | |
540 | ||
541 | AC_CACHE_CHECK([dependency style of $depcc], | |
542 | [am_cv_$1_dependencies_compiler_type], | |
543 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
544 | # We make a subdir and do the tests there. Otherwise we can end up | |
545 | # making bogus files that we don't know about and never remove. For | |
546 | # instance it was reported that on HP-UX the gcc test will end up | |
547 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
548 | # in D". | |
549 | rm -rf conftest.dir | |
550 | mkdir conftest.dir | |
551 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
552 | # using a relative directory. | |
553 | cp "$am_depcomp" conftest.dir | |
554 | cd conftest.dir | |
555 | # We will build objects and dependencies in a subdirectory because | |
556 | # it helps to detect inapplicable dependency modes. For instance | |
557 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
558 | # side effect of compilation, but ICC will put the dependencies in | |
559 | # the current directory while Tru64 will put them in the object | |
560 | # directory. | |
561 | mkdir sub | |
562 | ||
563 | am_cv_$1_dependencies_compiler_type=none | |
564 | if test "$am_compiler_list" = ""; then | |
565 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
566 | fi | |
567 | am__universal=false | |
568 | m4_case([$1], [CC], | |
569 | [case " $depcc " in #( | |
570 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
571 | esac], | |
572 | [CXX], | |
573 | [case " $depcc " in #( | |
574 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
575 | esac]) | |
576 | ||
577 | for depmode in $am_compiler_list; do | |
578 | # Setup a source with many dependencies, because some compilers | |
579 | # like to wrap large dependency lists on column 80 (with \), and | |
580 | # we should not choose a depcomp mode which is confused by this. | |
581 | # | |
582 | # We need to recreate these files for each test, as the compiler may | |
583 | # overwrite some of them when testing with obscure command lines. | |
584 | # This happens at least with the AIX C compiler. | |
585 | : > sub/conftest.c | |
586 | for i in 1 2 3 4 5 6; do | |
587 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
588 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
589 | # Solaris 10 /bin/sh. | |
590 | echo '/* dummy */' > sub/conftst$i.h | |
591 | done | |
592 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
593 | ||
594 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
595 | # mode. It turns out that the SunPro C++ compiler does not properly | |
596 | # handle '-M -o', and we need to detect this. Also, some Intel | |
597 | # versions had trouble with output in subdirs. | |
598 | am__obj=sub/conftest.${OBJEXT-o} | |
599 | am__minus_obj="-o $am__obj" | |
600 | case $depmode in | |
601 | gcc) | |
602 | # This depmode causes a compiler race in universal mode. | |
603 | test "$am__universal" = false || continue | |
604 | ;; | |
605 | nosideeffect) | |
606 | # After this tag, mechanisms are not by side-effect, so they'll | |
607 | # only be used when explicitly requested. | |
608 | if test "x$enable_dependency_tracking" = xyes; then | |
609 | continue | |
610 | else | |
611 | break | |
612 | fi | |
613 | ;; | |
614 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
615 | # This compiler won't grok '-c -o', but also, the minuso test has | |
616 | # not run yet. These depmodes are late enough in the game, and | |
617 | # so weak that their functioning should not be impacted. | |
618 | am__obj=conftest.${OBJEXT-o} | |
619 | am__minus_obj= | |
620 | ;; | |
621 | none) break ;; | |
622 | esac | |
623 | if depmode=$depmode \ | |
624 | source=sub/conftest.c object=$am__obj \ | |
625 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
626 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
627 | >/dev/null 2>conftest.err && | |
628 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
629 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
630 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
631 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
632 | # icc doesn't choke on unknown options, it will just issue warnings | |
633 | # or remarks (even with -Werror). So we grep stderr for any message | |
634 | # that says an option was ignored or not supported. | |
635 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
636 | # icc: Command line warning: ignoring option '-M'; no argument required | |
637 | # The diagnosis changed in icc 8.0: | |
638 | # icc: Command line remark: option '-MP' not supported | |
639 | if (grep 'ignoring option' conftest.err || | |
640 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
641 | am_cv_$1_dependencies_compiler_type=$depmode | |
642 | break | |
643 | fi | |
644 | fi | |
645 | done | |
646 | ||
647 | cd .. | |
648 | rm -rf conftest.dir | |
649 | else | |
650 | am_cv_$1_dependencies_compiler_type=none | |
651 | fi | |
652 | ]) | |
653 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
654 | AM_CONDITIONAL([am__fastdep$1], [ | |
655 | test "x$enable_dependency_tracking" != xno \ | |
656 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
657 | ]) | |
658 | ||
659 | ||
660 | # AM_SET_DEPDIR | |
661 | # ------------- | |
662 | # Choose a directory name for dependency files. | |
663 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
664 | AC_DEFUN([AM_SET_DEPDIR], | |
665 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
666 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
667 | ]) | |
668 | ||
669 | ||
670 | # AM_DEP_TRACK | |
671 | # ------------ | |
672 | AC_DEFUN([AM_DEP_TRACK], | |
673 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
674 | AS_HELP_STRING( | |
675 | [--enable-dependency-tracking], | |
676 | [do not reject slow dependency extractors]) | |
677 | AS_HELP_STRING( | |
678 | [--disable-dependency-tracking], | |
679 | [speeds up one-time build])]) | |
680 | if test "x$enable_dependency_tracking" != xno; then | |
681 | am_depcomp="$ac_aux_dir/depcomp" | |
682 | AMDEPBACKSLASH='\' | |
683 | am__nodep='_no' | |
684 | fi | |
685 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
686 | AC_SUBST([AMDEPBACKSLASH])dnl | |
687 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
688 | AC_SUBST([am__nodep])dnl | |
689 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
690 | ]) | |
691 | ||
692 | # Generate code to set up dependency tracking. -*- Autoconf -*- | |
693 | ||
694 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
695 | # | |
696 | # This file is free software; the Free Software Foundation | |
697 | # gives unlimited permission to copy and/or distribute it, | |
698 | # with or without modifications, as long as this notice is preserved. | |
699 | ||
700 | ||
701 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | |
702 | # ------------------------------ | |
703 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |
704 | [{ | |
705 | # Older Autoconf quotes --file arguments for eval, but not when files | |
706 | # are listed without --file. Let's play safe and only enable the eval | |
707 | # if we detect the quoting. | |
708 | case $CONFIG_FILES in | |
709 | *\'*) eval set x "$CONFIG_FILES" ;; | |
710 | *) set x $CONFIG_FILES ;; | |
711 | esac | |
712 | shift | |
713 | for mf | |
714 | do | |
715 | # Strip MF so we end up with the name of the file. | |
716 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
717 | # Check whether this is an Automake generated Makefile or not. | |
718 | # We used to match only the files named 'Makefile.in', but | |
719 | # some people rename them; so instead we look at the file content. | |
720 | # Grep'ing the first line is not enough: some people post-process | |
721 | # each Makefile.in and add a new line on top of each file to say so. | |
722 | # Grep'ing the whole file is not good either: AIX grep has a line | |
723 | # limit of 2048, but all sed's we know have understand at least 4000. | |
724 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
725 | dirpart=`AS_DIRNAME("$mf")` | |
726 | else | |
727 | continue | |
728 | fi | |
729 | # Extract the definition of DEPDIR, am__include, and am__quote | |
730 | # from the Makefile without running 'make'. | |
731 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
732 | test -z "$DEPDIR" && continue | |
733 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
734 | test -z "$am__include" && continue | |
735 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
736 | # Find all dependency output files, they are included files with | |
737 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
738 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
739 | # expansion. | |
740 | for file in `sed -n " | |
741 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
742 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
743 | # Make sure the directory exists. | |
744 | test -f "$dirpart/$file" && continue | |
745 | fdir=`AS_DIRNAME(["$file"])` | |
746 | AS_MKDIR_P([$dirpart/$fdir]) | |
747 | # echo "creating $dirpart/$file" | |
748 | echo '# dummy' > "$dirpart/$file" | |
749 | done | |
750 | done | |
751 | } | |
752 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
753 | ||
754 | ||
755 | # AM_OUTPUT_DEPENDENCY_COMMANDS | |
756 | # ----------------------------- | |
757 | # This macro should only be invoked once -- use via AC_REQUIRE. | |
758 | # | |
759 | # This code is only required when automatic dependency tracking | |
760 | # is enabled. FIXME. This creates each '.P' file that we will | |
761 | # need in order to bootstrap the dependency handling code. | |
762 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |
763 | [AC_CONFIG_COMMANDS([depfiles], | |
764 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
765 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
766 | ]) | |
535 | 767 | |
536 | 768 | # Do all the work for Automake. -*- Autoconf -*- |
537 | 769 | |
772 | 1004 | rmdir .tst 2>/dev/null |
773 | 1005 | AC_SUBST([am__leading_dot])]) |
774 | 1006 | |
1007 | # Check to see how 'make' treats includes. -*- Autoconf -*- | |
1008 | ||
1009 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
1010 | # | |
1011 | # This file is free software; the Free Software Foundation | |
1012 | # gives unlimited permission to copy and/or distribute it, | |
1013 | # with or without modifications, as long as this notice is preserved. | |
1014 | ||
1015 | # AM_MAKE_INCLUDE() | |
1016 | # ----------------- | |
1017 | # Check to see how make treats includes. | |
1018 | AC_DEFUN([AM_MAKE_INCLUDE], | |
1019 | [am_make=${MAKE-make} | |
1020 | cat > confinc << 'END' | |
1021 | am__doit: | |
1022 | @echo this is the am__doit target | |
1023 | .PHONY: am__doit | |
1024 | END | |
1025 | # If we don't find an include directive, just comment out the code. | |
1026 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
1027 | am__include="#" | |
1028 | am__quote= | |
1029 | _am_result=none | |
1030 | # First try GNU make style include. | |
1031 | echo "include confinc" > confmf | |
1032 | # Ignore all kinds of additional output from 'make'. | |
1033 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
1034 | *the\ am__doit\ target*) | |
1035 | am__include=include | |
1036 | am__quote= | |
1037 | _am_result=GNU | |
1038 | ;; | |
1039 | esac | |
1040 | # Now try BSD make style include. | |
1041 | if test "$am__include" = "#"; then | |
1042 | echo '.include "confinc"' > confmf | |
1043 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
1044 | *the\ am__doit\ target*) | |
1045 | am__include=.include | |
1046 | am__quote="\"" | |
1047 | _am_result=BSD | |
1048 | ;; | |
1049 | esac | |
1050 | fi | |
1051 | AC_SUBST([am__include]) | |
1052 | AC_SUBST([am__quote]) | |
1053 | AC_MSG_RESULT([$_am_result]) | |
1054 | rm -f confinc confmf | |
1055 | ]) | |
1056 | ||
775 | 1057 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
776 | 1058 | |
777 | 1059 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. |
841 | 1123 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
842 | 1124 | AC_DEFUN([_AM_IF_OPTION], |
843 | 1125 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
1126 | ||
1127 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
1128 | # | |
1129 | # This file is free software; the Free Software Foundation | |
1130 | # gives unlimited permission to copy and/or distribute it, | |
1131 | # with or without modifications, as long as this notice is preserved. | |
1132 | ||
1133 | # _AM_PROG_CC_C_O | |
1134 | # --------------- | |
1135 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | |
1136 | # to automatically call this. | |
1137 | AC_DEFUN([_AM_PROG_CC_C_O], | |
1138 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
1139 | AC_REQUIRE_AUX_FILE([compile])dnl | |
1140 | AC_LANG_PUSH([C])dnl | |
1141 | AC_CACHE_CHECK( | |
1142 | [whether $CC understands -c and -o together], | |
1143 | [am_cv_prog_cc_c_o], | |
1144 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | |
1145 | # Make sure it works both with $CC and with simple cc. | |
1146 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
1147 | # compilers refuse to overwrite an existing .o file with -o, | |
1148 | # though they will create one. | |
1149 | am_cv_prog_cc_c_o=yes | |
1150 | for am_i in 1 2; do | |
1151 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | |
1152 | && test -f conftest2.$ac_objext; then | |
1153 | : OK | |
1154 | else | |
1155 | am_cv_prog_cc_c_o=no | |
1156 | break | |
1157 | fi | |
1158 | done | |
1159 | rm -f core conftest* | |
1160 | unset am_i]) | |
1161 | if test "$am_cv_prog_cc_c_o" != yes; then | |
1162 | # Losing compiler, so override with the script. | |
1163 | # FIXME: It is wrong to rewrite CC. | |
1164 | # But if we don't then we get into trouble of one sort or another. | |
1165 | # A longer-term fix would be to have automake use am__CC in this case, | |
1166 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
1167 | CC="$am_aux_dir/compile $CC" | |
1168 | fi | |
1169 | AC_LANG_POP([C])]) | |
1170 | ||
1171 | # For backward compatibility. | |
1172 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | |
844 | 1173 | |
845 | 1174 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
846 | 1175 | # |
1180 | 1509 | AC_SUBST([am__untar]) |
1181 | 1510 | ]) # _AM_PROG_TAR |
1182 | 1511 | |
1183 | m4_include([m4/intltool.m4]) | |
1512 | m4_include([m4/gettext.m4]) | |
1513 | m4_include([m4/iconv.m4]) | |
1514 | m4_include([m4/intlmacosx.m4]) | |
1515 | m4_include([m4/lib-ld.m4]) | |
1516 | m4_include([m4/lib-link.m4]) | |
1517 | m4_include([m4/lib-prefix.m4]) | |
1518 | m4_include([m4/nls.m4]) | |
1519 | m4_include([m4/po.m4]) | |
1520 | m4_include([m4/progtest.m4]) |
0 | #! /bin/sh | |
1 | # Wrapper for compilers which do not understand '-c -o'. | |
2 | ||
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
6 | # Written by Tom Tromey <[email protected]>. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # This file is maintained in Automake, please report | |
27 | # bugs to <[email protected]> or send patches to | |
28 | # <[email protected]>. | |
29 | ||
30 | nl=' | |
31 | ' | |
32 | ||
33 | # We need space, tab and new line, in precisely that order. Quoting is | |
34 | # there to prevent tools from complaining about whitespace usage. | |
35 | IFS=" "" $nl" | |
36 | ||
37 | file_conv= | |
38 | ||
39 | # func_file_conv build_file lazy | |
40 | # Convert a $build file to $host form and store it in $file | |
41 | # Currently only supports Windows hosts. If the determined conversion | |
42 | # type is listed in (the comma separated) LAZY, no conversion will | |
43 | # take place. | |
44 | func_file_conv () | |
45 | { | |
46 | file=$1 | |
47 | case $file in | |
48 | / | /[!/]*) # absolute file, and not a UNC file | |
49 | if test -z "$file_conv"; then | |
50 | # lazily determine how to convert abs files | |
51 | case `uname -s` in | |
52 | MINGW*) | |
53 | file_conv=mingw | |
54 | ;; | |
55 | CYGWIN*) | |
56 | file_conv=cygwin | |
57 | ;; | |
58 | *) | |
59 | file_conv=wine | |
60 | ;; | |
61 | esac | |
62 | fi | |
63 | case $file_conv/,$2, in | |
64 | *,$file_conv,*) | |
65 | ;; | |
66 | mingw/*) | |
67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | |
68 | ;; | |
69 | cygwin/*) | |
70 | file=`cygpath -m "$file" || echo "$file"` | |
71 | ;; | |
72 | wine/*) | |
73 | file=`winepath -w "$file" || echo "$file"` | |
74 | ;; | |
75 | esac | |
76 | ;; | |
77 | esac | |
78 | } | |
79 | ||
80 | # func_cl_dashL linkdir | |
81 | # Make cl look for libraries in LINKDIR | |
82 | func_cl_dashL () | |
83 | { | |
84 | func_file_conv "$1" | |
85 | if test -z "$lib_path"; then | |
86 | lib_path=$file | |
87 | else | |
88 | lib_path="$lib_path;$file" | |
89 | fi | |
90 | linker_opts="$linker_opts -LIBPATH:$file" | |
91 | } | |
92 | ||
93 | # func_cl_dashl library | |
94 | # Do a library search-path lookup for cl | |
95 | func_cl_dashl () | |
96 | { | |
97 | lib=$1 | |
98 | found=no | |
99 | save_IFS=$IFS | |
100 | IFS=';' | |
101 | for dir in $lib_path $LIB | |
102 | do | |
103 | IFS=$save_IFS | |
104 | if $shared && test -f "$dir/$lib.dll.lib"; then | |
105 | found=yes | |
106 | lib=$dir/$lib.dll.lib | |
107 | break | |
108 | fi | |
109 | if test -f "$dir/$lib.lib"; then | |
110 | found=yes | |
111 | lib=$dir/$lib.lib | |
112 | break | |
113 | fi | |
114 | if test -f "$dir/lib$lib.a"; then | |
115 | found=yes | |
116 | lib=$dir/lib$lib.a | |
117 | break | |
118 | fi | |
119 | done | |
120 | IFS=$save_IFS | |
121 | ||
122 | if test "$found" != yes; then | |
123 | lib=$lib.lib | |
124 | fi | |
125 | } | |
126 | ||
127 | # func_cl_wrapper cl arg... | |
128 | # Adjust compile command to suit cl | |
129 | func_cl_wrapper () | |
130 | { | |
131 | # Assume a capable shell | |
132 | lib_path= | |
133 | shared=: | |
134 | linker_opts= | |
135 | for arg | |
136 | do | |
137 | if test -n "$eat"; then | |
138 | eat= | |
139 | else | |
140 | case $1 in | |
141 | -o) | |
142 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
143 | eat=1 | |
144 | case $2 in | |
145 | *.o | *.[oO][bB][jJ]) | |
146 | func_file_conv "$2" | |
147 | set x "$@" -Fo"$file" | |
148 | shift | |
149 | ;; | |
150 | *) | |
151 | func_file_conv "$2" | |
152 | set x "$@" -Fe"$file" | |
153 | shift | |
154 | ;; | |
155 | esac | |
156 | ;; | |
157 | -I) | |
158 | eat=1 | |
159 | func_file_conv "$2" mingw | |
160 | set x "$@" -I"$file" | |
161 | shift | |
162 | ;; | |
163 | -I*) | |
164 | func_file_conv "${1#-I}" mingw | |
165 | set x "$@" -I"$file" | |
166 | shift | |
167 | ;; | |
168 | -l) | |
169 | eat=1 | |
170 | func_cl_dashl "$2" | |
171 | set x "$@" "$lib" | |
172 | shift | |
173 | ;; | |
174 | -l*) | |
175 | func_cl_dashl "${1#-l}" | |
176 | set x "$@" "$lib" | |
177 | shift | |
178 | ;; | |
179 | -L) | |
180 | eat=1 | |
181 | func_cl_dashL "$2" | |
182 | ;; | |
183 | -L*) | |
184 | func_cl_dashL "${1#-L}" | |
185 | ;; | |
186 | -static) | |
187 | shared=false | |
188 | ;; | |
189 | -Wl,*) | |
190 | arg=${1#-Wl,} | |
191 | save_ifs="$IFS"; IFS=',' | |
192 | for flag in $arg; do | |
193 | IFS="$save_ifs" | |
194 | linker_opts="$linker_opts $flag" | |
195 | done | |
196 | IFS="$save_ifs" | |
197 | ;; | |
198 | -Xlinker) | |
199 | eat=1 | |
200 | linker_opts="$linker_opts $2" | |
201 | ;; | |
202 | -*) | |
203 | set x "$@" "$1" | |
204 | shift | |
205 | ;; | |
206 | *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) | |
207 | func_file_conv "$1" | |
208 | set x "$@" -Tp"$file" | |
209 | shift | |
210 | ;; | |
211 | *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) | |
212 | func_file_conv "$1" mingw | |
213 | set x "$@" "$file" | |
214 | shift | |
215 | ;; | |
216 | *) | |
217 | set x "$@" "$1" | |
218 | shift | |
219 | ;; | |
220 | esac | |
221 | fi | |
222 | shift | |
223 | done | |
224 | if test -n "$linker_opts"; then | |
225 | linker_opts="-link$linker_opts" | |
226 | fi | |
227 | exec "$@" $linker_opts | |
228 | exit 1 | |
229 | } | |
230 | ||
231 | eat= | |
232 | ||
233 | case $1 in | |
234 | '') | |
235 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | |
236 | exit 1; | |
237 | ;; | |
238 | -h | --h*) | |
239 | cat <<\EOF | |
240 | Usage: compile [--help] [--version] PROGRAM [ARGS] | |
241 | ||
242 | Wrapper for compilers which do not understand '-c -o'. | |
243 | Remove '-o dest.o' from ARGS, run PROGRAM with the remaining | |
244 | arguments, and rename the output as expected. | |
245 | ||
246 | If you are trying to build a whole package this is not the | |
247 | right script to run: please start by reading the file 'INSTALL'. | |
248 | ||
249 | Report bugs to <[email protected]>. | |
250 | EOF | |
251 | exit $? | |
252 | ;; | |
253 | -v | --v*) | |
254 | echo "compile $scriptversion" | |
255 | exit $? | |
256 | ;; | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
258 | func_cl_wrapper "$@" # Doesn't return... | |
259 | ;; | |
260 | esac | |
261 | ||
262 | ofile= | |
263 | cfile= | |
264 | ||
265 | for arg | |
266 | do | |
267 | if test -n "$eat"; then | |
268 | eat= | |
269 | else | |
270 | case $1 in | |
271 | -o) | |
272 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | |
273 | # So we strip '-o arg' only if arg is an object. | |
274 | eat=1 | |
275 | case $2 in | |
276 | *.o | *.obj) | |
277 | ofile=$2 | |
278 | ;; | |
279 | *) | |
280 | set x "$@" -o "$2" | |
281 | shift | |
282 | ;; | |
283 | esac | |
284 | ;; | |
285 | *.c) | |
286 | cfile=$1 | |
287 | set x "$@" "$1" | |
288 | shift | |
289 | ;; | |
290 | *) | |
291 | set x "$@" "$1" | |
292 | shift | |
293 | ;; | |
294 | esac | |
295 | fi | |
296 | shift | |
297 | done | |
298 | ||
299 | if test -z "$ofile" || test -z "$cfile"; then | |
300 | # If no '-o' option was seen then we might have been invoked from a | |
301 | # pattern rule where we don't need one. That is ok -- this is a | |
302 | # normal compilation that the losing compiler can handle. If no | |
303 | # '.c' file was seen then we are probably linking. That is also | |
304 | # ok. | |
305 | exec "$@" | |
306 | fi | |
307 | ||
308 | # Name of file we expect compiler to create. | |
309 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | |
310 | ||
311 | # Create the lock directory. | |
312 | # Note: use '[/\\:.-]' here to ensure that we don't use the same name | |
313 | # that we are using for the .o file. Also, base the name on the expected | |
314 | # object file name, since that is what matters with a parallel build. | |
315 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | |
316 | while true; do | |
317 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
318 | break | |
319 | fi | |
320 | sleep 1 | |
321 | done | |
322 | # FIXME: race condition here if user kills between mkdir and trap. | |
323 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
324 | ||
325 | # Run the compile. | |
326 | "$@" | |
327 | ret=$? | |
328 | ||
329 | if test -f "$cofile"; then | |
330 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | |
331 | elif test -f "${cofile}bj"; then | |
332 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |
333 | fi | |
334 | ||
335 | rmdir "$lockdir" | |
336 | exit $ret | |
337 | ||
338 | # Local Variables: | |
339 | # mode: shell-script | |
340 | # sh-indentation: 2 | |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # time-stamp-start: "scriptversion=" | |
343 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-end: "; # UTC" | |
346 | # End: |
0 | #! /bin/sh | |
1 | # Attempt to guess a canonical system name. | |
2 | # Copyright 1992-2015 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2015-01-01' | |
5 | ||
6 | # This file is free software; you can redistribute it and/or modify it | |
7 | # under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
9 | # (at your option) any later version. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, but | |
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
18 | # | |
19 | # As a special exception to the GNU General Public License, if you | |
20 | # distribute this file as part of a program that contains a | |
21 | # configuration script generated by Autoconf, you may include it under | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
25 | # | |
26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. | |
27 | # | |
28 | # You can get the latest version of this script from: | |
29 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
30 | # | |
31 | # Please send patches to <[email protected]>. | |
32 | ||
33 | ||
34 | me=`echo "$0" | sed -e 's,.*/,,'` | |
35 | ||
36 | usage="\ | |
37 | Usage: $0 [OPTION] | |
38 | ||
39 | Output the configuration name of the system \`$me' is run on. | |
40 | ||
41 | Operation modes: | |
42 | -h, --help print this help, then exit | |
43 | -t, --time-stamp print date of last modification, then exit | |
44 | -v, --version print version number, then exit | |
45 | ||
46 | Report bugs and patches to <[email protected]>." | |
47 | ||
48 | version="\ | |
49 | GNU config.guess ($timestamp) | |
50 | ||
51 | Originally written by Per Bothner. | |
52 | Copyright 1992-2015 Free Software Foundation, Inc. | |
53 | ||
54 | This is free software; see the source for copying conditions. There is NO | |
55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | |
56 | ||
57 | help=" | |
58 | Try \`$me --help' for more information." | |
59 | ||
60 | # Parse command line | |
61 | while test $# -gt 0 ; do | |
62 | case $1 in | |
63 | --time-stamp | --time* | -t ) | |
64 | echo "$timestamp" ; exit ;; | |
65 | --version | -v ) | |
66 | echo "$version" ; exit ;; | |
67 | --help | --h* | -h ) | |
68 | echo "$usage"; exit ;; | |
69 | -- ) # Stop option processing | |
70 | shift; break ;; | |
71 | - ) # Use stdin as input. | |
72 | break ;; | |
73 | -* ) | |
74 | echo "$me: invalid option $1$help" >&2 | |
75 | exit 1 ;; | |
76 | * ) | |
77 | break ;; | |
78 | esac | |
79 | done | |
80 | ||
81 | if test $# != 0; then | |
82 | echo "$me: too many arguments$help" >&2 | |
83 | exit 1 | |
84 | fi | |
85 | ||
86 | trap 'exit 1' 1 2 15 | |
87 | ||
88 | # CC_FOR_BUILD -- compiler used by this script. Note that the use of a | |
89 | # compiler to aid in system detection is discouraged as it requires | |
90 | # temporary files to be created and, as you can see below, it is a | |
91 | # headache to deal with in a portable fashion. | |
92 | ||
93 | # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still | |
94 | # use `HOST_CC' if defined, but it is deprecated. | |
95 | ||
96 | # Portable tmp directory creation inspired by the Autoconf team. | |
97 | ||
98 | set_cc_for_build=' | |
99 | trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; | |
100 | trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; | |
101 | : ${TMPDIR=/tmp} ; | |
102 | { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || | |
103 | { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || | |
104 | { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || | |
105 | { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; | |
106 | dummy=$tmp/dummy ; | |
107 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; | |
108 | case $CC_FOR_BUILD,$HOST_CC,$CC in | |
109 | ,,) echo "int x;" > $dummy.c ; | |
110 | for c in cc gcc c89 c99 ; do | |
111 | if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | |
112 | CC_FOR_BUILD="$c"; break ; | |
113 | fi ; | |
114 | done ; | |
115 | if test x"$CC_FOR_BUILD" = x ; then | |
116 | CC_FOR_BUILD=no_compiler_found ; | |
117 | fi | |
118 | ;; | |
119 | ,,*) CC_FOR_BUILD=$CC ;; | |
120 | ,*,*) CC_FOR_BUILD=$HOST_CC ;; | |
121 | esac ; set_cc_for_build= ;' | |
122 | ||
123 | # This is needed to find uname on a Pyramid OSx when run in the BSD universe. | |
124 | # ([email protected] 1994-08-24) | |
125 | if (test -f /.attbin/uname) >/dev/null 2>&1 ; then | |
126 | PATH=$PATH:/.attbin ; export PATH | |
127 | fi | |
128 | ||
129 | UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown | |
130 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown | |
131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | |
132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | |
133 | ||
134 | case "${UNAME_SYSTEM}" in | |
135 | Linux|GNU|GNU/*) | |
136 | # If the system lacks a compiler, then just pick glibc. | |
137 | # We could probably try harder. | |
138 | LIBC=gnu | |
139 | ||
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
142 | #include <features.h> | |
143 | #if defined(__UCLIBC__) | |
144 | LIBC=uclibc | |
145 | #elif defined(__dietlibc__) | |
146 | LIBC=dietlibc | |
147 | #else | |
148 | LIBC=gnu | |
149 | #endif | |
150 | EOF | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
152 | ;; | |
153 | esac | |
154 | ||
155 | # Note: order is significant - the case branches are not exclusive. | |
156 | ||
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
158 | *:NetBSD:*:*) | |
159 | # NetBSD (nbsd) targets should (where applicable) match one or | |
160 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, | |
161 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently | |
162 | # switched to ELF, *-*-netbsd* would select the old | |
163 | # object file format. This provides both forward | |
164 | # compatibility and a consistent mechanism for selecting the | |
165 | # object file format. | |
166 | # | |
167 | # Note: NetBSD doesn't particularly care about the vendor | |
168 | # portion of the name. We always set it to "unknown". | |
169 | sysctl="sysctl -n hw.machine_arch" | |
170 | UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ | |
171 | /usr/sbin/$sysctl 2>/dev/null || echo unknown)` | |
172 | case "${UNAME_MACHINE_ARCH}" in | |
173 | armeb) machine=armeb-unknown ;; | |
174 | arm*) machine=arm-unknown ;; | |
175 | sh3el) machine=shl-unknown ;; | |
176 | sh3eb) machine=sh-unknown ;; | |
177 | sh5el) machine=sh5le-unknown ;; | |
178 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | |
179 | esac | |
180 | # The Operating System including object format, if it has switched | |
181 | # to ELF recently, or will in the future. | |
182 | case "${UNAME_MACHINE_ARCH}" in | |
183 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) | |
184 | eval $set_cc_for_build | |
185 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
186 | | grep -q __ELF__ | |
187 | then | |
188 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). | |
189 | # Return netbsd for either. FIX? | |
190 | os=netbsd | |
191 | else | |
192 | os=netbsdelf | |
193 | fi | |
194 | ;; | |
195 | *) | |
196 | os=netbsd | |
197 | ;; | |
198 | esac | |
199 | # The OS release | |
200 | # Debian GNU/NetBSD machines have a different userland, and | |
201 | # thus, need a distinct triplet. However, they do not need | |
202 | # kernel version information, so it can be replaced with a | |
203 | # suitable tag, in the style of linux-gnu. | |
204 | case "${UNAME_VERSION}" in | |
205 | Debian*) | |
206 | release='-gnu' | |
207 | ;; | |
208 | *) | |
209 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | |
210 | ;; | |
211 | esac | |
212 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: | |
213 | # contains redundant information, the shorter form: | |
214 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | |
215 | echo "${machine}-${os}${release}" | |
216 | exit ;; | |
217 | *:Bitrig:*:*) | |
218 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | |
219 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
220 | exit ;; | |
221 | *:OpenBSD:*:*) | |
222 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | |
223 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
224 | exit ;; | |
225 | *:ekkoBSD:*:*) | |
226 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
227 | exit ;; | |
228 | *:SolidBSD:*:*) | |
229 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
230 | exit ;; | |
231 | macppc:MirBSD:*:*) | |
232 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
233 | exit ;; | |
234 | *:MirBSD:*:*) | |
235 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
236 | exit ;; | |
237 | alpha:OSF1:*:*) | |
238 | case $UNAME_RELEASE in | |
239 | *4.0) | |
240 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | |
241 | ;; | |
242 | *5.*) | |
243 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
244 | ;; | |
245 | esac | |
246 | # According to Compaq, /usr/sbin/psrinfo has been available on | |
247 | # OSF/1 and Tru64 systems produced since 1995. I hope that | |
248 | # covers most systems running today. This code pipes the CPU | |
249 | # types through head -n 1, so we only detect the type of CPU 0. | |
250 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` | |
251 | case "$ALPHA_CPU_TYPE" in | |
252 | "EV4 (21064)") | |
253 | UNAME_MACHINE="alpha" ;; | |
254 | "EV4.5 (21064)") | |
255 | UNAME_MACHINE="alpha" ;; | |
256 | "LCA4 (21066/21068)") | |
257 | UNAME_MACHINE="alpha" ;; | |
258 | "EV5 (21164)") | |
259 | UNAME_MACHINE="alphaev5" ;; | |
260 | "EV5.6 (21164A)") | |
261 | UNAME_MACHINE="alphaev56" ;; | |
262 | "EV5.6 (21164PC)") | |
263 | UNAME_MACHINE="alphapca56" ;; | |
264 | "EV5.7 (21164PC)") | |
265 | UNAME_MACHINE="alphapca57" ;; | |
266 | "EV6 (21264)") | |
267 | UNAME_MACHINE="alphaev6" ;; | |
268 | "EV6.7 (21264A)") | |
269 | UNAME_MACHINE="alphaev67" ;; | |
270 | "EV6.8CB (21264C)") | |
271 | UNAME_MACHINE="alphaev68" ;; | |
272 | "EV6.8AL (21264B)") | |
273 | UNAME_MACHINE="alphaev68" ;; | |
274 | "EV6.8CX (21264D)") | |
275 | UNAME_MACHINE="alphaev68" ;; | |
276 | "EV6.9A (21264/EV69A)") | |
277 | UNAME_MACHINE="alphaev69" ;; | |
278 | "EV7 (21364)") | |
279 | UNAME_MACHINE="alphaev7" ;; | |
280 | "EV7.9 (21364A)") | |
281 | UNAME_MACHINE="alphaev79" ;; | |
282 | esac | |
283 | # A Pn.n version is a patched version. | |
284 | # A Vn.n version is a released version. | |
285 | # A Tn.n version is a released field test version. | |
286 | # A Xn.n version is an unreleased experimental baselevel. | |
287 | # 1.2 uses "1.2" for uname -r. | |
288 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
289 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
290 | exitcode=$? | |
291 | trap '' 0 | |
292 | exit $exitcode ;; | |
293 | Alpha\ *:Windows_NT*:*) | |
294 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
295 | # Should we change UNAME_MACHINE based on the output of uname instead | |
296 | # of the specific Alpha model? | |
297 | echo alpha-pc-interix | |
298 | exit ;; | |
299 | 21064:Windows_NT:50:3) | |
300 | echo alpha-dec-winnt3.5 | |
301 | exit ;; | |
302 | Amiga*:UNIX_System_V:4.0:*) | |
303 | echo m68k-unknown-sysv4 | |
304 | exit ;; | |
305 | *:[Aa]miga[Oo][Ss]:*:*) | |
306 | echo ${UNAME_MACHINE}-unknown-amigaos | |
307 | exit ;; | |
308 | *:[Mm]orph[Oo][Ss]:*:*) | |
309 | echo ${UNAME_MACHINE}-unknown-morphos | |
310 | exit ;; | |
311 | *:OS/390:*:*) | |
312 | echo i370-ibm-openedition | |
313 | exit ;; | |
314 | *:z/VM:*:*) | |
315 | echo s390-ibm-zvmoe | |
316 | exit ;; | |
317 | *:OS400:*:*) | |
318 | echo powerpc-ibm-os400 | |
319 | exit ;; | |
320 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | |
321 | echo arm-acorn-riscix${UNAME_RELEASE} | |
322 | exit ;; | |
323 | arm*:riscos:*:*|arm*:RISCOS:*:*) | |
324 | echo arm-unknown-riscos | |
325 | exit ;; | |
326 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | |
327 | echo hppa1.1-hitachi-hiuxmpp | |
328 | exit ;; | |
329 | Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) | |
330 | # [email protected] (Earle F. Ake) contributed MIS and NILE. | |
331 | if test "`(/bin/universe) 2>/dev/null`" = att ; then | |
332 | echo pyramid-pyramid-sysv3 | |
333 | else | |
334 | echo pyramid-pyramid-bsd | |
335 | fi | |
336 | exit ;; | |
337 | NILE*:*:*:dcosx) | |
338 | echo pyramid-pyramid-svr4 | |
339 | exit ;; | |
340 | DRS?6000:unix:4.0:6*) | |
341 | echo sparc-icl-nx6 | |
342 | exit ;; | |
343 | DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) | |
344 | case `/usr/bin/uname -p` in | |
345 | sparc) echo sparc-icl-nx7; exit ;; | |
346 | esac ;; | |
347 | s390x:SunOS:*:*) | |
348 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
349 | exit ;; | |
350 | sun4H:SunOS:5.*:*) | |
351 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
352 | exit ;; | |
353 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | |
354 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
355 | exit ;; | |
356 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | |
357 | echo i386-pc-auroraux${UNAME_RELEASE} | |
358 | exit ;; | |
359 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | |
360 | eval $set_cc_for_build | |
361 | SUN_ARCH="i386" | |
362 | # If there is a compiler, see if it is configured for 64-bit objects. | |
363 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | |
364 | # This test works for both compilers. | |
365 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
366 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
367 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
368 | grep IS_64BIT_ARCH >/dev/null | |
369 | then | |
370 | SUN_ARCH="x86_64" | |
371 | fi | |
372 | fi | |
373 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
374 | exit ;; | |
375 | sun4*:SunOS:6*:*) | |
376 | # According to config.sub, this is the proper way to canonicalize | |
377 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but | |
378 | # it's likely to be more like Solaris than SunOS4. | |
379 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
380 | exit ;; | |
381 | sun4*:SunOS:*:*) | |
382 | case "`/usr/bin/arch -k`" in | |
383 | Series*|S4*) | |
384 | UNAME_RELEASE=`uname -v` | |
385 | ;; | |
386 | esac | |
387 | # Japanese Language versions have a version number like `4.1.3-JL'. | |
388 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | |
389 | exit ;; | |
390 | sun3*:SunOS:*:*) | |
391 | echo m68k-sun-sunos${UNAME_RELEASE} | |
392 | exit ;; | |
393 | sun*:*:4.2BSD:*) | |
394 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` | |
395 | test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 | |
396 | case "`/bin/arch`" in | |
397 | sun3) | |
398 | echo m68k-sun-sunos${UNAME_RELEASE} | |
399 | ;; | |
400 | sun4) | |
401 | echo sparc-sun-sunos${UNAME_RELEASE} | |
402 | ;; | |
403 | esac | |
404 | exit ;; | |
405 | aushp:SunOS:*:*) | |
406 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
407 | exit ;; | |
408 | # The situation for MiNT is a little confusing. The machine name | |
409 | # can be virtually everything (everything which is not | |
410 | # "atarist" or "atariste" at least should have a processor | |
411 | # > m68000). The system name ranges from "MiNT" over "FreeMiNT" | |
412 | # to the lowercase version "mint" (or "freemint"). Finally | |
413 | # the system name "TOS" denotes a system which is actually not | |
414 | # MiNT. But MiNT is downward compatible to TOS, so this should | |
415 | # be no problem. | |
416 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | |
417 | echo m68k-atari-mint${UNAME_RELEASE} | |
418 | exit ;; | |
419 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | |
420 | echo m68k-atari-mint${UNAME_RELEASE} | |
421 | exit ;; | |
422 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | |
423 | echo m68k-atari-mint${UNAME_RELEASE} | |
424 | exit ;; | |
425 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | |
426 | echo m68k-milan-mint${UNAME_RELEASE} | |
427 | exit ;; | |
428 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | |
429 | echo m68k-hades-mint${UNAME_RELEASE} | |
430 | exit ;; | |
431 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | |
432 | echo m68k-unknown-mint${UNAME_RELEASE} | |
433 | exit ;; | |
434 | m68k:machten:*:*) | |
435 | echo m68k-apple-machten${UNAME_RELEASE} | |
436 | exit ;; | |
437 | powerpc:machten:*:*) | |
438 | echo powerpc-apple-machten${UNAME_RELEASE} | |
439 | exit ;; | |
440 | RISC*:Mach:*:*) | |
441 | echo mips-dec-mach_bsd4.3 | |
442 | exit ;; | |
443 | RISC*:ULTRIX:*:*) | |
444 | echo mips-dec-ultrix${UNAME_RELEASE} | |
445 | exit ;; | |
446 | VAX*:ULTRIX*:*:*) | |
447 | echo vax-dec-ultrix${UNAME_RELEASE} | |
448 | exit ;; | |
449 | 2020:CLIX:*:* | 2430:CLIX:*:*) | |
450 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
451 | exit ;; | |
452 | mips:*:*:UMIPS | mips:*:*:RISCos) | |
453 | eval $set_cc_for_build | |
454 | sed 's/^ //' << EOF >$dummy.c | |
455 | #ifdef __cplusplus | |
456 | #include <stdio.h> /* for printf() prototype */ | |
457 | int main (int argc, char *argv[]) { | |
458 | #else | |
459 | int main (argc, argv) int argc; char *argv[]; { | |
460 | #endif | |
461 | #if defined (host_mips) && defined (MIPSEB) | |
462 | #if defined (SYSTYPE_SYSV) | |
463 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
464 | #endif | |
465 | #if defined (SYSTYPE_SVR4) | |
466 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
467 | #endif | |
468 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) | |
469 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
470 | #endif | |
471 | #endif | |
472 | exit (-1); | |
473 | } | |
474 | EOF | |
475 | $CC_FOR_BUILD -o $dummy $dummy.c && | |
476 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
477 | SYSTEM_NAME=`$dummy $dummyarg` && | |
478 | { echo "$SYSTEM_NAME"; exit; } | |
479 | echo mips-mips-riscos${UNAME_RELEASE} | |
480 | exit ;; | |
481 | Motorola:PowerMAX_OS:*:*) | |
482 | echo powerpc-motorola-powermax | |
483 | exit ;; | |
484 | Motorola:*:4.3:PL8-*) | |
485 | echo powerpc-harris-powermax | |
486 | exit ;; | |
487 | Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) | |
488 | echo powerpc-harris-powermax | |
489 | exit ;; | |
490 | Night_Hawk:Power_UNIX:*:*) | |
491 | echo powerpc-harris-powerunix | |
492 | exit ;; | |
493 | m88k:CX/UX:7*:*) | |
494 | echo m88k-harris-cxux7 | |
495 | exit ;; | |
496 | m88k:*:4*:R4*) | |
497 | echo m88k-motorola-sysv4 | |
498 | exit ;; | |
499 | m88k:*:3*:R3*) | |
500 | echo m88k-motorola-sysv3 | |
501 | exit ;; | |
502 | AViiON:dgux:*:*) | |
503 | # DG/UX returns AViiON for all architectures | |
504 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
505 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
506 | then | |
507 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | |
508 | [ ${TARGET_BINARY_INTERFACE}x = x ] | |
509 | then | |
510 | echo m88k-dg-dgux${UNAME_RELEASE} | |
511 | else | |
512 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
513 | fi | |
514 | else | |
515 | echo i586-dg-dgux${UNAME_RELEASE} | |
516 | fi | |
517 | exit ;; | |
518 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) | |
519 | echo m88k-dolphin-sysv3 | |
520 | exit ;; | |
521 | M88*:*:R3*:*) | |
522 | # Delta 88k system running SVR3 | |
523 | echo m88k-motorola-sysv3 | |
524 | exit ;; | |
525 | XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) | |
526 | echo m88k-tektronix-sysv3 | |
527 | exit ;; | |
528 | Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) | |
529 | echo m68k-tektronix-bsd | |
530 | exit ;; | |
531 | *:IRIX*:*:*) | |
532 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | |
533 | exit ;; | |
534 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. | |
535 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id | |
536 | exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' | |
537 | i*86:AIX:*:*) | |
538 | echo i386-ibm-aix | |
539 | exit ;; | |
540 | ia64:AIX:*:*) | |
541 | if [ -x /usr/bin/oslevel ] ; then | |
542 | IBM_REV=`/usr/bin/oslevel` | |
543 | else | |
544 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
545 | fi | |
546 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | |
547 | exit ;; | |
548 | *:AIX:2:3) | |
549 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then | |
550 | eval $set_cc_for_build | |
551 | sed 's/^ //' << EOF >$dummy.c | |
552 | #include <sys/systemcfg.h> | |
553 | ||
554 | main() | |
555 | { | |
556 | if (!__power_pc()) | |
557 | exit(1); | |
558 | puts("powerpc-ibm-aix3.2.5"); | |
559 | exit(0); | |
560 | } | |
561 | EOF | |
562 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | |
563 | then | |
564 | echo "$SYSTEM_NAME" | |
565 | else | |
566 | echo rs6000-ibm-aix3.2.5 | |
567 | fi | |
568 | elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then | |
569 | echo rs6000-ibm-aix3.2.4 | |
570 | else | |
571 | echo rs6000-ibm-aix3.2 | |
572 | fi | |
573 | exit ;; | |
574 | *:AIX:*:[4567]) | |
575 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | |
576 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | |
577 | IBM_ARCH=rs6000 | |
578 | else | |
579 | IBM_ARCH=powerpc | |
580 | fi | |
581 | if [ -x /usr/bin/lslpp ] ; then | |
582 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | | |
583 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` | |
584 | else | |
585 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
586 | fi | |
587 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | |
588 | exit ;; | |
589 | *:AIX:*:*) | |
590 | echo rs6000-ibm-aix | |
591 | exit ;; | |
592 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
593 | echo romp-ibm-bsd4.4 | |
594 | exit ;; | |
595 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and | |
596 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | |
597 | exit ;; # report: romp-ibm BSD 4.3 | |
598 | *:BOSX:*:*) | |
599 | echo rs6000-bull-bosx | |
600 | exit ;; | |
601 | DPX/2?00:B.O.S.:*:*) | |
602 | echo m68k-bull-sysv3 | |
603 | exit ;; | |
604 | 9000/[34]??:4.3bsd:1.*:*) | |
605 | echo m68k-hp-bsd | |
606 | exit ;; | |
607 | hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) | |
608 | echo m68k-hp-bsd4.4 | |
609 | exit ;; | |
610 | 9000/[34678]??:HP-UX:*:*) | |
611 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
612 | case "${UNAME_MACHINE}" in | |
613 | 9000/31? ) HP_ARCH=m68000 ;; | |
614 | 9000/[34]?? ) HP_ARCH=m68k ;; | |
615 | 9000/[678][0-9][0-9]) | |
616 | if [ -x /usr/bin/getconf ]; then | |
617 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` | |
618 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
619 | case "${sc_cpu_version}" in | |
620 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
621 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
622 | 532) # CPU_PA_RISC2_0 | |
623 | case "${sc_kernel_bits}" in | |
624 | 32) HP_ARCH="hppa2.0n" ;; | |
625 | 64) HP_ARCH="hppa2.0w" ;; | |
626 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | |
627 | esac ;; | |
628 | esac | |
629 | fi | |
630 | if [ "${HP_ARCH}" = "" ]; then | |
631 | eval $set_cc_for_build | |
632 | sed 's/^ //' << EOF >$dummy.c | |
633 | ||
634 | #define _HPUX_SOURCE | |
635 | #include <stdlib.h> | |
636 | #include <unistd.h> | |
637 | ||
638 | int main () | |
639 | { | |
640 | #if defined(_SC_KERNEL_BITS) | |
641 | long bits = sysconf(_SC_KERNEL_BITS); | |
642 | #endif | |
643 | long cpu = sysconf (_SC_CPU_VERSION); | |
644 | ||
645 | switch (cpu) | |
646 | { | |
647 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
648 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
649 | case CPU_PA_RISC2_0: | |
650 | #if defined(_SC_KERNEL_BITS) | |
651 | switch (bits) | |
652 | { | |
653 | case 64: puts ("hppa2.0w"); break; | |
654 | case 32: puts ("hppa2.0n"); break; | |
655 | default: puts ("hppa2.0"); break; | |
656 | } break; | |
657 | #else /* !defined(_SC_KERNEL_BITS) */ | |
658 | puts ("hppa2.0"); break; | |
659 | #endif | |
660 | default: puts ("hppa1.0"); break; | |
661 | } | |
662 | exit (0); | |
663 | } | |
664 | EOF | |
665 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
666 | test -z "$HP_ARCH" && HP_ARCH=hppa | |
667 | fi ;; | |
668 | esac | |
669 | if [ ${HP_ARCH} = "hppa2.0w" ] | |
670 | then | |
671 | eval $set_cc_for_build | |
672 | ||
673 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating | |
674 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler | |
675 | # generating 64-bit code. GNU and HP use different nomenclature: | |
676 | # | |
677 | # $ CC_FOR_BUILD=cc ./config.guess | |
678 | # => hppa2.0w-hp-hpux11.23 | |
679 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess | |
680 | # => hppa64-hp-hpux11.23 | |
681 | ||
682 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | |
683 | grep -q __LP64__ | |
684 | then | |
685 | HP_ARCH="hppa2.0w" | |
686 | else | |
687 | HP_ARCH="hppa64" | |
688 | fi | |
689 | fi | |
690 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
691 | exit ;; | |
692 | ia64:HP-UX:*:*) | |
693 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
694 | echo ia64-hp-hpux${HPUX_REV} | |
695 | exit ;; | |
696 | 3050*:HI-UX:*:*) | |
697 | eval $set_cc_for_build | |
698 | sed 's/^ //' << EOF >$dummy.c | |
699 | #include <unistd.h> | |
700 | int | |
701 | main () | |
702 | { | |
703 | long cpu = sysconf (_SC_CPU_VERSION); | |
704 | /* The order matters, because CPU_IS_HP_MC68K erroneously returns | |
705 | true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct | |
706 | results, however. */ | |
707 | if (CPU_IS_PA_RISC (cpu)) | |
708 | { | |
709 | switch (cpu) | |
710 | { | |
711 | case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; | |
712 | case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; | |
713 | case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; | |
714 | default: puts ("hppa-hitachi-hiuxwe2"); break; | |
715 | } | |
716 | } | |
717 | else if (CPU_IS_HP_MC68K (cpu)) | |
718 | puts ("m68k-hitachi-hiuxwe2"); | |
719 | else puts ("unknown-hitachi-hiuxwe2"); | |
720 | exit (0); | |
721 | } | |
722 | EOF | |
723 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
724 | { echo "$SYSTEM_NAME"; exit; } | |
725 | echo unknown-hitachi-hiuxwe2 | |
726 | exit ;; | |
727 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
728 | echo hppa1.1-hp-bsd | |
729 | exit ;; | |
730 | 9000/8??:4.3bsd:*:*) | |
731 | echo hppa1.0-hp-bsd | |
732 | exit ;; | |
733 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) | |
734 | echo hppa1.0-hp-mpeix | |
735 | exit ;; | |
736 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
737 | echo hppa1.1-hp-osf | |
738 | exit ;; | |
739 | hp8??:OSF1:*:*) | |
740 | echo hppa1.0-hp-osf | |
741 | exit ;; | |
742 | i*86:OSF1:*:*) | |
743 | if [ -x /usr/sbin/sysversion ] ; then | |
744 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
745 | else | |
746 | echo ${UNAME_MACHINE}-unknown-osf1 | |
747 | fi | |
748 | exit ;; | |
749 | parisc*:Lites*:*:*) | |
750 | echo hppa1.1-hp-lites | |
751 | exit ;; | |
752 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | |
753 | echo c1-convex-bsd | |
754 | exit ;; | |
755 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) | |
756 | if getsysinfo -f scalar_acc | |
757 | then echo c32-convex-bsd | |
758 | else echo c2-convex-bsd | |
759 | fi | |
760 | exit ;; | |
761 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) | |
762 | echo c34-convex-bsd | |
763 | exit ;; | |
764 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) | |
765 | echo c38-convex-bsd | |
766 | exit ;; | |
767 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) | |
768 | echo c4-convex-bsd | |
769 | exit ;; | |
770 | CRAY*Y-MP:*:*:*) | |
771 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
772 | exit ;; | |
773 | CRAY*[A-Z]90:*:*:*) | |
774 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
775 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ | |
776 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ | |
777 | -e 's/\.[^.]*$/.X/' | |
778 | exit ;; | |
779 | CRAY*TS:*:*:*) | |
780 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
781 | exit ;; | |
782 | CRAY*T3E:*:*:*) | |
783 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
784 | exit ;; | |
785 | CRAY*SV1:*:*:*) | |
786 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
787 | exit ;; | |
788 | *:UNICOS/mp:*:*) | |
789 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
790 | exit ;; | |
791 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) | |
792 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | |
793 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
794 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
795 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
796 | exit ;; | |
797 | 5000:UNIX_System_V:4.*:*) | |
798 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
799 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
800 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
801 | exit ;; | |
802 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | |
803 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | |
804 | exit ;; | |
805 | sparc*:BSD/OS:*:*) | |
806 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
807 | exit ;; | |
808 | *:BSD/OS:*:*) | |
809 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
810 | exit ;; | |
811 | *:FreeBSD:*:*) | |
812 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
813 | case ${UNAME_PROCESSOR} in | |
814 | amd64) | |
815 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
816 | *) | |
817 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
818 | esac | |
819 | exit ;; | |
820 | i*:CYGWIN*:*) | |
821 | echo ${UNAME_MACHINE}-pc-cygwin | |
822 | exit ;; | |
823 | *:MINGW64*:*) | |
824 | echo ${UNAME_MACHINE}-pc-mingw64 | |
825 | exit ;; | |
826 | *:MINGW*:*) | |
827 | echo ${UNAME_MACHINE}-pc-mingw32 | |
828 | exit ;; | |
829 | *:MSYS*:*) | |
830 | echo ${UNAME_MACHINE}-pc-msys | |
831 | exit ;; | |
832 | i*:windows32*:*) | |
833 | # uname -m includes "-pc" on this system. | |
834 | echo ${UNAME_MACHINE}-mingw32 | |
835 | exit ;; | |
836 | i*:PW*:*) | |
837 | echo ${UNAME_MACHINE}-pc-pw32 | |
838 | exit ;; | |
839 | *:Interix*:*) | |
840 | case ${UNAME_MACHINE} in | |
841 | x86) | |
842 | echo i586-pc-interix${UNAME_RELEASE} | |
843 | exit ;; | |
844 | authenticamd | genuineintel | EM64T) | |
845 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
846 | exit ;; | |
847 | IA64) | |
848 | echo ia64-unknown-interix${UNAME_RELEASE} | |
849 | exit ;; | |
850 | esac ;; | |
851 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | |
852 | echo i${UNAME_MACHINE}-pc-mks | |
853 | exit ;; | |
854 | 8664:Windows_NT:*) | |
855 | echo x86_64-pc-mks | |
856 | exit ;; | |
857 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | |
858 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
859 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | |
860 | # UNAME_MACHINE based on the output of uname instead of i386? | |
861 | echo i586-pc-interix | |
862 | exit ;; | |
863 | i*:UWIN*:*) | |
864 | echo ${UNAME_MACHINE}-pc-uwin | |
865 | exit ;; | |
866 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) | |
867 | echo x86_64-unknown-cygwin | |
868 | exit ;; | |
869 | p*:CYGWIN*:*) | |
870 | echo powerpcle-unknown-cygwin | |
871 | exit ;; | |
872 | prep*:SunOS:5.*:*) | |
873 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
874 | exit ;; | |
875 | *:GNU:*:*) | |
876 | # the GNU system | |
877 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
878 | exit ;; | |
879 | *:GNU/*:*:*) | |
880 | # other systems with GNU libc and userland | |
881 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
882 | exit ;; | |
883 | i*86:Minix:*:*) | |
884 | echo ${UNAME_MACHINE}-pc-minix | |
885 | exit ;; | |
886 | aarch64:Linux:*:*) | |
887 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
888 | exit ;; | |
889 | aarch64_be:Linux:*:*) | |
890 | UNAME_MACHINE=aarch64_be | |
891 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
892 | exit ;; | |
893 | alpha:Linux:*:*) | |
894 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | |
895 | EV5) UNAME_MACHINE=alphaev5 ;; | |
896 | EV56) UNAME_MACHINE=alphaev56 ;; | |
897 | PCA56) UNAME_MACHINE=alphapca56 ;; | |
898 | PCA57) UNAME_MACHINE=alphapca56 ;; | |
899 | EV6) UNAME_MACHINE=alphaev6 ;; | |
900 | EV67) UNAME_MACHINE=alphaev67 ;; | |
901 | EV68*) UNAME_MACHINE=alphaev68 ;; | |
902 | esac | |
903 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
904 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | |
905 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
906 | exit ;; | |
907 | arc:Linux:*:* | arceb:Linux:*:*) | |
908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
909 | exit ;; | |
910 | arm*:Linux:*:*) | |
911 | eval $set_cc_for_build | |
912 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
913 | | grep -q __ARM_EABI__ | |
914 | then | |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
916 | else | |
917 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
918 | | grep -q __ARM_PCS_VFP | |
919 | then | |
920 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
921 | else | |
922 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
923 | fi | |
924 | fi | |
925 | exit ;; | |
926 | avr32*:Linux:*:*) | |
927 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | exit ;; | |
929 | cris:Linux:*:*) | |
930 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
931 | exit ;; | |
932 | crisv32:Linux:*:*) | |
933 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
934 | exit ;; | |
935 | frv:Linux:*:*) | |
936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
937 | exit ;; | |
938 | hexagon:Linux:*:*) | |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
940 | exit ;; | |
941 | i*86:Linux:*:*) | |
942 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
943 | exit ;; | |
944 | ia64:Linux:*:*) | |
945 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
946 | exit ;; | |
947 | m32r*:Linux:*:*) | |
948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
949 | exit ;; | |
950 | m68*:Linux:*:*) | |
951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
952 | exit ;; | |
953 | mips:Linux:*:* | mips64:Linux:*:*) | |
954 | eval $set_cc_for_build | |
955 | sed 's/^ //' << EOF >$dummy.c | |
956 | #undef CPU | |
957 | #undef ${UNAME_MACHINE} | |
958 | #undef ${UNAME_MACHINE}el | |
959 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
960 | CPU=${UNAME_MACHINE}el | |
961 | #else | |
962 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
963 | CPU=${UNAME_MACHINE} | |
964 | #else | |
965 | CPU= | |
966 | #endif | |
967 | #endif | |
968 | EOF | |
969 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
970 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
971 | ;; | |
972 | openrisc*:Linux:*:*) | |
973 | echo or1k-unknown-linux-${LIBC} | |
974 | exit ;; | |
975 | or32:Linux:*:* | or1k*:Linux:*:*) | |
976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
977 | exit ;; | |
978 | padre:Linux:*:*) | |
979 | echo sparc-unknown-linux-${LIBC} | |
980 | exit ;; | |
981 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
982 | echo hppa64-unknown-linux-${LIBC} | |
983 | exit ;; | |
984 | parisc:Linux:*:* | hppa:Linux:*:*) | |
985 | # Look for CPU level | |
986 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | |
987 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
988 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
989 | *) echo hppa-unknown-linux-${LIBC} ;; | |
990 | esac | |
991 | exit ;; | |
992 | ppc64:Linux:*:*) | |
993 | echo powerpc64-unknown-linux-${LIBC} | |
994 | exit ;; | |
995 | ppc:Linux:*:*) | |
996 | echo powerpc-unknown-linux-${LIBC} | |
997 | exit ;; | |
998 | ppc64le:Linux:*:*) | |
999 | echo powerpc64le-unknown-linux-${LIBC} | |
1000 | exit ;; | |
1001 | ppcle:Linux:*:*) | |
1002 | echo powerpcle-unknown-linux-${LIBC} | |
1003 | exit ;; | |
1004 | s390:Linux:*:* | s390x:Linux:*:*) | |
1005 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1006 | exit ;; | |
1007 | sh64*:Linux:*:*) | |
1008 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1009 | exit ;; | |
1010 | sh*:Linux:*:*) | |
1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1012 | exit ;; | |
1013 | sparc:Linux:*:* | sparc64:Linux:*:*) | |
1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1015 | exit ;; | |
1016 | tile*:Linux:*:*) | |
1017 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1018 | exit ;; | |
1019 | vax:Linux:*:*) | |
1020 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1021 | exit ;; | |
1022 | x86_64:Linux:*:*) | |
1023 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1024 | exit ;; | |
1025 | xtensa*:Linux:*:*) | |
1026 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1027 | exit ;; | |
1028 | i*86:DYNIX/ptx:4*:*) | |
1029 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. | |
1030 | # earlier versions are messed up and put the nodename in both | |
1031 | # sysname and nodename. | |
1032 | echo i386-sequent-sysv4 | |
1033 | exit ;; | |
1034 | i*86:UNIX_SV:4.2MP:2.*) | |
1035 | # Unixware is an offshoot of SVR4, but it has its own version | |
1036 | # number series starting with 2... | |
1037 | # I am not positive that other SVR4 systems won't match this, | |
1038 | # I just have to hope. -- rms. | |
1039 | # Use sysv4.2uw... so that sysv4* matches it. | |
1040 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | |
1041 | exit ;; | |
1042 | i*86:OS/2:*:*) | |
1043 | # If we were able to find `uname', then EMX Unix compatibility | |
1044 | # is probably installed. | |
1045 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1046 | exit ;; | |
1047 | i*86:XTS-300:*:STOP) | |
1048 | echo ${UNAME_MACHINE}-unknown-stop | |
1049 | exit ;; | |
1050 | i*86:atheos:*:*) | |
1051 | echo ${UNAME_MACHINE}-unknown-atheos | |
1052 | exit ;; | |
1053 | i*86:syllable:*:*) | |
1054 | echo ${UNAME_MACHINE}-pc-syllable | |
1055 | exit ;; | |
1056 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | |
1057 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1058 | exit ;; | |
1059 | i*86:*DOS:*:*) | |
1060 | echo ${UNAME_MACHINE}-pc-msdosdjgpp | |
1061 | exit ;; | |
1062 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | |
1063 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | |
1064 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then | |
1065 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | |
1066 | else | |
1067 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1068 | fi | |
1069 | exit ;; | |
1070 | i*86:*:5:[678]*) | |
1071 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1072 | case `/bin/uname -X | grep "^Machine"` in | |
1073 | *486*) UNAME_MACHINE=i486 ;; | |
1074 | *Pentium) UNAME_MACHINE=i586 ;; | |
1075 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; | |
1076 | esac | |
1077 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1078 | exit ;; | |
1079 | i*86:*:3.2:*) | |
1080 | if test -f /usr/options/cb.name; then | |
1081 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | |
1082 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | |
1083 | elif /bin/uname -X 2>/dev/null >/dev/null ; then | |
1084 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` | |
1085 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 | |
1086 | (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ | |
1087 | && UNAME_MACHINE=i586 | |
1088 | (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ | |
1089 | && UNAME_MACHINE=i686 | |
1090 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ | |
1091 | && UNAME_MACHINE=i686 | |
1092 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1093 | else | |
1094 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1095 | fi | |
1096 | exit ;; | |
1097 | pc:*:*:*) | |
1098 | # Left here for compatibility: | |
1099 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1100 | # the processor, so we play safe by assuming i586. | |
1101 | # Note: whatever this is, it MUST be the same as what config.sub | |
1102 | # prints for the "djgpp" host, or else GDB configury will decide that | |
1103 | # this is a cross-build. | |
1104 | echo i586-pc-msdosdjgpp | |
1105 | exit ;; | |
1106 | Intel:Mach:3*:*) | |
1107 | echo i386-pc-mach3 | |
1108 | exit ;; | |
1109 | paragon:*:*:*) | |
1110 | echo i860-intel-osf1 | |
1111 | exit ;; | |
1112 | i860:*:4.*:*) # i860-SVR4 | |
1113 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then | |
1114 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | |
1115 | else # Add other i860-SVR4 vendors below as they are discovered. | |
1116 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1117 | fi | |
1118 | exit ;; | |
1119 | mini*:CTIX:SYS*5:*) | |
1120 | # "miniframe" | |
1121 | echo m68010-convergent-sysv | |
1122 | exit ;; | |
1123 | mc68k:UNIX:SYSTEM5:3.51m) | |
1124 | echo m68k-convergent-sysv | |
1125 | exit ;; | |
1126 | M680?0:D-NIX:5.3:*) | |
1127 | echo m68k-diab-dnix | |
1128 | exit ;; | |
1129 | M68*:*:R3V[5678]*:*) | |
1130 | test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; | |
1131 | 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) | |
1132 | OS_REL='' | |
1133 | test -r /etc/.relid \ | |
1134 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1135 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1136 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1137 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1138 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1139 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | |
1140 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1141 | && { echo i486-ncr-sysv4; exit; } ;; | |
1142 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | |
1143 | OS_REL='.3' | |
1144 | test -r /etc/.relid \ | |
1145 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1146 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1147 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1148 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1149 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1150 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | |
1151 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1152 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) | |
1153 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1154 | exit ;; | |
1155 | mc68030:UNIX_System_V:4.*:*) | |
1156 | echo m68k-atari-sysv4 | |
1157 | exit ;; | |
1158 | TSUNAMI:LynxOS:2.*:*) | |
1159 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1160 | exit ;; | |
1161 | rs6000:LynxOS:2.*:*) | |
1162 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1163 | exit ;; | |
1164 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | |
1165 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1166 | exit ;; | |
1167 | SM[BE]S:UNIX_SV:*:*) | |
1168 | echo mips-dde-sysv${UNAME_RELEASE} | |
1169 | exit ;; | |
1170 | RM*:ReliantUNIX-*:*:*) | |
1171 | echo mips-sni-sysv4 | |
1172 | exit ;; | |
1173 | RM*:SINIX-*:*:*) | |
1174 | echo mips-sni-sysv4 | |
1175 | exit ;; | |
1176 | *:SINIX-*:*:*) | |
1177 | if uname -p 2>/dev/null >/dev/null ; then | |
1178 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1179 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1180 | else | |
1181 | echo ns32k-sni-sysv | |
1182 | fi | |
1183 | exit ;; | |
1184 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1185 | # says <[email protected]> | |
1186 | echo i586-unisys-sysv4 | |
1187 | exit ;; | |
1188 | *:UNIX_System_V:4*:FTX*) | |
1189 | # From Gerald Hewes <[email protected]>. | |
1190 | # How about differentiating between stratus architectures? -djm | |
1191 | echo hppa1.1-stratus-sysv4 | |
1192 | exit ;; | |
1193 | *:*:*:FTX*) | |
1194 | # From [email protected]. | |
1195 | echo i860-stratus-sysv4 | |
1196 | exit ;; | |
1197 | i*86:VOS:*:*) | |
1198 | # From [email protected]. | |
1199 | echo ${UNAME_MACHINE}-stratus-vos | |
1200 | exit ;; | |
1201 | *:VOS:*:*) | |
1202 | # From [email protected]. | |
1203 | echo hppa1.1-stratus-vos | |
1204 | exit ;; | |
1205 | mc68*:A/UX:*:*) | |
1206 | echo m68k-apple-aux${UNAME_RELEASE} | |
1207 | exit ;; | |
1208 | news*:NEWS-OS:6*:*) | |
1209 | echo mips-sony-newsos6 | |
1210 | exit ;; | |
1211 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) | |
1212 | if [ -d /usr/nec ]; then | |
1213 | echo mips-nec-sysv${UNAME_RELEASE} | |
1214 | else | |
1215 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1216 | fi | |
1217 | exit ;; | |
1218 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. | |
1219 | echo powerpc-be-beos | |
1220 | exit ;; | |
1221 | BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. | |
1222 | echo powerpc-apple-beos | |
1223 | exit ;; | |
1224 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. | |
1225 | echo i586-pc-beos | |
1226 | exit ;; | |
1227 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | |
1228 | echo i586-pc-haiku | |
1229 | exit ;; | |
1230 | x86_64:Haiku:*:*) | |
1231 | echo x86_64-unknown-haiku | |
1232 | exit ;; | |
1233 | SX-4:SUPER-UX:*:*) | |
1234 | echo sx4-nec-superux${UNAME_RELEASE} | |
1235 | exit ;; | |
1236 | SX-5:SUPER-UX:*:*) | |
1237 | echo sx5-nec-superux${UNAME_RELEASE} | |
1238 | exit ;; | |
1239 | SX-6:SUPER-UX:*:*) | |
1240 | echo sx6-nec-superux${UNAME_RELEASE} | |
1241 | exit ;; | |
1242 | SX-7:SUPER-UX:*:*) | |
1243 | echo sx7-nec-superux${UNAME_RELEASE} | |
1244 | exit ;; | |
1245 | SX-8:SUPER-UX:*:*) | |
1246 | echo sx8-nec-superux${UNAME_RELEASE} | |
1247 | exit ;; | |
1248 | SX-8R:SUPER-UX:*:*) | |
1249 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1250 | exit ;; | |
1251 | Power*:Rhapsody:*:*) | |
1252 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1253 | exit ;; | |
1254 | *:Rhapsody:*:*) | |
1255 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1256 | exit ;; | |
1257 | *:Darwin:*:*) | |
1258 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | |
1259 | eval $set_cc_for_build | |
1260 | if test "$UNAME_PROCESSOR" = unknown ; then | |
1261 | UNAME_PROCESSOR=powerpc | |
1262 | fi | |
1263 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1264 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1265 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1266 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1267 | grep IS_64BIT_ARCH >/dev/null | |
1268 | then | |
1269 | case $UNAME_PROCESSOR in | |
1270 | i386) UNAME_PROCESSOR=x86_64 ;; | |
1271 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | |
1272 | esac | |
1273 | fi | |
1274 | fi | |
1275 | elif test "$UNAME_PROCESSOR" = i386 ; then | |
1276 | # Avoid executing cc on OS X 10.9, as it ships with a stub | |
1277 | # that puts up a graphical alert prompting to install | |
1278 | # developer tools. Any system running Mac OS X 10.7 or | |
1279 | # later (Darwin 11 and later) is required to have a 64-bit | |
1280 | # processor. This is not true of the ARM version of Darwin | |
1281 | # that Apple uses in portable devices. | |
1282 | UNAME_PROCESSOR=x86_64 | |
1283 | fi | |
1284 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1285 | exit ;; | |
1286 | *:procnto*:*:* | *:QNX:[0123456789]*:*) | |
1287 | UNAME_PROCESSOR=`uname -p` | |
1288 | if test "$UNAME_PROCESSOR" = "x86"; then | |
1289 | UNAME_PROCESSOR=i386 | |
1290 | UNAME_MACHINE=pc | |
1291 | fi | |
1292 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1293 | exit ;; | |
1294 | *:QNX:*:4*) | |
1295 | echo i386-pc-qnx | |
1296 | exit ;; | |
1297 | NEO-?:NONSTOP_KERNEL:*:*) | |
1298 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1299 | exit ;; | |
1300 | NSE-*:NONSTOP_KERNEL:*:*) | |
1301 | echo nse-tandem-nsk${UNAME_RELEASE} | |
1302 | exit ;; | |
1303 | NSR-?:NONSTOP_KERNEL:*:*) | |
1304 | echo nsr-tandem-nsk${UNAME_RELEASE} | |
1305 | exit ;; | |
1306 | *:NonStop-UX:*:*) | |
1307 | echo mips-compaq-nonstopux | |
1308 | exit ;; | |
1309 | BS2000:POSIX*:*:*) | |
1310 | echo bs2000-siemens-sysv | |
1311 | exit ;; | |
1312 | DS/*:UNIX_System_V:*:*) | |
1313 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1314 | exit ;; | |
1315 | *:Plan9:*:*) | |
1316 | # "uname -m" is not consistent, so use $cputype instead. 386 | |
1317 | # is converted to i386 for consistency with other x86 | |
1318 | # operating systems. | |
1319 | if test "$cputype" = "386"; then | |
1320 | UNAME_MACHINE=i386 | |
1321 | else | |
1322 | UNAME_MACHINE="$cputype" | |
1323 | fi | |
1324 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1325 | exit ;; | |
1326 | *:TOPS-10:*:*) | |
1327 | echo pdp10-unknown-tops10 | |
1328 | exit ;; | |
1329 | *:TENEX:*:*) | |
1330 | echo pdp10-unknown-tenex | |
1331 | exit ;; | |
1332 | KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) | |
1333 | echo pdp10-dec-tops20 | |
1334 | exit ;; | |
1335 | XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) | |
1336 | echo pdp10-xkl-tops20 | |
1337 | exit ;; | |
1338 | *:TOPS-20:*:*) | |
1339 | echo pdp10-unknown-tops20 | |
1340 | exit ;; | |
1341 | *:ITS:*:*) | |
1342 | echo pdp10-unknown-its | |
1343 | exit ;; | |
1344 | SEI:*:*:SEIUX) | |
1345 | echo mips-sei-seiux${UNAME_RELEASE} | |
1346 | exit ;; | |
1347 | *:DragonFly:*:*) | |
1348 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1349 | exit ;; | |
1350 | *:*VMS:*:*) | |
1351 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1352 | case "${UNAME_MACHINE}" in | |
1353 | A*) echo alpha-dec-vms ; exit ;; | |
1354 | I*) echo ia64-dec-vms ; exit ;; | |
1355 | V*) echo vax-dec-vms ; exit ;; | |
1356 | esac ;; | |
1357 | *:XENIX:*:SysV) | |
1358 | echo i386-pc-xenix | |
1359 | exit ;; | |
1360 | i*86:skyos:*:*) | |
1361 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' | |
1362 | exit ;; | |
1363 | i*86:rdos:*:*) | |
1364 | echo ${UNAME_MACHINE}-pc-rdos | |
1365 | exit ;; | |
1366 | i*86:AROS:*:*) | |
1367 | echo ${UNAME_MACHINE}-pc-aros | |
1368 | exit ;; | |
1369 | x86_64:VMkernel:*:*) | |
1370 | echo ${UNAME_MACHINE}-unknown-esx | |
1371 | exit ;; | |
1372 | esac | |
1373 | ||
1374 | cat >&2 <<EOF | |
1375 | $0: unable to guess system type | |
1376 | ||
1377 | This script, last modified $timestamp, has failed to recognize | |
1378 | the operating system you are using. It is advised that you | |
1379 | download the most up to date version of the config scripts from | |
1380 | ||
1381 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
1382 | and | |
1383 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
1384 | ||
1385 | If the version you run ($0) is already up to date, please | |
1386 | send the following data and any information you think might be | |
1387 | pertinent to <[email protected]> in order to provide the needed | |
1388 | information to handle your system. | |
1389 | ||
1390 | config.guess timestamp = $timestamp | |
1391 | ||
1392 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1393 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1394 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1395 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1396 | ||
1397 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` | |
1398 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null` | |
1399 | ||
1400 | hostinfo = `(hostinfo) 2>/dev/null` | |
1401 | /bin/universe = `(/bin/universe) 2>/dev/null` | |
1402 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` | |
1403 | /bin/arch = `(/bin/arch) 2>/dev/null` | |
1404 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` | |
1405 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` | |
1406 | ||
1407 | UNAME_MACHINE = ${UNAME_MACHINE} | |
1408 | UNAME_RELEASE = ${UNAME_RELEASE} | |
1409 | UNAME_SYSTEM = ${UNAME_SYSTEM} | |
1410 | UNAME_VERSION = ${UNAME_VERSION} | |
1411 | EOF | |
1412 | ||
1413 | exit 1 | |
1414 | ||
1415 | # Local variables: | |
1416 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1417 | # time-stamp-start: "timestamp='" | |
1418 | # time-stamp-format: "%:y-%02m-%02d" | |
1419 | # time-stamp-end: "'" | |
1420 | # End: |
0 | #! /bin/sh | |
1 | # Output a system dependent set of variables, describing how to set the | |
2 | # run time search path of shared libraries in an executable. | |
3 | # | |
4 | # Copyright 1996-2015 Free Software Foundation, Inc. | |
5 | # Taken from GNU libtool, 2001 | |
6 | # Originally by Gordon Matzigkeit <[email protected]>, 1996 | |
7 | # | |
8 | # This file is free software; the Free Software Foundation gives | |
9 | # unlimited permission to copy and/or distribute it, with or without | |
10 | # modifications, as long as this notice is preserved. | |
11 | # | |
12 | # The first argument passed to this file is the canonical host specification, | |
13 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
14 | # or | |
15 | # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | |
16 | # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld | |
17 | # should be set by the caller. | |
18 | # | |
19 | # The set of defined variables is at the end of this script. | |
20 | ||
21 | # Known limitations: | |
22 | # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer | |
23 | # than 256 bytes, otherwise the compiler driver will dump core. The only | |
24 | # known workaround is to choose shorter directory names for the build | |
25 | # directory and/or the installation directory. | |
26 | ||
27 | # All known linkers require a '.a' archive for static linking (except MSVC, | |
28 | # which needs '.lib'). | |
29 | libext=a | |
30 | shrext=.so | |
31 | ||
32 | host="$1" | |
33 | host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
34 | host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
35 | host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
36 | ||
37 | # Code taken from libtool.m4's _LT_CC_BASENAME. | |
38 | ||
39 | for cc_temp in $CC""; do | |
40 | case $cc_temp in | |
41 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
42 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
43 | \-*) ;; | |
44 | *) break;; | |
45 | esac | |
46 | done | |
47 | cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` | |
48 | ||
49 | # Code taken from libtool.m4's _LT_COMPILER_PIC. | |
50 | ||
51 | wl= | |
52 | if test "$GCC" = yes; then | |
53 | wl='-Wl,' | |
54 | else | |
55 | case "$host_os" in | |
56 | aix*) | |
57 | wl='-Wl,' | |
58 | ;; | |
59 | mingw* | cygwin* | pw32* | os2* | cegcc*) | |
60 | ;; | |
61 | hpux9* | hpux10* | hpux11*) | |
62 | wl='-Wl,' | |
63 | ;; | |
64 | irix5* | irix6* | nonstopux*) | |
65 | wl='-Wl,' | |
66 | ;; | |
67 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
68 | case $cc_basename in | |
69 | ecc*) | |
70 | wl='-Wl,' | |
71 | ;; | |
72 | icc* | ifort*) | |
73 | wl='-Wl,' | |
74 | ;; | |
75 | lf95*) | |
76 | wl='-Wl,' | |
77 | ;; | |
78 | nagfor*) | |
79 | wl='-Wl,-Wl,,' | |
80 | ;; | |
81 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | |
82 | wl='-Wl,' | |
83 | ;; | |
84 | ccc*) | |
85 | wl='-Wl,' | |
86 | ;; | |
87 | xl* | bgxl* | bgf* | mpixl*) | |
88 | wl='-Wl,' | |
89 | ;; | |
90 | como) | |
91 | wl='-lopt=' | |
92 | ;; | |
93 | *) | |
94 | case `$CC -V 2>&1 | sed 5q` in | |
95 | *Sun\ F* | *Sun*Fortran*) | |
96 | wl= | |
97 | ;; | |
98 | *Sun\ C*) | |
99 | wl='-Wl,' | |
100 | ;; | |
101 | esac | |
102 | ;; | |
103 | esac | |
104 | ;; | |
105 | newsos6) | |
106 | ;; | |
107 | *nto* | *qnx*) | |
108 | ;; | |
109 | osf3* | osf4* | osf5*) | |
110 | wl='-Wl,' | |
111 | ;; | |
112 | rdos*) | |
113 | ;; | |
114 | solaris*) | |
115 | case $cc_basename in | |
116 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | |
117 | wl='-Qoption ld ' | |
118 | ;; | |
119 | *) | |
120 | wl='-Wl,' | |
121 | ;; | |
122 | esac | |
123 | ;; | |
124 | sunos4*) | |
125 | wl='-Qoption ld ' | |
126 | ;; | |
127 | sysv4 | sysv4.2uw2* | sysv4.3*) | |
128 | wl='-Wl,' | |
129 | ;; | |
130 | sysv4*MP*) | |
131 | ;; | |
132 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
133 | wl='-Wl,' | |
134 | ;; | |
135 | unicos*) | |
136 | wl='-Wl,' | |
137 | ;; | |
138 | uts4*) | |
139 | ;; | |
140 | esac | |
141 | fi | |
142 | ||
143 | # Code taken from libtool.m4's _LT_LINKER_SHLIBS. | |
144 | ||
145 | hardcode_libdir_flag_spec= | |
146 | hardcode_libdir_separator= | |
147 | hardcode_direct=no | |
148 | hardcode_minus_L=no | |
149 | ||
150 | case "$host_os" in | |
151 | cygwin* | mingw* | pw32* | cegcc*) | |
152 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
153 | # When not using gcc, we currently assume that we are using | |
154 | # Microsoft Visual C++. | |
155 | if test "$GCC" != yes; then | |
156 | with_gnu_ld=no | |
157 | fi | |
158 | ;; | |
159 | interix*) | |
160 | # we just hope/assume this is gcc and not c89 (= MSVC++) | |
161 | with_gnu_ld=yes | |
162 | ;; | |
163 | openbsd*) | |
164 | with_gnu_ld=no | |
165 | ;; | |
166 | esac | |
167 | ||
168 | ld_shlibs=yes | |
169 | if test "$with_gnu_ld" = yes; then | |
170 | # Set some defaults for GNU ld with shared library support. These | |
171 | # are reset later if shared libraries are not supported. Putting them | |
172 | # here allows them to be overridden if necessary. | |
173 | # Unlike libtool, we use -rpath here, not --rpath, since the documented | |
174 | # option of GNU ld is called -rpath, not --rpath. | |
175 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
176 | case "$host_os" in | |
177 | aix[3-9]*) | |
178 | # On AIX/PPC, the GNU linker is very broken | |
179 | if test "$host_cpu" != ia64; then | |
180 | ld_shlibs=no | |
181 | fi | |
182 | ;; | |
183 | amigaos*) | |
184 | case "$host_cpu" in | |
185 | powerpc) | |
186 | ;; | |
187 | m68k) | |
188 | hardcode_libdir_flag_spec='-L$libdir' | |
189 | hardcode_minus_L=yes | |
190 | ;; | |
191 | esac | |
192 | ;; | |
193 | beos*) | |
194 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
195 | : | |
196 | else | |
197 | ld_shlibs=no | |
198 | fi | |
199 | ;; | |
200 | cygwin* | mingw* | pw32* | cegcc*) | |
201 | # hardcode_libdir_flag_spec is actually meaningless, as there is | |
202 | # no search path for DLLs. | |
203 | hardcode_libdir_flag_spec='-L$libdir' | |
204 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | |
205 | : | |
206 | else | |
207 | ld_shlibs=no | |
208 | fi | |
209 | ;; | |
210 | haiku*) | |
211 | ;; | |
212 | interix[3-9]*) | |
213 | hardcode_direct=no | |
214 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
215 | ;; | |
216 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
217 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
218 | : | |
219 | else | |
220 | ld_shlibs=no | |
221 | fi | |
222 | ;; | |
223 | netbsd*) | |
224 | ;; | |
225 | solaris*) | |
226 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | |
227 | ld_shlibs=no | |
228 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
229 | : | |
230 | else | |
231 | ld_shlibs=no | |
232 | fi | |
233 | ;; | |
234 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
235 | case `$LD -v 2>&1` in | |
236 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
237 | ld_shlibs=no | |
238 | ;; | |
239 | *) | |
240 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
241 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' | |
242 | else | |
243 | ld_shlibs=no | |
244 | fi | |
245 | ;; | |
246 | esac | |
247 | ;; | |
248 | sunos4*) | |
249 | hardcode_direct=yes | |
250 | ;; | |
251 | *) | |
252 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
253 | : | |
254 | else | |
255 | ld_shlibs=no | |
256 | fi | |
257 | ;; | |
258 | esac | |
259 | if test "$ld_shlibs" = no; then | |
260 | hardcode_libdir_flag_spec= | |
261 | fi | |
262 | else | |
263 | case "$host_os" in | |
264 | aix3*) | |
265 | # Note: this linker hardcodes the directories in LIBPATH if there | |
266 | # are no directories specified by -L. | |
267 | hardcode_minus_L=yes | |
268 | if test "$GCC" = yes; then | |
269 | # Neither direct hardcoding nor static linking is supported with a | |
270 | # broken collect2. | |
271 | hardcode_direct=unsupported | |
272 | fi | |
273 | ;; | |
274 | aix[4-9]*) | |
275 | if test "$host_cpu" = ia64; then | |
276 | # On IA64, the linker does run time linking by default, so we don't | |
277 | # have to do anything special. | |
278 | aix_use_runtimelinking=no | |
279 | else | |
280 | aix_use_runtimelinking=no | |
281 | # Test if we are trying to use run time linking or normal | |
282 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
283 | # need to do runtime linking. | |
284 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | |
285 | for ld_flag in $LDFLAGS; do | |
286 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | |
287 | aix_use_runtimelinking=yes | |
288 | break | |
289 | fi | |
290 | done | |
291 | ;; | |
292 | esac | |
293 | fi | |
294 | hardcode_direct=yes | |
295 | hardcode_libdir_separator=':' | |
296 | if test "$GCC" = yes; then | |
297 | case $host_os in aix4.[012]|aix4.[012].*) | |
298 | collect2name=`${CC} -print-prog-name=collect2` | |
299 | if test -f "$collect2name" && \ | |
300 | strings "$collect2name" | grep resolve_lib_name >/dev/null | |
301 | then | |
302 | # We have reworked collect2 | |
303 | : | |
304 | else | |
305 | # We have old collect2 | |
306 | hardcode_direct=unsupported | |
307 | hardcode_minus_L=yes | |
308 | hardcode_libdir_flag_spec='-L$libdir' | |
309 | hardcode_libdir_separator= | |
310 | fi | |
311 | ;; | |
312 | esac | |
313 | fi | |
314 | # Begin _LT_AC_SYS_LIBPATH_AIX. | |
315 | echo 'int main () { return 0; }' > conftest.c | |
316 | ${CC} ${LDFLAGS} conftest.c -o conftest | |
317 | aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | |
318 | }'` | |
319 | if test -z "$aix_libpath"; then | |
320 | aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | |
321 | }'` | |
322 | fi | |
323 | if test -z "$aix_libpath"; then | |
324 | aix_libpath="/usr/lib:/lib" | |
325 | fi | |
326 | rm -f conftest.c conftest | |
327 | # End _LT_AC_SYS_LIBPATH_AIX. | |
328 | if test "$aix_use_runtimelinking" = yes; then | |
329 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
330 | else | |
331 | if test "$host_cpu" = ia64; then | |
332 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | |
333 | else | |
334 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | |
335 | fi | |
336 | fi | |
337 | ;; | |
338 | amigaos*) | |
339 | case "$host_cpu" in | |
340 | powerpc) | |
341 | ;; | |
342 | m68k) | |
343 | hardcode_libdir_flag_spec='-L$libdir' | |
344 | hardcode_minus_L=yes | |
345 | ;; | |
346 | esac | |
347 | ;; | |
348 | bsdi[45]*) | |
349 | ;; | |
350 | cygwin* | mingw* | pw32* | cegcc*) | |
351 | # When not using gcc, we currently assume that we are using | |
352 | # Microsoft Visual C++. | |
353 | # hardcode_libdir_flag_spec is actually meaningless, as there is | |
354 | # no search path for DLLs. | |
355 | hardcode_libdir_flag_spec=' ' | |
356 | libext=lib | |
357 | ;; | |
358 | darwin* | rhapsody*) | |
359 | hardcode_direct=no | |
360 | if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then | |
361 | : | |
362 | else | |
363 | ld_shlibs=no | |
364 | fi | |
365 | ;; | |
366 | dgux*) | |
367 | hardcode_libdir_flag_spec='-L$libdir' | |
368 | ;; | |
369 | freebsd2.[01]*) | |
370 | hardcode_direct=yes | |
371 | hardcode_minus_L=yes | |
372 | ;; | |
373 | freebsd* | dragonfly*) | |
374 | hardcode_libdir_flag_spec='-R$libdir' | |
375 | hardcode_direct=yes | |
376 | ;; | |
377 | hpux9*) | |
378 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
379 | hardcode_libdir_separator=: | |
380 | hardcode_direct=yes | |
381 | # hardcode_minus_L: Not really in the search PATH, | |
382 | # but as the default location of the library. | |
383 | hardcode_minus_L=yes | |
384 | ;; | |
385 | hpux10*) | |
386 | if test "$with_gnu_ld" = no; then | |
387 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
388 | hardcode_libdir_separator=: | |
389 | hardcode_direct=yes | |
390 | # hardcode_minus_L: Not really in the search PATH, | |
391 | # but as the default location of the library. | |
392 | hardcode_minus_L=yes | |
393 | fi | |
394 | ;; | |
395 | hpux11*) | |
396 | if test "$with_gnu_ld" = no; then | |
397 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
398 | hardcode_libdir_separator=: | |
399 | case $host_cpu in | |
400 | hppa*64*|ia64*) | |
401 | hardcode_direct=no | |
402 | ;; | |
403 | *) | |
404 | hardcode_direct=yes | |
405 | # hardcode_minus_L: Not really in the search PATH, | |
406 | # but as the default location of the library. | |
407 | hardcode_minus_L=yes | |
408 | ;; | |
409 | esac | |
410 | fi | |
411 | ;; | |
412 | irix5* | irix6* | nonstopux*) | |
413 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
414 | hardcode_libdir_separator=: | |
415 | ;; | |
416 | netbsd*) | |
417 | hardcode_libdir_flag_spec='-R$libdir' | |
418 | hardcode_direct=yes | |
419 | ;; | |
420 | newsos6) | |
421 | hardcode_direct=yes | |
422 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
423 | hardcode_libdir_separator=: | |
424 | ;; | |
425 | *nto* | *qnx*) | |
426 | ;; | |
427 | openbsd*) | |
428 | if test -f /usr/libexec/ld.so; then | |
429 | hardcode_direct=yes | |
430 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
431 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
432 | else | |
433 | case "$host_os" in | |
434 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | |
435 | hardcode_libdir_flag_spec='-R$libdir' | |
436 | ;; | |
437 | *) | |
438 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
439 | ;; | |
440 | esac | |
441 | fi | |
442 | else | |
443 | ld_shlibs=no | |
444 | fi | |
445 | ;; | |
446 | os2*) | |
447 | hardcode_libdir_flag_spec='-L$libdir' | |
448 | hardcode_minus_L=yes | |
449 | ;; | |
450 | osf3*) | |
451 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
452 | hardcode_libdir_separator=: | |
453 | ;; | |
454 | osf4* | osf5*) | |
455 | if test "$GCC" = yes; then | |
456 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | |
457 | else | |
458 | # Both cc and cxx compiler support -rpath directly | |
459 | hardcode_libdir_flag_spec='-rpath $libdir' | |
460 | fi | |
461 | hardcode_libdir_separator=: | |
462 | ;; | |
463 | solaris*) | |
464 | hardcode_libdir_flag_spec='-R$libdir' | |
465 | ;; | |
466 | sunos4*) | |
467 | hardcode_libdir_flag_spec='-L$libdir' | |
468 | hardcode_direct=yes | |
469 | hardcode_minus_L=yes | |
470 | ;; | |
471 | sysv4) | |
472 | case $host_vendor in | |
473 | sni) | |
474 | hardcode_direct=yes # is this really true??? | |
475 | ;; | |
476 | siemens) | |
477 | hardcode_direct=no | |
478 | ;; | |
479 | motorola) | |
480 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie | |
481 | ;; | |
482 | esac | |
483 | ;; | |
484 | sysv4.3*) | |
485 | ;; | |
486 | sysv4*MP*) | |
487 | if test -d /usr/nec; then | |
488 | ld_shlibs=yes | |
489 | fi | |
490 | ;; | |
491 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | |
492 | ;; | |
493 | sysv5* | sco3.2v5* | sco5v6*) | |
494 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | |
495 | hardcode_libdir_separator=':' | |
496 | ;; | |
497 | uts4*) | |
498 | hardcode_libdir_flag_spec='-L$libdir' | |
499 | ;; | |
500 | *) | |
501 | ld_shlibs=no | |
502 | ;; | |
503 | esac | |
504 | fi | |
505 | ||
506 | # Check dynamic linker characteristics | |
507 | # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. | |
508 | # Unlike libtool.m4, here we don't care about _all_ names of the library, but | |
509 | # only about the one the linker finds when passed -lNAME. This is the last | |
510 | # element of library_names_spec in libtool.m4, or possibly two of them if the | |
511 | # linker has special search rules. | |
512 | library_names_spec= # the last element of library_names_spec in libtool.m4 | |
513 | libname_spec='lib$name' | |
514 | case "$host_os" in | |
515 | aix3*) | |
516 | library_names_spec='$libname.a' | |
517 | ;; | |
518 | aix[4-9]*) | |
519 | library_names_spec='$libname$shrext' | |
520 | ;; | |
521 | amigaos*) | |
522 | case "$host_cpu" in | |
523 | powerpc*) | |
524 | library_names_spec='$libname$shrext' ;; | |
525 | m68k) | |
526 | library_names_spec='$libname.a' ;; | |
527 | esac | |
528 | ;; | |
529 | beos*) | |
530 | library_names_spec='$libname$shrext' | |
531 | ;; | |
532 | bsdi[45]*) | |
533 | library_names_spec='$libname$shrext' | |
534 | ;; | |
535 | cygwin* | mingw* | pw32* | cegcc*) | |
536 | shrext=.dll | |
537 | library_names_spec='$libname.dll.a $libname.lib' | |
538 | ;; | |
539 | darwin* | rhapsody*) | |
540 | shrext=.dylib | |
541 | library_names_spec='$libname$shrext' | |
542 | ;; | |
543 | dgux*) | |
544 | library_names_spec='$libname$shrext' | |
545 | ;; | |
546 | freebsd[23].*) | |
547 | library_names_spec='$libname$shrext$versuffix' | |
548 | ;; | |
549 | freebsd* | dragonfly*) | |
550 | library_names_spec='$libname$shrext' | |
551 | ;; | |
552 | gnu*) | |
553 | library_names_spec='$libname$shrext' | |
554 | ;; | |
555 | haiku*) | |
556 | library_names_spec='$libname$shrext' | |
557 | ;; | |
558 | hpux9* | hpux10* | hpux11*) | |
559 | case $host_cpu in | |
560 | ia64*) | |
561 | shrext=.so | |
562 | ;; | |
563 | hppa*64*) | |
564 | shrext=.sl | |
565 | ;; | |
566 | *) | |
567 | shrext=.sl | |
568 | ;; | |
569 | esac | |
570 | library_names_spec='$libname$shrext' | |
571 | ;; | |
572 | interix[3-9]*) | |
573 | library_names_spec='$libname$shrext' | |
574 | ;; | |
575 | irix5* | irix6* | nonstopux*) | |
576 | library_names_spec='$libname$shrext' | |
577 | case "$host_os" in | |
578 | irix5* | nonstopux*) | |
579 | libsuff= shlibsuff= | |
580 | ;; | |
581 | *) | |
582 | case $LD in | |
583 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; | |
584 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; | |
585 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; | |
586 | *) libsuff= shlibsuff= ;; | |
587 | esac | |
588 | ;; | |
589 | esac | |
590 | ;; | |
591 | linux*oldld* | linux*aout* | linux*coff*) | |
592 | ;; | |
593 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | |
594 | library_names_spec='$libname$shrext' | |
595 | ;; | |
596 | knetbsd*-gnu) | |
597 | library_names_spec='$libname$shrext' | |
598 | ;; | |
599 | netbsd*) | |
600 | library_names_spec='$libname$shrext' | |
601 | ;; | |
602 | newsos6) | |
603 | library_names_spec='$libname$shrext' | |
604 | ;; | |
605 | *nto* | *qnx*) | |
606 | library_names_spec='$libname$shrext' | |
607 | ;; | |
608 | openbsd*) | |
609 | library_names_spec='$libname$shrext$versuffix' | |
610 | ;; | |
611 | os2*) | |
612 | libname_spec='$name' | |
613 | shrext=.dll | |
614 | library_names_spec='$libname.a' | |
615 | ;; | |
616 | osf3* | osf4* | osf5*) | |
617 | library_names_spec='$libname$shrext' | |
618 | ;; | |
619 | rdos*) | |
620 | ;; | |
621 | solaris*) | |
622 | library_names_spec='$libname$shrext' | |
623 | ;; | |
624 | sunos4*) | |
625 | library_names_spec='$libname$shrext$versuffix' | |
626 | ;; | |
627 | sysv4 | sysv4.3*) | |
628 | library_names_spec='$libname$shrext' | |
629 | ;; | |
630 | sysv4*MP*) | |
631 | library_names_spec='$libname$shrext' | |
632 | ;; | |
633 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
634 | library_names_spec='$libname$shrext' | |
635 | ;; | |
636 | tpf*) | |
637 | library_names_spec='$libname$shrext' | |
638 | ;; | |
639 | uts4*) | |
640 | library_names_spec='$libname$shrext' | |
641 | ;; | |
642 | esac | |
643 | ||
644 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | |
645 | escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` | |
646 | shlibext=`echo "$shrext" | sed -e 's,^\.,,'` | |
647 | escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | |
648 | escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | |
649 | escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` | |
650 | ||
651 | LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF | |
652 | ||
653 | # How to pass a linker flag through the compiler. | |
654 | wl="$escaped_wl" | |
655 | ||
656 | # Static library suffix (normally "a"). | |
657 | libext="$libext" | |
658 | ||
659 | # Shared library suffix (normally "so"). | |
660 | shlibext="$shlibext" | |
661 | ||
662 | # Format of library name prefix. | |
663 | libname_spec="$escaped_libname_spec" | |
664 | ||
665 | # Library names that the linker finds when passed -lNAME. | |
666 | library_names_spec="$escaped_library_names_spec" | |
667 | ||
668 | # Flag to hardcode \$libdir into a binary during linking. | |
669 | # This must work even if \$libdir does not exist. | |
670 | hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" | |
671 | ||
672 | # Whether we need a single -rpath flag with a separated argument. | |
673 | hardcode_libdir_separator="$hardcode_libdir_separator" | |
674 | ||
675 | # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | |
676 | # resulting binary. | |
677 | hardcode_direct="$hardcode_direct" | |
678 | ||
679 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | |
680 | # resulting binary. | |
681 | hardcode_minus_L="$hardcode_minus_L" | |
682 | ||
683 | EOF |
0 | #! /bin/sh | |
1 | # Configuration validation subroutine script. | |
2 | # Copyright 1992-2015 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2015-01-01' | |
5 | ||
6 | # This file is free software; you can redistribute it and/or modify it | |
7 | # under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation; either version 3 of the License, or | |
9 | # (at your option) any later version. | |
10 | # | |
11 | # This program is distributed in the hope that it will be useful, but | |
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
18 | # | |
19 | # As a special exception to the GNU General Public License, if you | |
20 | # distribute this file as part of a program that contains a | |
21 | # configuration script generated by Autoconf, you may include it under | |
22 | # the same distribution terms that you use for the rest of that | |
23 | # program. This Exception is an additional permission under section 7 | |
24 | # of the GNU General Public License, version 3 ("GPLv3"). | |
25 | ||
26 | ||
27 | # Please send patches to <[email protected]>. | |
28 | # | |
29 | # Configuration subroutine to validate and canonicalize a configuration type. | |
30 | # Supply the specified configuration type as an argument. | |
31 | # If it is invalid, we print an error message on stderr and exit with code 1. | |
32 | # Otherwise, we print the canonical config type on stdout and succeed. | |
33 | ||
34 | # You can get the latest version of this script from: | |
35 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
36 | ||
37 | # This file is supposed to be the same for all GNU packages | |
38 | # and recognize all the CPU types, system types and aliases | |
39 | # that are meaningful with *any* GNU software. | |
40 | # Each package is responsible for reporting which valid configurations | |
41 | # it does not support. The user should be able to distinguish | |
42 | # a failure to support a valid configuration from a meaningless | |
43 | # configuration. | |
44 | ||
45 | # The goal of this file is to map all the various variations of a given | |
46 | # machine specification into a single specification in the form: | |
47 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM | |
48 | # or in some cases, the newer four-part form: | |
49 | # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM | |
50 | # It is wrong to echo any other type of specification. | |
51 | ||
52 | me=`echo "$0" | sed -e 's,.*/,,'` | |
53 | ||
54 | usage="\ | |
55 | Usage: $0 [OPTION] CPU-MFR-OPSYS | |
56 | $0 [OPTION] ALIAS | |
57 | ||
58 | Canonicalize a configuration name. | |
59 | ||
60 | Operation modes: | |
61 | -h, --help print this help, then exit | |
62 | -t, --time-stamp print date of last modification, then exit | |
63 | -v, --version print version number, then exit | |
64 | ||
65 | Report bugs and patches to <[email protected]>." | |
66 | ||
67 | version="\ | |
68 | GNU config.sub ($timestamp) | |
69 | ||
70 | Copyright 1992-2015 Free Software Foundation, Inc. | |
71 | ||
72 | This is free software; see the source for copying conditions. There is NO | |
73 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | |
74 | ||
75 | help=" | |
76 | Try \`$me --help' for more information." | |
77 | ||
78 | # Parse command line | |
79 | while test $# -gt 0 ; do | |
80 | case $1 in | |
81 | --time-stamp | --time* | -t ) | |
82 | echo "$timestamp" ; exit ;; | |
83 | --version | -v ) | |
84 | echo "$version" ; exit ;; | |
85 | --help | --h* | -h ) | |
86 | echo "$usage"; exit ;; | |
87 | -- ) # Stop option processing | |
88 | shift; break ;; | |
89 | - ) # Use stdin as input. | |
90 | break ;; | |
91 | -* ) | |
92 | echo "$me: invalid option $1$help" | |
93 | exit 1 ;; | |
94 | ||
95 | *local*) | |
96 | # First pass through any local machine types. | |
97 | echo $1 | |
98 | exit ;; | |
99 | ||
100 | * ) | |
101 | break ;; | |
102 | esac | |
103 | done | |
104 | ||
105 | case $# in | |
106 | 0) echo "$me: missing argument$help" >&2 | |
107 | exit 1;; | |
108 | 1) ;; | |
109 | *) echo "$me: too many arguments$help" >&2 | |
110 | exit 1;; | |
111 | esac | |
112 | ||
113 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | |
114 | # Here we must recognize all the valid KERNEL-OS combinations. | |
115 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
116 | case $maybe_os in | |
117 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
118 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
119 | knetbsd*-gnu* | netbsd*-gnu* | \ | |
120 | kopensolaris*-gnu* | \ | |
121 | storm-chaos* | os2-emx* | rtmk-nova*) | |
122 | os=-$maybe_os | |
123 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
124 | ;; | |
125 | android-linux) | |
126 | os=-linux-android | |
127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
128 | ;; | |
129 | *) | |
130 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
131 | if [ $basic_machine != $1 ] | |
132 | then os=`echo $1 | sed 's/.*-/-/'` | |
133 | else os=; fi | |
134 | ;; | |
135 | esac | |
136 | ||
137 | ### Let's recognize common machines as not being operating systems so | |
138 | ### that things like config.sub decstation-3100 work. We also | |
139 | ### recognize some manufacturers as not being operating systems, so we | |
140 | ### can provide default operating systems below. | |
141 | case $os in | |
142 | -sun*os*) | |
143 | # Prevent following clause from handling this invalid input. | |
144 | ;; | |
145 | -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | |
146 | -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | |
147 | -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ | |
148 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | |
149 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | |
150 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | |
151 | -apple | -axis | -knuth | -cray | -microblaze*) | |
152 | os= | |
153 | basic_machine=$1 | |
154 | ;; | |
155 | -bluegene*) | |
156 | os=-cnk | |
157 | ;; | |
158 | -sim | -cisco | -oki | -wec | -winbond) | |
159 | os= | |
160 | basic_machine=$1 | |
161 | ;; | |
162 | -scout) | |
163 | ;; | |
164 | -wrs) | |
165 | os=-vxworks | |
166 | basic_machine=$1 | |
167 | ;; | |
168 | -chorusos*) | |
169 | os=-chorusos | |
170 | basic_machine=$1 | |
171 | ;; | |
172 | -chorusrdb) | |
173 | os=-chorusrdb | |
174 | basic_machine=$1 | |
175 | ;; | |
176 | -hiux*) | |
177 | os=-hiuxwe2 | |
178 | ;; | |
179 | -sco6) | |
180 | os=-sco5v6 | |
181 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
182 | ;; | |
183 | -sco5) | |
184 | os=-sco3.2v5 | |
185 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
186 | ;; | |
187 | -sco4) | |
188 | os=-sco3.2v4 | |
189 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
190 | ;; | |
191 | -sco3.2.[4-9]*) | |
192 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` | |
193 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
194 | ;; | |
195 | -sco3.2v[4-9]*) | |
196 | # Don't forget version if it is 3.2v4 or newer. | |
197 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
198 | ;; | |
199 | -sco5v6*) | |
200 | # Don't forget version if it is 3.2v4 or newer. | |
201 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
202 | ;; | |
203 | -sco*) | |
204 | os=-sco3.2v2 | |
205 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
206 | ;; | |
207 | -udk*) | |
208 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
209 | ;; | |
210 | -isc) | |
211 | os=-isc2.2 | |
212 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
213 | ;; | |
214 | -clix*) | |
215 | basic_machine=clipper-intergraph | |
216 | ;; | |
217 | -isc*) | |
218 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
219 | ;; | |
220 | -lynx*178) | |
221 | os=-lynxos178 | |
222 | ;; | |
223 | -lynx*5) | |
224 | os=-lynxos5 | |
225 | ;; | |
226 | -lynx*) | |
227 | os=-lynxos | |
228 | ;; | |
229 | -ptx*) | |
230 | basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
231 | ;; | |
232 | -windowsnt*) | |
233 | os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
234 | ;; | |
235 | -psos*) | |
236 | os=-psos | |
237 | ;; | |
238 | -mint | -mint[0-9]*) | |
239 | basic_machine=m68k-atari | |
240 | os=-mint | |
241 | ;; | |
242 | esac | |
243 | ||
244 | # Decode aliases for certain CPU-COMPANY combinations. | |
245 | case $basic_machine in | |
246 | # Recognize the basic CPU types without company name. | |
247 | # Some are omitted here because they have special meanings below. | |
248 | 1750a | 580 \ | |
249 | | a29k \ | |
250 | | aarch64 | aarch64_be \ | |
251 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | |
252 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | |
253 | | am33_2.0 \ | |
254 | | arc | arceb \ | |
255 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
256 | | avr | avr32 \ | |
257 | | be32 | be64 \ | |
258 | | bfin \ | |
259 | | c4x | c8051 | clipper \ | |
260 | | d10v | d30v | dlx | dsp16xx \ | |
261 | | epiphany \ | |
262 | | fido | fr30 | frv | ft32 \ | |
263 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | |
264 | | hexagon \ | |
265 | | i370 | i860 | i960 | ia64 \ | |
266 | | ip2k | iq2000 \ | |
267 | | k1om \ | |
268 | | le32 | le64 \ | |
269 | | lm32 \ | |
270 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | |
271 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | |
272 | | mips | mipsbe | mipseb | mipsel | mipsle \ | |
273 | | mips16 \ | |
274 | | mips64 | mips64el \ | |
275 | | mips64octeon | mips64octeonel \ | |
276 | | mips64orion | mips64orionel \ | |
277 | | mips64r5900 | mips64r5900el \ | |
278 | | mips64vr | mips64vrel \ | |
279 | | mips64vr4100 | mips64vr4100el \ | |
280 | | mips64vr4300 | mips64vr4300el \ | |
281 | | mips64vr5000 | mips64vr5000el \ | |
282 | | mips64vr5900 | mips64vr5900el \ | |
283 | | mipsisa32 | mipsisa32el \ | |
284 | | mipsisa32r2 | mipsisa32r2el \ | |
285 | | mipsisa32r6 | mipsisa32r6el \ | |
286 | | mipsisa64 | mipsisa64el \ | |
287 | | mipsisa64r2 | mipsisa64r2el \ | |
288 | | mipsisa64r6 | mipsisa64r6el \ | |
289 | | mipsisa64sb1 | mipsisa64sb1el \ | |
290 | | mipsisa64sr71k | mipsisa64sr71kel \ | |
291 | | mipsr5900 | mipsr5900el \ | |
292 | | mipstx39 | mipstx39el \ | |
293 | | mn10200 | mn10300 \ | |
294 | | moxie \ | |
295 | | mt \ | |
296 | | msp430 \ | |
297 | | nds32 | nds32le | nds32be \ | |
298 | | nios | nios2 | nios2eb | nios2el \ | |
299 | | ns16k | ns32k \ | |
300 | | open8 | or1k | or1knd | or32 \ | |
301 | | pdp10 | pdp11 | pj | pjl \ | |
302 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | |
303 | | pyramid \ | |
304 | | riscv32 | riscv64 \ | |
305 | | rl78 | rx \ | |
306 | | score \ | |
307 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | |
308 | | sh64 | sh64le \ | |
309 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | |
310 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | |
311 | | spu \ | |
312 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | |
313 | | ubicom32 \ | |
314 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | |
315 | | visium \ | |
316 | | we32k \ | |
317 | | x86 | xc16x | xstormy16 | xtensa \ | |
318 | | z8k | z80) | |
319 | basic_machine=$basic_machine-unknown | |
320 | ;; | |
321 | c54x) | |
322 | basic_machine=tic54x-unknown | |
323 | ;; | |
324 | c55x) | |
325 | basic_machine=tic55x-unknown | |
326 | ;; | |
327 | c6x) | |
328 | basic_machine=tic6x-unknown | |
329 | ;; | |
330 | leon|leon[3-9]) | |
331 | basic_machine=sparc-$basic_machine | |
332 | ;; | |
333 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
334 | basic_machine=$basic_machine-unknown | |
335 | os=-none | |
336 | ;; | |
337 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | |
338 | ;; | |
339 | ms1) | |
340 | basic_machine=mt-unknown | |
341 | ;; | |
342 | ||
343 | strongarm | thumb | xscale) | |
344 | basic_machine=arm-unknown | |
345 | ;; | |
346 | xgate) | |
347 | basic_machine=$basic_machine-unknown | |
348 | os=-none | |
349 | ;; | |
350 | xscaleeb) | |
351 | basic_machine=armeb-unknown | |
352 | ;; | |
353 | ||
354 | xscaleel) | |
355 | basic_machine=armel-unknown | |
356 | ;; | |
357 | ||
358 | # We use `pc' rather than `unknown' | |
359 | # because (1) that's what they normally are, and | |
360 | # (2) the word "unknown" tends to confuse beginning users. | |
361 | i*86 | x86_64) | |
362 | basic_machine=$basic_machine-pc | |
363 | ;; | |
364 | # Object if more than one company name word. | |
365 | *-*-*) | |
366 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
367 | exit 1 | |
368 | ;; | |
369 | # Recognize the basic CPU types with company name. | |
370 | 580-* \ | |
371 | | a29k-* \ | |
372 | | aarch64-* | aarch64_be-* \ | |
373 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | |
374 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | |
375 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | |
376 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | |
377 | | avr-* | avr32-* \ | |
378 | | be32-* | be64-* \ | |
379 | | bfin-* | bs2000-* \ | |
380 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | |
381 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
382 | | d10v-* | d30v-* | dlx-* \ | |
383 | | elxsi-* \ | |
384 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | |
385 | | h8300-* | h8500-* \ | |
386 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | |
387 | | hexagon-* \ | |
388 | | i*86-* | i860-* | i960-* | ia64-* \ | |
389 | | ip2k-* | iq2000-* \ | |
390 | | k1om-* \ | |
391 | | le32-* | le64-* \ | |
392 | | lm32-* \ | |
393 | | m32c-* | m32r-* | m32rle-* \ | |
394 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | |
395 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
396 | | microblaze-* | microblazeel-* \ | |
397 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | |
398 | | mips16-* \ | |
399 | | mips64-* | mips64el-* \ | |
400 | | mips64octeon-* | mips64octeonel-* \ | |
401 | | mips64orion-* | mips64orionel-* \ | |
402 | | mips64r5900-* | mips64r5900el-* \ | |
403 | | mips64vr-* | mips64vrel-* \ | |
404 | | mips64vr4100-* | mips64vr4100el-* \ | |
405 | | mips64vr4300-* | mips64vr4300el-* \ | |
406 | | mips64vr5000-* | mips64vr5000el-* \ | |
407 | | mips64vr5900-* | mips64vr5900el-* \ | |
408 | | mipsisa32-* | mipsisa32el-* \ | |
409 | | mipsisa32r2-* | mipsisa32r2el-* \ | |
410 | | mipsisa32r6-* | mipsisa32r6el-* \ | |
411 | | mipsisa64-* | mipsisa64el-* \ | |
412 | | mipsisa64r2-* | mipsisa64r2el-* \ | |
413 | | mipsisa64r6-* | mipsisa64r6el-* \ | |
414 | | mipsisa64sb1-* | mipsisa64sb1el-* \ | |
415 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | |
416 | | mipsr5900-* | mipsr5900el-* \ | |
417 | | mipstx39-* | mipstx39el-* \ | |
418 | | mmix-* \ | |
419 | | mt-* \ | |
420 | | msp430-* \ | |
421 | | nds32-* | nds32le-* | nds32be-* \ | |
422 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | |
423 | | none-* | np1-* | ns16k-* | ns32k-* \ | |
424 | | open8-* \ | |
425 | | or1k*-* \ | |
426 | | orion-* \ | |
427 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | |
428 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | |
429 | | pyramid-* \ | |
430 | | rl78-* | romp-* | rs6000-* | rx-* \ | |
431 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | |
432 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | |
433 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | |
434 | | sparclite-* \ | |
435 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
436 | | tahoe-* \ | |
437 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | |
438 | | tile*-* \ | |
439 | | tron-* \ | |
440 | | ubicom32-* \ | |
441 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | |
442 | | vax-* \ | |
443 | | visium-* \ | |
444 | | we32k-* \ | |
445 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | |
446 | | xstormy16-* | xtensa*-* \ | |
447 | | ymp-* \ | |
448 | | z8k-* | z80-*) | |
449 | ;; | |
450 | # Recognize the basic CPU types without company name, with glob match. | |
451 | xtensa*) | |
452 | basic_machine=$basic_machine-unknown | |
453 | ;; | |
454 | # Recognize the various machine names and aliases which stand | |
455 | # for a CPU type and a company and sometimes even an OS. | |
456 | 386bsd) | |
457 | basic_machine=i386-unknown | |
458 | os=-bsd | |
459 | ;; | |
460 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) | |
461 | basic_machine=m68000-att | |
462 | ;; | |
463 | 3b*) | |
464 | basic_machine=we32k-att | |
465 | ;; | |
466 | a29khif) | |
467 | basic_machine=a29k-amd | |
468 | os=-udi | |
469 | ;; | |
470 | abacus) | |
471 | basic_machine=abacus-unknown | |
472 | ;; | |
473 | adobe68k) | |
474 | basic_machine=m68010-adobe | |
475 | os=-scout | |
476 | ;; | |
477 | alliant | fx80) | |
478 | basic_machine=fx80-alliant | |
479 | ;; | |
480 | altos | altos3068) | |
481 | basic_machine=m68k-altos | |
482 | ;; | |
483 | am29k) | |
484 | basic_machine=a29k-none | |
485 | os=-bsd | |
486 | ;; | |
487 | amd64) | |
488 | basic_machine=x86_64-pc | |
489 | ;; | |
490 | amd64-*) | |
491 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
492 | ;; | |
493 | amdahl) | |
494 | basic_machine=580-amdahl | |
495 | os=-sysv | |
496 | ;; | |
497 | amiga | amiga-*) | |
498 | basic_machine=m68k-unknown | |
499 | ;; | |
500 | amigaos | amigados) | |
501 | basic_machine=m68k-unknown | |
502 | os=-amigaos | |
503 | ;; | |
504 | amigaunix | amix) | |
505 | basic_machine=m68k-unknown | |
506 | os=-sysv4 | |
507 | ;; | |
508 | apollo68) | |
509 | basic_machine=m68k-apollo | |
510 | os=-sysv | |
511 | ;; | |
512 | apollo68bsd) | |
513 | basic_machine=m68k-apollo | |
514 | os=-bsd | |
515 | ;; | |
516 | aros) | |
517 | basic_machine=i386-pc | |
518 | os=-aros | |
519 | ;; | |
520 | aux) | |
521 | basic_machine=m68k-apple | |
522 | os=-aux | |
523 | ;; | |
524 | balance) | |
525 | basic_machine=ns32k-sequent | |
526 | os=-dynix | |
527 | ;; | |
528 | blackfin) | |
529 | basic_machine=bfin-unknown | |
530 | os=-linux | |
531 | ;; | |
532 | blackfin-*) | |
533 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
534 | os=-linux | |
535 | ;; | |
536 | bluegene*) | |
537 | basic_machine=powerpc-ibm | |
538 | os=-cnk | |
539 | ;; | |
540 | c54x-*) | |
541 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
542 | ;; | |
543 | c55x-*) | |
544 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
545 | ;; | |
546 | c6x-*) | |
547 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
548 | ;; | |
549 | c90) | |
550 | basic_machine=c90-cray | |
551 | os=-unicos | |
552 | ;; | |
553 | cegcc) | |
554 | basic_machine=arm-unknown | |
555 | os=-cegcc | |
556 | ;; | |
557 | convex-c1) | |
558 | basic_machine=c1-convex | |
559 | os=-bsd | |
560 | ;; | |
561 | convex-c2) | |
562 | basic_machine=c2-convex | |
563 | os=-bsd | |
564 | ;; | |
565 | convex-c32) | |
566 | basic_machine=c32-convex | |
567 | os=-bsd | |
568 | ;; | |
569 | convex-c34) | |
570 | basic_machine=c34-convex | |
571 | os=-bsd | |
572 | ;; | |
573 | convex-c38) | |
574 | basic_machine=c38-convex | |
575 | os=-bsd | |
576 | ;; | |
577 | cray | j90) | |
578 | basic_machine=j90-cray | |
579 | os=-unicos | |
580 | ;; | |
581 | craynv) | |
582 | basic_machine=craynv-cray | |
583 | os=-unicosmp | |
584 | ;; | |
585 | cr16 | cr16-*) | |
586 | basic_machine=cr16-unknown | |
587 | os=-elf | |
588 | ;; | |
589 | crds | unos) | |
590 | basic_machine=m68k-crds | |
591 | ;; | |
592 | crisv32 | crisv32-* | etraxfs*) | |
593 | basic_machine=crisv32-axis | |
594 | ;; | |
595 | cris | cris-* | etrax*) | |
596 | basic_machine=cris-axis | |
597 | ;; | |
598 | crx) | |
599 | basic_machine=crx-unknown | |
600 | os=-elf | |
601 | ;; | |
602 | da30 | da30-*) | |
603 | basic_machine=m68k-da30 | |
604 | ;; | |
605 | decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) | |
606 | basic_machine=mips-dec | |
607 | ;; | |
608 | decsystem10* | dec10*) | |
609 | basic_machine=pdp10-dec | |
610 | os=-tops10 | |
611 | ;; | |
612 | decsystem20* | dec20*) | |
613 | basic_machine=pdp10-dec | |
614 | os=-tops20 | |
615 | ;; | |
616 | delta | 3300 | motorola-3300 | motorola-delta \ | |
617 | | 3300-motorola | delta-motorola) | |
618 | basic_machine=m68k-motorola | |
619 | ;; | |
620 | delta88) | |
621 | basic_machine=m88k-motorola | |
622 | os=-sysv3 | |
623 | ;; | |
624 | dicos) | |
625 | basic_machine=i686-pc | |
626 | os=-dicos | |
627 | ;; | |
628 | djgpp) | |
629 | basic_machine=i586-pc | |
630 | os=-msdosdjgpp | |
631 | ;; | |
632 | dpx20 | dpx20-*) | |
633 | basic_machine=rs6000-bull | |
634 | os=-bosx | |
635 | ;; | |
636 | dpx2* | dpx2*-bull) | |
637 | basic_machine=m68k-bull | |
638 | os=-sysv3 | |
639 | ;; | |
640 | ebmon29k) | |
641 | basic_machine=a29k-amd | |
642 | os=-ebmon | |
643 | ;; | |
644 | elxsi) | |
645 | basic_machine=elxsi-elxsi | |
646 | os=-bsd | |
647 | ;; | |
648 | encore | umax | mmax) | |
649 | basic_machine=ns32k-encore | |
650 | ;; | |
651 | es1800 | OSE68k | ose68k | ose | OSE) | |
652 | basic_machine=m68k-ericsson | |
653 | os=-ose | |
654 | ;; | |
655 | fx2800) | |
656 | basic_machine=i860-alliant | |
657 | ;; | |
658 | genix) | |
659 | basic_machine=ns32k-ns | |
660 | ;; | |
661 | gmicro) | |
662 | basic_machine=tron-gmicro | |
663 | os=-sysv | |
664 | ;; | |
665 | go32) | |
666 | basic_machine=i386-pc | |
667 | os=-go32 | |
668 | ;; | |
669 | h3050r* | hiux*) | |
670 | basic_machine=hppa1.1-hitachi | |
671 | os=-hiuxwe2 | |
672 | ;; | |
673 | h8300hms) | |
674 | basic_machine=h8300-hitachi | |
675 | os=-hms | |
676 | ;; | |
677 | h8300xray) | |
678 | basic_machine=h8300-hitachi | |
679 | os=-xray | |
680 | ;; | |
681 | h8500hms) | |
682 | basic_machine=h8500-hitachi | |
683 | os=-hms | |
684 | ;; | |
685 | harris) | |
686 | basic_machine=m88k-harris | |
687 | os=-sysv3 | |
688 | ;; | |
689 | hp300-*) | |
690 | basic_machine=m68k-hp | |
691 | ;; | |
692 | hp300bsd) | |
693 | basic_machine=m68k-hp | |
694 | os=-bsd | |
695 | ;; | |
696 | hp300hpux) | |
697 | basic_machine=m68k-hp | |
698 | os=-hpux | |
699 | ;; | |
700 | hp3k9[0-9][0-9] | hp9[0-9][0-9]) | |
701 | basic_machine=hppa1.0-hp | |
702 | ;; | |
703 | hp9k2[0-9][0-9] | hp9k31[0-9]) | |
704 | basic_machine=m68000-hp | |
705 | ;; | |
706 | hp9k3[2-9][0-9]) | |
707 | basic_machine=m68k-hp | |
708 | ;; | |
709 | hp9k6[0-9][0-9] | hp6[0-9][0-9]) | |
710 | basic_machine=hppa1.0-hp | |
711 | ;; | |
712 | hp9k7[0-79][0-9] | hp7[0-79][0-9]) | |
713 | basic_machine=hppa1.1-hp | |
714 | ;; | |
715 | hp9k78[0-9] | hp78[0-9]) | |
716 | # FIXME: really hppa2.0-hp | |
717 | basic_machine=hppa1.1-hp | |
718 | ;; | |
719 | hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) | |
720 | # FIXME: really hppa2.0-hp | |
721 | basic_machine=hppa1.1-hp | |
722 | ;; | |
723 | hp9k8[0-9][13679] | hp8[0-9][13679]) | |
724 | basic_machine=hppa1.1-hp | |
725 | ;; | |
726 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) | |
727 | basic_machine=hppa1.0-hp | |
728 | ;; | |
729 | hppa-next) | |
730 | os=-nextstep3 | |
731 | ;; | |
732 | hppaosf) | |
733 | basic_machine=hppa1.1-hp | |
734 | os=-osf | |
735 | ;; | |
736 | hppro) | |
737 | basic_machine=hppa1.1-hp | |
738 | os=-proelf | |
739 | ;; | |
740 | i370-ibm* | ibm*) | |
741 | basic_machine=i370-ibm | |
742 | ;; | |
743 | i*86v32) | |
744 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
745 | os=-sysv32 | |
746 | ;; | |
747 | i*86v4*) | |
748 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
749 | os=-sysv4 | |
750 | ;; | |
751 | i*86v) | |
752 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
753 | os=-sysv | |
754 | ;; | |
755 | i*86sol2) | |
756 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
757 | os=-solaris2 | |
758 | ;; | |
759 | i386mach) | |
760 | basic_machine=i386-mach | |
761 | os=-mach | |
762 | ;; | |
763 | i386-vsta | vsta) | |
764 | basic_machine=i386-unknown | |
765 | os=-vsta | |
766 | ;; | |
767 | iris | iris4d) | |
768 | basic_machine=mips-sgi | |
769 | case $os in | |
770 | -irix*) | |
771 | ;; | |
772 | *) | |
773 | os=-irix4 | |
774 | ;; | |
775 | esac | |
776 | ;; | |
777 | isi68 | isi) | |
778 | basic_machine=m68k-isi | |
779 | os=-sysv | |
780 | ;; | |
781 | leon-*|leon[3-9]-*) | |
782 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
783 | ;; | |
784 | m68knommu) | |
785 | basic_machine=m68k-unknown | |
786 | os=-linux | |
787 | ;; | |
788 | m68knommu-*) | |
789 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
790 | os=-linux | |
791 | ;; | |
792 | m88k-omron*) | |
793 | basic_machine=m88k-omron | |
794 | ;; | |
795 | magnum | m3230) | |
796 | basic_machine=mips-mips | |
797 | os=-sysv | |
798 | ;; | |
799 | merlin) | |
800 | basic_machine=ns32k-utek | |
801 | os=-sysv | |
802 | ;; | |
803 | microblaze*) | |
804 | basic_machine=microblaze-xilinx | |
805 | ;; | |
806 | mingw64) | |
807 | basic_machine=x86_64-pc | |
808 | os=-mingw64 | |
809 | ;; | |
810 | mingw32) | |
811 | basic_machine=i686-pc | |
812 | os=-mingw32 | |
813 | ;; | |
814 | mingw32ce) | |
815 | basic_machine=arm-unknown | |
816 | os=-mingw32ce | |
817 | ;; | |
818 | miniframe) | |
819 | basic_machine=m68000-convergent | |
820 | ;; | |
821 | *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) | |
822 | basic_machine=m68k-atari | |
823 | os=-mint | |
824 | ;; | |
825 | mips3*-*) | |
826 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
827 | ;; | |
828 | mips3*) | |
829 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
830 | ;; | |
831 | monitor) | |
832 | basic_machine=m68k-rom68k | |
833 | os=-coff | |
834 | ;; | |
835 | morphos) | |
836 | basic_machine=powerpc-unknown | |
837 | os=-morphos | |
838 | ;; | |
839 | moxiebox) | |
840 | basic_machine=moxie-unknown | |
841 | os=-moxiebox | |
842 | ;; | |
843 | msdos) | |
844 | basic_machine=i386-pc | |
845 | os=-msdos | |
846 | ;; | |
847 | ms1-*) | |
848 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
849 | ;; | |
850 | msys) | |
851 | basic_machine=i686-pc | |
852 | os=-msys | |
853 | ;; | |
854 | mvs) | |
855 | basic_machine=i370-ibm | |
856 | os=-mvs | |
857 | ;; | |
858 | nacl) | |
859 | basic_machine=le32-unknown | |
860 | os=-nacl | |
861 | ;; | |
862 | ncr3000) | |
863 | basic_machine=i486-ncr | |
864 | os=-sysv4 | |
865 | ;; | |
866 | netbsd386) | |
867 | basic_machine=i386-unknown | |
868 | os=-netbsd | |
869 | ;; | |
870 | netwinder) | |
871 | basic_machine=armv4l-rebel | |
872 | os=-linux | |
873 | ;; | |
874 | news | news700 | news800 | news900) | |
875 | basic_machine=m68k-sony | |
876 | os=-newsos | |
877 | ;; | |
878 | news1000) | |
879 | basic_machine=m68030-sony | |
880 | os=-newsos | |
881 | ;; | |
882 | news-3600 | risc-news) | |
883 | basic_machine=mips-sony | |
884 | os=-newsos | |
885 | ;; | |
886 | necv70) | |
887 | basic_machine=v70-nec | |
888 | os=-sysv | |
889 | ;; | |
890 | next | m*-next ) | |
891 | basic_machine=m68k-next | |
892 | case $os in | |
893 | -nextstep* ) | |
894 | ;; | |
895 | -ns2*) | |
896 | os=-nextstep2 | |
897 | ;; | |
898 | *) | |
899 | os=-nextstep3 | |
900 | ;; | |
901 | esac | |
902 | ;; | |
903 | nh3000) | |
904 | basic_machine=m68k-harris | |
905 | os=-cxux | |
906 | ;; | |
907 | nh[45]000) | |
908 | basic_machine=m88k-harris | |
909 | os=-cxux | |
910 | ;; | |
911 | nindy960) | |
912 | basic_machine=i960-intel | |
913 | os=-nindy | |
914 | ;; | |
915 | mon960) | |
916 | basic_machine=i960-intel | |
917 | os=-mon960 | |
918 | ;; | |
919 | nonstopux) | |
920 | basic_machine=mips-compaq | |
921 | os=-nonstopux | |
922 | ;; | |
923 | np1) | |
924 | basic_machine=np1-gould | |
925 | ;; | |
926 | neo-tandem) | |
927 | basic_machine=neo-tandem | |
928 | ;; | |
929 | nse-tandem) | |
930 | basic_machine=nse-tandem | |
931 | ;; | |
932 | nsr-tandem) | |
933 | basic_machine=nsr-tandem | |
934 | ;; | |
935 | op50n-* | op60c-*) | |
936 | basic_machine=hppa1.1-oki | |
937 | os=-proelf | |
938 | ;; | |
939 | openrisc | openrisc-*) | |
940 | basic_machine=or32-unknown | |
941 | ;; | |
942 | os400) | |
943 | basic_machine=powerpc-ibm | |
944 | os=-os400 | |
945 | ;; | |
946 | OSE68000 | ose68000) | |
947 | basic_machine=m68000-ericsson | |
948 | os=-ose | |
949 | ;; | |
950 | os68k) | |
951 | basic_machine=m68k-none | |
952 | os=-os68k | |
953 | ;; | |
954 | pa-hitachi) | |
955 | basic_machine=hppa1.1-hitachi | |
956 | os=-hiuxwe2 | |
957 | ;; | |
958 | paragon) | |
959 | basic_machine=i860-intel | |
960 | os=-osf | |
961 | ;; | |
962 | parisc) | |
963 | basic_machine=hppa-unknown | |
964 | os=-linux | |
965 | ;; | |
966 | parisc-*) | |
967 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
968 | os=-linux | |
969 | ;; | |
970 | pbd) | |
971 | basic_machine=sparc-tti | |
972 | ;; | |
973 | pbb) | |
974 | basic_machine=m68k-tti | |
975 | ;; | |
976 | pc532 | pc532-*) | |
977 | basic_machine=ns32k-pc532 | |
978 | ;; | |
979 | pc98) | |
980 | basic_machine=i386-pc | |
981 | ;; | |
982 | pc98-*) | |
983 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
984 | ;; | |
985 | pentium | p5 | k5 | k6 | nexgen | viac3) | |
986 | basic_machine=i586-pc | |
987 | ;; | |
988 | pentiumpro | p6 | 6x86 | athlon | athlon_*) | |
989 | basic_machine=i686-pc | |
990 | ;; | |
991 | pentiumii | pentium2 | pentiumiii | pentium3) | |
992 | basic_machine=i686-pc | |
993 | ;; | |
994 | pentium4) | |
995 | basic_machine=i786-pc | |
996 | ;; | |
997 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) | |
998 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
999 | ;; | |
1000 | pentiumpro-* | p6-* | 6x86-* | athlon-*) | |
1001 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1002 | ;; | |
1003 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) | |
1004 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1005 | ;; | |
1006 | pentium4-*) | |
1007 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1008 | ;; | |
1009 | pn) | |
1010 | basic_machine=pn-gould | |
1011 | ;; | |
1012 | power) basic_machine=power-ibm | |
1013 | ;; | |
1014 | ppc | ppcbe) basic_machine=powerpc-unknown | |
1015 | ;; | |
1016 | ppc-* | ppcbe-*) | |
1017 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1018 | ;; | |
1019 | ppcle | powerpclittle | ppc-le | powerpc-little) | |
1020 | basic_machine=powerpcle-unknown | |
1021 | ;; | |
1022 | ppcle-* | powerpclittle-*) | |
1023 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1024 | ;; | |
1025 | ppc64) basic_machine=powerpc64-unknown | |
1026 | ;; | |
1027 | ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1028 | ;; | |
1029 | ppc64le | powerpc64little | ppc64-le | powerpc64-little) | |
1030 | basic_machine=powerpc64le-unknown | |
1031 | ;; | |
1032 | ppc64le-* | powerpc64little-*) | |
1033 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1034 | ;; | |
1035 | ps2) | |
1036 | basic_machine=i386-ibm | |
1037 | ;; | |
1038 | pw32) | |
1039 | basic_machine=i586-unknown | |
1040 | os=-pw32 | |
1041 | ;; | |
1042 | rdos | rdos64) | |
1043 | basic_machine=x86_64-pc | |
1044 | os=-rdos | |
1045 | ;; | |
1046 | rdos32) | |
1047 | basic_machine=i386-pc | |
1048 | os=-rdos | |
1049 | ;; | |
1050 | rom68k) | |
1051 | basic_machine=m68k-rom68k | |
1052 | os=-coff | |
1053 | ;; | |
1054 | rm[46]00) | |
1055 | basic_machine=mips-siemens | |
1056 | ;; | |
1057 | rtpc | rtpc-*) | |
1058 | basic_machine=romp-ibm | |
1059 | ;; | |
1060 | s390 | s390-*) | |
1061 | basic_machine=s390-ibm | |
1062 | ;; | |
1063 | s390x | s390x-*) | |
1064 | basic_machine=s390x-ibm | |
1065 | ;; | |
1066 | sa29200) | |
1067 | basic_machine=a29k-amd | |
1068 | os=-udi | |
1069 | ;; | |
1070 | sb1) | |
1071 | basic_machine=mipsisa64sb1-unknown | |
1072 | ;; | |
1073 | sb1el) | |
1074 | basic_machine=mipsisa64sb1el-unknown | |
1075 | ;; | |
1076 | sde) | |
1077 | basic_machine=mipsisa32-sde | |
1078 | os=-elf | |
1079 | ;; | |
1080 | sei) | |
1081 | basic_machine=mips-sei | |
1082 | os=-seiux | |
1083 | ;; | |
1084 | sequent) | |
1085 | basic_machine=i386-sequent | |
1086 | ;; | |
1087 | sh) | |
1088 | basic_machine=sh-hitachi | |
1089 | os=-hms | |
1090 | ;; | |
1091 | sh5el) | |
1092 | basic_machine=sh5le-unknown | |
1093 | ;; | |
1094 | sh64) | |
1095 | basic_machine=sh64-unknown | |
1096 | ;; | |
1097 | sparclite-wrs | simso-wrs) | |
1098 | basic_machine=sparclite-wrs | |
1099 | os=-vxworks | |
1100 | ;; | |
1101 | sps7) | |
1102 | basic_machine=m68k-bull | |
1103 | os=-sysv2 | |
1104 | ;; | |
1105 | spur) | |
1106 | basic_machine=spur-unknown | |
1107 | ;; | |
1108 | st2000) | |
1109 | basic_machine=m68k-tandem | |
1110 | ;; | |
1111 | stratus) | |
1112 | basic_machine=i860-stratus | |
1113 | os=-sysv4 | |
1114 | ;; | |
1115 | strongarm-* | thumb-*) | |
1116 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1117 | ;; | |
1118 | sun2) | |
1119 | basic_machine=m68000-sun | |
1120 | ;; | |
1121 | sun2os3) | |
1122 | basic_machine=m68000-sun | |
1123 | os=-sunos3 | |
1124 | ;; | |
1125 | sun2os4) | |
1126 | basic_machine=m68000-sun | |
1127 | os=-sunos4 | |
1128 | ;; | |
1129 | sun3os3) | |
1130 | basic_machine=m68k-sun | |
1131 | os=-sunos3 | |
1132 | ;; | |
1133 | sun3os4) | |
1134 | basic_machine=m68k-sun | |
1135 | os=-sunos4 | |
1136 | ;; | |
1137 | sun4os3) | |
1138 | basic_machine=sparc-sun | |
1139 | os=-sunos3 | |
1140 | ;; | |
1141 | sun4os4) | |
1142 | basic_machine=sparc-sun | |
1143 | os=-sunos4 | |
1144 | ;; | |
1145 | sun4sol2) | |
1146 | basic_machine=sparc-sun | |
1147 | os=-solaris2 | |
1148 | ;; | |
1149 | sun3 | sun3-*) | |
1150 | basic_machine=m68k-sun | |
1151 | ;; | |
1152 | sun4) | |
1153 | basic_machine=sparc-sun | |
1154 | ;; | |
1155 | sun386 | sun386i | roadrunner) | |
1156 | basic_machine=i386-sun | |
1157 | ;; | |
1158 | sv1) | |
1159 | basic_machine=sv1-cray | |
1160 | os=-unicos | |
1161 | ;; | |
1162 | symmetry) | |
1163 | basic_machine=i386-sequent | |
1164 | os=-dynix | |
1165 | ;; | |
1166 | t3e) | |
1167 | basic_machine=alphaev5-cray | |
1168 | os=-unicos | |
1169 | ;; | |
1170 | t90) | |
1171 | basic_machine=t90-cray | |
1172 | os=-unicos | |
1173 | ;; | |
1174 | tile*) | |
1175 | basic_machine=$basic_machine-unknown | |
1176 | os=-linux-gnu | |
1177 | ;; | |
1178 | tx39) | |
1179 | basic_machine=mipstx39-unknown | |
1180 | ;; | |
1181 | tx39el) | |
1182 | basic_machine=mipstx39el-unknown | |
1183 | ;; | |
1184 | toad1) | |
1185 | basic_machine=pdp10-xkl | |
1186 | os=-tops20 | |
1187 | ;; | |
1188 | tower | tower-32) | |
1189 | basic_machine=m68k-ncr | |
1190 | ;; | |
1191 | tpf) | |
1192 | basic_machine=s390x-ibm | |
1193 | os=-tpf | |
1194 | ;; | |
1195 | udi29k) | |
1196 | basic_machine=a29k-amd | |
1197 | os=-udi | |
1198 | ;; | |
1199 | ultra3) | |
1200 | basic_machine=a29k-nyu | |
1201 | os=-sym1 | |
1202 | ;; | |
1203 | v810 | necv810) | |
1204 | basic_machine=v810-nec | |
1205 | os=-none | |
1206 | ;; | |
1207 | vaxv) | |
1208 | basic_machine=vax-dec | |
1209 | os=-sysv | |
1210 | ;; | |
1211 | vms) | |
1212 | basic_machine=vax-dec | |
1213 | os=-vms | |
1214 | ;; | |
1215 | vpp*|vx|vx-*) | |
1216 | basic_machine=f301-fujitsu | |
1217 | ;; | |
1218 | vxworks960) | |
1219 | basic_machine=i960-wrs | |
1220 | os=-vxworks | |
1221 | ;; | |
1222 | vxworks68) | |
1223 | basic_machine=m68k-wrs | |
1224 | os=-vxworks | |
1225 | ;; | |
1226 | vxworks29k) | |
1227 | basic_machine=a29k-wrs | |
1228 | os=-vxworks | |
1229 | ;; | |
1230 | w65*) | |
1231 | basic_machine=w65-wdc | |
1232 | os=-none | |
1233 | ;; | |
1234 | w89k-*) | |
1235 | basic_machine=hppa1.1-winbond | |
1236 | os=-proelf | |
1237 | ;; | |
1238 | xbox) | |
1239 | basic_machine=i686-pc | |
1240 | os=-mingw32 | |
1241 | ;; | |
1242 | xps | xps100) | |
1243 | basic_machine=xps100-honeywell | |
1244 | ;; | |
1245 | xscale-* | xscalee[bl]-*) | |
1246 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1247 | ;; | |
1248 | ymp) | |
1249 | basic_machine=ymp-cray | |
1250 | os=-unicos | |
1251 | ;; | |
1252 | z8k-*-coff) | |
1253 | basic_machine=z8k-unknown | |
1254 | os=-sim | |
1255 | ;; | |
1256 | z80-*-coff) | |
1257 | basic_machine=z80-unknown | |
1258 | os=-sim | |
1259 | ;; | |
1260 | none) | |
1261 | basic_machine=none-none | |
1262 | os=-none | |
1263 | ;; | |
1264 | ||
1265 | # Here we handle the default manufacturer of certain CPU types. It is in | |
1266 | # some cases the only manufacturer, in others, it is the most popular. | |
1267 | w89k) | |
1268 | basic_machine=hppa1.1-winbond | |
1269 | ;; | |
1270 | op50n) | |
1271 | basic_machine=hppa1.1-oki | |
1272 | ;; | |
1273 | op60c) | |
1274 | basic_machine=hppa1.1-oki | |
1275 | ;; | |
1276 | romp) | |
1277 | basic_machine=romp-ibm | |
1278 | ;; | |
1279 | mmix) | |
1280 | basic_machine=mmix-knuth | |
1281 | ;; | |
1282 | rs6000) | |
1283 | basic_machine=rs6000-ibm | |
1284 | ;; | |
1285 | vax) | |
1286 | basic_machine=vax-dec | |
1287 | ;; | |
1288 | pdp10) | |
1289 | # there are many clones, so DEC is not a safe bet | |
1290 | basic_machine=pdp10-unknown | |
1291 | ;; | |
1292 | pdp11) | |
1293 | basic_machine=pdp11-dec | |
1294 | ;; | |
1295 | we32k) | |
1296 | basic_machine=we32k-att | |
1297 | ;; | |
1298 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) | |
1299 | basic_machine=sh-unknown | |
1300 | ;; | |
1301 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1302 | basic_machine=sparc-sun | |
1303 | ;; | |
1304 | cydra) | |
1305 | basic_machine=cydra-cydrome | |
1306 | ;; | |
1307 | orion) | |
1308 | basic_machine=orion-highlevel | |
1309 | ;; | |
1310 | orion105) | |
1311 | basic_machine=clipper-highlevel | |
1312 | ;; | |
1313 | mac | mpw | mac-mpw) | |
1314 | basic_machine=m68k-apple | |
1315 | ;; | |
1316 | pmac | pmac-mpw) | |
1317 | basic_machine=powerpc-apple | |
1318 | ;; | |
1319 | *-unknown) | |
1320 | # Make sure to match an already-canonicalized machine name. | |
1321 | ;; | |
1322 | *) | |
1323 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1324 | exit 1 | |
1325 | ;; | |
1326 | esac | |
1327 | ||
1328 | # Here we canonicalize certain aliases for manufacturers. | |
1329 | case $basic_machine in | |
1330 | *-digital*) | |
1331 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1332 | ;; | |
1333 | *-commodore*) | |
1334 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1335 | ;; | |
1336 | *) | |
1337 | ;; | |
1338 | esac | |
1339 | ||
1340 | # Decode manufacturer-specific aliases for certain operating systems. | |
1341 | ||
1342 | if [ x"$os" != x"" ] | |
1343 | then | |
1344 | case $os in | |
1345 | # First match some system type aliases | |
1346 | # that might get confused with valid system types. | |
1347 | # -solaris* is a basic system type, with this one exception. | |
1348 | -auroraux) | |
1349 | os=-auroraux | |
1350 | ;; | |
1351 | -solaris1 | -solaris1.*) | |
1352 | os=`echo $os | sed -e 's|solaris1|sunos4|'` | |
1353 | ;; | |
1354 | -solaris) | |
1355 | os=-solaris2 | |
1356 | ;; | |
1357 | -svr4*) | |
1358 | os=-sysv4 | |
1359 | ;; | |
1360 | -unixware*) | |
1361 | os=-sysv4.2uw | |
1362 | ;; | |
1363 | -gnu/linux*) | |
1364 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` | |
1365 | ;; | |
1366 | # First accept the basic system types. | |
1367 | # The portable systems comes first. | |
1368 | # Each alternative MUST END IN A *, to match a version number. | |
1369 | # -sysv* is not here because it comes later, after sysvr4. | |
1370 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | |
1371 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | |
1372 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | |
1373 | | -sym* | -kopensolaris* | -plan9* \ | |
1374 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | |
1375 | | -aos* | -aros* \ | |
1376 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | |
1377 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | |
1378 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1379 | | -bitrig* | -openbsd* | -solidbsd* \ | |
1380 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | |
1381 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | |
1382 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | |
1383 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | |
1384 | | -chorusos* | -chorusrdb* | -cegcc* \ | |
1385 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1386 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | |
1387 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | |
1388 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | |
1389 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1390 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | |
1391 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | |
1392 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | |
1393 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1394 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | |
1395 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) | |
1396 | # Remember, each alternative MUST END IN *, to match a version number. | |
1397 | ;; | |
1398 | -qnx*) | |
1399 | case $basic_machine in | |
1400 | x86-* | i*86-*) | |
1401 | ;; | |
1402 | *) | |
1403 | os=-nto$os | |
1404 | ;; | |
1405 | esac | |
1406 | ;; | |
1407 | -nto-qnx*) | |
1408 | ;; | |
1409 | -nto*) | |
1410 | os=`echo $os | sed -e 's|nto|nto-qnx|'` | |
1411 | ;; | |
1412 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | |
1413 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | |
1414 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | |
1415 | ;; | |
1416 | -mac*) | |
1417 | os=`echo $os | sed -e 's|mac|macos|'` | |
1418 | ;; | |
1419 | -linux-dietlibc) | |
1420 | os=-linux-dietlibc | |
1421 | ;; | |
1422 | -linux*) | |
1423 | os=`echo $os | sed -e 's|linux|linux-gnu|'` | |
1424 | ;; | |
1425 | -sunos5*) | |
1426 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1427 | ;; | |
1428 | -sunos6*) | |
1429 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1430 | ;; | |
1431 | -opened*) | |
1432 | os=-openedition | |
1433 | ;; | |
1434 | -os400*) | |
1435 | os=-os400 | |
1436 | ;; | |
1437 | -wince*) | |
1438 | os=-wince | |
1439 | ;; | |
1440 | -osfrose*) | |
1441 | os=-osfrose | |
1442 | ;; | |
1443 | -osf*) | |
1444 | os=-osf | |
1445 | ;; | |
1446 | -utek*) | |
1447 | os=-bsd | |
1448 | ;; | |
1449 | -dynix*) | |
1450 | os=-bsd | |
1451 | ;; | |
1452 | -acis*) | |
1453 | os=-aos | |
1454 | ;; | |
1455 | -atheos*) | |
1456 | os=-atheos | |
1457 | ;; | |
1458 | -syllable*) | |
1459 | os=-syllable | |
1460 | ;; | |
1461 | -386bsd) | |
1462 | os=-bsd | |
1463 | ;; | |
1464 | -ctix* | -uts*) | |
1465 | os=-sysv | |
1466 | ;; | |
1467 | -nova*) | |
1468 | os=-rtmk-nova | |
1469 | ;; | |
1470 | -ns2 ) | |
1471 | os=-nextstep2 | |
1472 | ;; | |
1473 | -nsk*) | |
1474 | os=-nsk | |
1475 | ;; | |
1476 | # Preserve the version number of sinix5. | |
1477 | -sinix5.*) | |
1478 | os=`echo $os | sed -e 's|sinix|sysv|'` | |
1479 | ;; | |
1480 | -sinix*) | |
1481 | os=-sysv4 | |
1482 | ;; | |
1483 | -tpf*) | |
1484 | os=-tpf | |
1485 | ;; | |
1486 | -triton*) | |
1487 | os=-sysv3 | |
1488 | ;; | |
1489 | -oss*) | |
1490 | os=-sysv3 | |
1491 | ;; | |
1492 | -svr4) | |
1493 | os=-sysv4 | |
1494 | ;; | |
1495 | -svr3) | |
1496 | os=-sysv3 | |
1497 | ;; | |
1498 | -sysvr4) | |
1499 | os=-sysv4 | |
1500 | ;; | |
1501 | # This must come after -sysvr4. | |
1502 | -sysv*) | |
1503 | ;; | |
1504 | -ose*) | |
1505 | os=-ose | |
1506 | ;; | |
1507 | -es1800*) | |
1508 | os=-ose | |
1509 | ;; | |
1510 | -xenix) | |
1511 | os=-xenix | |
1512 | ;; | |
1513 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | |
1514 | os=-mint | |
1515 | ;; | |
1516 | -aros*) | |
1517 | os=-aros | |
1518 | ;; | |
1519 | -zvmoe) | |
1520 | os=-zvmoe | |
1521 | ;; | |
1522 | -dicos*) | |
1523 | os=-dicos | |
1524 | ;; | |
1525 | -nacl*) | |
1526 | ;; | |
1527 | -none) | |
1528 | ;; | |
1529 | *) | |
1530 | # Get rid of the `-' at the beginning of $os. | |
1531 | os=`echo $os | sed 's/[^-]*-//'` | |
1532 | echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1533 | exit 1 | |
1534 | ;; | |
1535 | esac | |
1536 | else | |
1537 | ||
1538 | # Here we handle the default operating systems that come with various machines. | |
1539 | # The value should be what the vendor currently ships out the door with their | |
1540 | # machine or put another way, the most popular os provided with the machine. | |
1541 | ||
1542 | # Note that if you're going to try to match "-MANUFACTURER" here (say, | |
1543 | # "-sun"), then you have to tell the case statement up towards the top | |
1544 | # that MANUFACTURER isn't an operating system. Otherwise, code above | |
1545 | # will signal an error saying that MANUFACTURER isn't an operating | |
1546 | # system, and we'll never get to this point. | |
1547 | ||
1548 | case $basic_machine in | |
1549 | score-*) | |
1550 | os=-elf | |
1551 | ;; | |
1552 | spu-*) | |
1553 | os=-elf | |
1554 | ;; | |
1555 | *-acorn) | |
1556 | os=-riscix1.2 | |
1557 | ;; | |
1558 | arm*-rebel) | |
1559 | os=-linux | |
1560 | ;; | |
1561 | arm*-semi) | |
1562 | os=-aout | |
1563 | ;; | |
1564 | c4x-* | tic4x-*) | |
1565 | os=-coff | |
1566 | ;; | |
1567 | c8051-*) | |
1568 | os=-elf | |
1569 | ;; | |
1570 | hexagon-*) | |
1571 | os=-elf | |
1572 | ;; | |
1573 | tic54x-*) | |
1574 | os=-coff | |
1575 | ;; | |
1576 | tic55x-*) | |
1577 | os=-coff | |
1578 | ;; | |
1579 | tic6x-*) | |
1580 | os=-coff | |
1581 | ;; | |
1582 | # This must come before the *-dec entry. | |
1583 | pdp10-*) | |
1584 | os=-tops20 | |
1585 | ;; | |
1586 | pdp11-*) | |
1587 | os=-none | |
1588 | ;; | |
1589 | *-dec | vax-*) | |
1590 | os=-ultrix4.2 | |
1591 | ;; | |
1592 | m68*-apollo) | |
1593 | os=-domain | |
1594 | ;; | |
1595 | i386-sun) | |
1596 | os=-sunos4.0.2 | |
1597 | ;; | |
1598 | m68000-sun) | |
1599 | os=-sunos3 | |
1600 | ;; | |
1601 | m68*-cisco) | |
1602 | os=-aout | |
1603 | ;; | |
1604 | mep-*) | |
1605 | os=-elf | |
1606 | ;; | |
1607 | mips*-cisco) | |
1608 | os=-elf | |
1609 | ;; | |
1610 | mips*-*) | |
1611 | os=-elf | |
1612 | ;; | |
1613 | or32-*) | |
1614 | os=-coff | |
1615 | ;; | |
1616 | *-tti) # must be before sparc entry or we get the wrong os. | |
1617 | os=-sysv3 | |
1618 | ;; | |
1619 | sparc-* | *-sun) | |
1620 | os=-sunos4.1.1 | |
1621 | ;; | |
1622 | *-be) | |
1623 | os=-beos | |
1624 | ;; | |
1625 | *-haiku) | |
1626 | os=-haiku | |
1627 | ;; | |
1628 | *-ibm) | |
1629 | os=-aix | |
1630 | ;; | |
1631 | *-knuth) | |
1632 | os=-mmixware | |
1633 | ;; | |
1634 | *-wec) | |
1635 | os=-proelf | |
1636 | ;; | |
1637 | *-winbond) | |
1638 | os=-proelf | |
1639 | ;; | |
1640 | *-oki) | |
1641 | os=-proelf | |
1642 | ;; | |
1643 | *-hp) | |
1644 | os=-hpux | |
1645 | ;; | |
1646 | *-hitachi) | |
1647 | os=-hiux | |
1648 | ;; | |
1649 | i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) | |
1650 | os=-sysv | |
1651 | ;; | |
1652 | *-cbm) | |
1653 | os=-amigaos | |
1654 | ;; | |
1655 | *-dg) | |
1656 | os=-dgux | |
1657 | ;; | |
1658 | *-dolphin) | |
1659 | os=-sysv3 | |
1660 | ;; | |
1661 | m68k-ccur) | |
1662 | os=-rtu | |
1663 | ;; | |
1664 | m88k-omron*) | |
1665 | os=-luna | |
1666 | ;; | |
1667 | *-next ) | |
1668 | os=-nextstep | |
1669 | ;; | |
1670 | *-sequent) | |
1671 | os=-ptx | |
1672 | ;; | |
1673 | *-crds) | |
1674 | os=-unos | |
1675 | ;; | |
1676 | *-ns) | |
1677 | os=-genix | |
1678 | ;; | |
1679 | i370-*) | |
1680 | os=-mvs | |
1681 | ;; | |
1682 | *-next) | |
1683 | os=-nextstep3 | |
1684 | ;; | |
1685 | *-gould) | |
1686 | os=-sysv | |
1687 | ;; | |
1688 | *-highlevel) | |
1689 | os=-bsd | |
1690 | ;; | |
1691 | *-encore) | |
1692 | os=-bsd | |
1693 | ;; | |
1694 | *-sgi) | |
1695 | os=-irix | |
1696 | ;; | |
1697 | *-siemens) | |
1698 | os=-sysv4 | |
1699 | ;; | |
1700 | *-masscomp) | |
1701 | os=-rtu | |
1702 | ;; | |
1703 | f30[01]-fujitsu | f700-fujitsu) | |
1704 | os=-uxpv | |
1705 | ;; | |
1706 | *-rom68k) | |
1707 | os=-coff | |
1708 | ;; | |
1709 | *-*bug) | |
1710 | os=-coff | |
1711 | ;; | |
1712 | *-apple) | |
1713 | os=-macos | |
1714 | ;; | |
1715 | *-atari*) | |
1716 | os=-mint | |
1717 | ;; | |
1718 | *) | |
1719 | os=-none | |
1720 | ;; | |
1721 | esac | |
1722 | fi | |
1723 | ||
1724 | # Here we handle the case where we know the os, and the CPU type, but not the | |
1725 | # manufacturer. We pick the logical manufacturer. | |
1726 | vendor=unknown | |
1727 | case $basic_machine in | |
1728 | *-unknown) | |
1729 | case $os in | |
1730 | -riscix*) | |
1731 | vendor=acorn | |
1732 | ;; | |
1733 | -sunos*) | |
1734 | vendor=sun | |
1735 | ;; | |
1736 | -cnk*|-aix*) | |
1737 | vendor=ibm | |
1738 | ;; | |
1739 | -beos*) | |
1740 | vendor=be | |
1741 | ;; | |
1742 | -hpux*) | |
1743 | vendor=hp | |
1744 | ;; | |
1745 | -mpeix*) | |
1746 | vendor=hp | |
1747 | ;; | |
1748 | -hiux*) | |
1749 | vendor=hitachi | |
1750 | ;; | |
1751 | -unos*) | |
1752 | vendor=crds | |
1753 | ;; | |
1754 | -dgux*) | |
1755 | vendor=dg | |
1756 | ;; | |
1757 | -luna*) | |
1758 | vendor=omron | |
1759 | ;; | |
1760 | -genix*) | |
1761 | vendor=ns | |
1762 | ;; | |
1763 | -mvs* | -opened*) | |
1764 | vendor=ibm | |
1765 | ;; | |
1766 | -os400*) | |
1767 | vendor=ibm | |
1768 | ;; | |
1769 | -ptx*) | |
1770 | vendor=sequent | |
1771 | ;; | |
1772 | -tpf*) | |
1773 | vendor=ibm | |
1774 | ;; | |
1775 | -vxsim* | -vxworks* | -windiss*) | |
1776 | vendor=wrs | |
1777 | ;; | |
1778 | -aux*) | |
1779 | vendor=apple | |
1780 | ;; | |
1781 | -hms*) | |
1782 | vendor=hitachi | |
1783 | ;; | |
1784 | -mpw* | -macos*) | |
1785 | vendor=apple | |
1786 | ;; | |
1787 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) | |
1788 | vendor=atari | |
1789 | ;; | |
1790 | -vos*) | |
1791 | vendor=stratus | |
1792 | ;; | |
1793 | esac | |
1794 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1795 | ;; | |
1796 | esac | |
1797 | ||
1798 | echo $basic_machine$os | |
1799 | exit | |
1800 | ||
1801 | # Local variables: | |
1802 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1803 | # time-stamp-start: "timestamp='" | |
1804 | # time-stamp-format: "%:y-%02m-%02d" | |
1805 | # time-stamp-end: "'" | |
1806 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for gnome-shell-extensions 3.20.1. | |
2 | # Generated by GNU Autoconf 2.69 for gnome-shell-extensions 3.21.91. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions>. |
5 | 5 | # |
196 | 196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
197 | 197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
198 | 198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
199 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" | |
199 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
200 | test \$(( 1 + 1 )) = 2 || exit 1" | |
200 | 201 | if (eval "$as_required") 2>/dev/null; then : |
201 | 202 | as_have_required=yes |
202 | 203 | else |
579 | 580 | # Identity of this package. |
580 | 581 | PACKAGE_NAME='gnome-shell-extensions' |
581 | 582 | PACKAGE_TARNAME='gnome-shell-extensions' |
582 | PACKAGE_VERSION='3.20.1' | |
583 | PACKAGE_STRING='gnome-shell-extensions 3.20.1' | |
583 | PACKAGE_VERSION='3.21.91' | |
584 | PACKAGE_STRING='gnome-shell-extensions 3.21.91' | |
584 | 585 | PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions' |
585 | 586 | PACKAGE_URL='' |
586 | 587 | |
587 | ac_subst_vars='LTLIBOBJS | |
588 | gt_needs= | |
589 | ac_subst_vars='am__EXEEXT_FALSE | |
590 | am__EXEEXT_TRUE | |
591 | LTLIBOBJS | |
588 | 592 | LIBOBJS |
589 | 593 | SASS |
590 | 594 | ENABLED_EXTENSIONS |
600 | 604 | PKG_CONFIG_LIBDIR |
601 | 605 | PKG_CONFIG_PATH |
602 | 606 | PKG_CONFIG |
603 | ALL_LINGUAS | |
604 | INTLTOOL_PERL | |
607 | POSUB | |
608 | LTLIBINTL | |
609 | LIBINTL | |
610 | INTLLIBS | |
611 | LTLIBICONV | |
612 | LIBICONV | |
613 | INTL_MACOSX_LIBS | |
614 | EGREP | |
615 | GREP | |
616 | CPP | |
617 | host_os | |
618 | host_vendor | |
619 | host_cpu | |
620 | host | |
621 | build_os | |
622 | build_vendor | |
623 | build_cpu | |
624 | build | |
625 | am__fastdepCC_FALSE | |
626 | am__fastdepCC_TRUE | |
627 | CCDEPMODE | |
628 | am__nodep | |
629 | AMDEPBACKSLASH | |
630 | AMDEP_FALSE | |
631 | AMDEP_TRUE | |
632 | am__quote | |
633 | am__include | |
634 | DEPDIR | |
635 | OBJEXT | |
636 | EXEEXT | |
637 | ac_ct_CC | |
638 | CPPFLAGS | |
639 | LDFLAGS | |
640 | CFLAGS | |
641 | CC | |
642 | XGETTEXT_EXTRA_OPTIONS | |
643 | MSGMERGE | |
644 | XGETTEXT_015 | |
645 | XGETTEXT | |
646 | GMSGFMT_015 | |
647 | MSGFMT_015 | |
605 | 648 | GMSGFMT |
606 | 649 | MSGFMT |
607 | MSGMERGE | |
608 | XGETTEXT | |
609 | INTLTOOL_POLICY_RULE | |
610 | INTLTOOL_SERVICE_RULE | |
611 | INTLTOOL_THEME_RULE | |
612 | INTLTOOL_SCHEMAS_RULE | |
613 | INTLTOOL_CAVES_RULE | |
614 | INTLTOOL_XML_NOMERGE_RULE | |
615 | INTLTOOL_XML_RULE | |
616 | INTLTOOL_KBD_RULE | |
617 | INTLTOOL_XAM_RULE | |
618 | INTLTOOL_UI_RULE | |
619 | INTLTOOL_SOUNDLIST_RULE | |
620 | INTLTOOL_SHEET_RULE | |
621 | INTLTOOL_SERVER_RULE | |
622 | INTLTOOL_PONG_RULE | |
623 | INTLTOOL_OAF_RULE | |
624 | INTLTOOL_PROP_RULE | |
625 | INTLTOOL_KEYS_RULE | |
626 | INTLTOOL_DIRECTORY_RULE | |
627 | INTLTOOL_DESKTOP_RULE | |
628 | intltool__v_merge_options_0 | |
629 | intltool__v_merge_options_ | |
630 | INTLTOOL_V_MERGE_OPTIONS | |
631 | INTLTOOL__v_MERGE_0 | |
632 | INTLTOOL__v_MERGE_ | |
633 | INTLTOOL_V_MERGE | |
634 | INTLTOOL_EXTRACT | |
635 | INTLTOOL_MERGE | |
636 | INTLTOOL_UPDATE | |
650 | GETTEXT_MACRO_VERSION | |
637 | 651 | USE_NLS |
652 | SED | |
638 | 653 | GETTEXT_PACKAGE |
639 | 654 | AM_BACKSLASH |
640 | 655 | AM_DEFAULT_VERBOSITY |
706 | 721 | enable_option_checking |
707 | 722 | enable_silent_rules |
708 | 723 | enable_nls |
724 | enable_dependency_tracking | |
725 | with_gnu_ld | |
726 | enable_rpath | |
727 | with_libiconv_prefix | |
728 | with_libintl_prefix | |
709 | 729 | enable_schemas_compile |
710 | 730 | enable_extensions |
711 | 731 | enable_classic_mode |
713 | 733 | ac_precious_vars='build_alias |
714 | 734 | host_alias |
715 | 735 | target_alias |
736 | CC | |
737 | CFLAGS | |
738 | LDFLAGS | |
739 | LIBS | |
740 | CPPFLAGS | |
741 | CPP | |
716 | 742 | PKG_CONFIG |
717 | 743 | PKG_CONFIG_PATH |
718 | 744 | PKG_CONFIG_LIBDIR' |
1256 | 1282 | # Omit some internal or obsolete options to make the list less imposing. |
1257 | 1283 | # This message is too long to be a string in the A/UX 3.1 sh. |
1258 | 1284 | cat <<_ACEOF |
1259 | \`configure' configures gnome-shell-extensions 3.20.1 to adapt to many kinds of systems. | |
1285 | \`configure' configures gnome-shell-extensions 3.21.91 to adapt to many kinds of systems. | |
1260 | 1286 | |
1261 | 1287 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1262 | 1288 | |
1318 | 1344 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1319 | 1345 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1320 | 1346 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1347 | ||
1348 | System types: | |
1349 | --build=BUILD configure for building on BUILD [guessed] | |
1350 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | |
1321 | 1351 | _ACEOF |
1322 | 1352 | fi |
1323 | 1353 | |
1324 | 1354 | if test -n "$ac_init_help"; then |
1325 | 1355 | case $ac_init_help in |
1326 | short | recursive ) echo "Configuration of gnome-shell-extensions 3.20.1:";; | |
1356 | short | recursive ) echo "Configuration of gnome-shell-extensions 3.21.91:";; | |
1327 | 1357 | esac |
1328 | 1358 | cat <<\_ACEOF |
1329 | 1359 | |
1334 | 1364 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1335 | 1365 | --disable-silent-rules verbose build output (undo: "make V=0") |
1336 | 1366 | --disable-nls do not use Native Language Support |
1367 | --enable-dependency-tracking | |
1368 | do not reject slow dependency extractors | |
1369 | --disable-dependency-tracking | |
1370 | speeds up one-time build | |
1371 | --disable-rpath do not hardcode runtime library paths | |
1337 | 1372 | --disable-schemas-compile |
1338 | 1373 | Disable regeneration of gschemas.compiled on install |
1339 | 1374 | --enable-extensions Space separated list of extensions to enable. The |
1346 | 1381 | Defaults to yes if enabling all or classic-mode |
1347 | 1382 | extensions, and no otherwise. |
1348 | 1383 | |
1384 | Optional Packages: | |
1385 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1386 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
1387 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |
1388 | --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib | |
1389 | --without-libiconv-prefix don't search for libiconv in includedir and libdir | |
1390 | --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib | |
1391 | --without-libintl-prefix don't search for libintl in includedir and libdir | |
1392 | ||
1349 | 1393 | Some influential environment variables: |
1394 | CC C compiler command | |
1395 | CFLAGS C compiler flags | |
1396 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1397 | nonstandard directory <lib dir> | |
1398 | LIBS libraries to pass to the linker, e.g. -l<library> | |
1399 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1400 | you have headers in a nonstandard directory <include dir> | |
1401 | CPP C preprocessor | |
1350 | 1402 | PKG_CONFIG path to pkg-config utility |
1351 | 1403 | PKG_CONFIG_PATH |
1352 | 1404 | directories to add to pkg-config's search path |
1419 | 1471 | test -n "$ac_init_help" && exit $ac_status |
1420 | 1472 | if $ac_init_version; then |
1421 | 1473 | cat <<\_ACEOF |
1422 | gnome-shell-extensions configure 3.20.1 | |
1474 | gnome-shell-extensions configure 3.21.91 | |
1423 | 1475 | generated by GNU Autoconf 2.69 |
1424 | 1476 | |
1425 | 1477 | Copyright (C) 2012 Free Software Foundation, Inc. |
1432 | 1484 | ## ------------------------ ## |
1433 | 1485 | ## Autoconf initialization. ## |
1434 | 1486 | ## ------------------------ ## |
1487 | ||
1488 | # ac_fn_c_try_compile LINENO | |
1489 | # -------------------------- | |
1490 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1491 | ac_fn_c_try_compile () | |
1492 | { | |
1493 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1494 | rm -f conftest.$ac_objext | |
1495 | if { { ac_try="$ac_compile" | |
1496 | case "(($ac_try" in | |
1497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1498 | *) ac_try_echo=$ac_try;; | |
1499 | esac | |
1500 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1501 | $as_echo "$ac_try_echo"; } >&5 | |
1502 | (eval "$ac_compile") 2>conftest.err | |
1503 | ac_status=$? | |
1504 | if test -s conftest.err; then | |
1505 | grep -v '^ *+' conftest.err >conftest.er1 | |
1506 | cat conftest.er1 >&5 | |
1507 | mv -f conftest.er1 conftest.err | |
1508 | fi | |
1509 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1510 | test $ac_status = 0; } && { | |
1511 | test -z "$ac_c_werror_flag" || | |
1512 | test ! -s conftest.err | |
1513 | } && test -s conftest.$ac_objext; then : | |
1514 | ac_retval=0 | |
1515 | else | |
1516 | $as_echo "$as_me: failed program was:" >&5 | |
1517 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1518 | ||
1519 | ac_retval=1 | |
1520 | fi | |
1521 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1522 | as_fn_set_status $ac_retval | |
1523 | ||
1524 | } # ac_fn_c_try_compile | |
1525 | ||
1526 | # ac_fn_c_try_cpp LINENO | |
1527 | # ---------------------- | |
1528 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1529 | ac_fn_c_try_cpp () | |
1530 | { | |
1531 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1532 | if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1533 | case "(($ac_try" in | |
1534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1535 | *) ac_try_echo=$ac_try;; | |
1536 | esac | |
1537 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1538 | $as_echo "$ac_try_echo"; } >&5 | |
1539 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1540 | ac_status=$? | |
1541 | if test -s conftest.err; then | |
1542 | grep -v '^ *+' conftest.err >conftest.er1 | |
1543 | cat conftest.er1 >&5 | |
1544 | mv -f conftest.er1 conftest.err | |
1545 | fi | |
1546 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1547 | test $ac_status = 0; } > conftest.i && { | |
1548 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1549 | test ! -s conftest.err | |
1550 | }; then : | |
1551 | ac_retval=0 | |
1552 | else | |
1553 | $as_echo "$as_me: failed program was:" >&5 | |
1554 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1555 | ||
1556 | ac_retval=1 | |
1557 | fi | |
1558 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1559 | as_fn_set_status $ac_retval | |
1560 | ||
1561 | } # ac_fn_c_try_cpp | |
1562 | ||
1563 | # ac_fn_c_try_link LINENO | |
1564 | # ----------------------- | |
1565 | # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1566 | ac_fn_c_try_link () | |
1567 | { | |
1568 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1569 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1570 | if { { ac_try="$ac_link" | |
1571 | case "(($ac_try" in | |
1572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1573 | *) ac_try_echo=$ac_try;; | |
1574 | esac | |
1575 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1576 | $as_echo "$ac_try_echo"; } >&5 | |
1577 | (eval "$ac_link") 2>conftest.err | |
1578 | ac_status=$? | |
1579 | if test -s conftest.err; then | |
1580 | grep -v '^ *+' conftest.err >conftest.er1 | |
1581 | cat conftest.er1 >&5 | |
1582 | mv -f conftest.er1 conftest.err | |
1583 | fi | |
1584 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1585 | test $ac_status = 0; } && { | |
1586 | test -z "$ac_c_werror_flag" || | |
1587 | test ! -s conftest.err | |
1588 | } && test -s conftest$ac_exeext && { | |
1589 | test "$cross_compiling" = yes || | |
1590 | test -x conftest$ac_exeext | |
1591 | }; then : | |
1592 | ac_retval=0 | |
1593 | else | |
1594 | $as_echo "$as_me: failed program was:" >&5 | |
1595 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1596 | ||
1597 | ac_retval=1 | |
1598 | fi | |
1599 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1600 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1601 | # interfere with the next link command; also delete a directory that is | |
1602 | # left behind by Apple's compiler. We do this before executing the actions. | |
1603 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1604 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1605 | as_fn_set_status $ac_retval | |
1606 | ||
1607 | } # ac_fn_c_try_link | |
1608 | ||
1609 | # ac_fn_c_try_run LINENO | |
1610 | # ---------------------- | |
1611 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1612 | # that executables *can* be run. | |
1613 | ac_fn_c_try_run () | |
1614 | { | |
1615 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1616 | if { { ac_try="$ac_link" | |
1617 | case "(($ac_try" in | |
1618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1619 | *) ac_try_echo=$ac_try;; | |
1620 | esac | |
1621 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1622 | $as_echo "$ac_try_echo"; } >&5 | |
1623 | (eval "$ac_link") 2>&5 | |
1624 | ac_status=$? | |
1625 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1626 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1627 | { { case "(($ac_try" in | |
1628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1629 | *) ac_try_echo=$ac_try;; | |
1630 | esac | |
1631 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1632 | $as_echo "$ac_try_echo"; } >&5 | |
1633 | (eval "$ac_try") 2>&5 | |
1634 | ac_status=$? | |
1635 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1636 | test $ac_status = 0; }; }; then : | |
1637 | ac_retval=0 | |
1638 | else | |
1639 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1640 | $as_echo "$as_me: failed program was:" >&5 | |
1641 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1642 | ||
1643 | ac_retval=$ac_status | |
1644 | fi | |
1645 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1646 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1647 | as_fn_set_status $ac_retval | |
1648 | ||
1649 | } # ac_fn_c_try_run | |
1435 | 1650 | cat >config.log <<_ACEOF |
1436 | 1651 | This file contains any messages produced by compilers while |
1437 | 1652 | running configure, to aid debugging if configure makes a mistake. |
1438 | 1653 | |
1439 | It was created by gnome-shell-extensions $as_me 3.20.1, which was | |
1654 | It was created by gnome-shell-extensions $as_me 3.21.91, which was | |
1440 | 1655 | generated by GNU Autoconf 2.69. Invocation command line was |
1441 | 1656 | |
1442 | 1657 | $ $0 $@ |
1716 | 1931 | >$cache_file |
1717 | 1932 | fi |
1718 | 1933 | |
1934 | gt_needs="$gt_needs " | |
1719 | 1935 | # Check that the precious variables saved in the cache have kept the same |
1720 | 1936 | # value. |
1721 | 1937 | ac_cache_corrupted=false |
2302 | 2518 | |
2303 | 2519 | # Define the identity of the package. |
2304 | 2520 | PACKAGE='gnome-shell-extensions' |
2305 | VERSION='3.20.1' | |
2521 | VERSION='3.21.91' | |
2306 | 2522 | |
2307 | 2523 | |
2308 | 2524 | cat >>confdefs.h <<_ACEOF |
2560 | 2776 | _ACEOF |
2561 | 2777 | |
2562 | 2778 | |
2779 | ||
2780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | |
2781 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } | |
2782 | if ${ac_cv_path_SED+:} false; then : | |
2783 | $as_echo_n "(cached) " >&6 | |
2784 | else | |
2785 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | |
2786 | for ac_i in 1 2 3 4 5 6 7; do | |
2787 | ac_script="$ac_script$as_nl$ac_script" | |
2788 | done | |
2789 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | |
2790 | { ac_script=; unset ac_script;} | |
2791 | if test -z "$SED"; then | |
2792 | ac_path_SED_found=false | |
2793 | # Loop through the user's path and test for each of PROGNAME-LIST | |
2794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2795 | for as_dir in $PATH | |
2796 | do | |
2797 | IFS=$as_save_IFS | |
2798 | test -z "$as_dir" && as_dir=. | |
2799 | for ac_prog in sed gsed; do | |
2800 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2801 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | |
2802 | as_fn_executable_p "$ac_path_SED" || continue | |
2803 | # Check for GNU ac_path_SED and select it if it is found. | |
2804 | # Check for GNU $ac_path_SED | |
2805 | case `"$ac_path_SED" --version 2>&1` in | |
2806 | *GNU*) | |
2807 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | |
2808 | *) | |
2809 | ac_count=0 | |
2810 | $as_echo_n 0123456789 >"conftest.in" | |
2811 | while : | |
2812 | do | |
2813 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
2814 | mv "conftest.tmp" "conftest.in" | |
2815 | cp "conftest.in" "conftest.nl" | |
2816 | $as_echo '' >> "conftest.nl" | |
2817 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
2818 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
2819 | as_fn_arith $ac_count + 1 && ac_count=$as_val | |
2820 | if test $ac_count -gt ${ac_path_SED_max-0}; then | |
2821 | # Best one so far, save it but keep looking for a better one | |
2822 | ac_cv_path_SED="$ac_path_SED" | |
2823 | ac_path_SED_max=$ac_count | |
2824 | fi | |
2825 | # 10*(2^10) chars as input seems more than enough | |
2826 | test $ac_count -gt 10 && break | |
2827 | done | |
2828 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
2829 | esac | |
2830 | ||
2831 | $ac_path_SED_found && break 3 | |
2832 | done | |
2833 | done | |
2834 | done | |
2835 | IFS=$as_save_IFS | |
2836 | if test -z "$ac_cv_path_SED"; then | |
2837 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
2838 | fi | |
2839 | else | |
2840 | ac_cv_path_SED=$SED | |
2841 | fi | |
2842 | ||
2843 | fi | |
2844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | |
2845 | $as_echo "$ac_cv_path_SED" >&6; } | |
2846 | SED="$ac_cv_path_SED" | |
2847 | rm -f conftest.sed | |
2848 | ||
2849 | ||
2563 | 2850 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
2564 | 2851 | $as_echo_n "checking whether NLS is requested... " >&6; } |
2565 | 2852 | # Check whether --enable-nls was given. |
2575 | 2862 | |
2576 | 2863 | |
2577 | 2864 | |
2578 | case "$am__api_version" in | |
2579 | 1.01234) | |
2580 | as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 | |
2581 | ;; | |
2582 | *) | |
2583 | ;; | |
2584 | esac | |
2585 | ||
2586 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.26 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` | |
2587 | INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` | |
2588 | INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` | |
2589 | if test -n "0.26"; then | |
2590 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.26" >&5 | |
2591 | $as_echo_n "checking for intltool >= 0.26... " >&6; } | |
2592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 | |
2593 | $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } | |
2594 | test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || | |
2595 | as_fn_error $? "Your intltool is too old. You need intltool 0.26 or later." "$LINENO" 5 | |
2596 | fi | |
2597 | ||
2598 | # Extract the first word of "intltool-update", so it can be a program name with args. | |
2599 | set dummy intltool-update; ac_word=$2 | |
2600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2601 | $as_echo_n "checking for $ac_word... " >&6; } | |
2602 | if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : | |
2603 | $as_echo_n "(cached) " >&6 | |
2604 | else | |
2605 | case $INTLTOOL_UPDATE in | |
2606 | [\\/]* | ?:[\\/]*) | |
2607 | ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. | |
2608 | ;; | |
2609 | *) | |
2610 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2611 | for as_dir in $PATH | |
2612 | do | |
2613 | IFS=$as_save_IFS | |
2614 | test -z "$as_dir" && as_dir=. | |
2615 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2616 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2617 | ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" | |
2618 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2619 | break 2 | |
2620 | fi | |
2621 | done | |
2622 | done | |
2623 | IFS=$as_save_IFS | |
2624 | ||
2625 | ;; | |
2626 | esac | |
2627 | fi | |
2628 | INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE | |
2629 | if test -n "$INTLTOOL_UPDATE"; then | |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 | |
2631 | $as_echo "$INTLTOOL_UPDATE" >&6; } | |
2632 | else | |
2633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2634 | $as_echo "no" >&6; } | |
2635 | fi | |
2636 | ||
2637 | ||
2638 | # Extract the first word of "intltool-merge", so it can be a program name with args. | |
2639 | set dummy intltool-merge; ac_word=$2 | |
2640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2641 | $as_echo_n "checking for $ac_word... " >&6; } | |
2642 | if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : | |
2643 | $as_echo_n "(cached) " >&6 | |
2644 | else | |
2645 | case $INTLTOOL_MERGE in | |
2646 | [\\/]* | ?:[\\/]*) | |
2647 | ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. | |
2648 | ;; | |
2649 | *) | |
2650 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2651 | for as_dir in $PATH | |
2652 | do | |
2653 | IFS=$as_save_IFS | |
2654 | test -z "$as_dir" && as_dir=. | |
2655 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2656 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2657 | ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" | |
2658 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2659 | break 2 | |
2660 | fi | |
2661 | done | |
2662 | done | |
2663 | IFS=$as_save_IFS | |
2664 | ||
2665 | ;; | |
2666 | esac | |
2667 | fi | |
2668 | INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE | |
2669 | if test -n "$INTLTOOL_MERGE"; then | |
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 | |
2671 | $as_echo "$INTLTOOL_MERGE" >&6; } | |
2672 | else | |
2673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2674 | $as_echo "no" >&6; } | |
2675 | fi | |
2676 | ||
2677 | ||
2678 | # Extract the first word of "intltool-extract", so it can be a program name with args. | |
2679 | set dummy intltool-extract; ac_word=$2 | |
2680 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2681 | $as_echo_n "checking for $ac_word... " >&6; } | |
2682 | if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : | |
2683 | $as_echo_n "(cached) " >&6 | |
2684 | else | |
2685 | case $INTLTOOL_EXTRACT in | |
2686 | [\\/]* | ?:[\\/]*) | |
2687 | ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. | |
2688 | ;; | |
2689 | *) | |
2690 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2691 | for as_dir in $PATH | |
2692 | do | |
2693 | IFS=$as_save_IFS | |
2694 | test -z "$as_dir" && as_dir=. | |
2695 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2696 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2697 | ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" | |
2698 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2699 | break 2 | |
2700 | fi | |
2701 | done | |
2702 | done | |
2703 | IFS=$as_save_IFS | |
2704 | ||
2705 | ;; | |
2706 | esac | |
2707 | fi | |
2708 | INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT | |
2709 | if test -n "$INTLTOOL_EXTRACT"; then | |
2710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 | |
2711 | $as_echo "$INTLTOOL_EXTRACT" >&6; } | |
2712 | else | |
2713 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2714 | $as_echo "no" >&6; } | |
2715 | fi | |
2716 | ||
2717 | ||
2718 | if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then | |
2719 | as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 | |
2720 | fi | |
2721 | ||
2722 | if test -z "$AM_DEFAULT_VERBOSITY"; then | |
2723 | AM_DEFAULT_VERBOSITY=1 | |
2724 | fi | |
2725 | ||
2726 | ||
2727 | INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' | |
2728 | INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' | |
2729 | INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' | |
2730 | ||
2731 | ||
2732 | ||
2733 | ||
2734 | INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' | |
2735 | intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' | |
2736 | intltool__v_merge_options_0='-q' | |
2737 | ||
2738 | ||
2739 | ||
2740 | ||
2741 | INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2742 | INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2743 | INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2744 | INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2745 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' | |
2746 | INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2747 | INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2748 | INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2749 | INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2750 | INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2751 | INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2752 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then | |
2753 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' | |
2754 | else | |
2755 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' | |
2756 | fi | |
2757 | INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2758 | INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2759 | INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2760 | INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2761 | INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2762 | INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2763 | INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' | |
2764 | ||
2765 | ||
2766 | ||
2767 | ||
2768 | ||
2769 | ||
2770 | ||
2771 | ||
2772 | ||
2773 | ||
2774 | ||
2775 | ||
2776 | ||
2777 | ||
2778 | ||
2779 | ||
2780 | ||
2781 | ||
2782 | ||
2783 | ||
2784 | ||
2785 | ||
2786 | ||
2787 | ||
2788 | ||
2789 | ||
2790 | ||
2791 | ||
2792 | ||
2793 | ||
2794 | ||
2795 | ||
2796 | ||
2797 | ||
2798 | ||
2799 | ||
2800 | ||
2801 | ||
2802 | ||
2803 | ||
2804 | ||
2805 | ||
2806 | ||
2807 | ||
2808 | ||
2809 | ||
2810 | ||
2811 | ||
2812 | ||
2813 | ||
2814 | ||
2815 | ||
2816 | ||
2817 | ||
2818 | ||
2819 | ||
2820 | ||
2821 | ||
2822 | ||
2823 | ||
2824 | ||
2825 | ||
2826 | ||
2827 | ||
2828 | ||
2829 | ||
2830 | ||
2831 | ||
2832 | ||
2833 | ||
2834 | ||
2835 | ||
2836 | ||
2837 | ||
2838 | ||
2839 | ||
2840 | ||
2841 | ||
2842 | ||
2843 | ||
2844 | ||
2845 | ||
2846 | ||
2847 | ||
2848 | ||
2849 | ||
2850 | ||
2851 | ||
2852 | ||
2853 | ||
2854 | ||
2855 | ||
2856 | ||
2857 | ||
2858 | ||
2859 | ||
2860 | ||
2861 | # Check the gettext tools to make sure they are GNU | |
2862 | # Extract the first word of "xgettext", so it can be a program name with args. | |
2863 | set dummy xgettext; ac_word=$2 | |
2864 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2865 | $as_echo_n "checking for $ac_word... " >&6; } | |
2866 | if ${ac_cv_path_XGETTEXT+:} false; then : | |
2867 | $as_echo_n "(cached) " >&6 | |
2868 | else | |
2869 | case $XGETTEXT in | |
2870 | [\\/]* | ?:[\\/]*) | |
2871 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. | |
2872 | ;; | |
2873 | *) | |
2874 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2875 | for as_dir in $PATH | |
2876 | do | |
2877 | IFS=$as_save_IFS | |
2878 | test -z "$as_dir" && as_dir=. | |
2879 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2880 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2881 | ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" | |
2882 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2883 | break 2 | |
2884 | fi | |
2885 | done | |
2886 | done | |
2887 | IFS=$as_save_IFS | |
2888 | ||
2889 | ;; | |
2890 | esac | |
2891 | fi | |
2892 | XGETTEXT=$ac_cv_path_XGETTEXT | |
2893 | if test -n "$XGETTEXT"; then | |
2894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 | |
2895 | $as_echo "$XGETTEXT" >&6; } | |
2896 | else | |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2898 | $as_echo "no" >&6; } | |
2899 | fi | |
2900 | ||
2901 | ||
2902 | # Extract the first word of "msgmerge", so it can be a program name with args. | |
2903 | set dummy msgmerge; ac_word=$2 | |
2904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2905 | $as_echo_n "checking for $ac_word... " >&6; } | |
2906 | if ${ac_cv_path_MSGMERGE+:} false; then : | |
2907 | $as_echo_n "(cached) " >&6 | |
2908 | else | |
2909 | case $MSGMERGE in | |
2910 | [\\/]* | ?:[\\/]*) | |
2911 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. | |
2912 | ;; | |
2913 | *) | |
2914 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2915 | for as_dir in $PATH | |
2916 | do | |
2917 | IFS=$as_save_IFS | |
2918 | test -z "$as_dir" && as_dir=. | |
2919 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2920 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2921 | ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" | |
2922 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2923 | break 2 | |
2924 | fi | |
2925 | done | |
2926 | done | |
2927 | IFS=$as_save_IFS | |
2928 | ||
2929 | ;; | |
2930 | esac | |
2931 | fi | |
2932 | MSGMERGE=$ac_cv_path_MSGMERGE | |
2933 | if test -n "$MSGMERGE"; then | |
2934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 | |
2935 | $as_echo "$MSGMERGE" >&6; } | |
2936 | else | |
2937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2938 | $as_echo "no" >&6; } | |
2939 | fi | |
2940 | ||
2865 | GETTEXT_MACRO_VERSION=0.19 | |
2866 | ||
2867 | ||
2868 | ||
2869 | ||
2870 | # Prepare PATH_SEPARATOR. | |
2871 | # The user is always right. | |
2872 | if test "${PATH_SEPARATOR+set}" != set; then | |
2873 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
2874 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
2875 | # so we have to set that as well for the test. | |
2876 | PATH_SEPARATOR=: | |
2877 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
2878 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
2879 | || PATH_SEPARATOR=';' | |
2880 | } | |
2881 | fi | |
2882 | ||
2883 | # Find out how to test for executable files. Don't use a zero-byte file, | |
2884 | # as systems may use methods other than mode bits to determine executability. | |
2885 | cat >conf$$.file <<_ASEOF | |
2886 | #! /bin/sh | |
2887 | exit 0 | |
2888 | _ASEOF | |
2889 | chmod +x conf$$.file | |
2890 | if test -x conf$$.file >/dev/null 2>&1; then | |
2891 | ac_executable_p="test -x" | |
2892 | else | |
2893 | ac_executable_p="test -f" | |
2894 | fi | |
2895 | rm -f conf$$.file | |
2941 | 2896 | |
2942 | 2897 | # Extract the first word of "msgfmt", so it can be a program name with args. |
2943 | 2898 | set dummy msgfmt; ac_word=$2 |
2946 | 2901 | if ${ac_cv_path_MSGFMT+:} false; then : |
2947 | 2902 | $as_echo_n "(cached) " >&6 |
2948 | 2903 | else |
2949 | case $MSGFMT in | |
2904 | case "$MSGFMT" in | |
2950 | 2905 | [\\/]* | ?:[\\/]*) |
2951 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | |
2952 | ;; | |
2906 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. | |
2907 | ;; | |
2953 | 2908 | *) |
2954 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2955 | for as_dir in $PATH | |
2956 | do | |
2957 | IFS=$as_save_IFS | |
2958 | test -z "$as_dir" && as_dir=. | |
2959 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2960 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2961 | ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" | |
2962 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2963 | break 2 | |
2964 | fi | |
2965 | done | |
2966 | done | |
2967 | IFS=$as_save_IFS | |
2968 | ||
2969 | ;; | |
2909 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | |
2910 | for ac_dir in $PATH; do | |
2911 | IFS="$ac_save_IFS" | |
2912 | test -z "$ac_dir" && ac_dir=. | |
2913 | for ac_exec_ext in '' $ac_executable_extensions; do | |
2914 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | |
2915 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
2916 | if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && | |
2917 | (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then | |
2918 | ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" | |
2919 | break 2 | |
2920 | fi | |
2921 | fi | |
2922 | done | |
2923 | done | |
2924 | IFS="$ac_save_IFS" | |
2925 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" | |
2926 | ;; | |
2970 | 2927 | esac |
2971 | 2928 | fi |
2972 | MSGFMT=$ac_cv_path_MSGFMT | |
2973 | if test -n "$MSGFMT"; then | |
2929 | MSGFMT="$ac_cv_path_MSGFMT" | |
2930 | if test "$MSGFMT" != ":"; then | |
2974 | 2931 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
2975 | 2932 | $as_echo "$MSGFMT" >&6; } |
2976 | 2933 | else |
2978 | 2935 | $as_echo "no" >&6; } |
2979 | 2936 | fi |
2980 | 2937 | |
2981 | ||
2982 | # Extract the first word of "gmsgfmt", so it can be a program name with args. | |
2938 | # Extract the first word of "gmsgfmt", so it can be a program name with args. | |
2983 | 2939 | set dummy gmsgfmt; ac_word=$2 |
2984 | 2940 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2985 | 2941 | $as_echo_n "checking for $ac_word... " >&6; } |
3020 | 2976 | fi |
3021 | 2977 | |
3022 | 2978 | |
3023 | if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then | |
3024 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 | |
3025 | fi | |
3026 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" | |
3027 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" | |
3028 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" | |
3029 | if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then | |
3030 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 | |
3031 | fi | |
3032 | ||
3033 | # Extract the first word of "perl", so it can be a program name with args. | |
3034 | set dummy perl; ac_word=$2 | |
2979 | ||
2980 | case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
2981 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; | |
2982 | *) MSGFMT_015=$MSGFMT ;; | |
2983 | esac | |
2984 | ||
2985 | case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
2986 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; | |
2987 | *) GMSGFMT_015=$GMSGFMT ;; | |
2988 | esac | |
2989 | ||
2990 | ||
2991 | ||
2992 | # Prepare PATH_SEPARATOR. | |
2993 | # The user is always right. | |
2994 | if test "${PATH_SEPARATOR+set}" != set; then | |
2995 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
2996 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
2997 | # so we have to set that as well for the test. | |
2998 | PATH_SEPARATOR=: | |
2999 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
3000 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
3001 | || PATH_SEPARATOR=';' | |
3002 | } | |
3003 | fi | |
3004 | ||
3005 | # Find out how to test for executable files. Don't use a zero-byte file, | |
3006 | # as systems may use methods other than mode bits to determine executability. | |
3007 | cat >conf$$.file <<_ASEOF | |
3008 | #! /bin/sh | |
3009 | exit 0 | |
3010 | _ASEOF | |
3011 | chmod +x conf$$.file | |
3012 | if test -x conf$$.file >/dev/null 2>&1; then | |
3013 | ac_executable_p="test -x" | |
3014 | else | |
3015 | ac_executable_p="test -f" | |
3016 | fi | |
3017 | rm -f conf$$.file | |
3018 | ||
3019 | # Extract the first word of "xgettext", so it can be a program name with args. | |
3020 | set dummy xgettext; ac_word=$2 | |
3035 | 3021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3036 | 3022 | $as_echo_n "checking for $ac_word... " >&6; } |
3037 | if ${ac_cv_path_INTLTOOL_PERL+:} false; then : | |
3023 | if ${ac_cv_path_XGETTEXT+:} false; then : | |
3038 | 3024 | $as_echo_n "(cached) " >&6 |
3039 | 3025 | else |
3040 | case $INTLTOOL_PERL in | |
3026 | case "$XGETTEXT" in | |
3041 | 3027 | [\\/]* | ?:[\\/]*) |
3042 | ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. | |
3028 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. | |
3029 | ;; | |
3030 | *) | |
3031 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | |
3032 | for ac_dir in $PATH; do | |
3033 | IFS="$ac_save_IFS" | |
3034 | test -z "$ac_dir" && ac_dir=. | |
3035 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3036 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | |
3037 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
3038 | if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && | |
3039 | (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 | |
3040 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" | |
3041 | break 2 | |
3042 | fi | |
3043 | fi | |
3044 | done | |
3045 | done | |
3046 | IFS="$ac_save_IFS" | |
3047 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" | |
3048 | ;; | |
3049 | esac | |
3050 | fi | |
3051 | XGETTEXT="$ac_cv_path_XGETTEXT" | |
3052 | if test "$XGETTEXT" != ":"; then | |
3053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 | |
3054 | $as_echo "$XGETTEXT" >&6; } | |
3055 | else | |
3056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3057 | $as_echo "no" >&6; } | |
3058 | fi | |
3059 | ||
3060 | rm -f messages.po | |
3061 | ||
3062 | case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
3063 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; | |
3064 | *) XGETTEXT_015=$XGETTEXT ;; | |
3065 | esac | |
3066 | ||
3067 | ||
3068 | ||
3069 | # Prepare PATH_SEPARATOR. | |
3070 | # The user is always right. | |
3071 | if test "${PATH_SEPARATOR+set}" != set; then | |
3072 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
3073 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
3074 | # so we have to set that as well for the test. | |
3075 | PATH_SEPARATOR=: | |
3076 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
3077 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
3078 | || PATH_SEPARATOR=';' | |
3079 | } | |
3080 | fi | |
3081 | ||
3082 | # Find out how to test for executable files. Don't use a zero-byte file, | |
3083 | # as systems may use methods other than mode bits to determine executability. | |
3084 | cat >conf$$.file <<_ASEOF | |
3085 | #! /bin/sh | |
3086 | exit 0 | |
3087 | _ASEOF | |
3088 | chmod +x conf$$.file | |
3089 | if test -x conf$$.file >/dev/null 2>&1; then | |
3090 | ac_executable_p="test -x" | |
3091 | else | |
3092 | ac_executable_p="test -f" | |
3093 | fi | |
3094 | rm -f conf$$.file | |
3095 | ||
3096 | # Extract the first word of "msgmerge", so it can be a program name with args. | |
3097 | set dummy msgmerge; ac_word=$2 | |
3098 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3099 | $as_echo_n "checking for $ac_word... " >&6; } | |
3100 | if ${ac_cv_path_MSGMERGE+:} false; then : | |
3101 | $as_echo_n "(cached) " >&6 | |
3102 | else | |
3103 | case "$MSGMERGE" in | |
3104 | [\\/]* | ?:[\\/]*) | |
3105 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. | |
3106 | ;; | |
3107 | *) | |
3108 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | |
3109 | for ac_dir in $PATH; do | |
3110 | IFS="$ac_save_IFS" | |
3111 | test -z "$ac_dir" && ac_dir=. | |
3112 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3113 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | |
3114 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
3115 | if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then | |
3116 | ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" | |
3117 | break 2 | |
3118 | fi | |
3119 | fi | |
3120 | done | |
3121 | done | |
3122 | IFS="$ac_save_IFS" | |
3123 | test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" | |
3124 | ;; | |
3125 | esac | |
3126 | fi | |
3127 | MSGMERGE="$ac_cv_path_MSGMERGE" | |
3128 | if test "$MSGMERGE" != ":"; then | |
3129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 | |
3130 | $as_echo "$MSGMERGE" >&6; } | |
3131 | else | |
3132 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3133 | $as_echo "no" >&6; } | |
3134 | fi | |
3135 | ||
3136 | ||
3137 | test -n "$localedir" || localedir='${datadir}/locale' | |
3138 | ||
3139 | ||
3140 | test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= | |
3141 | ||
3142 | ||
3143 | ac_config_commands="$ac_config_commands po-directories" | |
3144 | ||
3145 | ||
3146 | ||
3147 | if test "X$prefix" = "XNONE"; then | |
3148 | acl_final_prefix="$ac_default_prefix" | |
3149 | else | |
3150 | acl_final_prefix="$prefix" | |
3151 | fi | |
3152 | if test "X$exec_prefix" = "XNONE"; then | |
3153 | acl_final_exec_prefix='${prefix}' | |
3154 | else | |
3155 | acl_final_exec_prefix="$exec_prefix" | |
3156 | fi | |
3157 | acl_save_prefix="$prefix" | |
3158 | prefix="$acl_final_prefix" | |
3159 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" | |
3160 | prefix="$acl_save_prefix" | |
3161 | ||
3162 | DEPDIR="${am__leading_dot}deps" | |
3163 | ||
3164 | ac_config_commands="$ac_config_commands depfiles" | |
3165 | ||
3166 | ||
3167 | am_make=${MAKE-make} | |
3168 | cat > confinc << 'END' | |
3169 | am__doit: | |
3170 | @echo this is the am__doit target | |
3171 | .PHONY: am__doit | |
3172 | END | |
3173 | # If we don't find an include directive, just comment out the code. | |
3174 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
3175 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3176 | am__include="#" | |
3177 | am__quote= | |
3178 | _am_result=none | |
3179 | # First try GNU make style include. | |
3180 | echo "include confinc" > confmf | |
3181 | # Ignore all kinds of additional output from 'make'. | |
3182 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3183 | *the\ am__doit\ target*) | |
3184 | am__include=include | |
3185 | am__quote= | |
3186 | _am_result=GNU | |
3043 | 3187 | ;; |
3044 | *) | |
3045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3188 | esac | |
3189 | # Now try BSD make style include. | |
3190 | if test "$am__include" = "#"; then | |
3191 | echo '.include "confinc"' > confmf | |
3192 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3193 | *the\ am__doit\ target*) | |
3194 | am__include=.include | |
3195 | am__quote="\"" | |
3196 | _am_result=BSD | |
3197 | ;; | |
3198 | esac | |
3199 | fi | |
3200 | ||
3201 | ||
3202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
3203 | $as_echo "$_am_result" >&6; } | |
3204 | rm -f confinc confmf | |
3205 | ||
3206 | # Check whether --enable-dependency-tracking was given. | |
3207 | if test "${enable_dependency_tracking+set}" = set; then : | |
3208 | enableval=$enable_dependency_tracking; | |
3209 | fi | |
3210 | ||
3211 | if test "x$enable_dependency_tracking" != xno; then | |
3212 | am_depcomp="$ac_aux_dir/depcomp" | |
3213 | AMDEPBACKSLASH='\' | |
3214 | am__nodep='_no' | |
3215 | fi | |
3216 | if test "x$enable_dependency_tracking" != xno; then | |
3217 | AMDEP_TRUE= | |
3218 | AMDEP_FALSE='#' | |
3219 | else | |
3220 | AMDEP_TRUE='#' | |
3221 | AMDEP_FALSE= | |
3222 | fi | |
3223 | ||
3224 | ||
3225 | ac_ext=c | |
3226 | ac_cpp='$CPP $CPPFLAGS' | |
3227 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3228 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3229 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3230 | if test -n "$ac_tool_prefix"; then | |
3231 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
3232 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
3233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3234 | $as_echo_n "checking for $ac_word... " >&6; } | |
3235 | if ${ac_cv_prog_CC+:} false; then : | |
3236 | $as_echo_n "(cached) " >&6 | |
3237 | else | |
3238 | if test -n "$CC"; then | |
3239 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3240 | else | |
3241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3046 | 3242 | for as_dir in $PATH |
3047 | 3243 | do |
3048 | 3244 | IFS=$as_save_IFS |
3049 | 3245 | test -z "$as_dir" && as_dir=. |
3050 | 3246 | for ac_exec_ext in '' $ac_executable_extensions; do |
3051 | 3247 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3052 | ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" | |
3248 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
3053 | 3249 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3054 | 3250 | break 2 |
3055 | 3251 | fi |
3057 | 3253 | done |
3058 | 3254 | IFS=$as_save_IFS |
3059 | 3255 | |
3256 | fi | |
3257 | fi | |
3258 | CC=$ac_cv_prog_CC | |
3259 | if test -n "$CC"; then | |
3260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3261 | $as_echo "$CC" >&6; } | |
3262 | else | |
3263 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3264 | $as_echo "no" >&6; } | |
3265 | fi | |
3266 | ||
3267 | ||
3268 | fi | |
3269 | if test -z "$ac_cv_prog_CC"; then | |
3270 | ac_ct_CC=$CC | |
3271 | # Extract the first word of "gcc", so it can be a program name with args. | |
3272 | set dummy gcc; ac_word=$2 | |
3273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3274 | $as_echo_n "checking for $ac_word... " >&6; } | |
3275 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3276 | $as_echo_n "(cached) " >&6 | |
3277 | else | |
3278 | if test -n "$ac_ct_CC"; then | |
3279 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3280 | else | |
3281 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3282 | for as_dir in $PATH | |
3283 | do | |
3284 | IFS=$as_save_IFS | |
3285 | test -z "$as_dir" && as_dir=. | |
3286 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3287 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3288 | ac_cv_prog_ac_ct_CC="gcc" | |
3289 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3290 | break 2 | |
3291 | fi | |
3292 | done | |
3293 | done | |
3294 | IFS=$as_save_IFS | |
3295 | ||
3296 | fi | |
3297 | fi | |
3298 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3299 | if test -n "$ac_ct_CC"; then | |
3300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3301 | $as_echo "$ac_ct_CC" >&6; } | |
3302 | else | |
3303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3304 | $as_echo "no" >&6; } | |
3305 | fi | |
3306 | ||
3307 | if test "x$ac_ct_CC" = x; then | |
3308 | CC="" | |
3309 | else | |
3310 | case $cross_compiling:$ac_tool_warned in | |
3311 | yes:) | |
3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3313 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3314 | ac_tool_warned=yes ;; | |
3315 | esac | |
3316 | CC=$ac_ct_CC | |
3317 | fi | |
3318 | else | |
3319 | CC="$ac_cv_prog_CC" | |
3320 | fi | |
3321 | ||
3322 | if test -z "$CC"; then | |
3323 | if test -n "$ac_tool_prefix"; then | |
3324 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
3325 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
3326 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3327 | $as_echo_n "checking for $ac_word... " >&6; } | |
3328 | if ${ac_cv_prog_CC+:} false; then : | |
3329 | $as_echo_n "(cached) " >&6 | |
3330 | else | |
3331 | if test -n "$CC"; then | |
3332 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3333 | else | |
3334 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3335 | for as_dir in $PATH | |
3336 | do | |
3337 | IFS=$as_save_IFS | |
3338 | test -z "$as_dir" && as_dir=. | |
3339 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3340 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3341 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
3342 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3343 | break 2 | |
3344 | fi | |
3345 | done | |
3346 | done | |
3347 | IFS=$as_save_IFS | |
3348 | ||
3349 | fi | |
3350 | fi | |
3351 | CC=$ac_cv_prog_CC | |
3352 | if test -n "$CC"; then | |
3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3354 | $as_echo "$CC" >&6; } | |
3355 | else | |
3356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3357 | $as_echo "no" >&6; } | |
3358 | fi | |
3359 | ||
3360 | ||
3361 | fi | |
3362 | fi | |
3363 | if test -z "$CC"; then | |
3364 | # Extract the first word of "cc", so it can be a program name with args. | |
3365 | set dummy cc; ac_word=$2 | |
3366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3367 | $as_echo_n "checking for $ac_word... " >&6; } | |
3368 | if ${ac_cv_prog_CC+:} false; then : | |
3369 | $as_echo_n "(cached) " >&6 | |
3370 | else | |
3371 | if test -n "$CC"; then | |
3372 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3373 | else | |
3374 | ac_prog_rejected=no | |
3375 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3376 | for as_dir in $PATH | |
3377 | do | |
3378 | IFS=$as_save_IFS | |
3379 | test -z "$as_dir" && as_dir=. | |
3380 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3381 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3382 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
3383 | ac_prog_rejected=yes | |
3384 | continue | |
3385 | fi | |
3386 | ac_cv_prog_CC="cc" | |
3387 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3388 | break 2 | |
3389 | fi | |
3390 | done | |
3391 | done | |
3392 | IFS=$as_save_IFS | |
3393 | ||
3394 | if test $ac_prog_rejected = yes; then | |
3395 | # We found a bogon in the path, so make sure we never use it. | |
3396 | set dummy $ac_cv_prog_CC | |
3397 | shift | |
3398 | if test $# != 0; then | |
3399 | # We chose a different compiler from the bogus one. | |
3400 | # However, it has the same basename, so the bogon will be chosen | |
3401 | # first if we set CC to just the basename; use the full file name. | |
3402 | shift | |
3403 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
3404 | fi | |
3405 | fi | |
3406 | fi | |
3407 | fi | |
3408 | CC=$ac_cv_prog_CC | |
3409 | if test -n "$CC"; then | |
3410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3411 | $as_echo "$CC" >&6; } | |
3412 | else | |
3413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3414 | $as_echo "no" >&6; } | |
3415 | fi | |
3416 | ||
3417 | ||
3418 | fi | |
3419 | if test -z "$CC"; then | |
3420 | if test -n "$ac_tool_prefix"; then | |
3421 | for ac_prog in cl.exe | |
3422 | do | |
3423 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
3424 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
3425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3426 | $as_echo_n "checking for $ac_word... " >&6; } | |
3427 | if ${ac_cv_prog_CC+:} false; then : | |
3428 | $as_echo_n "(cached) " >&6 | |
3429 | else | |
3430 | if test -n "$CC"; then | |
3431 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
3432 | else | |
3433 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3434 | for as_dir in $PATH | |
3435 | do | |
3436 | IFS=$as_save_IFS | |
3437 | test -z "$as_dir" && as_dir=. | |
3438 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3439 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3440 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
3441 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3442 | break 2 | |
3443 | fi | |
3444 | done | |
3445 | done | |
3446 | IFS=$as_save_IFS | |
3447 | ||
3448 | fi | |
3449 | fi | |
3450 | CC=$ac_cv_prog_CC | |
3451 | if test -n "$CC"; then | |
3452 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3453 | $as_echo "$CC" >&6; } | |
3454 | else | |
3455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3456 | $as_echo "no" >&6; } | |
3457 | fi | |
3458 | ||
3459 | ||
3460 | test -n "$CC" && break | |
3461 | done | |
3462 | fi | |
3463 | if test -z "$CC"; then | |
3464 | ac_ct_CC=$CC | |
3465 | for ac_prog in cl.exe | |
3466 | do | |
3467 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3468 | set dummy $ac_prog; ac_word=$2 | |
3469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3470 | $as_echo_n "checking for $ac_word... " >&6; } | |
3471 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3472 | $as_echo_n "(cached) " >&6 | |
3473 | else | |
3474 | if test -n "$ac_ct_CC"; then | |
3475 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3476 | else | |
3477 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3478 | for as_dir in $PATH | |
3479 | do | |
3480 | IFS=$as_save_IFS | |
3481 | test -z "$as_dir" && as_dir=. | |
3482 | for ac_exec_ext in '' $ac_executable_extensions; do | |
3483 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3484 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
3485 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3486 | break 2 | |
3487 | fi | |
3488 | done | |
3489 | done | |
3490 | IFS=$as_save_IFS | |
3491 | ||
3492 | fi | |
3493 | fi | |
3494 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3495 | if test -n "$ac_ct_CC"; then | |
3496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3497 | $as_echo "$ac_ct_CC" >&6; } | |
3498 | else | |
3499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3500 | $as_echo "no" >&6; } | |
3501 | fi | |
3502 | ||
3503 | ||
3504 | test -n "$ac_ct_CC" && break | |
3505 | done | |
3506 | ||
3507 | if test "x$ac_ct_CC" = x; then | |
3508 | CC="" | |
3509 | else | |
3510 | case $cross_compiling:$ac_tool_warned in | |
3511 | yes:) | |
3512 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3513 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3514 | ac_tool_warned=yes ;; | |
3515 | esac | |
3516 | CC=$ac_ct_CC | |
3517 | fi | |
3518 | fi | |
3519 | ||
3520 | fi | |
3521 | ||
3522 | ||
3523 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3524 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3525 | as_fn_error $? "no acceptable C compiler found in \$PATH | |
3526 | See \`config.log' for more details" "$LINENO" 5; } | |
3527 | ||
3528 | # Provide some information about the compiler. | |
3529 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
3530 | set X $ac_compile | |
3531 | ac_compiler=$2 | |
3532 | for ac_option in --version -v -V -qversion; do | |
3533 | { { ac_try="$ac_compiler $ac_option >&5" | |
3534 | case "(($ac_try" in | |
3535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3536 | *) ac_try_echo=$ac_try;; | |
3537 | esac | |
3538 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3539 | $as_echo "$ac_try_echo"; } >&5 | |
3540 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3541 | ac_status=$? | |
3542 | if test -s conftest.err; then | |
3543 | sed '10a\ | |
3544 | ... rest of stderr output deleted ... | |
3545 | 10q' conftest.err >conftest.er1 | |
3546 | cat conftest.er1 >&5 | |
3547 | fi | |
3548 | rm -f conftest.er1 conftest.err | |
3549 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3550 | test $ac_status = 0; } | |
3551 | done | |
3552 | ||
3553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3554 | /* end confdefs.h. */ | |
3555 | ||
3556 | int | |
3557 | main () | |
3558 | { | |
3559 | ||
3560 | ; | |
3561 | return 0; | |
3562 | } | |
3563 | _ACEOF | |
3564 | ac_clean_files_save=$ac_clean_files | |
3565 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
3566 | # Try to create an executable without -o first, disregard a.out. | |
3567 | # It will help us diagnose broken compilers, and finding out an intuition | |
3568 | # of exeext. | |
3569 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
3570 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
3571 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
3572 | ||
3573 | # The possible output files: | |
3574 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
3575 | ||
3576 | ac_rmfiles= | |
3577 | for ac_file in $ac_files | |
3578 | do | |
3579 | case $ac_file in | |
3580 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3581 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3582 | esac | |
3583 | done | |
3584 | rm -f $ac_rmfiles | |
3585 | ||
3586 | if { { ac_try="$ac_link_default" | |
3587 | case "(($ac_try" in | |
3588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3589 | *) ac_try_echo=$ac_try;; | |
3590 | esac | |
3591 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3592 | $as_echo "$ac_try_echo"; } >&5 | |
3593 | (eval "$ac_link_default") 2>&5 | |
3594 | ac_status=$? | |
3595 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3596 | test $ac_status = 0; }; then : | |
3597 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
3598 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
3599 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
3600 | # so that the user can short-circuit this test for compilers unknown to | |
3601 | # Autoconf. | |
3602 | for ac_file in $ac_files '' | |
3603 | do | |
3604 | test -f "$ac_file" || continue | |
3605 | case $ac_file in | |
3606 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
3607 | ;; | |
3608 | [ab].out ) | |
3609 | # We found the default executable, but exeext='' is most | |
3610 | # certainly right. | |
3611 | break;; | |
3612 | *.* ) | |
3613 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
3614 | then :; else | |
3615 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3616 | fi | |
3617 | # We set ac_cv_exeext here because the later test for it is not | |
3618 | # safe: cross compilers may not add the suffix if given an `-o' | |
3619 | # argument, so we may need to know it at that point already. | |
3620 | # Even if this section looks crufty: it has the advantage of | |
3621 | # actually working. | |
3622 | break;; | |
3623 | * ) | |
3624 | break;; | |
3625 | esac | |
3626 | done | |
3627 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3628 | ||
3629 | else | |
3630 | ac_file='' | |
3631 | fi | |
3632 | if test -z "$ac_file"; then : | |
3633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3634 | $as_echo "no" >&6; } | |
3635 | $as_echo "$as_me: failed program was:" >&5 | |
3636 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3637 | ||
3638 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3639 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3640 | as_fn_error 77 "C compiler cannot create executables | |
3641 | See \`config.log' for more details" "$LINENO" 5; } | |
3642 | else | |
3643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3644 | $as_echo "yes" >&6; } | |
3645 | fi | |
3646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3647 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3649 | $as_echo "$ac_file" >&6; } | |
3650 | ac_exeext=$ac_cv_exeext | |
3651 | ||
3652 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
3653 | ac_clean_files=$ac_clean_files_save | |
3654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
3655 | $as_echo_n "checking for suffix of executables... " >&6; } | |
3656 | if { { ac_try="$ac_link" | |
3657 | case "(($ac_try" in | |
3658 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3659 | *) ac_try_echo=$ac_try;; | |
3660 | esac | |
3661 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3662 | $as_echo "$ac_try_echo"; } >&5 | |
3663 | (eval "$ac_link") 2>&5 | |
3664 | ac_status=$? | |
3665 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3666 | test $ac_status = 0; }; then : | |
3667 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
3668 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3669 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
3670 | # `rm'. | |
3671 | for ac_file in conftest.exe conftest conftest.*; do | |
3672 | test -f "$ac_file" || continue | |
3673 | case $ac_file in | |
3674 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3675 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3676 | break;; | |
3677 | * ) break;; | |
3678 | esac | |
3679 | done | |
3680 | else | |
3681 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3682 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3683 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3684 | See \`config.log' for more details" "$LINENO" 5; } | |
3685 | fi | |
3686 | rm -f conftest conftest$ac_cv_exeext | |
3687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3688 | $as_echo "$ac_cv_exeext" >&6; } | |
3689 | ||
3690 | rm -f conftest.$ac_ext | |
3691 | EXEEXT=$ac_cv_exeext | |
3692 | ac_exeext=$EXEEXT | |
3693 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3694 | /* end confdefs.h. */ | |
3695 | #include <stdio.h> | |
3696 | int | |
3697 | main () | |
3698 | { | |
3699 | FILE *f = fopen ("conftest.out", "w"); | |
3700 | return ferror (f) || fclose (f) != 0; | |
3701 | ||
3702 | ; | |
3703 | return 0; | |
3704 | } | |
3705 | _ACEOF | |
3706 | ac_clean_files="$ac_clean_files conftest.out" | |
3707 | # Check that the compiler produces executables we can run. If not, either | |
3708 | # the compiler is broken, or we cross compile. | |
3709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3710 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3711 | if test "$cross_compiling" != yes; then | |
3712 | { { ac_try="$ac_link" | |
3713 | case "(($ac_try" in | |
3714 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3715 | *) ac_try_echo=$ac_try;; | |
3716 | esac | |
3717 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3718 | $as_echo "$ac_try_echo"; } >&5 | |
3719 | (eval "$ac_link") 2>&5 | |
3720 | ac_status=$? | |
3721 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3722 | test $ac_status = 0; } | |
3723 | if { ac_try='./conftest$ac_cv_exeext' | |
3724 | { { case "(($ac_try" in | |
3725 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3726 | *) ac_try_echo=$ac_try;; | |
3727 | esac | |
3728 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3729 | $as_echo "$ac_try_echo"; } >&5 | |
3730 | (eval "$ac_try") 2>&5 | |
3731 | ac_status=$? | |
3732 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3733 | test $ac_status = 0; }; }; then | |
3734 | cross_compiling=no | |
3735 | else | |
3736 | if test "$cross_compiling" = maybe; then | |
3737 | cross_compiling=yes | |
3738 | else | |
3739 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3740 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3741 | as_fn_error $? "cannot run C compiled programs. | |
3742 | If you meant to cross compile, use \`--host'. | |
3743 | See \`config.log' for more details" "$LINENO" 5; } | |
3744 | fi | |
3745 | fi | |
3746 | fi | |
3747 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3748 | $as_echo "$cross_compiling" >&6; } | |
3749 | ||
3750 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3751 | ac_clean_files=$ac_clean_files_save | |
3752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3753 | $as_echo_n "checking for suffix of object files... " >&6; } | |
3754 | if ${ac_cv_objext+:} false; then : | |
3755 | $as_echo_n "(cached) " >&6 | |
3756 | else | |
3757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3758 | /* end confdefs.h. */ | |
3759 | ||
3760 | int | |
3761 | main () | |
3762 | { | |
3763 | ||
3764 | ; | |
3765 | return 0; | |
3766 | } | |
3767 | _ACEOF | |
3768 | rm -f conftest.o conftest.obj | |
3769 | if { { ac_try="$ac_compile" | |
3770 | case "(($ac_try" in | |
3771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3772 | *) ac_try_echo=$ac_try;; | |
3773 | esac | |
3774 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3775 | $as_echo "$ac_try_echo"; } >&5 | |
3776 | (eval "$ac_compile") 2>&5 | |
3777 | ac_status=$? | |
3778 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3779 | test $ac_status = 0; }; then : | |
3780 | for ac_file in conftest.o conftest.obj conftest.*; do | |
3781 | test -f "$ac_file" || continue; | |
3782 | case $ac_file in | |
3783 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
3784 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
3785 | break;; | |
3786 | esac | |
3787 | done | |
3788 | else | |
3789 | $as_echo "$as_me: failed program was:" >&5 | |
3790 | sed 's/^/| /' conftest.$ac_ext >&5 | |
3791 | ||
3792 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3793 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3794 | as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3795 | See \`config.log' for more details" "$LINENO" 5; } | |
3796 | fi | |
3797 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
3798 | fi | |
3799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
3800 | $as_echo "$ac_cv_objext" >&6; } | |
3801 | OBJEXT=$ac_cv_objext | |
3802 | ac_objext=$OBJEXT | |
3803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
3804 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3805 | if ${ac_cv_c_compiler_gnu+:} false; then : | |
3806 | $as_echo_n "(cached) " >&6 | |
3807 | else | |
3808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3809 | /* end confdefs.h. */ | |
3810 | ||
3811 | int | |
3812 | main () | |
3813 | { | |
3814 | #ifndef __GNUC__ | |
3815 | choke me | |
3816 | #endif | |
3817 | ||
3818 | ; | |
3819 | return 0; | |
3820 | } | |
3821 | _ACEOF | |
3822 | if ac_fn_c_try_compile "$LINENO"; then : | |
3823 | ac_compiler_gnu=yes | |
3824 | else | |
3825 | ac_compiler_gnu=no | |
3826 | fi | |
3827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3828 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3829 | ||
3830 | fi | |
3831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
3832 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3833 | if test $ac_compiler_gnu = yes; then | |
3834 | GCC=yes | |
3835 | else | |
3836 | GCC= | |
3837 | fi | |
3838 | ac_test_CFLAGS=${CFLAGS+set} | |
3839 | ac_save_CFLAGS=$CFLAGS | |
3840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
3841 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3842 | if ${ac_cv_prog_cc_g+:} false; then : | |
3843 | $as_echo_n "(cached) " >&6 | |
3844 | else | |
3845 | ac_save_c_werror_flag=$ac_c_werror_flag | |
3846 | ac_c_werror_flag=yes | |
3847 | ac_cv_prog_cc_g=no | |
3848 | CFLAGS="-g" | |
3849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3850 | /* end confdefs.h. */ | |
3851 | ||
3852 | int | |
3853 | main () | |
3854 | { | |
3855 | ||
3856 | ; | |
3857 | return 0; | |
3858 | } | |
3859 | _ACEOF | |
3860 | if ac_fn_c_try_compile "$LINENO"; then : | |
3861 | ac_cv_prog_cc_g=yes | |
3862 | else | |
3863 | CFLAGS="" | |
3864 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3865 | /* end confdefs.h. */ | |
3866 | ||
3867 | int | |
3868 | main () | |
3869 | { | |
3870 | ||
3871 | ; | |
3872 | return 0; | |
3873 | } | |
3874 | _ACEOF | |
3875 | if ac_fn_c_try_compile "$LINENO"; then : | |
3876 | ||
3877 | else | |
3878 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3879 | CFLAGS="-g" | |
3880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3881 | /* end confdefs.h. */ | |
3882 | ||
3883 | int | |
3884 | main () | |
3885 | { | |
3886 | ||
3887 | ; | |
3888 | return 0; | |
3889 | } | |
3890 | _ACEOF | |
3891 | if ac_fn_c_try_compile "$LINENO"; then : | |
3892 | ac_cv_prog_cc_g=yes | |
3893 | fi | |
3894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3895 | fi | |
3896 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3897 | fi | |
3898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3899 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3900 | fi | |
3901 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3902 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3903 | if test "$ac_test_CFLAGS" = set; then | |
3904 | CFLAGS=$ac_save_CFLAGS | |
3905 | elif test $ac_cv_prog_cc_g = yes; then | |
3906 | if test "$GCC" = yes; then | |
3907 | CFLAGS="-g -O2" | |
3908 | else | |
3909 | CFLAGS="-g" | |
3910 | fi | |
3911 | else | |
3912 | if test "$GCC" = yes; then | |
3913 | CFLAGS="-O2" | |
3914 | else | |
3915 | CFLAGS= | |
3916 | fi | |
3917 | fi | |
3918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
3919 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3920 | if ${ac_cv_prog_cc_c89+:} false; then : | |
3921 | $as_echo_n "(cached) " >&6 | |
3922 | else | |
3923 | ac_cv_prog_cc_c89=no | |
3924 | ac_save_CC=$CC | |
3925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3926 | /* end confdefs.h. */ | |
3927 | #include <stdarg.h> | |
3928 | #include <stdio.h> | |
3929 | struct stat; | |
3930 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3931 | struct buf { int x; }; | |
3932 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3933 | static char *e (p, i) | |
3934 | char **p; | |
3935 | int i; | |
3936 | { | |
3937 | return p[i]; | |
3938 | } | |
3939 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3940 | { | |
3941 | char *s; | |
3942 | va_list v; | |
3943 | va_start (v,p); | |
3944 | s = g (p, va_arg (v,int)); | |
3945 | va_end (v); | |
3946 | return s; | |
3947 | } | |
3948 | ||
3949 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3950 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3951 | These don't provoke an error unfortunately, instead are silently treated | |
3952 | as 'x'. The following induces an error, until -std is added to get | |
3953 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3954 | array size at least. It's necessary to write '\x00'==0 to get something | |
3955 | that's true only with -std. */ | |
3956 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3957 | ||
3958 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3959 | inside strings and character constants. */ | |
3960 | #define FOO(x) 'x' | |
3961 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3962 | ||
3963 | int test (int i, double x); | |
3964 | struct s1 {int (*f) (int a);}; | |
3965 | struct s2 {int (*f) (double a);}; | |
3966 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3967 | int argc; | |
3968 | char **argv; | |
3969 | int | |
3970 | main () | |
3971 | { | |
3972 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3973 | ; | |
3974 | return 0; | |
3975 | } | |
3976 | _ACEOF | |
3977 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3978 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3979 | do | |
3980 | CC="$ac_save_CC $ac_arg" | |
3981 | if ac_fn_c_try_compile "$LINENO"; then : | |
3982 | ac_cv_prog_cc_c89=$ac_arg | |
3983 | fi | |
3984 | rm -f core conftest.err conftest.$ac_objext | |
3985 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3986 | done | |
3987 | rm -f conftest.$ac_ext | |
3988 | CC=$ac_save_CC | |
3989 | ||
3990 | fi | |
3991 | # AC_CACHE_VAL | |
3992 | case "x$ac_cv_prog_cc_c89" in | |
3993 | x) | |
3994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
3995 | $as_echo "none needed" >&6; } ;; | |
3996 | xno) | |
3997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
3998 | $as_echo "unsupported" >&6; } ;; | |
3999 | *) | |
4000 | CC="$CC $ac_cv_prog_cc_c89" | |
4001 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
4002 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
4003 | esac | |
4004 | if test "x$ac_cv_prog_cc_c89" != xno; then : | |
4005 | ||
4006 | fi | |
4007 | ||
4008 | ac_ext=c | |
4009 | ac_cpp='$CPP $CPPFLAGS' | |
4010 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4011 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4012 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4013 | ||
4014 | ac_ext=c | |
4015 | ac_cpp='$CPP $CPPFLAGS' | |
4016 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4017 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4018 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4019 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
4020 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
4021 | if ${am_cv_prog_cc_c_o+:} false; then : | |
4022 | $as_echo_n "(cached) " >&6 | |
4023 | else | |
4024 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4025 | /* end confdefs.h. */ | |
4026 | ||
4027 | int | |
4028 | main () | |
4029 | { | |
4030 | ||
4031 | ; | |
4032 | return 0; | |
4033 | } | |
4034 | _ACEOF | |
4035 | # Make sure it works both with $CC and with simple cc. | |
4036 | # Following AC_PROG_CC_C_O, we do the test twice because some | |
4037 | # compilers refuse to overwrite an existing .o file with -o, | |
4038 | # though they will create one. | |
4039 | am_cv_prog_cc_c_o=yes | |
4040 | for am_i in 1 2; do | |
4041 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
4042 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
4043 | ac_status=$? | |
4044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4045 | (exit $ac_status); } \ | |
4046 | && test -f conftest2.$ac_objext; then | |
4047 | : OK | |
4048 | else | |
4049 | am_cv_prog_cc_c_o=no | |
4050 | break | |
4051 | fi | |
4052 | done | |
4053 | rm -f core conftest* | |
4054 | unset am_i | |
4055 | fi | |
4056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
4057 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | |
4058 | if test "$am_cv_prog_cc_c_o" != yes; then | |
4059 | # Losing compiler, so override with the script. | |
4060 | # FIXME: It is wrong to rewrite CC. | |
4061 | # But if we don't then we get into trouble of one sort or another. | |
4062 | # A longer-term fix would be to have automake use am__CC in this case, | |
4063 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
4064 | CC="$am_aux_dir/compile $CC" | |
4065 | fi | |
4066 | ac_ext=c | |
4067 | ac_cpp='$CPP $CPPFLAGS' | |
4068 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4069 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4070 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4071 | ||
4072 | ||
4073 | depcc="$CC" am_compiler_list= | |
4074 | ||
4075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
4076 | $as_echo_n "checking dependency style of $depcc... " >&6; } | |
4077 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
4078 | $as_echo_n "(cached) " >&6 | |
4079 | else | |
4080 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
4081 | # We make a subdir and do the tests there. Otherwise we can end up | |
4082 | # making bogus files that we don't know about and never remove. For | |
4083 | # instance it was reported that on HP-UX the gcc test will end up | |
4084 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
4085 | # in D". | |
4086 | rm -rf conftest.dir | |
4087 | mkdir conftest.dir | |
4088 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
4089 | # using a relative directory. | |
4090 | cp "$am_depcomp" conftest.dir | |
4091 | cd conftest.dir | |
4092 | # We will build objects and dependencies in a subdirectory because | |
4093 | # it helps to detect inapplicable dependency modes. For instance | |
4094 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
4095 | # side effect of compilation, but ICC will put the dependencies in | |
4096 | # the current directory while Tru64 will put them in the object | |
4097 | # directory. | |
4098 | mkdir sub | |
4099 | ||
4100 | am_cv_CC_dependencies_compiler_type=none | |
4101 | if test "$am_compiler_list" = ""; then | |
4102 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
4103 | fi | |
4104 | am__universal=false | |
4105 | case " $depcc " in #( | |
4106 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
4107 | esac | |
4108 | ||
4109 | for depmode in $am_compiler_list; do | |
4110 | # Setup a source with many dependencies, because some compilers | |
4111 | # like to wrap large dependency lists on column 80 (with \), and | |
4112 | # we should not choose a depcomp mode which is confused by this. | |
4113 | # | |
4114 | # We need to recreate these files for each test, as the compiler may | |
4115 | # overwrite some of them when testing with obscure command lines. | |
4116 | # This happens at least with the AIX C compiler. | |
4117 | : > sub/conftest.c | |
4118 | for i in 1 2 3 4 5 6; do | |
4119 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
4120 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4121 | # Solaris 10 /bin/sh. | |
4122 | echo '/* dummy */' > sub/conftst$i.h | |
4123 | done | |
4124 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
4125 | ||
4126 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4127 | # mode. It turns out that the SunPro C++ compiler does not properly | |
4128 | # handle '-M -o', and we need to detect this. Also, some Intel | |
4129 | # versions had trouble with output in subdirs. | |
4130 | am__obj=sub/conftest.${OBJEXT-o} | |
4131 | am__minus_obj="-o $am__obj" | |
4132 | case $depmode in | |
4133 | gcc) | |
4134 | # This depmode causes a compiler race in universal mode. | |
4135 | test "$am__universal" = false || continue | |
4136 | ;; | |
4137 | nosideeffect) | |
4138 | # After this tag, mechanisms are not by side-effect, so they'll | |
4139 | # only be used when explicitly requested. | |
4140 | if test "x$enable_dependency_tracking" = xyes; then | |
4141 | continue | |
4142 | else | |
4143 | break | |
4144 | fi | |
4145 | ;; | |
4146 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
4147 | # This compiler won't grok '-c -o', but also, the minuso test has | |
4148 | # not run yet. These depmodes are late enough in the game, and | |
4149 | # so weak that their functioning should not be impacted. | |
4150 | am__obj=conftest.${OBJEXT-o} | |
4151 | am__minus_obj= | |
4152 | ;; | |
4153 | none) break ;; | |
4154 | esac | |
4155 | if depmode=$depmode \ | |
4156 | source=sub/conftest.c object=$am__obj \ | |
4157 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
4158 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
4159 | >/dev/null 2>conftest.err && | |
4160 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
4161 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
4162 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
4163 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
4164 | # icc doesn't choke on unknown options, it will just issue warnings | |
4165 | # or remarks (even with -Werror). So we grep stderr for any message | |
4166 | # that says an option was ignored or not supported. | |
4167 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
4168 | # icc: Command line warning: ignoring option '-M'; no argument required | |
4169 | # The diagnosis changed in icc 8.0: | |
4170 | # icc: Command line remark: option '-MP' not supported | |
4171 | if (grep 'ignoring option' conftest.err || | |
4172 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
4173 | am_cv_CC_dependencies_compiler_type=$depmode | |
4174 | break | |
4175 | fi | |
4176 | fi | |
4177 | done | |
4178 | ||
4179 | cd .. | |
4180 | rm -rf conftest.dir | |
4181 | else | |
4182 | am_cv_CC_dependencies_compiler_type=none | |
4183 | fi | |
4184 | ||
4185 | fi | |
4186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
4187 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
4188 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
4189 | ||
4190 | if | |
4191 | test "x$enable_dependency_tracking" != xno \ | |
4192 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
4193 | am__fastdepCC_TRUE= | |
4194 | am__fastdepCC_FALSE='#' | |
4195 | else | |
4196 | am__fastdepCC_TRUE='#' | |
4197 | am__fastdepCC_FALSE= | |
4198 | fi | |
4199 | ||
4200 | ||
4201 | # Make sure we can run config.sub. | |
4202 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
4203 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
4204 | ||
4205 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
4206 | $as_echo_n "checking build system type... " >&6; } | |
4207 | if ${ac_cv_build+:} false; then : | |
4208 | $as_echo_n "(cached) " >&6 | |
4209 | else | |
4210 | ac_build_alias=$build_alias | |
4211 | test "x$ac_build_alias" = x && | |
4212 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
4213 | test "x$ac_build_alias" = x && | |
4214 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | |
4215 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
4216 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
4217 | ||
4218 | fi | |
4219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
4220 | $as_echo "$ac_cv_build" >&6; } | |
4221 | case $ac_cv_build in | |
4222 | *-*-*) ;; | |
4223 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | |
4224 | esac | |
4225 | build=$ac_cv_build | |
4226 | ac_save_IFS=$IFS; IFS='-' | |
4227 | set x $ac_cv_build | |
4228 | shift | |
4229 | build_cpu=$1 | |
4230 | build_vendor=$2 | |
4231 | shift; shift | |
4232 | # Remember, the first character of IFS is used to create $*, | |
4233 | # except with old shells: | |
4234 | build_os=$* | |
4235 | IFS=$ac_save_IFS | |
4236 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
4237 | ||
4238 | ||
4239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
4240 | $as_echo_n "checking host system type... " >&6; } | |
4241 | if ${ac_cv_host+:} false; then : | |
4242 | $as_echo_n "(cached) " >&6 | |
4243 | else | |
4244 | if test "x$host_alias" = x; then | |
4245 | ac_cv_host=$ac_cv_build | |
4246 | else | |
4247 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
4248 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
4249 | fi | |
4250 | ||
4251 | fi | |
4252 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
4253 | $as_echo "$ac_cv_host" >&6; } | |
4254 | case $ac_cv_host in | |
4255 | *-*-*) ;; | |
4256 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
4257 | esac | |
4258 | host=$ac_cv_host | |
4259 | ac_save_IFS=$IFS; IFS='-' | |
4260 | set x $ac_cv_host | |
4261 | shift | |
4262 | host_cpu=$1 | |
4263 | host_vendor=$2 | |
4264 | shift; shift | |
4265 | # Remember, the first character of IFS is used to create $*, | |
4266 | # except with old shells: | |
4267 | host_os=$* | |
4268 | IFS=$ac_save_IFS | |
4269 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
4270 | ||
4271 | ||
4272 | ||
4273 | ||
4274 | # Check whether --with-gnu-ld was given. | |
4275 | if test "${with_gnu_ld+set}" = set; then : | |
4276 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |
4277 | else | |
4278 | with_gnu_ld=no | |
4279 | fi | |
4280 | ||
4281 | # Prepare PATH_SEPARATOR. | |
4282 | # The user is always right. | |
4283 | if test "${PATH_SEPARATOR+set}" != set; then | |
4284 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
4285 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
4286 | # so we have to set that as well for the test. | |
4287 | PATH_SEPARATOR=: | |
4288 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
4289 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
4290 | || PATH_SEPARATOR=';' | |
4291 | } | |
4292 | fi | |
4293 | ||
4294 | ac_prog=ld | |
4295 | if test "$GCC" = yes; then | |
4296 | # Check if gcc -print-prog-name=ld gives a path. | |
4297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | |
4298 | $as_echo_n "checking for ld used by $CC... " >&6; } | |
4299 | case $host in | |
4300 | *-*-mingw*) | |
4301 | # gcc leaves a trailing carriage return which upsets mingw | |
4302 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
4303 | *) | |
4304 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
4305 | esac | |
4306 | case $ac_prog in | |
4307 | # Accept absolute paths. | |
4308 | [\\/]* | ?:[\\/]*) | |
4309 | re_direlt='/[^/][^/]*/\.\./' | |
4310 | # Canonicalize the pathname of ld | |
4311 | ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` | |
4312 | while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do | |
4313 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |
4314 | done | |
4315 | test -z "$LD" && LD="$ac_prog" | |
4316 | ;; | |
4317 | "") | |
4318 | # If it fails, then pretend we aren't using GCC. | |
4319 | ac_prog=ld | |
4320 | ;; | |
4321 | *) | |
4322 | # If it is relative, then search for the first ld in PATH. | |
4323 | with_gnu_ld=unknown | |
4324 | ;; | |
4325 | esac | |
4326 | elif test "$with_gnu_ld" = yes; then | |
4327 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
4328 | $as_echo_n "checking for GNU ld... " >&6; } | |
4329 | else | |
4330 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
4331 | $as_echo_n "checking for non-GNU ld... " >&6; } | |
4332 | fi | |
4333 | if ${acl_cv_path_LD+:} false; then : | |
4334 | $as_echo_n "(cached) " >&6 | |
4335 | else | |
4336 | if test -z "$LD"; then | |
4337 | acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
4338 | for ac_dir in $PATH; do | |
4339 | IFS="$acl_save_ifs" | |
4340 | test -z "$ac_dir" && ac_dir=. | |
4341 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
4342 | acl_cv_path_LD="$ac_dir/$ac_prog" | |
4343 | # Check to see if the program is GNU ld. I'd rather use --version, | |
4344 | # but apparently some variants of GNU ld only accept -v. | |
4345 | # Break only if it was the GNU/non-GNU ld that we prefer. | |
4346 | case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | |
4347 | *GNU* | *'with BFD'*) | |
4348 | test "$with_gnu_ld" != no && break | |
4349 | ;; | |
4350 | *) | |
4351 | test "$with_gnu_ld" != yes && break | |
4352 | ;; | |
4353 | esac | |
4354 | fi | |
4355 | done | |
4356 | IFS="$acl_save_ifs" | |
4357 | else | |
4358 | acl_cv_path_LD="$LD" # Let the user override the test with a path. | |
4359 | fi | |
4360 | fi | |
4361 | ||
4362 | LD="$acl_cv_path_LD" | |
4363 | if test -n "$LD"; then | |
4364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
4365 | $as_echo "$LD" >&6; } | |
4366 | else | |
4367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4368 | $as_echo "no" >&6; } | |
4369 | fi | |
4370 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |
4371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | |
4372 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
4373 | if ${acl_cv_prog_gnu_ld+:} false; then : | |
4374 | $as_echo_n "(cached) " >&6 | |
4375 | else | |
4376 | # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
4377 | case `$LD -v 2>&1 </dev/null` in | |
4378 | *GNU* | *'with BFD'*) | |
4379 | acl_cv_prog_gnu_ld=yes | |
4380 | ;; | |
4381 | *) | |
4382 | acl_cv_prog_gnu_ld=no | |
3060 | 4383 | ;; |
3061 | 4384 | esac |
3062 | 4385 | fi |
3063 | INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL | |
3064 | if test -n "$INTLTOOL_PERL"; then | |
3065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 | |
3066 | $as_echo "$INTLTOOL_PERL" >&6; } | |
3067 | else | |
3068 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3069 | $as_echo "no" >&6; } | |
3070 | fi | |
3071 | ||
3072 | ||
3073 | if test -z "$INTLTOOL_PERL"; then | |
3074 | as_fn_error $? "perl not found" "$LINENO" 5 | |
3075 | fi | |
3076 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 | |
3077 | $as_echo_n "checking for perl >= 5.8.1... " >&6; } | |
3078 | $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 | |
3079 | if test $? -ne 0; then | |
3080 | as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 | |
3081 | else | |
3082 | IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` | |
3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 | |
3084 | $as_echo "$IT_PERL_VERSION" >&6; } | |
3085 | fi | |
3086 | if test "x" != "xno-xml"; then | |
3087 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 | |
3088 | $as_echo_n "checking for XML::Parser... " >&6; } | |
3089 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then | |
3090 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |
3091 | $as_echo "ok" >&6; } | |
4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 | |
4387 | $as_echo "$acl_cv_prog_gnu_ld" >&6; } | |
4388 | with_gnu_ld=$acl_cv_prog_gnu_ld | |
4389 | ||
4390 | ||
4391 | ||
4392 | ||
4393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 | |
4394 | $as_echo_n "checking for shared library run path origin... " >&6; } | |
4395 | if ${acl_cv_rpath+:} false; then : | |
4396 | $as_echo_n "(cached) " >&6 | |
4397 | else | |
4398 | ||
4399 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ | |
4400 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh | |
4401 | . ./conftest.sh | |
4402 | rm -f ./conftest.sh | |
4403 | acl_cv_rpath=done | |
4404 | ||
4405 | fi | |
4406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 | |
4407 | $as_echo "$acl_cv_rpath" >&6; } | |
4408 | wl="$acl_cv_wl" | |
4409 | acl_libext="$acl_cv_libext" | |
4410 | acl_shlibext="$acl_cv_shlibext" | |
4411 | acl_libname_spec="$acl_cv_libname_spec" | |
4412 | acl_library_names_spec="$acl_cv_library_names_spec" | |
4413 | acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" | |
4414 | acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" | |
4415 | acl_hardcode_direct="$acl_cv_hardcode_direct" | |
4416 | acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" | |
4417 | # Check whether --enable-rpath was given. | |
4418 | if test "${enable_rpath+set}" = set; then : | |
4419 | enableval=$enable_rpath; : | |
4420 | else | |
4421 | enable_rpath=yes | |
4422 | fi | |
4423 | ||
4424 | ||
4425 | ||
4426 | ac_ext=c | |
4427 | ac_cpp='$CPP $CPPFLAGS' | |
4428 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4429 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4430 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4431 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
4432 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
4433 | # On Suns, sometimes $CPP names a directory. | |
4434 | if test -n "$CPP" && test -d "$CPP"; then | |
4435 | CPP= | |
4436 | fi | |
4437 | if test -z "$CPP"; then | |
4438 | if ${ac_cv_prog_CPP+:} false; then : | |
4439 | $as_echo_n "(cached) " >&6 | |
4440 | else | |
4441 | # Double quotes because CPP needs to be expanded | |
4442 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
4443 | do | |
4444 | ac_preproc_ok=false | |
4445 | for ac_c_preproc_warn_flag in '' yes | |
4446 | do | |
4447 | # Use a header file that comes with gcc, so configuring glibc | |
4448 | # with a fresh cross-compiler works. | |
4449 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4450 | # <limits.h> exists even on freestanding compilers. | |
4451 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
4452 | # not just through cpp. "Syntax error" is here to catch this case. | |
4453 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4454 | /* end confdefs.h. */ | |
4455 | #ifdef __STDC__ | |
4456 | # include <limits.h> | |
4457 | #else | |
4458 | # include <assert.h> | |
4459 | #endif | |
4460 | Syntax error | |
4461 | _ACEOF | |
4462 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4463 | ||
4464 | else | |
4465 | # Broken: fails on valid input. | |
4466 | continue | |
4467 | fi | |
4468 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4469 | ||
4470 | # OK, works on sane cases. Now check whether nonexistent headers | |
4471 | # can be detected and how. | |
4472 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4473 | /* end confdefs.h. */ | |
4474 | #include <ac_nonexistent.h> | |
4475 | _ACEOF | |
4476 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4477 | # Broken: success on invalid input. | |
4478 | continue | |
4479 | else | |
4480 | # Passes both tests. | |
4481 | ac_preproc_ok=: | |
4482 | break | |
4483 | fi | |
4484 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4485 | ||
4486 | done | |
4487 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4488 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4489 | if $ac_preproc_ok; then : | |
4490 | break | |
4491 | fi | |
4492 | ||
4493 | done | |
4494 | ac_cv_prog_CPP=$CPP | |
4495 | ||
4496 | fi | |
4497 | CPP=$ac_cv_prog_CPP | |
4498 | else | |
4499 | ac_cv_prog_CPP=$CPP | |
4500 | fi | |
4501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
4502 | $as_echo "$CPP" >&6; } | |
4503 | ac_preproc_ok=false | |
4504 | for ac_c_preproc_warn_flag in '' yes | |
4505 | do | |
4506 | # Use a header file that comes with gcc, so configuring glibc | |
4507 | # with a fresh cross-compiler works. | |
4508 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4509 | # <limits.h> exists even on freestanding compilers. | |
4510 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
4511 | # not just through cpp. "Syntax error" is here to catch this case. | |
4512 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4513 | /* end confdefs.h. */ | |
4514 | #ifdef __STDC__ | |
4515 | # include <limits.h> | |
4516 | #else | |
4517 | # include <assert.h> | |
4518 | #endif | |
4519 | Syntax error | |
4520 | _ACEOF | |
4521 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4522 | ||
4523 | else | |
4524 | # Broken: fails on valid input. | |
4525 | continue | |
4526 | fi | |
4527 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4528 | ||
4529 | # OK, works on sane cases. Now check whether nonexistent headers | |
4530 | # can be detected and how. | |
4531 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4532 | /* end confdefs.h. */ | |
4533 | #include <ac_nonexistent.h> | |
4534 | _ACEOF | |
4535 | if ac_fn_c_try_cpp "$LINENO"; then : | |
4536 | # Broken: success on invalid input. | |
4537 | continue | |
4538 | else | |
4539 | # Passes both tests. | |
4540 | ac_preproc_ok=: | |
4541 | break | |
4542 | fi | |
4543 | rm -f conftest.err conftest.i conftest.$ac_ext | |
4544 | ||
4545 | done | |
4546 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4547 | rm -f conftest.i conftest.err conftest.$ac_ext | |
4548 | if $ac_preproc_ok; then : | |
4549 | ||
4550 | else | |
4551 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
4552 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4553 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
4554 | See \`config.log' for more details" "$LINENO" 5; } | |
4555 | fi | |
4556 | ||
4557 | ac_ext=c | |
4558 | ac_cpp='$CPP $CPPFLAGS' | |
4559 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4560 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4561 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4562 | ||
4563 | ||
4564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
4565 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
4566 | if ${ac_cv_path_GREP+:} false; then : | |
4567 | $as_echo_n "(cached) " >&6 | |
4568 | else | |
4569 | if test -z "$GREP"; then | |
4570 | ac_path_GREP_found=false | |
4571 | # Loop through the user's path and test for each of PROGNAME-LIST | |
4572 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4573 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4574 | do | |
4575 | IFS=$as_save_IFS | |
4576 | test -z "$as_dir" && as_dir=. | |
4577 | for ac_prog in grep ggrep; do | |
4578 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4579 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
4580 | as_fn_executable_p "$ac_path_GREP" || continue | |
4581 | # Check for GNU ac_path_GREP and select it if it is found. | |
4582 | # Check for GNU $ac_path_GREP | |
4583 | case `"$ac_path_GREP" --version 2>&1` in | |
4584 | *GNU*) | |
4585 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
4586 | *) | |
4587 | ac_count=0 | |
4588 | $as_echo_n 0123456789 >"conftest.in" | |
4589 | while : | |
4590 | do | |
4591 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4592 | mv "conftest.tmp" "conftest.in" | |
4593 | cp "conftest.in" "conftest.nl" | |
4594 | $as_echo 'GREP' >> "conftest.nl" | |
4595 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4596 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4597 | as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4598 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
4599 | # Best one so far, save it but keep looking for a better one | |
4600 | ac_cv_path_GREP="$ac_path_GREP" | |
4601 | ac_path_GREP_max=$ac_count | |
4602 | fi | |
4603 | # 10*(2^10) chars as input seems more than enough | |
4604 | test $ac_count -gt 10 && break | |
4605 | done | |
4606 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4607 | esac | |
4608 | ||
4609 | $ac_path_GREP_found && break 3 | |
4610 | done | |
4611 | done | |
4612 | done | |
4613 | IFS=$as_save_IFS | |
4614 | if test -z "$ac_cv_path_GREP"; then | |
4615 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4616 | fi | |
4617 | else | |
4618 | ac_cv_path_GREP=$GREP | |
4619 | fi | |
4620 | ||
4621 | fi | |
4622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
4623 | $as_echo "$ac_cv_path_GREP" >&6; } | |
4624 | GREP="$ac_cv_path_GREP" | |
4625 | ||
4626 | ||
4627 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
4628 | $as_echo_n "checking for egrep... " >&6; } | |
4629 | if ${ac_cv_path_EGREP+:} false; then : | |
4630 | $as_echo_n "(cached) " >&6 | |
4631 | else | |
4632 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4633 | then ac_cv_path_EGREP="$GREP -E" | |
3092 | 4634 | else |
3093 | as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 | |
4635 | if test -z "$EGREP"; then | |
4636 | ac_path_EGREP_found=false | |
4637 | # Loop through the user's path and test for each of PROGNAME-LIST | |
4638 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4639 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4640 | do | |
4641 | IFS=$as_save_IFS | |
4642 | test -z "$as_dir" && as_dir=. | |
4643 | for ac_prog in egrep; do | |
4644 | for ac_exec_ext in '' $ac_executable_extensions; do | |
4645 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4646 | as_fn_executable_p "$ac_path_EGREP" || continue | |
4647 | # Check for GNU ac_path_EGREP and select it if it is found. | |
4648 | # Check for GNU $ac_path_EGREP | |
4649 | case `"$ac_path_EGREP" --version 2>&1` in | |
4650 | *GNU*) | |
4651 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4652 | *) | |
4653 | ac_count=0 | |
4654 | $as_echo_n 0123456789 >"conftest.in" | |
4655 | while : | |
4656 | do | |
4657 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4658 | mv "conftest.tmp" "conftest.in" | |
4659 | cp "conftest.in" "conftest.nl" | |
4660 | $as_echo 'EGREP' >> "conftest.nl" | |
4661 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4662 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4663 | as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4664 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4665 | # Best one so far, save it but keep looking for a better one | |
4666 | ac_cv_path_EGREP="$ac_path_EGREP" | |
4667 | ac_path_EGREP_max=$ac_count | |
4668 | fi | |
4669 | # 10*(2^10) chars as input seems more than enough | |
4670 | test $ac_count -gt 10 && break | |
4671 | done | |
4672 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4673 | esac | |
4674 | ||
4675 | $ac_path_EGREP_found && break 3 | |
4676 | done | |
4677 | done | |
4678 | done | |
4679 | IFS=$as_save_IFS | |
4680 | if test -z "$ac_cv_path_EGREP"; then | |
4681 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4682 | fi | |
4683 | else | |
4684 | ac_cv_path_EGREP=$EGREP | |
4685 | fi | |
4686 | ||
3094 | 4687 | fi |
3095 | 4688 | fi |
3096 | ||
3097 | # Substitute ALL_LINGUAS so we can use it in po/Makefile | |
4689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
4690 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
4691 | EGREP="$ac_cv_path_EGREP" | |
4692 | ||
4693 | ||
4694 | ||
4695 | ||
4696 | acl_libdirstem=lib | |
4697 | acl_libdirstem2= | |
4698 | case "$host_os" in | |
4699 | solaris*) | |
4700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 | |
4701 | $as_echo_n "checking for 64-bit host... " >&6; } | |
4702 | if ${gl_cv_solaris_64bit+:} false; then : | |
4703 | $as_echo_n "(cached) " >&6 | |
4704 | else | |
4705 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4706 | /* end confdefs.h. */ | |
4707 | ||
4708 | #ifdef _LP64 | |
4709 | sixtyfour bits | |
4710 | #endif | |
4711 | ||
4712 | _ACEOF | |
4713 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4714 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : | |
4715 | gl_cv_solaris_64bit=yes | |
4716 | else | |
4717 | gl_cv_solaris_64bit=no | |
4718 | fi | |
4719 | rm -f conftest* | |
4720 | ||
4721 | ||
4722 | fi | |
4723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 | |
4724 | $as_echo "$gl_cv_solaris_64bit" >&6; } | |
4725 | if test $gl_cv_solaris_64bit = yes; then | |
4726 | acl_libdirstem=lib/64 | |
4727 | case "$host_cpu" in | |
4728 | sparc*) acl_libdirstem2=lib/sparcv9 ;; | |
4729 | i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; | |
4730 | esac | |
4731 | fi | |
4732 | ;; | |
4733 | *) | |
4734 | searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` | |
4735 | if test -n "$searchpath"; then | |
4736 | acl_save_IFS="${IFS= }"; IFS=":" | |
4737 | for searchdir in $searchpath; do | |
4738 | if test -d "$searchdir"; then | |
4739 | case "$searchdir" in | |
4740 | */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; | |
4741 | */../ | */.. ) | |
4742 | # Better ignore directories of this form. They are misleading. | |
4743 | ;; | |
4744 | *) searchdir=`cd "$searchdir" && pwd` | |
4745 | case "$searchdir" in | |
4746 | */lib64 ) acl_libdirstem=lib64 ;; | |
4747 | esac ;; | |
4748 | esac | |
4749 | fi | |
4750 | done | |
4751 | IFS="$acl_save_IFS" | |
4752 | fi | |
4753 | ;; | |
4754 | esac | |
4755 | test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" | |
4756 | ||
4757 | ||
4758 | ||
4759 | ||
4760 | ||
4761 | ||
4762 | ||
4763 | ||
4764 | ||
4765 | ||
4766 | ||
4767 | ||
4768 | use_additional=yes | |
4769 | ||
4770 | acl_save_prefix="$prefix" | |
4771 | prefix="$acl_final_prefix" | |
4772 | acl_save_exec_prefix="$exec_prefix" | |
4773 | exec_prefix="$acl_final_exec_prefix" | |
4774 | ||
4775 | eval additional_includedir=\"$includedir\" | |
4776 | eval additional_libdir=\"$libdir\" | |
4777 | ||
4778 | exec_prefix="$acl_save_exec_prefix" | |
4779 | prefix="$acl_save_prefix" | |
4780 | ||
4781 | ||
4782 | # Check whether --with-libiconv-prefix was given. | |
4783 | if test "${with_libiconv_prefix+set}" = set; then : | |
4784 | withval=$with_libiconv_prefix; | |
4785 | if test "X$withval" = "Xno"; then | |
4786 | use_additional=no | |
4787 | else | |
4788 | if test "X$withval" = "X"; then | |
4789 | ||
4790 | acl_save_prefix="$prefix" | |
4791 | prefix="$acl_final_prefix" | |
4792 | acl_save_exec_prefix="$exec_prefix" | |
4793 | exec_prefix="$acl_final_exec_prefix" | |
4794 | ||
4795 | eval additional_includedir=\"$includedir\" | |
4796 | eval additional_libdir=\"$libdir\" | |
4797 | ||
4798 | exec_prefix="$acl_save_exec_prefix" | |
4799 | prefix="$acl_save_prefix" | |
4800 | ||
4801 | else | |
4802 | additional_includedir="$withval/include" | |
4803 | additional_libdir="$withval/$acl_libdirstem" | |
4804 | if test "$acl_libdirstem2" != "$acl_libdirstem" \ | |
4805 | && ! test -d "$withval/$acl_libdirstem"; then | |
4806 | additional_libdir="$withval/$acl_libdirstem2" | |
4807 | fi | |
4808 | fi | |
4809 | fi | |
4810 | ||
4811 | fi | |
4812 | ||
4813 | LIBICONV= | |
4814 | LTLIBICONV= | |
4815 | INCICONV= | |
4816 | LIBICONV_PREFIX= | |
4817 | HAVE_LIBICONV= | |
4818 | rpathdirs= | |
4819 | ltrpathdirs= | |
4820 | names_already_handled= | |
4821 | names_next_round='iconv ' | |
4822 | while test -n "$names_next_round"; do | |
4823 | names_this_round="$names_next_round" | |
4824 | names_next_round= | |
4825 | for name in $names_this_round; do | |
4826 | already_handled= | |
4827 | for n in $names_already_handled; do | |
4828 | if test "$n" = "$name"; then | |
4829 | already_handled=yes | |
4830 | break | |
4831 | fi | |
4832 | done | |
4833 | if test -z "$already_handled"; then | |
4834 | names_already_handled="$names_already_handled $name" | |
4835 | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` | |
4836 | eval value=\"\$HAVE_LIB$uppername\" | |
4837 | if test -n "$value"; then | |
4838 | if test "$value" = yes; then | |
4839 | eval value=\"\$LIB$uppername\" | |
4840 | test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" | |
4841 | eval value=\"\$LTLIB$uppername\" | |
4842 | test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" | |
4843 | else | |
4844 | : | |
4845 | fi | |
4846 | else | |
4847 | found_dir= | |
4848 | found_la= | |
4849 | found_so= | |
4850 | found_a= | |
4851 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name | |
4852 | if test -n "$acl_shlibext"; then | |
4853 | shrext=".$acl_shlibext" # typically: shrext=.so | |
4854 | else | |
4855 | shrext= | |
4856 | fi | |
4857 | if test $use_additional = yes; then | |
4858 | dir="$additional_libdir" | |
4859 | if test -n "$acl_shlibext"; then | |
4860 | if test -f "$dir/$libname$shrext"; then | |
4861 | found_dir="$dir" | |
4862 | found_so="$dir/$libname$shrext" | |
4863 | else | |
4864 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
4865 | ver=`(cd "$dir" && \ | |
4866 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
4867 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
4868 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
4869 | | sed 1q ) 2>/dev/null` | |
4870 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
4871 | found_dir="$dir" | |
4872 | found_so="$dir/$libname$shrext.$ver" | |
4873 | fi | |
4874 | else | |
4875 | eval library_names=\"$acl_library_names_spec\" | |
4876 | for f in $library_names; do | |
4877 | if test -f "$dir/$f"; then | |
4878 | found_dir="$dir" | |
4879 | found_so="$dir/$f" | |
4880 | break | |
4881 | fi | |
4882 | done | |
4883 | fi | |
4884 | fi | |
4885 | fi | |
4886 | if test "X$found_dir" = "X"; then | |
4887 | if test -f "$dir/$libname.$acl_libext"; then | |
4888 | found_dir="$dir" | |
4889 | found_a="$dir/$libname.$acl_libext" | |
4890 | fi | |
4891 | fi | |
4892 | if test "X$found_dir" != "X"; then | |
4893 | if test -f "$dir/$libname.la"; then | |
4894 | found_la="$dir/$libname.la" | |
4895 | fi | |
4896 | fi | |
4897 | fi | |
4898 | if test "X$found_dir" = "X"; then | |
4899 | for x in $LDFLAGS $LTLIBICONV; do | |
4900 | ||
4901 | acl_save_prefix="$prefix" | |
4902 | prefix="$acl_final_prefix" | |
4903 | acl_save_exec_prefix="$exec_prefix" | |
4904 | exec_prefix="$acl_final_exec_prefix" | |
4905 | eval x=\"$x\" | |
4906 | exec_prefix="$acl_save_exec_prefix" | |
4907 | prefix="$acl_save_prefix" | |
4908 | ||
4909 | case "$x" in | |
4910 | -L*) | |
4911 | dir=`echo "X$x" | sed -e 's/^X-L//'` | |
4912 | if test -n "$acl_shlibext"; then | |
4913 | if test -f "$dir/$libname$shrext"; then | |
4914 | found_dir="$dir" | |
4915 | found_so="$dir/$libname$shrext" | |
4916 | else | |
4917 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
4918 | ver=`(cd "$dir" && \ | |
4919 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
4920 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
4921 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
4922 | | sed 1q ) 2>/dev/null` | |
4923 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
4924 | found_dir="$dir" | |
4925 | found_so="$dir/$libname$shrext.$ver" | |
4926 | fi | |
4927 | else | |
4928 | eval library_names=\"$acl_library_names_spec\" | |
4929 | for f in $library_names; do | |
4930 | if test -f "$dir/$f"; then | |
4931 | found_dir="$dir" | |
4932 | found_so="$dir/$f" | |
4933 | break | |
4934 | fi | |
4935 | done | |
4936 | fi | |
4937 | fi | |
4938 | fi | |
4939 | if test "X$found_dir" = "X"; then | |
4940 | if test -f "$dir/$libname.$acl_libext"; then | |
4941 | found_dir="$dir" | |
4942 | found_a="$dir/$libname.$acl_libext" | |
4943 | fi | |
4944 | fi | |
4945 | if test "X$found_dir" != "X"; then | |
4946 | if test -f "$dir/$libname.la"; then | |
4947 | found_la="$dir/$libname.la" | |
4948 | fi | |
4949 | fi | |
4950 | ;; | |
4951 | esac | |
4952 | if test "X$found_dir" != "X"; then | |
4953 | break | |
4954 | fi | |
4955 | done | |
4956 | fi | |
4957 | if test "X$found_dir" != "X"; then | |
4958 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" | |
4959 | if test "X$found_so" != "X"; then | |
4960 | if test "$enable_rpath" = no \ | |
4961 | || test "X$found_dir" = "X/usr/$acl_libdirstem" \ | |
4962 | || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then | |
4963 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | |
4964 | else | |
4965 | haveit= | |
4966 | for x in $ltrpathdirs; do | |
4967 | if test "X$x" = "X$found_dir"; then | |
4968 | haveit=yes | |
4969 | break | |
4970 | fi | |
4971 | done | |
4972 | if test -z "$haveit"; then | |
4973 | ltrpathdirs="$ltrpathdirs $found_dir" | |
4974 | fi | |
4975 | if test "$acl_hardcode_direct" = yes; then | |
4976 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | |
4977 | else | |
4978 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then | |
4979 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | |
4980 | haveit= | |
4981 | for x in $rpathdirs; do | |
4982 | if test "X$x" = "X$found_dir"; then | |
4983 | haveit=yes | |
4984 | break | |
4985 | fi | |
4986 | done | |
4987 | if test -z "$haveit"; then | |
4988 | rpathdirs="$rpathdirs $found_dir" | |
4989 | fi | |
4990 | else | |
4991 | haveit= | |
4992 | for x in $LDFLAGS $LIBICONV; do | |
4993 | ||
4994 | acl_save_prefix="$prefix" | |
4995 | prefix="$acl_final_prefix" | |
4996 | acl_save_exec_prefix="$exec_prefix" | |
4997 | exec_prefix="$acl_final_exec_prefix" | |
4998 | eval x=\"$x\" | |
4999 | exec_prefix="$acl_save_exec_prefix" | |
5000 | prefix="$acl_save_prefix" | |
5001 | ||
5002 | if test "X$x" = "X-L$found_dir"; then | |
5003 | haveit=yes | |
5004 | break | |
5005 | fi | |
5006 | done | |
5007 | if test -z "$haveit"; then | |
5008 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" | |
5009 | fi | |
5010 | if test "$acl_hardcode_minus_L" != no; then | |
5011 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" | |
5012 | else | |
5013 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" | |
5014 | fi | |
5015 | fi | |
5016 | fi | |
5017 | fi | |
5018 | else | |
5019 | if test "X$found_a" != "X"; then | |
5020 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" | |
5021 | else | |
5022 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" | |
5023 | fi | |
5024 | fi | |
5025 | additional_includedir= | |
5026 | case "$found_dir" in | |
5027 | */$acl_libdirstem | */$acl_libdirstem/) | |
5028 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` | |
5029 | if test "$name" = 'iconv'; then | |
5030 | LIBICONV_PREFIX="$basedir" | |
5031 | fi | |
5032 | additional_includedir="$basedir/include" | |
5033 | ;; | |
5034 | */$acl_libdirstem2 | */$acl_libdirstem2/) | |
5035 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` | |
5036 | if test "$name" = 'iconv'; then | |
5037 | LIBICONV_PREFIX="$basedir" | |
5038 | fi | |
5039 | additional_includedir="$basedir/include" | |
5040 | ;; | |
5041 | esac | |
5042 | if test "X$additional_includedir" != "X"; then | |
5043 | if test "X$additional_includedir" != "X/usr/include"; then | |
5044 | haveit= | |
5045 | if test "X$additional_includedir" = "X/usr/local/include"; then | |
5046 | if test -n "$GCC"; then | |
5047 | case $host_os in | |
5048 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
5049 | esac | |
5050 | fi | |
5051 | fi | |
5052 | if test -z "$haveit"; then | |
5053 | for x in $CPPFLAGS $INCICONV; do | |
5054 | ||
5055 | acl_save_prefix="$prefix" | |
5056 | prefix="$acl_final_prefix" | |
5057 | acl_save_exec_prefix="$exec_prefix" | |
5058 | exec_prefix="$acl_final_exec_prefix" | |
5059 | eval x=\"$x\" | |
5060 | exec_prefix="$acl_save_exec_prefix" | |
5061 | prefix="$acl_save_prefix" | |
5062 | ||
5063 | if test "X$x" = "X-I$additional_includedir"; then | |
5064 | haveit=yes | |
5065 | break | |
5066 | fi | |
5067 | done | |
5068 | if test -z "$haveit"; then | |
5069 | if test -d "$additional_includedir"; then | |
5070 | INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" | |
5071 | fi | |
5072 | fi | |
5073 | fi | |
5074 | fi | |
5075 | fi | |
5076 | if test -n "$found_la"; then | |
5077 | save_libdir="$libdir" | |
5078 | case "$found_la" in | |
5079 | */* | *\\*) . "$found_la" ;; | |
5080 | *) . "./$found_la" ;; | |
5081 | esac | |
5082 | libdir="$save_libdir" | |
5083 | for dep in $dependency_libs; do | |
5084 | case "$dep" in | |
5085 | -L*) | |
5086 | additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` | |
5087 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ | |
5088 | && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then | |
5089 | haveit= | |
5090 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ | |
5091 | || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then | |
5092 | if test -n "$GCC"; then | |
5093 | case $host_os in | |
5094 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
5095 | esac | |
5096 | fi | |
5097 | fi | |
5098 | if test -z "$haveit"; then | |
5099 | haveit= | |
5100 | for x in $LDFLAGS $LIBICONV; do | |
5101 | ||
5102 | acl_save_prefix="$prefix" | |
5103 | prefix="$acl_final_prefix" | |
5104 | acl_save_exec_prefix="$exec_prefix" | |
5105 | exec_prefix="$acl_final_exec_prefix" | |
5106 | eval x=\"$x\" | |
5107 | exec_prefix="$acl_save_exec_prefix" | |
5108 | prefix="$acl_save_prefix" | |
5109 | ||
5110 | if test "X$x" = "X-L$additional_libdir"; then | |
5111 | haveit=yes | |
5112 | break | |
5113 | fi | |
5114 | done | |
5115 | if test -z "$haveit"; then | |
5116 | if test -d "$additional_libdir"; then | |
5117 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" | |
5118 | fi | |
5119 | fi | |
5120 | haveit= | |
5121 | for x in $LDFLAGS $LTLIBICONV; do | |
5122 | ||
5123 | acl_save_prefix="$prefix" | |
5124 | prefix="$acl_final_prefix" | |
5125 | acl_save_exec_prefix="$exec_prefix" | |
5126 | exec_prefix="$acl_final_exec_prefix" | |
5127 | eval x=\"$x\" | |
5128 | exec_prefix="$acl_save_exec_prefix" | |
5129 | prefix="$acl_save_prefix" | |
5130 | ||
5131 | if test "X$x" = "X-L$additional_libdir"; then | |
5132 | haveit=yes | |
5133 | break | |
5134 | fi | |
5135 | done | |
5136 | if test -z "$haveit"; then | |
5137 | if test -d "$additional_libdir"; then | |
5138 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" | |
5139 | fi | |
5140 | fi | |
5141 | fi | |
5142 | fi | |
5143 | ;; | |
5144 | -R*) | |
5145 | dir=`echo "X$dep" | sed -e 's/^X-R//'` | |
5146 | if test "$enable_rpath" != no; then | |
5147 | haveit= | |
5148 | for x in $rpathdirs; do | |
5149 | if test "X$x" = "X$dir"; then | |
5150 | haveit=yes | |
5151 | break | |
5152 | fi | |
5153 | done | |
5154 | if test -z "$haveit"; then | |
5155 | rpathdirs="$rpathdirs $dir" | |
5156 | fi | |
5157 | haveit= | |
5158 | for x in $ltrpathdirs; do | |
5159 | if test "X$x" = "X$dir"; then | |
5160 | haveit=yes | |
5161 | break | |
5162 | fi | |
5163 | done | |
5164 | if test -z "$haveit"; then | |
5165 | ltrpathdirs="$ltrpathdirs $dir" | |
5166 | fi | |
5167 | fi | |
5168 | ;; | |
5169 | -l*) | |
5170 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` | |
5171 | ;; | |
5172 | *.la) | |
5173 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` | |
5174 | ;; | |
5175 | *) | |
5176 | LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" | |
5177 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" | |
5178 | ;; | |
5179 | esac | |
5180 | done | |
5181 | fi | |
5182 | else | |
5183 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" | |
5184 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" | |
5185 | fi | |
5186 | fi | |
5187 | fi | |
5188 | done | |
5189 | done | |
5190 | if test "X$rpathdirs" != "X"; then | |
5191 | if test -n "$acl_hardcode_libdir_separator"; then | |
5192 | alldirs= | |
5193 | for found_dir in $rpathdirs; do | |
5194 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" | |
5195 | done | |
5196 | acl_save_libdir="$libdir" | |
5197 | libdir="$alldirs" | |
5198 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
5199 | libdir="$acl_save_libdir" | |
5200 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" | |
5201 | else | |
5202 | for found_dir in $rpathdirs; do | |
5203 | acl_save_libdir="$libdir" | |
5204 | libdir="$found_dir" | |
5205 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
5206 | libdir="$acl_save_libdir" | |
5207 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" | |
5208 | done | |
5209 | fi | |
5210 | fi | |
5211 | if test "X$ltrpathdirs" != "X"; then | |
5212 | for found_dir in $ltrpathdirs; do | |
5213 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" | |
5214 | done | |
5215 | fi | |
5216 | ||
5217 | ||
5218 | ||
5219 | ||
5220 | ||
5221 | ||
5222 | ||
5223 | ||
5224 | ||
5225 | ||
5226 | ||
5227 | ||
5228 | ||
5229 | ||
5230 | ||
5231 | ||
5232 | ||
5233 | ||
5234 | ||
5235 | ||
5236 | ||
5237 | ||
5238 | ||
5239 | ||
5240 | ||
5241 | ||
5242 | ||
5243 | ||
5244 | ||
5245 | ||
5246 | ||
5247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 | |
5248 | $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } | |
5249 | if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : | |
5250 | $as_echo_n "(cached) " >&6 | |
5251 | else | |
5252 | gt_save_LIBS="$LIBS" | |
5253 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
5254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5255 | /* end confdefs.h. */ | |
5256 | #include <CoreFoundation/CFPreferences.h> | |
5257 | int | |
5258 | main () | |
5259 | { | |
5260 | CFPreferencesCopyAppValue(NULL, NULL) | |
5261 | ; | |
5262 | return 0; | |
5263 | } | |
5264 | _ACEOF | |
5265 | if ac_fn_c_try_link "$LINENO"; then : | |
5266 | gt_cv_func_CFPreferencesCopyAppValue=yes | |
5267 | else | |
5268 | gt_cv_func_CFPreferencesCopyAppValue=no | |
5269 | fi | |
5270 | rm -f core conftest.err conftest.$ac_objext \ | |
5271 | conftest$ac_exeext conftest.$ac_ext | |
5272 | LIBS="$gt_save_LIBS" | |
5273 | fi | |
5274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 | |
5275 | $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } | |
5276 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then | |
5277 | ||
5278 | $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h | |
5279 | ||
5280 | fi | |
5281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 | |
5282 | $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } | |
5283 | if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : | |
5284 | $as_echo_n "(cached) " >&6 | |
5285 | else | |
5286 | gt_save_LIBS="$LIBS" | |
5287 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
5288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5289 | /* end confdefs.h. */ | |
5290 | #include <CoreFoundation/CFLocale.h> | |
5291 | int | |
5292 | main () | |
5293 | { | |
5294 | CFLocaleCopyCurrent(); | |
5295 | ; | |
5296 | return 0; | |
5297 | } | |
5298 | _ACEOF | |
5299 | if ac_fn_c_try_link "$LINENO"; then : | |
5300 | gt_cv_func_CFLocaleCopyCurrent=yes | |
5301 | else | |
5302 | gt_cv_func_CFLocaleCopyCurrent=no | |
5303 | fi | |
5304 | rm -f core conftest.err conftest.$ac_objext \ | |
5305 | conftest$ac_exeext conftest.$ac_ext | |
5306 | LIBS="$gt_save_LIBS" | |
5307 | fi | |
5308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 | |
5309 | $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } | |
5310 | if test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
5311 | ||
5312 | $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h | |
5313 | ||
5314 | fi | |
5315 | INTL_MACOSX_LIBS= | |
5316 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
5317 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" | |
5318 | fi | |
5319 | ||
5320 | ||
5321 | ||
5322 | ||
5323 | ||
5324 | ||
5325 | LIBINTL= | |
5326 | LTLIBINTL= | |
5327 | POSUB= | |
5328 | ||
5329 | case " $gt_needs " in | |
5330 | *" need-formatstring-macros "*) gt_api_version=3 ;; | |
5331 | *" need-ngettext "*) gt_api_version=2 ;; | |
5332 | *) gt_api_version=1 ;; | |
5333 | esac | |
5334 | gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" | |
5335 | gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" | |
5336 | ||
5337 | if test "$USE_NLS" = "yes"; then | |
5338 | gt_use_preinstalled_gnugettext=no | |
5339 | ||
5340 | ||
5341 | if test $gt_api_version -ge 3; then | |
5342 | gt_revision_test_code=' | |
5343 | #ifndef __GNU_GETTEXT_SUPPORTED_REVISION | |
5344 | #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) | |
5345 | #endif | |
5346 | typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; | |
5347 | ' | |
5348 | else | |
5349 | gt_revision_test_code= | |
5350 | fi | |
5351 | if test $gt_api_version -ge 2; then | |
5352 | gt_expression_test_code=' + * ngettext ("", "", 0)' | |
5353 | else | |
5354 | gt_expression_test_code= | |
5355 | fi | |
5356 | ||
5357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 | |
5358 | $as_echo_n "checking for GNU gettext in libc... " >&6; } | |
5359 | if eval \${$gt_func_gnugettext_libc+:} false; then : | |
5360 | $as_echo_n "(cached) " >&6 | |
5361 | else | |
5362 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5363 | /* end confdefs.h. */ | |
5364 | ||
5365 | #include <libintl.h> | |
5366 | $gt_revision_test_code | |
5367 | extern int _nl_msg_cat_cntr; | |
5368 | extern int *_nl_domain_bindings; | |
5369 | ||
5370 | int | |
5371 | main () | |
5372 | { | |
5373 | ||
5374 | bindtextdomain ("", ""); | |
5375 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings | |
5376 | ||
5377 | ; | |
5378 | return 0; | |
5379 | } | |
5380 | _ACEOF | |
5381 | if ac_fn_c_try_link "$LINENO"; then : | |
5382 | eval "$gt_func_gnugettext_libc=yes" | |
5383 | else | |
5384 | eval "$gt_func_gnugettext_libc=no" | |
5385 | fi | |
5386 | rm -f core conftest.err conftest.$ac_objext \ | |
5387 | conftest$ac_exeext conftest.$ac_ext | |
5388 | fi | |
5389 | eval ac_res=\$$gt_func_gnugettext_libc | |
5390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5391 | $as_echo "$ac_res" >&6; } | |
5392 | ||
5393 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then | |
5394 | ||
5395 | ||
5396 | ||
5397 | ||
5398 | ||
5399 | am_save_CPPFLAGS="$CPPFLAGS" | |
5400 | ||
5401 | for element in $INCICONV; do | |
5402 | haveit= | |
5403 | for x in $CPPFLAGS; do | |
5404 | ||
5405 | acl_save_prefix="$prefix" | |
5406 | prefix="$acl_final_prefix" | |
5407 | acl_save_exec_prefix="$exec_prefix" | |
5408 | exec_prefix="$acl_final_exec_prefix" | |
5409 | eval x=\"$x\" | |
5410 | exec_prefix="$acl_save_exec_prefix" | |
5411 | prefix="$acl_save_prefix" | |
5412 | ||
5413 | if test "X$x" = "X$element"; then | |
5414 | haveit=yes | |
5415 | break | |
5416 | fi | |
5417 | done | |
5418 | if test -z "$haveit"; then | |
5419 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" | |
5420 | fi | |
5421 | done | |
5422 | ||
5423 | ||
5424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 | |
5425 | $as_echo_n "checking for iconv... " >&6; } | |
5426 | if ${am_cv_func_iconv+:} false; then : | |
5427 | $as_echo_n "(cached) " >&6 | |
5428 | else | |
5429 | ||
5430 | am_cv_func_iconv="no, consider installing GNU libiconv" | |
5431 | am_cv_lib_iconv=no | |
5432 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5433 | /* end confdefs.h. */ | |
5434 | ||
5435 | #include <stdlib.h> | |
5436 | #include <iconv.h> | |
5437 | ||
5438 | int | |
5439 | main () | |
5440 | { | |
5441 | iconv_t cd = iconv_open("",""); | |
5442 | iconv(cd,NULL,NULL,NULL,NULL); | |
5443 | iconv_close(cd); | |
5444 | ; | |
5445 | return 0; | |
5446 | } | |
5447 | _ACEOF | |
5448 | if ac_fn_c_try_link "$LINENO"; then : | |
5449 | am_cv_func_iconv=yes | |
5450 | fi | |
5451 | rm -f core conftest.err conftest.$ac_objext \ | |
5452 | conftest$ac_exeext conftest.$ac_ext | |
5453 | if test "$am_cv_func_iconv" != yes; then | |
5454 | am_save_LIBS="$LIBS" | |
5455 | LIBS="$LIBS $LIBICONV" | |
5456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5457 | /* end confdefs.h. */ | |
5458 | ||
5459 | #include <stdlib.h> | |
5460 | #include <iconv.h> | |
5461 | ||
5462 | int | |
5463 | main () | |
5464 | { | |
5465 | iconv_t cd = iconv_open("",""); | |
5466 | iconv(cd,NULL,NULL,NULL,NULL); | |
5467 | iconv_close(cd); | |
5468 | ; | |
5469 | return 0; | |
5470 | } | |
5471 | _ACEOF | |
5472 | if ac_fn_c_try_link "$LINENO"; then : | |
5473 | am_cv_lib_iconv=yes | |
5474 | am_cv_func_iconv=yes | |
5475 | fi | |
5476 | rm -f core conftest.err conftest.$ac_objext \ | |
5477 | conftest$ac_exeext conftest.$ac_ext | |
5478 | LIBS="$am_save_LIBS" | |
5479 | fi | |
5480 | ||
5481 | fi | |
5482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 | |
5483 | $as_echo "$am_cv_func_iconv" >&6; } | |
5484 | if test "$am_cv_func_iconv" = yes; then | |
5485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 | |
5486 | $as_echo_n "checking for working iconv... " >&6; } | |
5487 | if ${am_cv_func_iconv_works+:} false; then : | |
5488 | $as_echo_n "(cached) " >&6 | |
5489 | else | |
5490 | ||
5491 | am_save_LIBS="$LIBS" | |
5492 | if test $am_cv_lib_iconv = yes; then | |
5493 | LIBS="$LIBS $LIBICONV" | |
5494 | fi | |
5495 | am_cv_func_iconv_works=no | |
5496 | for ac_iconv_const in '' 'const'; do | |
5497 | if test "$cross_compiling" = yes; then : | |
5498 | case "$host_os" in | |
5499 | aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; | |
5500 | *) am_cv_func_iconv_works="guessing yes" ;; | |
5501 | esac | |
5502 | else | |
5503 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5504 | /* end confdefs.h. */ | |
5505 | ||
5506 | #include <iconv.h> | |
5507 | #include <string.h> | |
5508 | ||
5509 | #ifndef ICONV_CONST | |
5510 | # define ICONV_CONST $ac_iconv_const | |
5511 | #endif | |
5512 | ||
5513 | int | |
5514 | main () | |
5515 | { | |
5516 | int result = 0; | |
5517 | /* Test against AIX 5.1 bug: Failures are not distinguishable from successful | |
5518 | returns. */ | |
5519 | { | |
5520 | iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); | |
5521 | if (cd_utf8_to_88591 != (iconv_t)(-1)) | |
5522 | { | |
5523 | static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ | |
5524 | char buf[10]; | |
5525 | ICONV_CONST char *inptr = input; | |
5526 | size_t inbytesleft = strlen (input); | |
5527 | char *outptr = buf; | |
5528 | size_t outbytesleft = sizeof (buf); | |
5529 | size_t res = iconv (cd_utf8_to_88591, | |
5530 | &inptr, &inbytesleft, | |
5531 | &outptr, &outbytesleft); | |
5532 | if (res == 0) | |
5533 | result |= 1; | |
5534 | iconv_close (cd_utf8_to_88591); | |
5535 | } | |
5536 | } | |
5537 | /* Test against Solaris 10 bug: Failures are not distinguishable from | |
5538 | successful returns. */ | |
5539 | { | |
5540 | iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); | |
5541 | if (cd_ascii_to_88591 != (iconv_t)(-1)) | |
5542 | { | |
5543 | static ICONV_CONST char input[] = "\263"; | |
5544 | char buf[10]; | |
5545 | ICONV_CONST char *inptr = input; | |
5546 | size_t inbytesleft = strlen (input); | |
5547 | char *outptr = buf; | |
5548 | size_t outbytesleft = sizeof (buf); | |
5549 | size_t res = iconv (cd_ascii_to_88591, | |
5550 | &inptr, &inbytesleft, | |
5551 | &outptr, &outbytesleft); | |
5552 | if (res == 0) | |
5553 | result |= 2; | |
5554 | iconv_close (cd_ascii_to_88591); | |
5555 | } | |
5556 | } | |
5557 | /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ | |
5558 | { | |
5559 | iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); | |
5560 | if (cd_88591_to_utf8 != (iconv_t)(-1)) | |
5561 | { | |
5562 | static ICONV_CONST char input[] = "\304"; | |
5563 | static char buf[2] = { (char)0xDE, (char)0xAD }; | |
5564 | ICONV_CONST char *inptr = input; | |
5565 | size_t inbytesleft = 1; | |
5566 | char *outptr = buf; | |
5567 | size_t outbytesleft = 1; | |
5568 | size_t res = iconv (cd_88591_to_utf8, | |
5569 | &inptr, &inbytesleft, | |
5570 | &outptr, &outbytesleft); | |
5571 | if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) | |
5572 | result |= 4; | |
5573 | iconv_close (cd_88591_to_utf8); | |
5574 | } | |
5575 | } | |
5576 | #if 0 /* This bug could be worked around by the caller. */ | |
5577 | /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ | |
5578 | { | |
5579 | iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); | |
5580 | if (cd_88591_to_utf8 != (iconv_t)(-1)) | |
5581 | { | |
5582 | static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; | |
5583 | char buf[50]; | |
5584 | ICONV_CONST char *inptr = input; | |
5585 | size_t inbytesleft = strlen (input); | |
5586 | char *outptr = buf; | |
5587 | size_t outbytesleft = sizeof (buf); | |
5588 | size_t res = iconv (cd_88591_to_utf8, | |
5589 | &inptr, &inbytesleft, | |
5590 | &outptr, &outbytesleft); | |
5591 | if ((int)res > 0) | |
5592 | result |= 8; | |
5593 | iconv_close (cd_88591_to_utf8); | |
5594 | } | |
5595 | } | |
5596 | #endif | |
5597 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | |
5598 | provided. */ | |
5599 | if (/* Try standardized names. */ | |
5600 | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | |
5601 | /* Try IRIX, OSF/1 names. */ | |
5602 | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | |
5603 | /* Try AIX names. */ | |
5604 | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | |
5605 | /* Try HP-UX names. */ | |
5606 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | |
5607 | result |= 16; | |
5608 | return result; | |
5609 | ||
5610 | ; | |
5611 | return 0; | |
5612 | } | |
5613 | _ACEOF | |
5614 | if ac_fn_c_try_run "$LINENO"; then : | |
5615 | am_cv_func_iconv_works=yes | |
5616 | fi | |
5617 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
5618 | conftest.$ac_objext conftest.beam conftest.$ac_ext | |
5619 | fi | |
5620 | ||
5621 | test "$am_cv_func_iconv_works" = no || break | |
5622 | done | |
5623 | LIBS="$am_save_LIBS" | |
5624 | ||
5625 | fi | |
5626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 | |
5627 | $as_echo "$am_cv_func_iconv_works" >&6; } | |
5628 | case "$am_cv_func_iconv_works" in | |
5629 | *no) am_func_iconv=no am_cv_lib_iconv=no ;; | |
5630 | *) am_func_iconv=yes ;; | |
5631 | esac | |
5632 | else | |
5633 | am_func_iconv=no am_cv_lib_iconv=no | |
5634 | fi | |
5635 | if test "$am_func_iconv" = yes; then | |
5636 | ||
5637 | $as_echo "#define HAVE_ICONV 1" >>confdefs.h | |
5638 | ||
5639 | fi | |
5640 | if test "$am_cv_lib_iconv" = yes; then | |
5641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 | |
5642 | $as_echo_n "checking how to link with libiconv... " >&6; } | |
5643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 | |
5644 | $as_echo "$LIBICONV" >&6; } | |
5645 | else | |
5646 | CPPFLAGS="$am_save_CPPFLAGS" | |
5647 | LIBICONV= | |
5648 | LTLIBICONV= | |
5649 | fi | |
5650 | ||
5651 | ||
5652 | ||
5653 | ||
5654 | ||
5655 | ||
5656 | ||
5657 | ||
5658 | ||
5659 | ||
5660 | ||
5661 | use_additional=yes | |
5662 | ||
5663 | acl_save_prefix="$prefix" | |
5664 | prefix="$acl_final_prefix" | |
5665 | acl_save_exec_prefix="$exec_prefix" | |
5666 | exec_prefix="$acl_final_exec_prefix" | |
5667 | ||
5668 | eval additional_includedir=\"$includedir\" | |
5669 | eval additional_libdir=\"$libdir\" | |
5670 | ||
5671 | exec_prefix="$acl_save_exec_prefix" | |
5672 | prefix="$acl_save_prefix" | |
5673 | ||
5674 | ||
5675 | # Check whether --with-libintl-prefix was given. | |
5676 | if test "${with_libintl_prefix+set}" = set; then : | |
5677 | withval=$with_libintl_prefix; | |
5678 | if test "X$withval" = "Xno"; then | |
5679 | use_additional=no | |
5680 | else | |
5681 | if test "X$withval" = "X"; then | |
5682 | ||
5683 | acl_save_prefix="$prefix" | |
5684 | prefix="$acl_final_prefix" | |
5685 | acl_save_exec_prefix="$exec_prefix" | |
5686 | exec_prefix="$acl_final_exec_prefix" | |
5687 | ||
5688 | eval additional_includedir=\"$includedir\" | |
5689 | eval additional_libdir=\"$libdir\" | |
5690 | ||
5691 | exec_prefix="$acl_save_exec_prefix" | |
5692 | prefix="$acl_save_prefix" | |
5693 | ||
5694 | else | |
5695 | additional_includedir="$withval/include" | |
5696 | additional_libdir="$withval/$acl_libdirstem" | |
5697 | if test "$acl_libdirstem2" != "$acl_libdirstem" \ | |
5698 | && ! test -d "$withval/$acl_libdirstem"; then | |
5699 | additional_libdir="$withval/$acl_libdirstem2" | |
5700 | fi | |
5701 | fi | |
5702 | fi | |
5703 | ||
5704 | fi | |
5705 | ||
5706 | LIBINTL= | |
5707 | LTLIBINTL= | |
5708 | INCINTL= | |
5709 | LIBINTL_PREFIX= | |
5710 | HAVE_LIBINTL= | |
5711 | rpathdirs= | |
5712 | ltrpathdirs= | |
5713 | names_already_handled= | |
5714 | names_next_round='intl ' | |
5715 | while test -n "$names_next_round"; do | |
5716 | names_this_round="$names_next_round" | |
5717 | names_next_round= | |
5718 | for name in $names_this_round; do | |
5719 | already_handled= | |
5720 | for n in $names_already_handled; do | |
5721 | if test "$n" = "$name"; then | |
5722 | already_handled=yes | |
5723 | break | |
5724 | fi | |
5725 | done | |
5726 | if test -z "$already_handled"; then | |
5727 | names_already_handled="$names_already_handled $name" | |
5728 | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` | |
5729 | eval value=\"\$HAVE_LIB$uppername\" | |
5730 | if test -n "$value"; then | |
5731 | if test "$value" = yes; then | |
5732 | eval value=\"\$LIB$uppername\" | |
5733 | test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" | |
5734 | eval value=\"\$LTLIB$uppername\" | |
5735 | test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" | |
5736 | else | |
5737 | : | |
5738 | fi | |
5739 | else | |
5740 | found_dir= | |
5741 | found_la= | |
5742 | found_so= | |
5743 | found_a= | |
5744 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name | |
5745 | if test -n "$acl_shlibext"; then | |
5746 | shrext=".$acl_shlibext" # typically: shrext=.so | |
5747 | else | |
5748 | shrext= | |
5749 | fi | |
5750 | if test $use_additional = yes; then | |
5751 | dir="$additional_libdir" | |
5752 | if test -n "$acl_shlibext"; then | |
5753 | if test -f "$dir/$libname$shrext"; then | |
5754 | found_dir="$dir" | |
5755 | found_so="$dir/$libname$shrext" | |
5756 | else | |
5757 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
5758 | ver=`(cd "$dir" && \ | |
5759 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
5760 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
5761 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
5762 | | sed 1q ) 2>/dev/null` | |
5763 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
5764 | found_dir="$dir" | |
5765 | found_so="$dir/$libname$shrext.$ver" | |
5766 | fi | |
5767 | else | |
5768 | eval library_names=\"$acl_library_names_spec\" | |
5769 | for f in $library_names; do | |
5770 | if test -f "$dir/$f"; then | |
5771 | found_dir="$dir" | |
5772 | found_so="$dir/$f" | |
5773 | break | |
5774 | fi | |
5775 | done | |
5776 | fi | |
5777 | fi | |
5778 | fi | |
5779 | if test "X$found_dir" = "X"; then | |
5780 | if test -f "$dir/$libname.$acl_libext"; then | |
5781 | found_dir="$dir" | |
5782 | found_a="$dir/$libname.$acl_libext" | |
5783 | fi | |
5784 | fi | |
5785 | if test "X$found_dir" != "X"; then | |
5786 | if test -f "$dir/$libname.la"; then | |
5787 | found_la="$dir/$libname.la" | |
5788 | fi | |
5789 | fi | |
5790 | fi | |
5791 | if test "X$found_dir" = "X"; then | |
5792 | for x in $LDFLAGS $LTLIBINTL; do | |
5793 | ||
5794 | acl_save_prefix="$prefix" | |
5795 | prefix="$acl_final_prefix" | |
5796 | acl_save_exec_prefix="$exec_prefix" | |
5797 | exec_prefix="$acl_final_exec_prefix" | |
5798 | eval x=\"$x\" | |
5799 | exec_prefix="$acl_save_exec_prefix" | |
5800 | prefix="$acl_save_prefix" | |
5801 | ||
5802 | case "$x" in | |
5803 | -L*) | |
5804 | dir=`echo "X$x" | sed -e 's/^X-L//'` | |
5805 | if test -n "$acl_shlibext"; then | |
5806 | if test -f "$dir/$libname$shrext"; then | |
5807 | found_dir="$dir" | |
5808 | found_so="$dir/$libname$shrext" | |
5809 | else | |
5810 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
5811 | ver=`(cd "$dir" && \ | |
5812 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
5813 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
5814 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
5815 | | sed 1q ) 2>/dev/null` | |
5816 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
5817 | found_dir="$dir" | |
5818 | found_so="$dir/$libname$shrext.$ver" | |
5819 | fi | |
5820 | else | |
5821 | eval library_names=\"$acl_library_names_spec\" | |
5822 | for f in $library_names; do | |
5823 | if test -f "$dir/$f"; then | |
5824 | found_dir="$dir" | |
5825 | found_so="$dir/$f" | |
5826 | break | |
5827 | fi | |
5828 | done | |
5829 | fi | |
5830 | fi | |
5831 | fi | |
5832 | if test "X$found_dir" = "X"; then | |
5833 | if test -f "$dir/$libname.$acl_libext"; then | |
5834 | found_dir="$dir" | |
5835 | found_a="$dir/$libname.$acl_libext" | |
5836 | fi | |
5837 | fi | |
5838 | if test "X$found_dir" != "X"; then | |
5839 | if test -f "$dir/$libname.la"; then | |
5840 | found_la="$dir/$libname.la" | |
5841 | fi | |
5842 | fi | |
5843 | ;; | |
5844 | esac | |
5845 | if test "X$found_dir" != "X"; then | |
5846 | break | |
5847 | fi | |
5848 | done | |
5849 | fi | |
5850 | if test "X$found_dir" != "X"; then | |
5851 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" | |
5852 | if test "X$found_so" != "X"; then | |
5853 | if test "$enable_rpath" = no \ | |
5854 | || test "X$found_dir" = "X/usr/$acl_libdirstem" \ | |
5855 | || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then | |
5856 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | |
5857 | else | |
5858 | haveit= | |
5859 | for x in $ltrpathdirs; do | |
5860 | if test "X$x" = "X$found_dir"; then | |
5861 | haveit=yes | |
5862 | break | |
5863 | fi | |
5864 | done | |
5865 | if test -z "$haveit"; then | |
5866 | ltrpathdirs="$ltrpathdirs $found_dir" | |
5867 | fi | |
5868 | if test "$acl_hardcode_direct" = yes; then | |
5869 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | |
5870 | else | |
5871 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then | |
5872 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | |
5873 | haveit= | |
5874 | for x in $rpathdirs; do | |
5875 | if test "X$x" = "X$found_dir"; then | |
5876 | haveit=yes | |
5877 | break | |
5878 | fi | |
5879 | done | |
5880 | if test -z "$haveit"; then | |
5881 | rpathdirs="$rpathdirs $found_dir" | |
5882 | fi | |
5883 | else | |
5884 | haveit= | |
5885 | for x in $LDFLAGS $LIBINTL; do | |
5886 | ||
5887 | acl_save_prefix="$prefix" | |
5888 | prefix="$acl_final_prefix" | |
5889 | acl_save_exec_prefix="$exec_prefix" | |
5890 | exec_prefix="$acl_final_exec_prefix" | |
5891 | eval x=\"$x\" | |
5892 | exec_prefix="$acl_save_exec_prefix" | |
5893 | prefix="$acl_save_prefix" | |
5894 | ||
5895 | if test "X$x" = "X-L$found_dir"; then | |
5896 | haveit=yes | |
5897 | break | |
5898 | fi | |
5899 | done | |
5900 | if test -z "$haveit"; then | |
5901 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" | |
5902 | fi | |
5903 | if test "$acl_hardcode_minus_L" != no; then | |
5904 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" | |
5905 | else | |
5906 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" | |
5907 | fi | |
5908 | fi | |
5909 | fi | |
5910 | fi | |
5911 | else | |
5912 | if test "X$found_a" != "X"; then | |
5913 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" | |
5914 | else | |
5915 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" | |
5916 | fi | |
5917 | fi | |
5918 | additional_includedir= | |
5919 | case "$found_dir" in | |
5920 | */$acl_libdirstem | */$acl_libdirstem/) | |
5921 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` | |
5922 | if test "$name" = 'intl'; then | |
5923 | LIBINTL_PREFIX="$basedir" | |
5924 | fi | |
5925 | additional_includedir="$basedir/include" | |
5926 | ;; | |
5927 | */$acl_libdirstem2 | */$acl_libdirstem2/) | |
5928 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` | |
5929 | if test "$name" = 'intl'; then | |
5930 | LIBINTL_PREFIX="$basedir" | |
5931 | fi | |
5932 | additional_includedir="$basedir/include" | |
5933 | ;; | |
5934 | esac | |
5935 | if test "X$additional_includedir" != "X"; then | |
5936 | if test "X$additional_includedir" != "X/usr/include"; then | |
5937 | haveit= | |
5938 | if test "X$additional_includedir" = "X/usr/local/include"; then | |
5939 | if test -n "$GCC"; then | |
5940 | case $host_os in | |
5941 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
5942 | esac | |
5943 | fi | |
5944 | fi | |
5945 | if test -z "$haveit"; then | |
5946 | for x in $CPPFLAGS $INCINTL; do | |
5947 | ||
5948 | acl_save_prefix="$prefix" | |
5949 | prefix="$acl_final_prefix" | |
5950 | acl_save_exec_prefix="$exec_prefix" | |
5951 | exec_prefix="$acl_final_exec_prefix" | |
5952 | eval x=\"$x\" | |
5953 | exec_prefix="$acl_save_exec_prefix" | |
5954 | prefix="$acl_save_prefix" | |
5955 | ||
5956 | if test "X$x" = "X-I$additional_includedir"; then | |
5957 | haveit=yes | |
5958 | break | |
5959 | fi | |
5960 | done | |
5961 | if test -z "$haveit"; then | |
5962 | if test -d "$additional_includedir"; then | |
5963 | INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" | |
5964 | fi | |
5965 | fi | |
5966 | fi | |
5967 | fi | |
5968 | fi | |
5969 | if test -n "$found_la"; then | |
5970 | save_libdir="$libdir" | |
5971 | case "$found_la" in | |
5972 | */* | *\\*) . "$found_la" ;; | |
5973 | *) . "./$found_la" ;; | |
5974 | esac | |
5975 | libdir="$save_libdir" | |
5976 | for dep in $dependency_libs; do | |
5977 | case "$dep" in | |
5978 | -L*) | |
5979 | additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` | |
5980 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ | |
5981 | && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then | |
5982 | haveit= | |
5983 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ | |
5984 | || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then | |
5985 | if test -n "$GCC"; then | |
5986 | case $host_os in | |
5987 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
5988 | esac | |
5989 | fi | |
5990 | fi | |
5991 | if test -z "$haveit"; then | |
5992 | haveit= | |
5993 | for x in $LDFLAGS $LIBINTL; do | |
5994 | ||
5995 | acl_save_prefix="$prefix" | |
5996 | prefix="$acl_final_prefix" | |
5997 | acl_save_exec_prefix="$exec_prefix" | |
5998 | exec_prefix="$acl_final_exec_prefix" | |
5999 | eval x=\"$x\" | |
6000 | exec_prefix="$acl_save_exec_prefix" | |
6001 | prefix="$acl_save_prefix" | |
6002 | ||
6003 | if test "X$x" = "X-L$additional_libdir"; then | |
6004 | haveit=yes | |
6005 | break | |
6006 | fi | |
6007 | done | |
6008 | if test -z "$haveit"; then | |
6009 | if test -d "$additional_libdir"; then | |
6010 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" | |
6011 | fi | |
6012 | fi | |
6013 | haveit= | |
6014 | for x in $LDFLAGS $LTLIBINTL; do | |
6015 | ||
6016 | acl_save_prefix="$prefix" | |
6017 | prefix="$acl_final_prefix" | |
6018 | acl_save_exec_prefix="$exec_prefix" | |
6019 | exec_prefix="$acl_final_exec_prefix" | |
6020 | eval x=\"$x\" | |
6021 | exec_prefix="$acl_save_exec_prefix" | |
6022 | prefix="$acl_save_prefix" | |
6023 | ||
6024 | if test "X$x" = "X-L$additional_libdir"; then | |
6025 | haveit=yes | |
6026 | break | |
6027 | fi | |
6028 | done | |
6029 | if test -z "$haveit"; then | |
6030 | if test -d "$additional_libdir"; then | |
6031 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" | |
6032 | fi | |
6033 | fi | |
6034 | fi | |
6035 | fi | |
6036 | ;; | |
6037 | -R*) | |
6038 | dir=`echo "X$dep" | sed -e 's/^X-R//'` | |
6039 | if test "$enable_rpath" != no; then | |
6040 | haveit= | |
6041 | for x in $rpathdirs; do | |
6042 | if test "X$x" = "X$dir"; then | |
6043 | haveit=yes | |
6044 | break | |
6045 | fi | |
6046 | done | |
6047 | if test -z "$haveit"; then | |
6048 | rpathdirs="$rpathdirs $dir" | |
6049 | fi | |
6050 | haveit= | |
6051 | for x in $ltrpathdirs; do | |
6052 | if test "X$x" = "X$dir"; then | |
6053 | haveit=yes | |
6054 | break | |
6055 | fi | |
6056 | done | |
6057 | if test -z "$haveit"; then | |
6058 | ltrpathdirs="$ltrpathdirs $dir" | |
6059 | fi | |
6060 | fi | |
6061 | ;; | |
6062 | -l*) | |
6063 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` | |
6064 | ;; | |
6065 | *.la) | |
6066 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` | |
6067 | ;; | |
6068 | *) | |
6069 | LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" | |
6070 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" | |
6071 | ;; | |
6072 | esac | |
6073 | done | |
6074 | fi | |
6075 | else | |
6076 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" | |
6077 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" | |
6078 | fi | |
6079 | fi | |
6080 | fi | |
6081 | done | |
6082 | done | |
6083 | if test "X$rpathdirs" != "X"; then | |
6084 | if test -n "$acl_hardcode_libdir_separator"; then | |
6085 | alldirs= | |
6086 | for found_dir in $rpathdirs; do | |
6087 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" | |
6088 | done | |
6089 | acl_save_libdir="$libdir" | |
6090 | libdir="$alldirs" | |
6091 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
6092 | libdir="$acl_save_libdir" | |
6093 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" | |
6094 | else | |
6095 | for found_dir in $rpathdirs; do | |
6096 | acl_save_libdir="$libdir" | |
6097 | libdir="$found_dir" | |
6098 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
6099 | libdir="$acl_save_libdir" | |
6100 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" | |
6101 | done | |
6102 | fi | |
6103 | fi | |
6104 | if test "X$ltrpathdirs" != "X"; then | |
6105 | for found_dir in $ltrpathdirs; do | |
6106 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" | |
6107 | done | |
6108 | fi | |
6109 | ||
6110 | ||
6111 | ||
6112 | ||
6113 | ||
6114 | ||
6115 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 | |
6116 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } | |
6117 | if eval \${$gt_func_gnugettext_libintl+:} false; then : | |
6118 | $as_echo_n "(cached) " >&6 | |
6119 | else | |
6120 | gt_save_CPPFLAGS="$CPPFLAGS" | |
6121 | CPPFLAGS="$CPPFLAGS $INCINTL" | |
6122 | gt_save_LIBS="$LIBS" | |
6123 | LIBS="$LIBS $LIBINTL" | |
6124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6125 | /* end confdefs.h. */ | |
6126 | ||
6127 | #include <libintl.h> | |
6128 | $gt_revision_test_code | |
6129 | extern int _nl_msg_cat_cntr; | |
6130 | extern | |
6131 | #ifdef __cplusplus | |
6132 | "C" | |
6133 | #endif | |
6134 | const char *_nl_expand_alias (const char *); | |
6135 | ||
6136 | int | |
6137 | main () | |
6138 | { | |
6139 | ||
6140 | bindtextdomain ("", ""); | |
6141 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
6142 | ||
6143 | ; | |
6144 | return 0; | |
6145 | } | |
6146 | _ACEOF | |
6147 | if ac_fn_c_try_link "$LINENO"; then : | |
6148 | eval "$gt_func_gnugettext_libintl=yes" | |
6149 | else | |
6150 | eval "$gt_func_gnugettext_libintl=no" | |
6151 | fi | |
6152 | rm -f core conftest.err conftest.$ac_objext \ | |
6153 | conftest$ac_exeext conftest.$ac_ext | |
6154 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then | |
6155 | LIBS="$LIBS $LIBICONV" | |
6156 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6157 | /* end confdefs.h. */ | |
6158 | ||
6159 | #include <libintl.h> | |
6160 | $gt_revision_test_code | |
6161 | extern int _nl_msg_cat_cntr; | |
6162 | extern | |
6163 | #ifdef __cplusplus | |
6164 | "C" | |
6165 | #endif | |
6166 | const char *_nl_expand_alias (const char *); | |
6167 | ||
6168 | int | |
6169 | main () | |
6170 | { | |
6171 | ||
6172 | bindtextdomain ("", ""); | |
6173 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
6174 | ||
6175 | ; | |
6176 | return 0; | |
6177 | } | |
6178 | _ACEOF | |
6179 | if ac_fn_c_try_link "$LINENO"; then : | |
6180 | LIBINTL="$LIBINTL $LIBICONV" | |
6181 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" | |
6182 | eval "$gt_func_gnugettext_libintl=yes" | |
6183 | ||
6184 | fi | |
6185 | rm -f core conftest.err conftest.$ac_objext \ | |
6186 | conftest$ac_exeext conftest.$ac_ext | |
6187 | fi | |
6188 | CPPFLAGS="$gt_save_CPPFLAGS" | |
6189 | LIBS="$gt_save_LIBS" | |
6190 | fi | |
6191 | eval ac_res=\$$gt_func_gnugettext_libintl | |
6192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6193 | $as_echo "$ac_res" >&6; } | |
6194 | fi | |
6195 | ||
6196 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ | |
6197 | || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ | |
6198 | && test "$PACKAGE" != gettext-runtime \ | |
6199 | && test "$PACKAGE" != gettext-tools; }; then | |
6200 | gt_use_preinstalled_gnugettext=yes | |
6201 | else | |
6202 | LIBINTL= | |
6203 | LTLIBINTL= | |
6204 | INCINTL= | |
6205 | fi | |
6206 | ||
6207 | ||
6208 | ||
6209 | if test -n "$INTL_MACOSX_LIBS"; then | |
6210 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
6211 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
6212 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" | |
6213 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" | |
6214 | fi | |
6215 | fi | |
6216 | ||
6217 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
6218 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
6219 | ||
6220 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h | |
6221 | ||
6222 | else | |
6223 | USE_NLS=no | |
6224 | fi | |
6225 | fi | |
6226 | ||
6227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 | |
6228 | $as_echo_n "checking whether to use NLS... " >&6; } | |
6229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 | |
6230 | $as_echo "$USE_NLS" >&6; } | |
6231 | if test "$USE_NLS" = "yes"; then | |
6232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 | |
6233 | $as_echo_n "checking where the gettext function comes from... " >&6; } | |
6234 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then | |
6235 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then | |
6236 | gt_source="external libintl" | |
6237 | else | |
6238 | gt_source="libc" | |
6239 | fi | |
6240 | else | |
6241 | gt_source="included intl directory" | |
6242 | fi | |
6243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 | |
6244 | $as_echo "$gt_source" >&6; } | |
6245 | fi | |
6246 | ||
6247 | if test "$USE_NLS" = "yes"; then | |
6248 | ||
6249 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then | |
6250 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then | |
6251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 | |
6252 | $as_echo_n "checking how to link with libintl... " >&6; } | |
6253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 | |
6254 | $as_echo "$LIBINTL" >&6; } | |
6255 | ||
6256 | for element in $INCINTL; do | |
6257 | haveit= | |
6258 | for x in $CPPFLAGS; do | |
6259 | ||
6260 | acl_save_prefix="$prefix" | |
6261 | prefix="$acl_final_prefix" | |
6262 | acl_save_exec_prefix="$exec_prefix" | |
6263 | exec_prefix="$acl_final_exec_prefix" | |
6264 | eval x=\"$x\" | |
6265 | exec_prefix="$acl_save_exec_prefix" | |
6266 | prefix="$acl_save_prefix" | |
6267 | ||
6268 | if test "X$x" = "X$element"; then | |
6269 | haveit=yes | |
6270 | break | |
6271 | fi | |
6272 | done | |
6273 | if test -z "$haveit"; then | |
6274 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" | |
6275 | fi | |
6276 | done | |
6277 | ||
6278 | fi | |
6279 | ||
6280 | ||
6281 | $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h | |
6282 | ||
6283 | ||
6284 | $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h | |
6285 | ||
6286 | fi | |
6287 | ||
6288 | POSUB=po | |
6289 | fi | |
6290 | ||
6291 | ||
6292 | ||
6293 | INTLLIBS="$LIBINTL" | |
6294 | ||
3098 | 6295 | |
3099 | 6296 | |
3100 | 6297 | |
3715 | 6912 | fi |
3716 | 6913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
3717 | 6914 | $as_echo "done" >&6; } |
3718 | ||
3719 | ||
3720 | ac_config_commands="$ac_config_commands po/stamp-it" | |
3721 | ||
3722 | ||
6915 | if test -n "$EXEEXT"; then | |
6916 | am__EXEEXT_TRUE= | |
6917 | am__EXEEXT_FALSE='#' | |
6918 | else | |
6919 | am__EXEEXT_TRUE='#' | |
6920 | am__EXEEXT_FALSE= | |
6921 | fi | |
6922 | ||
6923 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
6924 | as_fn_error $? "conditional \"AMDEP\" was never defined. | |
6925 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
6926 | fi | |
6927 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
6928 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
6929 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
6930 | fi | |
3723 | 6931 | if test -z "${CLASSIC_MODE_TRUE}" && test -z "${CLASSIC_MODE_FALSE}"; then |
3724 | 6932 | as_fn_error $? "conditional \"CLASSIC_MODE\" was never defined. |
3725 | 6933 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
4121 | 7329 | # report actual input values of CONFIG_FILES etc. instead of their |
4122 | 7330 | # values after options handling. |
4123 | 7331 | ac_log=" |
4124 | This file was extended by gnome-shell-extensions $as_me 3.20.1, which was | |
7332 | This file was extended by gnome-shell-extensions $as_me 3.21.91, which was | |
4125 | 7333 | generated by GNU Autoconf 2.69. Invocation command line was |
4126 | 7334 | |
4127 | 7335 | CONFIG_FILES = $CONFIG_FILES |
4178 | 7386 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4179 | 7387 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4180 | 7388 | ac_cs_version="\\ |
4181 | gnome-shell-extensions config.status 3.20.1 | |
7389 | gnome-shell-extensions config.status 3.21.91 | |
4182 | 7390 | configured by $0, generated by GNU Autoconf 2.69, |
4183 | 7391 | with options \\"\$ac_cs_config\\" |
4184 | 7392 | |
4283 | 7491 | |
4284 | 7492 | _ACEOF |
4285 | 7493 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7494 | # | |
7495 | # INIT-COMMANDS | |
7496 | # | |
7497 | # Capture the value of obsolete ALL_LINGUAS because we need it to compute | |
7498 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it | |
7499 | # from automake < 1.5. | |
7500 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' | |
7501 | # Capture the value of LINGUAS because we need it to compute CATALOGS. | |
7502 | LINGUAS="${LINGUAS-%UNSET%}" | |
7503 | ||
7504 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
7505 | ||
4286 | 7506 | _ACEOF |
4287 | 7507 | |
4288 | 7508 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4291 | 7511 | for ac_config_target in $ac_config_targets |
4292 | 7512 | do |
4293 | 7513 | case $ac_config_target in |
7514 | "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; | |
7515 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
4294 | 7516 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
4295 | 7517 | "extensions/alternate-tab/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/alternate-tab/Makefile" ;; |
4296 | 7518 | "extensions/apps-menu/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/apps-menu/Makefile" ;; |
4308 | 7530 | "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;; |
4309 | 7531 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
4310 | 7532 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
4311 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; | |
4312 | 7533 | |
4313 | 7534 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4314 | 7535 | esac |
4738 | 7959 | |
4739 | 7960 | |
4740 | 7961 | case $ac_file$ac_mode in |
4741 | "po/stamp-it":C) | |
4742 | if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then | |
4743 | as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 | |
7962 | "po-directories":C) | |
7963 | for ac_file in $CONFIG_FILES; do | |
7964 | # Support "outfile[:infile[:infile...]]" | |
7965 | case "$ac_file" in | |
7966 | *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
7967 | esac | |
7968 | # PO directories have a Makefile.in generated from Makefile.in.in. | |
7969 | case "$ac_file" in */Makefile.in) | |
7970 | # Adjust a relative srcdir. | |
7971 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | |
7972 | ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` | |
7973 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | |
7974 | # In autoconf-2.13 it is called $ac_given_srcdir. | |
7975 | # In autoconf-2.50 it is called $srcdir. | |
7976 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | |
7977 | case "$ac_given_srcdir" in | |
7978 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | |
7979 | /*) top_srcdir="$ac_given_srcdir" ;; | |
7980 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
7981 | esac | |
7982 | # Treat a directory as a PO directory if and only if it has a | |
7983 | # POTFILES.in file. This allows packages to have multiple PO | |
7984 | # directories under different names or in different locations. | |
7985 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then | |
7986 | rm -f "$ac_dir/POTFILES" | |
7987 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" | |
7988 | gt_tab=`printf '\t'` | |
7989 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" | |
7990 | POMAKEFILEDEPS="POTFILES.in" | |
7991 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | |
7992 | # on $ac_dir but don't depend on user-specified configuration | |
7993 | # parameters. | |
7994 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | |
7995 | # The LINGUAS file contains the set of available languages. | |
7996 | if test -n "$OBSOLETE_ALL_LINGUAS"; then | |
7997 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | |
7998 | fi | |
7999 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
8000 | # Hide the ALL_LINGUAS assignment from automake < 1.5. | |
8001 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | |
8002 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | |
8003 | else | |
8004 | # The set of available languages was given in configure.in. | |
8005 | # Hide the ALL_LINGUAS assignment from automake < 1.5. | |
8006 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' | |
8007 | fi | |
8008 | # Compute POFILES | |
8009 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
8010 | # Compute UPDATEPOFILES | |
8011 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
8012 | # Compute DUMMYPOFILES | |
8013 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
8014 | # Compute GMOFILES | |
8015 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
8016 | case "$ac_given_srcdir" in | |
8017 | .) srcdirpre= ;; | |
8018 | *) srcdirpre='$(srcdir)/' ;; | |
8019 | esac | |
8020 | POFILES= | |
8021 | UPDATEPOFILES= | |
8022 | DUMMYPOFILES= | |
8023 | GMOFILES= | |
8024 | for lang in $ALL_LINGUAS; do | |
8025 | POFILES="$POFILES $srcdirpre$lang.po" | |
8026 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" | |
8027 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" | |
8028 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
8029 | done | |
8030 | # CATALOGS depends on both $ac_dir and the user's LINGUAS | |
8031 | # environment variable. | |
8032 | INST_LINGUAS= | |
8033 | if test -n "$ALL_LINGUAS"; then | |
8034 | for presentlang in $ALL_LINGUAS; do | |
8035 | useit=no | |
8036 | if test "%UNSET%" != "$LINGUAS"; then | |
8037 | desiredlanguages="$LINGUAS" | |
8038 | else | |
8039 | desiredlanguages="$ALL_LINGUAS" | |
8040 | fi | |
8041 | for desiredlang in $desiredlanguages; do | |
8042 | # Use the presentlang catalog if desiredlang is | |
8043 | # a. equal to presentlang, or | |
8044 | # b. a variant of presentlang (because in this case, | |
8045 | # presentlang can be used as a fallback for messages | |
8046 | # which are not translated in the desiredlang catalog). | |
8047 | case "$desiredlang" in | |
8048 | "$presentlang"*) useit=yes;; | |
8049 | esac | |
8050 | done | |
8051 | if test $useit = yes; then | |
8052 | INST_LINGUAS="$INST_LINGUAS $presentlang" | |
8053 | fi | |
8054 | done | |
8055 | fi | |
8056 | CATALOGS= | |
8057 | if test -n "$INST_LINGUAS"; then | |
8058 | for lang in $INST_LINGUAS; do | |
8059 | CATALOGS="$CATALOGS $lang.gmo" | |
8060 | done | |
8061 | fi | |
8062 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" | |
8063 | 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" | |
8064 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do | |
8065 | if test -f "$f"; then | |
8066 | case "$f" in | |
8067 | *.orig | *.bak | *~) ;; | |
8068 | *) cat "$f" >> "$ac_dir/Makefile" ;; | |
8069 | esac | |
8070 | fi | |
8071 | done | |
8072 | fi | |
8073 | ;; | |
8074 | esac | |
8075 | done ;; | |
8076 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
8077 | # Older Autoconf quotes --file arguments for eval, but not when files | |
8078 | # are listed without --file. Let's play safe and only enable the eval | |
8079 | # if we detect the quoting. | |
8080 | case $CONFIG_FILES in | |
8081 | *\'*) eval set x "$CONFIG_FILES" ;; | |
8082 | *) set x $CONFIG_FILES ;; | |
8083 | esac | |
8084 | shift | |
8085 | for mf | |
8086 | do | |
8087 | # Strip MF so we end up with the name of the file. | |
8088 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
8089 | # Check whether this is an Automake generated Makefile or not. | |
8090 | # We used to match only the files named 'Makefile.in', but | |
8091 | # some people rename them; so instead we look at the file content. | |
8092 | # Grep'ing the first line is not enough: some people post-process | |
8093 | # each Makefile.in and add a new line on top of each file to say so. | |
8094 | # Grep'ing the whole file is not good either: AIX grep has a line | |
8095 | # limit of 2048, but all sed's we know have understand at least 4000. | |
8096 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
8097 | dirpart=`$as_dirname -- "$mf" || | |
8098 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
8099 | X"$mf" : 'X\(//\)[^/]' \| \ | |
8100 | X"$mf" : 'X\(//\)$' \| \ | |
8101 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
8102 | $as_echo X"$mf" | | |
8103 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
8104 | s//\1/ | |
8105 | q | |
8106 | } | |
8107 | /^X\(\/\/\)[^/].*/{ | |
8108 | s//\1/ | |
8109 | q | |
8110 | } | |
8111 | /^X\(\/\/\)$/{ | |
8112 | s//\1/ | |
8113 | q | |
8114 | } | |
8115 | /^X\(\/\).*/{ | |
8116 | s//\1/ | |
8117 | q | |
8118 | } | |
8119 | s/.*/./; q'` | |
8120 | else | |
8121 | continue | |
4744 | 8122 | fi |
4745 | rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" | |
4746 | >"po/stamp-it.tmp" | |
4747 | sed '/^#/d | |
4748 | s/^[[].*] *// | |
4749 | /^[ ]*$/d | |
4750 | '"s|^| $ac_top_srcdir/|" \ | |
4751 | "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" | |
4752 | ||
4753 | sed '/^POTFILES =/,/[^\\]$/ { | |
4754 | /^POTFILES =/!d | |
4755 | r po/POTFILES | |
8123 | # Extract the definition of DEPDIR, am__include, and am__quote | |
8124 | # from the Makefile without running 'make'. | |
8125 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
8126 | test -z "$DEPDIR" && continue | |
8127 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
8128 | test -z "$am__include" && continue | |
8129 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
8130 | # Find all dependency output files, they are included files with | |
8131 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
8132 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
8133 | # expansion. | |
8134 | for file in `sed -n " | |
8135 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
8136 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
8137 | # Make sure the directory exists. | |
8138 | test -f "$dirpart/$file" && continue | |
8139 | fdir=`$as_dirname -- "$file" || | |
8140 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
8141 | X"$file" : 'X\(//\)[^/]' \| \ | |
8142 | X"$file" : 'X\(//\)$' \| \ | |
8143 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
8144 | $as_echo X"$file" | | |
8145 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
8146 | s//\1/ | |
8147 | q | |
4756 | 8148 | } |
4757 | ' "po/Makefile.in" >"po/Makefile" | |
4758 | rm -f "po/Makefile.tmp" | |
4759 | mv "po/stamp-it.tmp" "po/stamp-it" | |
4760 | ;; | |
8149 | /^X\(\/\/\)[^/].*/{ | |
8150 | s//\1/ | |
8151 | q | |
8152 | } | |
8153 | /^X\(\/\/\)$/{ | |
8154 | s//\1/ | |
8155 | q | |
8156 | } | |
8157 | /^X\(\/\).*/{ | |
8158 | s//\1/ | |
8159 | q | |
8160 | } | |
8161 | s/.*/./; q'` | |
8162 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
8163 | # echo "creating $dirpart/$file" | |
8164 | echo '# dummy' > "$dirpart/$file" | |
8165 | done | |
8166 | done | |
8167 | } | |
8168 | ;; | |
4761 | 8169 | |
4762 | 8170 | esac |
4763 | 8171 | done # for ac_tag |
0 | 0 | AC_PREREQ(2.63) |
1 | AC_INIT([gnome-shell-extensions],[3.20.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions]) | |
1 | AC_INIT([gnome-shell-extensions],[3.21.91],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions]) | |
2 | 2 | |
3 | 3 | AC_CONFIG_MACRO_DIR([m4]) |
4 | 4 | AC_CONFIG_AUX_DIR([config]) |
11 | 11 | AC_SUBST(GETTEXT_PACKAGE) |
12 | 12 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", |
13 | 13 | [The prefix for our gettext translation domains.]) |
14 | IT_PROG_INTLTOOL(0.26) | |
14 | ||
15 | AM_GNU_GETTEXT_VERSION([0.19.6]) | |
16 | AM_GNU_GETTEXT([external]) | |
15 | 17 | |
16 | 18 | PKG_PROG_PKG_CONFIG([0.22]) |
17 | 19 |
0 | 0 | include $(top_srcdir)/include.mk |
1 | 1 | |
2 | 2 | sessiondir = $(datadir)/gnome-session/sessions |
3 | session_in_in_files = gnome-classic.session.desktop.in.in | |
4 | session_in_files = $(session_in_in_files:.session.desktop.in.in=.session.desktop.in) | |
3 | session_in_files = gnome-classic.session.desktop.in | |
5 | 4 | session_DATA = $(session_in_files:.session.desktop.in=.session) |
6 | 5 | |
7 | 6 | xsessiondir = $(datadir)/xsessions |
38 | 37 | $(SASS) --sourcemap=none --update -f -q $<; \ |
39 | 38 | fi |
40 | 39 | |
41 | gsettings_in_files = org.gnome.shell.extensions.classic-overrides.gschema.xml.in | |
42 | gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml) | |
40 | gsettings_SCHEMAS = org.gnome.shell.extensions.classic-overrides.gschema.xml | |
43 | 41 | |
44 | @INTLTOOL_XML_NOMERGE_RULE@ | |
45 | 42 | @GSETTINGS_RULES@ |
46 | 43 | |
47 | %.desktop.in:%.desktop.in.in | |
48 | $(AM_V_GEN) sed \ | |
49 | -e "s|\@bindir\@|$(bindir)|" \ | |
50 | -e "s|\@VERSION\@|$(VERSION)|" \ | |
51 | $< > $@ | |
44 | %.desktop:%.desktop.in | |
45 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
46 | ||
47 | %.session: %.session.desktop.in | |
48 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
52 | 49 | |
53 | 50 | comma:=, |
54 | 51 | empty:= |
60 | 57 | -e "s|\@CLASSIC_EXTENSIONS\@|$(extension_list)|g" \ |
61 | 58 | $< > $@ |
62 | 59 | |
63 | %.session: %.session.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ | |
64 | ||
65 | @INTLTOOL_DESKTOP_RULE@ | |
66 | ||
67 | 60 | EXTRA_DIST = \ |
68 | $(session_in_in_files) \ | |
61 | $(session_in_files) \ | |
69 | 62 | $(xsession_in_files) \ |
70 | 63 | $(mode_in_files) \ |
71 | $(gsettings_in_files) \ | |
64 | $(gsettings_SCHEMAS) \ | |
72 | 65 | $(theme_DATA) \ |
73 | 66 | $(NULL) |
74 | 67 | |
76 | 69 | $(session_DATA) \ |
77 | 70 | $(xsession_DATA) \ |
78 | 71 | $(mode_DATA) \ |
79 | $(gsettings_SCHEMAS) \ | |
80 | 72 | $(NULL) |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = data |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
149 | 155 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
150 | 156 | ACLOCAL = @ACLOCAL@ |
151 | 157 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
152 | ALL_LINGUAS = @ALL_LINGUAS@ | |
153 | 158 | AMTAR = @AMTAR@ |
154 | 159 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
155 | 160 | AUTOCONF = @AUTOCONF@ |
156 | 161 | AUTOHEADER = @AUTOHEADER@ |
157 | 162 | AUTOMAKE = @AUTOMAKE@ |
158 | 163 | AWK = @AWK@ |
164 | CC = @CC@ | |
165 | CCDEPMODE = @CCDEPMODE@ | |
166 | CFLAGS = @CFLAGS@ | |
159 | 167 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
168 | CPP = @CPP@ | |
169 | CPPFLAGS = @CPPFLAGS@ | |
160 | 170 | CYGPATH_W = @CYGPATH_W@ |
161 | 171 | DEFS = @DEFS@ |
172 | DEPDIR = @DEPDIR@ | |
162 | 173 | ECHO_C = @ECHO_C@ |
163 | 174 | ECHO_N = @ECHO_N@ |
164 | 175 | ECHO_T = @ECHO_T@ |
176 | EGREP = @EGREP@ | |
165 | 177 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
178 | EXEEXT = @EXEEXT@ | |
179 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
166 | 180 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
167 | 181 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
168 | 182 | GMSGFMT = @GMSGFMT@ |
183 | GMSGFMT_015 = @GMSGFMT_015@ | |
184 | GREP = @GREP@ | |
169 | 185 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
170 | 186 | INSTALL = @INSTALL@ |
171 | 187 | INSTALL_DATA = @INSTALL_DATA@ |
172 | 188 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
173 | 189 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
174 | 190 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
175 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
176 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
177 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
178 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
179 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
180 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
181 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
182 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
191 | INTLLIBS = @INTLLIBS@ | |
192 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
193 | LDFLAGS = @LDFLAGS@ | |
194 | LIBICONV = @LIBICONV@ | |
195 | LIBINTL = @LIBINTL@ | |
183 | 196 | LIBOBJS = @LIBOBJS@ |
184 | 197 | LIBS = @LIBS@ |
198 | LTLIBICONV = @LTLIBICONV@ | |
199 | LTLIBINTL = @LTLIBINTL@ | |
185 | 200 | LTLIBOBJS = @LTLIBOBJS@ |
186 | 201 | MAKEINFO = @MAKEINFO@ |
187 | 202 | MKDIR_P = @MKDIR_P@ |
188 | 203 | MSGFMT = @MSGFMT@ |
204 | MSGFMT_015 = @MSGFMT_015@ | |
189 | 205 | MSGMERGE = @MSGMERGE@ |
206 | OBJEXT = @OBJEXT@ | |
190 | 207 | PACKAGE = @PACKAGE@ |
191 | 208 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
192 | 209 | PACKAGE_NAME = @PACKAGE_NAME@ |
198 | 215 | PKG_CONFIG = @PKG_CONFIG@ |
199 | 216 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
200 | 217 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
218 | POSUB = @POSUB@ | |
201 | 219 | SASS = @SASS@ |
220 | SED = @SED@ | |
202 | 221 | SET_MAKE = @SET_MAKE@ |
203 | 222 | SHELL = @SHELL@ |
204 | 223 | SHELL_VERSION = @SHELL_VERSION@ |
206 | 225 | USE_NLS = @USE_NLS@ |
207 | 226 | VERSION = @VERSION@ |
208 | 227 | XGETTEXT = @XGETTEXT@ |
228 | XGETTEXT_015 = @XGETTEXT_015@ | |
229 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
209 | 230 | abs_builddir = @abs_builddir@ |
210 | 231 | abs_srcdir = @abs_srcdir@ |
211 | 232 | abs_top_builddir = @abs_top_builddir@ |
212 | 233 | abs_top_srcdir = @abs_top_srcdir@ |
234 | ac_ct_CC = @ac_ct_CC@ | |
235 | am__include = @am__include@ | |
213 | 236 | am__leading_dot = @am__leading_dot@ |
237 | am__quote = @am__quote@ | |
214 | 238 | am__tar = @am__tar@ |
215 | 239 | am__untar = @am__untar@ |
216 | 240 | bindir = @bindir@ |
241 | build = @build@ | |
217 | 242 | build_alias = @build_alias@ |
243 | build_cpu = @build_cpu@ | |
244 | build_os = @build_os@ | |
245 | build_vendor = @build_vendor@ | |
218 | 246 | builddir = @builddir@ |
219 | 247 | datadir = @datadir@ |
220 | 248 | datarootdir = @datarootdir@ |
222 | 250 | dvidir = @dvidir@ |
223 | 251 | exec_prefix = @exec_prefix@ |
224 | 252 | gsettingsschemadir = @gsettingsschemadir@ |
253 | host = @host@ | |
225 | 254 | host_alias = @host_alias@ |
255 | host_cpu = @host_cpu@ | |
256 | host_os = @host_os@ | |
257 | host_vendor = @host_vendor@ | |
226 | 258 | htmldir = @htmldir@ |
227 | 259 | includedir = @includedir@ |
228 | 260 | infodir = @infodir@ |
229 | 261 | install_sh = @install_sh@ |
230 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
231 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
232 | 262 | libdir = @libdir@ |
233 | 263 | libexecdir = @libexecdir@ |
234 | 264 | localedir = @localedir@ |
258 | 288 | gschemaname = $(gschemabase).$(EXTENSION_ID) |
259 | 289 | extensiondir = $(topextensiondir)/$(uuid) |
260 | 290 | sessiondir = $(datadir)/gnome-session/sessions |
261 | session_in_in_files = gnome-classic.session.desktop.in.in | |
262 | session_in_files = $(session_in_in_files:.session.desktop.in.in=.session.desktop.in) | |
291 | session_in_files = gnome-classic.session.desktop.in | |
263 | 292 | session_DATA = $(session_in_files:.session.desktop.in=.session) |
264 | 293 | xsessiondir = $(datadir)/xsessions |
265 | 294 | xsession_in_files = gnome-classic.desktop.in |
287 | 316 | $(srcdir)/gnome-shell-sass/_high-contrast-colors.scss \ |
288 | 317 | $(NULL) |
289 | 318 | |
290 | gsettings_in_files = org.gnome.shell.extensions.classic-overrides.gschema.xml.in | |
291 | gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml) | |
319 | gsettings_SCHEMAS = org.gnome.shell.extensions.classic-overrides.gschema.xml | |
292 | 320 | comma := , |
293 | 321 | empty := |
294 | 322 | space := $(empty) $(empty) |
295 | 323 | extensions := $(patsubst %,\"%$(extensionbase)\",$(CLASSIC_EXTENSIONS)) |
296 | 324 | extension_list := $(subst $(space),$(comma),$(extensions)) |
297 | 325 | EXTRA_DIST = \ |
298 | $(session_in_in_files) \ | |
326 | $(session_in_files) \ | |
299 | 327 | $(xsession_in_files) \ |
300 | 328 | $(mode_in_files) \ |
301 | $(gsettings_in_files) \ | |
329 | $(gsettings_SCHEMAS) \ | |
302 | 330 | $(theme_DATA) \ |
303 | 331 | $(NULL) |
304 | 332 | |
306 | 334 | $(session_DATA) \ |
307 | 335 | $(xsession_DATA) \ |
308 | 336 | $(mode_DATA) \ |
309 | $(gsettings_SCHEMAS) \ | |
310 | 337 | $(NULL) |
311 | 338 | |
312 | 339 | all: all-am |
594 | 621 | $(SASS) --sourcemap=none --update -f -q $<; \ |
595 | 622 | fi |
596 | 623 | |
597 | @INTLTOOL_XML_NOMERGE_RULE@ | |
598 | 624 | @GSETTINGS_RULES@ |
599 | 625 | |
600 | %.desktop.in:%.desktop.in.in | |
601 | $(AM_V_GEN) sed \ | |
602 | -e "s|\@bindir\@|$(bindir)|" \ | |
603 | -e "s|\@VERSION\@|$(VERSION)|" \ | |
604 | $< > $@ | |
626 | %.desktop:%.desktop.in | |
627 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
628 | ||
629 | %.session: %.session.desktop.in | |
630 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
605 | 631 | %.json:%.json.in |
606 | 632 | $(AM_V_GEN) sed \ |
607 | 633 | -e "s|\@CLASSIC_EXTENSIONS\@|$(extension_list)|g" \ |
608 | 634 | $< > $@ |
609 | 635 | |
610 | %.session: %.session.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ | |
611 | ||
612 | @INTLTOOL_DESKTOP_RULE@ | |
613 | ||
614 | 636 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
615 | 637 | # Otherwise a system limit (for SysV at least) may be exceeded. |
616 | 638 | .NOEXPORT: |
199 | 199 | border-radius: 9px; |
200 | 200 | color: #eeeeec; |
201 | 201 | background-color: rgba(23, 25, 26, 0.95); |
202 | border: 3px solid rgba(238, 238, 236, 0.5); } | |
202 | border: 1px solid rgba(238, 238, 236, 0.2); } | |
203 | 203 | .modal-dialog .modal-dialog-content-box { |
204 | 204 | padding: 24px; } |
205 | 205 | .modal-dialog .run-dialog-entry { |
224 | 224 | /* End Session Dialog */ |
225 | 225 | .end-session-dialog { |
226 | 226 | spacing: 42px; |
227 | border: 3px solid rgba(238, 238, 236, 0.2); } | |
227 | border: 1px solid rgba(238, 238, 236, 0.2); } | |
228 | 228 | |
229 | 229 | .end-session-dialog-list { |
230 | 230 | padding-top: 20px; } |
398 | 398 | background-size: contain; |
399 | 399 | width: 48px; |
400 | 400 | height: 48px; } |
401 | ||
402 | /* Audio selection dialog */ | |
403 | .audio-device-selection-dialog { | |
404 | spacing: 30px; } | |
405 | ||
406 | .audio-selection-content { | |
407 | spacing: 20px; | |
408 | padding: 24px; } | |
409 | ||
410 | .audio-selection-title { | |
411 | font-weight: bold; | |
412 | text-align: center; } | |
413 | ||
414 | .audio-selection-box { | |
415 | spacing: 20px; } | |
416 | ||
417 | .audio-selection-device { | |
418 | border: 1px solid rgba(238, 238, 236, 0.2); | |
419 | border-radius: 12px; } | |
420 | .audio-selection-device:active, .audio-selection-device:hover, .audio-selection-device:focus { | |
421 | background-color: #4a90d9; } | |
422 | ||
423 | .audio-selection-device-box { | |
424 | padding: 20px; | |
425 | spacing: 20px; } | |
426 | ||
427 | .audio-selection-device-icon { | |
428 | icon-size: 64px; } | |
429 | ||
430 | /* Access Dialog */ | |
431 | .access-dialog { | |
432 | spacing: 30px; } | |
433 | ||
434 | .access-dialog-main-layout { | |
435 | padding: 12px 20px 0; | |
436 | spacing: 12px; } | |
437 | ||
438 | .access-dialog-content { | |
439 | max-width: 28em; | |
440 | spacing: 20px; } | |
441 | ||
442 | .access-dialog-icon { | |
443 | min-width: 48px; | |
444 | icon-size: 48px; } | |
445 | ||
446 | .access-dialog-title { | |
447 | font-weight: bold; } | |
448 | ||
449 | .access-dialog-subtitle { | |
450 | color: black; | |
451 | font-weight: bold; } | |
452 | ||
453 | /* Geolocation Dialog */ | |
454 | .geolocation-dialog { | |
455 | spacing: 30px; } | |
456 | ||
457 | .geolocation-dialog-main-layout { | |
458 | spacing: 12px; } | |
459 | ||
460 | .geolocation-dialog-content { | |
461 | spacing: 20px; } | |
462 | ||
463 | .geolocation-dialog-icon { | |
464 | icon-size: 48px; } | |
465 | ||
466 | .geolocation-dialog-title { | |
467 | font-weight: bold; } | |
468 | ||
469 | .geolocation-dialog-reason { | |
470 | color: black; | |
471 | font-weight: bold; } | |
401 | 472 | |
402 | 473 | /* Network Agent Dialog */ |
403 | 474 | .network-dialog-secret-table { |
487 | 558 | border-radius: 0.3em; |
488 | 559 | background-color: rgba(11, 12, 13, 0.5); |
489 | 560 | color: #eeeeec; } |
561 | .osd-window .level-bar { | |
562 | background-color: #eeeeec; | |
563 | border-radius: 0.3em; } | |
490 | 564 | |
491 | 565 | /* App Switcher */ |
492 | 566 | .switcher-popup { |
718 | 792 | border-radius: 1.4em; } |
719 | 793 | .calendar-day-base:hover, .calendar-day-base:focus { |
720 | 794 | background-color: #fafafa; } |
721 | .calendar-day-base:active { | |
795 | .calendar-day-base:active, .calendar-day-base:selected { | |
722 | 796 | color: white; |
723 | 797 | background-color: #4a90d9; |
724 | 798 | border-color: transparent; } |
752 | 826 | color: rgba(46, 52, 54, 0.15); |
753 | 827 | opacity: 0.5; } |
754 | 828 | |
829 | .calendar-week-number { | |
830 | font-size: 70%; | |
831 | font-weight: bold; | |
832 | width: 2.3em; | |
833 | height: 1.8em; | |
834 | border-radius: 2px; | |
835 | padding: 0.5em 0 0; | |
836 | margin: 6px; | |
837 | background-color: rgba(46, 52, 54, 0.3); | |
838 | color: #ededed; } | |
839 | ||
755 | 840 | /* Message list */ |
756 | 841 | .message-list { |
757 | 842 | width: 31.5em; } |
809 | 894 | .message-content { |
810 | 895 | padding: 8px; |
811 | 896 | font-size: .9em; } |
897 | ||
898 | .message-media-control { | |
899 | padding: 6px; } | |
900 | .message-media-control:last-child:ltr { | |
901 | padding-right: 18px; } | |
902 | .message-media-control:last-child:rtl { | |
903 | padding-left: 18px; } | |
904 | ||
905 | .media-message-cover-icon { | |
906 | icon-size: 32px; } | |
907 | .media-message-cover-icon.fallback { | |
908 | color: white; | |
909 | background-color: #ededed; | |
910 | border: 2px solid #ededed; | |
911 | border-radius: 2px; | |
912 | icon-size: 16px; | |
913 | padding: 8px; } | |
812 | 914 | |
813 | 915 | .system-switch-user-submenu-icon.user-icon { |
814 | 916 | icon-size: 20px; |
0 | 0 | [Desktop Entry] |
1 | _Name=GNOME Classic | |
2 | _Comment=This session logs you into GNOME Classic | |
1 | Name=GNOME Classic | |
2 | Comment=This session logs you into GNOME Classic | |
3 | 3 | Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic |
4 | 4 | TryExec=gnome-session |
5 | Icon= | |
6 | 5 | Type=Application |
7 | DesktopNames=GNOME-Classic;GNOME | |
6 | DesktopNames=GNOME-Classic;GNOME; |
0 | [GNOME Session] | |
1 | Name=GNOME Classic | |
2 | RequiredComponents=org.gnome.Shell;gnome-settings-daemon;nautilus-classic; |
0 | [GNOME Session] | |
1 | _Name=GNOME Classic | |
2 | RequiredComponents=org.gnome.Shell;gnome-settings-daemon;nautilus-classic; |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist> | |
2 | <schema path="/org/gnome/shell/extensions/classic-overrides/" id="org.gnome.shell.extensions.classic-overrides" gettext-domain="gnome-shell-extensions"> | |
3 | <key type="b" name="attach-modal-dialogs"> | |
4 | <default>true</default> | |
5 | <summary>Attach modal dialog to the parent window</summary> | |
6 | <description>This key overrides the key in org.gnome.mutter when running GNOME Shell.</description> | |
7 | </key> | |
8 | ||
9 | <key type="s" name="button-layout"> | |
10 | <default>"appmenu:minimize,maximize,close"</default> | |
11 | <summary>Arrangement of buttons on the titlebar</summary> | |
12 | <description>This key overrides the key in org.gnome.desktop.wm.preferences when running GNOME Shell.</description> | |
13 | </key> | |
14 | ||
15 | <key type="b" name="edge-tiling"> | |
16 | <default>true</default> | |
17 | <summary>Enable edge tiling when dropping windows on screen edges</summary> | |
18 | <description>This key overrides the key in org.gnome.mutter when running GNOME Shell.</description> | |
19 | </key> | |
20 | ||
21 | <key type="b" name="workspaces-only-on-primary"> | |
22 | <default>true</default> | |
23 | <summary>Workspaces only on primary monitor</summary> | |
24 | <description>This key overrides the key in org.gnome.mutter when running GNOME Shell.</description> | |
25 | </key> | |
26 | ||
27 | <key type="b" name="focus-change-on-pointer-rest"> | |
28 | <default>true</default> | |
29 | <summary>Delay focus changes in mouse mode until the pointer stops moving</summary> | |
30 | <description>This key overrides the key in org.gnome.mutter when running GNOME Shell.</description> | |
31 | </key> | |
32 | </schema> | |
33 | </schemalist>⏎ |
0 | <schemalist> | |
1 | <schema id="org.gnome.shell.extensions.classic-overrides" | |
2 | path="/org/gnome/shell/extensions/classic-overrides/" | |
3 | gettext-domain="gnome-shell-extensions"> | |
4 | <key name="attach-modal-dialogs" type="b"> | |
5 | <default>true</default> | |
6 | <_summary>Attach modal dialog to the parent window</_summary> | |
7 | <_description> | |
8 | This key overrides the key in org.gnome.mutter when running | |
9 | GNOME Shell. | |
10 | </_description> | |
11 | </key> | |
12 | ||
13 | <key name="button-layout" type="s"> | |
14 | <default>"appmenu:minimize,maximize,close"</default> | |
15 | <_summary>Arrangement of buttons on the titlebar</_summary> | |
16 | <_description> | |
17 | This key overrides the key in org.gnome.desktop.wm.preferences when running GNOME Shell. | |
18 | </_description> | |
19 | </key> | |
20 | ||
21 | <key name="edge-tiling" type="b"> | |
22 | <default>true</default> | |
23 | <_summary>Enable edge tiling when dropping windows on screen edges</_summary> | |
24 | <_description> | |
25 | This key overrides the key in org.gnome.mutter when running GNOME Shell. | |
26 | </_description> | |
27 | </key> | |
28 | ||
29 | <key name="workspaces-only-on-primary" type="b"> | |
30 | <default>true</default> | |
31 | <_summary>Workspaces only on primary monitor</_summary> | |
32 | <_description> | |
33 | This key overrides the key in org.gnome.mutter when running GNOME Shell. | |
34 | </_description> | |
35 | </key> | |
36 | ||
37 | <key name="focus-change-on-pointer-rest" type="b"> | |
38 | <default>true</default> | |
39 | <_summary>Delay focus changes in mouse mode until the pointer stops moving</_summary> | |
40 | <_description> | |
41 | This key overrides the key in org.gnome.mutter when running GNOME Shell. | |
42 | </_description> | |
43 | </key> | |
44 | </schema> | |
45 | </schemalist> |
84 | 84 | NORMAL_UNINSTALL = : |
85 | 85 | PRE_UNINSTALL = : |
86 | 86 | POST_UNINSTALL = : |
87 | build_triplet = @build@ | |
88 | host_triplet = @host@ | |
87 | 89 | subdir = extensions |
88 | 90 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
89 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
91 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
92 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
93 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
94 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
95 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
90 | 96 | $(top_srcdir)/configure.ac |
91 | 97 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
92 | 98 | $(ACLOCAL_M4) |
177 | 183 | reldir="$$dir2" |
178 | 184 | ACLOCAL = @ACLOCAL@ |
179 | 185 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
180 | ALL_LINGUAS = @ALL_LINGUAS@ | |
181 | 186 | AMTAR = @AMTAR@ |
182 | 187 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
183 | 188 | AUTOCONF = @AUTOCONF@ |
184 | 189 | AUTOHEADER = @AUTOHEADER@ |
185 | 190 | AUTOMAKE = @AUTOMAKE@ |
186 | 191 | AWK = @AWK@ |
192 | CC = @CC@ | |
193 | CCDEPMODE = @CCDEPMODE@ | |
194 | CFLAGS = @CFLAGS@ | |
187 | 195 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
196 | CPP = @CPP@ | |
197 | CPPFLAGS = @CPPFLAGS@ | |
188 | 198 | CYGPATH_W = @CYGPATH_W@ |
189 | 199 | DEFS = @DEFS@ |
200 | DEPDIR = @DEPDIR@ | |
190 | 201 | ECHO_C = @ECHO_C@ |
191 | 202 | ECHO_N = @ECHO_N@ |
192 | 203 | ECHO_T = @ECHO_T@ |
204 | EGREP = @EGREP@ | |
193 | 205 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
206 | EXEEXT = @EXEEXT@ | |
207 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
194 | 208 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
195 | 209 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
196 | 210 | GMSGFMT = @GMSGFMT@ |
211 | GMSGFMT_015 = @GMSGFMT_015@ | |
212 | GREP = @GREP@ | |
197 | 213 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
198 | 214 | INSTALL = @INSTALL@ |
199 | 215 | INSTALL_DATA = @INSTALL_DATA@ |
200 | 216 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
201 | 217 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
202 | 218 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
203 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
204 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
205 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
206 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
207 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
208 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
209 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
210 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
219 | INTLLIBS = @INTLLIBS@ | |
220 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
221 | LDFLAGS = @LDFLAGS@ | |
222 | LIBICONV = @LIBICONV@ | |
223 | LIBINTL = @LIBINTL@ | |
211 | 224 | LIBOBJS = @LIBOBJS@ |
212 | 225 | LIBS = @LIBS@ |
226 | LTLIBICONV = @LTLIBICONV@ | |
227 | LTLIBINTL = @LTLIBINTL@ | |
213 | 228 | LTLIBOBJS = @LTLIBOBJS@ |
214 | 229 | MAKEINFO = @MAKEINFO@ |
215 | 230 | MKDIR_P = @MKDIR_P@ |
216 | 231 | MSGFMT = @MSGFMT@ |
232 | MSGFMT_015 = @MSGFMT_015@ | |
217 | 233 | MSGMERGE = @MSGMERGE@ |
234 | OBJEXT = @OBJEXT@ | |
218 | 235 | PACKAGE = @PACKAGE@ |
219 | 236 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
220 | 237 | PACKAGE_NAME = @PACKAGE_NAME@ |
226 | 243 | PKG_CONFIG = @PKG_CONFIG@ |
227 | 244 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
228 | 245 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
246 | POSUB = @POSUB@ | |
229 | 247 | SASS = @SASS@ |
248 | SED = @SED@ | |
230 | 249 | SET_MAKE = @SET_MAKE@ |
231 | 250 | SHELL = @SHELL@ |
232 | 251 | SHELL_VERSION = @SHELL_VERSION@ |
234 | 253 | USE_NLS = @USE_NLS@ |
235 | 254 | VERSION = @VERSION@ |
236 | 255 | XGETTEXT = @XGETTEXT@ |
256 | XGETTEXT_015 = @XGETTEXT_015@ | |
257 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
237 | 258 | abs_builddir = @abs_builddir@ |
238 | 259 | abs_srcdir = @abs_srcdir@ |
239 | 260 | abs_top_builddir = @abs_top_builddir@ |
240 | 261 | abs_top_srcdir = @abs_top_srcdir@ |
262 | ac_ct_CC = @ac_ct_CC@ | |
263 | am__include = @am__include@ | |
241 | 264 | am__leading_dot = @am__leading_dot@ |
265 | am__quote = @am__quote@ | |
242 | 266 | am__tar = @am__tar@ |
243 | 267 | am__untar = @am__untar@ |
244 | 268 | bindir = @bindir@ |
269 | build = @build@ | |
245 | 270 | build_alias = @build_alias@ |
271 | build_cpu = @build_cpu@ | |
272 | build_os = @build_os@ | |
273 | build_vendor = @build_vendor@ | |
246 | 274 | builddir = @builddir@ |
247 | 275 | datadir = @datadir@ |
248 | 276 | datarootdir = @datarootdir@ |
250 | 278 | dvidir = @dvidir@ |
251 | 279 | exec_prefix = @exec_prefix@ |
252 | 280 | gsettingsschemadir = @gsettingsschemadir@ |
281 | host = @host@ | |
253 | 282 | host_alias = @host_alias@ |
283 | host_cpu = @host_cpu@ | |
284 | host_os = @host_os@ | |
285 | host_vendor = @host_vendor@ | |
254 | 286 | htmldir = @htmldir@ |
255 | 287 | includedir = @includedir@ |
256 | 288 | infodir = @infodir@ |
257 | 289 | install_sh = @install_sh@ |
258 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
259 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
260 | 290 | libdir = @libdir@ |
261 | 291 | libexecdir = @libexecdir@ |
262 | 292 | localedir = @localedir@ |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/alternate-tab |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
6 | 6 | |
7 | 7 | const AltTab = imports.ui.altTab; |
8 | 8 | const Main = imports.ui.main; |
9 | const WindowManager = imports.ui.windowManager; | |
9 | 10 | |
10 | 11 | let injections = {}; |
11 | 12 | |
32 | 33 | return injections['_keyPressHandler'].call(this, keysym, action); |
33 | 34 | }; |
34 | 35 | |
35 | setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._startWindowSwitcher)); | |
36 | setKeybinding('switch-group', Lang.bind(Main.wm, Main.wm._startWindowSwitcher)); | |
37 | setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._startWindowSwitcher)); | |
38 | setKeybinding('switch-group-backward', Lang.bind(Main.wm, Main.wm._startWindowSwitcher)); | |
36 | Main.wm._forcedWindowSwitcher = function(display, screen, window, binding) { | |
37 | /* prevent a corner case where both popups show up at once */ | |
38 | if (this._workspaceSwitcherPopup != null) | |
39 | this._workspaceSwitcherPopup.destroy(); | |
40 | ||
41 | let tabPopup = new AltTab.WindowSwitcherPopup(); | |
42 | ||
43 | if (!tabPopup.show(binding.is_reversed(), binding.get_name(), binding.get_mask())) | |
44 | tabPopup.destroy(); | |
45 | }; | |
46 | ||
47 | setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher)); | |
48 | setKeybinding('switch-group', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher)); | |
49 | setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher)); | |
50 | setKeybinding('switch-group-backward', Lang.bind(Main.wm, Main.wm._forcedWindowSwitcher)); | |
39 | 51 | } |
40 | 52 | |
41 | 53 | function disable() { |
42 | 54 | var prop; |
43 | 55 | |
44 | setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._startAppSwitcher)); | |
45 | setKeybinding('switch-group', Lang.bind(Main.wm, Main.wm._startAppSwitcher)); | |
46 | setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._startAppSwitcher)); | |
47 | setKeybinding('switch-group-backward', Lang.bind(Main.wm, Main.wm._startAppSwitcher)); | |
56 | setKeybinding('switch-applications', Lang.bind(Main.wm, Main.wm._startSwitcher)); | |
57 | setKeybinding('switch-group', Lang.bind(Main.wm, Main.wm._startSwitcher)); | |
58 | setKeybinding('switch-applications-backward', Lang.bind(Main.wm, Main.wm._startSwitcher)); | |
59 | setKeybinding('switch-group-backward', Lang.bind(Main.wm, Main.wm._startSwitcher)); | |
48 | 60 | |
49 | 61 | for (prop in injections) |
50 | 62 | AltTab.WindowSwitcherPopup.prototype[prop] = injections[prop]; |
63 | delete Main.wm._forcedWindowSwitcher; | |
51 | 64 | } |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/apps-menu |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
403 | 403 | continue; |
404 | 404 | } |
405 | 405 | let app = appSys.lookup_app(id); |
406 | if (!app) | |
407 | app = new Shell.App({ app_info: entry.get_app_info() }); | |
406 | 408 | if (app.get_app_info().should_show()) |
407 | 409 | this.applicationsByCategory[categoryId].push(app); |
408 | 410 | } else if (nextType == GMenu.TreeItemType.DIRECTORY) { |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/auto-move-windows |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
152 | 158 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
153 | 159 | ACLOCAL = @ACLOCAL@ |
154 | 160 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
155 | ALL_LINGUAS = @ALL_LINGUAS@ | |
156 | 161 | AMTAR = @AMTAR@ |
157 | 162 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
158 | 163 | AUTOCONF = @AUTOCONF@ |
159 | 164 | AUTOHEADER = @AUTOHEADER@ |
160 | 165 | AUTOMAKE = @AUTOMAKE@ |
161 | 166 | AWK = @AWK@ |
167 | CC = @CC@ | |
168 | CCDEPMODE = @CCDEPMODE@ | |
169 | CFLAGS = @CFLAGS@ | |
162 | 170 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
171 | CPP = @CPP@ | |
172 | CPPFLAGS = @CPPFLAGS@ | |
163 | 173 | CYGPATH_W = @CYGPATH_W@ |
164 | 174 | DEFS = @DEFS@ |
175 | DEPDIR = @DEPDIR@ | |
165 | 176 | ECHO_C = @ECHO_C@ |
166 | 177 | ECHO_N = @ECHO_N@ |
167 | 178 | ECHO_T = @ECHO_T@ |
179 | EGREP = @EGREP@ | |
168 | 180 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
181 | EXEEXT = @EXEEXT@ | |
182 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
169 | 183 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
170 | 184 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
171 | 185 | GMSGFMT = @GMSGFMT@ |
186 | GMSGFMT_015 = @GMSGFMT_015@ | |
187 | GREP = @GREP@ | |
172 | 188 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
173 | 189 | INSTALL = @INSTALL@ |
174 | 190 | INSTALL_DATA = @INSTALL_DATA@ |
175 | 191 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
176 | 192 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
177 | 193 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
178 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
179 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
180 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
181 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
182 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
183 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
184 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
185 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
194 | INTLLIBS = @INTLLIBS@ | |
195 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
196 | LDFLAGS = @LDFLAGS@ | |
197 | LIBICONV = @LIBICONV@ | |
198 | LIBINTL = @LIBINTL@ | |
186 | 199 | LIBOBJS = @LIBOBJS@ |
187 | 200 | LIBS = @LIBS@ |
201 | LTLIBICONV = @LTLIBICONV@ | |
202 | LTLIBINTL = @LTLIBINTL@ | |
188 | 203 | LTLIBOBJS = @LTLIBOBJS@ |
189 | 204 | MAKEINFO = @MAKEINFO@ |
190 | 205 | MKDIR_P = @MKDIR_P@ |
191 | 206 | MSGFMT = @MSGFMT@ |
207 | MSGFMT_015 = @MSGFMT_015@ | |
192 | 208 | MSGMERGE = @MSGMERGE@ |
209 | OBJEXT = @OBJEXT@ | |
193 | 210 | PACKAGE = @PACKAGE@ |
194 | 211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
195 | 212 | PACKAGE_NAME = @PACKAGE_NAME@ |
201 | 218 | PKG_CONFIG = @PKG_CONFIG@ |
202 | 219 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
203 | 220 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
221 | POSUB = @POSUB@ | |
204 | 222 | SASS = @SASS@ |
223 | SED = @SED@ | |
205 | 224 | SET_MAKE = @SET_MAKE@ |
206 | 225 | SHELL = @SHELL@ |
207 | 226 | SHELL_VERSION = @SHELL_VERSION@ |
209 | 228 | USE_NLS = @USE_NLS@ |
210 | 229 | VERSION = @VERSION@ |
211 | 230 | XGETTEXT = @XGETTEXT@ |
231 | XGETTEXT_015 = @XGETTEXT_015@ | |
232 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
212 | 233 | abs_builddir = @abs_builddir@ |
213 | 234 | abs_srcdir = @abs_srcdir@ |
214 | 235 | abs_top_builddir = @abs_top_builddir@ |
215 | 236 | abs_top_srcdir = @abs_top_srcdir@ |
237 | ac_ct_CC = @ac_ct_CC@ | |
238 | am__include = @am__include@ | |
216 | 239 | am__leading_dot = @am__leading_dot@ |
240 | am__quote = @am__quote@ | |
217 | 241 | am__tar = @am__tar@ |
218 | 242 | am__untar = @am__untar@ |
219 | 243 | bindir = @bindir@ |
244 | build = @build@ | |
220 | 245 | build_alias = @build_alias@ |
246 | build_cpu = @build_cpu@ | |
247 | build_os = @build_os@ | |
248 | build_vendor = @build_vendor@ | |
221 | 249 | builddir = @builddir@ |
222 | 250 | datadir = @datadir@ |
223 | 251 | datarootdir = @datarootdir@ |
225 | 253 | dvidir = @dvidir@ |
226 | 254 | exec_prefix = @exec_prefix@ |
227 | 255 | gsettingsschemadir = @gsettingsschemadir@ |
256 | host = @host@ | |
228 | 257 | host_alias = @host_alias@ |
258 | host_cpu = @host_cpu@ | |
259 | host_os = @host_os@ | |
260 | host_vendor = @host_vendor@ | |
229 | 261 | htmldir = @htmldir@ |
230 | 262 | includedir = @includedir@ |
231 | 263 | infodir = @infodir@ |
232 | 264 | install_sh = @install_sh@ |
233 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
234 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
235 | 265 | libdir = @libdir@ |
236 | 266 | libexecdir = @libexecdir@ |
237 | 267 | localedir = @localedir@ |
264 | 294 | extensiondir = $(topextensiondir)/$(uuid) |
265 | 295 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
266 | 296 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
267 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
268 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
269 | $(gsettings_SCHEMAS) | |
270 | gschemas_in = $(gschemaname).gschema.xml.in | |
271 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
297 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
298 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
299 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
272 | 300 | all: all-am |
273 | 301 | |
274 | 302 | .SUFFIXES: |
515 | 543 | -e "s|[@]url@|$(extensionurl)|" \ |
516 | 544 | $< > $@ |
517 | 545 | |
518 | @INTLTOOL_XML_NOMERGE_RULE@ | |
546 | %.desktop:%.desktop.in | |
547 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
519 | 548 | |
520 | 549 | @GSETTINGS_RULES@ |
521 | 550 |
+11
-0
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist gettext-domain="gnome-shell-extensions"> | |
2 | <schema path="/org/gnome/shell/extensions/auto-move-windows/" id="org.gnome.shell.extensions.auto-move-windows"> | |
3 | <key type="as" name="application-list"> | |
4 | ||
5 | <default>[ ]</default> | |
6 | <summary>Application and workspace list</summary> | |
7 | <description>A list of strings, each containing an application id (desktop file name), followed by a colon and the workspace number</description> | |
8 | </key> | |
9 | </schema> | |
10 | </schemalist>⏎ |
+0
-10
0 | <schemalist gettext-domain="gnome-shell-extensions"> | |
1 | <schema id="org.gnome.shell.extensions.auto-move-windows" path="/org/gnome/shell/extensions/auto-move-windows/"> | |
2 | <key name="application-list" type="as"> | |
3 | <!-- FIXME: should be a(su), when JS supports more of GVariant --> | |
4 | <default>[ ]</default> | |
5 | <_summary>Application and workspace list</_summary> | |
6 | <_description>A list of strings, each containing an application id (desktop file name), followed by a colon and the workspace number</_description> | |
7 | </key> | |
8 | </schema> | |
9 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/drive-menu |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/example |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
152 | 158 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
153 | 159 | ACLOCAL = @ACLOCAL@ |
154 | 160 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
155 | ALL_LINGUAS = @ALL_LINGUAS@ | |
156 | 161 | AMTAR = @AMTAR@ |
157 | 162 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
158 | 163 | AUTOCONF = @AUTOCONF@ |
159 | 164 | AUTOHEADER = @AUTOHEADER@ |
160 | 165 | AUTOMAKE = @AUTOMAKE@ |
161 | 166 | AWK = @AWK@ |
167 | CC = @CC@ | |
168 | CCDEPMODE = @CCDEPMODE@ | |
169 | CFLAGS = @CFLAGS@ | |
162 | 170 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
171 | CPP = @CPP@ | |
172 | CPPFLAGS = @CPPFLAGS@ | |
163 | 173 | CYGPATH_W = @CYGPATH_W@ |
164 | 174 | DEFS = @DEFS@ |
175 | DEPDIR = @DEPDIR@ | |
165 | 176 | ECHO_C = @ECHO_C@ |
166 | 177 | ECHO_N = @ECHO_N@ |
167 | 178 | ECHO_T = @ECHO_T@ |
179 | EGREP = @EGREP@ | |
168 | 180 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
181 | EXEEXT = @EXEEXT@ | |
182 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
169 | 183 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
170 | 184 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
171 | 185 | GMSGFMT = @GMSGFMT@ |
186 | GMSGFMT_015 = @GMSGFMT_015@ | |
187 | GREP = @GREP@ | |
172 | 188 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
173 | 189 | INSTALL = @INSTALL@ |
174 | 190 | INSTALL_DATA = @INSTALL_DATA@ |
175 | 191 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
176 | 192 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
177 | 193 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
178 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
179 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
180 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
181 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
182 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
183 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
184 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
185 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
194 | INTLLIBS = @INTLLIBS@ | |
195 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
196 | LDFLAGS = @LDFLAGS@ | |
197 | LIBICONV = @LIBICONV@ | |
198 | LIBINTL = @LIBINTL@ | |
186 | 199 | LIBOBJS = @LIBOBJS@ |
187 | 200 | LIBS = @LIBS@ |
201 | LTLIBICONV = @LTLIBICONV@ | |
202 | LTLIBINTL = @LTLIBINTL@ | |
188 | 203 | LTLIBOBJS = @LTLIBOBJS@ |
189 | 204 | MAKEINFO = @MAKEINFO@ |
190 | 205 | MKDIR_P = @MKDIR_P@ |
191 | 206 | MSGFMT = @MSGFMT@ |
207 | MSGFMT_015 = @MSGFMT_015@ | |
192 | 208 | MSGMERGE = @MSGMERGE@ |
209 | OBJEXT = @OBJEXT@ | |
193 | 210 | PACKAGE = @PACKAGE@ |
194 | 211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
195 | 212 | PACKAGE_NAME = @PACKAGE_NAME@ |
201 | 218 | PKG_CONFIG = @PKG_CONFIG@ |
202 | 219 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
203 | 220 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
221 | POSUB = @POSUB@ | |
204 | 222 | SASS = @SASS@ |
223 | SED = @SED@ | |
205 | 224 | SET_MAKE = @SET_MAKE@ |
206 | 225 | SHELL = @SHELL@ |
207 | 226 | SHELL_VERSION = @SHELL_VERSION@ |
209 | 228 | USE_NLS = @USE_NLS@ |
210 | 229 | VERSION = @VERSION@ |
211 | 230 | XGETTEXT = @XGETTEXT@ |
231 | XGETTEXT_015 = @XGETTEXT_015@ | |
232 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
212 | 233 | abs_builddir = @abs_builddir@ |
213 | 234 | abs_srcdir = @abs_srcdir@ |
214 | 235 | abs_top_builddir = @abs_top_builddir@ |
215 | 236 | abs_top_srcdir = @abs_top_srcdir@ |
237 | ac_ct_CC = @ac_ct_CC@ | |
238 | am__include = @am__include@ | |
216 | 239 | am__leading_dot = @am__leading_dot@ |
240 | am__quote = @am__quote@ | |
217 | 241 | am__tar = @am__tar@ |
218 | 242 | am__untar = @am__untar@ |
219 | 243 | bindir = @bindir@ |
244 | build = @build@ | |
220 | 245 | build_alias = @build_alias@ |
246 | build_cpu = @build_cpu@ | |
247 | build_os = @build_os@ | |
248 | build_vendor = @build_vendor@ | |
221 | 249 | builddir = @builddir@ |
222 | 250 | datadir = @datadir@ |
223 | 251 | datarootdir = @datarootdir@ |
225 | 253 | dvidir = @dvidir@ |
226 | 254 | exec_prefix = @exec_prefix@ |
227 | 255 | gsettingsschemadir = @gsettingsschemadir@ |
256 | host = @host@ | |
228 | 257 | host_alias = @host_alias@ |
258 | host_cpu = @host_cpu@ | |
259 | host_os = @host_os@ | |
260 | host_vendor = @host_vendor@ | |
229 | 261 | htmldir = @htmldir@ |
230 | 262 | includedir = @includedir@ |
231 | 263 | infodir = @infodir@ |
232 | 264 | install_sh = @install_sh@ |
233 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
234 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
235 | 265 | libdir = @libdir@ |
236 | 266 | libexecdir = @libexecdir@ |
237 | 267 | localedir = @localedir@ |
264 | 294 | extensiondir = $(topextensiondir)/$(uuid) |
265 | 295 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
266 | 296 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
267 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
268 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
269 | $(gsettings_SCHEMAS) | |
270 | gschemas_in = $(gschemaname).gschema.xml.in | |
271 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
297 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
298 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
299 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
272 | 300 | all: all-am |
273 | 301 | |
274 | 302 | .SUFFIXES: |
515 | 543 | -e "s|[@]url@|$(extensionurl)|" \ |
516 | 544 | $< > $@ |
517 | 545 | |
518 | @INTLTOOL_XML_NOMERGE_RULE@ | |
546 | %.desktop:%.desktop.in | |
547 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
519 | 548 | |
520 | 549 | @GSETTINGS_RULES@ |
521 | 550 |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist gettext-domain="gnome-shell-extensions"> | |
2 | <schema path="/org/gnome/shell/extensions/example/" id="org.gnome.shell.extensions.example"> | |
3 | <key type="s" name="hello-text"> | |
4 | <default>''</default> | |
5 | <summary>Alternative greeting text.</summary> | |
6 | <description>If not empty, it contains the text that will be shown when clicking on the panel.</description> | |
7 | </key> | |
8 | </schema> | |
9 | </schemalist>⏎ |
0 | <schemalist gettext-domain="gnome-shell-extensions"> | |
1 | <schema id="org.gnome.shell.extensions.example" path="/org/gnome/shell/extensions/example/"> | |
2 | <key name="hello-text" type="s"> | |
3 | <default>''</default> | |
4 | <_summary>Alternative greeting text.</_summary> | |
5 | <_description>If not empty, it contains the text that will be shown when clicking on the panel.</_description> | |
6 | </key> | |
7 | </schema> | |
8 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/launch-new-instance |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/native-window-placement |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
152 | 158 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
153 | 159 | ACLOCAL = @ACLOCAL@ |
154 | 160 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
155 | ALL_LINGUAS = @ALL_LINGUAS@ | |
156 | 161 | AMTAR = @AMTAR@ |
157 | 162 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
158 | 163 | AUTOCONF = @AUTOCONF@ |
159 | 164 | AUTOHEADER = @AUTOHEADER@ |
160 | 165 | AUTOMAKE = @AUTOMAKE@ |
161 | 166 | AWK = @AWK@ |
167 | CC = @CC@ | |
168 | CCDEPMODE = @CCDEPMODE@ | |
169 | CFLAGS = @CFLAGS@ | |
162 | 170 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
171 | CPP = @CPP@ | |
172 | CPPFLAGS = @CPPFLAGS@ | |
163 | 173 | CYGPATH_W = @CYGPATH_W@ |
164 | 174 | DEFS = @DEFS@ |
175 | DEPDIR = @DEPDIR@ | |
165 | 176 | ECHO_C = @ECHO_C@ |
166 | 177 | ECHO_N = @ECHO_N@ |
167 | 178 | ECHO_T = @ECHO_T@ |
179 | EGREP = @EGREP@ | |
168 | 180 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
181 | EXEEXT = @EXEEXT@ | |
182 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
169 | 183 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
170 | 184 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
171 | 185 | GMSGFMT = @GMSGFMT@ |
186 | GMSGFMT_015 = @GMSGFMT_015@ | |
187 | GREP = @GREP@ | |
172 | 188 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
173 | 189 | INSTALL = @INSTALL@ |
174 | 190 | INSTALL_DATA = @INSTALL_DATA@ |
175 | 191 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
176 | 192 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
177 | 193 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
178 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
179 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
180 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
181 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
182 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
183 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
184 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
185 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
194 | INTLLIBS = @INTLLIBS@ | |
195 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
196 | LDFLAGS = @LDFLAGS@ | |
197 | LIBICONV = @LIBICONV@ | |
198 | LIBINTL = @LIBINTL@ | |
186 | 199 | LIBOBJS = @LIBOBJS@ |
187 | 200 | LIBS = @LIBS@ |
201 | LTLIBICONV = @LTLIBICONV@ | |
202 | LTLIBINTL = @LTLIBINTL@ | |
188 | 203 | LTLIBOBJS = @LTLIBOBJS@ |
189 | 204 | MAKEINFO = @MAKEINFO@ |
190 | 205 | MKDIR_P = @MKDIR_P@ |
191 | 206 | MSGFMT = @MSGFMT@ |
207 | MSGFMT_015 = @MSGFMT_015@ | |
192 | 208 | MSGMERGE = @MSGMERGE@ |
209 | OBJEXT = @OBJEXT@ | |
193 | 210 | PACKAGE = @PACKAGE@ |
194 | 211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
195 | 212 | PACKAGE_NAME = @PACKAGE_NAME@ |
201 | 218 | PKG_CONFIG = @PKG_CONFIG@ |
202 | 219 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
203 | 220 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
221 | POSUB = @POSUB@ | |
204 | 222 | SASS = @SASS@ |
223 | SED = @SED@ | |
205 | 224 | SET_MAKE = @SET_MAKE@ |
206 | 225 | SHELL = @SHELL@ |
207 | 226 | SHELL_VERSION = @SHELL_VERSION@ |
209 | 228 | USE_NLS = @USE_NLS@ |
210 | 229 | VERSION = @VERSION@ |
211 | 230 | XGETTEXT = @XGETTEXT@ |
231 | XGETTEXT_015 = @XGETTEXT_015@ | |
232 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
212 | 233 | abs_builddir = @abs_builddir@ |
213 | 234 | abs_srcdir = @abs_srcdir@ |
214 | 235 | abs_top_builddir = @abs_top_builddir@ |
215 | 236 | abs_top_srcdir = @abs_top_srcdir@ |
237 | ac_ct_CC = @ac_ct_CC@ | |
238 | am__include = @am__include@ | |
216 | 239 | am__leading_dot = @am__leading_dot@ |
240 | am__quote = @am__quote@ | |
217 | 241 | am__tar = @am__tar@ |
218 | 242 | am__untar = @am__untar@ |
219 | 243 | bindir = @bindir@ |
244 | build = @build@ | |
220 | 245 | build_alias = @build_alias@ |
246 | build_cpu = @build_cpu@ | |
247 | build_os = @build_os@ | |
248 | build_vendor = @build_vendor@ | |
221 | 249 | builddir = @builddir@ |
222 | 250 | datadir = @datadir@ |
223 | 251 | datarootdir = @datarootdir@ |
225 | 253 | dvidir = @dvidir@ |
226 | 254 | exec_prefix = @exec_prefix@ |
227 | 255 | gsettingsschemadir = @gsettingsschemadir@ |
256 | host = @host@ | |
228 | 257 | host_alias = @host_alias@ |
258 | host_cpu = @host_cpu@ | |
259 | host_os = @host_os@ | |
260 | host_vendor = @host_vendor@ | |
229 | 261 | htmldir = @htmldir@ |
230 | 262 | includedir = @includedir@ |
231 | 263 | infodir = @infodir@ |
232 | 264 | install_sh = @install_sh@ |
233 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
234 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
235 | 265 | libdir = @libdir@ |
236 | 266 | libexecdir = @libexecdir@ |
237 | 267 | localedir = @localedir@ |
263 | 293 | extensiondir = $(topextensiondir)/$(uuid) |
264 | 294 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
265 | 295 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
266 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
267 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
268 | $(gsettings_SCHEMAS) | |
269 | gschemas_in = $(gschemaname).gschema.xml.in | |
270 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
296 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
297 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
298 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
271 | 299 | all: all-am |
272 | 300 | |
273 | 301 | .SUFFIXES: |
514 | 542 | -e "s|[@]url@|$(extensionurl)|" \ |
515 | 543 | $< > $@ |
516 | 544 | |
517 | @INTLTOOL_XML_NOMERGE_RULE@ | |
545 | %.desktop:%.desktop.in | |
546 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
518 | 547 | |
519 | 548 | @GSETTINGS_RULES@ |
520 | 549 |
+15
-0
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist gettext-domain="gnome-shell-extensions"> | |
2 | <schema path="/org/gnome/shell/extensions/native-window-placement/" id="org.gnome.shell.extensions.native-window-placement"> | |
3 | <key type="b" name="use-more-screen"> | |
4 | <default>true</default> | |
5 | <summary>Use more screen for windows</summary> | |
6 | <description>Try to use more screen for placing window thumbnails by adapting to screen aspect ratio, and consolidating them further to reduce the bounding box. This setting applies only with the natural placement strategy.</description> | |
7 | </key> | |
8 | <key type="b" name="window-captions-on-top"> | |
9 | <default>true</default> | |
10 | <summary>Place window captions on top</summary> | |
11 | <description>If true, place window captions on top the respective thumbnail, overriding shell default of placing it at the bottom. Changing this setting requires restarting the shell to have any effect.</description> | |
12 | </key> | |
13 | </schema> | |
14 | </schemalist>⏎ |
+0
-16
0 | <schemalist gettext-domain="gnome-shell-extensions"> | |
1 | <schema id="org.gnome.shell.extensions.native-window-placement" path="/org/gnome/shell/extensions/native-window-placement/"> | |
2 | <key name="use-more-screen" type="b"> | |
3 | <default>true</default> | |
4 | <_summary>Use more screen for windows</_summary> | |
5 | <_description>Try to use more screen for placing window thumbnails by adapting to screen aspect ratio, and consolidating | |
6 | them further to reduce the bounding box. This setting applies only with the natural placement strategy.</_description> | |
7 | </key> | |
8 | <key name="window-captions-on-top" type="b"> | |
9 | <default>true</default> | |
10 | <_summary>Place window captions on top</_summary> | |
11 | <_description>If true, place window captions on top the respective thumbnail, overriding shell default of placing it at | |
12 | the bottom. Changing this setting requires restarting the shell to have any effect.</_description> | |
13 | </key> | |
14 | </schema> | |
15 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/places-menu |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/screenshot-window-sizer |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
152 | 158 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
153 | 159 | ACLOCAL = @ACLOCAL@ |
154 | 160 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
155 | ALL_LINGUAS = @ALL_LINGUAS@ | |
156 | 161 | AMTAR = @AMTAR@ |
157 | 162 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
158 | 163 | AUTOCONF = @AUTOCONF@ |
159 | 164 | AUTOHEADER = @AUTOHEADER@ |
160 | 165 | AUTOMAKE = @AUTOMAKE@ |
161 | 166 | AWK = @AWK@ |
167 | CC = @CC@ | |
168 | CCDEPMODE = @CCDEPMODE@ | |
169 | CFLAGS = @CFLAGS@ | |
162 | 170 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
171 | CPP = @CPP@ | |
172 | CPPFLAGS = @CPPFLAGS@ | |
163 | 173 | CYGPATH_W = @CYGPATH_W@ |
164 | 174 | DEFS = @DEFS@ |
175 | DEPDIR = @DEPDIR@ | |
165 | 176 | ECHO_C = @ECHO_C@ |
166 | 177 | ECHO_N = @ECHO_N@ |
167 | 178 | ECHO_T = @ECHO_T@ |
179 | EGREP = @EGREP@ | |
168 | 180 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
181 | EXEEXT = @EXEEXT@ | |
182 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
169 | 183 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
170 | 184 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
171 | 185 | GMSGFMT = @GMSGFMT@ |
186 | GMSGFMT_015 = @GMSGFMT_015@ | |
187 | GREP = @GREP@ | |
172 | 188 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
173 | 189 | INSTALL = @INSTALL@ |
174 | 190 | INSTALL_DATA = @INSTALL_DATA@ |
175 | 191 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
176 | 192 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
177 | 193 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
178 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
179 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
180 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
181 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
182 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
183 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
184 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
185 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
194 | INTLLIBS = @INTLLIBS@ | |
195 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
196 | LDFLAGS = @LDFLAGS@ | |
197 | LIBICONV = @LIBICONV@ | |
198 | LIBINTL = @LIBINTL@ | |
186 | 199 | LIBOBJS = @LIBOBJS@ |
187 | 200 | LIBS = @LIBS@ |
201 | LTLIBICONV = @LTLIBICONV@ | |
202 | LTLIBINTL = @LTLIBINTL@ | |
188 | 203 | LTLIBOBJS = @LTLIBOBJS@ |
189 | 204 | MAKEINFO = @MAKEINFO@ |
190 | 205 | MKDIR_P = @MKDIR_P@ |
191 | 206 | MSGFMT = @MSGFMT@ |
207 | MSGFMT_015 = @MSGFMT_015@ | |
192 | 208 | MSGMERGE = @MSGMERGE@ |
209 | OBJEXT = @OBJEXT@ | |
193 | 210 | PACKAGE = @PACKAGE@ |
194 | 211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
195 | 212 | PACKAGE_NAME = @PACKAGE_NAME@ |
201 | 218 | PKG_CONFIG = @PKG_CONFIG@ |
202 | 219 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
203 | 220 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
221 | POSUB = @POSUB@ | |
204 | 222 | SASS = @SASS@ |
223 | SED = @SED@ | |
205 | 224 | SET_MAKE = @SET_MAKE@ |
206 | 225 | SHELL = @SHELL@ |
207 | 226 | SHELL_VERSION = @SHELL_VERSION@ |
209 | 228 | USE_NLS = @USE_NLS@ |
210 | 229 | VERSION = @VERSION@ |
211 | 230 | XGETTEXT = @XGETTEXT@ |
231 | XGETTEXT_015 = @XGETTEXT_015@ | |
232 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
212 | 233 | abs_builddir = @abs_builddir@ |
213 | 234 | abs_srcdir = @abs_srcdir@ |
214 | 235 | abs_top_builddir = @abs_top_builddir@ |
215 | 236 | abs_top_srcdir = @abs_top_srcdir@ |
237 | ac_ct_CC = @ac_ct_CC@ | |
238 | am__include = @am__include@ | |
216 | 239 | am__leading_dot = @am__leading_dot@ |
240 | am__quote = @am__quote@ | |
217 | 241 | am__tar = @am__tar@ |
218 | 242 | am__untar = @am__untar@ |
219 | 243 | bindir = @bindir@ |
244 | build = @build@ | |
220 | 245 | build_alias = @build_alias@ |
246 | build_cpu = @build_cpu@ | |
247 | build_os = @build_os@ | |
248 | build_vendor = @build_vendor@ | |
221 | 249 | builddir = @builddir@ |
222 | 250 | datadir = @datadir@ |
223 | 251 | datarootdir = @datarootdir@ |
225 | 253 | dvidir = @dvidir@ |
226 | 254 | exec_prefix = @exec_prefix@ |
227 | 255 | gsettingsschemadir = @gsettingsschemadir@ |
256 | host = @host@ | |
228 | 257 | host_alias = @host_alias@ |
258 | host_cpu = @host_cpu@ | |
259 | host_os = @host_os@ | |
260 | host_vendor = @host_vendor@ | |
229 | 261 | htmldir = @htmldir@ |
230 | 262 | includedir = @includedir@ |
231 | 263 | infodir = @infodir@ |
232 | 264 | install_sh = @install_sh@ |
233 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
234 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
235 | 265 | libdir = @libdir@ |
236 | 266 | libexecdir = @libexecdir@ |
237 | 267 | localedir = @localedir@ |
263 | 293 | extensiondir = $(topextensiondir)/$(uuid) |
264 | 294 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
265 | 295 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
266 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
267 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
268 | $(gsettings_SCHEMAS) | |
269 | gschemas_in = $(gschemaname).gschema.xml.in | |
270 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
296 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
297 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
298 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
271 | 299 | all: all-am |
272 | 300 | |
273 | 301 | .SUFFIXES: |
514 | 542 | -e "s|[@]url@|$(extensionurl)|" \ |
515 | 543 | $< > $@ |
516 | 544 | |
517 | @INTLTOOL_XML_NOMERGE_RULE@ | |
545 | %.desktop:%.desktop.in | |
546 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
518 | 547 | |
519 | 548 | @GSETTINGS_RULES@ |
520 | 549 |
+9
-0
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist> | |
2 | <schema path="/org/gnome/shell/extensions/screenshot-window-sizer/" id="org.gnome.shell.extensions.screenshot-window-sizer"> | |
3 | <key type="as" name="cycle-screenshot-sizes"> | |
4 | <default><![CDATA[['<Alt><Control>s']]]></default> | |
5 | <summary>Cycle Screenshot Sizes</summary> | |
6 | </key> | |
7 | </schema> | |
8 | </schemalist>⏎ |
+0
-10
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist> | |
2 | <schema id="org.gnome.shell.extensions.screenshot-window-sizer" | |
3 | path="/org/gnome/shell/extensions/screenshot-window-sizer/"> | |
4 | <key type="as" name="cycle-screenshot-sizes"> | |
5 | <default><![CDATA[['<Alt><Control>s']]]></default> | |
6 | <_summary>Cycle Screenshot Sizes</_summary> | |
7 | </key> | |
8 | </schema> | |
9 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/user-theme |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
152 | 158 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
153 | 159 | ACLOCAL = @ACLOCAL@ |
154 | 160 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
155 | ALL_LINGUAS = @ALL_LINGUAS@ | |
156 | 161 | AMTAR = @AMTAR@ |
157 | 162 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
158 | 163 | AUTOCONF = @AUTOCONF@ |
159 | 164 | AUTOHEADER = @AUTOHEADER@ |
160 | 165 | AUTOMAKE = @AUTOMAKE@ |
161 | 166 | AWK = @AWK@ |
167 | CC = @CC@ | |
168 | CCDEPMODE = @CCDEPMODE@ | |
169 | CFLAGS = @CFLAGS@ | |
162 | 170 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
171 | CPP = @CPP@ | |
172 | CPPFLAGS = @CPPFLAGS@ | |
163 | 173 | CYGPATH_W = @CYGPATH_W@ |
164 | 174 | DEFS = @DEFS@ |
175 | DEPDIR = @DEPDIR@ | |
165 | 176 | ECHO_C = @ECHO_C@ |
166 | 177 | ECHO_N = @ECHO_N@ |
167 | 178 | ECHO_T = @ECHO_T@ |
179 | EGREP = @EGREP@ | |
168 | 180 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
181 | EXEEXT = @EXEEXT@ | |
182 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
169 | 183 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
170 | 184 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
171 | 185 | GMSGFMT = @GMSGFMT@ |
186 | GMSGFMT_015 = @GMSGFMT_015@ | |
187 | GREP = @GREP@ | |
172 | 188 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
173 | 189 | INSTALL = @INSTALL@ |
174 | 190 | INSTALL_DATA = @INSTALL_DATA@ |
175 | 191 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
176 | 192 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
177 | 193 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
178 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
179 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
180 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
181 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
182 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
183 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
184 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
185 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
194 | INTLLIBS = @INTLLIBS@ | |
195 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
196 | LDFLAGS = @LDFLAGS@ | |
197 | LIBICONV = @LIBICONV@ | |
198 | LIBINTL = @LIBINTL@ | |
186 | 199 | LIBOBJS = @LIBOBJS@ |
187 | 200 | LIBS = @LIBS@ |
201 | LTLIBICONV = @LTLIBICONV@ | |
202 | LTLIBINTL = @LTLIBINTL@ | |
188 | 203 | LTLIBOBJS = @LTLIBOBJS@ |
189 | 204 | MAKEINFO = @MAKEINFO@ |
190 | 205 | MKDIR_P = @MKDIR_P@ |
191 | 206 | MSGFMT = @MSGFMT@ |
207 | MSGFMT_015 = @MSGFMT_015@ | |
192 | 208 | MSGMERGE = @MSGMERGE@ |
209 | OBJEXT = @OBJEXT@ | |
193 | 210 | PACKAGE = @PACKAGE@ |
194 | 211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
195 | 212 | PACKAGE_NAME = @PACKAGE_NAME@ |
201 | 218 | PKG_CONFIG = @PKG_CONFIG@ |
202 | 219 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
203 | 220 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
221 | POSUB = @POSUB@ | |
204 | 222 | SASS = @SASS@ |
223 | SED = @SED@ | |
205 | 224 | SET_MAKE = @SET_MAKE@ |
206 | 225 | SHELL = @SHELL@ |
207 | 226 | SHELL_VERSION = @SHELL_VERSION@ |
209 | 228 | USE_NLS = @USE_NLS@ |
210 | 229 | VERSION = @VERSION@ |
211 | 230 | XGETTEXT = @XGETTEXT@ |
231 | XGETTEXT_015 = @XGETTEXT_015@ | |
232 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
212 | 233 | abs_builddir = @abs_builddir@ |
213 | 234 | abs_srcdir = @abs_srcdir@ |
214 | 235 | abs_top_builddir = @abs_top_builddir@ |
215 | 236 | abs_top_srcdir = @abs_top_srcdir@ |
237 | ac_ct_CC = @ac_ct_CC@ | |
238 | am__include = @am__include@ | |
216 | 239 | am__leading_dot = @am__leading_dot@ |
240 | am__quote = @am__quote@ | |
217 | 241 | am__tar = @am__tar@ |
218 | 242 | am__untar = @am__untar@ |
219 | 243 | bindir = @bindir@ |
244 | build = @build@ | |
220 | 245 | build_alias = @build_alias@ |
246 | build_cpu = @build_cpu@ | |
247 | build_os = @build_os@ | |
248 | build_vendor = @build_vendor@ | |
221 | 249 | builddir = @builddir@ |
222 | 250 | datadir = @datadir@ |
223 | 251 | datarootdir = @datarootdir@ |
225 | 253 | dvidir = @dvidir@ |
226 | 254 | exec_prefix = @exec_prefix@ |
227 | 255 | gsettingsschemadir = @gsettingsschemadir@ |
256 | host = @host@ | |
228 | 257 | host_alias = @host_alias@ |
258 | host_cpu = @host_cpu@ | |
259 | host_os = @host_os@ | |
260 | host_vendor = @host_vendor@ | |
229 | 261 | htmldir = @htmldir@ |
230 | 262 | includedir = @includedir@ |
231 | 263 | infodir = @infodir@ |
232 | 264 | install_sh = @install_sh@ |
233 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
234 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
235 | 265 | libdir = @libdir@ |
236 | 266 | libexecdir = @libexecdir@ |
237 | 267 | localedir = @localedir@ |
263 | 293 | extensiondir = $(topextensiondir)/$(uuid) |
264 | 294 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
265 | 295 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
266 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
267 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
268 | $(gsettings_SCHEMAS) | |
269 | gschemas_in = $(gschemaname).gschema.xml.in | |
270 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
296 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
297 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
298 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
271 | 299 | all: all-am |
272 | 300 | |
273 | 301 | .SUFFIXES: |
514 | 542 | -e "s|[@]url@|$(extensionurl)|" \ |
515 | 543 | $< > $@ |
516 | 544 | |
517 | @INTLTOOL_XML_NOMERGE_RULE@ | |
545 | %.desktop:%.desktop.in | |
546 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
518 | 547 | |
519 | 548 | @GSETTINGS_RULES@ |
520 | 549 |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist gettext-domain="gnome-shell-extensions"> | |
2 | <schema path="/org/gnome/shell/extensions/user-theme/" id="org.gnome.shell.extensions.user-theme"> | |
3 | <key type="s" name="name"> | |
4 | <default>""</default> | |
5 | <summary>Theme name</summary> | |
6 | <description>The name of the theme, to be loaded from ~/.themes/name/gnome-shell</description> | |
7 | </key> | |
8 | </schema> | |
9 | </schemalist>⏎ |
0 | <schemalist gettext-domain="gnome-shell-extensions"> | |
1 | <schema id="org.gnome.shell.extensions.user-theme" path="/org/gnome/shell/extensions/user-theme/"> | |
2 | <key name="name" type="s"> | |
3 | <default>""</default> | |
4 | <_summary>Theme name</_summary> | |
5 | <_description>The name of the theme, to be loaded from ~/.themes/name/gnome-shell</_description> | |
6 | </key> | |
7 | </schema> | |
8 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | @CLASSIC_MODE_TRUE@am__append_1 = classic.css |
89 | 91 | subdir = extensions/window-list |
90 | 92 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
91 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
93 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
94 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
95 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
96 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
97 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
92 | 98 | $(top_srcdir)/configure.ac |
93 | 99 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
94 | 100 | $(ACLOCAL_M4) |
155 | 161 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
156 | 162 | ACLOCAL = @ACLOCAL@ |
157 | 163 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
158 | ALL_LINGUAS = @ALL_LINGUAS@ | |
159 | 164 | AMTAR = @AMTAR@ |
160 | 165 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
161 | 166 | AUTOCONF = @AUTOCONF@ |
162 | 167 | AUTOHEADER = @AUTOHEADER@ |
163 | 168 | AUTOMAKE = @AUTOMAKE@ |
164 | 169 | AWK = @AWK@ |
170 | CC = @CC@ | |
171 | CCDEPMODE = @CCDEPMODE@ | |
172 | CFLAGS = @CFLAGS@ | |
165 | 173 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
174 | CPP = @CPP@ | |
175 | CPPFLAGS = @CPPFLAGS@ | |
166 | 176 | CYGPATH_W = @CYGPATH_W@ |
167 | 177 | DEFS = @DEFS@ |
178 | DEPDIR = @DEPDIR@ | |
168 | 179 | ECHO_C = @ECHO_C@ |
169 | 180 | ECHO_N = @ECHO_N@ |
170 | 181 | ECHO_T = @ECHO_T@ |
182 | EGREP = @EGREP@ | |
171 | 183 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
184 | EXEEXT = @EXEEXT@ | |
185 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
172 | 186 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
173 | 187 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
174 | 188 | GMSGFMT = @GMSGFMT@ |
189 | GMSGFMT_015 = @GMSGFMT_015@ | |
190 | GREP = @GREP@ | |
175 | 191 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
176 | 192 | INSTALL = @INSTALL@ |
177 | 193 | INSTALL_DATA = @INSTALL_DATA@ |
178 | 194 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
179 | 195 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
180 | 196 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
181 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
182 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
183 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
184 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
185 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
186 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
187 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
188 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
197 | INTLLIBS = @INTLLIBS@ | |
198 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
199 | LDFLAGS = @LDFLAGS@ | |
200 | LIBICONV = @LIBICONV@ | |
201 | LIBINTL = @LIBINTL@ | |
189 | 202 | LIBOBJS = @LIBOBJS@ |
190 | 203 | LIBS = @LIBS@ |
204 | LTLIBICONV = @LTLIBICONV@ | |
205 | LTLIBINTL = @LTLIBINTL@ | |
191 | 206 | LTLIBOBJS = @LTLIBOBJS@ |
192 | 207 | MAKEINFO = @MAKEINFO@ |
193 | 208 | MKDIR_P = @MKDIR_P@ |
194 | 209 | MSGFMT = @MSGFMT@ |
210 | MSGFMT_015 = @MSGFMT_015@ | |
195 | 211 | MSGMERGE = @MSGMERGE@ |
212 | OBJEXT = @OBJEXT@ | |
196 | 213 | PACKAGE = @PACKAGE@ |
197 | 214 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
198 | 215 | PACKAGE_NAME = @PACKAGE_NAME@ |
204 | 221 | PKG_CONFIG = @PKG_CONFIG@ |
205 | 222 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
206 | 223 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
224 | POSUB = @POSUB@ | |
207 | 225 | SASS = @SASS@ |
226 | SED = @SED@ | |
208 | 227 | SET_MAKE = @SET_MAKE@ |
209 | 228 | SHELL = @SHELL@ |
210 | 229 | SHELL_VERSION = @SHELL_VERSION@ |
212 | 231 | USE_NLS = @USE_NLS@ |
213 | 232 | VERSION = @VERSION@ |
214 | 233 | XGETTEXT = @XGETTEXT@ |
234 | XGETTEXT_015 = @XGETTEXT_015@ | |
235 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
215 | 236 | abs_builddir = @abs_builddir@ |
216 | 237 | abs_srcdir = @abs_srcdir@ |
217 | 238 | abs_top_builddir = @abs_top_builddir@ |
218 | 239 | abs_top_srcdir = @abs_top_srcdir@ |
240 | ac_ct_CC = @ac_ct_CC@ | |
241 | am__include = @am__include@ | |
219 | 242 | am__leading_dot = @am__leading_dot@ |
243 | am__quote = @am__quote@ | |
220 | 244 | am__tar = @am__tar@ |
221 | 245 | am__untar = @am__untar@ |
222 | 246 | bindir = @bindir@ |
247 | build = @build@ | |
223 | 248 | build_alias = @build_alias@ |
249 | build_cpu = @build_cpu@ | |
250 | build_os = @build_os@ | |
251 | build_vendor = @build_vendor@ | |
224 | 252 | builddir = @builddir@ |
225 | 253 | datadir = @datadir@ |
226 | 254 | datarootdir = @datarootdir@ |
228 | 256 | dvidir = @dvidir@ |
229 | 257 | exec_prefix = @exec_prefix@ |
230 | 258 | gsettingsschemadir = @gsettingsschemadir@ |
259 | host = @host@ | |
231 | 260 | host_alias = @host_alias@ |
261 | host_cpu = @host_cpu@ | |
262 | host_os = @host_os@ | |
263 | host_vendor = @host_vendor@ | |
232 | 264 | htmldir = @htmldir@ |
233 | 265 | includedir = @includedir@ |
234 | 266 | infodir = @infodir@ |
235 | 267 | install_sh = @install_sh@ |
236 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
237 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
238 | 268 | libdir = @libdir@ |
239 | 269 | libexecdir = @libexecdir@ |
240 | 270 | localedir = @localedir@ |
267 | 297 | extensiondir = $(topextensiondir)/$(uuid) |
268 | 298 | dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES) |
269 | 299 | nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION) |
270 | EXTRA_DIST = metadata.json.in $(gschemas_in) | |
271 | CLEANFILES = metadata.json $(gschemas_in:.xml.in=.valid) \ | |
272 | $(gsettings_SCHEMAS) | |
273 | gschemas_in = $(gschemaname).gschema.xml.in | |
274 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
300 | EXTRA_DIST = metadata.json.in $(gsettings_SCHEMAS) | |
301 | CLEANFILES = metadata.json $(gsettings_SCHEMAS:.xml=.valid) | |
302 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
275 | 303 | all: all-am |
276 | 304 | |
277 | 305 | .SUFFIXES: |
518 | 546 | -e "s|[@]url@|$(extensionurl)|" \ |
519 | 547 | $< > $@ |
520 | 548 | |
521 | @INTLTOOL_XML_NOMERGE_RULE@ | |
549 | %.desktop:%.desktop.in | |
550 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
522 | 551 | |
523 | 552 | @GSETTINGS_RULES@ |
524 | 553 |
0 | <?xml version="1.0" encoding="UTF-8"?> | |
1 | <schemalist gettext-domain="gnome-shell-extensions"> | |
2 | <enum id="org.gnome.shell.extensions.window-list.GroupingMode"> | |
3 | <value value="0" nick="never"/> | |
4 | <value value="1" nick="auto"/> | |
5 | <value value="2" nick="always"/> | |
6 | </enum> | |
7 | <schema path="/org/gnome/shell/extensions/window-list/" id="org.gnome.shell.extensions.window-list"> | |
8 | <key name="grouping-mode" enum="org.gnome.shell.extensions.window-list.GroupingMode"> | |
9 | <default>'never'</default> | |
10 | <summary>When to group windows</summary> | |
11 | <description>Decides when to group windows from the same application on the window list. Possible values are "never", "auto" and "always".</description> | |
12 | </key> | |
13 | <key type="b" name="show-on-all-monitors"> | |
14 | <default>false</default> | |
15 | <summary>Show the window list on all monitors</summary> | |
16 | <description>Whether to show the window list on all connected monitors or only on the primary one.</description> | |
17 | </key> | |
18 | </schema> | |
19 | </schemalist>⏎ |
0 | <schemalist gettext-domain="gnome-shell-extensions"> | |
1 | <enum id="org.gnome.shell.extensions.window-list.GroupingMode"> | |
2 | <value value="0" nick="never"/> | |
3 | <value value="1" nick="auto"/> | |
4 | <value value="2" nick="always"/> | |
5 | </enum> | |
6 | <schema id="org.gnome.shell.extensions.window-list" | |
7 | path="/org/gnome/shell/extensions/window-list/"> | |
8 | <key name="grouping-mode" | |
9 | enum="org.gnome.shell.extensions.window-list.GroupingMode"> | |
10 | <default>'never'</default> | |
11 | <_summary>When to group windows</_summary> | |
12 | <_description> | |
13 | Decides when to group windows from the same application on the | |
14 | window list. Possible values are "never", "auto" and "always". | |
15 | </_description> | |
16 | </key> | |
17 | <key name="show-on-all-monitors" type="b"> | |
18 | <default>false</default> | |
19 | <_summary>Show the window list on all monitors</_summary> | |
20 | <_description> | |
21 | Whether to show the window list on all connected monitors or | |
22 | only on the primary one. | |
23 | </_description> | |
24 | </key> | |
25 | </schema> | |
26 | </schemalist> |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/windowsNavigator |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
85 | 85 | NORMAL_UNINSTALL = : |
86 | 86 | PRE_UNINSTALL = : |
87 | 87 | POST_UNINSTALL = : |
88 | build_triplet = @build@ | |
89 | host_triplet = @host@ | |
88 | 90 | subdir = extensions/workspace-indicator |
89 | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \ | |
92 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | |
93 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | |
94 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ | |
95 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ | |
96 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | |
91 | 97 | $(top_srcdir)/configure.ac |
92 | 98 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
93 | 99 | $(ACLOCAL_M4) |
151 | 157 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
152 | 158 | ACLOCAL = @ACLOCAL@ |
153 | 159 | ALL_EXTENSIONS = @ALL_EXTENSIONS@ |
154 | ALL_LINGUAS = @ALL_LINGUAS@ | |
155 | 160 | AMTAR = @AMTAR@ |
156 | 161 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
157 | 162 | AUTOCONF = @AUTOCONF@ |
158 | 163 | AUTOHEADER = @AUTOHEADER@ |
159 | 164 | AUTOMAKE = @AUTOMAKE@ |
160 | 165 | AWK = @AWK@ |
166 | CC = @CC@ | |
167 | CCDEPMODE = @CCDEPMODE@ | |
168 | CFLAGS = @CFLAGS@ | |
161 | 169 | CLASSIC_EXTENSIONS = @CLASSIC_EXTENSIONS@ |
170 | CPP = @CPP@ | |
171 | CPPFLAGS = @CPPFLAGS@ | |
162 | 172 | CYGPATH_W = @CYGPATH_W@ |
163 | 173 | DEFS = @DEFS@ |
174 | DEPDIR = @DEPDIR@ | |
164 | 175 | ECHO_C = @ECHO_C@ |
165 | 176 | ECHO_N = @ECHO_N@ |
166 | 177 | ECHO_T = @ECHO_T@ |
178 | EGREP = @EGREP@ | |
167 | 179 | ENABLED_EXTENSIONS = @ENABLED_EXTENSIONS@ |
180 | EXEEXT = @EXEEXT@ | |
181 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | |
168 | 182 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
169 | 183 | GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@ |
170 | 184 | GMSGFMT = @GMSGFMT@ |
185 | GMSGFMT_015 = @GMSGFMT_015@ | |
186 | GREP = @GREP@ | |
171 | 187 | GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@ |
172 | 188 | INSTALL = @INSTALL@ |
173 | 189 | INSTALL_DATA = @INSTALL_DATA@ |
174 | 190 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
175 | 191 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
176 | 192 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
181 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
182 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
183 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
184 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
193 | INTLLIBS = @INTLLIBS@ | |
194 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
195 | LDFLAGS = @LDFLAGS@ | |
196 | LIBICONV = @LIBICONV@ | |
197 | LIBINTL = @LIBINTL@ | |
185 | 198 | LIBOBJS = @LIBOBJS@ |
186 | 199 | LIBS = @LIBS@ |
200 | LTLIBICONV = @LTLIBICONV@ | |
201 | LTLIBINTL = @LTLIBINTL@ | |
187 | 202 | LTLIBOBJS = @LTLIBOBJS@ |
188 | 203 | MAKEINFO = @MAKEINFO@ |
189 | 204 | MKDIR_P = @MKDIR_P@ |
190 | 205 | MSGFMT = @MSGFMT@ |
206 | MSGFMT_015 = @MSGFMT_015@ | |
191 | 207 | MSGMERGE = @MSGMERGE@ |
208 | OBJEXT = @OBJEXT@ | |
192 | 209 | PACKAGE = @PACKAGE@ |
193 | 210 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
194 | 211 | PACKAGE_NAME = @PACKAGE_NAME@ |
200 | 217 | PKG_CONFIG = @PKG_CONFIG@ |
201 | 218 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
202 | 219 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
220 | POSUB = @POSUB@ | |
203 | 221 | SASS = @SASS@ |
222 | SED = @SED@ | |
204 | 223 | SET_MAKE = @SET_MAKE@ |
205 | 224 | SHELL = @SHELL@ |
206 | 225 | SHELL_VERSION = @SHELL_VERSION@ |
208 | 227 | USE_NLS = @USE_NLS@ |
209 | 228 | VERSION = @VERSION@ |
210 | 229 | XGETTEXT = @XGETTEXT@ |
230 | XGETTEXT_015 = @XGETTEXT_015@ | |
231 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ | |
211 | 232 | abs_builddir = @abs_builddir@ |
212 | 233 | abs_srcdir = @abs_srcdir@ |
213 | 234 | abs_top_builddir = @abs_top_builddir@ |
214 | 235 | abs_top_srcdir = @abs_top_srcdir@ |
236 | ac_ct_CC = @ac_ct_CC@ | |
237 | am__include = @am__include@ | |
215 | 238 | am__leading_dot = @am__leading_dot@ |
239 | am__quote = @am__quote@ | |
216 | 240 | am__tar = @am__tar@ |
217 | 241 | am__untar = @am__untar@ |
218 | 242 | bindir = @bindir@ |
243 | build = @build@ | |
219 | 244 | build_alias = @build_alias@ |
245 | build_cpu = @build_cpu@ | |
246 | build_os = @build_os@ | |
247 | build_vendor = @build_vendor@ | |
220 | 248 | builddir = @builddir@ |
221 | 249 | datadir = @datadir@ |
222 | 250 | datarootdir = @datarootdir@ |
224 | 252 | dvidir = @dvidir@ |
225 | 253 | exec_prefix = @exec_prefix@ |
226 | 254 | gsettingsschemadir = @gsettingsschemadir@ |
255 | host = @host@ | |
227 | 256 | host_alias = @host_alias@ |
257 | host_cpu = @host_cpu@ | |
258 | host_os = @host_os@ | |
259 | host_vendor = @host_vendor@ | |
228 | 260 | htmldir = @htmldir@ |
229 | 261 | includedir = @includedir@ |
230 | 262 | infodir = @infodir@ |
231 | 263 | install_sh = @install_sh@ |
232 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
233 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
234 | 264 | libdir = @libdir@ |
235 | 265 | libexecdir = @libexecdir@ |
236 | 266 | localedir = @localedir@ |
0 | # gettext.m4 serial 67 (gettext-0.19.6) | |
1 | dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | dnl | |
6 | dnl This file can can be used in projects which are not available under | |
7 | dnl the GNU General Public License or the GNU Library General Public | |
8 | dnl License but which still want to provide support for the GNU gettext | |
9 | dnl functionality. | |
10 | dnl Please note that the actual code of the GNU gettext library is covered | |
11 | dnl by the GNU Library General Public License, and the rest of the GNU | |
12 | dnl gettext package package is covered by the GNU General Public License. | |
13 | dnl They are *not* in the public domain. | |
14 | ||
15 | dnl Authors: | |
16 | dnl Ulrich Drepper <[email protected]>, 1995-2000. | |
17 | dnl Bruno Haible <[email protected]>, 2000-2006, 2008-2010. | |
18 | ||
19 | dnl Macro to add for using GNU gettext. | |
20 | ||
21 | dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). | |
22 | dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The | |
23 | dnl default (if it is not specified or empty) is 'no-libtool'. | |
24 | dnl INTLSYMBOL should be 'external' for packages with no intl directory, | |
25 | dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. | |
26 | dnl If INTLSYMBOL is 'use-libtool', then a libtool library | |
27 | dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, | |
28 | dnl depending on --{enable,disable}-{shared,static} and on the presence of | |
29 | dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library | |
30 | dnl $(top_builddir)/intl/libintl.a will be created. | |
31 | dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext | |
32 | dnl implementations (in libc or libintl) without the ngettext() function | |
33 | dnl will be ignored. If NEEDSYMBOL is specified and is | |
34 | dnl 'need-formatstring-macros', then GNU gettext implementations that don't | |
35 | dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. | |
36 | dnl INTLDIR is used to find the intl libraries. If empty, | |
37 | dnl the value '$(top_builddir)/intl/' is used. | |
38 | dnl | |
39 | dnl The result of the configuration is one of three cases: | |
40 | dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled | |
41 | dnl and used. | |
42 | dnl Catalog format: GNU --> install in $(datadir) | |
43 | dnl Catalog extension: .mo after installation, .gmo in source tree | |
44 | dnl 2) GNU gettext has been found in the system's C library. | |
45 | dnl Catalog format: GNU --> install in $(datadir) | |
46 | dnl Catalog extension: .mo after installation, .gmo in source tree | |
47 | dnl 3) No internationalization, always use English msgid. | |
48 | dnl Catalog format: none | |
49 | dnl Catalog extension: none | |
50 | dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. | |
51 | dnl The use of .gmo is historical (it was needed to avoid overwriting the | |
52 | dnl GNU format catalogs when building on a platform with an X/Open gettext), | |
53 | dnl but we keep it in order not to force irrelevant filename changes on the | |
54 | dnl maintainers. | |
55 | dnl | |
56 | AC_DEFUN([AM_GNU_GETTEXT], | |
57 | [ | |
58 | dnl Argument checking. | |
59 | ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , | |
60 | [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT | |
61 | ])])])])]) | |
62 | ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], | |
63 | [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) | |
64 | ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , | |
65 | [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT | |
66 | ])])])]) | |
67 | define([gt_included_intl], | |
68 | ifelse([$1], [external], | |
69 | ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), | |
70 | [yes])) | |
71 | define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) | |
72 | gt_NEEDS_INIT | |
73 | AM_GNU_GETTEXT_NEED([$2]) | |
74 | ||
75 | AC_REQUIRE([AM_PO_SUBDIRS])dnl | |
76 | ifelse(gt_included_intl, yes, [ | |
77 | AC_REQUIRE([AM_INTL_SUBDIR])dnl | |
78 | ]) | |
79 | ||
80 | dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. | |
81 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | |
82 | AC_REQUIRE([AC_LIB_RPATH]) | |
83 | ||
84 | dnl Sometimes libintl requires libiconv, so first search for libiconv. | |
85 | dnl Ideally we would do this search only after the | |
86 | dnl if test "$USE_NLS" = "yes"; then | |
87 | dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then | |
88 | dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT | |
89 | dnl the configure script would need to contain the same shell code | |
90 | dnl again, outside any 'if'. There are two solutions: | |
91 | dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. | |
92 | dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. | |
93 | dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not | |
94 | dnl documented, we avoid it. | |
95 | ifelse(gt_included_intl, yes, , [ | |
96 | AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) | |
97 | ]) | |
98 | ||
99 | dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. | |
100 | gt_INTL_MACOSX | |
101 | ||
102 | dnl Set USE_NLS. | |
103 | AC_REQUIRE([AM_NLS]) | |
104 | ||
105 | ifelse(gt_included_intl, yes, [ | |
106 | BUILD_INCLUDED_LIBINTL=no | |
107 | USE_INCLUDED_LIBINTL=no | |
108 | ]) | |
109 | LIBINTL= | |
110 | LTLIBINTL= | |
111 | POSUB= | |
112 | ||
113 | dnl Add a version number to the cache macros. | |
114 | case " $gt_needs " in | |
115 | *" need-formatstring-macros "*) gt_api_version=3 ;; | |
116 | *" need-ngettext "*) gt_api_version=2 ;; | |
117 | *) gt_api_version=1 ;; | |
118 | esac | |
119 | gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" | |
120 | gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" | |
121 | ||
122 | dnl If we use NLS figure out what method | |
123 | if test "$USE_NLS" = "yes"; then | |
124 | gt_use_preinstalled_gnugettext=no | |
125 | ifelse(gt_included_intl, yes, [ | |
126 | AC_MSG_CHECKING([whether included gettext is requested]) | |
127 | AC_ARG_WITH([included-gettext], | |
128 | [ --with-included-gettext use the GNU gettext library included here], | |
129 | nls_cv_force_use_gnu_gettext=$withval, | |
130 | nls_cv_force_use_gnu_gettext=no) | |
131 | AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) | |
132 | ||
133 | nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" | |
134 | if test "$nls_cv_force_use_gnu_gettext" != "yes"; then | |
135 | ]) | |
136 | dnl User does not insist on using GNU NLS library. Figure out what | |
137 | dnl to use. If GNU gettext is available we use this. Else we have | |
138 | dnl to fall back to GNU NLS library. | |
139 | ||
140 | if test $gt_api_version -ge 3; then | |
141 | gt_revision_test_code=' | |
142 | #ifndef __GNU_GETTEXT_SUPPORTED_REVISION | |
143 | #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) | |
144 | #endif | |
145 | changequote(,)dnl | |
146 | typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; | |
147 | changequote([,])dnl | |
148 | ' | |
149 | else | |
150 | gt_revision_test_code= | |
151 | fi | |
152 | if test $gt_api_version -ge 2; then | |
153 | gt_expression_test_code=' + * ngettext ("", "", 0)' | |
154 | else | |
155 | gt_expression_test_code= | |
156 | fi | |
157 | ||
158 | AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], | |
159 | [AC_LINK_IFELSE( | |
160 | [AC_LANG_PROGRAM( | |
161 | [[ | |
162 | #include <libintl.h> | |
163 | $gt_revision_test_code | |
164 | extern int _nl_msg_cat_cntr; | |
165 | extern int *_nl_domain_bindings; | |
166 | ]], | |
167 | [[ | |
168 | bindtextdomain ("", ""); | |
169 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings | |
170 | ]])], | |
171 | [eval "$gt_func_gnugettext_libc=yes"], | |
172 | [eval "$gt_func_gnugettext_libc=no"])]) | |
173 | ||
174 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then | |
175 | dnl Sometimes libintl requires libiconv, so first search for libiconv. | |
176 | ifelse(gt_included_intl, yes, , [ | |
177 | AM_ICONV_LINK | |
178 | ]) | |
179 | dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL | |
180 | dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) | |
181 | dnl because that would add "-liconv" to LIBINTL and LTLIBINTL | |
182 | dnl even if libiconv doesn't exist. | |
183 | AC_LIB_LINKFLAGS_BODY([intl]) | |
184 | AC_CACHE_CHECK([for GNU gettext in libintl], | |
185 | [$gt_func_gnugettext_libintl], | |
186 | [gt_save_CPPFLAGS="$CPPFLAGS" | |
187 | CPPFLAGS="$CPPFLAGS $INCINTL" | |
188 | gt_save_LIBS="$LIBS" | |
189 | LIBS="$LIBS $LIBINTL" | |
190 | dnl Now see whether libintl exists and does not depend on libiconv. | |
191 | AC_LINK_IFELSE( | |
192 | [AC_LANG_PROGRAM( | |
193 | [[ | |
194 | #include <libintl.h> | |
195 | $gt_revision_test_code | |
196 | extern int _nl_msg_cat_cntr; | |
197 | extern | |
198 | #ifdef __cplusplus | |
199 | "C" | |
200 | #endif | |
201 | const char *_nl_expand_alias (const char *); | |
202 | ]], | |
203 | [[ | |
204 | bindtextdomain ("", ""); | |
205 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
206 | ]])], | |
207 | [eval "$gt_func_gnugettext_libintl=yes"], | |
208 | [eval "$gt_func_gnugettext_libintl=no"]) | |
209 | dnl Now see whether libintl exists and depends on libiconv. | |
210 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then | |
211 | LIBS="$LIBS $LIBICONV" | |
212 | AC_LINK_IFELSE( | |
213 | [AC_LANG_PROGRAM( | |
214 | [[ | |
215 | #include <libintl.h> | |
216 | $gt_revision_test_code | |
217 | extern int _nl_msg_cat_cntr; | |
218 | extern | |
219 | #ifdef __cplusplus | |
220 | "C" | |
221 | #endif | |
222 | const char *_nl_expand_alias (const char *); | |
223 | ]], | |
224 | [[ | |
225 | bindtextdomain ("", ""); | |
226 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
227 | ]])], | |
228 | [LIBINTL="$LIBINTL $LIBICONV" | |
229 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" | |
230 | eval "$gt_func_gnugettext_libintl=yes" | |
231 | ]) | |
232 | fi | |
233 | CPPFLAGS="$gt_save_CPPFLAGS" | |
234 | LIBS="$gt_save_LIBS"]) | |
235 | fi | |
236 | ||
237 | dnl If an already present or preinstalled GNU gettext() is found, | |
238 | dnl use it. But if this macro is used in GNU gettext, and GNU | |
239 | dnl gettext is already preinstalled in libintl, we update this | |
240 | dnl libintl. (Cf. the install rule in intl/Makefile.in.) | |
241 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ | |
242 | || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ | |
243 | && test "$PACKAGE" != gettext-runtime \ | |
244 | && test "$PACKAGE" != gettext-tools; }; then | |
245 | gt_use_preinstalled_gnugettext=yes | |
246 | else | |
247 | dnl Reset the values set by searching for libintl. | |
248 | LIBINTL= | |
249 | LTLIBINTL= | |
250 | INCINTL= | |
251 | fi | |
252 | ||
253 | ifelse(gt_included_intl, yes, [ | |
254 | if test "$gt_use_preinstalled_gnugettext" != "yes"; then | |
255 | dnl GNU gettext is not found in the C library. | |
256 | dnl Fall back on included GNU gettext library. | |
257 | nls_cv_use_gnu_gettext=yes | |
258 | fi | |
259 | fi | |
260 | ||
261 | if test "$nls_cv_use_gnu_gettext" = "yes"; then | |
262 | dnl Mark actions used to generate GNU NLS library. | |
263 | BUILD_INCLUDED_LIBINTL=yes | |
264 | USE_INCLUDED_LIBINTL=yes | |
265 | LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" | |
266 | LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" | |
267 | LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` | |
268 | fi | |
269 | ||
270 | CATOBJEXT= | |
271 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
272 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
273 | dnl Mark actions to use GNU gettext tools. | |
274 | CATOBJEXT=.gmo | |
275 | fi | |
276 | ]) | |
277 | ||
278 | if test -n "$INTL_MACOSX_LIBS"; then | |
279 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
280 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
281 | dnl Some extra flags are needed during linking. | |
282 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" | |
283 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" | |
284 | fi | |
285 | fi | |
286 | ||
287 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
288 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
289 | AC_DEFINE([ENABLE_NLS], [1], | |
290 | [Define to 1 if translation of program messages to the user's native language | |
291 | is requested.]) | |
292 | else | |
293 | USE_NLS=no | |
294 | fi | |
295 | fi | |
296 | ||
297 | AC_MSG_CHECKING([whether to use NLS]) | |
298 | AC_MSG_RESULT([$USE_NLS]) | |
299 | if test "$USE_NLS" = "yes"; then | |
300 | AC_MSG_CHECKING([where the gettext function comes from]) | |
301 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then | |
302 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then | |
303 | gt_source="external libintl" | |
304 | else | |
305 | gt_source="libc" | |
306 | fi | |
307 | else | |
308 | gt_source="included intl directory" | |
309 | fi | |
310 | AC_MSG_RESULT([$gt_source]) | |
311 | fi | |
312 | ||
313 | if test "$USE_NLS" = "yes"; then | |
314 | ||
315 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then | |
316 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then | |
317 | AC_MSG_CHECKING([how to link with libintl]) | |
318 | AC_MSG_RESULT([$LIBINTL]) | |
319 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) | |
320 | fi | |
321 | ||
322 | dnl For backward compatibility. Some packages may be using this. | |
323 | AC_DEFINE([HAVE_GETTEXT], [1], | |
324 | [Define if the GNU gettext() function is already present or preinstalled.]) | |
325 | AC_DEFINE([HAVE_DCGETTEXT], [1], | |
326 | [Define if the GNU dcgettext() function is already present or preinstalled.]) | |
327 | fi | |
328 | ||
329 | dnl We need to process the po/ directory. | |
330 | POSUB=po | |
331 | fi | |
332 | ||
333 | ifelse(gt_included_intl, yes, [ | |
334 | dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL | |
335 | dnl to 'yes' because some of the testsuite requires it. | |
336 | if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then | |
337 | BUILD_INCLUDED_LIBINTL=yes | |
338 | fi | |
339 | ||
340 | dnl Make all variables we use known to autoconf. | |
341 | AC_SUBST([BUILD_INCLUDED_LIBINTL]) | |
342 | AC_SUBST([USE_INCLUDED_LIBINTL]) | |
343 | AC_SUBST([CATOBJEXT]) | |
344 | ||
345 | dnl For backward compatibility. Some configure.ins may be using this. | |
346 | nls_cv_header_intl= | |
347 | nls_cv_header_libgt= | |
348 | ||
349 | dnl For backward compatibility. Some Makefiles may be using this. | |
350 | DATADIRNAME=share | |
351 | AC_SUBST([DATADIRNAME]) | |
352 | ||
353 | dnl For backward compatibility. Some Makefiles may be using this. | |
354 | INSTOBJEXT=.mo | |
355 | AC_SUBST([INSTOBJEXT]) | |
356 | ||
357 | dnl For backward compatibility. Some Makefiles may be using this. | |
358 | GENCAT=gencat | |
359 | AC_SUBST([GENCAT]) | |
360 | ||
361 | dnl For backward compatibility. Some Makefiles may be using this. | |
362 | INTLOBJS= | |
363 | if test "$USE_INCLUDED_LIBINTL" = yes; then | |
364 | INTLOBJS="\$(GETTOBJS)" | |
365 | fi | |
366 | AC_SUBST([INTLOBJS]) | |
367 | ||
368 | dnl Enable libtool support if the surrounding package wishes it. | |
369 | INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix | |
370 | AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) | |
371 | ]) | |
372 | ||
373 | dnl For backward compatibility. Some Makefiles may be using this. | |
374 | INTLLIBS="$LIBINTL" | |
375 | AC_SUBST([INTLLIBS]) | |
376 | ||
377 | dnl Make all documented variables known to autoconf. | |
378 | AC_SUBST([LIBINTL]) | |
379 | AC_SUBST([LTLIBINTL]) | |
380 | AC_SUBST([POSUB]) | |
381 | ]) | |
382 | ||
383 | ||
384 | dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. | |
385 | m4_define([gt_NEEDS_INIT], | |
386 | [ | |
387 | m4_divert_text([DEFAULTS], [gt_needs=]) | |
388 | m4_define([gt_NEEDS_INIT], []) | |
389 | ]) | |
390 | ||
391 | ||
392 | dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) | |
393 | AC_DEFUN([AM_GNU_GETTEXT_NEED], | |
394 | [ | |
395 | m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) | |
396 | ]) | |
397 | ||
398 | ||
399 | dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) | |
400 | AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) | |
401 | ||
402 | ||
403 | dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) | |
404 | AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) |
0 | # iconv.m4 serial 19 (gettext-0.18.2) | |
1 | dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | ||
6 | dnl From Bruno Haible. | |
7 | ||
8 | AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], | |
9 | [ | |
10 | dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. | |
11 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | |
12 | AC_REQUIRE([AC_LIB_RPATH]) | |
13 | ||
14 | dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV | |
15 | dnl accordingly. | |
16 | AC_LIB_LINKFLAGS_BODY([iconv]) | |
17 | ]) | |
18 | ||
19 | AC_DEFUN([AM_ICONV_LINK], | |
20 | [ | |
21 | dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and | |
22 | dnl those with the standalone portable GNU libiconv installed). | |
23 | AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles | |
24 | ||
25 | dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV | |
26 | dnl accordingly. | |
27 | AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) | |
28 | ||
29 | dnl Add $INCICONV to CPPFLAGS before performing the following checks, | |
30 | dnl because if the user has installed libiconv and not disabled its use | |
31 | dnl via --without-libiconv-prefix, he wants to use it. The first | |
32 | dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. | |
33 | am_save_CPPFLAGS="$CPPFLAGS" | |
34 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) | |
35 | ||
36 | AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ | |
37 | am_cv_func_iconv="no, consider installing GNU libiconv" | |
38 | am_cv_lib_iconv=no | |
39 | AC_LINK_IFELSE( | |
40 | [AC_LANG_PROGRAM( | |
41 | [[ | |
42 | #include <stdlib.h> | |
43 | #include <iconv.h> | |
44 | ]], | |
45 | [[iconv_t cd = iconv_open("",""); | |
46 | iconv(cd,NULL,NULL,NULL,NULL); | |
47 | iconv_close(cd);]])], | |
48 | [am_cv_func_iconv=yes]) | |
49 | if test "$am_cv_func_iconv" != yes; then | |
50 | am_save_LIBS="$LIBS" | |
51 | LIBS="$LIBS $LIBICONV" | |
52 | AC_LINK_IFELSE( | |
53 | [AC_LANG_PROGRAM( | |
54 | [[ | |
55 | #include <stdlib.h> | |
56 | #include <iconv.h> | |
57 | ]], | |
58 | [[iconv_t cd = iconv_open("",""); | |
59 | iconv(cd,NULL,NULL,NULL,NULL); | |
60 | iconv_close(cd);]])], | |
61 | [am_cv_lib_iconv=yes] | |
62 | [am_cv_func_iconv=yes]) | |
63 | LIBS="$am_save_LIBS" | |
64 | fi | |
65 | ]) | |
66 | if test "$am_cv_func_iconv" = yes; then | |
67 | AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ | |
68 | dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, | |
69 | dnl Solaris 10. | |
70 | am_save_LIBS="$LIBS" | |
71 | if test $am_cv_lib_iconv = yes; then | |
72 | LIBS="$LIBS $LIBICONV" | |
73 | fi | |
74 | am_cv_func_iconv_works=no | |
75 | for ac_iconv_const in '' 'const'; do | |
76 | AC_RUN_IFELSE( | |
77 | [AC_LANG_PROGRAM( | |
78 | [[ | |
79 | #include <iconv.h> | |
80 | #include <string.h> | |
81 | ||
82 | #ifndef ICONV_CONST | |
83 | # define ICONV_CONST $ac_iconv_const | |
84 | #endif | |
85 | ]], | |
86 | [[int result = 0; | |
87 | /* Test against AIX 5.1 bug: Failures are not distinguishable from successful | |
88 | returns. */ | |
89 | { | |
90 | iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); | |
91 | if (cd_utf8_to_88591 != (iconv_t)(-1)) | |
92 | { | |
93 | static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ | |
94 | char buf[10]; | |
95 | ICONV_CONST char *inptr = input; | |
96 | size_t inbytesleft = strlen (input); | |
97 | char *outptr = buf; | |
98 | size_t outbytesleft = sizeof (buf); | |
99 | size_t res = iconv (cd_utf8_to_88591, | |
100 | &inptr, &inbytesleft, | |
101 | &outptr, &outbytesleft); | |
102 | if (res == 0) | |
103 | result |= 1; | |
104 | iconv_close (cd_utf8_to_88591); | |
105 | } | |
106 | } | |
107 | /* Test against Solaris 10 bug: Failures are not distinguishable from | |
108 | successful returns. */ | |
109 | { | |
110 | iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); | |
111 | if (cd_ascii_to_88591 != (iconv_t)(-1)) | |
112 | { | |
113 | static ICONV_CONST char input[] = "\263"; | |
114 | char buf[10]; | |
115 | ICONV_CONST char *inptr = input; | |
116 | size_t inbytesleft = strlen (input); | |
117 | char *outptr = buf; | |
118 | size_t outbytesleft = sizeof (buf); | |
119 | size_t res = iconv (cd_ascii_to_88591, | |
120 | &inptr, &inbytesleft, | |
121 | &outptr, &outbytesleft); | |
122 | if (res == 0) | |
123 | result |= 2; | |
124 | iconv_close (cd_ascii_to_88591); | |
125 | } | |
126 | } | |
127 | /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ | |
128 | { | |
129 | iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); | |
130 | if (cd_88591_to_utf8 != (iconv_t)(-1)) | |
131 | { | |
132 | static ICONV_CONST char input[] = "\304"; | |
133 | static char buf[2] = { (char)0xDE, (char)0xAD }; | |
134 | ICONV_CONST char *inptr = input; | |
135 | size_t inbytesleft = 1; | |
136 | char *outptr = buf; | |
137 | size_t outbytesleft = 1; | |
138 | size_t res = iconv (cd_88591_to_utf8, | |
139 | &inptr, &inbytesleft, | |
140 | &outptr, &outbytesleft); | |
141 | if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) | |
142 | result |= 4; | |
143 | iconv_close (cd_88591_to_utf8); | |
144 | } | |
145 | } | |
146 | #if 0 /* This bug could be worked around by the caller. */ | |
147 | /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ | |
148 | { | |
149 | iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); | |
150 | if (cd_88591_to_utf8 != (iconv_t)(-1)) | |
151 | { | |
152 | static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; | |
153 | char buf[50]; | |
154 | ICONV_CONST char *inptr = input; | |
155 | size_t inbytesleft = strlen (input); | |
156 | char *outptr = buf; | |
157 | size_t outbytesleft = sizeof (buf); | |
158 | size_t res = iconv (cd_88591_to_utf8, | |
159 | &inptr, &inbytesleft, | |
160 | &outptr, &outbytesleft); | |
161 | if ((int)res > 0) | |
162 | result |= 8; | |
163 | iconv_close (cd_88591_to_utf8); | |
164 | } | |
165 | } | |
166 | #endif | |
167 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | |
168 | provided. */ | |
169 | if (/* Try standardized names. */ | |
170 | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | |
171 | /* Try IRIX, OSF/1 names. */ | |
172 | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | |
173 | /* Try AIX names. */ | |
174 | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | |
175 | /* Try HP-UX names. */ | |
176 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | |
177 | result |= 16; | |
178 | return result; | |
179 | ]])], | |
180 | [am_cv_func_iconv_works=yes], , | |
181 | [case "$host_os" in | |
182 | aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; | |
183 | *) am_cv_func_iconv_works="guessing yes" ;; | |
184 | esac]) | |
185 | test "$am_cv_func_iconv_works" = no || break | |
186 | done | |
187 | LIBS="$am_save_LIBS" | |
188 | ]) | |
189 | case "$am_cv_func_iconv_works" in | |
190 | *no) am_func_iconv=no am_cv_lib_iconv=no ;; | |
191 | *) am_func_iconv=yes ;; | |
192 | esac | |
193 | else | |
194 | am_func_iconv=no am_cv_lib_iconv=no | |
195 | fi | |
196 | if test "$am_func_iconv" = yes; then | |
197 | AC_DEFINE([HAVE_ICONV], [1], | |
198 | [Define if you have the iconv() function and it works.]) | |
199 | fi | |
200 | if test "$am_cv_lib_iconv" = yes; then | |
201 | AC_MSG_CHECKING([how to link with libiconv]) | |
202 | AC_MSG_RESULT([$LIBICONV]) | |
203 | else | |
204 | dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV | |
205 | dnl either. | |
206 | CPPFLAGS="$am_save_CPPFLAGS" | |
207 | LIBICONV= | |
208 | LTLIBICONV= | |
209 | fi | |
210 | AC_SUBST([LIBICONV]) | |
211 | AC_SUBST([LTLIBICONV]) | |
212 | ]) | |
213 | ||
214 | dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to | |
215 | dnl avoid warnings like | |
216 | dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". | |
217 | dnl This is tricky because of the way 'aclocal' is implemented: | |
218 | dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. | |
219 | dnl Otherwise aclocal's initial scan pass would miss the macro definition. | |
220 | dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. | |
221 | dnl Otherwise aclocal would emit many "Use of uninitialized value $1" | |
222 | dnl warnings. | |
223 | m4_define([gl_iconv_AC_DEFUN], | |
224 | m4_version_prereq([2.64], | |
225 | [[AC_DEFUN_ONCE( | |
226 | [$1], [$2])]], | |
227 | [m4_ifdef([gl_00GNULIB], | |
228 | [[AC_DEFUN_ONCE( | |
229 | [$1], [$2])]], | |
230 | [[AC_DEFUN( | |
231 | [$1], [$2])]])])) | |
232 | gl_iconv_AC_DEFUN([AM_ICONV], | |
233 | [ | |
234 | AM_ICONV_LINK | |
235 | if test "$am_cv_func_iconv" = yes; then | |
236 | AC_MSG_CHECKING([for iconv declaration]) | |
237 | AC_CACHE_VAL([am_cv_proto_iconv], [ | |
238 | AC_COMPILE_IFELSE( | |
239 | [AC_LANG_PROGRAM( | |
240 | [[ | |
241 | #include <stdlib.h> | |
242 | #include <iconv.h> | |
243 | extern | |
244 | #ifdef __cplusplus | |
245 | "C" | |
246 | #endif | |
247 | #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) | |
248 | size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); | |
249 | #else | |
250 | size_t iconv(); | |
251 | #endif | |
252 | ]], | |
253 | [[]])], | |
254 | [am_cv_proto_iconv_arg1=""], | |
255 | [am_cv_proto_iconv_arg1="const"]) | |
256 | 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);"]) | |
257 | am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` | |
258 | AC_MSG_RESULT([ | |
259 | $am_cv_proto_iconv]) | |
260 | AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], | |
261 | [Define as const if the declaration of iconv() needs const.]) | |
262 | dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>. | |
263 | m4_ifdef([gl_ICONV_H_DEFAULTS], | |
264 | [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) | |
265 | if test -n "$am_cv_proto_iconv_arg1"; then | |
266 | ICONV_CONST="const" | |
267 | fi | |
268 | ]) | |
269 | fi | |
270 | ]) |
0 | # intlmacosx.m4 serial 5 (gettext-0.18.2) | |
1 | dnl Copyright (C) 2004-2014 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | dnl | |
6 | dnl This file can can be used in projects which are not available under | |
7 | dnl the GNU General Public License or the GNU Library General Public | |
8 | dnl License but which still want to provide support for the GNU gettext | |
9 | dnl functionality. | |
10 | dnl Please note that the actual code of the GNU gettext library is covered | |
11 | dnl by the GNU Library General Public License, and the rest of the GNU | |
12 | dnl gettext package package is covered by the GNU General Public License. | |
13 | dnl They are *not* in the public domain. | |
14 | ||
15 | dnl Checks for special options needed on Mac OS X. | |
16 | dnl Defines INTL_MACOSX_LIBS. | |
17 | AC_DEFUN([gt_INTL_MACOSX], | |
18 | [ | |
19 | dnl Check for API introduced in Mac OS X 10.2. | |
20 | AC_CACHE_CHECK([for CFPreferencesCopyAppValue], | |
21 | [gt_cv_func_CFPreferencesCopyAppValue], | |
22 | [gt_save_LIBS="$LIBS" | |
23 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
24 | AC_LINK_IFELSE( | |
25 | [AC_LANG_PROGRAM( | |
26 | [[#include <CoreFoundation/CFPreferences.h>]], | |
27 | [[CFPreferencesCopyAppValue(NULL, NULL)]])], | |
28 | [gt_cv_func_CFPreferencesCopyAppValue=yes], | |
29 | [gt_cv_func_CFPreferencesCopyAppValue=no]) | |
30 | LIBS="$gt_save_LIBS"]) | |
31 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then | |
32 | AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], | |
33 | [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) | |
34 | fi | |
35 | dnl Check for API introduced in Mac OS X 10.3. | |
36 | AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], | |
37 | [gt_save_LIBS="$LIBS" | |
38 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" | |
39 | AC_LINK_IFELSE( | |
40 | [AC_LANG_PROGRAM( | |
41 | [[#include <CoreFoundation/CFLocale.h>]], | |
42 | [[CFLocaleCopyCurrent();]])], | |
43 | [gt_cv_func_CFLocaleCopyCurrent=yes], | |
44 | [gt_cv_func_CFLocaleCopyCurrent=no]) | |
45 | LIBS="$gt_save_LIBS"]) | |
46 | if test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
47 | AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], | |
48 | [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) | |
49 | fi | |
50 | INTL_MACOSX_LIBS= | |
51 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
52 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" | |
53 | fi | |
54 | AC_SUBST([INTL_MACOSX_LIBS]) | |
55 | ]) |
0 | ## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- | |
1 | ## Copyright (C) 2001 Eazel, Inc. | |
2 | ## Author: Maciej Stachowiak <[email protected]> | |
3 | ## Kenneth Christiansen <[email protected]> | |
4 | ## | |
5 | ## This program is free software; you can redistribute it and/or modify | |
6 | ## it under the terms of the GNU General Public License as published by | |
7 | ## the Free Software Foundation; either version 2 of the License, or | |
8 | ## (at your option) any later version. | |
9 | ## | |
10 | ## This program is distributed in the hope that it will be useful, but | |
11 | ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | ## General Public License for more details. | |
14 | ## | |
15 | ## You should have received a copy of the GNU General Public License | |
16 | ## along with this program; if not, write to the Free Software | |
17 | ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
18 | ## | |
19 | ## As a special exception to the GNU General Public License, if you | |
20 | ## distribute this file as part of a program that contains a | |
21 | ## configuration script generated by Autoconf, you may include it under | |
22 | ## the same distribution terms that you use for the rest of that program. | |
23 | ||
24 | dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) | |
25 | # serial 42 IT_PROG_INTLTOOL | |
26 | AC_DEFUN([IT_PROG_INTLTOOL], [ | |
27 | AC_PREREQ([2.50])dnl | |
28 | AC_REQUIRE([AM_NLS])dnl | |
29 | ||
30 | case "$am__api_version" in | |
31 | 1.[01234]) | |
32 | AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) | |
33 | ;; | |
34 | *) | |
35 | ;; | |
36 | esac | |
37 | ||
38 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` | |
39 | INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` | |
40 | INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` | |
41 | if test -n "$1"; then | |
42 | AC_MSG_CHECKING([for intltool >= $1]) | |
43 | AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) | |
44 | test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || | |
45 | AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) | |
46 | fi | |
47 | ||
48 | AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) | |
49 | AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) | |
50 | AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) | |
51 | if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then | |
52 | AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) | |
53 | fi | |
54 | ||
55 | if test -z "$AM_DEFAULT_VERBOSITY"; then | |
56 | AM_DEFAULT_VERBOSITY=1 | |
57 | fi | |
58 | AC_SUBST([AM_DEFAULT_VERBOSITY]) | |
59 | ||
60 | INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' | |
61 | INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' | |
62 | INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' | |
63 | AC_SUBST(INTLTOOL_V_MERGE) | |
64 | AC_SUBST(INTLTOOL__v_MERGE_) | |
65 | AC_SUBST(INTLTOOL__v_MERGE_0) | |
66 | ||
67 | INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' | |
68 | intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' | |
69 | intltool__v_merge_options_0='-q' | |
70 | AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) | |
71 | AC_SUBST(intltool__v_merge_options_) | |
72 | AC_SUBST(intltool__v_merge_options_0) | |
73 | ||
74 | INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
75 | INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
76 | INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
77 | INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
78 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' | |
79 | INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
80 | INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
81 | INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
82 | INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
83 | INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
84 | INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
85 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then | |
86 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' | |
87 | else | |
88 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' | |
89 | fi | |
90 | INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
91 | INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
92 | INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
93 | INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
94 | INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
95 | INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
96 | INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' | |
97 | ||
98 | _IT_SUBST(INTLTOOL_DESKTOP_RULE) | |
99 | _IT_SUBST(INTLTOOL_DIRECTORY_RULE) | |
100 | _IT_SUBST(INTLTOOL_KEYS_RULE) | |
101 | _IT_SUBST(INTLTOOL_PROP_RULE) | |
102 | _IT_SUBST(INTLTOOL_OAF_RULE) | |
103 | _IT_SUBST(INTLTOOL_PONG_RULE) | |
104 | _IT_SUBST(INTLTOOL_SERVER_RULE) | |
105 | _IT_SUBST(INTLTOOL_SHEET_RULE) | |
106 | _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) | |
107 | _IT_SUBST(INTLTOOL_UI_RULE) | |
108 | _IT_SUBST(INTLTOOL_XAM_RULE) | |
109 | _IT_SUBST(INTLTOOL_KBD_RULE) | |
110 | _IT_SUBST(INTLTOOL_XML_RULE) | |
111 | _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) | |
112 | _IT_SUBST(INTLTOOL_CAVES_RULE) | |
113 | _IT_SUBST(INTLTOOL_SCHEMAS_RULE) | |
114 | _IT_SUBST(INTLTOOL_THEME_RULE) | |
115 | _IT_SUBST(INTLTOOL_SERVICE_RULE) | |
116 | _IT_SUBST(INTLTOOL_POLICY_RULE) | |
117 | ||
118 | # Check the gettext tools to make sure they are GNU | |
119 | AC_PATH_PROG(XGETTEXT, xgettext) | |
120 | AC_PATH_PROG(MSGMERGE, msgmerge) | |
121 | AC_PATH_PROG(MSGFMT, msgfmt) | |
122 | AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) | |
123 | if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then | |
124 | AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) | |
125 | fi | |
126 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" | |
127 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" | |
128 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" | |
129 | if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then | |
130 | AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) | |
131 | fi | |
132 | ||
133 | AC_PATH_PROG(INTLTOOL_PERL, perl) | |
134 | if test -z "$INTLTOOL_PERL"; then | |
135 | AC_MSG_ERROR([perl not found]) | |
136 | fi | |
137 | AC_MSG_CHECKING([for perl >= 5.8.1]) | |
138 | $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 | |
139 | if test $? -ne 0; then | |
140 | AC_MSG_ERROR([perl 5.8.1 is required for intltool]) | |
141 | else | |
142 | IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` | |
143 | AC_MSG_RESULT([$IT_PERL_VERSION]) | |
144 | fi | |
145 | if test "x$2" != "xno-xml"; then | |
146 | AC_MSG_CHECKING([for XML::Parser]) | |
147 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then | |
148 | AC_MSG_RESULT([ok]) | |
149 | else | |
150 | AC_MSG_ERROR([XML::Parser perl module is required for intltool]) | |
151 | fi | |
152 | fi | |
153 | ||
154 | # Substitute ALL_LINGUAS so we can use it in po/Makefile | |
155 | AC_SUBST(ALL_LINGUAS) | |
156 | ||
157 | IT_PO_SUBDIR([po]) | |
158 | ||
159 | ]) | |
160 | ||
161 | ||
162 | # IT_PO_SUBDIR(DIRNAME) | |
163 | # --------------------- | |
164 | # All po subdirs have to be declared with this macro; the subdir "po" is | |
165 | # declared by IT_PROG_INTLTOOL. | |
166 | # | |
167 | AC_DEFUN([IT_PO_SUBDIR], | |
168 | [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. | |
169 | dnl | |
170 | dnl The following CONFIG_COMMANDS should be executed at the very end | |
171 | dnl of config.status. | |
172 | AC_CONFIG_COMMANDS_PRE([ | |
173 | AC_CONFIG_COMMANDS([$1/stamp-it], [ | |
174 | if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then | |
175 | AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) | |
176 | fi | |
177 | rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" | |
178 | >"$1/stamp-it.tmp" | |
179 | [sed '/^#/d | |
180 | s/^[[].*] *// | |
181 | /^[ ]*$/d | |
182 | '"s|^| $ac_top_srcdir/|" \ | |
183 | "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" | |
184 | ] | |
185 | [sed '/^POTFILES =/,/[^\\]$/ { | |
186 | /^POTFILES =/!d | |
187 | r $1/POTFILES | |
188 | } | |
189 | ' "$1/Makefile.in" >"$1/Makefile"] | |
190 | rm -f "$1/Makefile.tmp" | |
191 | mv "$1/stamp-it.tmp" "$1/stamp-it" | |
192 | ]) | |
193 | ])dnl | |
194 | ]) | |
195 | ||
196 | # _IT_SUBST(VARIABLE) | |
197 | # ------------------- | |
198 | # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST | |
199 | # | |
200 | AC_DEFUN([_IT_SUBST], | |
201 | [ | |
202 | AC_SUBST([$1]) | |
203 | m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) | |
204 | ] | |
205 | ) | |
206 | ||
207 | # deprecated macros | |
208 | AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) | |
209 | # A hint is needed for aclocal from Automake <= 1.9.4: | |
210 | # AC_DEFUN([AC_PROG_INTLTOOL], ...) | |
211 |
0 | # lib-ld.m4 serial 6 | |
1 | dnl Copyright (C) 1996-2003, 2009-2015 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | ||
6 | dnl Subroutines of libtool.m4, | |
7 | dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid | |
8 | dnl collision with libtool.m4. | |
9 | ||
10 | dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. | |
11 | AC_DEFUN([AC_LIB_PROG_LD_GNU], | |
12 | [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], | |
13 | [# I'd rather use --version here, but apparently some GNU lds only accept -v. | |
14 | case `$LD -v 2>&1 </dev/null` in | |
15 | *GNU* | *'with BFD'*) | |
16 | acl_cv_prog_gnu_ld=yes | |
17 | ;; | |
18 | *) | |
19 | acl_cv_prog_gnu_ld=no | |
20 | ;; | |
21 | esac]) | |
22 | with_gnu_ld=$acl_cv_prog_gnu_ld | |
23 | ]) | |
24 | ||
25 | dnl From libtool-2.4. Sets the variable LD. | |
26 | AC_DEFUN([AC_LIB_PROG_LD], | |
27 | [AC_REQUIRE([AC_PROG_CC])dnl | |
28 | AC_REQUIRE([AC_CANONICAL_HOST])dnl | |
29 | ||
30 | AC_ARG_WITH([gnu-ld], | |
31 | [AS_HELP_STRING([--with-gnu-ld], | |
32 | [assume the C compiler uses GNU ld [default=no]])], | |
33 | [test "$withval" = no || with_gnu_ld=yes], | |
34 | [with_gnu_ld=no])dnl | |
35 | ||
36 | # Prepare PATH_SEPARATOR. | |
37 | # The user is always right. | |
38 | if test "${PATH_SEPARATOR+set}" != set; then | |
39 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
40 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
41 | # so we have to set that as well for the test. | |
42 | PATH_SEPARATOR=: | |
43 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
44 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
45 | || PATH_SEPARATOR=';' | |
46 | } | |
47 | fi | |
48 | ||
49 | ac_prog=ld | |
50 | if test "$GCC" = yes; then | |
51 | # Check if gcc -print-prog-name=ld gives a path. | |
52 | AC_MSG_CHECKING([for ld used by $CC]) | |
53 | case $host in | |
54 | *-*-mingw*) | |
55 | # gcc leaves a trailing carriage return which upsets mingw | |
56 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
57 | *) | |
58 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
59 | esac | |
60 | case $ac_prog in | |
61 | # Accept absolute paths. | |
62 | [[\\/]]* | ?:[[\\/]]*) | |
63 | re_direlt='/[[^/]][[^/]]*/\.\./' | |
64 | # Canonicalize the pathname of ld | |
65 | ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` | |
66 | while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do | |
67 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |
68 | done | |
69 | test -z "$LD" && LD="$ac_prog" | |
70 | ;; | |
71 | "") | |
72 | # If it fails, then pretend we aren't using GCC. | |
73 | ac_prog=ld | |
74 | ;; | |
75 | *) | |
76 | # If it is relative, then search for the first ld in PATH. | |
77 | with_gnu_ld=unknown | |
78 | ;; | |
79 | esac | |
80 | elif test "$with_gnu_ld" = yes; then | |
81 | AC_MSG_CHECKING([for GNU ld]) | |
82 | else | |
83 | AC_MSG_CHECKING([for non-GNU ld]) | |
84 | fi | |
85 | AC_CACHE_VAL([acl_cv_path_LD], | |
86 | [if test -z "$LD"; then | |
87 | acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |
88 | for ac_dir in $PATH; do | |
89 | IFS="$acl_save_ifs" | |
90 | test -z "$ac_dir" && ac_dir=. | |
91 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
92 | acl_cv_path_LD="$ac_dir/$ac_prog" | |
93 | # Check to see if the program is GNU ld. I'd rather use --version, | |
94 | # but apparently some variants of GNU ld only accept -v. | |
95 | # Break only if it was the GNU/non-GNU ld that we prefer. | |
96 | case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | |
97 | *GNU* | *'with BFD'*) | |
98 | test "$with_gnu_ld" != no && break | |
99 | ;; | |
100 | *) | |
101 | test "$with_gnu_ld" != yes && break | |
102 | ;; | |
103 | esac | |
104 | fi | |
105 | done | |
106 | IFS="$acl_save_ifs" | |
107 | else | |
108 | acl_cv_path_LD="$LD" # Let the user override the test with a path. | |
109 | fi]) | |
110 | LD="$acl_cv_path_LD" | |
111 | if test -n "$LD"; then | |
112 | AC_MSG_RESULT([$LD]) | |
113 | else | |
114 | AC_MSG_RESULT([no]) | |
115 | fi | |
116 | test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) | |
117 | AC_LIB_PROG_LD_GNU | |
118 | ]) |
0 | # lib-link.m4 serial 26 (gettext-0.18.2) | |
1 | dnl Copyright (C) 2001-2015 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | ||
6 | dnl From Bruno Haible. | |
7 | ||
8 | AC_PREREQ([2.54]) | |
9 | ||
10 | dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and | |
11 | dnl the libraries corresponding to explicit and implicit dependencies. | |
12 | dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and | |
13 | dnl augments the CPPFLAGS variable. | |
14 | dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname | |
15 | dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | |
16 | AC_DEFUN([AC_LIB_LINKFLAGS], | |
17 | [ | |
18 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | |
19 | AC_REQUIRE([AC_LIB_RPATH]) | |
20 | pushdef([Name],[m4_translit([$1],[./+-], [____])]) | |
21 | pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | |
22 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
23 | AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ | |
24 | AC_LIB_LINKFLAGS_BODY([$1], [$2]) | |
25 | ac_cv_lib[]Name[]_libs="$LIB[]NAME" | |
26 | ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" | |
27 | ac_cv_lib[]Name[]_cppflags="$INC[]NAME" | |
28 | ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" | |
29 | ]) | |
30 | LIB[]NAME="$ac_cv_lib[]Name[]_libs" | |
31 | LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" | |
32 | INC[]NAME="$ac_cv_lib[]Name[]_cppflags" | |
33 | LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" | |
34 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) | |
35 | AC_SUBST([LIB]NAME) | |
36 | AC_SUBST([LTLIB]NAME) | |
37 | AC_SUBST([LIB]NAME[_PREFIX]) | |
38 | dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the | |
39 | dnl results of this search when this library appears as a dependency. | |
40 | HAVE_LIB[]NAME=yes | |
41 | popdef([NAME]) | |
42 | popdef([Name]) | |
43 | ]) | |
44 | ||
45 | dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) | |
46 | dnl searches for libname and the libraries corresponding to explicit and | |
47 | dnl implicit dependencies, together with the specified include files and | |
48 | dnl the ability to compile and link the specified testcode. The missing-message | |
49 | dnl defaults to 'no' and may contain additional hints for the user. | |
50 | dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} | |
51 | dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and | |
52 | dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs | |
53 | dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. | |
54 | dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname | |
55 | dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | |
56 | AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], | |
57 | [ | |
58 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | |
59 | AC_REQUIRE([AC_LIB_RPATH]) | |
60 | pushdef([Name],[m4_translit([$1],[./+-], [____])]) | |
61 | pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | |
62 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
63 | ||
64 | dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME | |
65 | dnl accordingly. | |
66 | AC_LIB_LINKFLAGS_BODY([$1], [$2]) | |
67 | ||
68 | dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, | |
69 | dnl because if the user has installed lib[]Name and not disabled its use | |
70 | dnl via --without-lib[]Name-prefix, he wants to use it. | |
71 | ac_save_CPPFLAGS="$CPPFLAGS" | |
72 | AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) | |
73 | ||
74 | AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ | |
75 | ac_save_LIBS="$LIBS" | |
76 | dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, | |
77 | dnl because these -l options might require -L options that are present in | |
78 | dnl LIBS. -l options benefit only from the -L options listed before it. | |
79 | dnl Otherwise, add it to the front of LIBS, because it may be a static | |
80 | dnl library that depends on another static library that is present in LIBS. | |
81 | dnl Static libraries benefit only from the static libraries listed after | |
82 | dnl it. | |
83 | case " $LIB[]NAME" in | |
84 | *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; | |
85 | *) LIBS="$LIB[]NAME $LIBS" ;; | |
86 | esac | |
87 | AC_LINK_IFELSE( | |
88 | [AC_LANG_PROGRAM([[$3]], [[$4]])], | |
89 | [ac_cv_lib[]Name=yes], | |
90 | [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) | |
91 | LIBS="$ac_save_LIBS" | |
92 | ]) | |
93 | if test "$ac_cv_lib[]Name" = yes; then | |
94 | HAVE_LIB[]NAME=yes | |
95 | AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) | |
96 | AC_MSG_CHECKING([how to link with lib[]$1]) | |
97 | AC_MSG_RESULT([$LIB[]NAME]) | |
98 | else | |
99 | HAVE_LIB[]NAME=no | |
100 | dnl If $LIB[]NAME didn't lead to a usable library, we don't need | |
101 | dnl $INC[]NAME either. | |
102 | CPPFLAGS="$ac_save_CPPFLAGS" | |
103 | LIB[]NAME= | |
104 | LTLIB[]NAME= | |
105 | LIB[]NAME[]_PREFIX= | |
106 | fi | |
107 | AC_SUBST([HAVE_LIB]NAME) | |
108 | AC_SUBST([LIB]NAME) | |
109 | AC_SUBST([LTLIB]NAME) | |
110 | AC_SUBST([LIB]NAME[_PREFIX]) | |
111 | popdef([NAME]) | |
112 | popdef([Name]) | |
113 | ]) | |
114 | ||
115 | dnl Determine the platform dependent parameters needed to use rpath: | |
116 | dnl acl_libext, | |
117 | dnl acl_shlibext, | |
118 | dnl acl_libname_spec, | |
119 | dnl acl_library_names_spec, | |
120 | dnl acl_hardcode_libdir_flag_spec, | |
121 | dnl acl_hardcode_libdir_separator, | |
122 | dnl acl_hardcode_direct, | |
123 | dnl acl_hardcode_minus_L. | |
124 | AC_DEFUN([AC_LIB_RPATH], | |
125 | [ | |
126 | dnl Tell automake >= 1.10 to complain if config.rpath is missing. | |
127 | m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) | |
128 | AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS | |
129 | AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld | |
130 | AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host | |
131 | AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir | |
132 | AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ | |
133 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ | |
134 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh | |
135 | . ./conftest.sh | |
136 | rm -f ./conftest.sh | |
137 | acl_cv_rpath=done | |
138 | ]) | |
139 | wl="$acl_cv_wl" | |
140 | acl_libext="$acl_cv_libext" | |
141 | acl_shlibext="$acl_cv_shlibext" | |
142 | acl_libname_spec="$acl_cv_libname_spec" | |
143 | acl_library_names_spec="$acl_cv_library_names_spec" | |
144 | acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" | |
145 | acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" | |
146 | acl_hardcode_direct="$acl_cv_hardcode_direct" | |
147 | acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" | |
148 | dnl Determine whether the user wants rpath handling at all. | |
149 | AC_ARG_ENABLE([rpath], | |
150 | [ --disable-rpath do not hardcode runtime library paths], | |
151 | :, enable_rpath=yes) | |
152 | ]) | |
153 | ||
154 | dnl AC_LIB_FROMPACKAGE(name, package) | |
155 | dnl declares that libname comes from the given package. The configure file | |
156 | dnl will then not have a --with-libname-prefix option but a | |
157 | dnl --with-package-prefix option. Several libraries can come from the same | |
158 | dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar | |
159 | dnl macro call that searches for libname. | |
160 | AC_DEFUN([AC_LIB_FROMPACKAGE], | |
161 | [ | |
162 | pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | |
163 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
164 | define([acl_frompackage_]NAME, [$2]) | |
165 | popdef([NAME]) | |
166 | pushdef([PACK],[$2]) | |
167 | pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], | |
168 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
169 | define([acl_libsinpackage_]PACKUP, | |
170 | m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) | |
171 | popdef([PACKUP]) | |
172 | popdef([PACK]) | |
173 | ]) | |
174 | ||
175 | dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and | |
176 | dnl the libraries corresponding to explicit and implicit dependencies. | |
177 | dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. | |
178 | dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found | |
179 | dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | |
180 | AC_DEFUN([AC_LIB_LINKFLAGS_BODY], | |
181 | [ | |
182 | AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) | |
183 | pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | |
184 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
185 | pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) | |
186 | pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], | |
187 | [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | |
188 | pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) | |
189 | dnl Autoconf >= 2.61 supports dots in --with options. | |
190 | pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) | |
191 | dnl By default, look in $includedir and $libdir. | |
192 | use_additional=yes | |
193 | AC_LIB_WITH_FINAL_PREFIX([ | |
194 | eval additional_includedir=\"$includedir\" | |
195 | eval additional_libdir=\"$libdir\" | |
196 | ]) | |
197 | AC_ARG_WITH(P_A_C_K[-prefix], | |
198 | [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib | |
199 | --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], | |
200 | [ | |
201 | if test "X$withval" = "Xno"; then | |
202 | use_additional=no | |
203 | else | |
204 | if test "X$withval" = "X"; then | |
205 | AC_LIB_WITH_FINAL_PREFIX([ | |
206 | eval additional_includedir=\"$includedir\" | |
207 | eval additional_libdir=\"$libdir\" | |
208 | ]) | |
209 | else | |
210 | additional_includedir="$withval/include" | |
211 | additional_libdir="$withval/$acl_libdirstem" | |
212 | if test "$acl_libdirstem2" != "$acl_libdirstem" \ | |
213 | && ! test -d "$withval/$acl_libdirstem"; then | |
214 | additional_libdir="$withval/$acl_libdirstem2" | |
215 | fi | |
216 | fi | |
217 | fi | |
218 | ]) | |
219 | dnl Search the library and its dependencies in $additional_libdir and | |
220 | dnl $LDFLAGS. Using breadth-first-seach. | |
221 | LIB[]NAME= | |
222 | LTLIB[]NAME= | |
223 | INC[]NAME= | |
224 | LIB[]NAME[]_PREFIX= | |
225 | dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been | |
226 | dnl computed. So it has to be reset here. | |
227 | HAVE_LIB[]NAME= | |
228 | rpathdirs= | |
229 | ltrpathdirs= | |
230 | names_already_handled= | |
231 | names_next_round='$1 $2' | |
232 | while test -n "$names_next_round"; do | |
233 | names_this_round="$names_next_round" | |
234 | names_next_round= | |
235 | for name in $names_this_round; do | |
236 | already_handled= | |
237 | for n in $names_already_handled; do | |
238 | if test "$n" = "$name"; then | |
239 | already_handled=yes | |
240 | break | |
241 | fi | |
242 | done | |
243 | if test -z "$already_handled"; then | |
244 | names_already_handled="$names_already_handled $name" | |
245 | dnl See if it was already located by an earlier AC_LIB_LINKFLAGS | |
246 | dnl or AC_LIB_HAVE_LINKFLAGS call. | |
247 | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` | |
248 | eval value=\"\$HAVE_LIB$uppername\" | |
249 | if test -n "$value"; then | |
250 | if test "$value" = yes; then | |
251 | eval value=\"\$LIB$uppername\" | |
252 | test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" | |
253 | eval value=\"\$LTLIB$uppername\" | |
254 | test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" | |
255 | else | |
256 | dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined | |
257 | dnl that this library doesn't exist. So just drop it. | |
258 | : | |
259 | fi | |
260 | else | |
261 | dnl Search the library lib$name in $additional_libdir and $LDFLAGS | |
262 | dnl and the already constructed $LIBNAME/$LTLIBNAME. | |
263 | found_dir= | |
264 | found_la= | |
265 | found_so= | |
266 | found_a= | |
267 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name | |
268 | if test -n "$acl_shlibext"; then | |
269 | shrext=".$acl_shlibext" # typically: shrext=.so | |
270 | else | |
271 | shrext= | |
272 | fi | |
273 | if test $use_additional = yes; then | |
274 | dir="$additional_libdir" | |
275 | dnl The same code as in the loop below: | |
276 | dnl First look for a shared library. | |
277 | if test -n "$acl_shlibext"; then | |
278 | if test -f "$dir/$libname$shrext"; then | |
279 | found_dir="$dir" | |
280 | found_so="$dir/$libname$shrext" | |
281 | else | |
282 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
283 | ver=`(cd "$dir" && \ | |
284 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
285 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
286 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
287 | | sed 1q ) 2>/dev/null` | |
288 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
289 | found_dir="$dir" | |
290 | found_so="$dir/$libname$shrext.$ver" | |
291 | fi | |
292 | else | |
293 | eval library_names=\"$acl_library_names_spec\" | |
294 | for f in $library_names; do | |
295 | if test -f "$dir/$f"; then | |
296 | found_dir="$dir" | |
297 | found_so="$dir/$f" | |
298 | break | |
299 | fi | |
300 | done | |
301 | fi | |
302 | fi | |
303 | fi | |
304 | dnl Then look for a static library. | |
305 | if test "X$found_dir" = "X"; then | |
306 | if test -f "$dir/$libname.$acl_libext"; then | |
307 | found_dir="$dir" | |
308 | found_a="$dir/$libname.$acl_libext" | |
309 | fi | |
310 | fi | |
311 | if test "X$found_dir" != "X"; then | |
312 | if test -f "$dir/$libname.la"; then | |
313 | found_la="$dir/$libname.la" | |
314 | fi | |
315 | fi | |
316 | fi | |
317 | if test "X$found_dir" = "X"; then | |
318 | for x in $LDFLAGS $LTLIB[]NAME; do | |
319 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
320 | case "$x" in | |
321 | -L*) | |
322 | dir=`echo "X$x" | sed -e 's/^X-L//'` | |
323 | dnl First look for a shared library. | |
324 | if test -n "$acl_shlibext"; then | |
325 | if test -f "$dir/$libname$shrext"; then | |
326 | found_dir="$dir" | |
327 | found_so="$dir/$libname$shrext" | |
328 | else | |
329 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then | |
330 | ver=`(cd "$dir" && \ | |
331 | for f in "$libname$shrext".*; do echo "$f"; done \ | |
332 | | sed -e "s,^$libname$shrext\\\\.,," \ | |
333 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | |
334 | | sed 1q ) 2>/dev/null` | |
335 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then | |
336 | found_dir="$dir" | |
337 | found_so="$dir/$libname$shrext.$ver" | |
338 | fi | |
339 | else | |
340 | eval library_names=\"$acl_library_names_spec\" | |
341 | for f in $library_names; do | |
342 | if test -f "$dir/$f"; then | |
343 | found_dir="$dir" | |
344 | found_so="$dir/$f" | |
345 | break | |
346 | fi | |
347 | done | |
348 | fi | |
349 | fi | |
350 | fi | |
351 | dnl Then look for a static library. | |
352 | if test "X$found_dir" = "X"; then | |
353 | if test -f "$dir/$libname.$acl_libext"; then | |
354 | found_dir="$dir" | |
355 | found_a="$dir/$libname.$acl_libext" | |
356 | fi | |
357 | fi | |
358 | if test "X$found_dir" != "X"; then | |
359 | if test -f "$dir/$libname.la"; then | |
360 | found_la="$dir/$libname.la" | |
361 | fi | |
362 | fi | |
363 | ;; | |
364 | esac | |
365 | if test "X$found_dir" != "X"; then | |
366 | break | |
367 | fi | |
368 | done | |
369 | fi | |
370 | if test "X$found_dir" != "X"; then | |
371 | dnl Found the library. | |
372 | LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" | |
373 | if test "X$found_so" != "X"; then | |
374 | dnl Linking with a shared library. We attempt to hardcode its | |
375 | dnl directory into the executable's runpath, unless it's the | |
376 | dnl standard /usr/lib. | |
377 | if test "$enable_rpath" = no \ | |
378 | || test "X$found_dir" = "X/usr/$acl_libdirstem" \ | |
379 | || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then | |
380 | dnl No hardcoding is needed. | |
381 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" | |
382 | else | |
383 | dnl Use an explicit option to hardcode DIR into the resulting | |
384 | dnl binary. | |
385 | dnl Potentially add DIR to ltrpathdirs. | |
386 | dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. | |
387 | haveit= | |
388 | for x in $ltrpathdirs; do | |
389 | if test "X$x" = "X$found_dir"; then | |
390 | haveit=yes | |
391 | break | |
392 | fi | |
393 | done | |
394 | if test -z "$haveit"; then | |
395 | ltrpathdirs="$ltrpathdirs $found_dir" | |
396 | fi | |
397 | dnl The hardcoding into $LIBNAME is system dependent. | |
398 | if test "$acl_hardcode_direct" = yes; then | |
399 | dnl Using DIR/libNAME.so during linking hardcodes DIR into the | |
400 | dnl resulting binary. | |
401 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" | |
402 | else | |
403 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then | |
404 | dnl Use an explicit option to hardcode DIR into the resulting | |
405 | dnl binary. | |
406 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" | |
407 | dnl Potentially add DIR to rpathdirs. | |
408 | dnl The rpathdirs will be appended to $LIBNAME at the end. | |
409 | haveit= | |
410 | for x in $rpathdirs; do | |
411 | if test "X$x" = "X$found_dir"; then | |
412 | haveit=yes | |
413 | break | |
414 | fi | |
415 | done | |
416 | if test -z "$haveit"; then | |
417 | rpathdirs="$rpathdirs $found_dir" | |
418 | fi | |
419 | else | |
420 | dnl Rely on "-L$found_dir". | |
421 | dnl But don't add it if it's already contained in the LDFLAGS | |
422 | dnl or the already constructed $LIBNAME | |
423 | haveit= | |
424 | for x in $LDFLAGS $LIB[]NAME; do | |
425 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
426 | if test "X$x" = "X-L$found_dir"; then | |
427 | haveit=yes | |
428 | break | |
429 | fi | |
430 | done | |
431 | if test -z "$haveit"; then | |
432 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" | |
433 | fi | |
434 | if test "$acl_hardcode_minus_L" != no; then | |
435 | dnl FIXME: Not sure whether we should use | |
436 | dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" | |
437 | dnl here. | |
438 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" | |
439 | else | |
440 | dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH | |
441 | dnl here, because this doesn't fit in flags passed to the | |
442 | dnl compiler. So give up. No hardcoding. This affects only | |
443 | dnl very old systems. | |
444 | dnl FIXME: Not sure whether we should use | |
445 | dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" | |
446 | dnl here. | |
447 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" | |
448 | fi | |
449 | fi | |
450 | fi | |
451 | fi | |
452 | else | |
453 | if test "X$found_a" != "X"; then | |
454 | dnl Linking with a static library. | |
455 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" | |
456 | else | |
457 | dnl We shouldn't come here, but anyway it's good to have a | |
458 | dnl fallback. | |
459 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" | |
460 | fi | |
461 | fi | |
462 | dnl Assume the include files are nearby. | |
463 | additional_includedir= | |
464 | case "$found_dir" in | |
465 | */$acl_libdirstem | */$acl_libdirstem/) | |
466 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` | |
467 | if test "$name" = '$1'; then | |
468 | LIB[]NAME[]_PREFIX="$basedir" | |
469 | fi | |
470 | additional_includedir="$basedir/include" | |
471 | ;; | |
472 | */$acl_libdirstem2 | */$acl_libdirstem2/) | |
473 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` | |
474 | if test "$name" = '$1'; then | |
475 | LIB[]NAME[]_PREFIX="$basedir" | |
476 | fi | |
477 | additional_includedir="$basedir/include" | |
478 | ;; | |
479 | esac | |
480 | if test "X$additional_includedir" != "X"; then | |
481 | dnl Potentially add $additional_includedir to $INCNAME. | |
482 | dnl But don't add it | |
483 | dnl 1. if it's the standard /usr/include, | |
484 | dnl 2. if it's /usr/local/include and we are using GCC on Linux, | |
485 | dnl 3. if it's already present in $CPPFLAGS or the already | |
486 | dnl constructed $INCNAME, | |
487 | dnl 4. if it doesn't exist as a directory. | |
488 | if test "X$additional_includedir" != "X/usr/include"; then | |
489 | haveit= | |
490 | if test "X$additional_includedir" = "X/usr/local/include"; then | |
491 | if test -n "$GCC"; then | |
492 | case $host_os in | |
493 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
494 | esac | |
495 | fi | |
496 | fi | |
497 | if test -z "$haveit"; then | |
498 | for x in $CPPFLAGS $INC[]NAME; do | |
499 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
500 | if test "X$x" = "X-I$additional_includedir"; then | |
501 | haveit=yes | |
502 | break | |
503 | fi | |
504 | done | |
505 | if test -z "$haveit"; then | |
506 | if test -d "$additional_includedir"; then | |
507 | dnl Really add $additional_includedir to $INCNAME. | |
508 | INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" | |
509 | fi | |
510 | fi | |
511 | fi | |
512 | fi | |
513 | fi | |
514 | dnl Look for dependencies. | |
515 | if test -n "$found_la"; then | |
516 | dnl Read the .la file. It defines the variables | |
517 | dnl dlname, library_names, old_library, dependency_libs, current, | |
518 | dnl age, revision, installed, dlopen, dlpreopen, libdir. | |
519 | save_libdir="$libdir" | |
520 | case "$found_la" in | |
521 | */* | *\\*) . "$found_la" ;; | |
522 | *) . "./$found_la" ;; | |
523 | esac | |
524 | libdir="$save_libdir" | |
525 | dnl We use only dependency_libs. | |
526 | for dep in $dependency_libs; do | |
527 | case "$dep" in | |
528 | -L*) | |
529 | additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` | |
530 | dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. | |
531 | dnl But don't add it | |
532 | dnl 1. if it's the standard /usr/lib, | |
533 | dnl 2. if it's /usr/local/lib and we are using GCC on Linux, | |
534 | dnl 3. if it's already present in $LDFLAGS or the already | |
535 | dnl constructed $LIBNAME, | |
536 | dnl 4. if it doesn't exist as a directory. | |
537 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ | |
538 | && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then | |
539 | haveit= | |
540 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ | |
541 | || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then | |
542 | if test -n "$GCC"; then | |
543 | case $host_os in | |
544 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
545 | esac | |
546 | fi | |
547 | fi | |
548 | if test -z "$haveit"; then | |
549 | haveit= | |
550 | for x in $LDFLAGS $LIB[]NAME; do | |
551 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
552 | if test "X$x" = "X-L$additional_libdir"; then | |
553 | haveit=yes | |
554 | break | |
555 | fi | |
556 | done | |
557 | if test -z "$haveit"; then | |
558 | if test -d "$additional_libdir"; then | |
559 | dnl Really add $additional_libdir to $LIBNAME. | |
560 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" | |
561 | fi | |
562 | fi | |
563 | haveit= | |
564 | for x in $LDFLAGS $LTLIB[]NAME; do | |
565 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
566 | if test "X$x" = "X-L$additional_libdir"; then | |
567 | haveit=yes | |
568 | break | |
569 | fi | |
570 | done | |
571 | if test -z "$haveit"; then | |
572 | if test -d "$additional_libdir"; then | |
573 | dnl Really add $additional_libdir to $LTLIBNAME. | |
574 | LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" | |
575 | fi | |
576 | fi | |
577 | fi | |
578 | fi | |
579 | ;; | |
580 | -R*) | |
581 | dir=`echo "X$dep" | sed -e 's/^X-R//'` | |
582 | if test "$enable_rpath" != no; then | |
583 | dnl Potentially add DIR to rpathdirs. | |
584 | dnl The rpathdirs will be appended to $LIBNAME at the end. | |
585 | haveit= | |
586 | for x in $rpathdirs; do | |
587 | if test "X$x" = "X$dir"; then | |
588 | haveit=yes | |
589 | break | |
590 | fi | |
591 | done | |
592 | if test -z "$haveit"; then | |
593 | rpathdirs="$rpathdirs $dir" | |
594 | fi | |
595 | dnl Potentially add DIR to ltrpathdirs. | |
596 | dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. | |
597 | haveit= | |
598 | for x in $ltrpathdirs; do | |
599 | if test "X$x" = "X$dir"; then | |
600 | haveit=yes | |
601 | break | |
602 | fi | |
603 | done | |
604 | if test -z "$haveit"; then | |
605 | ltrpathdirs="$ltrpathdirs $dir" | |
606 | fi | |
607 | fi | |
608 | ;; | |
609 | -l*) | |
610 | dnl Handle this in the next round. | |
611 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` | |
612 | ;; | |
613 | *.la) | |
614 | dnl Handle this in the next round. Throw away the .la's | |
615 | dnl directory; it is already contained in a preceding -L | |
616 | dnl option. | |
617 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` | |
618 | ;; | |
619 | *) | |
620 | dnl Most likely an immediate library name. | |
621 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" | |
622 | LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" | |
623 | ;; | |
624 | esac | |
625 | done | |
626 | fi | |
627 | else | |
628 | dnl Didn't find the library; assume it is in the system directories | |
629 | dnl known to the linker and runtime loader. (All the system | |
630 | dnl directories known to the linker should also be known to the | |
631 | dnl runtime loader, otherwise the system is severely misconfigured.) | |
632 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" | |
633 | LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" | |
634 | fi | |
635 | fi | |
636 | fi | |
637 | done | |
638 | done | |
639 | if test "X$rpathdirs" != "X"; then | |
640 | if test -n "$acl_hardcode_libdir_separator"; then | |
641 | dnl Weird platform: only the last -rpath option counts, the user must | |
642 | dnl pass all path elements in one option. We can arrange that for a | |
643 | dnl single library, but not when more than one $LIBNAMEs are used. | |
644 | alldirs= | |
645 | for found_dir in $rpathdirs; do | |
646 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" | |
647 | done | |
648 | dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. | |
649 | acl_save_libdir="$libdir" | |
650 | libdir="$alldirs" | |
651 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
652 | libdir="$acl_save_libdir" | |
653 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" | |
654 | else | |
655 | dnl The -rpath options are cumulative. | |
656 | for found_dir in $rpathdirs; do | |
657 | acl_save_libdir="$libdir" | |
658 | libdir="$found_dir" | |
659 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
660 | libdir="$acl_save_libdir" | |
661 | LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" | |
662 | done | |
663 | fi | |
664 | fi | |
665 | if test "X$ltrpathdirs" != "X"; then | |
666 | dnl When using libtool, the option that works for both libraries and | |
667 | dnl executables is -R. The -R options are cumulative. | |
668 | for found_dir in $ltrpathdirs; do | |
669 | LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" | |
670 | done | |
671 | fi | |
672 | popdef([P_A_C_K]) | |
673 | popdef([PACKLIBS]) | |
674 | popdef([PACKUP]) | |
675 | popdef([PACK]) | |
676 | popdef([NAME]) | |
677 | ]) | |
678 | ||
679 | dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, | |
680 | dnl unless already present in VAR. | |
681 | dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes | |
682 | dnl contains two or three consecutive elements that belong together. | |
683 | AC_DEFUN([AC_LIB_APPENDTOVAR], | |
684 | [ | |
685 | for element in [$2]; do | |
686 | haveit= | |
687 | for x in $[$1]; do | |
688 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
689 | if test "X$x" = "X$element"; then | |
690 | haveit=yes | |
691 | break | |
692 | fi | |
693 | done | |
694 | if test -z "$haveit"; then | |
695 | [$1]="${[$1]}${[$1]:+ }$element" | |
696 | fi | |
697 | done | |
698 | ]) | |
699 | ||
700 | dnl For those cases where a variable contains several -L and -l options | |
701 | dnl referring to unknown libraries and directories, this macro determines the | |
702 | dnl necessary additional linker options for the runtime path. | |
703 | dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) | |
704 | dnl sets LDADDVAR to linker options needed together with LIBSVALUE. | |
705 | dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, | |
706 | dnl otherwise linking without libtool is assumed. | |
707 | AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], | |
708 | [ | |
709 | AC_REQUIRE([AC_LIB_RPATH]) | |
710 | AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) | |
711 | $1= | |
712 | if test "$enable_rpath" != no; then | |
713 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then | |
714 | dnl Use an explicit option to hardcode directories into the resulting | |
715 | dnl binary. | |
716 | rpathdirs= | |
717 | next= | |
718 | for opt in $2; do | |
719 | if test -n "$next"; then | |
720 | dir="$next" | |
721 | dnl No need to hardcode the standard /usr/lib. | |
722 | if test "X$dir" != "X/usr/$acl_libdirstem" \ | |
723 | && test "X$dir" != "X/usr/$acl_libdirstem2"; then | |
724 | rpathdirs="$rpathdirs $dir" | |
725 | fi | |
726 | next= | |
727 | else | |
728 | case $opt in | |
729 | -L) next=yes ;; | |
730 | -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` | |
731 | dnl No need to hardcode the standard /usr/lib. | |
732 | if test "X$dir" != "X/usr/$acl_libdirstem" \ | |
733 | && test "X$dir" != "X/usr/$acl_libdirstem2"; then | |
734 | rpathdirs="$rpathdirs $dir" | |
735 | fi | |
736 | next= ;; | |
737 | *) next= ;; | |
738 | esac | |
739 | fi | |
740 | done | |
741 | if test "X$rpathdirs" != "X"; then | |
742 | if test -n ""$3""; then | |
743 | dnl libtool is used for linking. Use -R options. | |
744 | for dir in $rpathdirs; do | |
745 | $1="${$1}${$1:+ }-R$dir" | |
746 | done | |
747 | else | |
748 | dnl The linker is used for linking directly. | |
749 | if test -n "$acl_hardcode_libdir_separator"; then | |
750 | dnl Weird platform: only the last -rpath option counts, the user | |
751 | dnl must pass all path elements in one option. | |
752 | alldirs= | |
753 | for dir in $rpathdirs; do | |
754 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" | |
755 | done | |
756 | acl_save_libdir="$libdir" | |
757 | libdir="$alldirs" | |
758 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
759 | libdir="$acl_save_libdir" | |
760 | $1="$flag" | |
761 | else | |
762 | dnl The -rpath options are cumulative. | |
763 | for dir in $rpathdirs; do | |
764 | acl_save_libdir="$libdir" | |
765 | libdir="$dir" | |
766 | eval flag=\"$acl_hardcode_libdir_flag_spec\" | |
767 | libdir="$acl_save_libdir" | |
768 | $1="${$1}${$1:+ }$flag" | |
769 | done | |
770 | fi | |
771 | fi | |
772 | fi | |
773 | fi | |
774 | fi | |
775 | AC_SUBST([$1]) | |
776 | ]) |
0 | # lib-prefix.m4 serial 7 (gettext-0.18) | |
1 | dnl Copyright (C) 2001-2005, 2008-2015 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | ||
6 | dnl From Bruno Haible. | |
7 | ||
8 | dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and | |
9 | dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't | |
10 | dnl require excessive bracketing. | |
11 | ifdef([AC_HELP_STRING], | |
12 | [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], | |
13 | [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) | |
14 | ||
15 | dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed | |
16 | dnl to access previously installed libraries. The basic assumption is that | |
17 | dnl a user will want packages to use other packages he previously installed | |
18 | dnl with the same --prefix option. | |
19 | dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate | |
20 | dnl libraries, but is otherwise very convenient. | |
21 | AC_DEFUN([AC_LIB_PREFIX], | |
22 | [ | |
23 | AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) | |
24 | AC_REQUIRE([AC_PROG_CC]) | |
25 | AC_REQUIRE([AC_CANONICAL_HOST]) | |
26 | AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) | |
27 | AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | |
28 | dnl By default, look in $includedir and $libdir. | |
29 | use_additional=yes | |
30 | AC_LIB_WITH_FINAL_PREFIX([ | |
31 | eval additional_includedir=\"$includedir\" | |
32 | eval additional_libdir=\"$libdir\" | |
33 | ]) | |
34 | AC_LIB_ARG_WITH([lib-prefix], | |
35 | [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib | |
36 | --without-lib-prefix don't search for libraries in includedir and libdir], | |
37 | [ | |
38 | if test "X$withval" = "Xno"; then | |
39 | use_additional=no | |
40 | else | |
41 | if test "X$withval" = "X"; then | |
42 | AC_LIB_WITH_FINAL_PREFIX([ | |
43 | eval additional_includedir=\"$includedir\" | |
44 | eval additional_libdir=\"$libdir\" | |
45 | ]) | |
46 | else | |
47 | additional_includedir="$withval/include" | |
48 | additional_libdir="$withval/$acl_libdirstem" | |
49 | fi | |
50 | fi | |
51 | ]) | |
52 | if test $use_additional = yes; then | |
53 | dnl Potentially add $additional_includedir to $CPPFLAGS. | |
54 | dnl But don't add it | |
55 | dnl 1. if it's the standard /usr/include, | |
56 | dnl 2. if it's already present in $CPPFLAGS, | |
57 | dnl 3. if it's /usr/local/include and we are using GCC on Linux, | |
58 | dnl 4. if it doesn't exist as a directory. | |
59 | if test "X$additional_includedir" != "X/usr/include"; then | |
60 | haveit= | |
61 | for x in $CPPFLAGS; do | |
62 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
63 | if test "X$x" = "X-I$additional_includedir"; then | |
64 | haveit=yes | |
65 | break | |
66 | fi | |
67 | done | |
68 | if test -z "$haveit"; then | |
69 | if test "X$additional_includedir" = "X/usr/local/include"; then | |
70 | if test -n "$GCC"; then | |
71 | case $host_os in | |
72 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
73 | esac | |
74 | fi | |
75 | fi | |
76 | if test -z "$haveit"; then | |
77 | if test -d "$additional_includedir"; then | |
78 | dnl Really add $additional_includedir to $CPPFLAGS. | |
79 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" | |
80 | fi | |
81 | fi | |
82 | fi | |
83 | fi | |
84 | dnl Potentially add $additional_libdir to $LDFLAGS. | |
85 | dnl But don't add it | |
86 | dnl 1. if it's the standard /usr/lib, | |
87 | dnl 2. if it's already present in $LDFLAGS, | |
88 | dnl 3. if it's /usr/local/lib and we are using GCC on Linux, | |
89 | dnl 4. if it doesn't exist as a directory. | |
90 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then | |
91 | haveit= | |
92 | for x in $LDFLAGS; do | |
93 | AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) | |
94 | if test "X$x" = "X-L$additional_libdir"; then | |
95 | haveit=yes | |
96 | break | |
97 | fi | |
98 | done | |
99 | if test -z "$haveit"; then | |
100 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then | |
101 | if test -n "$GCC"; then | |
102 | case $host_os in | |
103 | linux*) haveit=yes;; | |
104 | esac | |
105 | fi | |
106 | fi | |
107 | if test -z "$haveit"; then | |
108 | if test -d "$additional_libdir"; then | |
109 | dnl Really add $additional_libdir to $LDFLAGS. | |
110 | LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" | |
111 | fi | |
112 | fi | |
113 | fi | |
114 | fi | |
115 | fi | |
116 | ]) | |
117 | ||
118 | dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, | |
119 | dnl acl_final_exec_prefix, containing the values to which $prefix and | |
120 | dnl $exec_prefix will expand at the end of the configure script. | |
121 | AC_DEFUN([AC_LIB_PREPARE_PREFIX], | |
122 | [ | |
123 | dnl Unfortunately, prefix and exec_prefix get only finally determined | |
124 | dnl at the end of configure. | |
125 | if test "X$prefix" = "XNONE"; then | |
126 | acl_final_prefix="$ac_default_prefix" | |
127 | else | |
128 | acl_final_prefix="$prefix" | |
129 | fi | |
130 | if test "X$exec_prefix" = "XNONE"; then | |
131 | acl_final_exec_prefix='${prefix}' | |
132 | else | |
133 | acl_final_exec_prefix="$exec_prefix" | |
134 | fi | |
135 | acl_save_prefix="$prefix" | |
136 | prefix="$acl_final_prefix" | |
137 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" | |
138 | prefix="$acl_save_prefix" | |
139 | ]) | |
140 | ||
141 | dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the | |
142 | dnl variables prefix and exec_prefix bound to the values they will have | |
143 | dnl at the end of the configure script. | |
144 | AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], | |
145 | [ | |
146 | acl_save_prefix="$prefix" | |
147 | prefix="$acl_final_prefix" | |
148 | acl_save_exec_prefix="$exec_prefix" | |
149 | exec_prefix="$acl_final_exec_prefix" | |
150 | $1 | |
151 | exec_prefix="$acl_save_exec_prefix" | |
152 | prefix="$acl_save_prefix" | |
153 | ]) | |
154 | ||
155 | dnl AC_LIB_PREPARE_MULTILIB creates | |
156 | dnl - a variable acl_libdirstem, containing the basename of the libdir, either | |
157 | dnl "lib" or "lib64" or "lib/64", | |
158 | dnl - a variable acl_libdirstem2, as a secondary possible value for | |
159 | dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or | |
160 | dnl "lib/amd64". | |
161 | AC_DEFUN([AC_LIB_PREPARE_MULTILIB], | |
162 | [ | |
163 | dnl There is no formal standard regarding lib and lib64. | |
164 | dnl On glibc systems, the current practice is that on a system supporting | |
165 | dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under | |
166 | dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine | |
167 | dnl the compiler's default mode by looking at the compiler's library search | |
168 | dnl path. If at least one of its elements ends in /lib64 or points to a | |
169 | dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. | |
170 | dnl Otherwise we use the default, namely "lib". | |
171 | dnl On Solaris systems, the current practice is that on a system supporting | |
172 | dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under | |
173 | dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or | |
174 | dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. | |
175 | AC_REQUIRE([AC_CANONICAL_HOST]) | |
176 | acl_libdirstem=lib | |
177 | acl_libdirstem2= | |
178 | case "$host_os" in | |
179 | solaris*) | |
180 | dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment | |
181 | dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>. | |
182 | dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." | |
183 | dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the | |
184 | dnl symlink is missing, so we set acl_libdirstem2 too. | |
185 | AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], | |
186 | [AC_EGREP_CPP([sixtyfour bits], [ | |
187 | #ifdef _LP64 | |
188 | sixtyfour bits | |
189 | #endif | |
190 | ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) | |
191 | ]) | |
192 | if test $gl_cv_solaris_64bit = yes; then | |
193 | acl_libdirstem=lib/64 | |
194 | case "$host_cpu" in | |
195 | sparc*) acl_libdirstem2=lib/sparcv9 ;; | |
196 | i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; | |
197 | esac | |
198 | fi | |
199 | ;; | |
200 | *) | |
201 | searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` | |
202 | if test -n "$searchpath"; then | |
203 | acl_save_IFS="${IFS= }"; IFS=":" | |
204 | for searchdir in $searchpath; do | |
205 | if test -d "$searchdir"; then | |
206 | case "$searchdir" in | |
207 | */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; | |
208 | */../ | */.. ) | |
209 | # Better ignore directories of this form. They are misleading. | |
210 | ;; | |
211 | *) searchdir=`cd "$searchdir" && pwd` | |
212 | case "$searchdir" in | |
213 | */lib64 ) acl_libdirstem=lib64 ;; | |
214 | esac ;; | |
215 | esac | |
216 | fi | |
217 | done | |
218 | IFS="$acl_save_IFS" | |
219 | fi | |
220 | ;; | |
221 | esac | |
222 | test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" | |
223 | ]) |
0 | # nls.m4 serial 5 (gettext-0.18) | |
1 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, | |
2 | dnl Inc. | |
3 | dnl This file is free software; the Free Software Foundation | |
4 | dnl gives unlimited permission to copy and/or distribute it, | |
5 | dnl with or without modifications, as long as this notice is preserved. | |
6 | dnl | |
7 | dnl This file can can be used in projects which are not available under | |
8 | dnl the GNU General Public License or the GNU Library General Public | |
9 | dnl License but which still want to provide support for the GNU gettext | |
10 | dnl functionality. | |
11 | dnl Please note that the actual code of the GNU gettext library is covered | |
12 | dnl by the GNU Library General Public License, and the rest of the GNU | |
13 | dnl gettext package package is covered by the GNU General Public License. | |
14 | dnl They are *not* in the public domain. | |
15 | ||
16 | dnl Authors: | |
17 | dnl Ulrich Drepper <[email protected]>, 1995-2000. | |
18 | dnl Bruno Haible <[email protected]>, 2000-2003. | |
19 | ||
20 | AC_PREREQ([2.50]) | |
21 | ||
22 | AC_DEFUN([AM_NLS], | |
23 | [ | |
24 | AC_MSG_CHECKING([whether NLS is requested]) | |
25 | dnl Default is enabled NLS | |
26 | AC_ARG_ENABLE([nls], | |
27 | [ --disable-nls do not use Native Language Support], | |
28 | USE_NLS=$enableval, USE_NLS=yes) | |
29 | AC_MSG_RESULT([$USE_NLS]) | |
30 | AC_SUBST([USE_NLS]) | |
31 | ]) |
0 | # po.m4 serial 24 (gettext-0.19) | |
1 | dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | dnl | |
6 | dnl This file can can be used in projects which are not available under | |
7 | dnl the GNU General Public License or the GNU Library General Public | |
8 | dnl License but which still want to provide support for the GNU gettext | |
9 | dnl functionality. | |
10 | dnl Please note that the actual code of the GNU gettext library is covered | |
11 | dnl by the GNU Library General Public License, and the rest of the GNU | |
12 | dnl gettext package package is covered by the GNU General Public License. | |
13 | dnl They are *not* in the public domain. | |
14 | ||
15 | dnl Authors: | |
16 | dnl Ulrich Drepper <[email protected]>, 1995-2000. | |
17 | dnl Bruno Haible <[email protected]>, 2000-2003. | |
18 | ||
19 | AC_PREREQ([2.60]) | |
20 | ||
21 | dnl Checks for all prerequisites of the po subdirectory. | |
22 | AC_DEFUN([AM_PO_SUBDIRS], | |
23 | [ | |
24 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
25 | AC_REQUIRE([AC_PROG_INSTALL])dnl | |
26 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
27 | AC_REQUIRE([AC_PROG_SED])dnl | |
28 | AC_REQUIRE([AM_NLS])dnl | |
29 | ||
30 | dnl Release version of the gettext macros. This is used to ensure that | |
31 | dnl the gettext macros and po/Makefile.in.in are in sync. | |
32 | AC_SUBST([GETTEXT_MACRO_VERSION], [0.19]) | |
33 | ||
34 | dnl Perform the following tests also if --disable-nls has been given, | |
35 | dnl because they are needed for "make dist" to work. | |
36 | ||
37 | dnl Search for GNU msgfmt in the PATH. | |
38 | dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. | |
39 | dnl The second test excludes FreeBSD msgfmt. | |
40 | AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, | |
41 | [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && | |
42 | (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], | |
43 | :) | |
44 | AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) | |
45 | ||
46 | dnl Test whether it is GNU msgfmt >= 0.15. | |
47 | changequote(,)dnl | |
48 | case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
49 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; | |
50 | *) MSGFMT_015=$MSGFMT ;; | |
51 | esac | |
52 | changequote([,])dnl | |
53 | AC_SUBST([MSGFMT_015]) | |
54 | changequote(,)dnl | |
55 | case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
56 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; | |
57 | *) GMSGFMT_015=$GMSGFMT ;; | |
58 | esac | |
59 | changequote([,])dnl | |
60 | AC_SUBST([GMSGFMT_015]) | |
61 | ||
62 | dnl Search for GNU xgettext 0.12 or newer in the PATH. | |
63 | dnl The first test excludes Solaris xgettext and early GNU xgettext versions. | |
64 | dnl The second test excludes FreeBSD xgettext. | |
65 | AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, | |
66 | [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && | |
67 | (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)], | |
68 | :) | |
69 | dnl Remove leftover from FreeBSD xgettext call. | |
70 | rm -f messages.po | |
71 | ||
72 | dnl Test whether it is GNU xgettext >= 0.15. | |
73 | changequote(,)dnl | |
74 | case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |
75 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; | |
76 | *) XGETTEXT_015=$XGETTEXT ;; | |
77 | esac | |
78 | changequote([,])dnl | |
79 | AC_SUBST([XGETTEXT_015]) | |
80 | ||
81 | dnl Search for GNU msgmerge 0.11 or newer in the PATH. | |
82 | AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, | |
83 | [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) | |
84 | ||
85 | dnl Installation directories. | |
86 | dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we | |
87 | dnl have to define it here, so that it can be used in po/Makefile. | |
88 | test -n "$localedir" || localedir='${datadir}/locale' | |
89 | AC_SUBST([localedir]) | |
90 | ||
91 | dnl Support for AM_XGETTEXT_OPTION. | |
92 | test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= | |
93 | AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) | |
94 | ||
95 | AC_CONFIG_COMMANDS([po-directories], [[ | |
96 | for ac_file in $CONFIG_FILES; do | |
97 | # Support "outfile[:infile[:infile...]]" | |
98 | case "$ac_file" in | |
99 | *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |
100 | esac | |
101 | # PO directories have a Makefile.in generated from Makefile.in.in. | |
102 | case "$ac_file" in */Makefile.in) | |
103 | # Adjust a relative srcdir. | |
104 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | |
105 | ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` | |
106 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | |
107 | # In autoconf-2.13 it is called $ac_given_srcdir. | |
108 | # In autoconf-2.50 it is called $srcdir. | |
109 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | |
110 | case "$ac_given_srcdir" in | |
111 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | |
112 | /*) top_srcdir="$ac_given_srcdir" ;; | |
113 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
114 | esac | |
115 | # Treat a directory as a PO directory if and only if it has a | |
116 | # POTFILES.in file. This allows packages to have multiple PO | |
117 | # directories under different names or in different locations. | |
118 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then | |
119 | rm -f "$ac_dir/POTFILES" | |
120 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" | |
121 | gt_tab=`printf '\t'` | |
122 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" | |
123 | POMAKEFILEDEPS="POTFILES.in" | |
124 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | |
125 | # on $ac_dir but don't depend on user-specified configuration | |
126 | # parameters. | |
127 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | |
128 | # The LINGUAS file contains the set of available languages. | |
129 | if test -n "$OBSOLETE_ALL_LINGUAS"; then | |
130 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | |
131 | fi | |
132 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
133 | # Hide the ALL_LINGUAS assignment from automake < 1.5. | |
134 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | |
135 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | |
136 | else | |
137 | # The set of available languages was given in configure.in. | |
138 | # Hide the ALL_LINGUAS assignment from automake < 1.5. | |
139 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' | |
140 | fi | |
141 | # Compute POFILES | |
142 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
143 | # Compute UPDATEPOFILES | |
144 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
145 | # Compute DUMMYPOFILES | |
146 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
147 | # Compute GMOFILES | |
148 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
149 | case "$ac_given_srcdir" in | |
150 | .) srcdirpre= ;; | |
151 | *) srcdirpre='$(srcdir)/' ;; | |
152 | esac | |
153 | POFILES= | |
154 | UPDATEPOFILES= | |
155 | DUMMYPOFILES= | |
156 | GMOFILES= | |
157 | for lang in $ALL_LINGUAS; do | |
158 | POFILES="$POFILES $srcdirpre$lang.po" | |
159 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" | |
160 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" | |
161 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
162 | done | |
163 | # CATALOGS depends on both $ac_dir and the user's LINGUAS | |
164 | # environment variable. | |
165 | INST_LINGUAS= | |
166 | if test -n "$ALL_LINGUAS"; then | |
167 | for presentlang in $ALL_LINGUAS; do | |
168 | useit=no | |
169 | if test "%UNSET%" != "$LINGUAS"; then | |
170 | desiredlanguages="$LINGUAS" | |
171 | else | |
172 | desiredlanguages="$ALL_LINGUAS" | |
173 | fi | |
174 | for desiredlang in $desiredlanguages; do | |
175 | # Use the presentlang catalog if desiredlang is | |
176 | # a. equal to presentlang, or | |
177 | # b. a variant of presentlang (because in this case, | |
178 | # presentlang can be used as a fallback for messages | |
179 | # which are not translated in the desiredlang catalog). | |
180 | case "$desiredlang" in | |
181 | "$presentlang"*) useit=yes;; | |
182 | esac | |
183 | done | |
184 | if test $useit = yes; then | |
185 | INST_LINGUAS="$INST_LINGUAS $presentlang" | |
186 | fi | |
187 | done | |
188 | fi | |
189 | CATALOGS= | |
190 | if test -n "$INST_LINGUAS"; then | |
191 | for lang in $INST_LINGUAS; do | |
192 | CATALOGS="$CATALOGS $lang.gmo" | |
193 | done | |
194 | fi | |
195 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" | |
196 | 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" | |
197 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do | |
198 | if test -f "$f"; then | |
199 | case "$f" in | |
200 | *.orig | *.bak | *~) ;; | |
201 | *) cat "$f" >> "$ac_dir/Makefile" ;; | |
202 | esac | |
203 | fi | |
204 | done | |
205 | fi | |
206 | ;; | |
207 | esac | |
208 | done]], | |
209 | [# Capture the value of obsolete ALL_LINGUAS because we need it to compute | |
210 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it | |
211 | # from automake < 1.5. | |
212 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' | |
213 | # Capture the value of LINGUAS because we need it to compute CATALOGS. | |
214 | LINGUAS="${LINGUAS-%UNSET%}" | |
215 | ]) | |
216 | ]) | |
217 | ||
218 | dnl Postprocesses a Makefile in a directory containing PO files. | |
219 | AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], | |
220 | [ | |
221 | # When this code is run, in config.status, two variables have already been | |
222 | # set: | |
223 | # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, | |
224 | # - LINGUAS is the value of the environment variable LINGUAS at configure | |
225 | # time. | |
226 | ||
227 | changequote(,)dnl | |
228 | # Adjust a relative srcdir. | |
229 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | |
230 | ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` | |
231 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | |
232 | # In autoconf-2.13 it is called $ac_given_srcdir. | |
233 | # In autoconf-2.50 it is called $srcdir. | |
234 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | |
235 | case "$ac_given_srcdir" in | |
236 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | |
237 | /*) top_srcdir="$ac_given_srcdir" ;; | |
238 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
239 | esac | |
240 | ||
241 | # Find a way to echo strings without interpreting backslash. | |
242 | if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then | |
243 | gt_echo='echo' | |
244 | else | |
245 | if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then | |
246 | gt_echo='printf %s\n' | |
247 | else | |
248 | echo_func () { | |
249 | cat <<EOT | |
250 | $* | |
251 | EOT | |
252 | } | |
253 | gt_echo='echo_func' | |
254 | fi | |
255 | fi | |
256 | ||
257 | # A sed script that extracts the value of VARIABLE from a Makefile. | |
258 | tab=`printf '\t'` | |
259 | sed_x_variable=' | |
260 | # Test if the hold space is empty. | |
261 | x | |
262 | s/P/P/ | |
263 | x | |
264 | ta | |
265 | # Yes it was empty. Look if we have the expected variable definition. | |
266 | /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{ | |
267 | # Seen the first line of the variable definition. | |
268 | s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=// | |
269 | ba | |
270 | } | |
271 | bd | |
272 | :a | |
273 | # Here we are processing a line from the variable definition. | |
274 | # Remove comment, more precisely replace it with a space. | |
275 | s/#.*$/ / | |
276 | # See if the line ends in a backslash. | |
277 | tb | |
278 | :b | |
279 | s/\\$// | |
280 | # Print the line, without the trailing backslash. | |
281 | p | |
282 | tc | |
283 | # There was no trailing backslash. The end of the variable definition is | |
284 | # reached. Clear the hold space. | |
285 | s/^.*$// | |
286 | x | |
287 | bd | |
288 | :c | |
289 | # A trailing backslash means that the variable definition continues in the | |
290 | # next line. Put a nonempty string into the hold space to indicate this. | |
291 | s/^.*$/P/ | |
292 | x | |
293 | :d | |
294 | ' | |
295 | changequote([,])dnl | |
296 | ||
297 | # Set POTFILES to the value of the Makefile variable POTFILES. | |
298 | sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` | |
299 | POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` | |
300 | # Compute POTFILES_DEPS as | |
301 | # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) | |
302 | POTFILES_DEPS= | |
303 | for file in $POTFILES; do | |
304 | POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" | |
305 | done | |
306 | POMAKEFILEDEPS="" | |
307 | ||
308 | if test -n "$OBSOLETE_ALL_LINGUAS"; then | |
309 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | |
310 | fi | |
311 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | |
312 | # The LINGUAS file contains the set of available languages. | |
313 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
314 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | |
315 | else | |
316 | # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. | |
317 | sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` | |
318 | ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` | |
319 | fi | |
320 | # Hide the ALL_LINGUAS assignment from automake < 1.5. | |
321 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | |
322 | # Compute POFILES | |
323 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
324 | # Compute UPDATEPOFILES | |
325 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
326 | # Compute DUMMYPOFILES | |
327 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
328 | # Compute GMOFILES | |
329 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
330 | # Compute PROPERTIESFILES | |
331 | # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) | |
332 | # Compute CLASSFILES | |
333 | # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) | |
334 | # Compute QMFILES | |
335 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) | |
336 | # Compute MSGFILES | |
337 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) | |
338 | # Compute RESOURCESDLLFILES | |
339 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) | |
340 | case "$ac_given_srcdir" in | |
341 | .) srcdirpre= ;; | |
342 | *) srcdirpre='$(srcdir)/' ;; | |
343 | esac | |
344 | POFILES= | |
345 | UPDATEPOFILES= | |
346 | DUMMYPOFILES= | |
347 | GMOFILES= | |
348 | PROPERTIESFILES= | |
349 | CLASSFILES= | |
350 | QMFILES= | |
351 | MSGFILES= | |
352 | RESOURCESDLLFILES= | |
353 | for lang in $ALL_LINGUAS; do | |
354 | POFILES="$POFILES $srcdirpre$lang.po" | |
355 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" | |
356 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" | |
357 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
358 | PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" | |
359 | CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" | |
360 | QMFILES="$QMFILES $srcdirpre$lang.qm" | |
361 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
362 | MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" | |
363 | 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/'` | |
364 | RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" | |
365 | done | |
366 | # CATALOGS depends on both $ac_dir and the user's LINGUAS | |
367 | # environment variable. | |
368 | INST_LINGUAS= | |
369 | if test -n "$ALL_LINGUAS"; then | |
370 | for presentlang in $ALL_LINGUAS; do | |
371 | useit=no | |
372 | if test "%UNSET%" != "$LINGUAS"; then | |
373 | desiredlanguages="$LINGUAS" | |
374 | else | |
375 | desiredlanguages="$ALL_LINGUAS" | |
376 | fi | |
377 | for desiredlang in $desiredlanguages; do | |
378 | # Use the presentlang catalog if desiredlang is | |
379 | # a. equal to presentlang, or | |
380 | # b. a variant of presentlang (because in this case, | |
381 | # presentlang can be used as a fallback for messages | |
382 | # which are not translated in the desiredlang catalog). | |
383 | case "$desiredlang" in | |
384 | "$presentlang"*) useit=yes;; | |
385 | esac | |
386 | done | |
387 | if test $useit = yes; then | |
388 | INST_LINGUAS="$INST_LINGUAS $presentlang" | |
389 | fi | |
390 | done | |
391 | fi | |
392 | CATALOGS= | |
393 | JAVACATALOGS= | |
394 | QTCATALOGS= | |
395 | TCLCATALOGS= | |
396 | CSHARPCATALOGS= | |
397 | if test -n "$INST_LINGUAS"; then | |
398 | for lang in $INST_LINGUAS; do | |
399 | CATALOGS="$CATALOGS $lang.gmo" | |
400 | JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" | |
401 | QTCATALOGS="$QTCATALOGS $lang.qm" | |
402 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
403 | TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" | |
404 | 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/'` | |
405 | CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" | |
406 | done | |
407 | fi | |
408 | ||
409 | 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" | |
410 | tab=`printf '\t'` | |
411 | if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then | |
412 | # Add dependencies that cannot be formulated as a simple suffix rule. | |
413 | for lang in $ALL_LINGUAS; do | |
414 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
415 | cat >> "$ac_file.tmp" <<EOF | |
416 | $frobbedlang.msg: $lang.po | |
417 | ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ | |
418 | ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } | |
419 | EOF | |
420 | done | |
421 | fi | |
422 | if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then | |
423 | # Add dependencies that cannot be formulated as a simple suffix rule. | |
424 | for lang in $ALL_LINGUAS; do | |
425 | 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/'` | |
426 | cat >> "$ac_file.tmp" <<EOF | |
427 | $frobbedlang/\$(DOMAIN).resources.dll: $lang.po | |
428 | ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ | |
429 | ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } | |
430 | EOF | |
431 | done | |
432 | fi | |
433 | if test -n "$POMAKEFILEDEPS"; then | |
434 | cat >> "$ac_file.tmp" <<EOF | |
435 | Makefile: $POMAKEFILEDEPS | |
436 | EOF | |
437 | fi | |
438 | mv "$ac_file.tmp" "$ac_file" | |
439 | ]) | |
440 | ||
441 | dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. | |
442 | AC_DEFUN([AM_XGETTEXT_OPTION_INIT], | |
443 | [ | |
444 | XGETTEXT_EXTRA_OPTIONS= | |
445 | ]) | |
446 | ||
447 | dnl Registers an option to be passed to xgettext in the po subdirectory. | |
448 | AC_DEFUN([AM_XGETTEXT_OPTION], | |
449 | [ | |
450 | AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) | |
451 | XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" | |
452 | ]) |
0 | # progtest.m4 serial 7 (gettext-0.18.2) | |
1 | dnl Copyright (C) 1996-2003, 2005, 2008-2015 Free Software Foundation, Inc. | |
2 | dnl This file is free software; the Free Software Foundation | |
3 | dnl gives unlimited permission to copy and/or distribute it, | |
4 | dnl with or without modifications, as long as this notice is preserved. | |
5 | dnl | |
6 | dnl This file can can be used in projects which are not available under | |
7 | dnl the GNU General Public License or the GNU Library General Public | |
8 | dnl License but which still want to provide support for the GNU gettext | |
9 | dnl functionality. | |
10 | dnl Please note that the actual code of the GNU gettext library is covered | |
11 | dnl by the GNU Library General Public License, and the rest of the GNU | |
12 | dnl gettext package package is covered by the GNU General Public License. | |
13 | dnl They are *not* in the public domain. | |
14 | ||
15 | dnl Authors: | |
16 | dnl Ulrich Drepper <[email protected]>, 1996. | |
17 | ||
18 | AC_PREREQ([2.50]) | |
19 | ||
20 | # Search path for a program which passes the given test. | |
21 | ||
22 | dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, | |
23 | dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) | |
24 | AC_DEFUN([AM_PATH_PROG_WITH_TEST], | |
25 | [ | |
26 | # Prepare PATH_SEPARATOR. | |
27 | # The user is always right. | |
28 | if test "${PATH_SEPARATOR+set}" != set; then | |
29 | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |
30 | # contains only /bin. Note that ksh looks also at the FPATH variable, | |
31 | # so we have to set that as well for the test. | |
32 | PATH_SEPARATOR=: | |
33 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
34 | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |
35 | || PATH_SEPARATOR=';' | |
36 | } | |
37 | fi | |
38 | ||
39 | # Find out how to test for executable files. Don't use a zero-byte file, | |
40 | # as systems may use methods other than mode bits to determine executability. | |
41 | cat >conf$$.file <<_ASEOF | |
42 | #! /bin/sh | |
43 | exit 0 | |
44 | _ASEOF | |
45 | chmod +x conf$$.file | |
46 | if test -x conf$$.file >/dev/null 2>&1; then | |
47 | ac_executable_p="test -x" | |
48 | else | |
49 | ac_executable_p="test -f" | |
50 | fi | |
51 | rm -f conf$$.file | |
52 | ||
53 | # Extract the first word of "$2", so it can be a program name with args. | |
54 | set dummy $2; ac_word=[$]2 | |
55 | AC_MSG_CHECKING([for $ac_word]) | |
56 | AC_CACHE_VAL([ac_cv_path_$1], | |
57 | [case "[$]$1" in | |
58 | [[\\/]]* | ?:[[\\/]]*) | |
59 | ac_cv_path_$1="[$]$1" # Let the user override the test with a path. | |
60 | ;; | |
61 | *) | |
62 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR | |
63 | for ac_dir in ifelse([$5], , $PATH, [$5]); do | |
64 | IFS="$ac_save_IFS" | |
65 | test -z "$ac_dir" && ac_dir=. | |
66 | for ac_exec_ext in '' $ac_executable_extensions; do | |
67 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then | |
68 | echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD | |
69 | if [$3]; then | |
70 | ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" | |
71 | break 2 | |
72 | fi | |
73 | fi | |
74 | done | |
75 | done | |
76 | IFS="$ac_save_IFS" | |
77 | dnl If no 4th arg is given, leave the cache variable unset, | |
78 | dnl so AC_PATH_PROGS will keep looking. | |
79 | ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" | |
80 | ])dnl | |
81 | ;; | |
82 | esac])dnl | |
83 | $1="$ac_cv_path_$1" | |
84 | if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then | |
85 | AC_MSG_RESULT([$][$1]) | |
86 | else | |
87 | AC_MSG_RESULT([no]) | |
88 | fi | |
89 | AC_SUBST([$1])dnl | |
90 | ]) |
0 | # Makefile for program source directory in GNU NLS utilities package. | |
1 | # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <[email protected]> | |
2 | # Copyright (C) 2004-2008 Rodney Dawes <[email protected]> | |
0 | # Makefile for PO directory in any package using GNU gettext. | |
1 | # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <[email protected]> | |
3 | 2 | # |
4 | # This file may be copied and used freely without restrictions. It may | |
5 | # be used in projects which are not available under a GNU Public License, | |
6 | # but which still want to provide support for the GNU gettext functionality. | |
3 | # Copying and distribution of this file, with or without modification, | |
4 | # are permitted in any medium without royalty provided the copyright | |
5 | # notice and this notice are preserved. This file is offered as-is, | |
6 | # without any warranty. | |
7 | 7 | # |
8 | # - Modified by Owen Taylor <[email protected]> to use GETTEXT_PACKAGE | |
9 | # instead of PACKAGE and to look for po2tbl in ./ not in intl/ | |
10 | # | |
11 | # - Modified by jacob berkman <[email protected]> to install | |
12 | # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize | |
13 | # | |
14 | # - Modified by Rodney Dawes <[email protected]> for use with intltool | |
15 | # | |
16 | # We have the following line for use by intltoolize: | |
17 | # INTLTOOL_MAKEFILE | |
18 | ||
19 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ | |
8 | # Origin: gettext-0.19.6 | |
9 | GETTEXT_MACRO_VERSION = 0.19 | |
10 | ||
20 | 11 | PACKAGE = @PACKAGE@ |
21 | 12 | VERSION = @VERSION@ |
22 | ||
23 | SHELL = @SHELL@ | |
13 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
14 | ||
15 | SED = @SED@ | |
16 | SHELL = /bin/sh | |
17 | @SET_MAKE@ | |
24 | 18 | |
25 | 19 | srcdir = @srcdir@ |
26 | 20 | top_srcdir = @top_srcdir@ |
27 | top_builddir = @top_builddir@ | |
28 | 21 | VPATH = @srcdir@ |
29 | 22 | |
30 | 23 | prefix = @prefix@ |
31 | 24 | exec_prefix = @exec_prefix@ |
25 | datarootdir = @datarootdir@ | |
32 | 26 | datadir = @datadir@ |
33 | datarootdir = @datarootdir@ | |
34 | libdir = @libdir@ | |
35 | 27 | localedir = @localedir@ |
36 | subdir = po | |
37 | install_sh = @install_sh@ | |
38 | # Automake >= 1.8 provides @mkdir_p@. | |
39 | # Until it can be supposed, use the safe fallback: | |
40 | mkdir_p = $(install_sh) -d | |
28 | gettextsrcdir = $(datadir)/gettext/po | |
41 | 29 | |
42 | 30 | INSTALL = @INSTALL@ |
43 | 31 | INSTALL_DATA = @INSTALL_DATA@ |
44 | 32 | |
45 | GMSGFMT = @GMSGFMT@ | |
46 | MSGFMT = @MSGFMT@ | |
47 | XGETTEXT = @XGETTEXT@ | |
48 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
49 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
50 | MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist | |
51 | GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot | |
52 | ||
53 | ALL_LINGUAS = @ALL_LINGUAS@ | |
54 | ||
55 | PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) | |
56 | ||
57 | USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) | |
58 | ||
59 | USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) | |
60 | ||
61 | POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) | |
62 | ||
63 | DISTFILES = Makefile.in.in POTFILES.in $(POFILES) | |
64 | EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS | |
33 | # We use $(mkdir_p). | |
34 | # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as | |
35 | # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, | |
36 | # @install_sh@ does not start with $(SHELL), so we add it. | |
37 | # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined | |
38 | # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake | |
39 | # versions, $(mkinstalldirs) and $(install_sh) are unused. | |
40 | mkinstalldirs = $(SHELL) @install_sh@ -d | |
41 | install_sh = $(SHELL) @install_sh@ | |
42 | MKDIR_P = @MKDIR_P@ | |
43 | mkdir_p = @mkdir_p@ | |
44 | ||
45 | GMSGFMT_ = @GMSGFMT@ | |
46 | GMSGFMT_no = @GMSGFMT@ | |
47 | GMSGFMT_yes = @GMSGFMT_015@ | |
48 | GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) | |
49 | MSGFMT_ = @MSGFMT@ | |
50 | MSGFMT_no = @MSGFMT@ | |
51 | MSGFMT_yes = @MSGFMT_015@ | |
52 | MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) | |
53 | XGETTEXT_ = @XGETTEXT@ | |
54 | XGETTEXT_no = @XGETTEXT@ | |
55 | XGETTEXT_yes = @XGETTEXT_015@ | |
56 | XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) | |
57 | MSGMERGE = msgmerge | |
58 | MSGMERGE_UPDATE = @MSGMERGE@ --update | |
59 | MSGINIT = msginit | |
60 | MSGCONV = msgconv | |
61 | MSGFILTER = msgfilter | |
62 | ||
63 | POFILES = @POFILES@ | |
64 | GMOFILES = @GMOFILES@ | |
65 | UPDATEPOFILES = @UPDATEPOFILES@ | |
66 | DUMMYPOFILES = @DUMMYPOFILES@ | |
67 | DISTFILES.common = Makefile.in.in remove-potcdate.sin \ | |
68 | $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) | |
69 | DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ | |
70 | $(POFILES) $(GMOFILES) \ | |
71 | $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) | |
65 | 72 | |
66 | 73 | POTFILES = \ |
67 | # This comment gets stripped out | |
68 | ||
69 | CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) | |
74 | ||
75 | CATALOGS = @CATALOGS@ | |
76 | ||
77 | POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot | |
78 | POFILESDEPS_yes = $(POFILESDEPS_) | |
79 | POFILESDEPS_no = | |
80 | POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) | |
81 | ||
82 | DISTFILESDEPS_ = update-po | |
83 | DISTFILESDEPS_yes = $(DISTFILESDEPS_) | |
84 | DISTFILESDEPS_no = | |
85 | DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) | |
86 | ||
87 | # Makevars gets inserted here. (Don't remove this line!) | |
70 | 88 | |
71 | 89 | .SUFFIXES: |
72 | .SUFFIXES: .po .pox .gmo .mo .msg .cat | |
73 | ||
74 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
75 | INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) | |
76 | INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) | |
77 | INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; | |
78 | ||
79 | .po.pox: | |
80 | $(MAKE) $(GETTEXT_PACKAGE).pot | |
81 | $(MSGMERGE) $* $(GETTEXT_PACKAGE).pot -o $*.pox | |
90 | .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update | |
82 | 91 | |
83 | 92 | .po.mo: |
84 | $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< | |
93 | @echo "$(MSGFMT) -c -o $@ $<"; \ | |
94 | $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ | |
85 | 95 | |
86 | 96 | .po.gmo: |
87 | $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ | |
88 | && rm -f $$file && $(GMSGFMT) -o $$file $< | |
89 | ||
90 | .po.cat: | |
91 | sed -f ../intl/po2msg.sed < $< > $*.msg \ | |
92 | && rm -f $@ && gencat $@ $*.msg | |
97 | @lang=`echo $* | sed -e 's,.*/,,'`; \ | |
98 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | |
99 | echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ | |
100 | cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo | |
101 | ||
102 | .sin.sed: | |
103 | sed -e '/^#/d' $< > t-$@ | |
104 | mv t-$@ $@ | |
93 | 105 | |
94 | 106 | |
95 | 107 | all: all-@USE_NLS@ |
96 | 108 | |
97 | all-yes: $(CATALOGS) | |
109 | all-yes: stamp-po | |
98 | 110 | all-no: |
99 | 111 | |
100 | $(GETTEXT_PACKAGE).pot: $(POTFILES) | |
101 | $(GENPOT) | |
102 | ||
103 | install: install-data | |
112 | # Ensure that the gettext macros and this Makefile.in.in are in sync. | |
113 | CHECK_MACRO_VERSION = \ | |
114 | test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ | |
115 | || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ | |
116 | exit 1; \ | |
117 | } | |
118 | ||
119 | # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no | |
120 | # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because | |
121 | # we don't want to bother translators with empty POT files). We assume that | |
122 | # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. | |
123 | # In this case, stamp-po is a nop (i.e. a phony target). | |
124 | ||
125 | # stamp-po is a timestamp denoting the last time at which the CATALOGS have | |
126 | # been loosely updated. Its purpose is that when a developer or translator | |
127 | # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, | |
128 | # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent | |
129 | # invocations of "make" will do nothing. This timestamp would not be necessary | |
130 | # if updating the $(CATALOGS) would always touch them; however, the rule for | |
131 | # $(POFILES) has been designed to not touch files that don't need to be | |
132 | # changed. | |
133 | stamp-po: $(srcdir)/$(DOMAIN).pot | |
134 | @$(CHECK_MACRO_VERSION) | |
135 | test ! -f $(srcdir)/$(DOMAIN).pot || \ | |
136 | test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) | |
137 | @test ! -f $(srcdir)/$(DOMAIN).pot || { \ | |
138 | echo "touch stamp-po" && \ | |
139 | echo timestamp > stamp-poT && \ | |
140 | mv stamp-poT stamp-po; \ | |
141 | } | |
142 | ||
143 | # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', | |
144 | # otherwise packages like GCC can not be built if only parts of the source | |
145 | # have been downloaded. | |
146 | ||
147 | # This target rebuilds $(DOMAIN).pot; it is an expensive operation. | |
148 | # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. | |
149 | # The determination of whether the package xyz is a GNU one is based on the | |
150 | # heuristic whether some file in the top level directory mentions "GNU xyz". | |
151 | # If GNU 'find' is available, we avoid grepping through monster files. | |
152 | $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed | |
153 | package_gnu="$(PACKAGE_GNU)"; \ | |
154 | test -n "$$package_gnu" || { \ | |
155 | if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ | |
156 | LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ | |
157 | -size -10000000c -exec grep 'GNU @PACKAGE@' \ | |
158 | /dev/null '{}' ';' 2>/dev/null; \ | |
159 | else \ | |
160 | LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ | |
161 | fi; \ | |
162 | } | grep -v 'libtool:' >/dev/null; then \ | |
163 | package_gnu=yes; \ | |
164 | else \ | |
165 | package_gnu=no; \ | |
166 | fi; \ | |
167 | }; \ | |
168 | if test "$$package_gnu" = "yes"; then \ | |
169 | package_prefix='GNU '; \ | |
170 | else \ | |
171 | package_prefix=''; \ | |
172 | fi; \ | |
173 | if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ | |
174 | msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ | |
175 | else \ | |
176 | msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ | |
177 | fi; \ | |
178 | case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ | |
179 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ | |
180 | $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ | |
181 | --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ | |
182 | --files-from=$(srcdir)/POTFILES.in \ | |
183 | --copyright-holder='$(COPYRIGHT_HOLDER)' \ | |
184 | --msgid-bugs-address="$$msgid_bugs_address" \ | |
185 | ;; \ | |
186 | *) \ | |
187 | $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ | |
188 | --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ | |
189 | --files-from=$(srcdir)/POTFILES.in \ | |
190 | --copyright-holder='$(COPYRIGHT_HOLDER)' \ | |
191 | --package-name="$${package_prefix}@PACKAGE@" \ | |
192 | --package-version='@VERSION@' \ | |
193 | --msgid-bugs-address="$$msgid_bugs_address" \ | |
194 | ;; \ | |
195 | esac | |
196 | test ! -f $(DOMAIN).po || { \ | |
197 | if test -f $(srcdir)/$(DOMAIN).pot-header; then \ | |
198 | sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ | |
199 | cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po; \ | |
200 | rm -f $(DOMAIN).1po; \ | |
201 | fi; \ | |
202 | if test -f $(srcdir)/$(DOMAIN).pot; then \ | |
203 | sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ | |
204 | sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ | |
205 | if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ | |
206 | rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ | |
207 | else \ | |
208 | rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ | |
209 | mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ | |
210 | fi; \ | |
211 | else \ | |
212 | mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ | |
213 | fi; \ | |
214 | } | |
215 | ||
216 | # This rule has no dependencies: we don't need to update $(DOMAIN).pot at | |
217 | # every "make" invocation, only create it when it is missing. | |
218 | # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. | |
219 | $(srcdir)/$(DOMAIN).pot: | |
220 | $(MAKE) $(DOMAIN).pot-update | |
221 | ||
222 | # This target rebuilds a PO file if $(DOMAIN).pot has changed. | |
223 | # Note that a PO file is not touched if it doesn't need to be changed. | |
224 | $(POFILES): $(POFILESDEPS) | |
225 | @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ | |
226 | if test -f "$(srcdir)/$${lang}.po"; then \ | |
227 | test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ | |
228 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | |
229 | echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ | |
230 | cd $(srcdir) \ | |
231 | && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ | |
232 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ | |
233 | $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ | |
234 | *) \ | |
235 | $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ | |
236 | esac; \ | |
237 | }; \ | |
238 | else \ | |
239 | $(MAKE) $${lang}.po-create; \ | |
240 | fi | |
241 | ||
242 | ||
243 | install: install-exec install-data | |
244 | install-exec: | |
104 | 245 | install-data: install-data-@USE_NLS@ |
246 | if test "$(PACKAGE)" = "gettext-tools"; then \ | |
247 | $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ | |
248 | for file in $(DISTFILES.common) Makevars.template; do \ | |
249 | $(INSTALL_DATA) $(srcdir)/$$file \ | |
250 | $(DESTDIR)$(gettextsrcdir)/$$file; \ | |
251 | done; \ | |
252 | for file in Makevars; do \ | |
253 | rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ | |
254 | done; \ | |
255 | else \ | |
256 | : ; \ | |
257 | fi | |
105 | 258 | install-data-no: all |
106 | 259 | install-data-yes: all |
107 | linguas="$(USE_LINGUAS)"; \ | |
108 | for lang in $$linguas; do \ | |
109 | dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ | |
110 | $(mkdir_p) $$dir; \ | |
111 | if test -r $$lang.gmo; then \ | |
112 | $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ | |
113 | echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ | |
114 | else \ | |
115 | $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ | |
116 | echo "installing $(srcdir)/$$lang.gmo as" \ | |
117 | "$$dir/$(GETTEXT_PACKAGE).mo"; \ | |
118 | fi; \ | |
119 | if test -r $$lang.gmo.m; then \ | |
120 | $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ | |
121 | echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ | |
122 | else \ | |
123 | if test -r $(srcdir)/$$lang.gmo.m ; then \ | |
124 | $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ | |
125 | $$dir/$(GETTEXT_PACKAGE).mo.m; \ | |
126 | echo "installing $(srcdir)/$$lang.gmo.m as" \ | |
127 | "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ | |
128 | else \ | |
129 | true; \ | |
260 | @catalogs='$(CATALOGS)'; \ | |
261 | for cat in $$catalogs; do \ | |
262 | cat=`basename $$cat`; \ | |
263 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | |
264 | dir=$(localedir)/$$lang/LC_MESSAGES; \ | |
265 | $(mkdir_p) $(DESTDIR)$$dir; \ | |
266 | if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ | |
267 | $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ | |
268 | echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ | |
269 | for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ | |
270 | if test -n "$$lc"; then \ | |
271 | if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ | |
272 | link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ | |
273 | mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | |
274 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
275 | (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ | |
276 | for file in *; do \ | |
277 | if test -f $$file; then \ | |
278 | ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ | |
279 | fi; \ | |
280 | done); \ | |
281 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | |
282 | else \ | |
283 | if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ | |
284 | :; \ | |
285 | else \ | |
286 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
287 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
288 | fi; \ | |
289 | fi; \ | |
290 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | |
291 | ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ | |
292 | ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ | |
293 | cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | |
294 | echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ | |
130 | 295 | fi; \ |
131 | fi; \ | |
296 | done; \ | |
132 | 297 | done |
133 | 298 | |
134 | # Empty stubs to satisfy archaic automake needs | |
135 | dvi info ctags tags CTAGS TAGS ID: | |
299 | install-strip: install | |
300 | ||
301 | installdirs: installdirs-exec installdirs-data | |
302 | installdirs-exec: | |
303 | installdirs-data: installdirs-data-@USE_NLS@ | |
304 | if test "$(PACKAGE)" = "gettext-tools"; then \ | |
305 | $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ | |
306 | else \ | |
307 | : ; \ | |
308 | fi | |
309 | installdirs-data-no: | |
310 | installdirs-data-yes: | |
311 | @catalogs='$(CATALOGS)'; \ | |
312 | for cat in $$catalogs; do \ | |
313 | cat=`basename $$cat`; \ | |
314 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | |
315 | dir=$(localedir)/$$lang/LC_MESSAGES; \ | |
316 | $(mkdir_p) $(DESTDIR)$$dir; \ | |
317 | for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ | |
318 | if test -n "$$lc"; then \ | |
319 | if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ | |
320 | link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ | |
321 | mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | |
322 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
323 | (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ | |
324 | for file in *; do \ | |
325 | if test -f $$file; then \ | |
326 | ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ | |
327 | fi; \ | |
328 | done); \ | |
329 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | |
330 | else \ | |
331 | if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ | |
332 | :; \ | |
333 | else \ | |
334 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
335 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | |
336 | fi; \ | |
337 | fi; \ | |
338 | fi; \ | |
339 | done; \ | |
340 | done | |
136 | 341 | |
137 | 342 | # Define this as empty until I found a useful application. |
138 | install-exec installcheck: | |
139 | ||
140 | uninstall: | |
141 | linguas="$(USE_LINGUAS)"; \ | |
142 | for lang in $$linguas; do \ | |
143 | rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ | |
144 | rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ | |
343 | installcheck: | |
344 | ||
345 | uninstall: uninstall-exec uninstall-data | |
346 | uninstall-exec: | |
347 | uninstall-data: uninstall-data-@USE_NLS@ | |
348 | if test "$(PACKAGE)" = "gettext-tools"; then \ | |
349 | for file in $(DISTFILES.common) Makevars.template; do \ | |
350 | rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ | |
351 | done; \ | |
352 | else \ | |
353 | : ; \ | |
354 | fi | |
355 | uninstall-data-no: | |
356 | uninstall-data-yes: | |
357 | catalogs='$(CATALOGS)'; \ | |
358 | for cat in $$catalogs; do \ | |
359 | cat=`basename $$cat`; \ | |
360 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | |
361 | for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ | |
362 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | |
363 | done; \ | |
145 | 364 | done |
146 | 365 | |
147 | check: all $(GETTEXT_PACKAGE).pot | |
148 | rm -f missing notexist | |
149 | srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m | |
150 | if [ -r missing -o -r notexist ]; then \ | |
151 | exit 1; \ | |
152 | fi | |
366 | check: all | |
367 | ||
368 | info dvi ps pdf html tags TAGS ctags CTAGS ID: | |
153 | 369 | |
154 | 370 | mostlyclean: |
155 | rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp | |
156 | rm -f .intltool-merge-cache | |
371 | rm -f remove-potcdate.sed | |
372 | rm -f stamp-poT | |
373 | rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po | |
374 | rm -fr *.o | |
157 | 375 | |
158 | 376 | clean: mostlyclean |
159 | 377 | |
160 | 378 | distclean: clean |
161 | rm -f Makefile Makefile.in POTFILES stamp-it | |
162 | rm -f *.mo *.msg *.cat *.cat.m *.gmo | |
379 | rm -f Makefile Makefile.in POTFILES *.mo | |
163 | 380 | |
164 | 381 | maintainer-clean: distclean |
165 | 382 | @echo "This command is intended for maintainers to use;" |
166 | 383 | @echo "it deletes files that may require special tools to rebuild." |
167 | rm -f Makefile.in.in | |
168 | ||
169 | distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) | |
170 | dist distdir: $(DISTFILES) | |
384 | rm -f stamp-po $(GMOFILES) | |
385 | ||
386 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
387 | dist distdir: | |
388 | test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) | |
389 | @$(MAKE) dist2 | |
390 | # This is a separate target because 'update-po' must be executed before. | |
391 | dist2: stamp-po $(DISTFILES) | |
171 | 392 | dists="$(DISTFILES)"; \ |
172 | extra_dists="$(EXTRA_DISTFILES)"; \ | |
173 | for file in $$extra_dists; do \ | |
174 | test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ | |
393 | if test "$(PACKAGE)" = "gettext-tools"; then \ | |
394 | dists="$$dists Makevars.template"; \ | |
395 | fi; \ | |
396 | if test -f $(srcdir)/$(DOMAIN).pot; then \ | |
397 | dists="$$dists $(DOMAIN).pot stamp-po"; \ | |
398 | fi; \ | |
399 | if test -f $(srcdir)/ChangeLog; then \ | |
400 | dists="$$dists ChangeLog"; \ | |
401 | fi; \ | |
402 | for i in 0 1 2 3 4 5 6 7 8 9; do \ | |
403 | if test -f $(srcdir)/ChangeLog.$$i; then \ | |
404 | dists="$$dists ChangeLog.$$i"; \ | |
405 | fi; \ | |
175 | 406 | done; \ |
407 | if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ | |
176 | 408 | for file in $$dists; do \ |
177 | test -f $$file || file="$(srcdir)/$$file"; \ | |
178 | ln $$file $(distdir) 2> /dev/null \ | |
179 | || cp -p $$file $(distdir); \ | |
180 | done | |
181 | ||
182 | update-po: Makefile | |
183 | $(MAKE) $(GETTEXT_PACKAGE).pot | |
184 | tmpdir=`pwd`; \ | |
185 | linguas="$(USE_LINGUAS)"; \ | |
186 | for lang in $$linguas; do \ | |
187 | echo "$$lang:"; \ | |
188 | result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ | |
189 | if $$result; then \ | |
190 | if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | |
191 | rm -f $$tmpdir/$$lang.new.po; \ | |
192 | else \ | |
193 | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | |
194 | :; \ | |
195 | else \ | |
196 | echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ | |
197 | rm -f $$tmpdir/$$lang.new.po; \ | |
198 | exit 1; \ | |
199 | fi; \ | |
200 | fi; \ | |
409 | if test -f $$file; then \ | |
410 | cp -p $$file $(distdir) || exit 1; \ | |
201 | 411 | else \ |
202 | echo "msgmerge for $$lang.gmo failed!"; \ | |
203 | rm -f $$tmpdir/$$lang.new.po; \ | |
412 | cp -p $(srcdir)/$$file $(distdir) || exit 1; \ | |
204 | 413 | fi; \ |
205 | 414 | done |
206 | 415 | |
207 | Makefile POTFILES: stamp-it | |
208 | @if test ! -f $@; then \ | |
209 | rm -f stamp-it; \ | |
210 | $(MAKE) stamp-it; \ | |
416 | update-po: Makefile | |
417 | $(MAKE) $(DOMAIN).pot-update | |
418 | test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) | |
419 | $(MAKE) update-gmo | |
420 | ||
421 | # General rule for creating PO files. | |
422 | ||
423 | .nop.po-create: | |
424 | @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ | |
425 | echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ | |
426 | exit 1 | |
427 | ||
428 | # General rule for updating PO files. | |
429 | ||
430 | .nop.po-update: | |
431 | @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ | |
432 | if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ | |
433 | tmpdir=`pwd`; \ | |
434 | echo "$$lang:"; \ | |
435 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | |
436 | echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ | |
437 | cd $(srcdir); \ | |
438 | if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ | |
439 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ | |
440 | $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ | |
441 | *) \ | |
442 | $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ | |
443 | esac; \ | |
444 | }; then \ | |
445 | if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | |
446 | rm -f $$tmpdir/$$lang.new.po; \ | |
447 | else \ | |
448 | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | |
449 | :; \ | |
450 | else \ | |
451 | echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ | |
452 | exit 1; \ | |
453 | fi; \ | |
454 | fi; \ | |
455 | else \ | |
456 | echo "msgmerge for $$lang.po failed!" 1>&2; \ | |
457 | rm -f $$tmpdir/$$lang.new.po; \ | |
211 | 458 | fi |
212 | 459 | |
213 | stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in | |
460 | $(DUMMYPOFILES): | |
461 | ||
462 | update-gmo: Makefile $(GMOFILES) | |
463 | @: | |
464 | ||
465 | # Recreate Makefile by invoking config.status. Explicitly invoke the shell, | |
466 | # because execution permission bits may not work on the current file system. | |
467 | # Use @SHELL@, which is the shell determined by autoconf for the use by its | |
468 | # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. | |
469 | Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ | |
214 | 470 | cd $(top_builddir) \ |
215 | && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ | |
216 | $(SHELL) ./config.status | |
471 | && @SHELL@ ./config.status $(subdir)/[email protected] po-directories | |
472 | ||
473 | force: | |
217 | 474 | |
218 | 475 | # Tell versions [3.59,3.63) of GNU make not to export all variables. |
219 | 476 | # Otherwise a system limit (for SysV at least) may be exceeded. |
0 | # Makefile variables for PO directory in any package using GNU gettext. | |
1 | ||
2 | # Usually the message domain is the same as the package name. | |
3 | DOMAIN = $(PACKAGE) | |
4 | ||
5 | # These two variables depend on the location of this directory. | |
6 | subdir = po | |
7 | top_builddir = .. | |
8 | ||
9 | # These options get passed to xgettext. | |
10 | XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ \ | |
11 | --keyword=C_:1c,2 --keyword=NC_:1c,2 \ | |
12 | --keyword=g_dngettext:2,3 \ | |
13 | --flag=g_dngettext:2:pass-c-format \ | |
14 | --flag=g_strdup_printf:1:c-format \ | |
15 | --flag=g_string_printf:2:c-format \ | |
16 | --flag=g_string_append_printf:2:c-format \ | |
17 | --flag=g_error_new:3:c-format \ | |
18 | --flag=g_set_error:4:c-format \ | |
19 | --flag=g_markup_printf_escaped:1:c-format \ | |
20 | --flag=g_log:3:c-format \ | |
21 | --flag=g_print:1:c-format \ | |
22 | --flag=g_printerr:1:c-format \ | |
23 | --flag=g_printf:1:c-format \ | |
24 | --flag=g_fprintf:2:c-format \ | |
25 | --flag=g_sprintf:2:c-format \ | |
26 | --flag=g_snprintf:3:c-format | |
27 | ||
28 | ||
29 | # This is the copyright holder that gets inserted into the header of the | |
30 | # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding | |
31 | # package. (Note that the msgstr strings, extracted from the package's | |
32 | # sources, belong to the copyright holder of the package.) Translators are | |
33 | # expected to transfer the copyright for their translations to this person | |
34 | # or entity, or to disclaim their copyright. The empty string stands for | |
35 | # the public domain; in this case the translators are expected to disclaim | |
36 | # their copyright. | |
37 | COPYRIGHT_HOLDER = Translation copyright holder | |
38 | # This is the email address or URL to which the translators shall report | |
39 | # bugs in the untranslated strings: | |
40 | # - Strings which are not entire sentences, see the maintainer guidelines | |
41 | # in the GNU gettext documentation, section 'Preparing Strings'. | |
42 | # - Strings which use unclear terms or require additional context to be | |
43 | # understood. | |
44 | # - Strings which make invalid assumptions about notation of date, time or | |
45 | # money. | |
46 | # - Pluralisation problems. | |
47 | # - Incorrect English spelling. | |
48 | # - Incorrect formatting. | |
49 | # It can be your email address, or a mailing list address where translators | |
50 | # can write to without being subscribed, or the URL of a web page through | |
51 | # which the translators can contact you. | |
52 | MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions | |
53 | ||
54 | # This is the list of locale categories, beyond LC_MESSAGES, for which the | |
55 | # message catalogs shall be used. It is usually empty. | |
56 | EXTRA_LOCALE_CATEGORIES = | |
57 | ||
58 | # Ignore the timestamp of the .pot file, as git clones do not have | |
59 | # deterministic timestamps, and .po files are updated by translators | |
60 | # (only) in GNOME projects. | |
61 | PO_DEPENDS_ON_POT = no | |
62 | ||
63 | # This tells whether or not to forcibly update $(DOMAIN).pot and | |
64 | # regenerate PO files on "make dist". Possible values are "yes" and | |
65 | # "no". Set this to no if the POT file and PO files are maintained | |
66 | # externally. | |
67 | DIST_DEPENDS_ON_UPDATE_PO = no |
0 | 0 | data/gnome-classic.desktop.in |
1 | data/gnome-classic.session.desktop.in.in | |
2 | data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in | |
1 | data/gnome-classic.session.desktop.in | |
2 | data/org.gnome.shell.extensions.classic-overrides.gschema.xml | |
3 | 3 | extensions/alternate-tab/prefs.js |
4 | 4 | extensions/apps-menu/extension.js |
5 | 5 | extensions/auto-move-windows/extension.js |
6 | extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in | |
6 | extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml | |
7 | 7 | extensions/auto-move-windows/prefs.js |
8 | 8 | extensions/drive-menu/extension.js |
9 | 9 | extensions/example/extension.js |
10 | extensions/example/org.gnome.shell.extensions.example.gschema.xml.in | |
10 | extensions/example/org.gnome.shell.extensions.example.gschema.xml | |
11 | 11 | extensions/example/prefs.js |
12 | 12 | extensions/native-window-placement/extension.js |
13 | extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in | |
13 | extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml | |
14 | 14 | extensions/places-menu/extension.js |
15 | 15 | extensions/places-menu/placeDisplay.js |
16 | extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml.in | |
16 | extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml | |
17 | 17 | extensions/user-theme/extension.js |
18 | extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in | |
18 | extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml | |
19 | 19 | extensions/window-list/extension.js |
20 | extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in | |
20 | extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml | |
21 | 21 | extensions/window-list/prefs.js |
22 | 22 | extensions/windowsNavigator/extension.js |
23 | 23 | extensions/workspace-indicator/extension.js |
0 | # This file, Rules-quot, can be copied and used freely without restrictions. | |
1 | # Special Makefile rules for English message catalogs with quotation marks. | |
2 | ||
3 | DISTFILES.common.extra1 = quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot | |
4 | ||
5 | .SUFFIXES: .insert-header .po-update-en | |
6 | ||
7 | [email protected]: | |
8 | $(MAKE) [email protected] | |
9 | [email protected]: | |
10 | $(MAKE) [email protected] | |
11 | ||
12 | [email protected]: [email protected] | |
13 | [email protected]: [email protected] | |
14 | ||
15 | .insert-header.po-update-en: | |
16 | @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ | |
17 | if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ | |
18 | tmpdir=`pwd`; \ | |
19 | echo "$$lang:"; \ | |
20 | ll=`echo $$lang | sed -e 's/@.*//'`; \ | |
21 | LC_ALL=C; export LC_ALL; \ | |
22 | cd $(srcdir); \ | |
23 | if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | |
24 | | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ | |
25 | { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ | |
26 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ | |
27 | $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ | |
28 | ;; \ | |
29 | *) \ | |
30 | $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ | |
31 | ;; \ | |
32 | esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ | |
33 | ; then \ | |
34 | if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | |
35 | rm -f $$tmpdir/$$lang.new.po; \ | |
36 | else \ | |
37 | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | |
38 | :; \ | |
39 | else \ | |
40 | echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ | |
41 | exit 1; \ | |
42 | fi; \ | |
43 | fi; \ | |
44 | else \ | |
45 | echo "creation of $$lang.po failed!" 1>&2; \ | |
46 | rm -f $$tmpdir/$$lang.new.po; \ | |
47 | fi | |
48 | ||
49 | [email protected]: insert-header.sin | |
50 | sed -e '/^#/d' -e 's/HEADER/[email protected]/g' $(srcdir)/insert-header.sin > [email protected] | |
51 | ||
52 | [email protected]: insert-header.sin | |
53 | sed -e '/^#/d' -e 's/HEADER/[email protected]/g' $(srcdir)/insert-header.sin > [email protected] | |
54 | ||
55 | mostlyclean: mostlyclean-quot | |
56 | mostlyclean-quot: | |
57 | rm -f *.insert-header |
10 | 10 | "PO-Revision-Date: 2014-08-13 17:37+0530\n" |
11 | 11 | "Last-Translator: Nilamdyuti Goswami <[email protected]>\n" |
12 | 12 | "Language-Team: American English <[email protected]>\n" |
13 | "Language: en_US\n" | |
13 | "Language: as\n" | |
14 | 14 | "MIME-Version: 1.0\n" |
15 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 16 | "Content-Transfer-Encoding: 8bit\n" |
Binary diff not shown
7 | 7 | "PO-Revision-Date: 2014-09-22 16:37+0000\n" |
8 | 8 | "Last-Translator: \n" |
9 | 9 | "Language-Team: American English <[email protected]>\n" |
10 | "Language: bn-IN\n" | |
10 | "Language: bn_IN\n" | |
11 | 11 | "MIME-Version: 1.0\n" |
12 | 12 | "Content-Type: text/plain; charset=UTF-8\n" |
13 | 13 | "Content-Transfer-Encoding: 8bit\n" |
0 | s/"\([^"]*\)"/“\1”/g | |
1 | s/`\([^`']*\)'/‘\1’/g | |
2 | s/ '\([^`']*\)' / ‘\1’ /g | |
3 | s/ '\([^`']*\)'$/ ‘\1’/g | |
4 | s/^'\([^`']*\)' /‘\1’ /g | |
5 | s/“”/""/g | |
6 | s/“/“[1m/g | |
7 | s/”/[0m”/g | |
8 | s/‘/‘[1m/g | |
9 | s/’/[0m’/g |
Binary diff not shown
11 | 11 | "PO-Revision-Date: 2014-08-17 14:38+0200\n" |
12 | 12 | "Last-Translator: Gil Forcada <[email protected]>\n" |
13 | 13 | "Language-Team: Catalan <[email protected]>\n" |
14 | "Language: ca-XV\n" | |
14 | "Language: ca@valencia\n" | |
15 | 15 | "MIME-Version: 1.0\n" |
16 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
17 | 17 | "Content-Transfer-Encoding: 8bits\n" |
14 | 14 | "PO-Revision-Date: 2015-01-08 23:43+0100\n" |
15 | 15 | "Last-Translator: Christian Kirbach <[email protected]>\n" |
16 | 16 | "Language-Team: Deutsch <[email protected]>\n" |
17 | "Language: de_DE\n" | |
17 | "Language: de\n" | |
18 | 18 | "MIME-Version: 1.0\n" |
19 | 19 | "Content-Type: text/plain; charset=UTF-8\n" |
20 | 20 | "Content-Transfer-Encoding: 8bit\n" |
0 | # All this catalog "translates" are quotation characters. | |
1 | # The msgids must be ASCII and therefore cannot contain real quotation | |
2 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) | |
3 | # and double quote (0x22). These substitutes look strange; see | |
4 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |
5 | # | |
6 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to | |
7 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). | |
8 | # It also translates pairs of apostrophe (0x27) to | |
9 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) | |
10 | # and pairs of quotation mark (0x22) to | |
11 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). | |
12 | # | |
13 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. | |
14 | # When output to an ISO-8859-1 terminal, the single quotation marks are | |
15 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to | |
16 | # grave/acute accent (by libiconv), and the double quotation marks are | |
17 | # transliterated to 0x22. | |
18 | # When output to an ASCII terminal, the single quotation marks are | |
19 | # transliterated to apostrophes, and the double quotation marks are | |
20 | # transliterated to 0x22. | |
21 | # | |
22 | # This catalog furthermore displays the text between the quotation marks in | |
23 | # bold face, assuming the VT100/XTerm escape sequences. | |
24 | # |
0 | # All this catalog "translates" are quotation characters. | |
1 | # The msgids must be ASCII and therefore cannot contain real quotation | |
2 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) | |
3 | # and double quote (0x22). These substitutes look strange; see | |
4 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |
5 | # | |
6 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to | |
7 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). | |
8 | # It also translates pairs of apostrophe (0x27) to | |
9 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) | |
10 | # and pairs of quotation mark (0x22) to | |
11 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). | |
12 | # | |
13 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. | |
14 | # When output to an ISO-8859-1 terminal, the single quotation marks are | |
15 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to | |
16 | # grave/acute accent (by libiconv), and the double quotation marks are | |
17 | # transliterated to 0x22. | |
18 | # When output to an ASCII terminal, the single quotation marks are | |
19 | # transliterated to apostrophes, and the double quotation marks are | |
20 | # transliterated to 0x22. | |
21 | # |
Binary diff not shown
11 | 11 | "Project-Id-Version: gnome-shell-extensions master\n" |
12 | 12 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" |
13 | 13 | "shell&keywords=I18N+L10N&component=extensions\n" |
14 | "POT-Creation-Date: 2015-01-08 08:35+0000\n" | |
14 | "POT-Creation-Date: 2016-07-21 00:52+0000\n" | |
15 | 15 | "PO-Revision-Date: 2015-01-08 18:20+0100\n" |
16 | 16 | "Last-Translator: Daniel Mustieles <[email protected]>\n" |
17 | 17 | "Language-Team: Español; Castellano <[email protected]>\n" |
18 | "Language: \n" | |
18 | "Language: es\n" | |
19 | 19 | "MIME-Version: 1.0\n" |
20 | 20 | "Content-Type: text/plain; charset=UTF-8\n" |
21 | 21 | "Content-Transfer-Encoding: 8bit\n" |
88 | 88 | msgid "Show only windows in the current workspace" |
89 | 89 | msgstr "Mostrar ventanas solamente en el área de trabajo actual" |
90 | 90 | |
91 | #: ../extensions/apps-menu/extension.js:39 | |
91 | #: ../extensions/apps-menu/extension.js:38 | |
92 | 92 | msgid "Activities Overview" |
93 | 93 | msgstr "Vista de actividades" |
94 | 94 | |
95 | #: ../extensions/apps-menu/extension.js:114 | |
95 | #: ../extensions/apps-menu/extension.js:109 | |
96 | 96 | msgid "Favorites" |
97 | 97 | msgstr "Favoritos" |
98 | 98 | |
99 | #: ../extensions/apps-menu/extension.js:283 | |
99 | #: ../extensions/apps-menu/extension.js:266 | |
100 | 100 | msgid "Applications" |
101 | 101 | msgstr "Aplicaciones" |
102 | 102 | |
136 | 136 | #: ../extensions/drive-menu/extension.js:106 |
137 | 137 | #, javascript-format |
138 | 138 | msgid "Ejecting drive '%s' failed:" |
139 | msgstr "Falló al expulsar el dispositivo «%s»" | |
139 | msgstr "Falló al expulsar el dispositivo «%s»:" | |
140 | 140 | |
141 | 141 | #: ../extensions/drive-menu/extension.js:124 |
142 | 142 | msgid "Removable devices" |
143 | 143 | msgstr "Dispositivos extraíbles" |
144 | 144 | |
145 | #: ../extensions/drive-menu/extension.js:151 | |
145 | #: ../extensions/drive-menu/extension.js:149 | |
146 | 146 | msgid "Open File" |
147 | 147 | msgstr "Abrir archivo" |
148 | 148 | |
152 | 152 | |
153 | 153 | #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1 |
154 | 154 | msgid "Alternative greeting text." |
155 | msgstr "Texto de bienvenida alternativo" | |
155 | msgstr "Texto de bienvenida alternativo." | |
156 | 156 | |
157 | 157 | #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2 |
158 | 158 | msgid "" |
166 | 166 | msgid "Message" |
167 | 167 | msgstr "Mensaje" |
168 | 168 | |
169 | #. TRANSLATORS: Example is the name of the extension, should not be | |
170 | #. translated | |
169 | 171 | #: ../extensions/example/prefs.js:43 |
170 | 172 | msgid "" |
171 | 173 | "Example aims to show how to build well behaved extensions for the Shell and " |
211 | 213 | msgid "Places" |
212 | 214 | msgstr "Lugares" |
213 | 215 | |
214 | #: ../extensions/places-menu/placeDisplay.js:57 | |
216 | #: ../extensions/places-menu/placeDisplay.js:59 | |
215 | 217 | #, javascript-format |
216 | 218 | msgid "Failed to launch \"%s\"" |
217 | 219 | msgstr "Falló al lanzar «%s»" |
218 | 220 | |
219 | #: ../extensions/places-menu/placeDisplay.js:99 | |
220 | #: ../extensions/places-menu/placeDisplay.js:122 | |
221 | #: ../extensions/places-menu/placeDisplay.js:101 | |
222 | #: ../extensions/places-menu/placeDisplay.js:124 | |
221 | 223 | msgid "Computer" |
222 | 224 | msgstr "Equipo" |
223 | 225 | |
224 | #: ../extensions/places-menu/placeDisplay.js:200 | |
226 | #: ../extensions/places-menu/placeDisplay.js:267 | |
225 | 227 | msgid "Home" |
226 | 228 | msgstr "Carpeta personal" |
227 | 229 | |
228 | #: ../extensions/places-menu/placeDisplay.js:287 | |
230 | #: ../extensions/places-menu/placeDisplay.js:311 | |
229 | 231 | msgid "Browse Network" |
230 | 232 | msgstr "Examinar la red" |
231 | 233 | |
233 | 235 | msgid "Cycle Screenshot Sizes" |
234 | 236 | msgstr "Tamaños de capturas de pantalla cíclicos" |
235 | 237 | |
236 | #: ../extensions/systemMonitor/extension.js:214 | |
237 | msgid "CPU" | |
238 | msgstr "CPU" | |
239 | ||
240 | #: ../extensions/systemMonitor/extension.js:267 | |
241 | msgid "Memory" | |
242 | msgstr "Memoria" | |
243 | ||
244 | 238 | #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1 |
245 | 239 | msgid "Theme name" |
246 | 240 | msgstr "Nombre del tema" |
269 | 263 | msgid "Maximize" |
270 | 264 | msgstr "Maximizar" |
271 | 265 | |
272 | #: ../extensions/window-list/extension.js:390 | |
266 | #: ../extensions/window-list/extension.js:403 | |
273 | 267 | msgid "Minimize all" |
274 | 268 | msgstr "Minimizar todo" |
275 | 269 | |
276 | #: ../extensions/window-list/extension.js:398 | |
270 | #: ../extensions/window-list/extension.js:411 | |
277 | 271 | msgid "Unminimize all" |
278 | 272 | msgstr "Desminimizar todo" |
279 | 273 | |
280 | #: ../extensions/window-list/extension.js:406 | |
274 | #: ../extensions/window-list/extension.js:419 | |
281 | 275 | msgid "Maximize all" |
282 | 276 | msgstr "Maximizar todo" |
283 | 277 | |
284 | #: ../extensions/window-list/extension.js:415 | |
278 | #: ../extensions/window-list/extension.js:428 | |
285 | 279 | msgid "Unmaximize all" |
286 | 280 | msgstr "Desmaximizar todo" |
287 | 281 | |
288 | #: ../extensions/window-list/extension.js:424 | |
282 | #: ../extensions/window-list/extension.js:437 | |
289 | 283 | msgid "Close all" |
290 | 284 | msgstr "Cerrar todo" |
291 | 285 | |
292 | #: ../extensions/window-list/extension.js:706 | |
286 | #: ../extensions/window-list/extension.js:661 | |
293 | 287 | #: ../extensions/workspace-indicator/extension.js:30 |
294 | 288 | msgid "Workspace Indicator" |
295 | 289 | msgstr "Indicador de área de trabajo" |
296 | 290 | |
297 | #: ../extensions/window-list/extension.js:869 | |
291 | #: ../extensions/window-list/extension.js:820 | |
298 | 292 | msgid "Window List" |
299 | 293 | msgstr "Lista de ventanas" |
300 | 294 | |
354 | 348 | #, javascript-format |
355 | 349 | msgid "Workspace %d" |
356 | 350 | msgstr "Área de trabajo %d" |
351 | ||
352 | #~ msgid "CPU" | |
353 | #~ msgstr "CPU" | |
354 | ||
355 | #~ msgid "Memory" | |
356 | #~ msgstr "Memoria" | |
357 | 357 | |
358 | 358 | #~ msgid "GNOME Shell Classic" |
359 | 359 | #~ msgstr "GNOME Shell clásico" |
11 | 11 | "PO-Revision-Date: 2015-09-11 23:44+0430\n" |
12 | 12 | "Last-Translator: Arash Mousavi <[email protected]>\n" |
13 | 13 | "Language-Team: Persian <>\n" |
14 | "Language: fa_IR\n" | |
14 | "Language: fa\n" | |
15 | 15 | "MIME-Version: 1.0\n" |
16 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
12 | 12 | "PO-Revision-Date: 2014-08-25 23:50+0200\n" |
13 | 13 | "Last-Translator: Alain Lojewski <[email protected]>\n" |
14 | 14 | "Language-Team: GNOME French Team <[email protected]>\n" |
15 | "Language: \n" | |
15 | "Language: fr\n" | |
16 | 16 | "MIME-Version: 1.0\n" |
17 | 17 | "Content-Type: text/plain; charset=UTF-8\n" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
Binary diff not shown
0 | # SOME DESCRIPTIVE TITLE. | |
1 | # Copyright (C) YEAR Translation copyright holder | |
2 | # This file is distributed under the same license as the gnome-shell-extensions package. | |
3 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
4 | # | |
5 | #, fuzzy | |
6 | msgid "" | |
7 | msgstr "" | |
8 | "Project-Id-Version: gnome-shell-extensions 3.21.4\n" | |
9 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" | |
10 | "shell&keywords=I18N+L10N&component=extensions\n" | |
11 | "POT-Creation-Date: 2016-07-22 13:37+0200\n" | |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | "Language-Team: LANGUAGE <[email protected]>\n" | |
15 | "Language: \n" | |
16 | "MIME-Version: 1.0\n" | |
17 | "Content-Type: text/plain; charset=CHARSET\n" | |
18 | "Content-Transfer-Encoding: 8bit\n" | |
19 | ||
20 | #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 | |
21 | msgid "GNOME Classic" | |
22 | msgstr "" | |
23 | ||
24 | #: data/gnome-classic.desktop.in:4 | |
25 | msgid "This session logs you into GNOME Classic" | |
26 | msgstr "" | |
27 | ||
28 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7 | |
29 | msgid "Attach modal dialog to the parent window" | |
30 | msgstr "" | |
31 | ||
32 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8 | |
33 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25 | |
34 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33 | |
35 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41 | |
36 | msgid "" | |
37 | "This key overrides the key in org.gnome.mutter when running GNOME Shell." | |
38 | msgstr "" | |
39 | ||
40 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16 | |
41 | msgid "Arrangement of buttons on the titlebar" | |
42 | msgstr "" | |
43 | ||
44 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17 | |
45 | msgid "" | |
46 | "This key overrides the key in org.gnome.desktop.wm.preferences when running " | |
47 | "GNOME Shell." | |
48 | msgstr "" | |
49 | ||
50 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24 | |
51 | msgid "Enable edge tiling when dropping windows on screen edges" | |
52 | msgstr "" | |
53 | ||
54 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32 | |
55 | msgid "Workspaces only on primary monitor" | |
56 | msgstr "" | |
57 | ||
58 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40 | |
59 | msgid "Delay focus changes in mouse mode until the pointer stops moving" | |
60 | msgstr "" | |
61 | ||
62 | #: extensions/alternate-tab/prefs.js:20 | |
63 | msgid "Thumbnail only" | |
64 | msgstr "" | |
65 | ||
66 | #: extensions/alternate-tab/prefs.js:21 | |
67 | msgid "Application icon only" | |
68 | msgstr "" | |
69 | ||
70 | #: extensions/alternate-tab/prefs.js:22 | |
71 | msgid "Thumbnail and application icon" | |
72 | msgstr "" | |
73 | ||
74 | #: extensions/alternate-tab/prefs.js:38 | |
75 | msgid "Present windows as" | |
76 | msgstr "" | |
77 | ||
78 | #: extensions/alternate-tab/prefs.js:69 | |
79 | msgid "Show only windows in the current workspace" | |
80 | msgstr "" | |
81 | ||
82 | #: extensions/apps-menu/extension.js:38 | |
83 | msgid "Activities Overview" | |
84 | msgstr "" | |
85 | ||
86 | #: extensions/apps-menu/extension.js:109 | |
87 | msgid "Favorites" | |
88 | msgstr "" | |
89 | ||
90 | #: extensions/apps-menu/extension.js:266 | |
91 | msgid "Applications" | |
92 | msgstr "" | |
93 | ||
94 | #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6 | |
95 | msgid "Application and workspace list" | |
96 | msgstr "" | |
97 | ||
98 | #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7 | |
99 | msgid "" | |
100 | "A list of strings, each containing an application id (desktop file name), " | |
101 | "followed by a colon and the workspace number" | |
102 | msgstr "" | |
103 | ||
104 | #: extensions/auto-move-windows/prefs.js:60 | |
105 | msgid "Application" | |
106 | msgstr "" | |
107 | ||
108 | #: extensions/auto-move-windows/prefs.js:69 | |
109 | #: extensions/auto-move-windows/prefs.js:127 | |
110 | msgid "Workspace" | |
111 | msgstr "" | |
112 | ||
113 | #: extensions/auto-move-windows/prefs.js:85 | |
114 | msgid "Add Rule" | |
115 | msgstr "" | |
116 | ||
117 | #: extensions/auto-move-windows/prefs.js:106 | |
118 | msgid "Create new matching rule" | |
119 | msgstr "" | |
120 | ||
121 | #: extensions/auto-move-windows/prefs.js:111 | |
122 | msgid "Add" | |
123 | msgstr "" | |
124 | ||
125 | #: extensions/drive-menu/extension.js:106 | |
126 | #, javascript-format | |
127 | msgid "Ejecting drive '%s' failed:" | |
128 | msgstr "" | |
129 | ||
130 | #: extensions/drive-menu/extension.js:124 | |
131 | msgid "Removable devices" | |
132 | msgstr "" | |
133 | ||
134 | #: extensions/drive-menu/extension.js:149 | |
135 | msgid "Open File" | |
136 | msgstr "" | |
137 | ||
138 | #: extensions/example/extension.js:17 | |
139 | msgid "Hello, world!" | |
140 | msgstr "" | |
141 | ||
142 | #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5 | |
143 | msgid "Alternative greeting text." | |
144 | msgstr "" | |
145 | ||
146 | #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6 | |
147 | msgid "" | |
148 | "If not empty, it contains the text that will be shown when clicking on the " | |
149 | "panel." | |
150 | msgstr "" | |
151 | ||
152 | #: extensions/example/prefs.js:30 | |
153 | msgid "Message" | |
154 | msgstr "" | |
155 | ||
156 | #. TRANSLATORS: Example is the name of the extension, should not be | |
157 | #. translated | |
158 | #: extensions/example/prefs.js:43 | |
159 | msgid "" | |
160 | "Example aims to show how to build well behaved extensions for the Shell and " | |
161 | "as such it has little functionality on its own.\n" | |
162 | "Nevertheless it's possible to customize the greeting message." | |
163 | msgstr "" | |
164 | ||
165 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5 | |
166 | msgid "Use more screen for windows" | |
167 | msgstr "" | |
168 | ||
169 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6 | |
170 | msgid "" | |
171 | "Try to use more screen for placing window thumbnails by adapting to screen " | |
172 | "aspect ratio, and consolidating them further to reduce the bounding box. " | |
173 | "This setting applies only with the natural placement strategy." | |
174 | msgstr "" | |
175 | ||
176 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11 | |
177 | msgid "Place window captions on top" | |
178 | msgstr "" | |
179 | ||
180 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12 | |
181 | msgid "" | |
182 | "If true, place window captions on top the respective thumbnail, overriding " | |
183 | "shell default of placing it at the bottom. Changing this setting requires " | |
184 | "restarting the shell to have any effect." | |
185 | msgstr "" | |
186 | ||
187 | #: extensions/places-menu/extension.js:78 | |
188 | #: extensions/places-menu/extension.js:81 | |
189 | msgid "Places" | |
190 | msgstr "" | |
191 | ||
192 | #: extensions/places-menu/placeDisplay.js:59 | |
193 | #, javascript-format | |
194 | msgid "Failed to launch \"%s\"" | |
195 | msgstr "" | |
196 | ||
197 | #: extensions/places-menu/placeDisplay.js:101 | |
198 | #: extensions/places-menu/placeDisplay.js:124 | |
199 | msgid "Computer" | |
200 | msgstr "" | |
201 | ||
202 | #: extensions/places-menu/placeDisplay.js:267 | |
203 | msgid "Home" | |
204 | msgstr "" | |
205 | ||
206 | #: extensions/places-menu/placeDisplay.js:311 | |
207 | msgid "Browse Network" | |
208 | msgstr "" | |
209 | ||
210 | #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7 | |
211 | msgid "Cycle Screenshot Sizes" | |
212 | msgstr "" | |
213 | ||
214 | #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5 | |
215 | msgid "Theme name" | |
216 | msgstr "" | |
217 | ||
218 | #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6 | |
219 | msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" | |
220 | msgstr "" | |
221 | ||
222 | #: extensions/window-list/extension.js:110 | |
223 | msgid "Close" | |
224 | msgstr "" | |
225 | ||
226 | #: extensions/window-list/extension.js:120 | |
227 | msgid "Unminimize" | |
228 | msgstr "" | |
229 | ||
230 | #: extensions/window-list/extension.js:121 | |
231 | msgid "Minimize" | |
232 | msgstr "" | |
233 | ||
234 | #: extensions/window-list/extension.js:127 | |
235 | msgid "Unmaximize" | |
236 | msgstr "" | |
237 | ||
238 | #: extensions/window-list/extension.js:128 | |
239 | msgid "Maximize" | |
240 | msgstr "" | |
241 | ||
242 | #: extensions/window-list/extension.js:403 | |
243 | msgid "Minimize all" | |
244 | msgstr "" | |
245 | ||
246 | #: extensions/window-list/extension.js:411 | |
247 | msgid "Unminimize all" | |
248 | msgstr "" | |
249 | ||
250 | #: extensions/window-list/extension.js:419 | |
251 | msgid "Maximize all" | |
252 | msgstr "" | |
253 | ||
254 | #: extensions/window-list/extension.js:428 | |
255 | msgid "Unmaximize all" | |
256 | msgstr "" | |
257 | ||
258 | #: extensions/window-list/extension.js:437 | |
259 | msgid "Close all" | |
260 | msgstr "" | |
261 | ||
262 | #: extensions/window-list/extension.js:661 | |
263 | #: extensions/workspace-indicator/extension.js:30 | |
264 | msgid "Workspace Indicator" | |
265 | msgstr "" | |
266 | ||
267 | #: extensions/window-list/extension.js:820 | |
268 | msgid "Window List" | |
269 | msgstr "" | |
270 | ||
271 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12 | |
272 | msgid "When to group windows" | |
273 | msgstr "" | |
274 | ||
275 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13 | |
276 | msgid "" | |
277 | "Decides when to group windows from the same application on the window list. " | |
278 | "Possible values are \"never\", \"auto\" and \"always\"." | |
279 | msgstr "" | |
280 | ||
281 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 | |
282 | msgid "Show the window list on all monitors" | |
283 | msgstr "" | |
284 | ||
285 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 | |
286 | msgid "" | |
287 | "Whether to show the window list on all connected monitors or only on the " | |
288 | "primary one." | |
289 | msgstr "" | |
290 | ||
291 | #: extensions/window-list/prefs.js:32 | |
292 | msgid "Window Grouping" | |
293 | msgstr "" | |
294 | ||
295 | #: extensions/window-list/prefs.js:50 | |
296 | msgid "Never group windows" | |
297 | msgstr "" | |
298 | ||
299 | #: extensions/window-list/prefs.js:51 | |
300 | msgid "Group windows when space is limited" | |
301 | msgstr "" | |
302 | ||
303 | #: extensions/window-list/prefs.js:52 | |
304 | msgid "Always group windows" | |
305 | msgstr "" | |
306 | ||
307 | #: extensions/window-list/prefs.js:75 | |
308 | msgid "Show on all monitors" | |
309 | msgstr "" | |
310 | ||
311 | #: extensions/workspace-indicator/prefs.js:141 | |
312 | msgid "Workspace Names" | |
313 | msgstr "" | |
314 | ||
315 | #: extensions/workspace-indicator/prefs.js:157 | |
316 | msgid "Name" | |
317 | msgstr "" | |
318 | ||
319 | #: extensions/workspace-indicator/prefs.js:198 | |
320 | #, javascript-format | |
321 | msgid "Workspace %d" | |
322 | msgstr "" |
4 | 4 | msgid "" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: \n" |
7 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug." | |
8 | "cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n" | |
9 | "POT-Creation-Date: 2014-09-02 07:39+0000\n" | |
10 | "PO-Revision-Date: 2014-09-02 15:45+0530\n" | |
11 | "Last-Translator: \n" | |
7 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" | |
8 | "shell&keywords=I18N+L10N&component=extensions\n" | |
9 | "POT-Creation-Date: 2016-05-05 09:58+0000\n" | |
10 | "PO-Revision-Date: 2016-07-11 22:04+0200\n" | |
11 | "Last-Translator: વિશાલ ભલાણી <[email protected]>\n" | |
12 | 12 | "Language-Team: American English <[email protected]>\n" |
13 | "Language: \n" | |
13 | "Language: gu\n" | |
14 | 14 | "MIME-Version: 1.0\n" |
15 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 16 | "Content-Transfer-Encoding: 8bit\n" |
17 | "X-Generator: Lokalize 1.0\n" | |
18 | 17 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 | ||
20 | #: ../data/gnome-classic.desktop.in.h:1 | |
21 | #: ../data/gnome-classic.session.desktop.in.in.h:1 | |
18 | "X-DamnedLies-Scope: partial\n" | |
19 | "X-Generator: Poedit 1.8.7.1\n" | |
20 | ||
21 | #: ../data/gnome-classic.desktop.in.h:1 ../data/gnome-classic.session.desktop.in.in.h:1 | |
22 | 22 | msgid "GNOME Classic" |
23 | 23 | msgstr "GNOME ક્લાસિક" |
24 | 24 | |
26 | 26 | msgid "This session logs you into GNOME Classic" |
27 | 27 | msgstr "આ સત્ર તમને GNOME ક્લાસિકમાં પ્રવેશ આપે છે" |
28 | 28 | |
29 | #: ../data/gnome-shell-classic.desktop.in.in.h:1 | |
30 | msgid "GNOME Shell Classic" | |
31 | msgstr "GNOME શેલ ક્લાસિક" | |
32 | ||
33 | #: ../data/gnome-shell-classic.desktop.in.in.h:2 | |
34 | msgid "Window management and application launching" | |
35 | msgstr "વિન્ડો સંચાલન અને કાર્યક્રમ શરૂઆત" | |
36 | ||
37 | 29 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1 |
38 | 30 | msgid "Attach modal dialog to the parent window" |
39 | 31 | msgstr "મુખ્ય વિન્ડોમાં મોડલ સંવાદને જોડો" |
47 | 39 | msgstr "શીર્ષકપટ્ટી પર બટનોની ગોઠવણ" |
48 | 40 | |
49 | 41 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4 |
50 | #| msgid "" | |
51 | #| "This key overrides the key in org.gnome.mutter when running GNOME Shell." | |
52 | msgid "" | |
53 | "This key overrides the key in org.gnome.desktop.wm.preferences when running " | |
54 | "GNOME Shell." | |
55 | msgstr "" | |
56 | "આ કી org.gnome.desktop.wm.preferences માં કી ઉપર લખાઇ જશે જ્યારે GNOME શેલ ચાલી રહ્યુ હોય." | |
42 | msgid "This key overrides the key in org.gnome.desktop.wm.preferences when running GNOME Shell." | |
43 | msgstr "આ કી org.gnome.desktop.wm.preferences માં કી ઉપર લખાઇ જશે જ્યારે GNOME શેલ ચાલી રહ્યુ હોય." | |
57 | 44 | |
58 | 45 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5 |
59 | 46 | msgid "Enable edge tiling when dropping windows on screen edges" |
87 | 74 | msgid "Show only windows in the current workspace" |
88 | 75 | msgstr "વર્તમાન કામ કરવાની જગ્યામાં ફક્ત વિન્ડોને બતાવો" |
89 | 76 | |
90 | #: ../extensions/apps-menu/extension.js:39 | |
77 | #: ../extensions/apps-menu/extension.js:38 | |
91 | 78 | msgid "Activities Overview" |
92 | 79 | msgstr "પ્રવૃત્તિ દૃશ્ય" |
93 | 80 | |
94 | #: ../extensions/apps-menu/extension.js:113 | |
81 | #: ../extensions/apps-menu/extension.js:109 | |
95 | 82 | msgid "Favorites" |
96 | 83 | msgstr "પસંદીદા" |
97 | 84 | |
98 | #: ../extensions/apps-menu/extension.js:282 | |
85 | #: ../extensions/apps-menu/extension.js:266 | |
99 | 86 | msgid "Applications" |
100 | 87 | msgstr "કાર્યક્રમો" |
101 | 88 | |
105 | 92 | |
106 | 93 | #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2 |
107 | 94 | msgid "" |
108 | "A list of strings, each containing an application id (desktop file name), " | |
109 | "followed by a colon and the workspace number" | |
110 | msgstr "" | |
111 | "શબ્દમાળાઓની યાદી, દરેક રંગ અને કામ કરવાની જગ્યા નંબર દ્દારા અનુસરેલ કાર્યક્રમ id " | |
112 | "(ડેસ્કટોપ ફાઇલ નામ) ને સામવી રહ્યુ છે" | |
95 | "A list of strings, each containing an application id (desktop file name), followed by a colon " | |
96 | "and the workspace number" | |
97 | msgstr "" | |
98 | "શબ્દમાળાઓની યાદી, દરેક રંગ અને કામ કરવાની જગ્યા નંબર દ્દારા અનુસરેલ કાર્યક્રમ id (ડેસ્કટોપ ફાઇલ નામ) ને " | |
99 | "સામવી રહ્યુ છે" | |
113 | 100 | |
114 | 101 | #: ../extensions/auto-move-windows/prefs.js:60 |
115 | 102 | msgid "Application" |
116 | 103 | msgstr "કાર્યક્રમ" |
117 | 104 | |
118 | #: ../extensions/auto-move-windows/prefs.js:69 | |
119 | #: ../extensions/auto-move-windows/prefs.js:127 | |
105 | #: ../extensions/auto-move-windows/prefs.js:69 ../extensions/auto-move-windows/prefs.js:127 | |
120 | 106 | msgid "Workspace" |
121 | 107 | msgstr "કાર્ય કરવાની જગ્યા" |
122 | 108 | |
123 | 109 | #: ../extensions/auto-move-windows/prefs.js:85 |
124 | #| msgid "Add rule" | |
125 | 110 | msgid "Add Rule" |
126 | 111 | msgstr "નિયમ ઉમેરો" |
127 | 112 | |
138 | 123 | msgid "Ejecting drive '%s' failed:" |
139 | 124 | msgstr "ડ્રાઇવ '%s' બહાર નીકાળતી વખતે નિષ્ફળતા:" |
140 | 125 | |
141 | #: ../extensions/drive-menu/extension.js:123 | |
126 | #: ../extensions/drive-menu/extension.js:124 | |
142 | 127 | msgid "Removable devices" |
143 | 128 | msgstr "દૂર કરી શકાય તેવા ઉપકરણો" |
144 | 129 | |
145 | #: ../extensions/drive-menu/extension.js:150 | |
130 | #: ../extensions/drive-menu/extension.js:149 | |
146 | 131 | msgid "Open File" |
147 | 132 | msgstr "ફાઇલને ખોલો" |
148 | 133 | |
155 | 140 | msgstr "વૈકલ્પિક શુભેચ્છા લખાણ." |
156 | 141 | |
157 | 142 | #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2 |
158 | msgid "" | |
159 | "If not empty, it contains the text that will be shown when clicking on the " | |
160 | "panel." | |
143 | msgid "If not empty, it contains the text that will be shown when clicking on the panel." | |
161 | 144 | msgstr "જો ખાલી ન હોય તો, તે લખાણને સમાવે છે કે જે બતાવશે જ્યારે પેનલ પર ક્લિક કરી રહ્યા હોય." |
162 | 145 | |
163 | 146 | #: ../extensions/example/prefs.js:30 |
164 | #| msgid "Message:" | |
165 | 147 | msgid "Message" |
166 | 148 | msgstr "સંદેશો" |
167 | 149 | |
150 | #. TRANSLATORS: Example is the name of the extension, should not be | |
151 | #. translated | |
168 | 152 | #: ../extensions/example/prefs.js:43 |
169 | 153 | msgid "" |
170 | "Example aims to show how to build well behaved extensions for the Shell and " | |
171 | "as such it has little functionality on its own.\n" | |
154 | "Example aims to show how to build well behaved extensions for the Shell and as such it has " | |
155 | "little functionality on its own.\n" | |
172 | 156 | "Nevertheless it's possible to customize the greeting message." |
173 | 157 | msgstr "" |
174 | "શેલ માટે સારી વર્તણૂકવાળા શેલ એક્સટેન્શનને કેવી રીતે બનાવવા તે આ ઉદાહરણ બતાવે છે તેની સાથે " | |
175 | "તેની પાસે તેની પોતાની પર થોડી કાર્યક્ષમતા છે.\n" | |
158 | "શેલ માટે સારી વર્તણૂકવાળા શેલ એક્સટેન્શનને કેવી રીતે બનાવવા તે આ ઉદાહરણ બતાવે છે તેની સાથે તેની પાસે તેની પોતાની " | |
159 | "પર થોડી કાર્યક્ષમતા છે.\n" | |
176 | 160 | "તેમ છતાં શુભેચ્છા સંદેશ કસ્ટમાઇઝ કરવા માટે શક્ય છે." |
177 | 161 | |
178 | 162 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1 |
181 | 165 | |
182 | 166 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2 |
183 | 167 | msgid "" |
184 | "Try to use more screen for placing window thumbnails by adapting to screen " | |
185 | "aspect ratio, and consolidating them further to reduce the bounding box. " | |
186 | "This setting applies only with the natural placement strategy." | |
187 | msgstr "" | |
188 | "સ્ક્રીન આશરે દરને અપનાવીને વિન્ડો થમ્ભનેઇલને સ્થિત કરવા માટે વધારે સ્ક્રીનને વાપરવાનો પ્રયત્ન " | |
189 | "કરો, અને બાઉન્ડીંગ બોક્સને ઘટાડવા માટે તેઓને આગળ આશ્ર્વાસન આપો. આ સુયોજન ફક્ત કુદરતી સ્થાન " | |
190 | "યોજના સાથે લાગુ થાય છે." | |
168 | "Try to use more screen for placing window thumbnails by adapting to screen aspect ratio, and " | |
169 | "consolidating them further to reduce the bounding box. This setting applies only with the " | |
170 | "natural placement strategy." | |
171 | msgstr "" | |
172 | "સ્ક્રીન આશરે દરને અપનાવીને વિન્ડો થમ્ભનેઇલને સ્થિત કરવા માટે વધારે સ્ક્રીનને વાપરવાનો પ્રયત્ન કરો, અને બાઉન્ડીંગ " | |
173 | "બોક્સને ઘટાડવા માટે તેઓને આગળ આશ્ર્વાસન આપો. આ સુયોજન ફક્ત કુદરતી સ્થાન યોજના સાથે લાગુ થાય છે." | |
191 | 174 | |
192 | 175 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3 |
193 | 176 | msgid "Place window captions on top" |
195 | 178 | |
196 | 179 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4 |
197 | 180 | msgid "" |
198 | "If true, place window captions on top the respective thumbnail, overriding " | |
199 | "shell default of placing it at the bottom. Changing this setting requires " | |
200 | "restarting the shell to have any effect." | |
201 | msgstr "" | |
202 | "જો true હોય તો, થમ્ભનેઇલ પર કૅપ્શન વિન્ડોને સ્થિત કરો, નીચે તેને સ્થિત કરીને શેલ મૂળભૂત પર " | |
203 | "લખી રહ્યા છે. આ સુયોજનને બદલવાથી કોઇપણ અસર લાવવા માટે શેલને પુન:શરૂ કરવાની જરૂર છે." | |
204 | ||
205 | #: ../extensions/places-menu/extension.js:78 | |
206 | #: ../extensions/places-menu/extension.js:81 | |
181 | "If true, place window captions on top the respective thumbnail, overriding shell default of " | |
182 | "placing it at the bottom. Changing this setting requires restarting the shell to have any " | |
183 | "effect." | |
184 | msgstr "" | |
185 | "જો true હોય તો, થમ્ભનેઇલ પર કૅપ્શન વિન્ડોને સ્થિત કરો, નીચે તેને સ્થિત કરીને શેલ મૂળભૂત પર લખી રહ્યા છે. આ " | |
186 | "સુયોજનને બદલવાથી કોઇપણ અસર લાવવા માટે શેલને પુન:શરૂ કરવાની જરૂર છે." | |
187 | ||
188 | #: ../extensions/places-menu/extension.js:78 ../extensions/places-menu/extension.js:81 | |
207 | 189 | msgid "Places" |
208 | 190 | msgstr "સ્થાનો" |
209 | 191 | |
210 | #: ../extensions/places-menu/placeDisplay.js:57 | |
192 | #: ../extensions/places-menu/placeDisplay.js:59 | |
211 | 193 | #, javascript-format |
212 | 194 | msgid "Failed to launch \"%s\"" |
213 | 195 | msgstr "\"%s\" ને શરૂ કરવામાં નિષ્ફળતા" |
214 | 196 | |
215 | #: ../extensions/places-menu/placeDisplay.js:99 | |
216 | #: ../extensions/places-menu/placeDisplay.js:122 | |
197 | #: ../extensions/places-menu/placeDisplay.js:101 ../extensions/places-menu/placeDisplay.js:124 | |
217 | 198 | msgid "Computer" |
218 | 199 | msgstr "કમ્પ્યૂટર" |
219 | 200 | |
220 | #: ../extensions/places-menu/placeDisplay.js:200 | |
201 | #: ../extensions/places-menu/placeDisplay.js:267 | |
221 | 202 | msgid "Home" |
222 | 203 | msgstr "ઘર" |
223 | 204 | |
224 | #: ../extensions/places-menu/placeDisplay.js:287 | |
205 | #: ../extensions/places-menu/placeDisplay.js:311 | |
225 | 206 | msgid "Browse Network" |
226 | 207 | msgstr "નેટવર્ક બ્રાઉઝ કરો" |
227 | ||
228 | #: ../extensions/systemMonitor/extension.js:214 | |
229 | msgid "CPU" | |
230 | msgstr "CPU" | |
231 | ||
232 | #: ../extensions/systemMonitor/extension.js:267 | |
233 | msgid "Memory" | |
234 | msgstr "મેમરી" | |
235 | 208 | |
236 | 209 | #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1 |
237 | 210 | msgid "Theme name" |
261 | 234 | msgid "Maximize" |
262 | 235 | msgstr "મહત્તમ કરો" |
263 | 236 | |
264 | #: ../extensions/window-list/extension.js:300 | |
237 | #: ../extensions/window-list/extension.js:403 | |
265 | 238 | msgid "Minimize all" |
266 | 239 | msgstr "બધુ મહત્તમ કરો" |
267 | 240 | |
268 | #: ../extensions/window-list/extension.js:308 | |
241 | #: ../extensions/window-list/extension.js:411 | |
269 | 242 | msgid "Unminimize all" |
270 | 243 | msgstr "બધાને ન્યૂનત્તમમાંથી પાછુ લાવો" |
271 | 244 | |
272 | #: ../extensions/window-list/extension.js:316 | |
245 | #: ../extensions/window-list/extension.js:419 | |
273 | 246 | msgid "Maximize all" |
274 | 247 | msgstr "બધુ મહત્તમ કરો" |
275 | 248 | |
276 | #: ../extensions/window-list/extension.js:325 | |
249 | #: ../extensions/window-list/extension.js:428 | |
277 | 250 | msgid "Unmaximize all" |
278 | 251 | msgstr "બધાને મહત્તમમાંથી પાછુ લાવો" |
279 | 252 | |
280 | #: ../extensions/window-list/extension.js:334 | |
253 | #: ../extensions/window-list/extension.js:437 | |
281 | 254 | msgid "Close all" |
282 | 255 | msgstr "બધુ બંધ કરો" |
283 | 256 | |
284 | #: ../extensions/window-list/extension.js:644 | |
285 | #: ../extensions/workspace-indicator/extension.js:30 | |
257 | #: ../extensions/window-list/extension.js:661 ../extensions/workspace-indicator/extension.js:30 | |
286 | 258 | msgid "Workspace Indicator" |
287 | 259 | msgstr "કામ કરવાની જગ્યાનું સૂચક" |
288 | 260 | |
289 | #: ../extensions/window-list/extension.js:798 | |
290 | #| msgid "Window Grouping" | |
261 | #: ../extensions/window-list/extension.js:820 | |
291 | 262 | msgid "Window List" |
292 | 263 | msgstr "વિન્ડો યાદી" |
293 | 264 | |
297 | 268 | |
298 | 269 | #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2 |
299 | 270 | msgid "" |
300 | "Decides when to group windows from the same application on the window list. " | |
301 | "Possible values are \"never\", \"auto\" and \"always\"." | |
302 | msgstr "" | |
303 | "વિન્ડોની મેનુ પર એક જ કાર્યક્રમમાંથી વિન્ડોના જૂથો કયારે પાડવા તે નક્કી કરે છે. \"ક્યારેય " | |
304 | "નહિ\", \"આપોઆપ\" અને \"હંમેશા\" તેની શક્ય કિંમતો છે." | |
305 | ||
306 | #: ../extensions/window-list/prefs.js:30 | |
271 | "Decides when to group windows from the same application on the window list. Possible values " | |
272 | "are \"never\", \"auto\" and \"always\"." | |
273 | msgstr "" | |
274 | "વિન્ડોની મેનુ પર એક જ કાર્યક્રમમાંથી વિન્ડોના જૂથો કયારે પાડવા તે નક્કી કરે છે. \"ક્યારેય નહિ\", \"આપોઆપ\" " | |
275 | "અને \"હંમેશા\" તેની શક્ય કિંમતો છે." | |
276 | ||
277 | #: ../extensions/window-list/prefs.js:32 | |
307 | 278 | msgid "Window Grouping" |
308 | 279 | msgstr "વિન્ડો જૂથ થઈ રહ્યુ છે" |
309 | 280 | |
310 | #: ../extensions/window-list/prefs.js:49 | |
281 | #: ../extensions/window-list/prefs.js:50 | |
311 | 282 | msgid "Never group windows" |
312 | 283 | msgstr "જૂથ વિન્ડો કદી નહિં" |
313 | 284 | |
314 | #: ../extensions/window-list/prefs.js:50 | |
285 | #: ../extensions/window-list/prefs.js:51 | |
315 | 286 | msgid "Group windows when space is limited" |
316 | 287 | msgstr "જૂથ વિન્ડો જ્યારે જગ્યા મર્યાદિત હોય" |
317 | 288 | |
318 | #: ../extensions/window-list/prefs.js:51 | |
289 | #: ../extensions/window-list/prefs.js:52 | |
319 | 290 | msgid "Always group windows" |
320 | 291 | msgstr "હંમેશા જૂથ વિન્ડો" |
321 | 292 | |
293 | #: ../extensions/window-list/prefs.js:75 | |
294 | msgid "Show on all monitors" | |
295 | msgstr "બધા મોનિટર પર બતાવો" | |
296 | ||
322 | 297 | #: ../extensions/workspace-indicator/prefs.js:141 |
323 | #| msgid "Workspace names:" | |
324 | 298 | msgid "Workspace Names" |
325 | 299 | msgstr "કામ કરવાની જગ્યાના નામો" |
326 | 300 | |
333 | 307 | msgid "Workspace %d" |
334 | 308 | msgstr "કામ કરવાની જગ્યા %d" |
335 | 309 | |
310 | #~ msgid "GNOME Shell Classic" | |
311 | #~ msgstr "GNOME શેલ ક્લાસિક" | |
312 | ||
313 | #~ msgid "Window management and application launching" | |
314 | #~ msgstr "વિન્ડો સંચાલન અને કાર્યક્રમ શરૂઆત" | |
315 | ||
316 | #~ msgid "CPU" | |
317 | #~ msgstr "CPU" | |
318 | ||
319 | #~ msgid "Memory" | |
320 | #~ msgstr "મેમરી" | |
321 | ||
336 | 322 | #~ msgid "Suspend" |
337 | 323 | #~ msgstr "અટકાવો" |
338 | 324 |
0 | # Sed script that inserts the file called HEADER before the header entry. | |
1 | # | |
2 | # At each occurrence of a line starting with "msgid ", we execute the following | |
3 | # commands. At the first occurrence, insert the file. At the following | |
4 | # occurrences, do nothing. The distinction between the first and the following | |
5 | # occurrences is achieved by looking at the hold space. | |
6 | /^msgid /{ | |
7 | x | |
8 | # Test if the hold space is empty. | |
9 | s/m/m/ | |
10 | ta | |
11 | # Yes it was empty. First occurrence. Read the file. | |
12 | r HEADER | |
13 | # Output the file's contents by reading the next line. But don't lose the | |
14 | # current line while doing this. | |
15 | g | |
16 | N | |
17 | bb | |
18 | :a | |
19 | # The hold space was nonempty. Following occurrences. Do nothing. | |
20 | x | |
21 | :b | |
22 | } |
10 | 10 | "PO-Revision-Date: 2014-12-31 00:49+0100\n" |
11 | 11 | "Last-Translator: Åka Sikrom <[email protected]>\n" |
12 | 12 | "Language-Team: Norwegian bokmål <[email protected]>\n" |
13 | "Language: Norwegian bokmål\n" | |
13 | "Language: nb\n" | |
14 | 14 | "MIME-Version: 1.0\n" |
15 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 16 | "Content-Transfer-Encoding: 8bit\n" |
7 | 7 | "Project-Id-Version: gnome-shell-extensions master\n" |
8 | 8 | "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" |
9 | 9 | "shell&keywords=I18N+L10N&component=extensions\n" |
10 | "POT-Creation-Date: 2016-04-29 09:49+0000\n" | |
10 | "POT-Creation-Date: 2016-05-09 19:09+0000\n" | |
11 | 11 | "PO-Revision-Date: 2016-05-08 18:59+0200\n" |
12 | 12 | "Last-Translator: Cédric Valmary (totenoc.eu) <[email protected]>\n" |
13 | 13 | "Language-Team: Tot En Òc\n" |
0 | # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | |
1 | # Aviary.pl | |
2 | # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz | |
3 | # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas: | |
4 | # [email protected] | |
5 | # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | |
6 | # Piotr Drąg <[email protected]>, 2011-2015. | |
7 | # Aviary.pl <[email protected]>, 2011-2015. | |
0 | # Polish translation for gnome-shell-extensions. | |
1 | # Copyright © 2011-2016 the gnome-shell-extensions authors. | |
2 | # This file is distributed under the same license as the gnome-shell-extensions package. | |
3 | # Piotr Drąg <[email protected]>, 2011-2016. | |
4 | # Aviary.pl <[email protected]>, 2011-2016. | |
5 | # | |
8 | 6 | msgid "" |
9 | 7 | msgstr "" |
10 | 8 | "Project-Id-Version: gnome-shell-extensions\n" |
11 | 9 | "Report-Msgid-Bugs-To: \n" |
12 | "POT-Creation-Date: 2015-08-24 16:18+0200\n" | |
13 | "PO-Revision-Date: 2015-08-24 16:19+0200\n" | |
10 | "POT-Creation-Date: 2016-08-19 21:17+0000\n" | |
11 | "PO-Revision-Date: 2016-08-19 23:33+0200\n" | |
14 | 12 | "Last-Translator: Piotr Drąg <[email protected]>\n" |
15 | "Language-Team: Polish <[email protected]>\n" | |
13 | "Language-Team: Polish <[email protected]>\n" | |
16 | 14 | "Language: pl\n" |
17 | 15 | "MIME-Version: 1.0\n" |
18 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
19 | 17 | "Content-Transfer-Encoding: 8bit\n" |
20 | 18 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
21 | 19 | "|| n%100>=20) ? 1 : 2);\n" |
22 | "X-Poedit-Language: Polish\n" | |
23 | "X-Poedit-Country: Poland\n" | |
24 | ||
25 | #: ../data/gnome-classic.desktop.in.h:1 | |
26 | #: ../data/gnome-classic.session.desktop.in.in.h:1 | |
20 | ||
21 | #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 | |
27 | 22 | msgid "GNOME Classic" |
28 | 23 | msgstr "Klasyczne GNOME" |
29 | 24 | |
30 | #: ../data/gnome-classic.desktop.in.h:2 | |
25 | #: data/gnome-classic.desktop.in:4 | |
31 | 26 | msgid "This session logs you into GNOME Classic" |
32 | 27 | msgstr "Ta sesja loguje do klasycznego środowiska GNOME" |
33 | 28 | |
34 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1 | |
29 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7 | |
35 | 30 | msgid "Attach modal dialog to the parent window" |
36 | 31 | msgstr "Dołączanie modalnych okien dialogowych do okien nadrzędnych" |
37 | 32 | |
38 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:2 | |
33 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8 | |
34 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25 | |
35 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33 | |
36 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41 | |
39 | 37 | msgid "" |
40 | 38 | "This key overrides the key in org.gnome.mutter when running GNOME Shell." |
41 | 39 | msgstr "" |
42 | "Ten klucz zastępuje klucz w „org.gnome.mutter”, kiedy uruchomiona jest " | |
40 | "Ten klucz zastępuje klucz w „org.gnome.mutter”, kiedy uruchomiona jest " | |
43 | 41 | "powłoka GNOME." |
44 | 42 | |
45 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:3 | |
43 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16 | |
46 | 44 | msgid "Arrangement of buttons on the titlebar" |
47 | 45 | msgstr "Kolejność przycisków na pasku tytułowym" |
48 | 46 | |
49 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4 | |
47 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17 | |
50 | 48 | msgid "" |
51 | 49 | "This key overrides the key in org.gnome.desktop.wm.preferences when running " |
52 | 50 | "GNOME Shell." |
53 | 51 | msgstr "" |
54 | "Ten klucz zastępuje klucz w „org.gnome.desktop.wm.preferences”, kiedy " | |
52 | "Ten klucz zastępuje klucz w „org.gnome.desktop.wm.preferences”, kiedy " | |
55 | 53 | "uruchomiona jest powłoka GNOME." |
56 | 54 | |
57 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5 | |
55 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24 | |
58 | 56 | msgid "Enable edge tiling when dropping windows on screen edges" |
59 | 57 | msgstr "" |
60 | 58 | "Włączenie kafelkowania przy krawędziach podczas przenoszenia okien do " |
61 | 59 | "krawędzi ekranu" |
62 | 60 | |
63 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:6 | |
61 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32 | |
64 | 62 | msgid "Workspaces only on primary monitor" |
65 | 63 | msgstr "Obszary robocze tylko na pierwszym monitorze" |
66 | 64 | |
67 | #: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:7 | |
65 | #: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40 | |
68 | 66 | msgid "Delay focus changes in mouse mode until the pointer stops moving" |
69 | 67 | msgstr "" |
70 | "Opóźnienie zmiany aktywności w trybie myszy do momentu, w którym kursor się " | |
68 | "Opóźnienie zmiany aktywności w trybie myszy do momentu, w którym kursor się " | |
71 | 69 | "zatrzymuje" |
72 | 70 | |
73 | #: ../extensions/alternate-tab/prefs.js:20 | |
71 | #: extensions/alternate-tab/prefs.js:20 | |
74 | 72 | msgid "Thumbnail only" |
75 | 73 | msgstr "Tylko miniatury" |
76 | 74 | |
77 | #: ../extensions/alternate-tab/prefs.js:21 | |
75 | #: extensions/alternate-tab/prefs.js:21 | |
78 | 76 | msgid "Application icon only" |
79 | 77 | msgstr "Tylko ikony programów" |
80 | 78 | |
81 | #: ../extensions/alternate-tab/prefs.js:22 | |
79 | #: extensions/alternate-tab/prefs.js:22 | |
82 | 80 | msgid "Thumbnail and application icon" |
83 | msgstr "Miniatura i ikona programu" | |
84 | ||
85 | #: ../extensions/alternate-tab/prefs.js:38 | |
81 | msgstr "Miniatura i ikona programu" | |
82 | ||
83 | #: extensions/alternate-tab/prefs.js:38 | |
86 | 84 | msgid "Present windows as" |
87 | 85 | msgstr "Wyświetlanie okien jako" |
88 | 86 | |
89 | #: ../extensions/alternate-tab/prefs.js:69 | |
87 | #: extensions/alternate-tab/prefs.js:69 | |
90 | 88 | msgid "Show only windows in the current workspace" |
91 | msgstr "Wyświetlanie tylko okien w bieżącym obszarze roboczym" | |
92 | ||
93 | #: ../extensions/apps-menu/extension.js:38 | |
89 | msgstr "Wyświetlanie tylko okien w bieżącym obszarze roboczym" | |
90 | ||
91 | #: extensions/apps-menu/extension.js:38 | |
94 | 92 | msgid "Activities Overview" |
95 | 93 | msgstr "Ekran podglądu" |
96 | 94 | |
97 | #: ../extensions/apps-menu/extension.js:109 | |
95 | #: extensions/apps-menu/extension.js:109 | |
98 | 96 | msgid "Favorites" |
99 | 97 | msgstr "Ulubione" |
100 | 98 | |
101 | #: ../extensions/apps-menu/extension.js:261 | |
99 | #: extensions/apps-menu/extension.js:266 | |
102 | 100 | msgid "Applications" |
103 | 101 | msgstr "Programy" |
104 | 102 | |
105 | #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1 | |
103 | #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6 | |
106 | 104 | msgid "Application and workspace list" |
107 | msgstr "Lista programów i obszarów roboczych" | |
108 | ||
109 | #: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2 | |
105 | msgstr "Lista programów i obszarów roboczych" | |
106 | ||
107 | #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7 | |
110 | 108 | msgid "" |
111 | 109 | "A list of strings, each containing an application id (desktop file name), " |
112 | 110 | "followed by a colon and the workspace number" |
113 | 111 | msgstr "" |
114 | 112 | "Lista ciągów, każdy zawierający identyfikator programu (nazwę pliku ." |
115 | "desktop) z przecinkiem i numerem obszaru roboczego" | |
116 | ||
117 | #: ../extensions/auto-move-windows/prefs.js:60 | |
113 | "desktop) z przecinkiem i numerem obszaru roboczego" | |
114 | ||
115 | #: extensions/auto-move-windows/prefs.js:60 | |
118 | 116 | msgid "Application" |
119 | 117 | msgstr "Program" |
120 | 118 | |
121 | #: ../extensions/auto-move-windows/prefs.js:69 | |
122 | #: ../extensions/auto-move-windows/prefs.js:127 | |
119 | #: extensions/auto-move-windows/prefs.js:69 | |
120 | #: extensions/auto-move-windows/prefs.js:127 | |
123 | 121 | msgid "Workspace" |
124 | 122 | msgstr "Obszar roboczy" |
125 | 123 | |
126 | #: ../extensions/auto-move-windows/prefs.js:85 | |
124 | #: extensions/auto-move-windows/prefs.js:85 | |
127 | 125 | msgid "Add Rule" |
128 | 126 | msgstr "Dodaj regułę" |
129 | 127 | |
130 | #: ../extensions/auto-move-windows/prefs.js:106 | |
128 | #: extensions/auto-move-windows/prefs.js:106 | |
131 | 129 | msgid "Create new matching rule" |
132 | 130 | msgstr "Utwórz nową pasującą regułę" |
133 | 131 | |
134 | #: ../extensions/auto-move-windows/prefs.js:111 | |
132 | #: extensions/auto-move-windows/prefs.js:111 | |
135 | 133 | msgid "Add" |
136 | 134 | msgstr "Dodaj" |
137 | 135 | |
138 | #: ../extensions/drive-menu/extension.js:106 | |
136 | #: extensions/drive-menu/extension.js:106 | |
139 | 137 | #, javascript-format |
140 | 138 | msgid "Ejecting drive '%s' failed:" |
141 | 139 | msgstr "Wysunięcie napędu „%s” się nie powiodło:" |
142 | 140 | |
143 | #: ../extensions/drive-menu/extension.js:124 | |
141 | #: extensions/drive-menu/extension.js:124 | |
144 | 142 | msgid "Removable devices" |
145 | 143 | msgstr "Urządzenia wymienne" |
146 | 144 | |
147 | #: ../extensions/drive-menu/extension.js:149 | |
145 | #: extensions/drive-menu/extension.js:149 | |
148 | 146 | msgid "Open File" |
149 | 147 | msgstr "Otwórz plik" |
150 | 148 | |
151 | #: ../extensions/example/extension.js:17 | |
149 | #: extensions/example/extension.js:17 | |
152 | 150 | msgid "Hello, world!" |
153 | 151 | msgstr "Witaj, świecie!" |
154 | 152 | |
155 | #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1 | |
153 | #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5 | |
156 | 154 | msgid "Alternative greeting text." |
157 | 155 | msgstr "Alternatywny tekst powitalny." |
158 | 156 | |
159 | #: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2 | |
157 | #: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6 | |
160 | 158 | msgid "" |
161 | 159 | "If not empty, it contains the text that will be shown when clicking on the " |
162 | 160 | "panel." |
163 | 161 | msgstr "" |
164 | 162 | "Jeśli nie jest puste, to zawiera tekst wyświetlany po kliknięciu na panelu." |
165 | 163 | |
166 | #: ../extensions/example/prefs.js:30 | |
164 | #: extensions/example/prefs.js:30 | |
167 | 165 | msgid "Message" |
168 | 166 | msgstr "Wiadomość" |
169 | 167 | |
170 | 168 | #. TRANSLATORS: Example is the name of the extension, should not be |
171 | 169 | #. translated |
172 | #: ../extensions/example/prefs.js:43 | |
170 | #: extensions/example/prefs.js:43 | |
173 | 171 | msgid "" |
174 | 172 | "Example aims to show how to build well behaved extensions for the Shell and " |
175 | 173 | "as such it has little functionality on its own.\n" |
179 | 177 | "najmniej własnych funkcji.\n" |
180 | 178 | "Niemniej można dostosować wiadomość powitalną." |
181 | 179 | |
182 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1 | |
180 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5 | |
183 | 181 | msgid "Use more screen for windows" |
184 | 182 | msgstr "Użycie więcej miejsca dla okien" |
185 | 183 | |
186 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2 | |
184 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6 | |
187 | 185 | msgid "" |
188 | 186 | "Try to use more screen for placing window thumbnails by adapting to screen " |
189 | 187 | "aspect ratio, and consolidating them further to reduce the bounding box. " |
190 | 188 | "This setting applies only with the natural placement strategy." |
191 | 189 | msgstr "" |
192 | 190 | "Próbuje użyć więcej miejsca do umieszczania miniatur okien przez " |
193 | "zaadaptowanie formatu ekranu i zbliżenie ich do siebie. To ustawienie ma " | |
191 | "zaadaptowanie formatu ekranu i zbliżenie ich do siebie. To ustawienie ma " | |
194 | 192 | "wpływ tylko na naturalną strategię umieszczania okien." |
195 | 193 | |
196 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3 | |
194 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11 | |
197 | 195 | msgid "Place window captions on top" |
198 | 196 | msgstr "Umieszczanie podpisów okien na górze" |
199 | 197 | |
200 | #: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4 | |
198 | #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12 | |
201 | 199 | msgid "" |
202 | 200 | "If true, place window captions on top the respective thumbnail, overriding " |
203 | 201 | "shell default of placing it at the bottom. Changing this setting requires " |
208 | 206 | "powłokę. Zmiana tego ustawienia wymaga ponownego uruchomienia powłoki, aby " |
209 | 207 | "uwzględnić zmiany." |
210 | 208 | |
211 | #: ../extensions/places-menu/extension.js:78 | |
212 | #: ../extensions/places-menu/extension.js:81 | |
209 | #: extensions/places-menu/extension.js:78 | |
210 | #: extensions/places-menu/extension.js:81 | |
213 | 211 | msgid "Places" |
214 | 212 | msgstr "Miejsca" |
215 | 213 | |
216 | #: ../extensions/places-menu/placeDisplay.js:57 | |
214 | #: extensions/places-menu/placeDisplay.js:59 | |
217 | 215 | #, javascript-format |
218 | 216 | msgid "Failed to launch \"%s\"" |
219 | 217 | msgstr "Uruchomienie „%s” się nie powiodło" |
220 | 218 | |
221 | #: ../extensions/places-menu/placeDisplay.js:99 | |
222 | #: ../extensions/places-menu/placeDisplay.js:122 | |
219 | #: extensions/places-menu/placeDisplay.js:101 | |
220 | #: extensions/places-menu/placeDisplay.js:124 | |
223 | 221 | msgid "Computer" |
224 | 222 | msgstr "Komputer" |
225 | 223 | |
226 | #: ../extensions/places-menu/placeDisplay.js:200 | |
224 | #: extensions/places-menu/placeDisplay.js:267 | |
227 | 225 | msgid "Home" |
228 | 226 | msgstr "Katalog domowy" |
229 | 227 | |
230 | #: ../extensions/places-menu/placeDisplay.js:287 | |
228 | #: extensions/places-menu/placeDisplay.js:311 | |
231 | 229 | msgid "Browse Network" |
232 | 230 | msgstr "Przeglądaj sieć" |
233 | 231 | |
234 | #: ../extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml.in.h:1 | |
232 | #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7 | |
235 | 233 | msgid "Cycle Screenshot Sizes" |
236 | 234 | msgstr "Zmiana rozmiaru zrzutu ekranu" |
237 | 235 | |
238 | #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1 | |
236 | #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5 | |
239 | 237 | msgid "Theme name" |
240 | 238 | msgstr "Nazwa motywu" |
241 | 239 | |
242 | #: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2 | |
240 | #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6 | |
243 | 241 | msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" |
244 | msgstr "Nazwa motywu do wczytania z katalogu ~/.themes/name/gnome-shell" | |
245 | ||
246 | #: ../extensions/window-list/extension.js:110 | |
242 | msgstr "Nazwa motywu do wczytania z katalogu ~/.themes/name/gnome-shell" | |
243 | ||
244 | #: extensions/window-list/extension.js:110 | |
247 | 245 | msgid "Close" |
248 | 246 | msgstr "Zamknij" |
249 | 247 | |
250 | #: ../extensions/window-list/extension.js:120 | |
248 | #: extensions/window-list/extension.js:120 | |
251 | 249 | msgid "Unminimize" |
252 | 250 | msgstr "Cofnij minimalizację" |
253 | 251 | |
254 | #: ../extensions/window-list/extension.js:121 | |
252 | #: extensions/window-list/extension.js:121 | |
255 | 253 | msgid "Minimize" |
256 | 254 | msgstr "Zminimalizuj" |
257 | 255 | |
258 | #: ../extensions/window-list/extension.js:127 | |
256 | #: extensions/window-list/extension.js:127 | |
259 | 257 | msgid "Unmaximize" |
260 | 258 | msgstr "Cofnij maksymalizację" |
261 | 259 | |
262 | #: ../extensions/window-list/extension.js:128 | |
260 | #: extensions/window-list/extension.js:128 | |
263 | 261 | msgid "Maximize" |
264 | 262 | msgstr "Zmaksymalizuj" |
265 | 263 | |
266 | #: ../extensions/window-list/extension.js:402 | |
264 | #: extensions/window-list/extension.js:403 | |
267 | 265 | msgid "Minimize all" |
268 | 266 | msgstr "Zminimalizuj wszystkie" |
269 | 267 | |
270 | #: ../extensions/window-list/extension.js:410 | |
268 | #: extensions/window-list/extension.js:411 | |
271 | 269 | msgid "Unminimize all" |
272 | 270 | msgstr "Cofnij minimalizację wszystkich" |
273 | 271 | |
274 | #: ../extensions/window-list/extension.js:418 | |
272 | #: extensions/window-list/extension.js:419 | |
275 | 273 | msgid "Maximize all" |
276 | 274 | msgstr "Zmaksymalizuj wszystkie" |
277 | 275 | |
278 | #: ../extensions/window-list/extension.js:427 | |
276 | #: extensions/window-list/extension.js:428 | |
279 | 277 | msgid "Unmaximize all" |
280 | 278 | msgstr "Cofnij maksymalizację wszystkich" |
281 | 279 | |
282 | #: ../extensions/window-list/extension.js:436 | |
280 | #: extensions/window-list/extension.js:437 | |
283 | 281 | msgid "Close all" |
284 | 282 | msgstr "Zamknij wszystkie" |
285 | 283 | |
286 | #: ../extensions/window-list/extension.js:655 | |
287 | #: ../extensions/workspace-indicator/extension.js:30 | |
284 | #: extensions/window-list/extension.js:661 | |
285 | #: extensions/workspace-indicator/extension.js:30 | |
288 | 286 | msgid "Workspace Indicator" |
289 | 287 | msgstr "Wskaźnik obszaru roboczego" |
290 | 288 | |
291 | #: ../extensions/window-list/extension.js:814 | |
289 | #: extensions/window-list/extension.js:820 | |
292 | 290 | msgid "Window List" |
293 | 291 | msgstr "Lista okien" |
294 | 292 | |
295 | #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:1 | |
293 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12 | |
296 | 294 | msgid "When to group windows" |
297 | 295 | msgstr "Kiedy grupować okna" |
298 | 296 | |
299 | #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2 | |
297 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13 | |
300 | 298 | msgid "" |
301 | 299 | "Decides when to group windows from the same application on the window list. " |
302 | 300 | "Possible values are \"never\", \"auto\" and \"always\"." |
303 | 301 | msgstr "" |
304 | 302 | "Określa, kiedy grupować okna tego samego programu na liście okien. Możliwe " |
305 | "wartości to „never” (nigdy), „auto” (automatycznie) i „always” (zawsze)." | |
306 | ||
307 | #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:3 | |
303 | "wartości to „never” (nigdy), „auto” (automatycznie) i „always” (zawsze)." | |
304 | ||
305 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 | |
308 | 306 | msgid "Show the window list on all monitors" |
309 | 307 | msgstr "Wyświetlanie listy okien na wszystkich monitorach" |
310 | 308 | |
311 | #: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:4 | |
309 | #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 | |
312 | 310 | msgid "" |
313 | 311 | "Whether to show the window list on all connected monitors or only on the " |
314 | 312 | "primary one." |
316 | 314 | "Określa, czy wyświetlać listę okien na wszystkich podłączonych monitorach, " |
317 | 315 | "czy tylko na głównym." |
318 | 316 | |
319 | #: ../extensions/window-list/prefs.js:32 | |
317 | #: extensions/window-list/prefs.js:32 | |
320 | 318 | msgid "Window Grouping" |
321 | 319 | msgstr "Grupowanie okien" |
322 | 320 | |
323 | #: ../extensions/window-list/prefs.js:50 | |
321 | #: extensions/window-list/prefs.js:50 | |
324 | 322 | msgid "Never group windows" |
325 | 323 | msgstr "Bez grupowania okien" |
326 | 324 | |
327 | #: ../extensions/window-list/prefs.js:51 | |
325 | #: extensions/window-list/prefs.js:51 | |
328 | 326 | msgid "Group windows when space is limited" |
329 | 327 | msgstr "Grupowanie okien, kiedy miejsce jest ograniczone" |
330 | 328 | |
331 | #: ../extensions/window-list/prefs.js:52 | |
329 | #: extensions/window-list/prefs.js:52 | |
332 | 330 | msgid "Always group windows" |
333 | 331 | msgstr "Stałe grupowanie okien" |
334 | 332 | |
335 | #: ../extensions/window-list/prefs.js:75 | |
333 | #: extensions/window-list/prefs.js:75 | |
336 | 334 | msgid "Show on all monitors" |
337 | 335 | msgstr "Wyświetlanie na wszystkich monitorach" |
338 | 336 | |
339 | #: ../extensions/workspace-indicator/prefs.js:141 | |
337 | #: extensions/workspace-indicator/prefs.js:141 | |
340 | 338 | msgid "Workspace Names" |
341 | 339 | msgstr "Nazwy obszarów roboczych" |
342 | 340 | |
343 | #: ../extensions/workspace-indicator/prefs.js:157 | |
341 | #: extensions/workspace-indicator/prefs.js:157 | |
344 | 342 | msgid "Name" |
345 | 343 | msgstr "Nazwa" |
346 | 344 | |
347 | #: ../extensions/workspace-indicator/prefs.js:198 | |
345 | #: extensions/workspace-indicator/prefs.js:198 | |
348 | 346 | #, javascript-format |
349 | 347 | msgid "Workspace %d" |
350 | msgstr "Obszar roboczy %d" | |
348 | msgstr "%d. obszar roboczy" |
Binary diff not shown
0 | s/"\([^"]*\)"/“\1”/g | |
1 | s/`\([^`']*\)'/‘\1’/g | |
2 | s/ '\([^`']*\)' / ‘\1’ /g | |
3 | s/ '\([^`']*\)'$/ ‘\1’/g | |
4 | s/^'\([^`']*\)' /‘\1’ /g | |
5 | s/“”/""/g |
0 | # Sed script that remove the POT-Creation-Date line in the header entry | |
1 | # from a POT file. | |
2 | # | |
3 | # The distinction between the first and the following occurrences of the | |
4 | # pattern is achieved by looking at the hold space. | |
5 | /^"POT-Creation-Date: .*"$/{ | |
6 | x | |
7 | # Test if the hold space is empty. | |
8 | s/P/P/ | |
9 | ta | |
10 | # Yes it was empty. First occurrence. Remove the line. | |
11 | g | |
12 | d | |
13 | bb | |
14 | :a | |
15 | # The hold space was nonempty. Following occurrences. Do nothing. | |
16 | x | |
17 | :b | |
18 | } |
12 | 12 | "PO-Revision-Date: 2014-12-26 18:22+0100\n" |
13 | 13 | "Last-Translator: Matej Urbančič <[email protected]>\n" |
14 | 14 | "Language-Team: Slovenian GNOME Translation Team <[email protected]>\n" |
15 | "Language: sl_SI\n" | |
15 | "Language: sl\n" | |
16 | 16 | "MIME-Version: 1.0\n" |
17 | 17 | "Content-Type: text/plain; charset=UTF-8\n" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
Binary diff not shown
11 | 11 | "PO-Revision-Date: 2015-03-05 22:45+0200\n" |
12 | 12 | "Last-Translator: Miroslav Nikolić <[email protected]>\n" |
13 | 13 | "Language-Team: Serbian <[email protected]>\n" |
14 | "Language: sr\n" | |
14 | "Language: sr@latin\n" | |
15 | 15 | "MIME-Version: 1.0\n" |
16 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
0 | timestamp |
13 | 13 | "PO-Revision-Date: 2015-02-14 15:43+0000\n" |
14 | 14 | "Last-Translator: Muhammet Kara <[email protected]>\n" |
15 | 15 | "Language-Team: Türkçe <[email protected]>\n" |
16 | "Language: tr_TR\n" | |
16 | "Language: tr\n" | |
17 | 17 | "MIME-Version: 1.0\n" |
18 | 18 | "Content-Type: text/plain; charset=UTF-8\n" |
19 | 19 | "Content-Transfer-Encoding: 8bit\n" |
Binary diff not shown
Binary diff not shown
11 | 11 | "PO-Revision-Date: 2014-08-19 20:22+0800\n" |
12 | 12 | "Last-Translator: Chao-Hsiung Liao <[email protected]>\n" |
13 | 13 | "Language-Team: Chinese (Hong Kong) <[email protected]>\n" |
14 | "Language: zh_TW\n" | |
14 | "Language: zh_HK\n" | |
15 | 15 | "MIME-Version: 1.0\n" |
16 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
Binary diff not shown
0 | gschemas_in = $(gschemaname).gschema.xml.in | |
0 | gsettings_SCHEMAS = $(gschemaname).gschema.xml | |
1 | 1 | |
2 | @INTLTOOL_XML_NOMERGE_RULE@ | |
3 | ||
4 | gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) | |
2 | %.desktop:%.desktop.in | |
3 | $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ | |
5 | 4 | |
6 | 5 | @GSETTINGS_RULES@ |
7 | 6 | |
8 | CLEANFILES += $(gschemas_in:.xml.in=.valid) $(gsettings_SCHEMAS) | |
9 | EXTRA_DIST += $(gschemas_in) | |
7 | CLEANFILES += $(gsettings_SCHEMAS:.xml=.valid) | |
8 | EXTRA_DIST += $(gsettings_SCHEMAS) |