Codebase list ibus-libpinyin / f03c135
New upstream version 1.14.91 Gunnar Hjalmarsson 1 year, 5 months ago
112 changed file(s) with 83643 addition(s) and 17660 deletion(s). Raw diff Collapse all Expand all
+0
-27
.github/workflows/make-check.yml less more
0 name: C/C++ CI
1
2 on:
3 push:
4 branches: [ main ]
5 pull_request:
6 branches: [ main ]
7
8 jobs:
9 build:
10
11 runs-on: ubuntu-latest
12
13 steps:
14 - uses: actions/checkout@v2
15 - name: install build dependency
16 run: sudo apt-get install -y gettext gnome-common libibus-1.0-dev liblua5.3-dev libpinyin13-dev libsqlite3-dev libtool python3 python3-gi sqlite3 uuid-dev
17 - name: autoconf
18 run: ./autogen.sh
19 - name: configure
20 run: ./configure
21 - name: make
22 run: make
23 - name: make check
24 run: make check
25 - name: make distcheck
26 run: make distcheck
+0
-32
.gitignore less more
0 *.pyc
1 configure
2 Makefile
3 Makefile.in
4 aclocal.m4
5 config.log
6 ABOUT-NLS
7 INSTALL
8 autom4te.cache
9 compile
10 config.guess
11 config.h
12 config.h.in
13 config.rpath
14 config.status
15 config.sub
16 confinc
17 confmf
18 depcomp
19 ibus-libpinyin-*.tar.gz
20 ibus-libpinyin.spec
21 install-sh
22 libtool
23 ltmain.sh
24 missing
25 rpm
26 stamp-h1
27 py-compile
28 mkinstalldirs
29 .deps/
30 /test-driver
31 *~
0 1 Notes on the Free Translation Project
1 ***************************************
2
3 Free software is going international! The Free Translation Project is a
4 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 and
41 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 setting
60 'LANG', otherwise the setting of 'LANG' will not have the desired
61 effect. Here 'LL' is an ISO 639 two-letter language code, and 'CC' is
62 an ISO 3166 two-letter country code. For example, let's suppose that
63 you speak German and live in Germany. At the shell prompt, merely
64 execute 'setenv LANG de_DE' (in 'csh'), 'export LANG; LANG=de_DE' (in
65 'sh') or 'export LANG=de_DE' (in 'bash'). This can be done from your
66 '.login' or '.profile' file, once and for all.
67
68 You might think that the country code specification is redundant.
69 But in fact, some languages have dialects in different countries. For
70 example, 'de_AT' is used for Austria, and 'pt_BR' for Brazil. The
71 country code serves to distinguish the dialects.
72
73 The locale naming convention of 'LL_CC', with 'LL' denoting the
74 language and 'CC' denoting the country, is the one use on systems based
75 on GNU libc. On other systems, some variations of this scheme are used,
76 such as 'LL' or 'LL_CC.ENCODING'. You can get the list of locales
77 supported by your system for your language by running the command
78 'locale -a | grep '^LL''.
79
80 Not all programs have translations for all languages. By default, an
81 English message is shown in place of a nonexistent translation. If you
82 understand other languages, you can set up a priority list of languages.
83 This is done through a different environment variable, called
84 'LANGUAGE'. GNU 'gettext' gives preference to 'LANGUAGE' over 'LANG'
85 for the purpose of message handling, but you still need to have 'LANG'
86 set to the primary language; this is required by other parts of the
87 system libraries. For example, some Swedish users who would rather read
88 translations in German than English for when Swedish is not available,
89 set 'LANGUAGE' to 'sv:de' while leaving 'LANG' to 'sv_SE'.
90
91 Special advice for Norwegian users: The language code for Norwegian
92 bokma*l changed from 'no' to 'nb' recently (in 2003). During the
93 transition period, while some message catalogs for this language are
94 installed under 'nb' and some older ones under 'no', it's recommended
95 for Norwegian users to set 'LANGUAGE' to 'nb:no' so that both newer and
96 older translations are used.
97
98 In the 'LANGUAGE' environment variable, but not in the 'LANG'
99 environment variable, 'LL_CC' combinations can be abbreviated as 'LL' to
100 denote the language's main dialect. For example, 'de' is equivalent to
101 'de_DE' (German as spoken in Germany), and 'pt' to 'pt_PT' (Portuguese
102 as spoken in Portugal) in this context.
103
104 1.3 Translating Teams
105 =====================
106
107 For the Free Translation Project to be a success, we need interested
108 people who like their own language and write it well, and who are also
109 able to synergize with other translators speaking the same language.
110 Each translation team has its own mailing list. The up-to-date list of
111 teams can be found at the Free Translation Project's homepage,
112 'http://translationproject.org/', in the "Teams" area.
113
114 If you'd like to volunteer to _work_ at translating messages, you
115 should become a member of the translating team for your own language.
116 The subscribing address is _not_ the same as the list itself, it has
117 '-request' appended. For example, speakers of Swedish can send a
118 message to 'sv-request@li.org', having this message body:
119
120 subscribe
121
122 Keep in mind that team members are expected to participate _actively_
123 in translations, or at solving translational difficulties, rather than
124 merely lurking around. If your team does not exist yet and you want to
125 start one, or if you are unsure about what to do or how to get started,
126 please write to 'coordinator@translationproject.org' to reach the
127 coordinator for all translator teams.
128
129 The English team is special. It works at improving and uniformizing
130 the terminology in use. Proven linguistic skills are praised more than
131 programming skills, here.
132
133 1.4 Available Packages
134 ======================
135
136 Languages are not equally supported in all packages. The following
137 matrix shows the current state of internationalization, as of Jun 2014.
138 The matrix shows, in regard of each package, for which languages PO
139 files have been submitted to translation coordination, with a
140 translation percentage of at least 50%.
141
142 Ready PO files af am an ar as ast az be bg bn bn_IN bs ca crh cs
143 +---------------------------------------------------+
144 a2ps | [] [] [] |
145 aegis | |
146 anubis | |
147 aspell | [] [] [] |
148 bash | [] [] [] |
149 bfd | |
150 binutils | [] |
151 bison | |
152 bison-runtime | [] |
153 buzztrax | [] |
154 ccd2cue | |
155 ccide | |
156 cflow | |
157 clisp | |
158 coreutils | [] [] |
159 cpio | |
160 cppi | |
161 cpplib | [] |
162 cryptsetup | [] |
163 datamash | |
164 denemo | [] [] |
165 dfarc | [] |
166 dialog | [] [] [] |
167 dico | |
168 diffutils | [] |
169 dink | [] |
170 direvent | |
171 doodle | [] |
172 dos2unix | |
173 dos2unix-man | |
174 e2fsprogs | [] [] |
175 enscript | [] |
176 exif | [] |
177 fetchmail | [] [] |
178 findutils | [] |
179 flex | [] |
180 freedink | [] [] |
181 fusionforge | |
182 gas | |
183 gawk | [] |
184 gcal | [] |
185 gcc | |
186 gdbm | |
187 gettext-examples | [] [] [] [] [] |
188 gettext-runtime | [] [] [] |
189 gettext-tools | [] [] |
190 gjay | |
191 glunarclock | [] [] [] |
192 gnubiff | [] |
193 gnubik | [] |
194 gnucash | () () [] |
195 gnuchess | |
196 gnulib | [] |
197 gnunet | |
198 gnunet-gtk | |
199 gold | |
200 gphoto2 | [] |
201 gprof | [] |
202 gramadoir | |
203 grep | [] [] [] |
204 grub | [] |
205 gsasl | |
206 gss | |
207 gst-plugins-bad | [] |
208 gst-plugins-base | [] [] [] |
209 gst-plugins-good | [] [] [] |
210 gst-plugins-ugly | [] [] [] |
211 gstreamer | [] [] [] [] |
212 gtick | [] |
213 gtkam | [] [] |
214 gtkspell | [] [] [] [] [] |
215 guix | |
216 guix-packages | |
217 gutenprint | [] |
218 hello | [] |
219 help2man | |
220 help2man-texi | |
221 hylafax | |
222 idutils | |
223 iso_15924 | [] |
224 iso_3166 | [] [] [] [] [] [] [] [] [] [] |
225 iso_3166_2 | |
226 iso_4217 | [] |
227 iso_639 | [] [] [] [] [] [] [] [] [] |
228 iso_639_3 | [] [] |
229 iso_639_5 | |
230 jwhois | |
231 kbd | [] |
232 klavaro | [] [] [] [] [] |
233 latrine | |
234 ld | [] |
235 leafpad | [] [] [] [] |
236 libc | [] [] [] |
237 libexif | () |
238 libextractor | |
239 libgnutls | [] |
240 libgphoto2 | [] |
241 libgphoto2_port | [] |
242 libgsasl | |
243 libiconv | [] [] |
244 libidn | [] |
245 liferea | [] [] [] [] |
246 lilypond | [] [] |
247 lordsawar | [] |
248 lprng | |
249 lynx | [] [] |
250 m4 | [] |
251 mailfromd | |
252 mailutils | |
253 make | [] |
254 man-db | [] [] |
255 man-db-manpages | |
256 midi-instruments | [] [] [] |
257 minicom | [] |
258 mkisofs | [] |
259 myserver | [] |
260 nano | [] [] [] |
261 opcodes | |
262 parted | [] |
263 pies | |
264 popt | [] |
265 procps-ng | |
266 procps-ng-man | |
267 psmisc | [] |
268 pspp | [] |
269 pushover | [] |
270 pwdutils | |
271 pyspread | |
272 radius | [] |
273 recode | [] [] [] |
274 recutils | |
275 rpm | |
276 rush | |
277 sarg | |
278 sed | [] [] [] |
279 sharutils | [] |
280 shishi | |
281 skribilo | |
282 solfege | [] |
283 solfege-manual | |
284 spotmachine | |
285 sudo | [] [] |
286 sudoers | [] [] |
287 sysstat | [] |
288 tar | [] [] [] |
289 texinfo | [] [] |
290 texinfo_document | [] |
291 tigervnc | [] |
292 tin | |
293 tin-man | |
294 tracgoogleappsa... | |
295 trader | |
296 util-linux | [] |
297 ve | |
298 vice | |
299 vmm | |
300 vorbis-tools | [] |
301 wastesedge | |
302 wcd | |
303 wcd-man | |
304 wdiff | [] [] |
305 wget | [] |
306 wyslij-po | |
307 xboard | |
308 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] |
309 xkeyboard-config | [] [] [] |
310 +---------------------------------------------------+
311 af am an ar as ast az be bg bn bn_IN bs ca crh cs
312 4 0 2 5 3 11 0 8 23 3 3 1 54 4 73
313
314 da de el en en_GB en_ZA eo es et eu fa fi fr
315 +--------------------------------------------------+
316 a2ps | [] [] [] [] [] [] [] [] [] |
317 aegis | [] [] [] [] |
318 anubis | [] [] [] [] [] |
319 aspell | [] [] [] [] [] [] [] |
320 bash | [] [] [] |
321 bfd | [] [] [] [] |
322 binutils | [] [] [] |
323 bison | [] [] [] [] [] [] [] [] |
324 bison-runtime | [] [] [] [] [] [] [] [] |
325 buzztrax | [] [] [] [] |
326 ccd2cue | [] [] [] |
327 ccide | [] [] [] [] [] [] |
328 cflow | [] [] [] [] [] |
329 clisp | [] [] [] [] [] |
330 coreutils | [] [] [] [] [] |
331 cpio | [] [] [] [] [] |
332 cppi | [] [] [] [] [] |
333 cpplib | [] [] [] [] [] [] |
334 cryptsetup | [] [] [] [] [] |
335 datamash | [] [] [] [] |
336 denemo | [] |
337 dfarc | [] [] [] [] [] [] |
338 dialog | [] [] [] [] [] [] [] [] [] |
339 dico | [] [] [] [] |
340 diffutils | [] [] [] [] [] [] |
341 dink | [] [] [] [] [] [] |
342 direvent | [] [] [] [] |
343 doodle | [] [] [] [] |
344 dos2unix | [] [] [] [] [] |
345 dos2unix-man | [] [] [] |
346 e2fsprogs | [] [] [] [] [] |
347 enscript | [] [] [] [] [] [] |
348 exif | [] [] [] [] [] [] |
349 fetchmail | [] () [] [] [] [] [] |
350 findutils | [] [] [] [] [] [] [] [] |
351 flex | [] [] [] [] [] [] |
352 freedink | [] [] [] [] [] [] [] [] |
353 fusionforge | [] [] [] |
354 gas | [] [] [] |
355 gawk | [] [] [] [] [] |
356 gcal | [] [] [] [] |
357 gcc | [] [] |
358 gdbm | [] [] [] [] [] |
359 gettext-examples | [] [] [] [] [] [] [] |
360 gettext-runtime | [] [] [] [] [] [] |
361 gettext-tools | [] [] [] [] [] |
362 gjay | [] [] [] [] |
363 glunarclock | [] [] [] [] [] |
364 gnubiff | () [] [] () |
365 gnubik | [] [] [] [] [] |
366 gnucash | [] () () () () () () |
367 gnuchess | [] [] [] [] |
368 gnulib | [] [] [] [] [] [] [] |
369 gnunet | [] |
370 gnunet-gtk | [] |
371 gold | [] [] [] |
372 gphoto2 | [] () [] [] |
373 gprof | [] [] [] [] [] [] |
374 gramadoir | [] [] [] [] [] |
375 grep | [] [] [] [] [] [] [] |
376 grub | [] [] [] [] [] |
377 gsasl | [] [] [] [] [] |
378 gss | [] [] [] [] [] |
379 gst-plugins-bad | [] [] |
380 gst-plugins-base | [] [] [] [] [] [] |
381 gst-plugins-good | [] [] [] [] [] [] [] |
382 gst-plugins-ugly | [] [] [] [] [] [] [] [] |
383 gstreamer | [] [] [] [] [] [] [] |
384 gtick | [] () [] [] [] |
385 gtkam | [] () [] [] [] [] |
386 gtkspell | [] [] [] [] [] [] [] [] |
387 guix | [] [] |
388 guix-packages | |
389 gutenprint | [] [] [] [] |
390 hello | [] [] [] [] [] [] [] [] |
391 help2man | [] [] [] [] [] [] [] |
392 help2man-texi | [] [] [] |
393 hylafax | [] [] |
394 idutils | [] [] [] [] [] |
395 iso_15924 | [] () [] [] () [] () |
396 iso_3166 | [] () [] [] [] [] () [] () |
397 iso_3166_2 | [] () () () |
398 iso_4217 | [] () [] [] [] () [] () |
399 iso_639 | [] () [] [] () [] () |
400 iso_639_3 | () () () |
401 iso_639_5 | () () () |
402 jwhois | [] [] [] [] [] |
403 kbd | [] [] [] [] [] [] |
404 klavaro | [] [] [] [] [] [] [] |
405 latrine | [] () [] [] |
406 ld | [] [] [] [] |
407 leafpad | [] [] [] [] [] [] [] [] |
408 libc | [] [] [] [] [] |
409 libexif | [] [] () [] [] |
410 libextractor | [] |
411 libgnutls | [] [] [] [] |
412 libgphoto2 | [] () [] |
413 libgphoto2_port | [] () [] [] [] [] |
414 libgsasl | [] [] [] [] [] |
415 libiconv | [] [] [] [] [] [] [] |
416 libidn | [] [] [] [] [] |
417 liferea | [] () [] [] [] [] [] |
418 lilypond | [] [] [] [] [] [] |
419 lordsawar | [] [] |
420 lprng | |
421 lynx | [] [] [] [] [] [] |
422 m4 | [] [] [] [] [] [] |
423 mailfromd | [] |
424 mailutils | [] [] [] [] |
425 make | [] [] [] [] [] |
426 man-db | [] [] [] [] |
427 man-db-manpages | [] [] |
428 midi-instruments | [] [] [] [] [] [] [] [] [] |
429 minicom | [] [] [] [] [] |
430 mkisofs | [] [] [] |
431 myserver | [] [] [] [] |
432 nano | [] [] [] [] [] [] [] |
433 opcodes | [] [] [] [] [] |
434 parted | [] [] [] |
435 pies | [] |
436 popt | [] [] [] [] [] [] |
437 procps-ng | [] [] |
438 procps-ng-man | [] [] |
439 psmisc | [] [] [] [] [] [] [] |
440 pspp | [] [] [] |
441 pushover | () [] [] [] |
442 pwdutils | [] [] [] |
443 pyspread | [] [] [] |
444 radius | [] [] |
445 recode | [] [] [] [] [] [] [] |
446 recutils | [] [] [] [] |
447 rpm | [] [] [] [] [] |
448 rush | [] [] [] |
449 sarg | [] [] |
450 sed | [] [] [] [] [] [] [] [] |
451 sharutils | [] [] [] [] |
452 shishi | [] [] [] |
453 skribilo | [] [] |
454 solfege | [] [] [] [] [] [] [] [] |
455 solfege-manual | [] [] [] [] [] |
456 spotmachine | [] [] [] [] |
457 sudo | [] [] [] [] [] [] |
458 sudoers | [] [] [] [] [] [] |
459 sysstat | [] [] [] [] [] [] |
460 tar | [] [] [] [] [] [] [] |
461 texinfo | [] [] [] [] [] |
462 texinfo_document | [] [] [] [] |
463 tigervnc | [] [] [] [] [] [] |
464 tin | [] [] [] [] |
465 tin-man | [] |
466 tracgoogleappsa... | [] [] [] [] [] |
467 trader | [] [] [] [] [] [] |
468 util-linux | [] [] [] [] |
469 ve | [] [] [] [] [] |
470 vice | () () () |
471 vmm | [] [] |
472 vorbis-tools | [] [] [] [] |
473 wastesedge | [] () |
474 wcd | [] [] [] [] |
475 wcd-man | [] |
476 wdiff | [] [] [] [] [] [] [] |
477 wget | [] [] [] [] [] [] |
478 wyslij-po | [] [] [] [] |
479 xboard | [] [] [] [] |
480 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] |
481 xkeyboard-config | [] [] [] [] [] [] [] |
482 +--------------------------------------------------+
483 da de el en en_GB en_ZA eo es et eu fa fi fr
484 120 130 32 1 6 0 94 95 22 13 4 103 136
485
486 ga gd gl gu he hi hr hu hy ia id is it ja ka kk
487 +-------------------------------------------------+
488 a2ps | [] [] [] [] |
489 aegis | [] |
490 anubis | [] [] [] [] |
491 aspell | [] [] [] [] [] |
492 bash | [] [] [] |
493 bfd | [] [] |
494 binutils | [] [] [] |
495 bison | [] |
496 bison-runtime | [] [] [] [] [] [] [] [] |
497 buzztrax | |
498 ccd2cue | [] |
499 ccide | [] [] |
500 cflow | [] [] [] |
501 clisp | |
502 coreutils | [] [] [] |
503 cpio | [] [] [] [] [] [] |
504 cppi | [] [] [] [] [] |
505 cpplib | [] [] |
506 cryptsetup | [] |
507 datamash | |
508 denemo | [] |
509 dfarc | [] [] [] |
510 dialog | [] [] [] [] [] [] [] [] [] [] |
511 dico | |
512 diffutils | [] [] [] [] |
513 dink | [] |
514 direvent | [] |
515 doodle | [] [] |
516 dos2unix | [] [] |
517 dos2unix-man | |
518 e2fsprogs | [] |
519 enscript | [] [] [] |
520 exif | [] [] [] [] [] [] |
521 fetchmail | [] [] [] |
522 findutils | [] [] [] [] [] [] [] |
523 flex | [] |
524 freedink | [] [] [] [] |
525 fusionforge | |
526 gas | [] |
527 gawk | [] () [] |
528 gcal | |
529 gcc | |
530 gdbm | |
531 gettext-examples | [] [] [] [] [] [] [] |
532 gettext-runtime | [] [] [] [] [] [] [] |
533 gettext-tools | [] [] [] |
534 gjay | [] |
535 glunarclock | [] [] [] [] [] [] |
536 gnubiff | [] [] () |
537 gnubik | [] [] [] |
538 gnucash | () () () () () [] |
539 gnuchess | |
540 gnulib | [] [] [] [] [] |
541 gnunet | |
542 gnunet-gtk | |
543 gold | [] [] |
544 gphoto2 | [] [] [] [] |
545 gprof | [] [] [] [] |
546 gramadoir | [] [] [] |
547 grep | [] [] [] [] [] [] [] |
548 grub | [] [] [] |
549 gsasl | [] [] [] [] [] |
550 gss | [] [] [] [] [] |
551 gst-plugins-bad | [] |
552 gst-plugins-base | [] [] [] [] |
553 gst-plugins-good | [] [] [] [] [] [] |
554 gst-plugins-ugly | [] [] [] [] [] [] |
555 gstreamer | [] [] [] [] [] |
556 gtick | [] [] [] [] [] |
557 gtkam | [] [] [] [] [] |
558 gtkspell | [] [] [] [] [] [] [] [] [] [] |
559 guix | |
560 guix-packages | |
561 gutenprint | [] [] [] |
562 hello | [] [] [] [] [] |
563 help2man | [] [] [] |
564 help2man-texi | |
565 hylafax | [] |
566 idutils | [] [] |
567 iso_15924 | [] [] [] [] [] [] |
568 iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
569 iso_3166_2 | [] [] |
570 iso_4217 | [] [] [] [] [] [] |
571 iso_639 | [] [] [] [] [] [] [] [] [] |
572 iso_639_3 | [] [] |
573 iso_639_5 | |
574 jwhois | [] [] [] [] |
575 kbd | [] [] [] |
576 klavaro | [] [] [] [] [] |
577 latrine | [] |
578 ld | [] [] [] [] |
579 leafpad | [] [] [] [] [] [] [] () |
580 libc | [] [] [] [] [] |
581 libexif | [] |
582 libextractor | |
583 libgnutls | [] |
584 libgphoto2 | [] [] |
585 libgphoto2_port | [] [] |
586 libgsasl | [] [] [] [] |
587 libiconv | [] [] [] [] [] [] [] |
588 libidn | [] [] [] [] |
589 liferea | [] [] [] [] [] |
590 lilypond | [] |
591 lordsawar | |
592 lprng | [] |
593 lynx | [] [] [] [] |
594 m4 | [] [] [] [] [] |
595 mailfromd | |
596 mailutils | |
597 make | [] [] [] [] |
598 man-db | [] [] |
599 man-db-manpages | [] [] |
600 midi-instruments | [] [] [] [] [] [] [] [] [] |
601 minicom | [] [] [] |
602 mkisofs | [] [] |
603 myserver | [] |
604 nano | [] [] [] [] [] |
605 opcodes | [] [] [] |
606 parted | [] [] [] [] |
607 pies | |
608 popt | [] [] [] [] [] [] [] [] [] [] |
609 procps-ng | |
610 procps-ng-man | |
611 psmisc | [] [] [] [] |
612 pspp | [] [] |
613 pushover | [] |
614 pwdutils | [] |
615 pyspread | |
616 radius | [] |
617 recode | [] [] [] [] [] [] [] |
618 recutils | |
619 rpm | [] |
620 rush | [] |
621 sarg | |
622 sed | [] [] [] [] [] [] [] |
623 sharutils | |
624 shishi | |
625 skribilo | [] |
626 solfege | [] [] |
627 solfege-manual | |
628 spotmachine | |
629 sudo | [] [] [] [] |
630 sudoers | [] [] [] |
631 sysstat | [] [] [] |
632 tar | [] [] [] [] [] [] |
633 texinfo | [] [] [] |
634 texinfo_document | [] [] |
635 tigervnc | |
636 tin | |
637 tin-man | |
638 tracgoogleappsa... | [] [] [] [] |
639 trader | [] [] |
640 util-linux | [] |
641 ve | [] |
642 vice | () () |
643 vmm | |
644 vorbis-tools | [] [] |
645 wastesedge | () |
646 wcd | |
647 wcd-man | |
648 wdiff | [] [] [] |
649 wget | [] [] [] |
650 wyslij-po | [] [] [] |
651 xboard | |
652 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
653 xkeyboard-config | [] [] [] [] [] |
654 +-------------------------------------------------+
655 ga gd gl gu he hi hr hu hy ia id is it ja ka kk
656 35 2 47 4 8 2 53 69 2 6 80 11 86 58 0 3
657
658 kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl
659 +--------------------------------------------------+
660 a2ps | [] [] |
661 aegis | [] |
662 anubis | [] [] [] |
663 aspell | [] [] |
664 bash | [] [] |
665 bfd | |
666 binutils | |
667 bison | [] |
668 bison-runtime | [] [] [] [] [] [] |
669 buzztrax | |
670 ccd2cue | |
671 ccide | [] [] |
672 cflow | [] |
673 clisp | [] |
674 coreutils | [] [] |
675 cpio | [] |
676 cppi | |
677 cpplib | [] |
678 cryptsetup | [] |
679 datamash | [] [] |
680 denemo | |
681 dfarc | [] [] |
682 dialog | [] [] [] [] [] [] |
683 dico | |
684 diffutils | [] [] [] |
685 dink | [] |
686 direvent | [] |
687 doodle | [] |
688 dos2unix | [] [] |
689 dos2unix-man | [] |
690 e2fsprogs | [] |
691 enscript | [] |
692 exif | [] [] |
693 fetchmail | [] |
694 findutils | [] [] |
695 flex | [] |
696 freedink | [] [] |
697 fusionforge | |
698 gas | |
699 gawk | [] |
700 gcal | |
701 gcc | |
702 gdbm | |
703 gettext-examples | [] [] [] [] [] [] |
704 gettext-runtime | [] [] |
705 gettext-tools | [] |
706 gjay | |
707 glunarclock | [] [] |
708 gnubiff | [] |
709 gnubik | [] [] |
710 gnucash | () () () () () () () [] |
711 gnuchess | [] [] |
712 gnulib | [] |
713 gnunet | |
714 gnunet-gtk | |
715 gold | |
716 gphoto2 | [] |
717 gprof | [] [] |
718 gramadoir | [] |
719 grep | [] [] |
720 grub | [] [] [] |
721 gsasl | [] |
722 gss | |
723 gst-plugins-bad | [] [] |
724 gst-plugins-base | [] [] [] |
725 gst-plugins-good | [] [] [] [] |
726 gst-plugins-ugly | [] [] [] [] [] |
727 gstreamer | [] [] |
728 gtick | [] |
729 gtkam | [] [] |
730 gtkspell | [] [] [] [] [] [] [] |
731 guix | |
732 guix-packages | |
733 gutenprint | [] |
734 hello | [] [] [] |
735 help2man | [] |
736 help2man-texi | |
737 hylafax | [] |
738 idutils | [] |
739 iso_15924 | () [] [] |
740 iso_3166 | [] [] [] () [] [] [] [] [] [] |
741 iso_3166_2 | () [] |
742 iso_4217 | () [] [] [] |
743 iso_639 | [] [] () [] [] [] [] |
744 iso_639_3 | [] () [] |
745 iso_639_5 | () |
746 jwhois | [] [] |
747 kbd | [] |
748 klavaro | [] [] |
749 latrine | |
750 ld | |
751 leafpad | [] [] [] [] [] |
752 libc | [] [] |
753 libexif | [] |
754 libextractor | [] |
755 libgnutls | [] [] |
756 libgphoto2 | [] |
757 libgphoto2_port | [] |
758 libgsasl | [] |
759 libiconv | [] [] |
760 libidn | [] |
761 liferea | [] [] [] |
762 lilypond | [] |
763 lordsawar | |
764 lprng | |
765 lynx | [] |
766 m4 | [] |
767 mailfromd | |
768 mailutils | |
769 make | [] [] |
770 man-db | [] |
771 man-db-manpages | [] |
772 midi-instruments | [] [] [] [] [] [] [] |
773 minicom | [] |
774 mkisofs | [] |
775 myserver | |
776 nano | [] [] [] |
777 opcodes | [] |
778 parted | [] |
779 pies | |
780 popt | [] [] [] [] [] |
781 procps-ng | |
782 procps-ng-man | |
783 psmisc | [] |
784 pspp | [] [] |
785 pushover | |
786 pwdutils | [] |
787 pyspread | |
788 radius | [] |
789 recode | [] [] |
790 recutils | [] |
791 rpm | [] |
792 rush | [] |
793 sarg | |
794 sed | [] [] |
795 sharutils | [] |
796 shishi | |
797 skribilo | |
798 solfege | [] [] |
799 solfege-manual | [] |
800 spotmachine | [] |
801 sudo | [] [] |
802 sudoers | [] [] |
803 sysstat | [] [] |
804 tar | [] [] [] |
805 texinfo | [] |
806 texinfo_document | [] |
807 tigervnc | [] |
808 tin | |
809 tin-man | |
810 tracgoogleappsa... | [] [] [] |
811 trader | [] |
812 util-linux | [] |
813 ve | [] |
814 vice | [] |
815 vmm | [] |
816 vorbis-tools | [] |
817 wastesedge | [] |
818 wcd | [] |
819 wcd-man | [] |
820 wdiff | [] |
821 wget | [] [] |
822 wyslij-po | [] |
823 xboard | [] |
824 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] |
825 xkeyboard-config | [] [] [] |
826 +--------------------------------------------------+
827 kn ko ku ky lg lt lv mk ml mn mr ms mt nb ne nl
828 5 11 4 6 0 13 22 3 3 3 4 11 2 40 1 124
829
830 nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr
831 +--------------------------------------------------+
832 a2ps | [] [] [] [] [] [] [] |
833 aegis | [] [] |
834 anubis | [] [] [] |
835 aspell | [] [] [] [] [] [] [] |
836 bash | [] [] [] [] [] |
837 bfd | [] |
838 binutils | [] [] |
839 bison | [] [] [] |
840 bison-runtime | [] [] [] [] [] [] [] [] |
841 buzztrax | |
842 ccd2cue | [] |
843 ccide | [] [] [] |
844 cflow | [] [] |
845 clisp | [] |
846 coreutils | [] [] [] [] |
847 cpio | [] [] [] |
848 cppi | [] [] [] |
849 cpplib | [] [] [] |
850 cryptsetup | [] [] |
851 datamash | [] [] |
852 denemo | |
853 dfarc | [] [] [] |
854 dialog | [] [] [] [] [] [] [] |
855 dico | [] |
856 diffutils | [] [] |
857 dink | |
858 direvent | [] [] |
859 doodle | [] [] |
860 dos2unix | [] [] [] [] |
861 dos2unix-man | [] [] |
862 e2fsprogs | [] |
863 enscript | [] [] [] [] [] [] |
864 exif | [] [] [] [] [] [] |
865 fetchmail | [] [] [] |
866 findutils | [] [] [] [] [] |
867 flex | [] [] [] [] [] |
868 freedink | [] [] [] [] [] |
869 fusionforge | |
870 gas | |
871 gawk | [] |
872 gcal | |
873 gcc | |
874 gdbm | [] [] [] |
875 gettext-examples | [] [] [] [] [] [] [] [] |
876 gettext-runtime | [] [] [] [] [] [] [] [] [] |
877 gettext-tools | [] [] [] [] [] [] [] |
878 gjay | [] |
879 glunarclock | [] [] [] [] [] [] |
880 gnubiff | [] |
881 gnubik | [] [] [] [] |
882 gnucash | () () () () [] |
883 gnuchess | [] [] |
884 gnulib | [] [] [] [] [] |
885 gnunet | |
886 gnunet-gtk | |
887 gold | |
888 gphoto2 | [] [] [] [] [] |
889 gprof | [] [] [] [] |
890 gramadoir | [] [] |
891 grep | [] [] [] [] [] [] |
892 grub | [] [] [] [] [] |
893 gsasl | [] [] [] |
894 gss | [] [] [] [] |
895 gst-plugins-bad | [] [] [] [] |
896 gst-plugins-base | [] [] [] [] [] [] |
897 gst-plugins-good | [] [] [] [] [] [] [] |
898 gst-plugins-ugly | [] [] [] [] [] [] [] |
899 gstreamer | [] [] [] [] [] [] [] |
900 gtick | [] [] [] [] [] |
901 gtkam | [] [] [] [] [] [] |
902 gtkspell | [] [] [] [] [] [] [] [] [] |
903 guix | |
904 guix-packages | |
905 gutenprint | [] [] |
906 hello | [] [] [] [] [] [] |
907 help2man | [] [] [] [] |
908 help2man-texi | [] |
909 hylafax | |
910 idutils | [] [] [] |
911 iso_15924 | [] () [] [] [] [] |
912 iso_3166 | [] [] [] [] () [] [] [] [] [] [] [] [] |
913 iso_3166_2 | [] () [] |
914 iso_4217 | [] [] () [] [] [] [] [] |
915 iso_639 | [] [] [] () [] [] [] [] [] [] |
916 iso_639_3 | [] () |
917 iso_639_5 | () [] |
918 jwhois | [] [] [] [] |
919 kbd | [] [] |
920 klavaro | [] [] [] [] [] |
921 latrine | [] |
922 ld | |
923 leafpad | [] [] [] [] [] [] [] [] [] |
924 libc | [] [] [] |
925 libexif | [] () [] |
926 libextractor | [] |
927 libgnutls | [] |
928 libgphoto2 | [] |
929 libgphoto2_port | [] [] [] [] [] |
930 libgsasl | [] [] [] [] |
931 libiconv | [] [] [] [] [] |
932 libidn | [] [] [] |
933 liferea | [] [] [] [] () [] [] |
934 lilypond | |
935 lordsawar | |
936 lprng | [] |
937 lynx | [] [] |
938 m4 | [] [] [] [] [] |
939 mailfromd | [] |
940 mailutils | [] |
941 make | [] [] [] |
942 man-db | [] [] [] |
943 man-db-manpages | [] [] [] |
944 midi-instruments | [] [] [] [] [] [] [] [] |
945 minicom | [] [] [] [] |
946 mkisofs | [] [] [] |
947 myserver | [] [] |
948 nano | [] [] [] [] [] [] |
949 opcodes | |
950 parted | [] [] [] [] [] [] |
951 pies | [] |
952 popt | [] [] [] [] [] [] |
953 procps-ng | [] |
954 procps-ng-man | [] |
955 psmisc | [] [] [] [] |
956 pspp | [] [] |
957 pushover | |
958 pwdutils | [] |
959 pyspread | [] [] |
960 radius | [] [] |
961 recode | [] [] [] [] [] [] [] [] |
962 recutils | [] |
963 rpm | [] |
964 rush | [] [] [] |
965 sarg | [] [] |
966 sed | [] [] [] [] [] [] [] [] |
967 sharutils | [] [] [] |
968 shishi | [] [] |
969 skribilo | |
970 solfege | [] [] [] |
971 solfege-manual | [] [] |
972 spotmachine | [] [] |
973 sudo | [] [] [] [] [] [] |
974 sudoers | [] [] [] [] |
975 sysstat | [] [] [] [] [] |
976 tar | [] [] [] [] [] |
977 texinfo | [] [] [] |
978 texinfo_document | [] [] |
979 tigervnc | [] |
980 tin | [] |
981 tin-man | |
982 tracgoogleappsa... | [] [] [] [] |
983 trader | [] |
984 util-linux | [] [] |
985 ve | [] [] [] |
986 vice | |
987 vmm | |
988 vorbis-tools | [] [] [] |
989 wastesedge | |
990 wcd | |
991 wcd-man | |
992 wdiff | [] [] [] [] [] |
993 wget | [] [] [] [] |
994 wyslij-po | [] [] [] [] |
995 xboard | [] [] [] |
996 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
997 xkeyboard-config | [] [] [] [] |
998 +--------------------------------------------------+
999 nn or os pa pl ps pt pt_BR ro ru rw sk sl sq sr
1000 7 3 1 6 114 1 12 83 32 80 3 38 45 7 94
1001
1002 sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK
1003 +---------------------------------------------------+
1004 a2ps | [] [] [] [] [] |
1005 aegis | [] |
1006 anubis | [] [] [] [] |
1007 aspell | [] [] [] [] |
1008 bash | [] [] [] [] |
1009 bfd | [] [] |
1010 binutils | [] [] [] |
1011 bison | [] [] [] [] |
1012 bison-runtime | [] [] [] [] [] [] |
1013 buzztrax | [] [] [] |
1014 ccd2cue | [] [] [] |
1015 ccide | [] [] [] [] |
1016 cflow | [] [] [] [] |
1017 clisp | |
1018 coreutils | [] [] [] [] |
1019 cpio | [] [] [] [] [] |
1020 cppi | [] [] [] [] |
1021 cpplib | [] [] [] [] [] |
1022 cryptsetup | [] [] [] |
1023 datamash | [] [] [] |
1024 denemo | |
1025 dfarc | [] |
1026 dialog | [] [] [] [] [] [] |
1027 dico | [] |
1028 diffutils | [] [] [] [] [] |
1029 dink | |
1030 direvent | [] [] |
1031 doodle | [] [] |
1032 dos2unix | [] [] [] [] |
1033 dos2unix-man | [] [] [] |
1034 e2fsprogs | [] [] [] [] |
1035 enscript | [] [] [] [] |
1036 exif | [] [] [] [] [] |
1037 fetchmail | [] [] [] [] |
1038 findutils | [] [] [] [] [] |
1039 flex | [] [] [] [] |
1040 freedink | [] [] |
1041 fusionforge | |
1042 gas | [] |
1043 gawk | [] [] |
1044 gcal | [] [] |
1045 gcc | [] [] |
1046 gdbm | [] [] |
1047 gettext-examples | [] [] [] [] [] [] |
1048 gettext-runtime | [] [] [] [] [] [] |
1049 gettext-tools | [] [] [] [] [] |
1050 gjay | [] [] |
1051 glunarclock | [] [] [] [] |
1052 gnubiff | [] [] |
1053 gnubik | [] [] [] [] |
1054 gnucash | () () () () [] |
1055 gnuchess | [] [] |
1056 gnulib | [] [] [] [] |
1057 gnunet | |
1058 gnunet-gtk | |
1059 gold | [] [] |
1060 gphoto2 | [] [] [] [] |
1061 gprof | [] [] [] [] |
1062 gramadoir | [] [] [] |
1063 grep | [] [] [] [] [] |
1064 grub | [] [] [] [] |
1065 gsasl | [] [] [] [] |
1066 gss | [] [] [] |
1067 gst-plugins-bad | [] [] [] [] |
1068 gst-plugins-base | [] [] [] [] [] |
1069 gst-plugins-good | [] [] [] [] [] |
1070 gst-plugins-ugly | [] [] [] [] [] |
1071 gstreamer | [] [] [] [] [] |
1072 gtick | [] [] [] |
1073 gtkam | [] [] [] [] |
1074 gtkspell | [] [] [] [] [] [] [] [] |
1075 guix | [] |
1076 guix-packages | |
1077 gutenprint | [] [] [] [] |
1078 hello | [] [] [] [] [] [] |
1079 help2man | [] [] [] |
1080 help2man-texi | [] |
1081 hylafax | [] |
1082 idutils | [] [] [] |
1083 iso_15924 | [] () [] [] () [] |
1084 iso_3166 | [] [] () [] [] () [] [] [] |
1085 iso_3166_2 | () [] [] () [] |
1086 iso_4217 | [] () [] [] () [] [] |
1087 iso_639 | [] [] [] () [] [] () [] [] [] |
1088 iso_639_3 | [] () [] [] () |
1089 iso_639_5 | () [] () |
1090 jwhois | [] [] [] [] |
1091 kbd | [] [] [] |
1092 klavaro | [] [] [] [] [] [] |
1093 latrine | [] [] |
1094 ld | [] [] [] [] [] |
1095 leafpad | [] [] [] [] [] [] |
1096 libc | [] [] [] [] [] |
1097 libexif | [] () |
1098 libextractor | [] [] |
1099 libgnutls | [] [] [] [] |
1100 libgphoto2 | [] [] |
1101 libgphoto2_port | [] [] [] [] |
1102 libgsasl | [] [] [] [] |
1103 libiconv | [] [] [] [] [] |
1104 libidn | () [] [] [] |
1105 liferea | [] [] [] [] [] |
1106 lilypond | [] |
1107 lordsawar | |
1108 lprng | [] |
1109 lynx | [] [] [] [] |
1110 m4 | [] [] [] |
1111 mailfromd | [] [] |
1112 mailutils | [] |
1113 make | [] [] [] [] |
1114 man-db | [] [] |
1115 man-db-manpages | [] |
1116 midi-instruments | [] [] [] [] [] [] |
1117 minicom | [] [] |
1118 mkisofs | [] [] [] |
1119 myserver | [] |
1120 nano | [] [] [] [] |
1121 opcodes | [] [] [] |
1122 parted | [] [] [] [] [] |
1123 pies | [] [] |
1124 popt | [] [] [] [] [] [] [] |
1125 procps-ng | [] [] |
1126 procps-ng-man | [] |
1127 psmisc | [] [] [] [] |
1128 pspp | [] [] [] |
1129 pushover | [] |
1130 pwdutils | [] [] |
1131 pyspread | [] |
1132 radius | [] [] |
1133 recode | [] [] [] [] |
1134 recutils | [] [] [] |
1135 rpm | [] [] [] [] |
1136 rush | [] [] |
1137 sarg | |
1138 sed | [] [] [] [] [] |
1139 sharutils | [] [] [] |
1140 shishi | [] [] |
1141 skribilo | [] |
1142 solfege | [] [] [] |
1143 solfege-manual | [] |
1144 spotmachine | [] [] [] |
1145 sudo | [] [] [] [] |
1146 sudoers | [] [] [] |
1147 sysstat | [] [] [] [] [] |
1148 tar | [] [] [] [] [] |
1149 texinfo | [] [] [] |
1150 texinfo_document | [] |
1151 tigervnc | [] [] |
1152 tin | [] |
1153 tin-man | |
1154 tracgoogleappsa... | [] [] [] [] [] |
1155 trader | [] |
1156 util-linux | [] [] [] |
1157 ve | [] [] [] [] |
1158 vice | () () |
1159 vmm | |
1160 vorbis-tools | [] [] |
1161 wastesedge | |
1162 wcd | [] [] [] |
1163 wcd-man | [] |
1164 wdiff | [] [] [] [] |
1165 wget | [] [] [] |
1166 wyslij-po | [] [] |
1167 xboard | [] |
1168 xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
1169 xkeyboard-config | [] [] [] [] |
1170 +---------------------------------------------------+
1171 sv sw ta te tg th tr uk ur vi wa wo zh_CN zh_HK
1172 91 1 4 3 0 13 50 113 1 126 7 1 95 7
1173
1174 zh_TW
1175 +-------+
1176 a2ps | | 30
1177 aegis | | 9
1178 anubis | | 19
1179 aspell | | 28
1180 bash | [] | 21
1181 bfd | | 9
1182 binutils | | 12
1183 bison | [] | 18
1184 bison-runtime | [] | 38
1185 buzztrax | | 8
1186 ccd2cue | | 8
1187 ccide | | 17
1188 cflow | | 15
1189 clisp | | 10
1190 coreutils | | 20
1191 cpio | | 20
1192 cppi | | 17
1193 cpplib | [] | 19
1194 cryptsetup | | 13
1195 datamash | | 11
1196 denemo | | 4
1197 dfarc | | 16
1198 dialog | [] | 42
1199 dico | | 6
1200 diffutils | | 21
1201 dink | | 9
1202 direvent | | 10
1203 doodle | | 12
1204 dos2unix | [] | 18
1205 dos2unix-man | | 9
1206 e2fsprogs | | 14
1207 enscript | | 21
1208 exif | | 26
1209 fetchmail | | 19
1210 findutils | | 28
1211 flex | [] | 19
1212 freedink | | 23
1213 fusionforge | | 3
1214 gas | | 5
1215 gawk | | 12
1216 gcal | | 7
1217 gcc | | 4
1218 gdbm | | 10
1219 gettext-examples | [] | 40
1220 gettext-runtime | [] | 34
1221 gettext-tools | [] | 24
1222 gjay | | 8
1223 glunarclock | [] | 27
1224 gnubiff | | 9
1225 gnubik | | 19
1226 gnucash | () | 7
1227 gnuchess | | 10
1228 gnulib | | 23
1229 gnunet | | 1
1230 gnunet-gtk | | 1
1231 gold | | 7
1232 gphoto2 | [] | 19
1233 gprof | | 21
1234 gramadoir | | 14
1235 grep | [] | 31
1236 grub | | 21
1237 gsasl | [] | 19
1238 gss | | 17
1239 gst-plugins-bad | | 14
1240 gst-plugins-base | | 27
1241 gst-plugins-good | | 32
1242 gst-plugins-ugly | | 34
1243 gstreamer | [] | 31
1244 gtick | | 19
1245 gtkam | | 24
1246 gtkspell | [] | 48
1247 guix | | 3
1248 guix-packages | | 0
1249 gutenprint | | 15
1250 hello | [] | 30
1251 help2man | | 18
1252 help2man-texi | | 5
1253 hylafax | | 5
1254 idutils | | 14
1255 iso_15924 | [] | 23
1256 iso_3166 | [] | 58
1257 iso_3166_2 | | 9
1258 iso_4217 | [] | 28
1259 iso_639 | [] | 46
1260 iso_639_3 | | 10
1261 iso_639_5 | | 2
1262 jwhois | [] | 20
1263 kbd | | 16
1264 klavaro | | 30
1265 latrine | | 7
1266 ld | [] | 15
1267 leafpad | [] | 40
1268 libc | [] | 24
1269 libexif | | 9
1270 libextractor | | 5
1271 libgnutls | | 13
1272 libgphoto2 | | 9
1273 libgphoto2_port | [] | 19
1274 libgsasl | | 18
1275 libiconv | [] | 29
1276 libidn | | 17
1277 liferea | | 29
1278 lilypond | | 11
1279 lordsawar | | 3
1280 lprng | | 3
1281 lynx | | 19
1282 m4 | [] | 22
1283 mailfromd | | 4
1284 mailutils | | 6
1285 make | | 19
1286 man-db | | 14
1287 man-db-manpages | | 9
1288 midi-instruments | [] | 43
1289 minicom | [] | 17
1290 mkisofs | | 13
1291 myserver | | 9
1292 nano | [] | 29
1293 opcodes | | 12
1294 parted | [] | 21
1295 pies | | 4
1296 popt | [] | 36
1297 procps-ng | | 5
1298 procps-ng-man | | 4
1299 psmisc | [] | 22
1300 pspp | | 13
1301 pushover | | 6
1302 pwdutils | | 8
1303 pyspread | | 6
1304 radius | | 9
1305 recode | | 31
1306 recutils | | 9
1307 rpm | [] | 13
1308 rush | | 10
1309 sarg | | 4
1310 sed | [] | 34
1311 sharutils | | 12
1312 shishi | | 7
1313 skribilo | | 4
1314 solfege | | 19
1315 solfege-manual | | 9
1316 spotmachine | | 10
1317 sudo | | 24
1318 sudoers | | 20
1319 sysstat | | 22
1320 tar | [] | 30
1321 texinfo | | 17
1322 texinfo_document | | 11
1323 tigervnc | | 11
1324 tin | [] | 7
1325 tin-man | | 1
1326 tracgoogleappsa... | [] | 22
1327 trader | | 11
1328 util-linux | | 12
1329 ve | | 14
1330 vice | | 1
1331 vmm | | 3
1332 vorbis-tools | | 13
1333 wastesedge | | 2
1334 wcd | | 8
1335 wcd-man | | 3
1336 wdiff | [] | 23
1337 wget | | 19
1338 wyslij-po | | 14
1339 xboard | | 9
1340 xdg-user-dirs | [] | 68
1341 xkeyboard-config | [] | 27
1342 +-------+
1343 90 teams zh_TW
1344 166 domains 42 2748
1345
1346 Some counters in the preceding matrix are higher than the number of
1347 visible blocks let us expect. This is because a few extra PO files are
1348 used for implementing regional variants of languages, or language
1349 dialects.
1350
1351 For a PO file in the matrix above to be effective, the package to
1352 which it applies should also have been internationalized and distributed
1353 as such by its maintainer. There might be an observable lag between the
1354 mere existence a PO file and its wide availability in a distribution.
1355
1356 If Jun 2014 seems to be old, you may fetch a more recent copy of this
1357 'ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix
1358 with full percentage details can be found at
1359 'http://translationproject.org/extra/matrix.html'.
1360
1361 1.5 Using 'gettext' in new packages
1362 ===================================
1363
1364 If you are writing a freely available program and want to
1365 internationalize it you are welcome to use GNU 'gettext' in your
1366 package. Of course you have to respect the GNU Lesser General Public
1367 License which covers the use of the GNU 'gettext' library. This means
1368 in particular that even non-free programs can use 'libintl' as a shared
1369 library, whereas only free software can use 'libintl' as a static
1370 library or use modified versions of 'libintl'.
1371
1372 Once the sources are changed appropriately and the setup can handle
1373 the use of 'gettext' the only thing missing are the translations. The
1374 Free Translation Project is also available for packages which are not
1375 developed inside the GNU project. Therefore the information given above
1376 applies also for every other Free Software Project. Contact
1377 'coordinator@translationproject.org' to make the '.pot' files available
1378 to the translation teams.
0 commit 6f90b44df7126506c2162bce3b58b1c8ff9851c7
1 Author: Peng Wu <alexepico@gmail.com>
2 Date: 2022-10-12 15:15:13 +0800
3
4 Update updatePreeditText method for Legacy mode
5
6 M src/PYPPinyinEditor.cc
7
8 commit 0fe1edb310b9aaffbd7e02b3a57ecec89c955891
9 Author: Peng Wu <alexepico@gmail.com>
10 Date: 2022-10-12 15:02:48 +0800
11
12 Update NEWS
13
14 M NEWS
15
16 commit 3d8d297a6fc427ff5f688ca3c5df6e5ce1c344db
17 Author: Peng Wu <alexepico@gmail.com>
18 Date: 2022-10-12 14:57:40 +0800
19
20 Update configure.ac
21
22 M configure.ac
23
24 commit d7217bcfa7cf24dfda0ef5bc3c0c0fe000d2f806
25 Author: Peng Wu <alexepico@gmail.com>
26 Date: 2022-10-09 13:32:26 +0800
27
28 Add updateAll method to class Editor
29
30 M src/PYEditor.cc
31 M src/PYEditor.h
32 M src/PYEnglishEditor.cc
33 M src/PYEnglishEditor.h
34 M src/PYExtEditor.cc
35 M src/PYExtEditor.h
36 M src/PYPPhoneticEditor.cc
37 M src/PYPPhoneticEditor.h
38 M src/PYPPinyinEngine.cc
39 M src/PYTableEditor.cc
40 M src/PYTableEditor.h
41
42 commit eb6b45f7a4cd52fdbe23e0539e5119b43f7a281a
43 Author: Peng Wu <alexepico@gmail.com>
44 Date: 2022-09-26 14:30:18 +0800
45
46 Bump version 1.14.91
47
48 M configure.ac
49
50 commit 13181349a6a481bcf3898a4f41178dafe25a79f8
51 Author: Peng Wu <alexepico@gmail.com>
52 Date: 2022-09-26 14:25:43 +0800
53
54 Support Legacy mode
55
56 M src/PYPConfig.cc
57 M src/PYPLibPinyinCandidates.cc
58 M src/PYPPhoneticEditor.cc
59
60 commit d88ecd60db2942ca05d21b65158d257568556d27
61 Author: Peng Wu <alexepico@gmail.com>
62 Date: 2022-09-26 14:24:09 +0800
63
64 Update setup dialog
65
66 M setup/ibus-libpinyin-preferences.ui
67
68 commit b43c17a148e467e7177ee03f146269c7e8de6032
69 Author: Peng Wu <alexepico@gmail.com>
70 Date: 2022-09-26 12:21:15 +0800
71
72 Improve longer candidates
73
74 M src/PYPCloudCandidates.cc
75 M src/PYPEmojiCandidates.cc
76 M src/PYPEnglishCandidates.cc
77 M src/PYPLibPinyinCandidates.cc
78 M src/PYPLuaTriggerCandidates.cc
79
80 commit e856577e1d77719d6001db79f3149e1f537d0aaf
81 Author: Peng Wu <alexepico@gmail.com>
82 Date: 2022-09-23 16:40:24 +0800
83
84 Update m_sort_option variable
85
86 M src/PYConfig.cc
87 M src/PYConfig.h
88 M src/PYPConfig.cc
89
90 commit abd006be68be04509801ca5ff52d759f9d21c724
91 Author: Peng Wu <alexepico@gmail.com>
92 Date: 2022-09-23 16:33:49 +0800
93
94 Improve Suggestion candidates
95
96 M src/PYPEnhancedCandidates.h
97 M src/PYPSuggestionCandidates.cc
98 M src/PYPSuggestionEditor.cc
99
100 commit 98f7e43b3bfe69f6cbcd2e7c2479c8cac503f580
101 Author: Peng Wu <alexepico@gmail.com>
102 Date: 2022-09-23 16:19:10 +0800
103
104 Support longer candidates
105
106 M src/PYPEnhancedCandidates.h
107 M src/PYPLibPinyinCandidates.cc
108 M src/PYPPhoneticEditor.cc
109
110 commit 38e61f5b2164996244280a92d40b84ad6f54a457
111 Author: Peng Wu <alexepico@gmail.com>
112 Date: 2022-09-23 12:55:49 +0800
113
114 Improve English candidates
115
116 M src/PYPEnglishCandidates.cc
117
118 commit b641bd0881edfc975f997dca5305326ac1fbf5f0
119 Author: Peng Wu <alexepico@gmail.com>
120 Date: 2022-09-15 12:12:03 +0800
121
122 bump version 1.13.1
123
124 M configure.ac
125
126 commit c1c0a2b9020ac70bf6487197251dbf210a05ed67
127 Author: Peng Wu <alexepico@gmail.com>
128 Date: 2022-09-15 11:35:49 +0800
129
130 Update NEWS
131
132 M NEWS
133
134 commit ac6681b860583fafeb8e4593aac97f93328bd882
135 Author: Peng Wu <alexepico@gmail.com>
136 Date: 2022-09-09 16:40:10 +0800
137
138 Fix gettext usage
139
140 M setup/main2.py
141
142 commit 2cc7ad11be7c60aac27ca05d297a56144714331a
143 Author: Peng Wu <alexepico@gmail.com>
144 Date: 2022-08-20 10:22:26 +0800
145
146 Update NEWS
147
148 M NEWS
149
150 commit 86a5da9fcb5157523049c0fdd28a9dc894b4e469
151 Author: Peng Wu <alexepico@gmail.com>
152 Date: 2022-08-20 10:19:57 +0800
153
154 bump version 1.13.0
155
156 M configure.ac
157
158 commit 442967878e8b791c8fe12908f6a9e1dc6ed16c82
159 Author: Peng Wu <alexepico@gmail.com>
160 Date: 2022-08-11 09:46:43 +0800
161
162 Update NEWS
163
164 M NEWS
165
166 commit 345a778f867a3421a6d7b2581758e2e23d0748d5
167 Author: Peng Wu <alexepico@gmail.com>
168 Date: 2022-08-10 14:27:15 +0800
169
170 bump version 1.12.92
171
172 M configure.ac
173
174 commit fa548f562a97a4662c5910bb98b75eb3e3334e2e
175 Author: Zhangyuan Nie <yuan@znie.org>
176 Date: 2022-08-05 03:27:32 -0400
177
178 migrate create_valid_hanzi.py to python 3
179
180 M data/db/android/README
181 M data/db/android/create_valid_hanzi.py
182 M data/db/android/valid_hanzi.py
183
184 commit 92f3d9e0e99098cbf8c1923eed29ec6d203fb38b
185 Author: Zhangyuan Nie <yuan@znie.org>
186 Date: 2022-08-05 02:57:35 -0400
187
188 fix gitignore
189
190 M .gitignore
191 A scripts/.gitignore
192 M setup/.gitignore
193 M src/.gitignore
194
195 commit 86316ab613e23e11334a20136985265ccd4d26d1
196 Author: Zhangyuan Nie <yuan@znie.org>
197 Date: 2022-08-05 02:53:25 -0400
198
199 move make targets for ZhConversion to scripts dir
200
201 M Makefile.am
202 M configure.ac
203 A scripts/Makefile.am
204 M scripts/update-simptrad-table.py
205 M src/Makefile.am
206
207 commit 44d0d909e023429c2c1367539038fe5fb6beffed
208 Author: Zhangyuan Nie <yuan@znie.org>
209 Date: 2022-08-05 01:44:47 -0400
210
211 update PYSimpTradConverterTable.h
212
213 M src/PYSimpTradConverterTable.h
214
215 commit 353530b6502d4027d7af8e4b43f1869e1ec51159
216 Author: Zhangyuan Nie <yuan@znie.org>
217 Date: 2022-08-05 01:43:33 -0400
218
219 fix update-simptrad-table.py compatibility
220
221 M scripts/update-simptrad-table.py
222
223 commit 3fe89d77bff39c23c9ad72843fc71035faf7d0c7
224 Author: Zhangyuan Nie <yuan@znie.org>
225 Date: 2022-08-05 01:23:44 -0400
226
227 update ZhConversion.php url in Makefile
228
229 M src/Makefile.am
230
231 commit 45a8d8f5a4b438c377a82af0a616280287eb1b1b
232 Author: Zhangyuan Nie <yuan@znie.org>
233 Date: 2022-08-05 01:09:02 -0400
234
235 remove gensimptradtable.py
236
237 D scripts/gensimptradtable.py
238 D scripts/sctc.py
239
240 commit c544f22f1fe09d56e0e014613172ae887099ebf7
241 Author: Zhangyuan Nie <yuan@znie.org>
242 Date: 2022-08-05 01:00:55 -0400
243
244 migrate genpuncttable.py to python 3
245
246 M scripts/genpuncttable.py
247
248 commit 698498b8da71d9ba0f770de418b9c361779857fc
249 Author: Zhangyuan Nie <yuan@znie.org>
250 Date: 2022-08-04 23:36:50 -0400
251
252 update python version to 3.7
253
254 M configure.ac
255 M setup/main2.py
256
257 commit c1ff04dea4889988a44cd19b08b49594b3601302
258 Author: Peng Wu <alexepico@gmail.com>
259 Date: 2022-06-23 10:01:03 +0800
260
261 Update strokes
262
263 M data/strokes
264
265 commit 9c97823ace101bf1b72b848e3c3d317c1fb162be
266 Author: Peng Wu <alexepico@gmail.com>
267 Date: 2022-06-13 09:35:29 +0800
268
269 Update strokes
270
271 M data/strokes
272
273 commit 35e9bd1812f65a40a067b0271c6bb481b9c6d3c8
274 Author: Peng Wu <alexepico@gmail.com>
275 Date: 2022-06-08 11:41:16 +0800
276
277 Fix class ExtEditor
278
279 M src/PYExtEditor.cc
280
281 commit 41a395397ef19352504b0d194cd57b9fc01b8209
282 Author: Peng Wu <alexepico@gmail.com>
283 Date: 2022-05-30 12:03:44 +0800
284
285 Use check_result macro
286
287 M src/PYLibPinyin.cc
288 M src/PYPLibPinyinCandidates.cc
289 M src/PYPunctEditor.cc
290 M src/PYUtil.h
291
292 commit a8def492d1c7c1b4e25f4bd23378c57139829f43
293 Author: Peng Wu <alexepico@gmail.com>
294 Date: 2022-05-27 11:17:32 +0800
295
296 Write check_result macro
297
298 M src/PYUtil.h
299
300 commit 11a75d2429760bdc291bf82e385110f418b14610
301 Author: Peng Wu <alexepico@gmail.com>
302 Date: 2022-05-19 09:46:31 +0800
303
304 Fixes class PunctEditor
305
306 M src/PYPunctEditor.cc
307
308 commit 109de24d222478edaae4cadcdf31e0aec89b44ee
309 Author: Peng Wu <alexepico@gmail.com>
310 Date: 2022-05-06 16:38:48 +0800
311
312 Update make-check.yml
313
314 M .github/workflows/make-check.yml
315
316 commit 37860481044afd21821988240878642bdec6d796
317 Author: Mike FABIAN <mfabian@redhat.com>
318 Date: 2022-04-13 09:16:59 +0200
319
320 Translated using Weblate (German)
321
322 Currently translated at 100.0% (167 of 167 strings)
323
324 Translation: ibus-libpinyin/master
325 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
326
327 M po/de.po
328
329 commit 34efdfb37685d7ea2f2f9a9221046890bc06c2dd
330 Author: Yuri Chornoivan <yurchor@ukr.net>
331 Date: 2022-04-13 09:16:58 +0200
332
333 Translated using Weblate (Ukrainian)
334
335 Currently translated at 100.0% (167 of 167 strings)
336
337 Translation: ibus-libpinyin/master
338 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
339
340 M po/uk.po
341
342 commit dc771372714c4139812a9c9d16e90346ea4521d8
343 Author: Peng Wu <pwu@redhat.com>
344 Date: 2022-04-13 09:16:58 +0200
345
346 Translated using Weblate (Chinese (Simplified) (zh_CN))
347
348 Currently translated at 100.0% (167 of 167 strings)
349
350 Translation: ibus-libpinyin/master
351 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
352
353 M po/zh_CN.po
354
355 commit 5e4814bb606baab72189bfb74f7c38c1a6133c3a
356 Author: Peng Wu <alexepico@gmail.com>
357 Date: 2022-04-12 15:08:38 +0800
358
359 Update po files
360
361 M po/ca.po
362 M po/cs.po
363 M po/de.po
364 M po/es.po
365 M po/fr.po
366 M po/pt_BR.po
367 M po/ru.po
368 M po/si.po
369 M po/uk.po
370 M po/zh_CN.po
371 M po/zh_HK.po
372 M po/zh_TW.po
373
374 commit 5d2e7c439dc13120f4409227e844c0e052fd29b1
375 Author: Peng Wu <alexepico@gmail.com>
376 Date: 2022-04-12 15:07:34 +0800
377
378 Update ibus-libpinyin.pot
379
380 M po/ibus-libpinyin.pot
381
382 commit 695aeb7c3b40320d54eba3df9495f18dc43ad5b1
383 Author: Mike FABIAN <mfabian@redhat.com>
384 Date: 2022-04-05 09:17:07 +0200
385
386 Translated using Weblate (German)
387
388 Currently translated at 100.0% (166 of 166 strings)
389
390 Translation: ibus-libpinyin/master
391 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
392
393 M po/de.po
394
395 commit 8d33534f3139c08f44ecc049472494f12b2d4add
396 Author: Yuri Chornoivan <yurchor@ukr.net>
397 Date: 2022-04-05 09:17:07 +0200
398
399 Translated using Weblate (Ukrainian)
400
401 Currently translated at 100.0% (166 of 166 strings)
402
403 Translation: ibus-libpinyin/master
404 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
405
406 M po/uk.po
407
408 commit 1feb1044284743396646cdd651d6058bbb447a5c
409 Author: Peng Wu <pwu@redhat.com>
410 Date: 2022-04-05 09:17:07 +0200
411
412 Translated using Weblate (Chinese (Simplified) (zh_CN))
413
414 Currently translated at 100.0% (166 of 166 strings)
415
416 Translation: ibus-libpinyin/master
417 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
418
419 M po/zh_CN.po
420
421 commit 9740c48016cdb6dc9ee62ea85b40629c0c5c0784
422 Author: Peng Wu <alexepico@gmail.com>
423 Date: 2022-04-12 13:48:15 +0800
424
425 Update main2.py
426
427 M setup/main2.py
428
429 commit f4d3dae36707036c2e8fad7ec69f58836d0943b0
430 Author: Peng Wu <alexepico@gmail.com>
431 Date: 2022-04-12 13:37:10 +0800
432
433 Update ibus-libpinyin-preferences.ui
434
435 M setup/ibus-libpinyin-preferences.ui
436
437 commit a029555de877591a4e6502c01d4a338fe9c79591
438 Author: Peng Wu <alexepico@gmail.com>
439 Date: 2022-04-12 12:15:03 +0800
440
441 Add double-pinyin-show-raw option
442
443 M src/PYConfig.cc
444 M src/PYConfig.h
445 M src/PYPConfig.cc
446 M src/PYPDoublePinyinEditor.cc
447
448 commit 337c1494d01365fca7d35bd67cb471bdcb9f8bbd
449 Author: Peng Wu <alexepico@gmail.com>
450 Date: 2022-04-12 11:34:19 +0800
451
452 Update com.github.libpinyin.ibus-libpinyin.gschema.xml
453
454 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
455
456 commit 03381c95d8c4a4958e1f0d7a3760a0ee71e8be55
457 Author: Peng Wu <alexepico@gmail.com>
458 Date: 2022-04-11 15:37:08 +0800
459
460 Update main2.py
461
462 M setup/main2.py
463
464 commit 3501b7d64c79a08746dc81fe2dfe0605414cd332
465 Author: Peng Wu <alexepico@gmail.com>
466 Date: 2022-04-11 15:34:46 +0800
467
468 Update ibus-libpinyin-preferences.ui
469
470 M setup/ibus-libpinyin-preferences.ui
471
472 commit eb8a420dbe6f5589d89ea8c50d218a625a3de406
473 Author: Peng Wu <alexepico@gmail.com>
474 Date: 2022-04-11 15:30:38 +0800
475
476 Rename show-suggestion option to suggestion-candidate option
477
478 M src/PYConfig.cc
479 M src/PYConfig.h
480 M src/PYPBopomofoEngine.cc
481 M src/PYPConfig.cc
482 M src/PYPPinyinEngine.cc
483
484 commit 701dbb101164f608b86354960a5e4d258eed390b
485 Author: Peng Wu <alexepico@gmail.com>
486 Date: 2022-04-11 15:17:54 +0800
487
488 Update com.github.libpinyin.ibus-libpinyin.gschema.xml
489
490 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
491
492 commit bfe728057bbb84fd36b4f3867aebb8f4a16f51e2
493 Author: Peng Wu <alexepico@gmail.com>
494 Date: 2022-04-11 15:14:53 +0800
495
496 Update main2.py
497
498 M setup/main2.py
499
500 commit 01e300d239182e21fc6ad3ac60057dd08b2312ba
501 Author: Peng Wu <alexepico@gmail.com>
502 Date: 2022-04-11 15:06:08 +0800
503
504 Update ibus-libpinyin-preferences.ui
505
506 M setup/ibus-libpinyin-preferences.ui
507
508 commit 8de48eef341d2894b4d5ea6ee8a8fe8eaf53520f
509 Author: Peng Wu <alexepico@gmail.com>
510 Date: 2022-04-11 14:29:44 +0800
511
512 Add English candidates option
513
514 M src/PYConfig.cc
515 M src/PYConfig.h
516 M src/PYPConfig.cc
517 M src/PYPPhoneticEditor.cc
518
519 commit 276c943916535faff124e43503edc3d05c83cdd7
520 Author: Peng Wu <alexepico@gmail.com>
521 Date: 2022-04-11 14:13:54 +0800
522
523 Update com.github.libpinyin.ibus-libpinyin.gschema.xml
524
525 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
526
527 commit 91c39c3e8feebba7562712e0a01d8f4737629124
528 Author: Peng Wu <alexepico@gmail.com>
529 Date: 2022-04-06 11:16:49 +0800
530
531 Fix English candidates
532
533 M src/PYPPhoneticEditor.cc
534
535 commit dd11c57797e13e215559f5cfc2200f244df118e4
536 Author: Peng Wu <alexepico@gmail.com>
537 Date: 2022-03-31 15:05:06 +0800
538
539 Update po files
540
541 M po/ca.po
542 M po/cs.po
543 M po/de.po
544 M po/es.po
545 M po/fr.po
546 M po/pt_BR.po
547 M po/ru.po
548 M po/si.po
549 M po/uk.po
550 M po/zh_CN.po
551 M po/zh_HK.po
552 M po/zh_TW.po
553
554 commit 33777e24db13e59f068a61a505b8594a9d735237
555 Author: Peng Wu <alexepico@gmail.com>
556 Date: 2022-03-31 15:04:37 +0800
557
558 Update ibus-libpinyin.pot
559
560 M po/ibus-libpinyin.pot
561
562 commit d1a41ff904c129a2ac53c8d84e6876b59a7c7b12
563 Author: Peng Wu <alexepico@gmail.com>
564 Date: 2022-03-31 15:03:57 +0800
565
566 Update ibus-libpinyin-preferences.ui
567
568 M setup/ibus-libpinyin-preferences.ui
569
570 commit 04ba8f07a4dd7e7d2176737f5f17db240ff58159
571 Author: Yuri Chornoivan <yurchor@ukr.net>
572 Date: 2022-03-31 08:55:43 +0200
573
574 Translated using Weblate (Ukrainian)
575
576 Currently translated at 100.0% (166 of 166 strings)
577
578 Translation: ibus-libpinyin/master
579 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
580
581 M po/uk.po
582
583 commit 8b05a153b1720e6717838c10b4c63bbf115be36d
584 Author: Peng Wu <pwu@redhat.com>
585 Date: 2022-03-31 07:29:27 +0200
586
587 Translated using Weblate (Chinese (Simplified) (zh_CN))
588
589 Currently translated at 100.0% (166 of 166 strings)
590
591 Translation: ibus-libpinyin/master
592 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
593
594 Translated using Weblate (Chinese (Simplified) (zh_CN))
595
596 Currently translated at 100.0% (166 of 166 strings)
597
598 Translation: ibus-libpinyin/master
599 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
600
601 M po/zh_CN.po
602
603 commit d8bd7e0fc6238fd3583349698a175f1197a497d9
604 Author: Peng Wu <alexepico@gmail.com>
605 Date: 2022-03-31 12:26:49 +0800
606
607 Update po files
608
609 M po/ca.po
610 M po/cs.po
611 M po/de.po
612 M po/es.po
613 M po/fr.po
614 M po/pt_BR.po
615 M po/ru.po
616 M po/si.po
617 M po/uk.po
618 M po/zh_CN.po
619 M po/zh_HK.po
620 M po/zh_TW.po
621
622 commit edc953860a0d8375d0b66d5fcce02177099f5835
623 Author: Peng Wu <alexepico@gmail.com>
624 Date: 2022-03-31 12:25:06 +0800
625
626 Update ibus-libpinyin-preferences.ui
627
628 M setup/ibus-libpinyin-preferences.ui
629
630 commit 8d1ba9cf49d56fe3f8a768b62f341d4d07d3d076
631 Author: Peng Wu <alexepico@gmail.com>
632 Date: 2022-03-31 12:06:21 +0800
633
634 Update ibus-libpinyin.pot
635
636 M po/ibus-libpinyin.pot
637
638 commit 0c27bb16a9c1e76301e3fd0e0f854e26e1a83a2f
639 Author: Dingzhong Chen <wsxy162@gmail.com>
640 Date: 2021-09-17 09:05:01 +0200
641
642 Translated using Weblate (Chinese (Simplified) (zh_CN))
643
644 Currently translated at 100.0% (156 of 156 strings)
645
646 Translation: ibus-libpinyin/master
647 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
648
649 M po/zh_CN.po
650
651 commit bbb962fc95271b563089b8e6c1ef576f47bd116d
652 Author: Hela Basa <r45xveza@pm.me>
653 Date: 2021-09-17 09:05:01 +0200
654
655 Translated using Weblate (Sinhala)
656
657 Currently translated at 1.2% (2 of 156 strings)
658
659 Translation: ibus-libpinyin/master
660 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/si/
661
662 M po/si.po
663
664 commit 7f6cb240f22caae3920fb5a7d6f0a45d0c1d9220
665 Author: Liu Tao <lyuutau@outlook.com>
666 Date: 2021-09-17 09:05:01 +0200
667
668 Translated using Weblate (Chinese (Simplified) (zh_CN))
669
670 Currently translated at 100.0% (156 of 156 strings)
671
672 Translation: ibus-libpinyin/master
673 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
674
675 M po/zh_CN.po
676
677 commit 541439836d9f1e4dc1ac852a741f2d5b678318e1
678 Author: Emilio Herrera <ehespinosa57@gmail.com>
679 Date: 2021-09-17 09:05:01 +0200
680
681 Translated using Weblate (Spanish)
682
683 Currently translated at 100.0% (156 of 156 strings)
684
685 Translation: ibus-libpinyin/master
686 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/es/
687
688 M po/es.po
689
690 commit 4491df69487217c7d7706cb50cc08ef796e4e549
691 Author: Peng Wu <alexepico@gmail.com>
692 Date: 2022-03-29 11:06:27 +0800
693
694 Fix commit issue in class EnglishCandidates
695
696 M src/PYPEnglishCandidates.cc
697 M src/PYPEnhancedCandidates.h
698 M src/PYPPhoneticEditor.cc
699 M src/PYPPhoneticEditor.h
700
701 commit 65b0919d45ea36b51f89881341f05fadaf60a846
702 Author: Peng Wu <alexepico@gmail.com>
703 Date: 2022-03-29 10:53:48 +0800
704
705 Fix some crash
706
707 M src/PYPEnglishCandidates.cc
708 M src/PYPPinyinEngine.cc
709
710 commit c851bb9c8ebe013406e8933a13b74ccd2a33fff5
711 Author: Peng Wu <alexepico@gmail.com>
712 Date: 2022-03-25 09:59:50 +0800
713
714 Update NEWS
715
716 M NEWS
717
718 commit 17e869890137201dcfb2db2bd0d4d6c3d8875387
719 Author: Peng Wu <alexepico@gmail.com>
720 Date: 2022-03-25 09:19:24 +0800
721
722 Fix typos
723
724 M setup/main2.py
725
726 commit 0de2c0906b401cb2be72df978fece68f8f703b0d
727 Author: Peng Wu <alexepico@gmail.com>
728 Date: 2022-03-25 08:56:37 +0800
729
730 bump version 1.12.91
731
732 M configure.ac
733
734 commit 19d845b68726822781dca7d2ab0c09fdeb8d34af
735 Author: Peng Wu <alexepico@gmail.com>
736 Date: 2022-03-25 08:54:57 +0800
737
738 Update PinyinEngine::processKeyEvent method
739
740 M src/PYPPinyinEngine.cc
741 M src/PYTableEditor.h
742
743 commit 1c3d9630c2c336b3e88221fa599161c1461f2e7e
744 Author: Peng Wu <alexepico@gmail.com>
745 Date: 2022-03-24 11:53:04 +0800
746
747 Update ibus-libpinyin-preferences.ui
748
749 M setup/ibus-libpinyin-preferences.ui
750
751 commit 91cf009f7c1437d5584e9b0a4b76bad6c172481a
752 Author: Peng Wu <alexepico@gmail.com>
753 Date: 2022-03-23 15:10:26 +0800
754
755 Update setup/main2.py
756
757 M setup/main2.py
758
759 commit 4052925c79413ee5ef13ed199738bdfd7f25e291
760 Author: Peng Wu <alexepico@gmail.com>
761 Date: 2022-03-22 15:55:09 +0800
762
763 Update ibus-libpinyin-preferences.ui
764
765 M setup/ibus-libpinyin-preferences.ui
766
767 commit aab3d506c83a9eed4c9c795181576946317a83d2
768 Author: Peng Wu <alexepico@gmail.com>
769 Date: 2022-03-21 15:34:51 +0800
770
771 Update PinyinConfig::valueChanged method
772
773 M src/PYPConfig.cc
774 M src/PYTableDatabase.cc
775
776 commit 2b07bef9cf7cb35ca81a15fa347edc6de6d6d122
777 Author: Peng Wu <alexepico@gmail.com>
778 Date: 2022-03-18 14:46:43 +0800
779
780 Write class TableDatabase
781
782 M src/PYTableDatabase.cc
783 M src/PYTableEditor.cc
784
785 commit c18c197c67e694e52424c37d8f1da04f29728511
786 Author: Peng Wu <alexepico@gmail.com>
787 Date: 2022-03-16 14:57:00 +0800
788
789 Write TableDatabase::init method
790
791 M src/PYEnglishDatabase.cc
792 M src/PYEnglishEditor.cc
793 M src/PYMain.cc
794 M src/PYTableDatabase.cc
795 M src/PYTableEditor.cc
796 M src/PYTableEditor.h
797
798 commit 55a3c4fc4a34a53b330f3882c4fcb2731ef8fa8f
799 Author: Peng Wu <alexepico@gmail.com>
800 Date: 2022-03-15 11:21:31 +0800
801
802 Update src/Makefile.am
803
804 M src/Makefile.am
805
806 commit ebd1a9f0c14998ab74440ed45140d95562de8e80
807 Author: Peng Wu <alexepico@gmail.com>
808 Date: 2022-03-15 11:05:51 +0800
809
810 Write class TableDatabase
811
812 A src/PYTableDatabase.cc
813 A src/PYTableDatabase.h
814 M src/PYTableEditor.cc
815 M src/PYTableEditor.h
816
817 commit 221b22d45c2e7d51ebe01b2531de273b7ad67d0f
818 Author: Peng Wu <alexepico@gmail.com>
819 Date: 2022-03-14 15:28:22 +0800
820
821 Update TableDatabase in progress
822
823 M src/PYTableEditor.cc
824
825 commit f98f9f346e0858d088777ed09d0a4b841c46e23a
826 Author: Peng Wu <alexepico@gmail.com>
827 Date: 2022-03-14 15:27:41 +0800
828
829 Update table.awk
830
831 M data/table.awk
832
833 commit e859c29ae07bda7d3736e6ff105eea907e0409b0
834 Author: Peng Wu <alexepico@gmail.com>
835 Date: 2022-03-10 14:48:52 +0800
836
837 Write class TableEditor in progress
838
839 M src/PYTableEditor.cc
840 M src/PYTableEditor.h
841
842 commit 9d9c55e6b188de74c907d1f80ad265119b874821
843 Author: Peng Wu <alexepico@gmail.com>
844 Date: 2022-03-10 14:48:03 +0800
845
846 Update table.awk
847
848 M data/table.awk
849
850 commit 2795cecf4574a2c2932151ac748df3f0ff88d8c5
851 Author: Peng Wu <alexepico@gmail.com>
852 Date: 2022-02-23 14:36:17 +0800
853
854 Update class TableDatabase
855
856 M src/PYTableEditor.cc
857 M src/PYTableEditor.h
858
859 commit 8462e8e3d0c19304dce26748f56aa43c5b9681ce
860 Author: Peng Wu <alexepico@gmail.com>
861 Date: 2022-02-21 13:03:58 +0800
862
863 Add use-custom-table options
864
865 M src/PYConfig.cc
866 M src/PYConfig.h
867 M src/PYPConfig.cc
868
869 commit dcf2720ea28ecb1cbf97bb6e69dcc0968cf9820e
870 Author: Peng Wu <alexepico@gmail.com>
871 Date: 2022-02-21 11:11:47 +0800
872
873 Fix warnings
874
875 M src/PYPPhoneticEditor.h
876
877 commit 4d51bb42be0e032dca2eb74b25472516f36bd389
878 Author: Peng Wu <alexepico@gmail.com>
879 Date: 2022-02-21 11:06:36 +0800
880
881 Update com.github.libpinyin.ibus-libpinyin.gschema.xml
882
883 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
884
885 commit d0d81da03e37386e7d7cc0ffd531819211171a8f
886 Author: Peng Wu <alexepico@gmail.com>
887 Date: 2022-02-18 09:18:08 +0800
888
889 Rename strokes table to phrases table
890
891 M data/table.awk
892 M src/PYTableEditor.cc
893
894 commit 4547f1ac36a94efbdef2433b74c81ff108c694a2
895 Author: Peng Wu <alexepico@gmail.com>
896 Date: 2022-02-16 11:55:12 +0800
897
898 Rename stroke to table
899
900 M configure.ac
901 M data/Makefile.am
902 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
903 R100 data/strokes.awk data/table.awk
904 M po/POTFILES.in
905 M src/Makefile.am
906 M src/PYConfig.cc
907 M src/PYConfig.h
908 M src/PYPBopomofoEngine.h
909 M src/PYPConfig.cc
910 M src/PYPPinyinEngine.cc
911 M src/PYPPinyinEngine.h
912
913 commit bc55364c88d09b49a1fd0590d17734f3efa204db
914 Author: Peng Wu <alexepico@gmail.com>
915 Date: 2022-02-16 09:59:07 +0800
916
917 Rename StrokeEditor to TableEditor
918
919 M src/PYTableEditor.cc
920 M src/PYTableEditor.h
921
922 commit 07a27a2b11c0d931eb288734d8f561dc559b8e9f
923 Author: Peng Wu <alexepico@gmail.com>
924 Date: 2022-02-15 17:01:39 +0800
925
926 Rename files
927
928 R100 src/PYStrokeEditor.cc src/PYTableEditor.cc
929 R100 src/PYStrokeEditor.h src/PYTableEditor.h
930
931 commit d9ec5ae7aa0dc69c437aaaa0d686d5a2faaec826
932 Author: Peng Wu <alexepico@gmail.com>
933 Date: 2022-02-15 10:44:23 +0800
934
935 Enable English mode for Full Pinyin
936
937 M src/PYEnglishDatabase.cc
938 M src/PYPPinyinEngine.cc
939
940 commit 6cd62db2c298597a8ed77a0f21994839880ed320
941 Author: Peng Wu <alexepico@gmail.com>
942 Date: 2022-02-14 15:58:24 +0800
943
944 Update wordlist
945
946 M data/wordlist
947
948 commit 70d961f29943ed09590a5a7a06f349b36e87ce96
949 Author: Peng Wu <alexepico@gmail.com>
950 Date: 2022-02-14 10:31:24 +0800
951
952 Write m_english_candidates
953
954 M src/PYPEnglishCandidates.cc
955 M src/PYPPhoneticEditor.cc
956 M src/PYPPhoneticEditor.h
957
958 commit 7268c80fb9025e791f01894a73836d7238e0221e
959 Author: Peng Wu <alexepico@gmail.com>
960 Date: 2022-02-14 09:40:12 +0800
961
962 Fix compile
963
964 M src/Makefile.am
965 M src/PYEditor.h
966 M src/PYPEnglishCandidates.cc
967 M src/PYPEnglishCandidates.h
968
969 commit d9a1080415671082f4c575885c7b5b9ae031e9ea
970 Author: Peng Wu <alexepico@gmail.com>
971 Date: 2022-02-11 13:04:13 +0800
972
973 Write class EnglishCandidates
974
975 A src/PYPEnglishCandidates.cc
976 M src/PYPEnglishCandidates.h
977
978 commit 56e94842886333d88d41fa02a1cfac83782330fb
979 Author: Peng Wu <alexepico@gmail.com>
980 Date: 2022-01-29 10:25:32 +0800
981
982 Write class EnglishDatabase
983
984 M src/PYEnglishDatabase.cc
985 M src/PYEnglishDatabase.h
986 M src/PYEnglishEditor.cc
987 M src/PYEnglishEditor.h
988
989 commit fc9b42ddbfbb75740d5d959e2e34eed3609a73dd
990 Author: Peng Wu <alexepico@gmail.com>
991 Date: 2022-01-19 14:05:40 +0800
992
993 Write PYPEnglishCandidates.h
994
995 A src/PYPEnglishCandidates.h
996 M src/PYPEnhancedCandidates.h
997
998 commit bf64c60c2212a504a76c6f4777839547d99ed878
999 Author: Peng Wu <alexepico@gmail.com>
1000 Date: 2022-01-18 10:56:05 +0800
1001
1002 Fix compile
1003
1004 M src/Makefile.am
1005 M src/PYEnglishDatabase.cc
1006 M src/PYEnglishDatabase.h
1007 M src/PYEnglishEditor.cc
1008 M src/PYEnglishEditor.h
1009 M src/PYMain.cc
1010
1011 commit 787875a45559952ff65aa8ea608659aedf41f138
1012 Author: Peng Wu <alexepico@gmail.com>
1013 Date: 2022-01-14 10:55:58 +0800
1014
1015 Write PYEnglishDatabase.cc
1016
1017 A src/PYEnglishDatabase.cc
1018 M src/PYEnglishDatabase.h
1019 M src/PYEnglishEditor.cc
1020
1021 commit 24f0a6add6e92ba1ebf4e480250c0f0ffc2f427c
1022 Author: Peng Wu <alexepico@gmail.com>
1023 Date: 2022-01-14 10:31:43 +0800
1024
1025 Write PYEnglishDatabase.h
1026
1027 A src/PYEnglishDatabase.h
1028
1029 commit fd750ba2d288227bf7aef00d7126a4d1acb5ed7b
1030 Author: Peng Wu <alexepico@gmail.com>
1031 Date: 2022-01-11 14:34:10 +0800
1032
1033 Change default value for comma-period-page option
1034
1035 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
1036 M src/PYConfig.cc
1037 M src/PYPConfig.cc
1038
1039 commit 09b8f11aea70284a65d35b2709e1867e0637e0ec
1040 Author: Peng Wu <alexepico@gmail.com>
1041 Date: 2021-12-13 11:43:03 +0800
1042
1043 Create make-check.yml
1044
1045 A .github/workflows/make-check.yml
1046
1047 commit dd9b85f7b4ad4dd065620ae2917bc7af0b71c7dd
1048 Author: Peng Wu <alexepico@gmail.com>
1049 Date: 2021-12-01 14:12:39 +0800
1050
1051 Update PinyinConfig
1052
1053 M src/PYConfig.cc
1054 M src/PYConfig.h
1055 M src/PYPConfig.cc
1056 M src/PYPPinyinEngine.cc
1057
1058 commit beebf2fce913581a127d0ce6aff0848967c2a364
1059 Author: Peng Wu <alexepico@gmail.com>
1060 Date: 2021-12-01 14:00:23 +0800
1061
1062 Update ibus-libpinyin.gschema.xml
1063
1064 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
1065
1066 commit 2c006b596068271f2b8b890af1400f518c66d547
1067 Author: Peng Wu <alexepico@gmail.com>
1068 Date: 2021-12-01 13:42:58 +0800
1069
1070 bump version 1.12.2
1071
1072 M configure.ac
1073
1074 commit 36d86b09414f51ad7303f598930e454404eada09
1075 Author: Peng Wu <alexepico@gmail.com>
1076 Date: 2021-11-01 14:37:16 +0800
1077
1078 Fix processFunctionKey method
1079
1080 M src/PYPPhoneticEditor.cc
1081
1082 commit 6a5f55445e630c3ee78cb451d00c64e86f59c9e1
1083 Author: Peng Wu <alexepico@gmail.com>
1084 Date: 2021-06-28 12:59:42 +0800
1085
1086 Update NEWS
1087
1088 M NEWS
1089
1090 commit be28b3a410251d9d78265da7723c8372dc5c8594
1091 Author: Peng Wu <alexepico@gmail.com>
1092 Date: 2021-05-17 15:15:26 +0800
1093
1094 Remember cloud input
1095
1096 M src/PYLibPinyin.cc
1097 M src/PYLibPinyin.h
1098 M src/PYPCloudCandidates.cc
1099 M src/PYPLibPinyinCandidates.cc
1100
1101 commit be97321b6dd700796f97697428a14a26b234eadd
1102 Author: Peng Wu <alexepico@gmail.com>
1103 Date: 2021-05-11 09:58:22 +0800
1104
1105 Improve cloud candidate
1106
1107 M src/PYPCloudCandidates.cc
1108 M src/PYPCloudCandidates.h
1109
1110 commit 4bd9e2247ce9df235daffc14b570c7bc7ea41368
1111 Author: Peng Wu <alexepico@gmail.com>
1112 Date: 2021-05-06 11:04:23 +0800
1113
1114 Update LINGUAS
1115
1116 M po/LINGUAS
1117
1118 commit f69aff4e59af855a6c1631af65f3216f9b50be54
1119 Author: Gunnar Hjalmarsson <gunnarhj@users.noreply.github.com>
1120 Date: 2021-04-30 12:42:12 +0200
1121
1122 Rename pt-BR.po to pt_BR.po
1123
1124 R100 po/pt-BR.po po/pt_BR.po
1125
1126 commit 0818f2034c128258069c6812969a3ef194ed71c0
1127 Author: Hela Basa <r45xveza@pm.me>
1128 Date: 2021-03-03 21:58:12 +0100
1129
1130 Added translation using Weblate (Sinhala)
1131
1132 M po/LINGUAS
1133 A po/si.po
1134
1135 commit 3c9a1c782bdec4f057cf1ed6dd8ee16cd707e9b0
1136 Author: Dingzhong Chen <wsxy162@gmail.com>
1137 Date: 2021-03-03 21:58:12 +0100
1138
1139 Translated using Weblate (Chinese (Simplified) (zh_CN))
1140
1141 Currently translated at 100.0% (156 of 156 strings)
1142
1143 Translation: ibus-libpinyin/master
1144 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1145
1146 Translated using Weblate (Chinese (Simplified) (zh_CN))
1147
1148 Currently translated at 100.0% (156 of 156 strings)
1149
1150 Translation: ibus-libpinyin/master
1151 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1152
1153 Translated using Weblate (Chinese (Simplified) (zh_CN))
1154
1155 Currently translated at 100.0% (156 of 156 strings)
1156
1157 Translation: ibus-libpinyin/master
1158 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1159
1160 Translated using Weblate (Chinese (Simplified) (zh_CN))
1161
1162 Currently translated at 100.0% (156 of 156 strings)
1163
1164 Translation: ibus-libpinyin/master
1165 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1166
1167 M po/zh_CN.po
1168
1169 commit 8f7899bf11b3c06eada4aa94ed0fd4817dc9f680
1170 Author: Weblate <noreply@weblate.org>
1171 Date: 2021-03-03 21:58:12 +0100
1172
1173 Update translation files
1174
1175 Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
1176
1177 Translation: ibus-libpinyin/master
1178 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/
1179
1180 M po/de.po
1181 M po/es.po
1182 M po/fr.po
1183 M po/uk.po
1184
1185 commit 1edb80cb35594c97a098c56648c48a3afe11f158
1186 Author: Julien Humbert <julroy67@gmail.com>
1187 Date: 2021-03-03 21:58:11 +0100
1188
1189 Translated using Weblate (French)
1190
1191 Currently translated at 100.0% (156 of 156 strings)
1192
1193 Translation: ibus-libpinyin/master
1194 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/fr/
1195
1196 Translated using Weblate (French)
1197
1198 Currently translated at 100.0% (156 of 156 strings)
1199
1200 Translation: ibus-libpinyin/master
1201 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/fr/
1202
1203 M po/fr.po
1204
1205 commit 48522d4d46949516256641913f1c68217e573450
1206 Author: Hollow Man <hollowman@hollowman.ml>
1207 Date: 2021-03-21 15:56:03 +0800
1208
1209 Change deprecated glib function g_atexit() into atexit()
1210
1211 Signed-off-by: Hollow Man <hollowman@hollowman.ml>
1212
1213 M src/PYMain.cc
1214
1215 commit 330ba5b289eec7670aa82244ed9064d8bc6d537b
1216 Author: Peng Wu <alexepico@gmail.com>
1217 Date: 2021-01-28 11:59:17 +0800
1218
1219 Support Compatibility display style
1220
1221 M src/PYConfig.h
1222 M src/PYPBopomofoEditor.cc
1223 M src/PYPConfig.cc
1224 M src/PYPDoublePinyinEditor.cc
1225 M src/PYPFullPinyinEditor.cc
1226 M src/PYPPinyinEditor.cc
1227
1228 commit 39c7da6eb672d89ea240e336bdea1546eaf85f46
1229 Author: Peng Wu <alexepico@gmail.com>
1230 Date: 2021-01-28 10:52:52 +0800
1231
1232 Update ibus-libpinyin-preferences.ui
1233
1234 M setup/ibus-libpinyin-preferences.ui
1235
1236 commit 4c095052b2242975342fed034e39ed1b5c0caaef
1237 Author: Peng Wu <alexepico@gmail.com>
1238 Date: 2021-01-28 10:46:05 +0800
1239
1240 bump version 1.12.1
1241
1242 M configure.ac
1243
1244 commit 9f86e50121d85c8dc40b23a3ff7af4bbe01bdc9f
1245 Author: Peng Wu <alexepico@gmail.com>
1246 Date: 2021-01-28 10:44:58 +0800
1247
1248 Extend lua trigger feature to support multiple results
1249
1250 M src/PYPLuaConverterCandidates.cc
1251 M src/PYPLuaTriggerCandidates.cc
1252 M src/PYPLuaTriggerCandidates.h
1253
1254 commit b8d700607ea7a6d27cc9c7ab9d4f9901bd40997c
1255 Author: Peng Wu <alexepico@gmail.com>
1256 Date: 2021-01-27 15:29:36 +0800
1257
1258 Update Lua Plugin API
1259
1260 M lua/lua-ext-console.c
1261 M lua/lua-plugin.c
1262 M lua/lua-plugin.h
1263
1264 commit dcf8e13c6921e4d8a39ec9bf33263fd37616560c
1265 Author: Peng Wu <alexepico@gmail.com>
1266 Date: 2021-01-20 09:42:14 +0800
1267
1268 Fixes insert method
1269
1270 M src/PYPFullPinyinEditor.cc
1271
1272 commit 840217748fea4de8f6a68378fd0465fe7aa810d7
1273 Author: Peng Wu <alexepico@gmail.com>
1274 Date: 2021-01-11 13:30:22 +0800
1275
1276 Fixes Caps Lock issue in double pinyin mode
1277
1278 M src/PYPPinyinEngine.cc
1279
1280 commit 31f12260abd9f384105d76f2f184584307f06c8e
1281 Author: Peng Wu <alexepico@gmail.com>
1282 Date: 2020-12-15 14:56:40 +0800
1283
1284 Update NEWS
1285
1286 M NEWS
1287
1288 commit 8fb0ca4fa7bf9db3e5fb6c2fb713a3b0d4ab1ae4
1289 Author: Peng Wu <alexepico@gmail.com>
1290 Date: 2020-12-15 14:54:47 +0800
1291
1292 bump version 1.12.0
1293
1294 M configure.ac
1295
1296 commit 9b00002f464bc66c55bcfeaf2ab0e1ca5e2a4f1e
1297 Author: Peng Wu <alexepico@gmail.com>
1298 Date: 2020-11-23 10:58:22 +0800
1299
1300 Fixes import/export pinyin dictionary
1301
1302 M setup/main2.py
1303 M src/PYPConfig.cc
1304
1305 commit a7a048ecf430664711c26f7fedca4470adb0fcc0
1306 Author: Adolfo Jayme Barrientos <fitoschido@gmail.com>
1307 Date: 2020-10-16 20:30:19 +0200
1308
1309 Translated using Weblate (Spanish)
1310
1311 Currently translated at 98.7% (154 of 156 strings)
1312
1313 Translation: ibus-libpinyin/master
1314 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/es/
1315
1316 M po/es.po
1317
1318 commit d2167a3dcdfd11d78149ace92ab745d0c345f10f
1319 Author: Emilio Herrera <ehespinosa57@gmail.com>
1320 Date: 2020-10-16 20:30:19 +0200
1321
1322 Translated using Weblate (Spanish)
1323
1324 Currently translated at 83.9% (131 of 156 strings)
1325
1326 Translation: ibus-libpinyin/master
1327 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/es/
1328
1329 M po/es.po
1330
1331 commit 3206261d58711d7c42baca5ba680758a708f4bf9
1332 Author: Peng Wu <alexepico@gmail.com>
1333 Date: 2020-10-22 11:09:14 +0800
1334
1335 Update NEWS
1336
1337 M NEWS
1338
1339 commit da68617e606b60a019b025921d0f7af78149701e
1340 Author: Peng Wu <alexepico@gmail.com>
1341 Date: 2020-10-15 16:21:18 +0800
1342
1343 Improve clearPinyinUserData method
1344
1345 M src/PYLibPinyin.cc
1346
1347 commit c346468fdf9ef8f7f6c8acd0dc54b976b1dafd14
1348 Author: Peng Wu <alexepico@gmail.com>
1349 Date: 2020-09-29 11:33:27 +0800
1350
1351 Fixes import/export dictionary in setup dialog
1352
1353 M setup/main2.py
1354
1355 commit bc063522f2945776cf3c70d33ba32dc31d1d603f
1356 Author: Peng Wu <alexepico@gmail.com>
1357 Date: 2020-09-28 10:28:17 +0800
1358
1359 Save user pinyin data after import the dictionary
1360
1361 M src/PYLibPinyin.cc
1362
1363 commit 0d46fe7842c179bc4b2ad88a27ddeed9d0af9220
1364 Author: Peng Wu <alexepico@gmail.com>
1365 Date: 2020-09-25 10:27:19 +0800
1366
1367 refactor class CloudCandidates
1368
1369 M src/PYPCloudCandidates.cc
1370
1371 commit 117d390aea32de451a497b5f1bc1d9391f123079
1372 Author: Peng Wu <alexepico@gmail.com>
1373 Date: 2020-09-25 10:24:57 +0800
1374
1375 Use enum CloudInputSource
1376
1377 M src/PYConfig.h
1378 M src/PYPCloudCandidates.cc
1379 M src/PYPCloudCandidates.h
1380 M src/PYPConfig.cc
1381
1382 commit 2823391970f8f6798340fdce8e514cc239054dd0
1383 Author: Peng Wu <alexepico@gmail.com>
1384 Date: 2020-09-25 09:26:52 +0800
1385
1386 Update setup dialog
1387
1388 M setup/ibus-libpinyin-preferences.ui
1389
1390 commit df0c1ab351127618b0016b06803ca1a5fb2a65ca
1391 Author: Peng Wu <alexepico@gmail.com>
1392 Date: 2020-09-25 09:20:53 +0800
1393
1394 Add another cloud input source
1395
1396 M src/PYConfig.h
1397 M src/PYPCloudCandidates.cc
1398
1399 commit 0492fc31565ebd35f6ac14769203bdce752f8d7a
1400 Author: Peng Wu <alexepico@gmail.com>
1401 Date: 2020-09-24 15:04:30 +0800
1402
1403 Update base.lua
1404
1405 M lua/base.lua
1406
1407 commit eea3b45a2400d09092b1d5f15c07225249249e7d
1408 Author: Peng Wu <alexepico@gmail.com>
1409 Date: 2020-09-23 15:49:35 +0800
1410
1411 Fixes CloudCandidates::updateLookupTable method
1412
1413 M src/PYPCloudCandidates.cc
1414
1415 commit 7ecb3750e81e791fa554f34a745cbd1384b45ea0
1416 Author: Peng Wu <alexepico@gmail.com>
1417 Date: 2020-09-23 12:09:54 +0800
1418
1419 drop CloudCandidatesResponseParser::getAnnotation method
1420
1421 M src/PYPCloudCandidates.cc
1422
1423 commit 55f095629bb76cad1b8381e715fc69ed4167f9eb
1424 Author: Peng Wu <alexepico@gmail.com>
1425 Date: 2020-09-23 09:47:55 +0800
1426
1427 Fixes CloudCandidates::processCandidates method
1428
1429 M src/PYPCloudCandidates.cc
1430
1431 commit f09dc5f280bc81f50221da464f6cd943652eac16
1432 Author: Peng Wu <alexepico@gmail.com>
1433 Date: 2020-09-23 09:44:33 +0800
1434
1435 Use GTimer in class CloudCandidates
1436
1437 M src/PYPCloudCandidates.cc
1438 M src/PYPCloudCandidates.h
1439
1440 commit ad280ed7c07eb0a39c23c1274fc40cf2f2213e2a
1441 Author: Peng Wu <alexepico@gmail.com>
1442 Date: 2020-09-22 16:06:42 +0800
1443
1444 Update cloud candidate input design
1445
1446 M src/PYPCloudCandidates.cc
1447 M src/PYPCloudCandidates.h
1448
1449 commit 91643cabc8fd54fcccf2255138f8f840621cd944
1450 Author: Peng Wu <alexepico@gmail.com>
1451 Date: 2020-09-22 12:18:30 +0800
1452
1453 fixes initPinyinContext method
1454
1455 M src/PYLibPinyin.cc
1456
1457 commit abcb6d5eb7736207e8af6ceaa1ce2f0a993a852b
1458 Author: Peng Wu <alexepico@gmail.com>
1459 Date: 2020-09-22 12:10:01 +0800
1460
1461 fixes CloudCandidates crash
1462
1463 M src/PYPCloudCandidates.cc
1464 M src/PYPCloudCandidates.h
1465
1466 commit 0e6091ca1e3577db003698f5696dff65ef2118c3
1467 Author: Peng Wu <alexepico@gmail.com>
1468 Date: 2020-09-22 11:01:48 +0800
1469
1470 improve cloudAsyncRequest method
1471
1472 M src/PYPCloudCandidates.cc
1473 M src/PYPCloudCandidates.h
1474
1475 commit db9d9d43f8db12426e26abb0940bf4ddb7f408c3
1476 Author: Peng Wu <alexepico@gmail.com>
1477 Date: 2020-09-21 16:10:45 +0800
1478
1479 refactor class CloudCandidates
1480
1481 M src/PYPCloudCandidates.cc
1482 M src/PYPCloudCandidates.h
1483
1484 commit 2ab5cf72ffe5d71c3bb182fec7b78133991beedd
1485 Author: Peng Wu <alexepico@gmail.com>
1486 Date: 2020-09-21 15:37:18 +0800
1487
1488 refactor m_parser variable in class CloudCandidates
1489
1490 M src/PYConfig.cc
1491 M src/PYConfig.h
1492 M src/PYPCloudCandidates.cc
1493 M src/PYPCloudCandidates.h
1494 M src/PYPConfig.cc
1495
1496 commit 5bb4e1afcb01dcd2aa90702cd3268b22589f8d66
1497 Author: hillwoodroc <hillwood@opensuse.org>
1498 Date: 2020-09-19 21:31:43 +0800
1499
1500 Update network.txt
1501
1502 M data/network.txt
1503
1504 commit 6f832e07df279b4938354e2b96190845dc6b5b45
1505 Author: Mike FABIAN <mfabian@redhat.com>
1506 Date: 2020-09-17 09:29:26 +0200
1507
1508 Translated using Weblate (German)
1509
1510 Currently translated at 100.0% (156 of 156 strings)
1511
1512 Translation: ibus-libpinyin/master
1513 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
1514
1515 M po/de.po
1516
1517 commit 34b539e0281d228b8caf4357f71aa4159d913605
1518 Author: Yuri Chornoivan <yurchor@ukr.net>
1519 Date: 2020-09-17 09:29:26 +0200
1520
1521 Translated using Weblate (Ukrainian)
1522
1523 Currently translated at 100.0% (156 of 156 strings)
1524
1525 Translation: ibus-libpinyin/master
1526 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
1527
1528 M po/uk.po
1529
1530 commit b5e1bba4b7bc25821bfa87bb0cc8791ff39b97b2
1531 Author: Hillwood Yang <hillwoodroc@gmail.com>
1532 Date: 2020-09-16 04:58:11 +0200
1533
1534 Translated using Weblate (Chinese (Traditional))
1535
1536 Currently translated at 100.0% (156 of 156 strings)
1537
1538 Translation: ibus-libpinyin/master
1539 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_TW/
1540
1541 Translated using Weblate (Chinese (Hong Kong))
1542
1543 Currently translated at 100.0% (156 of 156 strings)
1544
1545 Translation: ibus-libpinyin/master
1546 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_HK/
1547
1548 Translated using Weblate (Chinese (Simplified))
1549
1550 Currently translated at 100.0% (156 of 156 strings)
1551
1552 Translation: ibus-libpinyin/master
1553 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1554
1555 M po/zh_CN.po
1556 M po/zh_HK.po
1557 M po/zh_TW.po
1558
1559 commit a3d639e96fe07c93da079c2c48c29cd8743ea3bf
1560 Author: Peng Wu <pwu@redhat.com>
1561 Date: 2020-09-16 04:58:11 +0200
1562
1563 Translated using Weblate (Chinese (Simplified))
1564
1565 Currently translated at 99.3% (155 of 156 strings)
1566
1567 Translation: ibus-libpinyin/master
1568 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1569
1570 Translated using Weblate (Chinese (Simplified))
1571
1572 Currently translated at 97.4% (152 of 156 strings)
1573
1574 Translation: ibus-libpinyin/master
1575 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1576
1577 Translated using Weblate (Chinese (Simplified))
1578
1579 Currently translated at 97.4% (152 of 156 strings)
1580
1581 Translation: ibus-libpinyin/master
1582 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1583
1584 M po/zh_CN.po
1585
1586 commit a7419c778cf9f482e79767087ed4fda7a17b9d9b
1587 Author: Weblate <noreply@weblate.org>
1588 Date: 2020-09-16 04:58:11 +0200
1589
1590 Update translation files
1591
1592 Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
1593
1594 Translation: ibus-libpinyin/master
1595 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/
1596
1597 M po/ca.po
1598 M po/cs.po
1599 M po/de.po
1600 M po/es.po
1601 M po/fr.po
1602 M po/pt-BR.po
1603 M po/ru.po
1604 M po/uk.po
1605 M po/zh_CN.po
1606 M po/zh_HK.po
1607 M po/zh_TW.po
1608
1609 commit c8345ac3e82f198a6e511b7413ada962b12d799c
1610 Author: Harry Chen <harrychen0314@gmail.com>
1611 Date: 2020-09-16 04:58:10 +0200
1612
1613 Translated using Weblate (Chinese (Simplified))
1614
1615 Currently translated at 96.7% (151 of 156 strings)
1616
1617 Translation: ibus-libpinyin/master
1618 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1619
1620 M po/zh_CN.po
1621
1622 commit 695078f427be1d717f9b2341838a499eb1f8e812
1623 Author: Mike FABIAN <mfabian@redhat.com>
1624 Date: 2020-09-16 04:58:10 +0200
1625
1626 Translated using Weblate (German)
1627
1628 Currently translated at 100.0% (156 of 156 strings)
1629
1630 Translation: ibus-libpinyin/master
1631 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
1632
1633 Translated using Weblate (German)
1634
1635 Currently translated at 100.0% (156 of 156 strings)
1636
1637 Translation: ibus-libpinyin/master
1638 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
1639
1640 Translated using Weblate (German)
1641
1642 Currently translated at 100.0% (156 of 156 strings)
1643
1644 Translation: ibus-libpinyin/master
1645 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
1646
1647 M po/de.po
1648
1649 commit cd19dd55588b5d03311b912c8ecdb292b46b4f96
1650 Author: Yuri Chornoivan <yurchor@ukr.net>
1651 Date: 2020-09-16 04:58:10 +0200
1652
1653 Translated using Weblate (Ukrainian)
1654
1655 Currently translated at 100.0% (156 of 156 strings)
1656
1657 Translation: ibus-libpinyin/master
1658 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
1659
1660 Translated using Weblate (Ukrainian)
1661
1662 Currently translated at 100.0% (156 of 156 strings)
1663
1664 Translation: ibus-libpinyin/master
1665 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
1666
1667 Translated using Weblate (Ukrainian)
1668
1669 Currently translated at 100.0% (156 of 156 strings)
1670
1671 Translation: ibus-libpinyin/master
1672 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
1673
1674 M po/uk.po
1675
1676 commit 1ae4b59228d65dfcb632e44d8d87082bb6d62797
1677 Author: Weblate <noreply@weblate.org>
1678 Date: 2020-09-16 04:58:10 +0200
1679
1680 Update translation files
1681
1682 Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
1683
1684 Translation: ibus-libpinyin/master
1685 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/
1686
1687 M po/ca.po
1688 M po/cs.po
1689 M po/de.po
1690 M po/es.po
1691 M po/fr.po
1692 M po/pt-BR.po
1693 M po/ru.po
1694 M po/uk.po
1695 M po/zh_CN.po
1696 M po/zh_HK.po
1697 M po/zh_TW.po
1698
1699 commit 2d08e64f7157becd52ff1c0fec5f190c87365f33
1700 Author: Hillwood Yang <hillwoodroc@gmail.com>
1701 Date: 2020-09-16 04:58:09 +0200
1702
1703 Translated using Weblate (Chinese (Traditional))
1704
1705 Currently translated at 100.0% (150 of 150 strings)
1706
1707 Translation: ibus-libpinyin/master
1708 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_TW/
1709
1710 Translated using Weblate (Chinese (Simplified))
1711
1712 Currently translated at 98.6% (150 of 152 strings)
1713
1714 Translation: ibus-libpinyin/master
1715 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1716
1717 Translated using Weblate (Chinese (Simplified))
1718
1719 Currently translated at 98.0% (149 of 152 strings)
1720
1721 Translation: ibus-libpinyin/master
1722 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1723
1724 M po/zh_CN.po
1725 M po/zh_TW.po
1726
1727 commit 9caeca5e27c291e4fb2ef76ebeead67c4d413714
1728 Author: Yuri Chornoivan <yurchor@ukr.net>
1729 Date: 2020-09-16 04:58:09 +0200
1730
1731 Translated using Weblate (Ukrainian)
1732
1733 Currently translated at 100.0% (150 of 150 strings)
1734
1735 Translation: ibus-libpinyin/master
1736 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/uk/
1737
1738 M po/uk.po
1739
1740 commit 5c43657b8c950a1dc659e7ca2069be47ada6324d
1741 Author: Xiao Weixuan <veyx.shaw@gmail.com>
1742 Date: 2020-09-16 04:58:08 +0200
1743
1744 Translated using Weblate (French)
1745
1746 Currently translated at 91.3% (137 of 150 strings)
1747
1748 Translation: ibus-libpinyin/master
1749 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/fr/
1750
1751 M po/fr.po
1752
1753 commit a5d4234bea35b16393aef3cdd4aef02bfa9365e4
1754 Author: Emilio Herrera <ehespinosa57@gmail.com>
1755 Date: 2020-09-16 04:58:08 +0200
1756
1757 Translated using Weblate (Spanish)
1758
1759 Currently translated at 100.0% (136 of 136 strings)
1760
1761 Translation: ibus-libpinyin/master
1762 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/es/
1763
1764 M po/es.po
1765
1766 commit 4ec2c1c8453b885922991af407c4f1f44952e0d4
1767 Author: Harry Chen <harrychen0314@gmail.com>
1768 Date: 2020-09-16 04:58:08 +0200
1769
1770 Translated using Weblate (Chinese (Simplified))
1771
1772 Currently translated at 98.0% (149 of 152 strings)
1773
1774 Translation: ibus-libpinyin/master
1775 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_CN/
1776
1777 M po/zh_CN.po
1778
1779 commit c4e77276f74c6051a97b1639d390678ce1bbd7f0
1780 Author: hillwoodroc <hillwoodroc@gmail.com>
1781 Date: 2020-09-10 12:03:46 +0800
1782
1783 Update network.txt
1784
1785 M data/network.txt
1786
1787 commit 63274edc8271d60e0b50ab01cffae7ffeba8edac
1788 Author: Peng Wu <alexepico@gmail.com>
1789 Date: 2020-09-14 11:27:54 +0800
1790
1791 Update gschema XML
1792
1793 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
1794
1795 commit b6a2247e92b7ccf503d1d691976b7777dbb47620
1796 Author: Peng Wu <alexepico@gmail.com>
1797 Date: 2020-09-13 12:36:42 +0800
1798
1799 Update ibus-libpinyin.pot
1800
1801 M po/ibus-libpinyin.pot
1802
1803 commit 330653ec32c1fd74770f1e1f52cf5bc0f08bbe78
1804 Author: Peng Wu <alexepico@gmail.com>
1805 Date: 2020-09-13 12:34:25 +0800
1806
1807 Update setup dialog
1808
1809 M setup/ibus-libpinyin-preferences.ui
1810
1811 commit 0b5b3a6538656a908666fef09e83cb9b34fbcf48
1812 Author: Peng Wu <alexepico@gmail.com>
1813 Date: 2020-09-08 14:19:18 +0800
1814
1815 Update ibus-libpinyin.pot
1816
1817 M po/ibus-libpinyin.pot
1818
1819 commit 9227873475e7ce0573d48fc8fe4b00781cc6edc0
1820 Author: Peng Wu <alexepico@gmail.com>
1821 Date: 2020-09-08 14:13:47 +0800
1822
1823 Hide cloud option in setup dialog
1824
1825 M configure.ac
1826 M setup/config.py.in
1827 M setup/main2.py
1828
1829 commit a478d650ff5429e338268c6d5f6e4c44e8334426
1830 Author: Peng Wu <alexepico@gmail.com>
1831 Date: 2020-09-07 16:07:09 +0800
1832
1833 Update main2.py for emoji candidate
1834
1835 M setup/main2.py
1836
1837 commit d9b4fd856e57a3785c91e360805603130d5fbc34
1838 Author: Peng Wu <alexepico@gmail.com>
1839 Date: 2020-09-07 16:06:12 +0800
1840
1841 Update setup dialog for emoji candidate
1842
1843 M setup/ibus-libpinyin-preferences.ui
1844
1845 commit 17068e1da358b7a6ca78375a01bd572956433755
1846 Author: Peng Wu <alexepico@gmail.com>
1847 Date: 2020-09-07 14:54:08 +0800
1848
1849 Fixes Emoji Candidates
1850
1851 M src/PYPEmojiCandidates.cc
1852
1853 commit 38ace884661e521990fc117ffa5a197173853527
1854 Author: hillwoodroc <hillwoodroc@gmail.com>
1855 Date: 2020-09-07 12:34:34 +0800
1856
1857 Update ibus-libpinyin-preferences.ui: Add Cloud Input Authors
1858
1859 M setup/ibus-libpinyin-preferences.ui
1860
1861 commit d6c950ec717fb417fc2871e03801349e3b065a76
1862 Author: Inokinoki <veyx.shaw@gmail.com>
1863 Date: 2020-09-01 10:26:12 +0200
1864
1865 Enable Cloud Input for Double Pinyin and Bopomofo
1866
1867 M src/PYPBopomofoEditor.cc
1868 M src/PYPDoublePinyinEditor.cc
1869
1870 commit 04aa7f052d2d911349c79cae6d922e3f65d24752
1871 Author: Inokinoki <veyx.shaw@gmail.com>
1872 Date: 2020-09-01 10:25:14 +0200
1873
1874 Enable Cloud Input for Full Pinyin mode
1875
1876 Co-authored-by: lianna07 <liannaxu07@gmail.com>
1877
1878 M configure.ac
1879 M src/Makefile.am
1880 M src/PYPPhoneticEditor.cc
1881 M src/PYPPhoneticEditor.h
1882
1883 commit 3de68dd731aeae11e1930a1f25ecdad3b2cc50d8
1884 Author: Inokinoki <veyx.shaw@gmail.com>
1885 Date: 2020-09-01 10:22:36 +0200
1886
1887 Add Cloud Input configuration items in setup UI
1888
1889 Co-authored-by: lianna07 <liannaxu07@gmail.com>
1890 Co-authored-by: Peng Wu <alexepico@gmail.com>
1891
1892 M setup/ibus-libpinyin-preferences.ui
1893 M setup/main2.py
1894
1895 commit ad748051706038cf4178be3f0cdbdd209fa02742
1896 Author: Inokinoki <veyx.shaw@gmail.com>
1897 Date: 2020-09-01 10:18:19 +0200
1898
1899 Add Cloud Input configurations
1900
1901 Co-authored-by: lianna07 <liannaxu07@gmail.com>
1902 Co-authored-by: Peng Wu <alexepico@gmail.com>
1903
1904 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
1905 M src/PYConfig.cc
1906 M src/PYConfig.h
1907 M src/PYPConfig.cc
1908
1909 commit beae287d141c111ac18ccfd5ddf7afa1f23a8945
1910 Author: Inokinoki <veyx.shaw@gmail.com>
1911 Date: 2020-09-01 10:09:31 +0200
1912
1913 Add Cloud Input implementation
1914
1915 This implementation adds Cloud Input feature with delayed request and
1916 asynchronous request.
1917
1918 - Support Full Pinyin and Double Pinyin modes
1919 - Support Bopomofo mode
1920
1921 Co-authored-by: lianna07 <liannaxu07@gmail.com>
1922 Co-authored-by: Peng Wu <alexepico@gmail.com>
1923
1924 A src/PYPCloudCandidates.cc
1925 A src/PYPCloudCandidates.h
1926
1927 commit afd6134ebdd7d01383f79763e574fab0a227307d
1928 Author: Peng Wu <alexepico@gmail.com>
1929 Date: 2020-08-28 11:31:54 +0800
1930
1931 bump version 1.11.94
1932
1933 M configure.ac
1934
1935 commit 2ee257c73388df89b4f5966c882d8047a896f9b2
1936 Author: Peng Wu <alexepico@gmail.com>
1937 Date: 2020-08-28 11:30:31 +0800
1938
1939 restore mainSwitch shortcut key
1940
1941 M src/PYPPinyinEngine.cc
1942
1943 commit 24f673d6480ce15fc7f37af848f149e0a366d18a
1944 Author: Peng Wu <alexepico@gmail.com>
1945 Date: 2020-08-25 15:32:24 +0800
1946
1947 update NEWS
1948
1949 M NEWS
1950
1951 commit b5f4fb8872d5cad3e9771d296d8ef83c29234b8f
1952 Author: Emilio Herrera <ehespinosa57@gmail.com>
1953 Date: 2020-08-24 17:29:18 +0200
1954
1955 Translated using Weblate (Spanish)
1956
1957 Currently translated at 100.0% (136 of 136 strings)
1958
1959 Translation: ibus-libpinyin/master
1960 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/es/
1961
1962 M po/es.po
1963
1964 commit 033a8ca044f4c75986cdcff7bc827a8b7e039ccb
1965 Author: Mike FABIAN <mfabian@redhat.com>
1966 Date: 2020-08-24 17:29:18 +0200
1967
1968 Translated using Weblate (German)
1969
1970 Currently translated at 100.0% (150 of 150 strings)
1971
1972 Translation: ibus-libpinyin/master
1973 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/de/
1974
1975 Added translation using Weblate (German)
1976
1977 M po/LINGUAS
1978 A po/de.po
1979
1980 commit 5b0f0288a3ae5d2e747696296535430ddc24a494
1981 Author: Hillwood Yang <hillwoodroc@gmail.com>
1982 Date: 2020-08-24 17:29:17 +0200
1983
1984 Translated using Weblate (Chinese (Hong Kong))
1985
1986 Currently translated at 75.6% (115 of 152 strings)
1987
1988 Translation: ibus-libpinyin/master
1989 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/zh_HK/
1990
1991 M po/zh_HK.po
1992
1993 commit 74acade82207a1d358f4bdc4c29735fe8f0488f6
1994 Author: Peng Wu <alexepico@gmail.com>
1995 Date: 2020-08-21 12:11:33 +0800
1996
1997 fixes processAccelKeyEvent method
1998
1999 M src/PYPPinyinEngine.cc
2000
2001 commit 584dc7037ecc1d1c305d175bca6ddd5c8e3d8d81
2002 Author: Weblate <noreply@weblate.org>
2003 Date: 2020-08-11 06:40:11 +0200
2004
2005 Update translation files
2006
2007 Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
2008
2009 Translation: ibus-libpinyin/master
2010 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/
2011
2012 M po/ca.po
2013 M po/cs.po
2014 M po/es.po
2015 M po/fr.po
2016 M po/pt-BR.po
2017 M po/ru.po
2018 M po/uk.po
2019 M po/zh_CN.po
2020 M po/zh_HK.po
2021 M po/zh_TW.po
2022
2023 commit 10f113940c03f6b9b86071011281605f3f3f42ec
2024 Author: Weblate <noreply@weblate.org>
2025 Date: 2020-08-11 06:39:57 +0200
2026
2027 Update translation files
2028
2029 Updated by "Update LINGUAS file" hook in Weblate.
2030
2031 Translation: ibus-libpinyin/master
2032 Translate-URL: https://translate.fedoraproject.org/projects/ibus-libpinyin/master/
2033
2034 M po/LINGUAS
2035
2036 commit 9cb895957a1040c536c0d6342cc71cc9cfa7217e
2037 Author: Peng Wu <alexepico@gmail.com>
2038 Date: 2020-08-10 16:12:45 +0800
2039
2040 import ibus-libpinyin.pot
2041
2042 A po/ibus-libpinyin.pot
2043
2044 commit 8faeee14d547d932d111908f48c0895909c7e677
2045 Author: Peng Wu <alexepico@gmail.com>
2046 Date: 2020-08-10 16:00:06 +0800
2047
2048 import po files
2049
2050 A po/cs.po
2051 A po/es.po
2052 A po/pt-BR.po
2053 A po/uk.po
2054
2055 commit e2c7237de7086d197cb9897c223a9e60fb9813c1
2056 Author: Peng Wu <alexepico@gmail.com>
2057 Date: 2020-07-29 13:34:39 +0800
2058
2059 fixes readNetworkDictionary method
2060
2061 M src/PYLibPinyin.cc
2062
2063 commit ad0f4f3419c0652fb18c5f20b3fd94244ed7553c
2064 Author: Peng Wu <alexepico@gmail.com>
2065 Date: 2020-07-28 14:06:20 +0800
2066
2067 use modified method instead of pinyin_save function
2068
2069 M src/PYLibPinyin.cc
2070
2071 commit 0f9bfcb1320465116aaaeaa290ec80c0b86cb81d
2072 Author: Peng Wu <alexepico@gmail.com>
2073 Date: 2020-07-28 13:05:05 +0800
2074
2075 Restore Bopomofo Editor
2076
2077 M src/PYPBopomofoEditor.cc
2078 M src/PYPPhoneticEditor.cc
2079
2080 commit 318aea3862c6dbc382ccca6c7ea75c198e28b75e
2081 Author: Peng Wu <alexepico@gmail.com>
2082 Date: 2020-07-27 10:47:14 +0800
2083
2084 fixes mainSwitch shortcut key
2085
2086 M src/PYPPinyinEngine.cc
2087
2088 commit 8b38d6cdad15a9d21976ed783cf7ba945385e16e
2089 Author: Peng Wu <alexepico@gmail.com>
2090 Date: 2020-07-27 10:29:22 +0800
2091
2092 fixes PYLibPinyin.cc
2093
2094 M src/PYLibPinyin.cc
2095
2096 commit 7bf1a089547be9add7cb01a5e7b45806031f99ff
2097 Author: Peng Wu <alexepico@gmail.com>
2098 Date: 2020-07-23 15:58:51 +0800
2099
2100 fixes Network Dictionary
2101
2102 M src/PYLibPinyin.cc
2103
2104 commit f4570dd9d1694e676c49984233ecc4f68719dde3
2105 Author: Peng Wu <alexepico@gmail.com>
2106 Date: 2020-07-23 15:22:02 +0800
2107
2108 update com.github.libpinyin.ibus-libpinyin.gschema.xml
2109
2110 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2111
2112 commit 49cbae6d9a9df24fa73dc55a684e52d8fcdd0dcf
2113 Author: Peng Wu <alexepico@gmail.com>
2114 Date: 2020-07-21 15:27:45 +0800
2115
2116 init network dictionary
2117
2118 M src/PYLibPinyin.cc
2119
2120 commit 035d5fdda849c2b1d369fbfcb6ebe705ca2c3221
2121 Author: Peng Wu <alexepico@gmail.com>
2122 Date: 2020-06-23 14:22:38 +0800
2123
2124 support network dictionary timestamp in GSettings
2125
2126 M src/PYConfig.cc
2127 M src/PYConfig.h
2128 M src/PYPConfig.cc
2129 M src/PYPConfig.h
2130
2131 commit dc67c6437dd2f3a5790c7065f03631a123e144db
2132 Author: Peng Wu <alexepico@gmail.com>
2133 Date: 2020-06-19 15:10:49 +0800
2134
2135 write readNetworkDictionary method
2136
2137 M src/PYLibPinyin.cc
2138 M src/PYLibPinyin.h
2139
2140 commit 8d7e340b73caa3033040e229cc6198357a127823
2141 Author: Peng Wu <alexepico@gmail.com>
2142 Date: 2020-06-18 14:42:44 +0800
2143
2144 update gschema.xml
2145
2146 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2147
2148 commit 296f5b22a8f86da8cd8409301bd161c394776147
2149 Author: Peng Wu <alexepico@gmail.com>
2150 Date: 2020-06-16 16:07:02 +0800
2151
2152 import network.txt
2153
2154 M data/Makefile.am
2155 A data/network.txt
2156
2157 commit ac395bd59da86505b1ee00f3edd64f03f654aa33
2158 Author: Peng Wu <alexepico@gmail.com>
2159 Date: 2020-07-21 13:02:53 +0800
2160
2161 Fixes Bopomofo Editor
2162
2163 M src/PYPBopomofoEditor.cc
2164 M src/PYPPhoneticEditor.cc
2165
2166 commit f3faeeff3fbe3bf9e30ed4461c2c8d0466966e56
2167 Author: Peng Wu <alexepico@gmail.com>
2168 Date: 2020-07-06 09:59:05 +0800
2169
2170 fixes lmyoslib.c
2171
2172 M lua/lmyoslib.c
2173
2174 commit 45bdf39e41a41fe4cc7f087948eec461145cfb5c
2175 Author: Peng Wu <alexepico@gmail.com>
2176 Date: 2020-06-17 16:51:54 +0800
2177
2178 update PYPEmojiTable.h
2179
2180 M src/PYPEmojiTable.h
2181
2182 commit 59785f2de60591fe738f79bb6fbc46d9737bb556
2183 Author: Peng Wu <alexepico@gmail.com>
2184 Date: 2020-06-17 16:20:24 +0800
2185
2186 update extract_emoji.py
2187
2188 M scripts/extract_emoji.py
2189
2190 commit db96866788ab60ce94d329b118443c2e9aed6dd9
2191 Author: Peng Wu <alexepico@gmail.com>
2192 Date: 2020-04-23 15:43:28 +0800
2193
2194 update Makefile.am
2195
2196 M Makefile.am
2197 M data/Makefile.am
2198 M data/db/android/Makefile.am
2199 M lua/Makefile.am
2200 M m4/Makefile.am
2201 M setup/Makefile.am
2202 M src/Makefile.am
2203
2204 commit 9aac9382caa1a034aa86e253241fe3a56b02844d
2205 Author: Peng Wu <alexepico@gmail.com>
2206 Date: 2020-04-23 15:38:08 +0800
2207
2208 use GPLv3+ license
2209
2210 M lua/lua-ext-console.c
2211 M lua/lua-plugin-init.c
2212 M lua/lua-plugin.c
2213 M lua/lua-plugin.h
2214 M lua/test-lua-plugin.c
2215 M src/PYBus.h
2216 M src/PYConfig.cc
2217 M src/PYConfig.h
2218 M src/PYEditor.cc
2219 M src/PYEditor.h
2220 M src/PYEngine.cc
2221 M src/PYEngine.h
2222 M src/PYEnglishEditor.cc
2223 M src/PYEnglishEditor.h
2224 M src/PYExtEditor.cc
2225 M src/PYExtEditor.h
2226 M src/PYFallbackEditor.cc
2227 M src/PYFallbackEditor.h
2228 M src/PYHalfFullConverter.cc
2229 M src/PYHalfFullConverter.h
2230 M src/PYLibPinyin.cc
2231 M src/PYLibPinyin.h
2232 M src/PYLookupTable.h
2233 M src/PYMain.cc
2234 M src/PYObject.h
2235 M src/PYPBopomofoEditor.cc
2236 M src/PYPBopomofoEditor.h
2237 M src/PYPBopomofoEngine.cc
2238 M src/PYPBopomofoEngine.h
2239 M src/PYPConfig.cc
2240 M src/PYPConfig.h
2241 M src/PYPDoublePinyinEditor.cc
2242 M src/PYPDoublePinyinEditor.h
2243 M src/PYPEmojiCandidates.cc
2244 M src/PYPEmojiCandidates.h
2245 M src/PYPEnhancedCandidates.h
2246 M src/PYPFullPinyinEditor.cc
2247 M src/PYPFullPinyinEditor.h
2248 M src/PYPLibPinyinCandidates.cc
2249 M src/PYPLibPinyinCandidates.h
2250 M src/PYPLuaConverterCandidates.cc
2251 M src/PYPLuaConverterCandidates.h
2252 M src/PYPLuaTriggerCandidates.cc
2253 M src/PYPLuaTriggerCandidates.h
2254 M src/PYPPhoneticEditor.cc
2255 M src/PYPPhoneticEditor.h
2256 M src/PYPPinyinEditor.cc
2257 M src/PYPPinyinEditor.h
2258 M src/PYPPinyinEngine.cc
2259 M src/PYPPinyinEngine.h
2260 M src/PYPSuggestionCandidates.cc
2261 M src/PYPSuggestionCandidates.h
2262 M src/PYPSuggestionEditor.cc
2263 M src/PYPTradCandidates.cc
2264 M src/PYPTradCandidates.h
2265 M src/PYPinyinProperties.cc
2266 M src/PYPinyinProperties.h
2267 M src/PYPointer.h
2268 M src/PYProperty.h
2269 M src/PYPunctEditor.cc
2270 M src/PYPunctEditor.h
2271 M src/PYRawEditor.h
2272 M src/PYSignal.h
2273 M src/PYSimpTradConverter.cc
2274 M src/PYSimpTradConverter.h
2275 M src/PYString.h
2276 M src/PYText.h
2277 M src/PYTypes.h
2278 M src/PYUtil.h
2279
2280 commit 215418a204ef83cfed6c90a5ce092cadd4a95d5f
2281 Author: Peng Wu <alexepico@gmail.com>
2282 Date: 2020-04-23 14:55:19 +0800
2283
2284 update COPYING
2285
2286 M COPYING
2287
2288 commit 1e9f1f343f4c098fc9619364233e905182eba9bb
2289 Author: Peng Wu <alexepico@gmail.com>
2290 Date: 2020-04-13 14:45:42 +0800
2291
2292 update appdatadir
2293
2294 M data/Makefile.am
2295
2296 commit f026d3f074786482f1b00b19811838b9535a99bb
2297 Author: Peng Wu <alexepico@gmail.com>
2298 Date: 2020-04-13 14:43:16 +0800
2299
2300 bump version 1.11.93
2301
2302 M configure.ac
2303
2304 commit 79046a6fcb1fcb7c8d316ab958264f9b23837c9d
2305 Author: Peng Wu <alexepico@gmail.com>
2306 Date: 2020-03-27 12:08:19 +0800
2307
2308 fixes ExtEditor
2309
2310 M src/PYExtEditor.cc
2311
2312 commit 117b8c6752650317be76ab007cb1018a2d0a2d34
2313 Author: Peng Wu <alexepico@gmail.com>
2314 Date: 2020-03-19 16:26:32 +0800
2315
2316 update NEWS
2317
2318 M NEWS
2319
2320 commit 585388b542bbfcda2859911754e68ea3b884b083
2321 Author: Peng Wu <alexepico@gmail.com>
2322 Date: 2020-03-19 16:24:49 +0800
2323
2324 bump version 1.11.92
2325
2326 M configure.ac
2327
2328 commit a804ecd6b3109c08a10b72cc88ae56b48fc8e5d0
2329 Author: Peng Wu <alexepico@gmail.com>
2330 Date: 2020-03-19 16:21:50 +0800
2331
2332 update po files
2333
2334 M po/zh_CN.po
2335 M po/zh_HK.po
2336 M po/zh_TW.po
2337
2338 commit d1b8f40c7e2081405873726c931e328e0d025087
2339 Author: Peng Wu <alexepico@gmail.com>
2340 Date: 2020-03-19 16:09:37 +0800
2341
2342 fixes desktop.in files
2343
2344 M data/ibus-setup-libbopomofo.desktop.in
2345 M data/ibus-setup-libpinyin.desktop.in
2346
2347 commit bfd577a0006ba09b8d9d4e42f513eae06118a4c3
2348 Author: Peng Wu <alexepico@gmail.com>
2349 Date: 2020-03-19 15:20:12 +0800
2350
2351 update NEWS
2352
2353 M NEWS
2354
2355 commit a168a1abb609c9d570d9e94ce82f417ed0b55e28
2356 Author: hollowman6 <hollowman186@vip.qq.com>
2357 Date: 2020-03-03 09:26:07 +0000
2358
2359 update po files
2360
2361 M po/ca.po
2362 M po/fr.po
2363 M po/ru.po
2364 M po/zh_CN.po
2365 M po/zh_HK.po
2366 M po/zh_TW.po
2367
2368 commit 8c65964af7d214ff2ba700b341c9adc80de860e7
2369 Author: hollowman6 <hollowman186@vip.qq.com>
2370 Date: 2020-03-03 09:17:49 +0000
2371
2372 Fix grammar errors in code
2373
2374 M setup/ibus-libpinyin-preferences.ui
2375 M setup/keyboardshortcut.py
2376 M setup/shortcuteditor.py
2377 M src/PYEnglishEditor.cc
2378
2379 commit 107e405d72e0bb09112b82d3cfef51e29f0119cd
2380 Author: hillwoodroc <hillwoodroc@gmail.com>
2381 Date: 2020-03-03 15:18:59 +0800
2382
2383 Update translations.
2384
2385 M po/ca.po
2386 M po/fr.po
2387 M po/ru.po
2388 M po/zh_CN.po
2389 M po/zh_HK.po
2390 M po/zh_TW.po
2391
2392 commit 88a365e47f50224120e5399116bf89664ead2df4
2393 Author: Peng Wu <alexepico@gmail.com>
2394 Date: 2020-03-03 10:32:17 +0800
2395
2396 update ibus-libpinyin-preferences.ui
2397
2398 M setup/ibus-libpinyin-preferences.ui
2399
2400 commit dd855e663aa79095287ac8f0cb333e676936edc7
2401 Author: Peng Wu <alexepico@gmail.com>
2402 Date: 2020-03-03 10:04:17 +0800
2403
2404 update po files
2405
2406 M po/ca.po
2407 M po/fr.po
2408 M po/ru.po
2409 M po/zh_CN.po
2410 M po/zh_HK.po
2411 M po/zh_TW.po
2412
2413 commit 915f2ff1d5f58b43ef2167a94e3060c342f7abe7
2414 Author: Peng Wu <alexepico@gmail.com>
2415 Date: 2020-02-26 16:18:53 +0800
2416
2417 fixes memory leak in pinyin_get_sentence call
2418
2419 M src/PYPBopomofoEditor.cc
2420 M src/PYPLibPinyinCandidates.cc
2421 M src/PYPPinyinEditor.cc
2422
2423 commit 7be9b52ba5ef951d48de960d36d0c015d7d50cd8
2424 Author: Peng Wu <alexepico@gmail.com>
2425 Date: 2020-01-08 14:49:01 +0800
2426
2427 fixes punct mode
2428
2429 M src/PYPBopomofoEngine.cc
2430 M src/PYPPinyinEngine.cc
2431
2432 commit 682a15b906cc8696510d5c888db66827770a94ef
2433 Author: Peng Wu <alexepico@gmail.com>
2434 Date: 2019-12-26 11:59:42 +0800
2435
2436 update NEWS
2437
2438 M NEWS
2439
2440 commit 79cd627e0342c7e6f5f17cd3295c7c83a4c39ac3
2441 Author: Peng Wu <alexepico@gmail.com>
2442 Date: 2019-12-26 11:56:27 +0800
2443
2444 update ChangeLog
2445
2446 M ChangeLog
2447 M NEWS
2448
2449 commit 362e5a9dc697decd93382dd66507d4838800cbf9
2450 Author: Peng Wu <alexepico@gmail.com>
2451 Date: 2019-12-19 15:00:01 +0800
2452
2453 write removeCandidate method
2454
2455 M src/PYPEmojiCandidates.cc
2456 M src/PYPEmojiCandidates.h
2457 M src/PYPLuaConverterCandidates.cc
2458 M src/PYPLuaConverterCandidates.h
2459 M src/PYPLuaTriggerCandidates.cc
2460 M src/PYPLuaTriggerCandidates.h
2461 M src/PYPTradCandidates.cc
2462 M src/PYPTradCandidates.h
2463
2464 commit 503de9a7f203eb3d98f1313e5e0acd2ad77be2a7
2465 Author: Peng Wu <alexepico@gmail.com>
2466 Date: 2019-12-19 14:59:57 +0800
2467
2468 write removeCandidateInternal method
2469
2470 M src/PYEditor.cc
2471 M src/PYEditor.h
2472 M src/PYPEnhancedCandidates.h
2473 M src/PYPLibPinyinCandidates.cc
2474 M src/PYPLibPinyinCandidates.h
2475 M src/PYPPhoneticEditor.cc
2476 M src/PYPPhoneticEditor.h
2477
2478 commit 2b2fdb2a1d948eab46fdca289fd5f579af078ff8
2479 Author: Peng Wu <alexepico@gmail.com>
2480 Date: 2019-12-19 14:59:53 +0800
2481
2482 fixes compact display style
2483
2484 M src/PYPBopomofoEditor.cc
2485 M src/PYPDoublePinyinEditor.cc
2486 M src/PYPFullPinyinEditor.cc
2487
2488 commit dca9d262c84ee234f2be75b8589d666aece3dd06
2489 Author: Peng Wu <alexepico@gmail.com>
2490 Date: 2019-12-19 14:59:48 +0800
2491
2492 add display style option to setup dialog
2493
2494 M setup/main2.py
2495
2496 commit 383604078235c0c87c23f00e24da8c7919f942ca
2497 Author: Peng Wu <alexepico@gmail.com>
2498 Date: 2019-12-19 14:59:44 +0800
2499
2500 update ibus-libpinyin-preferences.ui
2501
2502 M setup/ibus-libpinyin-preferences.ui
2503
2504 commit de84d3eb000e333d9bd4b1d6a3d40c9040ca8bad
2505 Author: Peng Wu <alexepico@gmail.com>
2506 Date: 2019-12-19 14:59:39 +0800
2507
2508 support display style option
2509
2510 M src/PYPBopomofoEditor.cc
2511 M src/PYPConfig.cc
2512 M src/PYPDoublePinyinEditor.cc
2513 M src/PYPFullPinyinEditor.cc
2514 M src/PYPPinyinEditor.cc
2515
2516 commit 584cdae8db5b3b64063ce692f431b1945e1e13e4
2517 Author: Peng Wu <alexepico@gmail.com>
2518 Date: 2019-12-19 14:59:34 +0800
2519
2520 fixes Makefile.am
2521
2522 M data/Makefile.am
2523
2524 commit f20a610b7f08fb0a3b95bf0022e8e85c8f0f0747
2525 Author: Peng Wu <alexepico@gmail.com>
2526 Date: 2019-12-19 14:59:28 +0800
2527
2528 bump version 1.11.91
2529
2530 M configure.ac
2531
2532 commit 555abcaf3aef847456d7b86ed2bde57b6ddc62c1
2533 Author: Peng Wu <alexepico@gmail.com>
2534 Date: 2019-12-19 14:59:22 +0800
2535
2536 add display style option
2537
2538 M src/PYConfig.cc
2539 M src/PYConfig.h
2540 M src/PYPConfig.cc
2541
2542 commit 99efd06f6b6a71a9d49cbc85e48ca338cde50da9
2543 Author: Peng Wu <alexepico@gmail.com>
2544 Date: 2019-12-19 14:59:10 +0800
2545
2546 fixes lua plugin warnings
2547
2548 M lua/lua-plugin.c
2549
2550 commit d6afa093cdb453579e4fc4035b9b8137a44c8e3d
2551 Author: Peng Wu <alexepico@gmail.com>
2552 Date: 2019-12-19 14:58:15 +0800
2553
2554 Update com.github.libpinyin.ibus-libpinyin.gschema.xml
2555
2556 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2557
2558 commit 8889ab2e3574a781404ebcec1504594ed28ea79a
2559 Author: Peng Wu <alexepico@gmail.com>
2560 Date: 2019-12-03 14:23:02 +0800
2561
2562 fixes desktop file for ibus-libpinyin setup dialog
2563
2564 M data/Makefile.am
2565
2566 commit 2ab63bd24f091315fecfc9ccd0495a6832ec327c
2567 Author: Peng Wu <alexepico@gmail.com>
2568 Date: 2019-12-03 14:07:17 +0800
2569
2570 Use Python 3.2
2571
2572 M configure.ac
2573
2574 commit 17121ad1dbc8c9be44d449c2d79179cdd90f6d7c
2575 Author: Peng Wu <pwu@redhat.com>
2576 Date: 2019-11-29 13:23:16 +0800
2577
2578 fixes comma handling
2579
2580 M src/PYFallbackEditor.cc
2581
2582 commit 592b628000d9b58bb714ff9232d7d2ddf814cacf
2583 Author: Peng Wu <pwu@redhat.com>
2584 Date: 2019-11-21 14:45:28 +0800
2585
2586 fixes period handling again
2587
2588 M src/PYFallbackEditor.cc
2589
2590 commit 1eb70ce12bed9d6b53c02ac8693ec52abe1d0216
2591 Author: Peng Wu <pwu@redhat.com>
2592 Date: 2019-11-20 19:12:47 +0800
2593
2594 fixes period handling
2595
2596 M src/PYFallbackEditor.cc
2597 M src/PYPPinyinEditor.cc
2598
2599 commit 6ee1cb7b37225f953ba611e6e16b82d36c02acf5
2600 Author: Peng Wu <alexepico@gmail.com>
2601 Date: 2019-09-09 11:08:10 +0800
2602
2603 fixes EnglishEditor again
2604
2605 M src/PYEnglishEditor.cc
2606
2607 commit 981127a67d429262cf11257f98b4937f7461288c
2608 Author: Peng Wu <alexepico@gmail.com>
2609 Date: 2019-09-06 15:19:22 +0800
2610
2611 fixes EnglishEditor
2612
2613 M src/PYEnglishEditor.cc
2614
2615 commit 75806735002f940927648b5abd04a4b6704518fc
2616 Author: Ting-Wei Lan <lantw@src.gnome.org>
2617 Date: 2019-08-28 15:58:30 +0800
2618
2619 don't use sed -i
2620
2621 sed -i is a non-standard feature which may have different syntax or
2622 meaning depending on the implementation. It is better to use a
2623 temporary file instead of relying on a sed command implementing the
2624 feature in the same way as GNU sed.
2625
2626 M data/Makefile.am
2627
2628 commit 197e1b6c16608956141cd3668d35e4c22d18027e
2629 Author: Peng Wu <alexepico@gmail.com>
2630 Date: 2019-07-26 17:41:12 +0800
2631
2632 fixes crash in clearPinyinUserData method
2633
2634 M src/PYLibPinyin.cc
2635
2636 commit 86cd6d89193b2137f6ad622e1b6939ae2677fc1b
2637 Author: Peng Wu <alexepico@gmail.com>
2638 Date: 2019-05-09 15:02:14 +0800
2639
2640 fixes desktop files
2641
2642 M data/Makefile.am
2643
2644 commit d28daf1b85a0e52b2bfb7c82e901dce60df34cde
2645 Author: Peng Wu <alexepico@gmail.com>
2646 Date: 2019-05-09 14:27:55 +0800
2647
2648 add both-switch option
2649
2650 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2651 M setup/shortcuteditor.py
2652 M src/PYConfig.cc
2653 M src/PYConfig.h
2654 M src/PYPBopomofoEngine.cc
2655 M src/PYPConfig.cc
2656 M src/PYPPinyinEngine.cc
2657
2658 commit 27103d833d0aa6e572bd769695447ff4162269a5
2659 Author: Peng Wu <alexepico@gmail.com>
2660 Date: 2019-05-07 14:49:49 +0800
2661
2662 update ChangeLog
2663
2664 M ChangeLog
2665
2666 commit 2328a50d678a6fd737057b57f593f67ea10744df
2667 Author: Peng Wu <alexepico@gmail.com>
2668 Date: 2019-04-29 16:39:27 +0800
2669
2670 fixes SuggestionEditor
2671
2672 M src/PYPSuggestionEditor.cc
2673
2674 commit dcd9f98ae004cfb1270d472adc9cafcca0e625da
2675 Author: Peng Wu <alexepico@gmail.com>
2676 Date: 2019-03-07 17:41:11 +0800
2677
2678 Use gettext
2679
2680 M Makefile.am
2681 M configure.ac
2682 M data/Makefile.am
2683 R100 data/ibus-setup-libbopomofo.desktop.in.in data/ibus-setup-libbopomofo.desktop.in
2684 R100 data/ibus-setup-libpinyin.desktop.in.in data/ibus-setup-libpinyin.desktop.in
2685 M m4/Makefile.am
2686 M po/Makevars
2687 M po/POTFILES.in
2688 M po/POTFILES.skip
2689
2690 commit 730847008beb5af220c0a9b1b5c713ba23560984
2691 Author: Peng Wu <alexepico@gmail.com>
2692 Date: 2019-02-19 16:44:16 +0800
2693
2694 add emoji-candidate option
2695
2696 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2697 M src/PYConfig.cc
2698 M src/PYConfig.h
2699 M src/PYPConfig.cc
2700 M src/PYPPhoneticEditor.cc
2701
2702 commit 8ff8a7027673b036a4e4eb2d927abc20ec21cc26
2703 Author: Peng Wu <alexepico@gmail.com>
2704 Date: 2019-02-19 16:32:56 +0800
2705
2706 bump version 1.11.1
2707
2708 M configure.ac
2709
2710 commit 9b15d6b86ad84cee5c86c9e27fd24107c6eab89f
2711 Author: Peng Wu <alexepico@gmail.com>
2712 Date: 2019-01-15 11:57:09 +0800
2713
2714 update ChangeLog
2715
2716 M ChangeLog
2717
2718 commit f7723fe9a30ea73f6308437e3fa83a140fdf0c02
2719 Author: Peng Wu <alexepico@gmail.com>
2720 Date: 2019-01-15 11:50:31 +0800
2721
2722 bump version 1.11.0
2723
2724 M configure.ac
2725
2726 commit 7c565e402369eaa82790b9f2550ec11ffd87e7ab
2727 Author: Peng Wu <alexepico@gmail.com>
2728 Date: 2019-01-13 19:16:06 +0800
2729
2730 fixes typo
2731
2732 M src/PYFallbackEditor.cc
2733
2734 commit 9a1474c0e4972fa4d7c53e19ac939f6d3faacc69
2735 Author: Peng Wu <alexepico@gmail.com>
2736 Date: 2019-01-11 15:41:11 +0800
2737
2738 fixes keypad decimal
2739
2740 M src/PYFallbackEditor.cc
2741
2742 commit a0a9fd6b1deb4384ac7ca8ce0bc35c98d1193339
2743 Author: Peng Wu <alexepico@gmail.com>
2744 Date: 2019-01-11 09:59:06 +0800
2745
2746 fixes updateCandidates method
2747
2748 M src/PYPPhoneticEditor.cc
2749
2750 commit 052273cbf8f046eb7442bc036823934a68754eb9
2751 Author: Peng Wu <alexepico@gmail.com>
2752 Date: 2019-01-09 14:31:56 +0800
2753
2754 bump version 1.10.93
2755
2756 M configure.ac
2757
2758 commit 742fdb83a12f5238c0cab3d6ff6b6227c260e2f9
2759 Author: Peng Wu <alexepico@gmail.com>
2760 Date: 2019-01-04 12:45:16 +0800
2761
2762 update GSettings xml
2763
2764 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2765
2766 commit d5e38a036b85a011db6a251c814a2f2ee768e6cd
2767 Author: Peng Wu <alexepico@gmail.com>
2768 Date: 2019-01-04 12:42:09 +0800
2769
2770 minor fixes
2771
2772 M src/PYPConfig.cc
2773
2774 commit 42b2a4c1fbef71dadc97d0a820d96db977393495
2775 Author: Marcin Mielniczuk <marmistrz.dev@zoho.eu>
2776 Date: 2018-12-27 16:56:18 +0100
2777
2778 Support configurable opencc config
2779
2780 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
2781 M src/PYConfig.cc
2782 M src/PYConfig.h
2783 M src/PYPConfig.cc
2784 M src/PYPPhoneticEditor.cc
2785 M src/PYPSuggestionEditor.cc
2786 M src/PYPTradCandidates.cc
2787 M src/PYPTradCandidates.h
2788 M src/PYSimpTradConverter.cc
2789 M src/PYSimpTradConverter.h
2790
2791 commit dd4699124dbaacf5119092d82c090917b78a5f1a
2792 Author: Peng Wu <alexepico@gmail.com>
2793 Date: 2018-11-15 10:58:18 +0800
2794
2795 update english-user.db path
2796
2797 M src/PYEnglishEditor.cc
2798
2799 commit b780a46a6914de95a77c4296ddcb45e01e2bfd64
2800 Author: ZhaoQiang <zhaoqiang@gnome.org>
2801 Date: 2018-11-14 12:19:49 +0800
2802
2803 Update PYPEmojiCandidates.cc: change strcmp to use c++ library.
2804
2805 M src/PYPEmojiCandidates.cc
2806
2807 commit be40c06eb53f4832cc741c09b58e2afa5d8f2ce4
2808 Author: DevilApp <35273268+DevilApp@users.noreply.github.com>
2809 Date: 2018-11-11 18:45:21 +0100
2810
2811 Fixed french translation
2812
2813 I have updated the outdated french translation and fixed some language errors. Now there's some strings left.
2814
2815 M po/fr.po
2816
2817 commit 0401ff95be8f8b906d7a79feded7482c4172b28f
2818 Author: Peng Wu <alexepico@gmail.com>
2819 Date: 2018-10-31 13:18:22 +0800
2820
2821 fixes lua build
2822
2823 M src/PYEngine.cc
2824 M src/PYPPhoneticEditor.cc
2825 M src/PYPPhoneticEditor.h
2826 M src/PYPPinyinEngine.cc
2827 M src/PYPPinyinEngine.h
2828 M src/PYPSuggestionEditor.cc
2829 M src/PYPSuggestionEditor.h
2830
2831 commit 17ec73fad0f05cb23c2213ddc0ec2b798bbe6ab3
2832 Author: Peng Wu <alexepico@gmail.com>
2833 Date: 2018-10-26 10:39:11 +0800
2834
2835 fixes updatePreeditText method
2836
2837 M src/PYPBopomofoEditor.cc
2838 M src/PYPPinyinEditor.cc
2839
2840 commit 09ea48d54d1dca187ec6ab558ec8a2ce60b3ac1a
2841 Author: Peng Wu <alexepico@gmail.com>
2842 Date: 2018-10-24 15:38:43 +0800
2843
2844 update ChangeLog
2845
2846 M ChangeLog
2847
2848 commit f64d4eaec11484ab973181d407795da43be901bb
2849 Author: Peng Wu <alexepico@gmail.com>
2850 Date: 2018-10-24 15:33:12 +0800
2851
2852 bump version 1.10.92
2853
2854 M configure.ac
2855
2856 commit fabf5bf312567fd451c6481ad39e9efcf80f0fe4
2857 Author: Peng Wu <alexepico@gmail.com>
2858 Date: 2018-10-23 10:49:49 +0800
2859
2860 update PYSimpTradConverterTable.h
2861
2862 M src/PYSimpTradConverterTable.h
2863
2864 commit 850975607a761f566b78d31efe4bef622088a977
2865 Author: Peng Wu <alexepico@gmail.com>
2866 Date: 2018-10-23 10:48:32 +0800
2867
2868 update Makefile.am
2869
2870 M src/Makefile.am
2871
2872 commit b4f0705661a3458423bab03234cc2a06285735b8
2873 Author: Peng Wu <alexepico@gmail.com>
2874 Date: 2018-10-22 17:18:31 +0800
2875
2876 update php_2_py.php
2877
2878 M scripts/php_2_py.php
2879
2880 commit 6716c315210920b2f1e7b3ef816052d051ab19dd
2881 Author: Peng Wu <alexepico@gmail.com>
2882 Date: 2018-10-22 17:05:31 +0800
2883
2884 update update-simptrad-table.py for python3
2885
2886 M scripts/update-simptrad-table.py
2887
2888 commit f3863de494c7de92f2e18728f0d52fb20828138c
2889 Author: Peng Wu <alexepico@gmail.com>
2890 Date: 2018-10-17 16:01:29 +0800
2891
2892 fixes Enter handling
2893
2894 M src/PYPPhoneticEditor.cc
2895
2896 commit f93aa7cd0bd1b0db87b6daa234df5a59dde5c766
2897 Author: Peng Wu <alexepico@gmail.com>
2898 Date: 2018-10-11 14:43:31 +0800
2899
2900 update ChangeLog
2901
2902 M ChangeLog
2903
2904 commit de60aced6e50e94fbaf1cc77eb9638c6609580b3
2905 Author: Peng Wu <alexepico@gmail.com>
2906 Date: 2018-10-11 11:05:20 +0800
2907
2908 update configure.ac
2909
2910 M configure.ac
2911
2912 commit d43f8cabdbe3a0a47b8bbea05c95f26bfaac0517
2913 Author: Peng Wu <alexepico@gmail.com>
2914 Date: 2018-09-27 16:49:30 +0800
2915
2916 enable emoji candidates
2917
2918 M src/PYPPhoneticEditor.cc
2919 M src/PYPPhoneticEditor.h
2920
2921 commit 1ef1a6c3683980ce73e25bb3a61fbef97a603240
2922 Author: Peng Wu <alexepico@gmail.com>
2923 Date: 2018-09-27 16:23:42 +0800
2924
2925 fixes compile
2926
2927 M src/PYEditor.h
2928 M src/PYPEmojiCandidates.cc
2929
2930 commit 2b2233e88bf8c54f30aed33dbb5aacc8331ecd53
2931 Author: Peng Wu <alexepico@gmail.com>
2932 Date: 2018-09-27 16:23:35 +0800
2933
2934 update Makefile.am
2935
2936 M src/Makefile.am
2937
2938 commit deb237fc43e05732ff865653d3949f5a6e5f9abf
2939 Author: Peng Wu <alexepico@gmail.com>
2940 Date: 2018-09-27 16:15:03 +0800
2941
2942 write PYPEmojiCandidates.cc
2943
2944 M src/PYPEmojiCandidates.cc
2945 M src/PYPEmojiCandidates.h
2946
2947 commit 2744a5808b1c2d7a5b0daa1e203447f9e81e9556
2948 Author: Peng Wu <alexepico@gmail.com>
2949 Date: 2018-09-27 14:04:41 +0800
2950
2951 import PYPEmojiTable.h
2952
2953 A src/PYPEmojiTable.h
2954
2955 commit bc1e3e194c6a4eb67030261461cfa922df7b1a51
2956 Author: Peng Wu <alexepico@gmail.com>
2957 Date: 2018-09-27 14:02:30 +0800
2958
2959 begin to write PYPEmojiCandidates.cc
2960
2961 A src/PYPEmojiCandidates.cc
2962
2963 commit b8213e99026adc69dd889774e214e1c9b965371b
2964 Author: Peng Wu <alexepico@gmail.com>
2965 Date: 2018-09-25 15:32:17 +0800
2966
2967 import PYPEmojiCandidates.h
2968
2969 A src/PYPEmojiCandidates.h
2970
2971 commit 44724fda947dd7a0c4a3d7f569521205cd04fcfd
2972 Author: Peng Wu <alexepico@gmail.com>
2973 Date: 2018-09-21 18:47:19 +0800
2974
2975 add comments
2976
2977 M scripts/extract_emoji.py
2978
2979 commit 09838ef2cc7dee4fa32935564825325199478477
2980 Author: Peng Wu <alexepico@gmail.com>
2981 Date: 2018-09-21 17:47:28 +0800
2982
2983 import PYPEmojiTable.h.in
2984
2985 A scripts/PYPEmojiTable.h.in
2986
2987 commit 4b6017c2149b1f1ca1f7ec3260310da9dbf40260
2988 Author: Peng Wu <alexepico@gmail.com>
2989 Date: 2018-09-21 17:46:59 +0800
2990
2991 import extract_emoji.py
2992
2993 A scripts/extract_emoji.py
2994
2995 commit 78c7636176951a8528dc9e2793d32a42680e434a
2996 Author: Peng Wu <alexepico@gmail.com>
2997 Date: 2018-09-14 14:48:18 +0800
2998
2999 commit m_text when switch input mode
3000
3001 M src/PYPBopomofoEngine.cc
3002 M src/PYPPinyinEngine.cc
3003
3004 commit f4d792986e5d52e6104d0e9ab159a8197608667d
3005 Author: Peng Wu <alexepico@gmail.com>
3006 Date: 2018-09-14 14:34:26 +0800
3007
3008 fixes English Editor
3009
3010 M src/PYEnglishEditor.cc
3011
3012 commit bd60f5bb77aa093119cd691dfe880d7040039f70
3013 Author: Peng Wu <alexepico@gmail.com>
3014 Date: 2018-09-10 14:50:49 +0800
3015
3016 fixes Bopomofo Editor
3017
3018 M src/PYPBopomofoEditor.cc
3019
3020 commit 4e763225c1cb1fc9876c785bd5217a8bb6f5619f
3021 Author: Peng Wu <alexepico@gmail.com>
3022 Date: 2018-09-10 14:04:14 +0800
3023
3024 fixes rememberUserInput method
3025
3026 M src/PYPBopomofoEditor.cc
3027 M src/PYPLibPinyinCandidates.cc
3028 M src/PYPPinyinEditor.cc
3029
3030 commit 76942e76aa48f174abf17fc8c9673ce986ed00dc
3031 Author: 7535 <40716445+7535@users.noreply.github.com>
3032 Date: 2018-08-14 21:23:05 +0800
3033
3034 fix typo
3035
3036 "restart" in Chinese is "重启", not "重起".
3037
3038 M po/zh_CN.po
3039
3040 commit f9d594707455656554c4f98fe033e745f614614b
3041 Author: Graham Ramsey <gramsey@virginmedia.com>
3042 Date: 2018-06-26 21:23:04 +0100
3043
3044 fix broken boost with latest GCC versions - get up to date boost.m4
3045
3046 the version of boost.m4 used in the project is out of date - it does not work with latest GCC
3047 this means the ./configure step falls over when 'boost' is selected.
3048
3049 this file is unmodified from latest upstream source
3050 https://github.com/tsuna/boost.m4/commits/master/build-aux/boost.m4
3051
3052 M m4/boost.m4
3053
3054 commit 96307d95a49078c7bb645ae60c216cafb431f8a9
3055 Author: Peng Wu <alexepico@gmail.com>
3056 Date: 2018-06-27 11:44:25 +0800
3057
3058 fixes processKeyEvent method
3059
3060 M src/PYPBopomofoEngine.cc
3061 M src/PYPPinyinEngine.cc
3062
3063 commit 76318b525e8dd4635ac628d184dc6186c9bee966
3064 Author: Peng Wu <alexepico@gmail.com>
3065 Date: 2018-06-25 17:18:07 +0800
3066
3067 fixes processAccelKeyEvent method
3068
3069 M src/PYPBopomofoEngine.cc
3070 M src/PYPPinyinEngine.cc
3071
3072 commit 8355dc8878f25c5ea7d39c2c1ca382f26e6a747e
3073 Author: Peng Wu <alexepico@gmail.com>
3074 Date: 2018-06-25 15:37:56 +0800
3075
3076 fixes SuggestionEditor
3077
3078 M src/PYPSuggestionEditor.cc
3079
3080 commit 7497983f85bc9f4c80837bc36346477dbd9e3c2f
3081 Author: Peng Wu <alexepico@gmail.com>
3082 Date: 2018-06-25 13:58:12 +0800
3083
3084 update m_show_suggestion
3085
3086 M src/PYConfig.cc
3087 M src/PYPConfig.cc
3088
3089 commit 20dab8b5e2f389fb0f581b3a9574c800de49fa96
3090 Author: Peng Wu <alexepico@gmail.com>
3091 Date: 2018-06-25 13:56:07 +0800
3092
3093 update gschema xml
3094
3095 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
3096
3097 commit 84b4fd5a6345e5ef042549affaa10973156c10d1
3098 Author: Peng Wu <alexepico@gmail.com>
3099 Date: 2018-06-25 11:27:07 +0800
3100
3101 write m_need_update variable
3102
3103 M src/PYPBopomofoEngine.cc
3104 M src/PYPBopomofoEngine.h
3105 M src/PYPPinyinEngine.cc
3106 M src/PYPPinyinEngine.h
3107
3108 commit e6438371f64fcf3791f37e30f9a66f6282276961
3109 Author: Peng Wu <alexepico@gmail.com>
3110 Date: 2018-06-25 11:23:42 +0800
3111
3112 write updateLookupTableFast method of class SuggestionEditor
3113
3114 M src/PYPSuggestionEditor.cc
3115 M src/PYPSuggestionEditor.h
3116
3117 commit 0cb05c62b4e518abb2fc8a833f06c460bad9932e
3118 Author: Peng Wu <alexepico@gmail.com>
3119 Date: 2018-06-22 18:51:26 +0800
3120
3121 fixes SuggestionEditor
3122
3123 M src/PYPBopomofoEngine.cc
3124 M src/PYPPhoneticEditor.cc
3125 M src/PYPPinyinEngine.cc
3126
3127 commit a10813d0a4ccb8306923f6f7e6edac5b92f9ba31
3128 Author: Peng Wu <alexepico@gmail.com>
3129 Date: 2018-06-22 18:06:25 +0800
3130
3131 fixes typos
3132
3133 M src/PYPPinyinEngine.cc
3134 M src/PYPSuggestionEditor.cc
3135
3136 commit 7128295dfc35233b52f511f00ab6920e8905ec76
3137 Author: Peng Wu <alexepico@gmail.com>
3138 Date: 2018-06-22 13:28:18 +0800
3139
3140 drop SELECT_CANDIDATE_MODIFY_IN_PLACE_AND_COMMIT
3141
3142 M src/PYPEnhancedCandidates.h
3143 M src/PYPLibPinyinCandidates.cc
3144 M src/PYPLuaConverterCandidates.cc
3145 M src/PYPTradCandidates.cc
3146
3147 commit f17ae41890b16121f9498c5bb2336137feab781d
3148 Author: Peng Wu <alexepico@gmail.com>
3149 Date: 2018-06-22 13:24:47 +0800
3150
3151 update selectCandidate method
3152
3153 M src/PYEditor.cc
3154 M src/PYEditor.h
3155 M src/PYPBopomofoEngine.cc
3156 M src/PYPEnhancedCandidates.h
3157 M src/PYPLibPinyinCandidates.cc
3158 M src/PYPLibPinyinCandidates.h
3159 M src/PYPLuaConverterCandidates.cc
3160 M src/PYPLuaConverterCandidates.h
3161 M src/PYPLuaTriggerCandidates.cc
3162 M src/PYPLuaTriggerCandidates.h
3163 M src/PYPPhoneticEditor.cc
3164 M src/PYPPhoneticEditor.h
3165 M src/PYPPinyinEngine.cc
3166 M src/PYPSuggestionCandidates.cc
3167 M src/PYPSuggestionCandidates.h
3168 M src/PYPSuggestionEditor.cc
3169 M src/PYPSuggestionEditor.h
3170 M src/PYPTradCandidates.cc
3171 M src/PYPTradCandidates.h
3172
3173 commit ba9f507566d0b7acd48a9e0b3a1c4ffda383b922
3174 Author: Peng Wu <alexepico@gmail.com>
3175 Date: 2018-06-22 10:17:04 +0800
3176
3177 re-factor code
3178
3179 M src/PYPBopomofoEngine.cc
3180 M src/PYPPhoneticEditor.cc
3181 M src/PYPPinyinEngine.cc
3182 M src/PYPSuggestionEditor.cc
3183
3184 commit 1337055235e122bde9cb56b2fecf022329b6d587
3185 Author: Peng Wu <alexepico@gmail.com>
3186 Date: 2018-06-21 18:38:25 +0800
3187
3188 update base.lua
3189
3190 M lua/base.lua
3191
3192 commit 02f6a064f70c3e51beec0faac437ae991b67d82d
3193 Author: Peng Wu <alexepico@gmail.com>
3194 Date: 2018-06-20 18:02:23 +0800
3195
3196 fixes typo
3197
3198 M src/PYPPinyinEngine.cc
3199
3200 commit be45838329507fd662914af816ff514f115dc5de
3201 Author: Peng Wu <alexepico@gmail.com>
3202 Date: 2018-06-20 17:00:39 +0800
3203
3204 fixes warning
3205
3206 M src/PYPPhoneticEditor.cc
3207 M src/PYPPhoneticEditor.h
3208 M src/PYPSuggestionEditor.h
3209
3210 commit e4a2fe0b514d63b2721f4f65608f362a15237456
3211 Author: Peng Wu <alexepico@gmail.com>
3212 Date: 2018-06-20 16:37:14 +0800
3213
3214 update setup dialog
3215
3216 M setup/main2.py
3217
3218 commit d459b349a0f61781dae9f13ab16da285063f751e
3219 Author: Peng Wu <alexepico@gmail.com>
3220 Date: 2018-06-20 16:33:20 +0800
3221
3222 update ibus-libpinyin-preferences.ui
3223
3224 M setup/ibus-libpinyin-preferences.ui
3225
3226 commit 622b55b3fa8736d4e4c357945c57075967cba894
3227 Author: Peng Wu <alexepico@gmail.com>
3228 Date: 2018-06-20 15:18:04 +0800
3229
3230 write setLuaPlugin method
3231
3232 M lua/lua-plugin.h
3233 M src/PYEngine.cc
3234 M src/PYExtEditor.cc
3235 M src/PYExtEditor.h
3236 M src/PYPLuaConverterCandidates.cc
3237 M src/PYPLuaConverterCandidates.h
3238 M src/PYPLuaTriggerCandidates.cc
3239 M src/PYPLuaTriggerCandidates.h
3240 M src/PYPPhoneticEditor.cc
3241 M src/PYPPhoneticEditor.h
3242 M src/PYPPinyinEngine.cc
3243 M src/PYPPinyinEngine.h
3244 M src/PYPSuggestionEditor.cc
3245 M src/PYPSuggestionEditor.h
3246
3247 commit 6ead074c8939c9530c5f841e7b2a0987267766e5
3248 Author: Peng Wu <alexepico@gmail.com>
3249 Date: 2018-06-19 16:25:46 +0800
3250
3251 fixes compile
3252
3253 M src/PYEditor.h
3254 M src/PYPEnhancedCandidates.h
3255 M src/PYPLibPinyinCandidates.h
3256 M src/PYPLuaConverterCandidates.cc
3257 M src/PYPLuaConverterCandidates.h
3258 M src/PYPLuaTriggerCandidates.cc
3259 M src/PYPLuaTriggerCandidates.h
3260 M src/PYPPhoneticEditor.h
3261 M src/PYPSuggestionCandidates.cc
3262 M src/PYPSuggestionCandidates.h
3263 M src/PYPTradCandidates.h
3264
3265 commit d0d1622c759e73e0a8bb4763ca8f8fb6a98224a2
3266 Author: Peng Wu <alexepico@gmail.com>
3267 Date: 2018-06-19 16:13:47 +0800
3268
3269 write class SuggestionEditor
3270
3271 M src/PYPSuggestionEditor.cc
3272 M src/PYPSuggestionEditor.h
3273
3274 commit be71008ef85648271c24a93f43f27423c17b5c21
3275 Author: Peng Wu <alexepico@gmail.com>
3276 Date: 2018-06-19 15:29:40 +0800
3277
3278 write PYPSuggestionCandidates.cc
3279
3280 A src/PYPSuggestionCandidates.cc
3281
3282 commit fdf152d8b27763dfeb12dc654c5068acc8a69cae
3283 Author: Peng Wu <alexepico@gmail.com>
3284 Date: 2018-06-19 15:20:52 +0800
3285
3286 update Makefile.am
3287
3288 M src/Makefile.am
3289
3290 commit f1baf78b9ea8d971759537daa56f09338624220e
3291 Author: Peng Wu <alexepico@gmail.com>
3292 Date: 2018-06-19 15:08:09 +0800
3293
3294 write PYPSuggestionCandidates.h
3295
3296 M src/PYPEnhancedCandidates.h
3297 A src/PYPSuggestionCandidates.h
3298
3299 commit b242c46a26297c2523a864f5d734fbc39bf99bff
3300 Author: Peng Wu <alexepico@gmail.com>
3301 Date: 2018-06-19 14:24:05 +0800
3302
3303 write class SuggestionEditor
3304
3305 M src/PYPLuaConverterCandidates.cc
3306 M src/PYPLuaTriggerCandidates.cc
3307 M src/PYPPhoneticEditor.h
3308 M src/PYPSuggestionEditor.cc
3309 M src/PYPSuggestionEditor.h
3310
3311 commit 915d484a05b3482a9638ba54075ab71888444448
3312 Author: Peng Wu <alexepico@gmail.com>
3313 Date: 2018-06-19 12:07:57 +0800
3314
3315 update commitText method
3316
3317 M src/PYPBopomofoEngine.cc
3318 M src/PYPPinyinEngine.cc
3319
3320 commit 001aeae58e4d165b5885f29b257589aece8af1f5
3321 Author: Peng Wu <alexepico@gmail.com>
3322 Date: 2018-06-15 18:17:18 +0800
3323
3324 update gschema xml
3325
3326 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
3327
3328 commit 1b5b31a1b51c6fd29c68c385fee7af69b6fcb310
3329 Author: Peng Wu <alexepico@gmail.com>
3330 Date: 2018-06-15 17:19:20 +0800
3331
3332 fixes lua converter
3333
3334 M src/PYPPhoneticEditor.cc
3335
3336 commit 313647e5c8bf9301cafe53743c411a7cf167b539
3337 Author: Peng Wu <alexepico@gmail.com>
3338 Date: 2018-06-15 16:04:25 +0800
3339
3340 begin to write class SuggestionEditor
3341
3342 A src/PYPSuggestionEditor.cc
3343 M src/PYPSuggestionEditor.h
3344
3345 commit ea4784475c1491c9eb6fd0eec454588f2333ce75
3346 Author: Peng Wu <alexepico@gmail.com>
3347 Date: 2018-06-15 16:02:18 +0800
3348
3349 support suggestion mode in BopomofoEngine
3350
3351 M src/PYPBopomofoEngine.cc
3352
3353 commit 6eed8c257e9c5870fcd32aa8eedf01ce7bec6613
3354 Author: Peng Wu <alexepico@gmail.com>
3355 Date: 2018-06-15 16:02:00 +0800
3356
3357 support suggestion mode in PinyinEngine
3358
3359 M src/PYPPinyinEngine.cc
3360
3361 commit 43f0846c494b5bf1b759905ee1d2dc2c2de02059
3362 Author: Peng Wu <alexepico@gmail.com>
3363 Date: 2018-06-15 11:55:43 +0800
3364
3365 update Makefile.am
3366
3367 M src/Makefile.am
3368
3369 commit 1cc1fe8b7b7d70e611f3e74d56cca8f1c837ed4e
3370 Author: Peng Wu <alexepico@gmail.com>
3371 Date: 2018-06-15 11:52:36 +0800
3372
3373 use IBUS_BUILD_LUA_EXTENSION
3374
3375 M src/PYPBopomofoEngine.cc
3376 M src/PYPBopomofoEngine.h
3377 M src/PYPPhoneticEditor.cc
3378 M src/PYPPhoneticEditor.h
3379 M src/PYPPinyinEngine.cc
3380
3381 commit 766a1322395e32286930a62b9f66033a0d8d637c
3382 Author: Peng Wu <alexepico@gmail.com>
3383 Date: 2018-06-15 11:36:12 +0800
3384
3385 fixes lua memory leak
3386
3387 M lua/lua-plugin.c
3388 M lua/lua-plugin.h
3389 M src/PYPLuaConverterCandidates.cc
3390 M src/PYPLuaTriggerCandidates.cc
3391
3392 commit 89e6d4c522217278ac24d5f4cfc38162a267c9a3
3393 Author: Peng Wu <alexepico@gmail.com>
3394 Date: 2018-06-14 16:16:08 +0800
3395
3396 write PYPSuggestionEditor.h
3397
3398 A src/PYPSuggestionEditor.h
3399
3400 commit 7216bcd03777defa253f2c70eeda364f345970dc
3401 Author: Peng Wu <alexepico@gmail.com>
3402 Date: 2018-06-14 15:53:43 +0800
3403
3404 add option show suggestion
3405
3406 M src/PYConfig.cc
3407 M src/PYConfig.h
3408 M src/PYPConfig.cc
3409
3410 commit 94e9584b8b81cdcb4bce15ab58e83001bd085192
3411 Author: Peng Wu <alexepico@gmail.com>
3412 Date: 2018-06-14 15:21:29 +0800
3413
3414 add option lua converter
3415
3416 M src/PYConfig.cc
3417 M src/PYConfig.h
3418 M src/PYPConfig.cc
3419 M src/PYPPhoneticEditor.cc
3420
3421 commit b706eb6d35a6ba4fd33e2aeea5325e2db82cb9fe
3422 Author: Peng Wu <alexepico@gmail.com>
3423 Date: 2018-06-14 15:09:40 +0800
3424
3425 bump version 1.10.91
3426
3427 M configure.ac
3428
3429 commit e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2
3430 Author: Peng Wu <alexepico@gmail.com>
3431 Date: 2018-06-14 15:08:03 +0800
3432
3433 use lua converter
3434
3435 M lua/lua-plugin.c
3436 M src/PYPPhoneticEditor.cc
3437
3438 commit 44abb976b536a604916f0cc1738c49c4babf129d
3439 Author: Peng Wu <alexepico@gmail.com>
3440 Date: 2018-06-14 15:07:02 +0800
3441
3442 update gschema xml
3443
3444 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
3445
3446 commit 6715c04f36bf7194bbfe38cc29314b0efd2eeb46
3447 Author: Peng Wu <alexepico@gmail.com>
3448 Date: 2018-06-13 16:18:13 +0800
3449
3450 update class PhoneticEditor
3451
3452 M src/PYPLuaTriggerCandidates.cc
3453 M src/PYPPhoneticEditor.cc
3454 M src/PYPPhoneticEditor.h
3455
3456 commit e7da2e05d080a7496e0d27281dde66eeb569930f
3457 Author: Peng Wu <alexepico@gmail.com>
3458 Date: 2018-06-13 16:11:03 +0800
3459
3460 write class LuaConverterCandidates
3461
3462 A src/PYPLuaConverterCandidates.cc
3463 M src/PYPLuaConverterCandidates.h
3464
3465 commit e5f39e8907cbb59b84f570dda9adba9706fa98b7
3466 Author: Peng Wu <alexepico@gmail.com>
3467 Date: 2018-06-13 15:56:39 +0800
3468
3469 update Makefile.am
3470
3471 M src/Makefile.am
3472
3473 commit 78dbd77ee0bf15dcab4f72b1cd4733d54ad55867
3474 Author: Peng Wu <alexepico@gmail.com>
3475 Date: 2018-06-13 15:42:24 +0800
3476
3477 write class LuaTriggerCandidates
3478
3479 M src/PYPEnhancedCandidates.h
3480 A src/PYPLuaTriggerCandidates.cc
3481 M src/PYPLuaTriggerCandidates.h
3482 M src/PYPPhoneticEditor.h
3483
3484 commit 4b9d8723f13108be4e2da91d72db9f32b9177e4f
3485 Author: Peng Wu <alexepico@gmail.com>
3486 Date: 2018-06-13 15:41:05 +0800
3487
3488 update Makefile.am
3489
3490 M src/Makefile.am
3491
3492 commit 654173627c7d973dacd3ab874b05e3d4d722f507
3493 Author: Peng Wu <alexepico@gmail.com>
3494 Date: 2018-06-13 15:00:01 +0800
3495
3496 update PYExtEditor.*
3497
3498 M src/PYExtEditor.cc
3499 M src/PYExtEditor.h
3500
3501 commit f8f84eb3d12c1913fa342871cf1a6568ac3a75c0
3502 Author: Peng Wu <alexepico@gmail.com>
3503 Date: 2018-06-12 16:47:44 +0800
3504
3505 rename ibus_engine_plugin_get_result_string to ibus_engine_plugin_get_first_result
3506
3507 M lua/lua-ext-console.c
3508 M lua/lua-plugin.c
3509 M lua/lua-plugin.h
3510
3511 commit e7a6091b44fe4a932a2f4637313ff36ae03e119b
3512 Author: Peng Wu <alexepico@gmail.com>
3513 Date: 2018-06-12 16:19:14 +0800
3514
3515 update lua-ext-console.c
3516
3517 M lua/lua-ext-console.c
3518
3519 commit bb51fd16c244a5e93add5ad9df2fb21460fb4032
3520 Author: Peng Wu <alexepico@gmail.com>
3521 Date: 2018-06-12 15:57:46 +0800
3522
3523 define lua candidates header
3524
3525 A src/PYPLuaConverterCandidates.h
3526 A src/PYPLuaTriggerCandidates.h
3527
3528 commit 4821c9acb8fb76c27d7fdbd3e3bacb1af4015122
3529 Author: Peng Wu <alexepico@gmail.com>
3530 Date: 2018-06-12 14:52:26 +0800
3531
3532 fixes crash
3533
3534 M lua/lua-plugin-init.c
3535
3536 commit 21efde045adb52ef5341b567ec0d76e06d822105
3537 Author: Peng Wu <alexepico@gmail.com>
3538 Date: 2018-06-11 13:46:38 +0800
3539
3540 update comments
3541
3542 M src/PYPEnhancedCandidates.h
3543 M src/PYPPinyinEngine.cc
3544 M src/PYPPinyinEngine.h
3545
3546 commit 7b485605d696bb96a6024d22a259336dcd16fb72
3547 Author: Peng Wu <alexepico@gmail.com>
3548 Date: 2018-06-08 16:16:05 +0800
3549
3550 update lua-plugin-init.c
3551
3552 M lua/lua-plugin-init.c
3553 M lua/lua-plugin.c
3554
3555 commit 41b283aeed897d5ea23ce2a60b9470472b2d492c
3556 Author: Peng Wu <alexepico@gmail.com>
3557 Date: 2018-06-08 15:44:21 +0800
3558
3559 update lua-plugin.c
3560
3561 M lua/lua-plugin.c
3562 M lua/lua-plugin.h
3563
3564 commit 184a264f3eb4436ff2377b7db498cd321a339393
3565 Author: Peng Wu <alexepico@gmail.com>
3566 Date: 2018-06-07 17:52:12 +0800
3567
3568 fixes crash
3569
3570 M src/PYPPhoneticEditor.cc
3571 M src/PYPTradCandidates.cc
3572
3573 commit 24cd9ed4274d9a7a7a25862537d08b8e83be30bf
3574 Author: Peng Wu <alexepico@gmail.com>
3575 Date: 2018-06-07 15:07:31 +0800
3576
3577 update lua-plugin.h
3578
3579 M lua/lua-plugin.c
3580 M lua/lua-plugin.h
3581
3582 commit c2e1912687bf89c6b0d8bb9529998f775e95ea51
3583 Author: Peng Wu <alexepico@gmail.com>
3584 Date: 2018-06-06 17:17:42 +0800
3585
3586 re-factor updatePreeditText method
3587
3588 M src/PYLibPinyin.cc
3589 M src/PYPBopomofoEditor.cc
3590 M src/PYPPinyinEditor.cc
3591
3592 commit e9cb1572f84785cada0e5434d1b992ba1298b1a4
3593 Author: Peng Wu <alexepico@gmail.com>
3594 Date: 2018-06-06 16:57:42 +0800
3595
3596 re-factor commit method
3597
3598 M src/PYLibPinyin.cc
3599 M src/PYLibPinyin.h
3600 M src/PYPBopomofoEditor.cc
3601 M src/PYPBopomofoEditor.h
3602 M src/PYPPhoneticEditor.cc
3603 M src/PYPPhoneticEditor.h
3604 M src/PYPPinyinEditor.cc
3605 M src/PYPPinyinEditor.h
3606
3607 commit de688e73654da6a7ace797f35e34275daa4980d3
3608 Author: Peng Wu <alexepico@gmail.com>
3609 Date: 2018-06-06 16:11:45 +0800
3610
3611 re-factor selectCandidate method
3612
3613 M src/PYPBopomofoEditor.cc
3614 M src/PYPPhoneticEditor.cc
3615
3616 commit 927d3e23a6b8ee30b26b9fe8203c5fc4e56baf52
3617 Author: Peng Wu <alexepico@gmail.com>
3618 Date: 2018-06-06 15:11:10 +0800
3619
3620 re-factor fillLookupTable method
3621
3622 M src/PYPPhoneticEditor.cc
3623 M src/PYPTradCandidates.cc
3624
3625 commit fa7d7df55f7e2894742851068b39735992cca51d
3626 Author: Peng Wu <alexepico@gmail.com>
3627 Date: 2018-06-06 15:08:50 +0800
3628
3629 update PYString.h
3630
3631 M src/PYString.h
3632
3633 commit e0d134cb400b563f65bd9de36b5391a34b9e308c
3634 Author: Peng Wu <alexepico@gmail.com>
3635 Date: 2018-06-04 17:20:12 +0800
3636
3637 re-factor LibPinyinCandidates
3638
3639 M src/PYPEnhancedCandidates.h
3640 M src/PYPLibPinyinCandidates.cc
3641 M src/PYPPhoneticEditor.cc
3642 M src/PYPPhoneticEditor.h
3643
3644 commit 2720cbc52c5e31d4b4a0ad193c6ae369fcd0c5b2
3645 Author: Peng Wu <alexepico@gmail.com>
3646 Date: 2018-06-01 12:47:39 +0800
3647
3648 fixes compile
3649
3650 M src/PYPEnhancedCandidates.h
3651 M src/PYPLibPinyinCandidates.cc
3652 M src/PYPLibPinyinCandidates.h
3653 M src/PYPPhoneticEditor.h
3654 M src/PYPTradCandidates.cc
3655 M src/PYPTradCandidates.h
3656
3657 commit c8a4d19615cd59345ca40f52b1ceefe8914ae700
3658 Author: Peng Wu <alexepico@gmail.com>
3659 Date: 2018-06-01 12:23:07 +0800
3660
3661 update Makefile.am
3662
3663 M src/Makefile.am
3664
3665 commit f04c1c1fc48323e887180ac83efd7b9d378a732e
3666 Author: Peng Wu <alexepico@gmail.com>
3667 Date: 2018-05-29 16:38:29 +0800
3668
3669 write class TraditionalCandidates
3670
3671 M src/PYPEnhancedCandidates.h
3672 M src/PYPPhoneticEditor.h
3673 A src/PYPTradCandidates.cc
3674 A src/PYPTradCandidates.h
3675
3676 commit 48e0fe774d08fc0f0efeaa5184923958d134a86e
3677 Author: Peng Wu <alexepico@gmail.com>
3678 Date: 2018-05-28 16:26:28 +0800
3679
3680 write class LibPinyinCandidates
3681
3682 A src/PYPLibPinyinCandidates.cc
3683 M src/PYPLibPinyinCandidates.h
3684
3685 commit 21afd8f83a2223b213c64bff15e9d7e65614e5bd
3686 Author: Peng Wu <alexepico@gmail.com>
3687 Date: 2018-05-25 16:27:01 +0800
3688
3689 begin to write class LibPinyinCandidates
3690
3691 M src/PYPEnhancedCandidates.h
3692 A src/PYPLibPinyinCandidates.h
3693 M src/PYPPhoneticEditor.h
3694
3695 commit d45f68868b4a4be003364761e456cbc372a758f3
3696 Author: Peng Wu <alexepico@gmail.com>
3697 Date: 2018-05-24 16:16:04 +0800
3698
3699 begin to write class EnhancedCandidates
3700
3701 A src/PYPEnhancedCandidates.h
3702 M src/PYPPhoneticEditor.h
3703
3704 commit 0361867fc9f16f544d5b6e5ffc3cd13a486aa8fb
3705 Author: Peng Wu <alexepico@gmail.com>
3706 Date: 2018-04-17 13:13:13 +0800
3707
3708 update ChangeLog
3709
3710 M ChangeLog
3711
3712 commit 3def832ad5301cf35b669a0a1212673cb69eb812
3713 Author: Peng Wu <alexepico@gmail.com>
3714 Date: 2018-04-17 13:09:52 +0800
3715
3716 bump version 1.10.0
3717
3718 M configure.ac
3719
3720 commit 5501f15ee691269fdd8fff9b638dc67f59e33fd1
3721 Author: Peng Wu <alexepico@gmail.com>
3722 Date: 2018-04-10 14:21:07 +0800
3723
3724 bump version 1.9.92
3725
3726 M configure.ac
3727
3728 commit 07bb19a4c19fefbacd5054d30def6a6928591ac0
3729 Author: Peng Wu <alexepico@gmail.com>
3730 Date: 2018-04-10 14:19:54 +0800
3731
3732 update gsettings xml
3733
3734 M data/com.github.libpinyin.ibus-libpinyin.gschema.xml
3735
3736 commit eabf11f2ac92d90f19ad53d567460ff25cb1ff99
3737 Author: Peng Wu <alexepico@gmail.com>
3738 Date: 2018-04-10 14:12:34 +0800
3739
3740 change default value for candidate sort option
3741
3742 M src/PYConfig.cc
3743 M src/PYPConfig.cc
3744
3745 commit 20b3cebd3393d827a20c617e78be04f23181fec2
3746 Author: Peng Wu <alexepico@gmail.com>
3747 Date: 2018-03-16 16:09:14 +0800
3748
3749 fixes Shift key
3750
3751 M src/PYPBopomofoEngine.cc
3752 M src/PYPPinyinEngine.cc
3753
3754 commit 535dc74babeadf5e7826acd92c7aaa5c78f4647e
3755 Author: Peng Wu <alexepico@gmail.com>
3756 Date: 2018-03-15 17:55:30 +0800
3757
3758 fixes m_select_mode for Bopomofo Editor
3759
3760 M src/PYPBopomofoEditor.cc
3761
3762 commit 9619fac3d1fcc6f85e6bd0a6022989a0a4fe57ad
3763 Author: Peng Wu <alexepico@gmail.com>
3764 Date: 2018-03-15 16:14:34 +0800
3765
3766 fixes String usage
3767
3768 M src/PYEnglishEditor.cc
3769 M src/PYExtEditor.cc
3770 M src/PYStrokeEditor.cc
3771
3772 commit 8b52e709e857297b28fc76e9034f799538a42f5b
3773 Author: Peng Wu <alexepico@gmail.com>
3774 Date: 2018-03-15 16:12:16 +0800
3775
3776 fixes candidates label
3777
3778 M src/PYPBopomofoEditor.cc
3779 M src/PYPBopomofoEditor.h
3780
3781 commit c3fd3646a3b4c6509840accb050f338f71035f6a
3782 Author: Peng Wu <alexepico@gmail.com>
3783 Date: 2018-03-15 16:09:24 +0800
3784
3785 update class String
3786
3787 M src/PYEditor.cc
3788 M src/PYString.h
3789
3790 commit 279a9da2cad9e0f5ee7c20f8a132b074eae67f34
3791 Author: Peng Wu <alexepico@gmail.com>
3792 Date: 2018-03-15 15:29:30 +0800
3793
3794 fixes enter key
3795
3796 M src/PYPBopomofoEditor.cc
3797
3798 commit 942ba12b23960db691f092a76dd559f79931d675
3799 Author: Peng Wu <alexepico@gmail.com>
3800 Date: 2018-03-14 14:12:26 +0800
3801
3802 clean up class Config
3803
3804 M src/PYConfig.cc
3805 M src/PYConfig.h
3806 M src/PYPConfig.cc
3807
3808 commit aaf56dbfdf4c71af439d9987f53816d33e7a64da
3809 Author: Peng Wu <alexepico@gmail.com>
3810 Date: 2018-03-14 14:03:34 +0800
3811
3812 fixes crash
3813
3814 M src/PYPConfig.cc
3815
3816 commit c1a836c812e4627db5ba4de50cc8bddbeba1d100
3817 Author: Peng Wu <alexepico@gmail.com>
3818 Date: 2018-03-13 14:49:19 +0800
3819
3820 use GSettings in class Config
3821
3822 M src/PYConfig.cc
3823 M src/PYConfig.h
3824 M src/PYMain.cc
3825 M src/PYPConfig.cc
3826 M src/PYPConfig.h
3827
3828 commit 490ad011a162e4867a6ba044f07e7cace7207ae1
3829 Author: Peng Wu <alexepico@gmail.com>
3830 Date: 2018-03-13 13:41:32 +0800
3831
3832 use GSettings in setup dialog
3833
3834 M setup/main2.py
3835 M setup/shortcuteditor.py
3836
3837 commit 84c420e0ec0f2f4a16f0a4e99be3a68114b9ebc5
3838 Author: Peng Wu <alexepico@gmail.com>
3839 Date: 2018-03-12 14:46:42 +0800
3840
3841 update ChangeLog
3842
3843 M ChangeLog
3844
3845 commit 0455c2e3425ff5c54a11380ff51a0a55f15c3afb
3846 Author: Peng Wu <alexepico@gmail.com>
3847 Date: 2018-03-12 14:45:56 +0800
3848
3849 update autotools
3850
3851 M configure.ac
3852 M data/Makefile.am
3853
3854 commit 4696471d4386079ee0ca4aefbc4ab773549b6a1c
3855 Author: Peng Wu <alexepico@gmail.com>
3856 Date: 2018-03-12 14:37:04 +0800
3857
3858 import com.github.libpinyin.ibus-libpinyin.gschema.xml
3859
3860 A data/com.github.libpinyin.ibus-libpinyin.gschema.xml
3861
3862 commit d125871eb9b855e2f8d9e2a845d9c0a284b26618
3863 Author: Peng Wu <alexepico@gmail.com>
3864 Date: 2018-02-24 10:35:26 +0800
3865
3866 fixes comments
3867
3868 M src/PYPPinyinEngine.cc
3869
3870 commit f80b1fbf06ffe89a15ad74d7c0c4e8b4aa4ec1c2
3871 Author: Peng Wu <alexepico@gmail.com>
3872 Date: 2018-02-23 15:54:25 +0800
3873
3874 enable English and Stroke Editor for Double Pinyin
3875
3876 M src/PYEnglishEditor.cc
3877 M src/PYExtEditor.cc
3878 M src/PYExtEditor.h
3879 M src/PYPPinyinEngine.cc
3880 M src/PYStrokeEditor.cc
3881
3882 commit 28fa26af3d5680253e7a47953801add0e44118bf
3883 Author: Peng Wu <alexepico@gmail.com>
3884 Date: 2018-02-23 15:21:49 +0800
3885
3886 fixes LyX shortcut issue in class FallbackEditor
3887
3888 M src/PYFallbackEditor.cc
3889
3890 commit eb90e12e30741acff3dc5e66ce0763a1c363d4c3
3891 Author: Peng Wu <alexepico@gmail.com>
3892 Date: 2018-02-08 16:32:28 +0800
3893
3894 update ChangeLog
3895
3896 M ChangeLog
3897
3898 commit d620270e169326292e9adb40a06bc02f2cb21a84
3899 Author: Peng Wu <alexepico@gmail.com>
3900 Date: 2018-02-08 16:31:08 +0800
3901
3902 bump version 1.9.91
3903
3904 M configure.ac
3905
3906 commit dbb5a52ab59b82062dfb34ac725fcea66bf3e6e9
3907 Author: Peng Wu <alexepico@gmail.com>
3908 Date: 2018-01-16 15:54:45 +0800
3909
3910 update src/Makefile.am
3911
3912 M src/Makefile.am
3913
3914 commit 3736e74f698e7cb16879a405963cd0a53cdd1dd0
3915 Author: Peng Wu <alexepico@gmail.com>
3916 Date: 2018-01-16 15:50:12 +0800
3917
3918 remove phrases.txt
3919
3920 D src/phrases.txt
3921
3922 commit 288777275f7c092f8a9731c16e6187ec996b0586
3923 Author: Peng Wu <alexepico@gmail.com>
3924 Date: 2018-01-04 16:57:17 +0800
3925
3926 update ChangeLog
3927
3928 M ChangeLog
3929
3930 commit 53b7d0d67b0c6350e2707b67458ca4c82ac4413f
3931 Author: Peng Wu <alexepico@gmail.com>
3932 Date: 2018-01-04 16:56:37 +0800
3933
3934 bump version 1.9.3
3935
3936 M configure.ac
3937
3938 commit b282d7d5008ac2528c9a024a37e1f122094326e7
3939 Author: Peng Wu <alexepico@gmail.com>
3940 Date: 2018-01-04 16:52:43 +0800
3941
3942 update po files
3943
3944 M po/ca.po
3945 M po/fr.po
3946 M po/ru.po
3947 M po/zh_CN.po
3948 M po/zh_HK.po
3949 M po/zh_TW.po
3950
3951 commit 80bef99ca10b75a0f1d129804feef6afeeb86664
3952 Author: Peng Wu <alexepico@gmail.com>
3953 Date: 2018-01-04 16:50:20 +0800
3954
3955 update POTFILES.in
3956
3957 M po/POTFILES.in
3958
3959 commit 35e291c31da2f3b85d5f39bb96933b9a66a646a4
3960 Author: Peng Wu <alexepico@gmail.com>
3961 Date: 2018-01-04 16:47:42 +0800
3962
3963 update config.py.in
3964
3965 M setup/config.py.in
3966
3967 commit 7dcbc13e007fab6de8f501f0415815889cb28066
3968 Author: Peng Wu <alexepico@gmail.com>
3969 Date: 2018-01-03 16:42:01 +0800
3970
3971 update libpinyin.xml.in.in
3972
3973 M src/libpinyin.xml.in.in
3974
3975 commit 53b5d4de6c8732da113f56efdd1e0e9b797d8591
3976 Author: Peng Wu <alexepico@gmail.com>
3977 Date: 2017-09-01 13:28:40 +0800
3978
3979 fixes compile for Lua 5.1
3980
3981 M lua/lua-ext-console.c
3982 M lua/lua-plugin-init.c
3983 M lua/lua-plugin.c
3984 M lua/test-lua-plugin.c
3985
3986 commit 5e2c5aa0d01cd103159dba976cbf05d47e28e7bf
3987 Author: Peng Wu <alexepico@gmail.com>
3988 Date: 2017-08-29 16:46:13 +0800
3989
3990 bump version 1.9.2
3991
3992 M configure.ac
3993
3994 commit 26955ddf1336e23dbc6641462c02f3f16a6b648e
3995 Author: Peng Wu <alexepico@gmail.com>
3996 Date: 2017-08-29 10:34:12 +0800
3997
3998 update ChangeLog
3999
4000 M ChangeLog
4001
4002 commit 8882bce91bdc944bc7b6e028c239fc049c69c0cd
4003 Author: Peng Wu <alexepico@gmail.com>
4004 Date: 2017-08-28 16:14:24 +0800
4005
4006 fixes LibPinyinConfig::valueChangedCallback method
4007
4008 M src/PYPConfig.cc
4009
4010 commit ccc79dad636f04c7b4b5678da2d792e57d876c7c
4011 Author: Peng Wu <alexepico@gmail.com>
4012 Date: 2017-08-24 17:11:26 +0800
4013
4014 update ChangeLog
4015
4016 M ChangeLog
4017
4018 commit d5c8136ffc338cec61754c574069f433870e1cd1
4019 Author: Peng Wu <alexepico@gmail.com>
4020 Date: 2017-08-24 14:04:38 +0800
4021
4022 update zh_CN.po
4023
4024 M po/zh_CN.po
4025
4026 commit 1e5e0e280bd8f9bb8b7507c3fe2dc7819e659b3e
4027 Author: Peng Wu <alexepico@gmail.com>
4028 Date: 2017-08-24 14:02:03 +0800
4029
4030 update po
4031
4032 M po/ca.po
4033 M po/fr.po
4034 M po/ru.po
4035 M po/zh_CN.po
4036 M po/zh_HK.po
4037 M po/zh_TW.po
4038
4039 commit 992a2f929a6ef609424db178e4b4d1c1b52dd2b4
4040 Author: Anyist <realmirai@protonmail.com>
4041 Date: 2017-08-19 22:42:37 +0800
4042
4043 Fix two symbols in TC mode
4044
4045 M src/PYFallbackEditor.cc
4046
4047 commit c34c490ebc1230149d435bfcc6dd3225884006c5
4048 Author: Peng Wu <alexepico@gmail.com>
4049 Date: 2017-08-22 16:32:25 +0800
4050
4051 support sort_candidate_option for setup dialog
4052
4053 M setup/main2.py
4054 M src/PYPConfig.cc
4055
4056 commit 240ccefef75dd320d04fd085e4f02566c102ff26
4057 Author: Peng Wu <alexepico@gmail.com>
4058 Date: 2017-08-22 15:58:27 +0800
4059
4060 update ibus-libpinyin-preferences.ui
4061
4062 M setup/ibus-libpinyin-preferences.ui
4063
4064 commit bd16f6dc33c52a5c11170feb034f6a1e76c863d1
4065 Author: Peng Wu <alexepico@gmail.com>
4066 Date: 2017-08-22 15:40:47 +0800
4067
4068 bump version 1.9.1
4069
4070 M configure.ac
4071
4072 commit 6effa275c837ea1347c1df93855bf7f296579fdb
4073 Author: Peng Wu <alexepico@gmail.com>
4074 Date: 2017-08-18 14:21:07 +0800
4075
4076 use sort option for pinyin_guess_candidates function
4077
4078 M src/PYConfig.cc
4079 M src/PYConfig.h
4080 M src/PYPConfig.cc
4081 M src/PYPFullPinyinEditor.cc
4082 M src/PYPFullPinyinEditor.h
4083 M src/PYPPhoneticEditor.cc
4084
4085 commit 724747e301a1f99939a5f0c9db18ac851242e44a
4086 Author: Peng Wu <alexepico@gmail.com>
4087 Date: 2017-04-20 15:52:53 +0800
4088
4089 bump version 1.9.0
4090
4091 M ChangeLog
4092 M configure.ac
4093
4094 commit f48da29797b7ed75ab7708e6fe39dbe11132d09b
4095 Author: Peng Wu <alexepico@gmail.com>
4096 Date: 2017-03-07 14:39:04 +0800
4097
4098 bump version 1.8.92
4099
4100 M configure.ac
4101
4102 commit e8f2a020e3ec33a6608d72463c3e70ccc7652461
4103 Author: Peng Wu <alexepico@gmail.com>
4104 Date: 2017-03-07 14:37:32 +0800
4105
4106 update ChangeLog
4107
4108 M ChangeLog
4109
4110 commit 6e87817cf1987df4cff71aa33b27811beb93c630
4111 Author: Peng Wu <alexepico@gmail.com>
4112 Date: 2017-02-27 13:35:46 +0800
4113
4114 update setup dialog
4115
4116 M setup/main2.py
4117 M setup/shortcuteditor.py
4118
4119 commit 042d8199dce1ed5623c7ed6d58cd6e5683e6fcd8
4120 Author: Peng Wu <alexepico@gmail.com>
4121 Date: 2017-02-27 13:27:20 +0800
4122
4123 update dconf key name again
4124
4125 M src/PYPConfig.cc
4126
4127 commit 3e3259164b8fab57e0ef604cc23c33a1e7841ce6
4128 Author: Peng Wu <alexepico@gmail.com>
4129 Date: 2017-02-15 15:49:18 +0800
4130
4131 update ChangeLog
4132
4133 M ChangeLog
4134
4135 commit 013938531cde6ad2f9b36462eca1ba4fe2e1f486
4136 Author: Peng Wu <alexepico@gmail.com>
4137 Date: 2017-02-10 15:34:26 +0800
4138
4139 bump version 1.8.91
4140
4141 M configure.ac
4142
4143 commit b6fa9a62daaec6374d352ed5e4066e7b105a92c9
4144 Author: Peng Wu <alexepico@gmail.com>
4145 Date: 2017-02-10 15:27:55 +0800
4146
4147 use libpinyin 1.9.91
4148
4149 M src/PYLibPinyin.cc
4150 M src/PYLibPinyin.h
4151 M src/PYPBopomofoEditor.cc
4152 M src/PYPBopomofoEditor.h
4153 M src/PYPPhoneticEditor.cc
4154 M src/PYPPhoneticEditor.h
4155 M src/PYPPinyinEditor.cc
4156 M src/PYPPinyinEditor.h
4157
4158 commit 9b70b77d73333486fce7d598749d2431d5cbdb12
4159 Author: Peng Wu <alexepico@gmail.com>
4160 Date: 2017-01-11 10:39:24 +0800
4161
4162 fixes a typo
4163
4164 M setup/main2.py
4165
4166 commit 0871fa0eb228af0abee03421f91256a779de4316
4167 Author: Peng Wu <alexepico@gmail.com>
4168 Date: 2017-01-11 10:33:23 +0800
4169
4170 fixes main2.py
4171
4172 M setup/main2.py
4173
4174 commit 3d713493579c1c916684a3e0af6deff75cf22c7d
4175 Author: Peng Wu <alexepico@gmail.com>
4176 Date: 2017-01-11 10:08:21 +0800
4177
4178 re-factor translate_to_longform function
4179
4180 M src/PYExtEditor.cc
4181
4182 commit 21078d55d0601632ac57ec1a646a93241ba4fefa
4183 Author: Peng Wu <alexepico@gmail.com>
4184 Date: 2016-12-28 13:52:44 +0800
4185
4186 bump version 1.8.2
4187
4188 M configure.ac
4189
4190 commit dcebc24f2b67ffd8525fd4312ef45f1750055f9d
4191 Author: Peng Wu <alexepico@gmail.com>
4192 Date: 2016-12-28 13:51:24 +0800
4193
4194 fixes a typo
4195
4196 M setup/main2.py
4197
4198 commit 27aa99000d3a49ff690694dbb4c3f5cc2eff0767
4199 Author: Peng Wu <alexepico@gmail.com>
4200 Date: 2016-12-23 13:23:25 +0800
4201
4202 fixes localedir option for configure
4203
4204 M setup/main2.py
4205 M src/Makefile.am
4206 M src/PYMain.cc
4207
4208 commit 58353eb49f56ce43d7cdbb73c01aafa37a44b715
4209 Author: Peng Wu <alexepico@gmail.com>
4210 Date: 2016-12-22 15:38:45 +0800
4211
4212 use icon_prop_key property
4213
4214 M configure.ac
4215 M src/libpinyin.xml.in.in
4216
4217 commit 304f93870f0d2fc7b0880c9465e2585bf200dd4e
4218 Author: Peng Wu <alexepico@gmail.com>
4219 Date: 2016-12-22 14:38:23 +0800
4220
4221 fixes a typo
4222
4223 M src/PYPConfig.cc
4224
4225 commit 02917a75f72a98813374fe6dac995ffef27f53b6
4226 Author: Peng Wu <alexepico@gmail.com>
4227 Date: 2016-12-22 14:03:50 +0800
4228
4229 update setup scripts
4230
4231 M setup/main2.py
4232 M setup/shortcuteditor.py
4233
4234 commit 5532c292f7cbd59d1cb62fb61e500bfedea9e718
4235 Author: Peng Wu <alexepico@gmail.com>
4236 Date: 2016-12-22 12:56:15 +0800
4237
4238 update dconf key name
4239
4240 M src/PYPConfig.cc
4241
4242 commit a11191192d5a6c38259a1e1b59afb69d2ce210c6
4243 Author: Peng Wu <alexepico@gmail.com>
4244 Date: 2016-11-30 12:24:39 +0800
4245
4246 update desktop files
4247
4248 M data/ibus-setup-libbopomofo.desktop.in.in
4249 M data/ibus-setup-libpinyin.desktop.in.in
4250
4251 commit 7d7c396be1f496d1cf5cef84f919975244c5d367
4252 Author: Peng Wu <alexepico@gmail.com>
4253 Date: 2016-11-30 10:11:58 +0800
4254
4255 bump version 1.8.1
4256
4257 M configure.ac
4258
4259 commit 56dd1d83570ff8c73e61c5a0cbc6b59881d19f3b
4260 Author: Peng Wu <alexepico@gmail.com>
4261 Date: 2016-11-30 10:10:02 +0800
4262
4263 update ChangeLog
4264
4265 M ChangeLog
4266
4267 commit 56137e73d7152585475fcfb3bb70593e81e20a64
4268 Author: Peng Wu <alexepico@gmail.com>
4269 Date: 2016-11-29 10:40:17 +0800
4270
4271 fixes setup dialog
4272
4273 M setup/Makefile.am
4274 M src/PYPBopomofoEngine.cc
4275 M src/PYPPinyinEngine.cc
4276 M src/libpinyin.xml.in.in
4277
4278 commit 25bfb3fb9c99babfdff30c0912f474c059b1461a
4279 Author: Peng Wu <alexepico@gmail.com>
4280 Date: 2016-11-14 14:53:04 +0800
4281
4282 update main2.py
4283
4284 M setup/main2.py
4285 M setup/shortcuteditor.py
4286
4287 commit 42a137c7444db2fa221e118d9e7206a32d0be121
4288 Author: Peng Wu <alexepico@gmail.com>
4289 Date: 2016-11-14 14:22:58 +0800
4290
4291 update PYPConfig.cc
4292
4293 M src/PYPConfig.cc
4294
4295 commit 0303fd3ab567c08b2e98886e11fda5387b5ba1e3
4296 Author: Peng Wu <alexepico@gmail.com>
4297 Date: 2016-11-14 14:11:24 +0800
4298
4299 use libpinyin config namespace
4300
4301 M setup/main2.py
4302 M src/PYPConfig.cc
4303
4304 commit 77c560f2a8b8889c01e1f1627b2262c1e7d91912
4305 Author: Peng Wu <alexepico@gmail.com>
4306 Date: 2016-09-07 12:53:23 +0800
4307
4308 use libpinyin 1.6.0
4309
4310 M configure.ac
4311
4312 commit 6518ce23ca097f1353d862c94a5cf1459955ad5e
4313 Author: Peng Wu <alexepico@gmail.com>
4314 Date: 2016-09-06 15:15:19 +0800
4315
4316 bump version 1.8.0
4317
4318 M configure.ac
4319
4320 commit 87ba6518a32e16d5080a986708b26417573ace1b
4321 Author: Peng Wu <alexepico@gmail.com>
4322 Date: 2016-09-05 14:46:38 +0800
4323
4324 update ChangeLog
4325
4326 M ChangeLog
4327
4328 commit 3918b17d54f807b4643737f08c202751c8358131
4329 Author: Peng Wu <alexepico@gmail.com>
4330 Date: 2016-08-31 15:08:06 +0800
4331
4332 fixes main2.py
4333
4334 M setup/main2.py
4335
4336 commit ccc1176a25c3ffb94079ae38c40f475d2b1f839c
4337 Author: Peng Wu <alexepico@gmail.com>
4338 Date: 2016-08-08 16:13:30 +0800
4339
4340 fixes updatePreeditText methods
4341
4342 M src/PYPBopomofoEditor.cc
4343 M src/PYPPinyinEditor.cc
4344
4345 commit efaff649a8621801e77613035fca50c371ba334e
4346 Author: Peng Wu <alexepico@gmail.com>
4347 Date: 2016-08-08 13:08:56 +0800
4348
4349 fixes getLookupCursor method
4350
4351 M src/PYPFullPinyinEditor.cc
4352 M src/PYPFullPinyinEditor.h
4353 M src/PYPPhoneticEditor.cc
4354
4355 commit a8f282b9e3843022cc80f8aa36d6f51e0a4f8860
4356 Author: Peng Wu <alexepico@gmail.com>
4357 Date: 2016-08-02 13:42:29 +0800
4358
4359 bump version 1.7.92
4360
4361 M configure.ac
4362
4363 commit 98162ec3b4c2ada13a6482bc07b035b06b2494f5
4364 Author: Peng Wu <alexepico@gmail.com>
4365 Date: 2016-08-02 13:19:43 +0800
4366
4367 use libpinyin 1.5.92
4368
4369 M configure.ac
4370
4371 commit 836be38da7c108288a922d85f1d212b5ef518a6d
4372 Author: Peng Wu <alexepico@gmail.com>
4373 Date: 2016-07-25 14:12:01 +0800
4374
4375 work around getLookupCursor
4376
4377 M src/PYPPhoneticEditor.cc
4378
4379 commit b2819139121d302ea1c86eac1c5dbc22f1f70b22
4380 Author: Peng Wu <alexepico@gmail.com>
4381 Date: 2016-07-21 16:16:01 +0800
4382
4383 use g_assert instead of assert
4384
4385 M src/PYLibPinyin.cc
4386 M src/PYPBopomofoEditor.cc
4387 M src/PYPPinyinEditor.cc
4388
4389 commit 4b4d5d200bf6ab4287ad1ab1c98a986abc11b19c
4390 Author: Peng Wu <alexepico@gmail.com>
4391 Date: 2016-07-21 15:39:53 +0800
4392
4393 fixes compile
4394
4395 M src/PYLibPinyin.cc
4396 M src/PYPPinyinEditor.cc
4397
4398 commit 7f05038b522db86e966be4bd0c34c4c5c4dd266f
4399 Author: Peng Wu <alexepico@gmail.com>
4400 Date: 2016-07-21 13:16:05 +0800
4401
4402 add assert checks
4403
4404 M src/PYLibPinyin.cc
4405 M src/PYPBopomofoEditor.cc
4406 M src/PYPPinyinEditor.cc
4407
4408 commit 5b5e43db425969d28082e904947b5eb5b5039c31
4409 Author: Peng Wu <alexepico@gmail.com>
4410 Date: 2016-07-20 12:25:39 +0800
4411
4412 update pinyin_get_character_offset call
4413
4414 M src/PYPBopomofoEditor.cc
4415 M src/PYPPinyinEditor.cc
4416
4417 commit 049b282689790b23efd95d9ae7ecbe5b30aba4e0
4418 Author: Peng Wu <alexepico@gmail.com>
4419 Date: 2016-07-18 15:15:28 +0800
4420
4421 use ibus 1.5.11
4422
4423 M configure.ac
4424
4425 commit ac63a9737c418d562f971c07d697ae0fb3e9b7a2
4426 Author: Peng Wu <alexepico@gmail.com>
4427 Date: 2016-07-18 14:44:59 +0800
4428
4429 drop gdk-3.0 depends
4430
4431 M configure.ac
4432 M src/Makefile.am
4433 M src/PYEngine.cc
4434
4435 commit deb96075e0fe9021f8fab16de612f3c4a8dc2d5e
4436 Author: Peng Wu <alexepico@gmail.com>
4437 Date: 2016-07-12 13:32:40 +0800
4438
4439 support extension editor in double pinyin
4440
4441 M src/PYExtEditor.cc
4442 M src/PYPPinyinEngine.cc
4443
4444 commit 4f5d41b82b9fe2b76b642f89c32f3992fcd82319
4445 Author: Peng Wu <alexepico@gmail.com>
4446 Date: 2016-07-11 16:31:45 +0800
4447
4448 fixes some typos
4449
4450 M src/PYPPhoneticEditor.cc
4451
4452 commit d91305ed078ae547912e1d130409921594fab704
4453 Author: Peng Wu <alexepico@gmail.com>
4454 Date: 2016-07-11 10:35:35 +0800
4455
4456 fixes a typo
4457
4458 M src/PYPPhoneticEditor.cc
4459
4460 commit 31eb478d9a2745f5c3aec459ea4aa64dbb381c67
4461 Author: Peng Wu <alexepico@gmail.com>
4462 Date: 2016-07-08 12:47:21 +0800
4463
4464 use pinyin_remove_user_candidate function
4465
4466 M src/PYPPhoneticEditor.cc
4467
4468 commit a913febc474c878dbb04c04205022beddfd8e8f3
4469 Author: Peng Wu <alexepico@gmail.com>
4470 Date: 2016-07-06 14:39:24 +0800
4471
4472 fixes auxiliary text
4473
4474 M src/PYPBopomofoEditor.cc
4475 M src/PYPDoublePinyinEditor.cc
4476 M src/PYPFullPinyinEditor.cc
4477
4478 commit 573d7c64eacf4f8d98a2937cdda52a528c888a48
4479 Author: Peng Wu <alexepico@gmail.com>
4480 Date: 2016-07-04 14:45:46 +0800
4481
4482 bump version 1.7.91
4483
4484 M configure.ac
4485
4486 commit 1b5818e46068c9f3b7858b9c6dd7cb390691ef4a
4487 Author: Peng Wu <alexepico@gmail.com>
4488 Date: 2016-07-04 14:43:31 +0800
4489
4490 fixes lua
4491
4492 M lua/lua-plugin-init.c
4493 M lua/lua-plugin.c
4494
4495 commit ed7159efd0c86b2ed22c0ddceecda90b49d764a8
4496 Author: Peng Wu <alexepico@gmail.com>
4497 Date: 2016-07-04 14:35:42 +0800
4498
4499 port code to use libpinyin 1.5.91
4500
4501 M src/PYLibPinyin.cc
4502 M src/PYPPhoneticEditor.cc
4503
4504 commit fbbb593328a437bb5f7e35f43c3a5838852566ae
4505 Author: Peng Wu <alexepico@gmail.com>
4506 Date: 2016-06-29 10:32:58 +0800
4507
4508 use pinyin_get_*_auxiliary_text functions
4509
4510 M src/PYPBopomofoEditor.cc
4511 M src/PYPDoublePinyinEditor.cc
4512 M src/PYPFullPinyinEditor.cc
4513
4514 commit e361ed422efb606e7da2f72a068c7730107d7163
4515 Author: Peng Wu <alexepico@gmail.com>
4516 Date: 2016-06-29 10:18:33 +0800
4517
4518 use pinyin_get_character_offset function
4519
4520 M src/PYPBopomofoEditor.cc
4521 M src/PYPPinyinEditor.cc
4522 M src/PYPPinyinEditor.h
4523
4524 commit 45b381ae37d5223b0b6ca24acd852a90291bb34e
4525 Author: Peng Wu <alexepico@gmail.com>
4526 Date: 2016-06-28 16:43:43 +0800
4527
4528 use libpinyin 1.5.91
4529
4530 M configure.ac
4531
4532 commit b8f479255bb36a85aada85537ee7e37a9f2e233b
4533 Author: Peng Wu <alexepico@gmail.com>
4534 Date: 2016-06-23 14:20:30 +0800
4535
4536 update class PhoneticEditor
4537
4538 M src/PYPPhoneticEditor.cc
4539
4540 commit 5e1ee95409c71542b8bb6dff4f88b27d9bc279cf
4541 Author: Peng Wu <alexepico@gmail.com>
4542 Date: 2016-06-22 14:55:42 +0800
4543
4544 begin to use libpinyin 1.5.91
4545
4546 M src/PYPFullPinyinEditor.cc
4547 M src/PYPPhoneticEditor.cc
4548
4549 commit 5c016872462c1843849650d9f2147c9ca9e00bee
4550 Author: Peng Wu <alexepico@gmail.com>
4551 Date: 2016-05-09 14:23:17 +0800
4552
4553 Fixes FallbackEditor
4554
4555 M src/PYFallbackEditor.cc
4556
4557 commit 429cc899b778a472f52f8b59ee1f439729246b65
4558 Author: Peng Wu <alexepico@gmail.com>
4559 Date: 2016-04-12 10:42:44 +0800
4560
4561 fixes leak
4562
4563 M src/PYLibPinyin.cc
4564
4565 commit 5c0158fed5d62a1c995c36486328c577d1b1d194
4566 Author: Peng Wu <alexepico@gmail.com>
4567 Date: 2016-01-26 13:47:27 +0800
4568
4569 fixes selectCandidate method
4570
4571 M src/PYPPhoneticEditor.cc
4572
4573 commit cda8daf5018023c11e3668e47b3c72a3da5d3999
4574 Author: Peng Wu <alexepico@gmail.com>
4575 Date: 2015-12-17 14:51:46 +0800
4576
4577 bump version 1.7.4
4578
4579 M configure.ac
4580
4581 commit 7a712b44bfe2e25741311ef82cd9fb4b53c35757
4582 Author: Peng Wu <alexepico@gmail.com>
4583 Date: 2015-12-15 13:50:08 +0800
4584
4585 update configure.ac
4586
4587 M configure.ac
4588
4589 commit 28bbe2b3b8079736c16b58e8b44c72282b004eb3
4590 Author: Peng Wu <alexepico@gmail.com>
4591 Date: 2015-12-14 16:59:49 +0800
4592
4593 fixes m_bopomofo_keyboard_mapping option again
4594
4595 M src/PYPConfig.cc
4596
4597 commit 0faf54eb96f18008cfb5d086da98f096c235408b
4598 Author: Peng Wu <alexepico@gmail.com>
4599 Date: 2015-12-14 16:58:11 +0800
4600
4601 Revert "fixes m_bopomofo_keyboard_mapping option"
4602
4603 This reverts commit 9f197c3f4c675129e308de24e9be9e6f48756ba8.
4604
4605 M src/PYPConfig.cc
4606
4607 commit 9f197c3f4c675129e308de24e9be9e6f48756ba8
4608 Author: Peng Wu <alexepico@gmail.com>
4609 Date: 2015-12-14 15:43:03 +0800
4610
4611 fixes m_bopomofo_keyboard_mapping option
4612
4613 M src/PYPConfig.cc
4614
4615 commit 5fd31ab36c26496e397a745ea2287e92570a84fb
4616 Author: Peng Wu <alexepico@gmail.com>
4617 Date: 2015-11-05 16:09:03 +0800
4618
4619 fixes warning
4620
4621 M src/PYExtEditor.cc
4622
4623 commit 4bb5fc19c0829053acd29619de59a85a73e03676
4624 Author: Peng Wu <alexepico@gmail.com>
4625 Date: 2015-10-17 11:37:17 +0800
4626
4627 use pinyin_in_chewing_keyboard method
4628
4629 M src/PYPBopomofoEditor.cc
4630
4631 commit 1a19b3abb86129797d20ba3116428deaaa87df4c
4632 Author: Peng Wu <alexepico@gmail.com>
4633 Date: 2015-10-17 11:12:48 +0800
4634
4635 bump version 1.7.3
4636
4637 M configure.ac
4638
4639 commit 328631e0957a48cd98bf3809ba0a221d1172904f
4640 Author: Peng Wu <alexepico@gmail.com>
4641 Date: 2015-10-17 11:11:46 +0800
4642
4643 use libpinyin 1.2.91
4644
4645 M src/PYConfig.h
4646 M src/PYLibPinyin.cc
4647 M src/PYPBopomofoEditor.cc
4648 M src/PYPConfig.cc
4649
4650 commit 0c854b51dadbb18fb5e74eb3d7c744807a5ec312
4651 Merge: 7e1ffb4 b22ad2c
4652 Author: Peng Wu <alexepico@gmail.com>
4653 Date: 2015-10-09 13:33:25 +0800
4654
4655 Merge branch 'rbuj-catalan'
4656
4657 commit b22ad2c9abd4e5ef9c3d36af6ecc4d94c6b7f27c
4658 Author: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>
4659 Date: 2015-10-01 21:21:28 +0200
4660
4661 add Catalan
4662
4663 M po/LINGUAS
4664 A po/ca.po
4665
4666 commit 7e1ffb4672eed63f1cba4759cd37d7435523afb6
4667 Merge: 5e4e6a7 b322cce
4668 Author: Peng Wu <alexepico@gmail.com>
4669 Date: 2015-07-20 13:29:53 +0800
4670
4671 Merge branch 'obache-neatsrc'
4672
4673 commit b322cce4d1e3dd97a1648c1a20de570b88bb61a2
4674 Author: OBATA Akio <obache@users.noreply.github.com>
4675 Date: 2015-07-19 17:23:31 +0900
4676
4677 Fix for Lua 5.2 API change (luaL_register is deprecated)
4678
4679 M lua/lmyoslib.c
4680 M lua/lua-plugin-init.c
4681
4682 commit 5e4e6a748e981a6f58beaa526821bae87deb02fa
4683 Author: Peng Wu <alexepico@gmail.com>
4684 Date: 2015-07-06 16:38:16 +0800
4685
4686 update zh_CN.po
4687
4688 M po/zh_CN.po
4689
4690 commit a9ea56c0eb63f2c9ece62fe3b3708cf82c98b48a
4691 Author: Peng Wu <alexepico@gmail.com>
4692 Date: 2015-07-06 16:33:31 +0800
4693
4694 update po files
4695
4696 M po/fr.po
4697 M po/ru.po
4698 M po/zh_CN.po
4699 M po/zh_HK.po
4700 M po/zh_TW.po
4701
4702 commit 85d4ed3468461d561d03284cc845c528c1167a3a
4703 Author: Peng Wu <alexepico@gmail.com>
4704 Date: 2015-06-18 15:22:21 +0800
4705
4706 update clearPinyinUserData method
4707
4708 M src/PYLibPinyin.cc
4709
4710 commit 69612371321a99da008f76d36900c00b057c0242
4711 Author: Peng Wu <alexepico@gmail.com>
4712 Date: 2015-06-17 09:28:38 +0800
4713
4714 update m_dictionaries
4715
4716 M src/PYConfig.cc
4717 M src/PYPConfig.cc
4718
4719 commit df6f428187ff0e69660a70e9fe9e70f04f003144
4720 Author: Peng Wu <alexepico@gmail.com>
4721 Date: 2015-06-17 09:26:39 +0800
4722
4723 use pinyin_load_addon_phrase_library function
4724
4725 M src/PYLibPinyin.cc
4726
4727 commit e21aa4a6f06ac4c48788319ba130661277c2c2c0
4728 Author: Peng Wu <alexepico@gmail.com>
4729 Date: 2015-06-17 09:24:49 +0800
4730
4731 update setup dialog
4732
4733 M setup/dicttreeview.py
4734
4735 commit 7fffe99bae099e88f0cc449890df67ce4b00c8b6
4736 Author: Peng Wu <alexepico@gmail.com>
4737 Date: 2015-06-17 09:24:21 +0800
4738
4739 bump version 1.7.2
4740
4741 M configure.ac
4742
4743 commit 70046d49a86b96623219e25939b79f0d7b567b53
4744 Author: Peng Wu <alexepico@gmail.com>
4745 Date: 2015-04-03 11:31:01 +0800
4746
4747 fixes a typo
4748
4749 M data/Makefile.am
4750
4751 commit 6f7105a552ebb05e84edd90478bbe63db8e4a5d9
4752 Author: Peng Wu <alexepico@gmail.com>
4753 Date: 2015-03-30 15:04:56 +0800
4754
4755 update data/Makefile.am
4756
4757 M data/Makefile.am
4758
4759 commit 29f7dcf44fe7bc6b559c153aca372d2aded7d82a
4760 Author: Peng Wu <alexepico@gmail.com>
4761 Date: 2015-03-30 14:56:58 +0800
4762
4763 add libpinyin.appdata.xml
4764
4765 A data/libpinyin.appdata.xml
4766
4767 commit 00d38b58116984d12602cfdccfcde55c2d440b25
4768 Author: Peng Wu <alexepico@gmail.com>
4769 Date: 2015-03-25 11:37:26 +0800
4770
4771 bump version 1.7.1
4772
4773 M configure.ac
4774
4775 commit cc5b6765c3ce22fc7876a48c2ffc292cae6aceb0
4776 Author: Peng Wu <alexepico@gmail.com>
4777 Date: 2015-03-09 13:21:40 +0800
4778
4779 fixes default values
4780
4781 M src/PYConfig.cc
4782 M src/PYPConfig.cc
4783
4784 commit e64b6ec09ec934e506d566174ac6524c61336228
4785 Author: Peng Wu <alexepico@gmail.com>
4786 Date: 2015-03-06 15:34:43 +0800
4787
4788 fixes shortcut keys in setup dialog
4789
4790 M setup/main2.py
4791 M setup/shortcuteditor.py
4792
4793 commit 8000186a322806b37d1a5557d023f745a21c55b7
4794 Author: Peng Wu <alexepico@gmail.com>
4795 Date: 2015-03-04 11:14:24 +0800
4796
4797 Update ChangeLog
4798
4799 M ChangeLog
4800
4801 commit fc6682d1ea8accc2b190d634d15780657b26f01c
4802 Author: Peng Wu <alexepico@gmail.com>
4803 Date: 2015-03-04 11:13:55 +0800
4804
4805 bump version 1.7.0
4806
4807 M configure.ac
4808
4809 commit 7735432908764b8ff0e5444279692ea8c2aaec55
4810 Author: Peng Wu <alexepico@gmail.com>
4811 Date: 2015-02-28 13:38:05 +0800
4812
4813 select the first item in shortcut editor
4814
4815 M setup/shortcuteditor.py
4816
4817 commit 29157570ceaade11ed51fbc45a48e952ef1eae6e
4818 Merge: a7c391b b4b9180
4819 Author: Peng Wu <alexepico@gmail.com>
4820 Date: 2015-02-27 12:00:51 +0800
4821
4822 Merge branch 'encukou-py3'
4823
4824 commit b4b9180050dea96c2f522f11d7a20d05fde1e698
4825 Merge: a7c391b 5b2ca65
4826 Author: Peng Wu <alexepico@gmail.com>
4827 Date: 2015-02-27 10:57:26 +0800
4828
4829 Merge branch 'py3' of git://github.com/encukou/ibus-libpinyin into encukou-py3
4830
4831 commit a7c391bbd323d4fa6c7b87bca0c59fa2885aa143
4832 Author: Peng Wu <alexepico@gmail.com>
4833 Date: 2015-02-06 16:09:31 +0800
4834
4835 fixes configure.ac
4836
4837 M configure.ac
4838
4839 commit c9ab489393ad2729786d4679bb3213613d240ba3
4840 Author: Peng Wu <alexepico@gmail.com>
4841 Date: 2015-02-03 14:40:56 +0800
4842
4843 use version 1.6.99
4844
4845 M configure.ac
4846
4847 commit 5b2ca650b21d60a481e861ce998d2a0bbd2fb64d
4848 Author: Petr Viktorin <pviktori@redhat.com>
4849 Date: 2015-02-02 10:39:36 +0100
4850
4851 Enable running setup scripts with Python 3
4852
4853 The default uses 'python'.
4854 To use 'python3', ./configure --with-python=python3
4855
4856 M configure.ac
4857 M setup/dicttreeview.py
4858 M setup/ibus-setup-libpinyin.in
4859 M setup/main2.py
4860
4861 commit 7aa61731fd317d6dfd1ccb21f599a49c04d53469
4862 Author: Peng Wu <alexepico@gmail.com>
4863 Date: 2015-02-02 15:30:48 +0800
4864
4865 update zh_CN.po
4866
4867 M po/zh_CN.po
4868
4869 commit f54906d7b7da9a9ff5428ae36de38ded290caa6a
4870 Author: Peng Wu <alexepico@gmail.com>
4871 Date: 2015-02-02 14:38:32 +0800
4872
4873 update po
4874
4875 M po/fr.po
4876 M po/ru.po
4877 M po/zh_CN.po
4878 M po/zh_HK.po
4879 M po/zh_TW.po
4880
4881 commit b5544805d45955392d6eedda6eef7831f84085f3
4882 Author: Peng Wu <alexepico@gmail.com>
4883 Date: 2015-01-30 08:58:16 +0800
4884
4885 fixes setup dialog
4886
4887 M setup/main2.py
4888
4889 commit 89c7ba0666772f5d92fecb2b433d500c2a0c51d0
4890 Author: Peng Wu <alexepico@gmail.com>
4891 Date: 2015-01-27 15:59:36 +0800
4892
4893 update main2.py
4894
4895 M setup/main2.py
4896
4897 commit b3a40e01b7f60a26e61a0c728b489c0023a68ebe
4898 Author: Peng Wu <alexepico@gmail.com>
4899 Date: 2015-01-27 15:34:10 +0800
4900
4901 update setup dialog UI
4902
4903 M setup/ibus-libpinyin-preferences.ui
4904
4905 commit 37ec389207a5a9764df6f668ae7a0ff265cd116a
4906 Author: Peng Wu <alexepico@gmail.com>
4907 Date: 2015-01-27 15:09:04 +0800
4908
4909 update class LibPinyinConfig to support export user phrases
4910
4911 M src/PYPConfig.cc
4912
4913 commit 2445fbdb8f5f8300d3670249fbf6095a72c343b5
4914 Author: Peng Wu <alexepico@gmail.com>
4915 Date: 2015-01-23 13:01:06 +0800
4916
4917 write exportPinyinDictionary method
4918
4919 M src/PYLibPinyin.cc
4920 M src/PYLibPinyin.h
4921
4922 commit 1bc034eaa38e56c9b9fc0151b9d56cfe3912af29
4923 Author: Peng Wu <alexepico@gmail.com>
4924 Date: 2015-01-16 13:32:40 +0800
4925
4926 work around setup dialog for fedora 21
4927
4928 M setup/main2.py
4929
4930 commit c3a39b80316afe1e870773d5550af66acb601ebf
4931 Author: Peng Wu <alexepico@gmail.com>
4932 Date: 2014-12-30 13:37:28 +0800
4933
4934 fixes a typo
4935
4936 M src/PYSimpTradConverter.cc
4937
4938 commit b04d6793de65fa815737b5eb9a1db92a74bcf81f
4939 Author: Peng Wu <alexepico@gmail.com>
4940 Date: 2014-12-25 13:10:57 +0800
4941
4942 use opencc 1.0
4943
4944 M configure.ac
4945 M src/PYSimpTradConverter.cc
4946
4947 commit 159039266a6b9530b9aad1362a8471aa80ea67fb
4948 Author: Peng Wu <alexepico@gmail.com>
4949 Date: 2014-12-24 13:13:45 +0800
4950
4951 fixes a small issue in rememberUserInput
4952
4953 M src/PYLibPinyin.cc
4954
4955 commit 448c4cd67e317a62d953574d19175fc8ee811450
4956 Author: Peng Wu <alexepico@gmail.com>
4957 Date: 2014-12-19 11:03:15 +0800
4958
4959 fixes autoCommit option
4960
4961 M src/PYPPinyinEditor.cc
4962
4963 commit a82e92a592a6b776fca5442fe4f70e18276e1c4a
4964 Author: Peng Wu <alexepico@gmail.com>
4965 Date: 2014-12-18 15:34:10 +0800
4966
4967 update main2.py
4968
4969 M setup/main2.py
4970
4971 commit f97f6ef00b628a91b951ef8c20ec892555e8b781
4972 Author: Peng Wu <alexepico@gmail.com>
4973 Date: 2014-12-18 15:24:49 +0800
4974
4975 update setup ui
4976
4977 M setup/ibus-libpinyin-preferences.ui
4978
4979 commit 52e0838d30e6ae539b3eb00ae01f6b25925db697
4980 Author: Peng Wu <alexepico@gmail.com>
4981 Date: 2014-12-18 15:17:36 +0800
4982
4983 fixes setup/Makefile.am
4984
4985 M po/POTFILES.in
4986 M setup/Makefile.am
4987
4988 commit 84d1ce1d9ed8dd92c0434234a2964098133a7f88
4989 Author: Peng Wu <alexepico@gmail.com>
4990 Date: 2014-12-18 13:39:44 +0800
4991
4992 fixes processAccelKeyEvent method
4993
4994 M src/PYPBopomofoEngine.cc
4995 M src/PYPPinyinEngine.cc
4996
4997 commit de6b1f956fec426ba45f3ec371e5ce802070fd67
4998 Author: Peng Wu <alexepico@gmail.com>
4999 Date: 2014-12-18 11:29:36 +0800
5000
5001 write rememberUserInput method
5002
5003 M src/PYLibPinyin.cc
5004 M src/PYLibPinyin.h
5005 M src/PYPBopomofoEditor.cc
5006 M src/PYPPinyinEditor.cc
5007
5008 commit b33cb8b01df86ed635b372f9c171996b0432fa2e
5009 Author: Peng Wu <alexepico@gmail.com>
5010 Date: 2014-12-16 13:43:22 +0800
5011
5012 refine code style
5013
5014 M src/PYConfig.h
5015 M src/PYPConfig.cc
5016
5017 commit cb73f581e5e8d33a681caf89dfb4bf76a77db370
5018 Author: Peng Wu <alexepico@gmail.com>
5019 Date: 2014-12-16 13:32:32 +0800
5020
5021 add remember every input option to class Config
5022
5023 M src/PYConfig.cc
5024 M src/PYConfig.h
5025 M src/PYPConfig.cc
5026
5027 commit 5d2c9654c565d1eb59e9e752d54cee65c7c4f4f0
5028 Author: Peng Wu <alexepico@gmail.com>
5029 Date: 2014-12-09 15:48:45 +0800
5030
5031 update main2.py
5032
5033 M setup/main2.py
5034
5035 commit fe59091e056383505cc4a509ffba57c968f9d4df
5036 Author: Peng Wu <alexepico@gmail.com>
5037 Date: 2014-12-09 13:54:22 +0800
5038
5039 update setup dialog
5040
5041 M setup/ibus-libpinyin-preferences.ui
5042
5043 commit 3d24724aaacd1068339a0331b48dcf7d8473d3da
5044 Author: Peng Wu <alexepico@gmail.com>
5045 Date: 2014-12-09 13:11:43 +0800
5046
5047 remove the ctrl switch option
5048
5049 M src/PYConfig.cc
5050 M src/PYConfig.h
5051 M src/PYPConfig.cc
5052
5053 commit 7e0498f497d1bbafa52933b1ad3d0ce0c54eaab4
5054 Author: Peng Wu <alexepico@gmail.com>
5055 Date: 2014-12-08 15:41:43 +0800
5056
5057 refine code style
5058
5059 M src/PYPBopomofoEngine.cc
5060 M src/PYPPinyinEngine.cc
5061
5062 commit 1f68a74635ab683263e275ba63b77f4007ba6634
5063 Author: Peng Wu <alexepico@gmail.com>
5064 Date: 2014-12-08 14:45:50 +0800
5065
5066 support four customized shortcut keys
5067
5068 M src/PYFallbackEditor.cc
5069 M src/PYPBopomofoEngine.cc
5070 M src/PYPBopomofoEngine.h
5071 M src/PYPPinyinEngine.cc
5072 M src/PYPPinyinEngine.h
5073
5074 commit 76d62fd53b46fe6935eec9c0eefe0617d5d7f0b7
5075 Author: Peng Wu <alexepico@gmail.com>
5076 Date: 2014-12-08 13:34:28 +0800
5077
5078 update base.lua for lua 5.2
5079
5080 M lua/base.lua
5081
5082 commit 8cba9ed83fe4d02b76e224862ca85ce014592b80
5083 Author: Peng Wu <alexepico@gmail.com>
5084 Date: 2014-12-08 11:21:29 +0800
5085
5086 use luaL_requiref for lua 5.2
5087
5088 M lua/lua-plugin-init.c
5089
5090 commit 3b2635f417d93f5e26d1ef8439441700d55d4d83
5091 Author: Peng Wu <alexepico@gmail.com>
5092 Date: 2014-12-05 14:15:49 +0800
5093
5094 write pinyin_accelerator_name function
5095
5096 M configure.ac
5097 M src/Makefile.am
5098 M src/PYEngine.cc
5099 M src/PYEngine.h
5100
5101 commit 5d445470457a3bbf3684ef782410ce9cafac57e3
5102 Author: Peng Wu <alexepico@gmail.com>
5103 Date: 2014-12-02 14:20:51 +0800
5104
5105 add four new config keys
5106
5107 M src/PYConfig.h
5108 M src/PYPConfig.cc
5109
5110 commit 43beca819b9e4ab2f71b6cde4e085525df088719
5111 Author: Peng Wu <alexepico@gmail.com>
5112 Date: 2014-12-02 14:16:26 +0800
5113
5114 update setup dialog
5115
5116 M setup/shortcuteditor.py
5117
5118 commit 795027d140d75c11b1476de4d36b7226a98c6e74
5119 Author: Peng Wu <alexepico@gmail.com>
5120 Date: 2014-11-28 16:43:38 +0800
5121
5122 integrate with the setup dialog
5123
5124 M setup/main2.py
5125 M setup/shortcuteditor.py
5126
5127 commit 489c90ec6ca084fc1223bb1f9181a215e3eb2495
5128 Author: Peng Wu <alexepico@gmail.com>
5129 Date: 2014-11-28 13:58:59 +0800
5130
5131 update setup dialog
5132
5133 M setup/ibus-libpinyin-preferences.ui
5134
5135 commit 81a84ccbf568b74ed61aeaa8e4977ac89d1aeb8e
5136 Author: Peng Wu <alexepico@gmail.com>
5137 Date: 2014-11-27 17:43:40 +0800
5138
5139 import shortcuteditor.py
5140
5141 M setup/keyboardshortcut.py
5142 A setup/shortcuteditor.py
5143
5144 commit 028425606c60348f25a4d9c9efca5ade89869b27
5145 Author: Peng Wu <alexepico@gmail.com>
5146 Date: 2014-11-26 16:59:03 +0800
5147
5148 import keyboardshortcut.py
5149
5150 A setup/keyboardshortcut.py
5151
5152 commit 82b89ae4b01f353664a44e833829f1633ffdfdd2
5153 Author: Peng Wu <alexepico@gmail.com>
5154 Date: 2014-11-05 10:53:58 +0800
5155
5156 disable lookup table lazy candidate fill
5157
5158 M src/PYPPhoneticEditor.cc
5159 M src/PYPPhoneticEditor.h
5160
5161 commit 1bbb6ca2a0240ab98510fe8a5f470d0a47b382af
5162 Author: Peng Wu <alexepico@gmail.com>
5163 Date: 2014-09-19 17:25:57 +0800
5164
5165 fixes lua script loads
5166
5167 M src/PYExtEditor.cc
5168
5169 commit 471752e4519fa4f5785cfb454f1c24f747717d89
5170 Author: Peng Wu <alexepico@gmail.com>
5171 Date: 2014-08-19 14:29:57 +0800
5172
5173 use pinyin_get_pinyin_key_rest_offset function
5174
5175 M src/PYPPhoneticEditor.cc
5176
5177 commit f53b1287772ff4d7589f4c4b3847c7a74ee293ef
5178 Author: Peng Wu <alexepico@gmail.com>
5179 Date: 2014-07-15 13:19:52 +0800
5180
5181 fixes memory leak
5182
5183 M src/PYLibPinyin.cc
5184
5185 commit d44a0cbedb562c2e1926c765cdd4735be68db9b6
5186 Author: Peng Wu <alexepico@gmail.com>
5187 Date: 2014-07-15 11:14:05 +0800
5188
5189 use macro USER_DICTIONARY
5190
5191 M src/PYLibPinyin.cc
5192
5193 commit 10969d4f8abf0559c2748d3f1a518c9e487f0e86
5194 Author: Peng Wu <alexepico@gmail.com>
5195 Date: 2014-06-13 15:55:25 +0800
5196
5197 fixes a typo
5198
5199 M src/PYMain.cc
5200
5201 commit 7a98868d07581655b7a11c84005ec9cef7d50539
5202 Author: Peng Wu <alexepico@gmail.com>
5203 Date: 2014-05-21 09:46:16 +0800
5204
5205 remove LibPinyin* class prefix
5206
5207 M src/PYEngine.cc
5208 M src/PYLibPinyin.cc
5209 M src/PYMain.cc
5210 M src/PYPBopomofoEditor.cc
5211 M src/PYPBopomofoEditor.h
5212 M src/PYPBopomofoEngine.cc
5213 M src/PYPBopomofoEngine.h
5214 M src/PYPConfig.cc
5215 M src/PYPConfig.h
5216 M src/PYPDoublePinyinEditor.cc
5217 M src/PYPDoublePinyinEditor.h
5218 M src/PYPFullPinyinEditor.cc
5219 M src/PYPFullPinyinEditor.h
5220 M src/PYPPhoneticEditor.cc
5221 M src/PYPPhoneticEditor.h
5222 M src/PYPPinyinEditor.cc
5223 M src/PYPPinyinEditor.h
5224 M src/PYPPinyinEngine.cc
5225 M src/PYPPinyinEngine.h
5226
5227 commit 7813d0b1711f08b0164242499c6ac02d30fab966
5228 Author: Peng Wu <alexepico@gmail.com>
5229 Date: 2014-04-29 12:30:15 +0800
5230
5231 improves m_bopomofo_keyboard_mapping read
5232
5233 M src/PYConfig.h
5234 M src/PYLibPinyin.cc
5235 M src/PYPConfig.cc
5236
5237 commit ad0e422ceaafe4fcddfc579d2061d93a6e711ab0
5238 Author: Peng Wu <alexepico@gmail.com>
5239 Date: 2014-04-29 11:02:20 +0800
5240
5241 improves m_double_pinyin_schema read
5242
5243 M src/PYConfig.cc
5244 M src/PYConfig.h
5245 M src/PYLibPinyin.cc
5246 M src/PYPConfig.cc
5247
5248 commit f3b0fa4f04a06036c5cc177969a58c73e8e7c5b5
5249 Author: Peng Wu <alexepico@gmail.com>
5250 Date: 2014-04-28 15:19:22 +0800
5251
5252 fixes a typo
5253
5254 M src/PYPFullPinyinEditor.cc
5255
5256 commit a8e650a6ef1392c23f7d6f8f141fc7638fd1f9fa
5257 Author: Peng Wu <alexepico@gmail.com>
5258 Date: 2014-04-24 14:56:53 +0800
5259
5260 bump version 1.7.0
5261
5262 M configure.ac
5263
5264 commit e44396eab964540aeb26cf8428aa5d02609df520
5265 Author: Peng Wu <alexepico@gmail.com>
5266 Date: 2014-04-24 14:45:52 +0800
5267
5268 update version number
5269
5270 M configure.ac
5271
5272 commit 904ffe389825f1b9eae0765586560b7afb7efa35
5273 Author: Peng Wu <alexepico@gmail.com>
5274 Date: 2014-04-23 16:29:04 +0800
5275
5276 re-factor code
5277
5278 M src/PYConfig.cc
5279 M src/PYConfig.h
5280 M src/PYPConfig.cc
5281
5282 commit f31155bf3ebadac7c4124009e8b571c1778f3692
5283 Author: Peng Wu <alexepico@gmail.com>
5284 Date: 2014-04-23 16:27:22 +0800
5285
5286 format code
5287
5288 M src/PYLibPinyin.cc
5289 M src/PYLibPinyin.h
5290
5291 commit 8d553e0c189d65a935fd5169f06b3a2e0380b013
5292 Author: Peng Wu <alexepico@gmail.com>
5293 Date: 2014-04-22 15:23:26 +0800
5294
5295 fixes a typo
5296
5297 M src/PYPBopomofoEditor.h
5298
5299 commit 4c898f1bade4dff01c37b5d196f4ec2e2c014ecd
5300 Author: Peng Wu <alexepico@gmail.com>
5301 Date: 2014-04-22 11:07:12 +0800
5302
5303 fixes compile
5304
5305 M src/PYConfig.h
5306
5307 commit 9491bb452e240592ca91b0ef783837e4967e2a59
5308 Author: Peng Wu <alexepico@gmail.com>
5309 Date: 2014-04-21 14:11:35 +0800
5310
5311 fixes a typo
5312
5313 M src/PYPPhoneticEditor.cc
5314
5315 commit 9fea44f3726e1cc606bc09c23c4fb9a0ffd0cbfb
5316 Author: Peng Wu <alexepico@gmail.com>
5317 Date: 2014-04-10 15:25:42 +0800
5318
5319 use type pinyin_option_t
5320
5321 M src/PYConfig.h
5322 M src/PYPConfig.cc
5323
5324 commit e0862317264a4c117caee7e7151b7e4d9e9bcc65
5325 Author: Peng Wu <alexepico@gmail.com>
5326 Date: 2014-03-24 14:15:13 +0800
5327
5328 fixes a typo
5329
5330 M src/PYPPhoneticEditor.h
5331
5332 commit 4982c9f9095d53c0c7537b6b852ee41ae8fe0e71
5333 Author: Peng Wu <alexepico@gmail.com>
5334 Date: 2014-02-17 16:45:14 +0800
5335
5336 move logics to class PYEngine
5337
5338 M src/PYEngine.cc
5339 M src/PYEngine.h
5340 M src/PYPBopomofoEngine.cc
5341 M src/PYPBopomofoEngine.h
5342 M src/PYPPinyinEngine.cc
5343 M src/PYPPinyinEngine.h
5344
5345 commit a8dbbd654f6eb34df4176cb873399b4c02b536ee
5346 Author: Peng Wu <alexepico@gmail.com>
5347 Date: 2014-01-26 15:05:05 +0800
5348
5349 rename Intelligent Bopomofo to Bopomofo
5350
5351 M src/PYMain.cc
5352 M src/libpinyin.xml.in.in
5353
5354 commit aba1516229c018439459e0e20995e91c3aa6ea53
5355 Author: Peng Wu <alexepico@gmail.com>
5356 Date: 2014-01-26 14:58:27 +0800
5357
5358 drop uuid deps
5359
5360 M configure.ac
5361 M src/Makefile.am
5362 M src/PYUtil.h
5363
5364 commit 432bf196a90313273490b683bfae8f128cf52018
5365 Author: Peng Wu <alexepico@gmail.com>
5366 Date: 2014-01-26 13:29:11 +0800
5367
5368 update main2.py
5369
5370 M setup/main2.py
5371
5372 commit 225a070bc7fd90d749f06a2e3156f2e9cf6b88e2
5373 Author: Peng Wu <alexepico@gmail.com>
5374 Date: 2014-01-16 13:21:16 +0800
5375
5376 re-factor setup dialog
5377
5378 M setup/Makefile.am
5379 M setup/config.py.in
5380 M setup/ibus-setup-libpinyin.in
5381 M setup/main2.py
5382
5383 commit 56a35844deb56eb2705de79494834253f60c95f6
5384 Author: Peng Wu <alexepico@gmail.com>
5385 Date: 2014-01-03 12:32:20 +0800
5386
5387 remove PYRegex.h
5388
5389 M src/Makefile.am
5390 D src/PYRegex.h
5391
5392 commit e6ea82938c6f06d03109da94da6f313c399737e6
5393 Author: Peng Wu <alexepico@gmail.com>
5394 Date: 2013-12-12 12:38:21 +0800
5395
5396 drop IBUS_BUILD_LIBPINYIN macro
5397
5398 M configure.ac
5399 M src/Makefile.am
5400 M src/PYEngine.cc
5401 M src/PYMain.cc
5402 M src/PYPConfig.cc
5403
5404 commit 5e6708be79ff90cf483bfc66e30437d5019404a0
5405 Author: Peng Wu <alexepico@gmail.com>
5406 Date: 2013-11-11 15:38:35 +0800
5407
5408 fixes pinyin properties
5409
5410 M src/PYPinyinProperties.cc
5411
5412 commit 737fdaa6a118729e20378245dbb8af0c142fa187
5413 Author: Peng Wu <alexepico@gmail.com>
5414 Date: 2013-10-23 16:42:41 +0800
5415
5416 bump version 1.6.92
5417
5418 M configure.ac
5419
5420 commit e1ecc3bf821c88d9edab471e70b556e029072c32
5421 Author: Peng Wu <alexepico@gmail.com>
5422 Date: 2013-10-23 16:35:41 +0800
5423
5424 update ibus requires
5425
5426 M configure.ac
5427
5428 commit 69f50424ba5be49c4b31543df7bd7970361d4753
5429 Author: Peng Wu <alexepico@gmail.com>
5430 Date: 2013-10-10 15:48:29 +0800
5431
5432 support setContentType method
5433
5434 M src/PYEngine.cc
5435 M src/PYEngine.h
5436 M src/PYPBopomofoEngine.cc
5437 M src/PYPBopomofoEngine.h
5438 M src/PYPPinyinEngine.cc
5439 M src/PYPPinyinEngine.h
5440
5441 commit cf8ab7d8e76ed70c182c7588cfe1ebbce8e5174b
5442 Author: Peng Wu <alexepico@gmail.com>
5443 Date: 2013-10-08 10:45:35 +0800
5444
5445 remove pyxdg depends
5446
5447 M setup/main2.py
5448
5449 commit c42d0a870697e95301deabe0bcb770a68649c81d
5450 Author: Peng Wu <alexepico@gmail.com>
5451 Date: 2013-07-31 10:53:14 +0800
5452
5453 fixes lua 5.2 compile
5454
5455 M lua/lua-plugin-init.c
5456 M lua/lua-plugin.c
5457
5458 commit 9ef836117508d9c0c938f57a5ffa5ffca7eb2e7b
5459 Author: Peng Wu <alexepico@gmail.com>
5460 Date: 2013-07-26 13:03:44 +0800
5461
5462 Update the symbol of the ibus indicator
5463
5464 M src/PYPinyinProperties.cc
5465 M src/PYProperty.h
5466
5467 commit 7f0ae3f5d0bbaf1b5fe2ab8b0a22892a2d9a1167
5468 Author: Peng Wu <alexepico@gmail.com>
5469 Date: 2013-04-24 15:45:32 +0800
5470
5471 update libpinyin requires
5472
5473 M configure.ac
5474
5475 commit 9ab87c1a3a7f46c5b3d7f347d5654b29dc4789e8
5476 Author: Peng Wu <alexepico@gmail.com>
5477 Date: 2013-04-24 13:49:46 +0800
5478
5479 re-factor base.lua
5480
5481 M lua/base.lua
5482
5483 commit 925f881e940d4573926f7ce224a5b81c4b35ffa3
5484 Author: Peng Wu <alexepico@gmail.com>
5485 Date: 2013-04-21 12:27:43 +0800
5486
5487 fixes dictionaries option
5488
5489 M setup/main2.py
5490 M src/PYConfig.cc
5491 M src/PYPConfig.cc
5492
5493 commit 5a6804db067ec7eeaface324f2bff3067399eb1f
5494 Author: Peng Wu <alexepico@gmail.com>
5495 Date: 2013-04-21 12:24:36 +0800
5496
5497 Revert "change config key name"
5498
5499 This reverts commit ee79a7dcfbf7a9d32802e5555eceeaf7db485bff.
5500
5501 M setup/main2.py
5502 M src/PYPConfig.cc
5503
5504 commit 78bb55af56ff09fe61573cb3b778f0a4e8326c73
5505 Author: Peng Wu <alexepico@gmail.com>
5506 Date: 2013-03-22 15:03:19 +0800
5507
5508 fixes compile
5509
5510 M src/PYLibPinyin.cc
5511 M src/PYPBopomofoEditor.cc
5512 M src/PYPConfig.cc
5513 M src/PYPFullPinyinEditor.cc
5514 M src/PYPPhoneticEditor.cc
5515
5516 commit d375107f4c4118ecc4f74cb11e5372a42e8554b5
5517 Author: Peng Wu <alexepico@gmail.com>
5518 Date: 2013-03-22 14:29:19 +0800
5519
5520 update double pinyin editor
5521
5522 M src/PYPDoublePinyinEditor.cc
5523
5524 commit 9e7d2f34f4f21db9914b63bd837a7c7371148238
5525 Author: Peng Wu <alexepico@gmail.com>
5526 Date: 2013-03-22 14:21:57 +0800
5527
5528 update full pinyin editor
5529
5530 M src/PYPBopomofoEditor.cc
5531 M src/PYPFullPinyinEditor.cc
5532
5533 commit 2f153759c57835aa30908ae0d43dda1f942bdfac
5534 Author: Peng Wu <alexepico@gmail.com>
5535 Date: 2013-03-22 14:09:53 +0800
5536
5537 update pinyin editor
5538
5539 M src/PYPPinyinEditor.cc
5540
5541 commit 88176ebec678099baa5b768e862ea2b41fdfc5ba
5542 Author: Peng Wu <alexepico@gmail.com>
5543 Date: 2013-03-22 14:03:00 +0800
5544
5545 update bopomofo editor
5546
5547 M src/PYPBopomofoEditor.cc
5548
5549 commit 4d0be214c08f8f7a9dc8c5a4262b3b2bc8d0d04f
5550 Author: Peng Wu <alexepico@gmail.com>
5551 Date: 2013-03-22 13:54:48 +0800
5552
5553 update phonetic editor
5554
5555 M src/PYPPhoneticEditor.cc
5556 M src/PYPPhoneticEditor.h
5557
5558 commit acf1ab4a9370c36232d839193fc57be03ea6fd1a
5559 Author: Peng Wu <alexepico@gmail.com>
5560 Date: 2013-03-20 14:38:06 +0800
5561
5562 bump version 1.6.91
5563
5564 M configure.ac
5565
5566 commit 20a82553205a1510a8aca475f99181a7c26d5233
5567 Author: Peng Wu <alexepico@gmail.com>
5568 Date: 2013-03-15 15:16:05 +0800
5569
5570 fixes setup dialog
5571
5572 M po/fr.po
5573 M po/ru.po
5574 M po/zh_CN.po
5575 M po/zh_HK.po
5576 M po/zh_TW.po
5577 M setup/ibus-libpinyin-preferences.ui
5578
5579 commit ee79a7dcfbf7a9d32802e5555eceeaf7db485bff
5580 Author: Peng Wu <alexepico@gmail.com>
5581 Date: 2013-03-15 09:38:25 +0800
5582
5583 change config key name
5584
5585 M setup/main2.py
5586 M src/PYPConfig.cc
5587
5588 commit 331f4f497389679fa076cccf603c82b697b993d1
5589 Author: Peng Wu <alexepico@gmail.com>
5590 Date: 2013-03-14 14:23:39 +0800
5591
5592 add using namespace pinyin
5593
5594 M src/PYLibPinyin.cc
5595 M src/PYPConfig.cc
5596
5597 commit b1739851231248dba52d01b9bfb5d58318958b5f
5598 Author: Peng Wu <alexepico@gmail.com>
5599 Date: 2013-03-11 13:23:12 +0800
5600
5601 bump version 1.5.92
5602
5603 M configure.ac
5604
5605 commit 4c38e5cf9b9d48203f0d57432e8076c08653b134
5606 Author: Peng Wu <alexepico@gmail.com>
5607 Date: 2013-03-11 10:49:17 +0800
5608
5609 remove special phrases
5610
5611 M po/POTFILES.in
5612 D src/PYDynamicSpecialPhrase.cc
5613 D src/PYDynamicSpecialPhrase.h
5614 D src/PYSpecialPhrase.cc
5615 D src/PYSpecialPhrase.h
5616 D src/PYSpecialPhraseTable.cc
5617 D src/PYSpecialPhraseTable.h
5618
5619 commit 6a448d5b60e5c9f7240d4149c3a81a0df439d275
5620 Author: Peng Wu <alexepico@gmail.com>
5621 Date: 2013-03-11 10:44:21 +0800
5622
5623 re-factor ExtEditor
5624
5625 M src/Makefile.am
5626 M src/PYExtEditor.cc
5627
5628 commit ab4961ecf5ea99b08454c011295687153d75cc04
5629 Author: Peng Wu <alexepico@gmail.com>
5630 Date: 2013-03-05 11:01:14 +0800
5631
5632 update base.lua
5633
5634 M lua/base.lua
5635
5636 commit a7b0bfdb1f0c194c2a47d498c1dd09709d2a893b
5637 Author: Peng Wu <alexepico@gmail.com>
5638 Date: 2013-03-01 17:04:33 +0800
5639
5640 fixes download url
5641
5642 M ibus-libpinyin.spec.in
5643
5644 commit f08f381646c6d8af4bbc084eac764f46fa476f8e
5645 Author: Peng Wu <alexepico@gmail.com>
5646 Date: 2013-02-28 14:51:24 +0800
5647
5648 fixes getLookupCursor
5649
5650 Fixed:
5651 When some wrong pinyin input entered, the lookup candidates disappeared.
5652
5653 M src/PYPPhoneticEditor.cc
5654
5655 commit 68e7eea7b622633b14dd9b129e69eec4d2b28869
5656 Author: Peng Wu <alexepico@gmail.com>
5657 Date: 2013-02-27 10:50:47 +0800
5658
5659 update main2.py
5660
5661 M setup/main2.py
5662
5663 commit 294deae4df18f98f5ae9646e57ead1783b59d727
5664 Author: Peng Wu <alexepico@gmail.com>
5665 Date: 2013-02-26 11:43:51 +0800
5666
5667 update zh_CN.po
5668
5669 M po/zh_CN.po
5670
5671 commit b6df84c7f4cf2fca1fe6549394e4014d41d42cfb
5672 Author: Peng Wu <alexepico@gmail.com>
5673 Date: 2013-02-26 11:25:35 +0800
5674
5675 update po
5676
5677 M po/fr.po
5678 M po/ru.po
5679 M po/zh_CN.po
5680 M po/zh_HK.po
5681 M po/zh_TW.po
5682
5683 commit 93f1187b708a5c1c4ae1cdea70caf0e3930dd6d4
5684 Author: Peng Wu <alexepico@gmail.com>
5685 Date: 2013-02-20 16:04:07 +0800
5686
5687 update zh_CN.po
5688
5689 M po/zh_CN.po
5690
5691 commit 23cbd1bb810e6fe00230ead06163156caf9bb9e8
5692 Author: Peng Wu <alexepico@gmail.com>
5693 Date: 2013-02-20 16:03:56 +0800
5694
5695 polish UI
5696
5697 M setup/ibus-libpinyin-preferences.ui
5698
5699 commit b52f16d606cf8245b3278bfd81605d78d8186820
5700 Author: Peng Wu <alexepico@gmail.com>
5701 Date: 2013-02-20 12:10:23 +0800
5702
5703 fixes gettext
5704
5705 M setup/dicttreeview.py
5706 M setup/main2.py
5707
5708 commit e88fd94817b3b1bbd8b2498dcb402e5b828497bd
5709 Author: Peng Wu <alexepico@gmail.com>
5710 Date: 2013-02-20 11:22:22 +0800
5711
5712 fixes typo
5713
5714 M setup/dicttreeview.py
5715 M src/PYLibPinyin.cc
5716
5717 commit 9e2bb399070a472741e1f61878d743c6a8699e07
5718 Author: Peng Wu <alexepico@gmail.com>
5719 Date: 2013-02-20 11:18:43 +0800
5720
5721 update zh_CN.po
5722
5723 M po/zh_CN.po
5724
5725 commit 2253829331e021bb5237d0bcbffce973132aaa5f
5726 Author: Peng Wu <alexepico@gmail.com>
5727 Date: 2013-02-20 11:08:35 +0800
5728
5729 update po
5730
5731 M po/fr.po
5732 M po/ru.po
5733 M po/zh_CN.po
5734 M po/zh_HK.po
5735 M po/zh_TW.po
5736
5737 commit b30d259c0cd2c4f844048fa315b453d3b03af6bd
5738 Author: Peng Wu <alexepico@gmail.com>
5739 Date: 2013-02-20 10:54:32 +0800
5740
5741 update dictionaries
5742
5743 M setup/dicttreeview.py
5744 M setup/main2.py
5745 M src/PYConfig.cc
5746 M src/PYLibPinyin.cc
5747 M src/PYPConfig.cc
5748
5749 commit 4dc12953941dcc034bcbe680d529d24b88f79ddd
5750 Author: Peng Wu <alexepico@gmail.com>
5751 Date: 2013-02-18 17:55:29 +0800
5752
5753 polish UI
5754
5755 M setup/ibus-libpinyin-preferences.ui
5756
5757 commit 9376f6734fc10a1bd3e9dc2f90c06ec0a11a846a
5758 Author: Peng Wu <alexepico@gmail.com>
5759 Date: 2013-02-18 15:48:19 +0800
5760
5761 fixes setup/config.py
5762
5763 M configure.ac
5764 M setup/Makefile.am
5765 M setup/config.py.in
5766
5767 commit 9f63583210bb383ab97c803fd57ede8c6d866bf0
5768 Author: Peng Wu <alexepico@gmail.com>
5769 Date: 2013-02-17 13:39:57 +0800
5770
5771 add edit user lua to main2.py
5772
5773 M setup/main2.py
5774
5775 commit 7ada59965b475434c5a5e6f62d13cabfde278fc8
5776 Author: Peng Wu <alexepico@gmail.com>
5777 Date: 2013-02-17 13:24:28 +0800
5778
5779 add user data to main2.py
5780
5781 M setup/main2.py
5782
5783 commit 2c176006b90fb6d6593a39a778ed7e1a98eabbe4
5784 Author: Peng Wu <alexepico@gmail.com>
5785 Date: 2013-02-17 12:08:47 +0800
5786
5787 add user data page to setup dialog
5788
5789 M setup/ibus-libpinyin-preferences.ui
5790
5791 commit 0763b3456c64f52c710636af63de5bdc6a836753
5792 Author: Peng Wu <alexepico@gmail.com>
5793 Date: 2013-02-17 09:37:17 +0800
5794
5795 fixes code style
5796
5797 M src/PYLibPinyin.cc
5798
5799 commit 47f65d95f3e003f415a47b586bd35cb3662c6f73
5800 Author: Peng Wu <alexepico@gmail.com>
5801 Date: 2013-02-16 11:39:54 +0800
5802
5803 load user phrase library
5804
5805 M src/PYLibPinyin.cc
5806
5807 commit 42206b463d1f14a68763b38f2b4835a5638fa845
5808 Author: Peng Wu <alexepico@gmail.com>
5809 Date: 2013-02-08 11:17:27 +0800
5810
5811 fixes a typo
5812
5813 M src/PYLibPinyin.cc
5814 M src/PYPConfig.cc
5815
5816 commit 79529dea8225187a0ab1c0d4c87ad558760322d5
5817 Author: Peng Wu <alexepico@gmail.com>
5818 Date: 2013-02-08 11:04:28 +0800
5819
5820 write importPinyinDictionary
5821
5822 M src/PYLibPinyin.cc
5823 M src/PYLibPinyin.h
5824 M src/PYPConfig.cc
5825
5826 commit 42fdd95eeea6e72f65fe74e356b6ab96bc95666c
5827 Author: Peng Wu <alexepico@gmail.com>
5828 Date: 2013-02-08 10:29:05 +0800
5829
5830 write clearPinyinUserData
5831
5832 M src/PYConfig.cc
5833 M src/PYLibPinyin.cc
5834 M src/PYLibPinyin.h
5835 M src/PYPConfig.cc
5836
5837 commit 00b1261817b55f04531bcac76191b27f796ab1ea
5838 Author: Peng Wu <alexepico@gmail.com>
5839 Date: 2013-02-08 09:27:29 +0800
5840
5841 add user.lua
5842
5843 M lua/Makefile.am
5844 A lua/user.lua
5845 M src/PYExtEditor.cc
5846 M src/PYLibPinyin.cc
5847
5848 commit 522546c64bfaff53450b4d161c6acf4b8cd8a2be
5849 Author: Peng Wu <alexepico@gmail.com>
5850 Date: 2013-02-07 14:03:55 +0800
5851
5852 fixes bug
5853
5854 M setup/config.py.in
5855 M setup/main2.py
5856
5857 commit 4b26bca531a13aec957d0568f7d1696ce6a04d52
5858 Author: Peng Wu <alexepico@gmail.com>
5859 Date: 2013-02-07 11:44:41 +0800
5860
5861 update autoconf
5862
5863 M configure.ac
5864 M setup/Makefile.am
5865 M setup/config.py.in
5866
5867 commit 10375d1dc8c3943d7520129e14be05873e920f7d
5868 Author: Peng Wu <alexepico@gmail.com>
5869 Date: 2013-02-07 10:54:47 +0800
5870
5871 rename version.py to config.py
5872
5873 M configure.ac
5874 M setup/Makefile.am
5875 R100 setup/version.py.in setup/config.py.in
5876
5877 commit f9cdfed43599195c3cf6f08d6592bfea68a4e8d2
5878 Author: Peng Wu <alexepico@gmail.com>
5879 Date: 2013-01-31 12:58:53 +0800
5880
5881 re-write base.lua
5882
5883 M lua/base.lua
5884
5885 commit 986dde375354d440cba768f560616d3560aa3e58
5886 Author: Peng Wu <alexepico@gmail.com>
5887 Date: 2013-01-21 10:58:03 +0800
5888
5889 update libpinyin requires
5890
5891 M configure.ac
5892
5893 commit 2590ca94ac12bb7f77a037805e0b31efae725e38
5894 Author: Peng Wu <alexepico@gmail.com>
5895 Date: 2013-01-14 12:25:41 +0800
5896
5897 add setup tag to libpinyin.xml.in.in
5898
5899 M src/libpinyin.xml.in.in
5900
5901 commit af9f69bc861f1e5c3c86fc725ba4e60d412af4f9
5902 Author: Peng Wu <alexepico@gmail.com>
5903 Date: 2013-01-04 12:10:21 +0800
5904
5905 translate zh_CN.po
5906
5907 M po/zh_CN.po
5908
5909 commit 8d41b065cc41a4c9be553243d91608db5358efb2
5910 Author: Peng Wu <alexepico@gmail.com>
5911 Date: 2013-01-04 12:08:09 +0800
5912
5913 update po
5914
5915 M po/fr.po
5916 M po/ru.po
5917 M po/zh_CN.po
5918 M po/zh_HK.po
5919 M po/zh_TW.po
5920
5921 commit 0a5381930f89bd3985adc12a98eff0968669d9ad
5922 Author: Peng Wu <alexepico@gmail.com>
5923 Date: 2012-12-31 17:17:30 +0800
5924
5925 update zh_CN.po
5926
5927 M po/zh_CN.po
5928
5929 commit aaefef05e73e277ce671efa9650a1bc28778c0f3
5930 Author: Peng Wu <alexepico@gmail.com>
5931 Date: 2012-12-31 16:27:39 +0800
5932
5933 fixes a typo
5934
5935 M setup/ibus-libpinyin-preferences.ui
5936
5937 commit e763afd31774a5654329f54426c699fb52d9a6eb
5938 Author: Peng Wu <alexepico@gmail.com>
5939 Date: 2012-12-31 11:47:43 +0800
5940
5941 fixes a bug
5942
5943 M src/PYPConfig.cc
5944
5945 commit 8b08105163e9b3a59e808ea2fa8a4607648f9ae6
5946 Author: Peng Wu <alexepico@gmail.com>
5947 Date: 2012-12-31 11:39:37 +0800
5948
5949 update python code
5950
5951 M setup/main2.py
5952
5953 commit 2ef7bc5542c068cde5e41693d4ed1ebb449b6581
5954 Author: Peng Wu <alexepico@gmail.com>
5955 Date: 2012-12-31 11:19:58 +0800
5956
5957 update setup ui
5958
5959 M setup/ibus-libpinyin-preferences.ui
5960
5961 commit 8868b88483de6f92b8c7f35604540f30c2dd6816
5962 Author: Peng Wu <alexepico@gmail.com>
5963 Date: 2012-12-31 11:02:52 +0800
5964
5965 add ctrl switch to bopomofo engine
5966
5967 M src/PYPBopomofoEngine.cc
5968
5969 commit 96ab2c13f03aee400def935e4ff0e9c68fe17b07
5970 Author: Peng Wu <alexepico@gmail.com>
5971 Date: 2012-12-31 10:54:52 +0800
5972
5973 add ctrl switch to pinyin engine
5974
5975 M src/PYPPinyinEngine.cc
5976
5977 commit 477e9add7c6a009cc7a03077eddace878832b172
5978 Author: Peng Wu <alexepico@gmail.com>
5979 Date: 2012-12-31 10:43:58 +0800
5980
5981 add ctrl switch to config
5982
5983 M src/PYConfig.cc
5984 M src/PYConfig.h
5985 M src/PYPConfig.cc
5986
5987 commit ac92c9c2ebe039af25391e4f115cc690ddd28eea
5988 Author: Peng Wu <alexepico@gmail.com>
5989 Date: 2012-12-18 17:03:46 +0800
5990
5991 update zh_CN.po
5992
5993 M po/zh_CN.po
5994
5995 commit 1fd93e0c66736ff961220cf0dfcc84ba583132ac
5996 Author: Peng Wu <alexepico@gmail.com>
5997 Date: 2012-12-18 16:35:15 +0800
5998
5999 update po
6000
6001 M po/fr.po
6002 M po/ru.po
6003 M po/zh_CN.po
6004 M po/zh_HK.po
6005 M po/zh_TW.po
6006
6007 commit 4a1bfc62e076a2b8c1026fd91d8bfcd3c35e36f0
6008 Author: Peng Wu <alexepico@gmail.com>
6009 Date: 2012-12-18 11:17:57 +0800
6010
6011 fixes autogen.sh
6012
6013 M autogen.sh
6014
6015 commit e1f9e271092e07381afc2abe3f767f10435765e2
6016 Author: Peng Wu <alexepico@gmail.com>
6017 Date: 2012-12-17 16:03:31 +0800
6018
6019 fixes letter labels
6020
6021 M src/PYPinyinProperties.cc
6022
6023 commit 382c9a706be19c3b4466afba8b964d50ece5c254
6024 Author: Peng Wu <alexepico@gmail.com>
6025 Date: 2012-12-17 13:33:31 +0800
6026
6027 improves property labels
6028
6029 M src/PYPinyinProperties.cc
6030 M src/PYProperty.h
6031
6032 commit 6d70508e192367a1007dc6f10aed8ca3d3a25da9
6033 Author: Peng Wu <alexepico@gmail.com>
6034 Date: 2012-12-05 12:24:17 +0800
6035
6036 bump version 1.5.91
6037
6038 M configure.ac
6039
6040 commit 241bac9ba834573c25db72c44bff9d118a4ffe9f
6041 Author: Peng Wu <alexepico@gmail.com>
6042 Date: 2012-12-05 12:03:21 +0800
6043
6044 fixes get_pinyin_string
6045
6046 M src/PYPDoublePinyinEditor.cc
6047 M src/PYPFullPinyinEditor.cc
6048 M src/PYPPinyinEditor.cc
6049
6050 commit 938f2649b75efb3f0b72f3af7567ad8198d17147
6051 Author: Peng Wu <alexepico@gmail.com>
6052 Date: 2012-12-05 12:00:51 +0800
6053
6054 fixes get_chewing_string
6055
6056 M src/PYPBopomofoEditor.cc
6057
6058 commit 9adfcbc7784845e324b84fb51bbfcc2c502e5b20
6059 Author: Peng Wu <alexepico@gmail.com>
6060 Date: 2012-11-26 17:35:51 +0800
6061
6062 fixes symbol icon again
6063
6064 M src/libpinyin.xml.in.in
6065
6066 commit 409a626442945e4a4a10b9c31e2fc62fb5d248a0
6067 Author: Peng Wu <alexepico@gmail.com>
6068 Date: 2012-11-26 16:58:37 +0800
6069
6070 fixes symbol icons
6071
6072 M src/libpinyin.xml.in.in
6073
6074 commit 1b6227451d5f7bdc5e8362eb4a77e941dbd83ef5
6075 Author: Peng Wu <alexepico@gmail.com>
6076 Date: 2012-10-15 10:25:42 +0800
6077
6078 bump version 1.4.93
6079
6080 M configure.ac
6081
6082 commit bd326aaa08a7af7917364e4acc63a6430e24b955
6083 Author: Peng Wu <alexepico@gmail.com>
6084 Date: 2012-10-09 11:35:24 +0800
6085
6086 fixes bopomofo icon
6087
6088 M src/libpinyin.xml.in.in
6089
6090 commit cbef61619838758394a80a23fef064c73453fe4a
6091 Author: Peng Wu <alexepico@gmail.com>
6092 Date: 2012-10-08 13:46:05 +0800
6093
6094 detect libpinyin datadir
6095
6096 M configure.ac
6097 M src/Makefile.am
6098 M src/PYLibPinyin.cc
6099
6100 commit 05a4b696ecf2267e766f918c123756ff98e45df3
6101 Author: Peng Wu <alexepico@gmail.com>
6102 Date: 2012-09-17 13:16:32 +0800
6103
6104 bump version 1.4.92
6105
6106 M configure.ac
6107
6108 commit c9a90d9d324fd288a193d21ada62a06371a7ea01
6109 Author: Peng Wu <alexepico@gmail.com>
6110 Date: 2012-09-17 12:00:02 +0800
6111
6112 fixes ';' in double pinyin
6113
6114 M src/PYPDoublePinyinEditor.cc
6115
6116 commit f8ec408bf992813ae1a20969e61a70bcaafa36a3
6117 Author: Peng Wu <alexepico@gmail.com>
6118 Date: 2012-09-17 10:49:56 +0800
6119
6120 add symbol to libpinyin.xml.in.in
6121
6122 M src/libpinyin.xml.in.in
6123
6124 commit f6e4cd727a3fb4b12eaf6c020bccc977eafdfaf2
6125 Author: Peng Wu <alexepico@gmail.com>
6126 Date: 2012-08-16 12:21:22 +0800
6127
6128 add libpinyin depends
6129
6130 M configure.ac
6131
6132 commit 38141a7f7b5e0a356bd8f9eb645c37320de75c1d
6133 Author: Peng Wu <alexepico@gmail.com>
6134 Date: 2012-08-13 13:32:14 +0800
6135
6136 fixes automake
6137
6138 M po/POTFILES.in
6139 M setup/Makefile.am
6140
6141 commit 12416774ba7dcd09d878bfd3aed493f2020c033e
6142 Author: Peng Wu <alexepico@gmail.com>
6143 Date: 2012-08-13 11:00:47 +0800
6144
6145 bump version 1.4.91
6146
6147 M configure.ac
6148
6149 commit 96208d94b8fad1c51aac0984b18973fdb2d61231
6150 Author: Peng Wu <alexepico@gmail.com>
6151 Date: 2012-08-10 13:39:51 +0800
6152
6153 fixes PYPConfig.cc
6154
6155 M src/PYPConfig.cc
6156
6157 commit b851547fe10ab112dbfbc303dd893f9f23d01d97
6158 Author: Peng Wu <alexepico@gmail.com>
6159 Date: 2012-08-10 13:08:25 +0800
6160
6161 update setup code
6162
6163 M setup/dicttreeview.py
6164 M setup/main2.py
6165
6166 commit bd3dd5c576f10a43bf2aa42c7ebbce94eeb64c4c
6167 Author: Peng Wu <alexepico@gmail.com>
6168 Date: 2012-08-10 13:06:46 +0800
6169
6170 update setup ui
6171
6172 M setup/ibus-libpinyin-preferences.ui
6173
6174 commit 7b8ce834ecdcc68ad04362dc7dd1e6462772e907
6175 Author: Peng Wu <alexepico@gmail.com>
6176 Date: 2012-08-09 15:44:56 +0800
6177
6178 add dicttreeview.py
6179
6180 A setup/dicttreeview.py
6181
6182 commit f3c0b69355f68f2bcd00f48211489c17d912f85d
6183 Author: Peng Wu <alexepico@gmail.com>
6184 Date: 2012-08-09 13:07:36 +0800
6185
6186 add m_dictionaries
6187
6188 M src/PYConfig.cc
6189 M src/PYPConfig.cc
6190
6191 commit 451b86fca949ee74cfec8e3494a096ea6fa7519a
6192 Author: Peng Wu <alexepico@gmail.com>
6193 Date: 2012-08-09 11:29:29 +0800
6194
6195 fixes processEnter
6196
6197 M src/PYEnglishEditor.cc
6198 M src/PYStrokeEditor.cc
6199
6200 commit c0b417a3a10b853cb030e1e8fd1c0c138f2ab801
6201 Author: Peng Wu <alexepico@gmail.com>
6202 Date: 2012-08-08 16:52:03 +0800
6203
6204 add dictionaries option
6205
6206 M src/PYConfig.h
6207 M src/PYLibPinyin.cc
6208
6209 commit 2249b3cbdb13c3465b03b55e74eeea85f8612dcc
6210 Author: Peng Wu <alexepico@gmail.com>
6211 Date: 2012-08-08 16:26:17 +0800
6212
6213 update PYLibPinyin.*
6214
6215 M src/PYLibPinyin.cc
6216 M src/PYLibPinyin.h
6217
6218 commit 4a830d6660e877fd879e9b4ae55c4fda9a2087aa
6219 Author: Peng Wu <alexepico@gmail.com>
6220 Date: 2012-08-08 16:16:59 +0800
6221
6222 add init context
6223
6224 M src/PYLibPinyin.cc
6225 M src/PYLibPinyin.h
6226
6227 commit 9735999a0e80463c4489aad21770731ebd54a368
6228 Author: Peng Wu <alexepico@gmail.com>
6229 Date: 2012-08-08 15:36:30 +0800
6230
6231 polish setup ui
6232
6233 M setup/ibus-libpinyin-preferences.ui
6234
6235 commit 1699997011a77354b7698fd9da2e8ee992785aff
6236 Author: Peng Wu <alexepico@gmail.com>
6237 Date: 2012-08-08 14:34:50 +0800
6238
6239 add dynamic adjust option
6240
6241 M setup/main2.py
6242 M src/PYConfig.cc
6243 M src/PYLibPinyin.cc
6244 M src/PYPConfig.cc
6245
6246 commit 068cd92477704ac43454e723a1c34e438280a592
6247 Author: Peng Wu <alexepico@gmail.com>
6248 Date: 2012-08-08 14:36:57 +0800
6249
6250 clean up PYConfig.cc
6251
6252 M src/PYConfig.cc
6253
6254 commit 756f0d4107067160029bf96d758fb2956f4b1c34
6255 Author: Peng Wu <alexepico@gmail.com>
6256 Date: 2012-08-08 14:02:53 +0800
6257
6258 update setup ui
6259
6260 M setup/ibus-libpinyin-preferences.ui
6261
6262 commit 9e993c55add75e2702486b9e46faa2ba5847d95d
6263 Author: Peng Wu <alexepico@gmail.com>
6264 Date: 2012-08-06 11:00:57 +0800
6265
6266 bump version 1.4.2
6267
6268 M configure.ac
6269
6270 commit ba61017002ab815aa398adb5d24b0626e22ff64e
6271 Author: Peng Wu <alexepico@gmail.com>
6272 Date: 2012-08-06 10:23:09 +0800
6273
6274 fixes PYPConfig.cc
6275
6276 M src/PYConfig.cc
6277 M src/PYPConfig.cc
6278
6279 commit 3300a9085afbb30ea8ee00642b0e6c6c6fa8a164
6280 Author: Peng Wu <alexepico@gmail.com>
6281 Date: 2012-08-06 09:34:42 +0800
6282
6283 clean up PYTypes.h
6284
6285 M src/PYConfig.cc
6286 M src/PYTypes.h
6287
6288 commit cae24c0a0508024dad2092552740a635a5ec8ac2
6289 Author: Peng Wu <alexepico@gmail.com>
6290 Date: 2012-08-03 18:27:49 +0800
6291
6292 clean PYTypes.h
6293
6294 M src/PYTypes.h
6295
6296 commit 29a835c2c155397ae53759647809d0579f80b7f1
6297 Author: Peng Wu <alexepico@gmail.com>
6298 Date: 2012-08-03 15:28:42 +0800
6299
6300 use DYNAMIC_ADJUST
6301
6302 M src/PYLibPinyin.cc
6303
6304 commit 64056479636f9d28d2f56036ebd86e6448401d11
6305 Author: Peng Wu <alexepico@gmail.com>
6306 Date: 2012-08-03 11:20:13 +0800
6307
6308 fixes processFunctionKey
6309
6310 M src/PYPPhoneticEditor.cc
6311
6312 commit b30095a04e11dca7d377d6938f27d1a04a56e128
6313 Author: Peng Wu <alexepico@gmail.com>
6314 Date: 2012-08-03 11:11:27 +0800
6315
6316 fixes getCursorLeftByWord
6317
6318 M src/PYPPhoneticEditor.cc
6319
6320 commit b4e468ed1cf74b3050a04d5cdf8422acc8118b23
6321 Author: Peng Wu <alexepico@gmail.com>
6322 Date: 2012-08-02 16:07:23 +0800
6323
6324 fixes make distcheck
6325
6326 M data/Makefile.am
6327 M po/POTFILES.in
6328 M po/POTFILES.skip
6329
6330 commit fc5600bf52ddf7bc272544f7a96ea3b44717ed3c
6331 Author: Peng Wu <alexepico@gmail.com>
6332 Date: 2012-08-02 14:51:58 +0800
6333
6334 add desktop files
6335
6336 M data/Makefile.am
6337 A data/ibus-setup-libbopomofo.desktop.in.in
6338 A data/ibus-setup-libpinyin.desktop.in.in
6339
6340 commit 07ae7e85a27089238363c23c83e89b7c6f5393b6
6341 Author: Peng Wu <alexepico@gmail.com>
6342 Date: 2012-08-02 11:24:39 +0800
6343
6344 polish aux text
6345
6346 M src/PYEnglishEditor.cc
6347 M src/PYEnglishEditor.h
6348 M src/PYStrokeEditor.cc
6349 M src/PYStrokeEditor.h
6350
6351 commit 88e6f403b0ed6a4eb33737c642d12b6fd462531b
6352 Author: Peng Wu <alexepico@gmail.com>
6353 Date: 2012-07-26 12:50:06 +0800
6354
6355 enable stroke editor
6356
6357 M src/Makefile.am
6358 M src/PYPPinyinEngine.cc
6359 M src/PYPPinyinEngine.h
6360
6361 commit 82f7ed8fe4f108fc5408708fa3dad6b29fc15448
6362 Author: Peng Wu <alexepico@gmail.com>
6363 Date: 2012-07-26 12:29:42 +0800
6364
6365 write stroke editor
6366
6367 M src/PYEnglishEditor.cc
6368 M src/PYStrokeEditor.cc
6369
6370 commit e11dd04794b63a956cc388e9a6494b29ad026545
6371 Author: Peng Wu <alexepico@gmail.com>
6372 Date: 2012-07-24 15:31:27 +0800
6373
6374 begin to write stroke editor
6375
6376 M src/PYEnglishEditor.cc
6377 M src/PYStrokeEditor.cc
6378
6379 commit 513c1bef69ad0813f31bf9b8cf0287bb266035ef
6380 Author: Peng Wu <alexepico@gmail.com>
6381 Date: 2012-07-23 13:18:55 +0800
6382
6383 update autoconf for stroke editor
6384
6385 M configure.ac
6386 M src/Makefile.am
6387 M src/PYStrokeEditor.cc
6388
6389 commit e4ddf0f70d56628e7a1cbfba521a0120c6447c4c
6390 Author: Peng Wu <alexepico@gmail.com>
6391 Date: 2012-07-23 13:08:43 +0800
6392
6393 polish code
6394
6395 M src/PYEnglishEditor.h
6396
6397 commit 5f944897168d6e4c25579752a459900480c27d6d
6398 Author: Peng Wu <alexepico@gmail.com>
6399 Date: 2012-07-23 13:08:27 +0800
6400
6401 add PYStrokeEditor.h
6402
6403 A src/PYStrokeEditor.h
6404
6405 commit 95cdd2bc87d74a4c908e2f91f1907ab353f77c59
6406 Author: Peng Wu <alexepico@gmail.com>
6407 Date: 2012-07-23 11:31:39 +0800
6408
6409 update Makefile.am
6410
6411 M data/Makefile.am
6412
6413 commit ed5fb85f0ac78119761e92c2d038961e17b637d8
6414 Author: Peng Wu <alexepico@gmail.com>
6415 Date: 2012-07-20 15:43:59 +0800
6416
6417 refine english editor
6418
6419 M src/PYEnglishEditor.cc
6420
6421 commit a1d11baae9a76eb690ca87e7e4a28e9d8295d99b
6422 Author: Peng Wu <alexepico@gmail.com>
6423 Date: 2012-07-20 15:42:36 +0800
6424
6425 write stroke database
6426
6427 A src/PYStrokeEditor.cc
6428
6429 commit 33073d91c1de88d161ba2251647f516dde21bd34
6430 Author: Peng Wu <alexepico@gmail.com>
6431 Date: 2012-07-20 10:08:49 +0800
6432
6433 add strokes
6434
6435 A data/strokes
6436
6437 commit 007a7871e4b6c0e7beb90ceba1abdd439eb2329b
6438 Author: Peng Wu <alexepico@gmail.com>
6439 Date: 2012-07-18 17:24:55 +0800
6440
6441 write strokes.awk
6442
6443 M data/english.awk
6444 A data/strokes.awk
6445
6446 commit 47e41081fcc385894c8aa2694fdad41db65db42e
6447 Author: Peng Wu <alexepico@gmail.com>
6448 Date: 2012-07-16 14:02:02 +0800
6449
6450 update lua test case
6451
6452 M lua/test.lua
6453
6454 commit 3a689ab38ca4d73b54df2475592a1839102c5344
6455 Author: Peng Wu <alexepico@gmail.com>
6456 Date: 2012-07-16 13:51:36 +0800
6457
6458 write register_converter
6459
6460 M lua/lua-plugin-init.c
6461
6462 commit dcdf9813c13856403142da5044ff6b51e2e2737d
6463 Author: Peng Wu <alexepico@gmail.com>
6464 Date: 2012-07-16 13:43:13 +0800
6465
6466 write int_to_hex_string
6467
6468 M lua/lua-plugin-init.c
6469
6470 commit 6a422d70a223a059393432ff45f7c1c3b1b44ae0
6471 Author: Peng Wu <alexepico@gmail.com>
6472 Date: 2012-07-16 13:24:15 +0800
6473
6474 write utf8/utf16 conversion
6475
6476 M lua/lua-plugin-init.c
6477
6478 commit 9634aef4f33bca66f1634f305860131c22c722ac
6479 Author: Peng Wu <alexepico@gmail.com>
6480 Date: 2012-07-10 14:00:14 +0800
6481
6482 fixes selectCandidate for full pinyin
6483
6484 M src/PYPPhoneticEditor.cc
6485
6486 commit 2d8a65fdcefe0a8809740adb86f3d45d8c454793
6487 Author: Peng Wu <alexepico@gmail.com>
6488 Date: 2012-07-09 15:50:04 +0800
6489
6490 fixes updatePinyin
6491
6492 M src/PYPBopomofoEditor.cc
6493 M src/PYPDoublePinyinEditor.cc
6494 M src/PYPFullPinyinEditor.cc
6495 M src/PYPPhoneticEditor.cc
6496
6497 commit a727155dc7dfeac0ac52e89c101003b9b2481a86
6498 Author: Peng Wu <alexepico@gmail.com>
6499 Date: 2012-07-09 13:29:18 +0800
6500
6501 use divided table for full pinyin
6502
6503 M src/PYLibPinyin.cc
6504
6505 commit 87c19323a056947e42b573e92dfd4e29e320d99b
6506 Author: Peng Wu <alexepico@gmail.com>
6507 Date: 2012-07-09 13:20:15 +0800
6508
6509 improves full pinyin mode
6510
6511 M src/PYPFullPinyinEditor.cc
6512 M src/PYPFullPinyinEditor.h
6513
6514 commit 155103f5528d450c05c8639c64c8fef2cb9e52bd
6515 Author: Peng Wu <alexepico@gmail.com>
6516 Date: 2012-07-09 13:11:45 +0800
6517
6518 fixes selectCandidate
6519
6520 M src/PYPPhoneticEditor.cc
6521
6522 commit a742f0e61a9cc81ee14f5d66070bede4a737fa18
6523 Author: Peng Wu <alexepico@gmail.com>
6524 Date: 2012-07-04 15:19:05 +0800
6525
6526 uses pinyin_load_phrase_library
6527
6528 M src/PYLibPinyin.cc
6529
6530 commit e16682240d6df8777a7b6605811258b5ec71cec1
6531 Author: Peng Wu <alexepico@gmail.com>
6532 Date: 2012-07-04 13:19:47 +0800
6533
6534 fixes fillLookupTableByPage
6535
6536 M src/PYPPhoneticEditor.cc
6537
6538 commit 26b0d48bdb4fdefea795862c9a58acdb9cfb1b96
6539 Author: Peng Wu <alexepico@gmail.com>
6540 Date: 2012-07-04 10:44:04 +0800
6541
6542 fixes fillLookupTableByPage
6543
6544 M src/PYPPhoneticEditor.cc
6545
6546 commit 0cb429b5bfa96f19705bf8ada56efdd2a0876a33
6547 Author: Peng Wu <alexepico@gmail.com>
6548 Date: 2012-07-04 10:35:38 +0800
6549
6550 fixes reset
6551
6552 M src/PYPPhoneticEditor.cc
6553
6554 commit 3f74c3c61b3ea4b0fe13dfe3555477fc68c5d673
6555 Author: Peng Wu <alexepico@gmail.com>
6556 Date: 2012-07-04 10:23:56 +0800
6557
6558 fixes fillLookupTableByPage
6559
6560 M src/PYPPhoneticEditor.cc
6561
6562 commit 268b6cb3d7be7ccbf1a38afcfc2220fab00077d7
6563 Author: Peng Wu <alexepico@gmail.com>
6564 Date: 2012-07-04 10:13:09 +0800
6565
6566 fixes getPinyinCursor
6567
6568 M src/PYPPhoneticEditor.cc
6569
6570 commit c4476db5b591139c3c9c0f388be87459d550ec81
6571 Author: Peng Wu <alexepico@gmail.com>
6572 Date: 2012-07-03 16:28:17 +0800
6573
6574 bump version 1.4.1
6575
6576 M configure.ac
6577
6578 commit c28adc1cd6758b61d8f2a07eff9d8d9c9ea9f2a4
6579 Author: Peng Wu <alexepico@gmail.com>
6580 Date: 2012-07-03 11:31:10 +0800
6581
6582 update to use libpinyin 0.7.x
6583
6584 M src/PYPPhoneticEditor.cc
6585 M src/PYPPhoneticEditor.h
6586
6587 commit ae458c78989739e3b97fc1bfe6a1e0191d6d8607
6588 Author: Peng Wu <alexepico@gmail.com>
6589 Date: 2012-06-13 11:00:58 +0800
6590
6591 update ibus-libpinyin.spec.in
6592
6593 M ibus-libpinyin.spec.in
6594
6595 commit 6605d6974c2f7de659b5374d3bf45af4cdeaf36d
6596 Author: Peng Wu <alexepico@gmail.com>
6597 Date: 2012-06-12 14:05:43 +0800
6598
6599 update fsf address
6600
6601 M Makefile.am
6602 M configure.ac
6603 M data/Makefile.am
6604 M data/db/android/Makefile.am
6605 M lua/Makefile.am
6606 M m4/Makefile.am
6607 M setup/Makefile.am
6608 M setup/ibus-setup-libpinyin.in
6609 M setup/main2.py
6610 M setup/version.py.in
6611 M src/Makefile.am
6612
6613 commit 171bce8e19fb2035108a12dc5b8be1e57dc710dc
6614 Author: Peng Wu <alexepico@gmail.com>
6615 Date: 2012-06-12 14:02:30 +0800
6616
6617 update fsf address
6618
6619 M lua/lua-ext-console.c
6620 M lua/lua-plugin-init.c
6621 M lua/lua-plugin.c
6622 M lua/lua-plugin.h
6623 M lua/test-lua-plugin.c
6624 M src/PYBus.h
6625 M src/PYConfig.cc
6626 M src/PYConfig.h
6627 M src/PYDynamicSpecialPhrase.cc
6628 M src/PYDynamicSpecialPhrase.h
6629 M src/PYEditor.cc
6630 M src/PYEditor.h
6631 M src/PYEngine.cc
6632 M src/PYEngine.h
6633 M src/PYEnglishEditor.cc
6634 M src/PYEnglishEditor.h
6635 M src/PYExtEditor.cc
6636 M src/PYExtEditor.h
6637 M src/PYFallbackEditor.cc
6638 M src/PYFallbackEditor.h
6639 M src/PYHalfFullConverter.cc
6640 M src/PYHalfFullConverter.h
6641 M src/PYLibPinyin.cc
6642 M src/PYLibPinyin.h
6643 M src/PYLookupTable.h
6644 M src/PYMain.cc
6645 M src/PYObject.h
6646 M src/PYPBopomofoEditor.cc
6647 M src/PYPBopomofoEditor.h
6648 M src/PYPBopomofoEngine.cc
6649 M src/PYPBopomofoEngine.h
6650 M src/PYPConfig.cc
6651 M src/PYPConfig.h
6652 M src/PYPDoublePinyinEditor.cc
6653 M src/PYPDoublePinyinEditor.h
6654 M src/PYPFullPinyinEditor.cc
6655 M src/PYPFullPinyinEditor.h
6656 M src/PYPPhoneticEditor.cc
6657 M src/PYPPhoneticEditor.h
6658 M src/PYPPinyinEditor.cc
6659 M src/PYPPinyinEditor.h
6660 M src/PYPPinyinEngine.cc
6661 M src/PYPPinyinEngine.h
6662 M src/PYPinyinProperties.cc
6663 M src/PYPinyinProperties.h
6664 M src/PYPointer.h
6665 M src/PYProperty.h
6666 M src/PYPunctEditor.cc
6667 M src/PYPunctEditor.h
6668 M src/PYRawEditor.h
6669 M src/PYRegex.h
6670 M src/PYSignal.h
6671 M src/PYSimpTradConverter.cc
6672 M src/PYSimpTradConverter.h
6673 M src/PYSpecialPhrase.cc
6674 M src/PYSpecialPhrase.h
6675 M src/PYSpecialPhraseTable.cc
6676 M src/PYSpecialPhraseTable.h
6677 M src/PYString.h
6678 M src/PYText.h
6679 M src/PYTypes.h
6680 M src/PYUtil.h
6681
6682 commit 729a9fc188632ee58122de88e64d72550578057b
6683 Author: Peng Wu <alexepico@gmail.com>
6684 Date: 2012-06-11 12:59:08 +0800
6685
6686 update main2.py
6687
6688 M setup/main2.py
6689
6690 commit acace0e530b29b2f07b492a88fed118ebafd5c7e
6691 Author: Peng Wu <alexepico@gmail.com>
6692 Date: 2012-06-08 11:27:12 +0800
6693
6694 update spec.in
6695
6696 M ibus-libpinyin.spec.in
6697
6698 commit 78b8e5284f4770a4ee23a4347c29f3f31df16ce9
6699 Author: Peng Wu <alexepico@gmail.com>
6700 Date: 2012-06-07 17:57:39 +0800
6701
6702 update spec.in
6703
6704 M ibus-libpinyin.spec.in
6705
6706 commit 1e93f257c2b68ecc25e0dcf38918a1fbd928b753
6707 Author: Peng Wu <alexepico@gmail.com>
6708 Date: 2012-06-07 17:43:31 +0800
6709
6710 clean up files
6711
6712 D codereview.settings
6713
6714 commit 2e391876b1916294d176ba21e8921d5f027547ee
6715 Author: Peng Wu <alexepico@gmail.com>
6716 Date: 2012-06-07 11:54:45 +0800
6717
6718 remove debian
6719
6720 D debian/changelog.in
6721 D debian/compat
6722 D debian/control
6723 D debian/copyright
6724 D debian/docs
6725 D debian/ibus-pinyin.lintian-overrides
6726 D debian/rules
6727 D debian/source/format
6728 D debian/watch
6729
6730 commit d6a87b8924d8831de6bae4b0496514e8be2ea20e
6731 Author: Peng Wu <alexepico@gmail.com>
6732 Date: 2012-06-06 14:19:38 +0800
6733
6734 update README
6735
6736 M README
6737
6738 commit 652087dca8a13b108a7d1062c422454414750b12
6739 Author: Peng Wu <alexepico@gmail.com>
6740 Date: 2012-06-06 14:17:32 +0800
6741
6742 update PYMain.cc
6743
6744 M src/PYMain.cc
6745
6746 commit c321d2159117fcad1913d1610097e32d2880a69a
6747 Author: Peng Wu <alexepico@gmail.com>
6748 Date: 2012-06-06 14:02:27 +0800
6749
6750 update configure.ac
6751
6752 M configure.ac
6753
6754 commit ffca46c0df2a6795b16a4798f0cece3c0058370c
6755 Author: Peng Wu <alexepico@gmail.com>
6756 Date: 2012-06-06 13:51:17 +0800
6757
6758 update scripts
6759
6760 M setup/main2.py
6761 M setup/version.py.in
6762
6763 commit ec434b4976ec46df7220443e9fed0e09e27f501e
6764 Author: Peng Wu <alexepico@gmail.com>
6765 Date: 2012-06-06 13:49:41 +0800
6766
6767 update lua
6768
6769 M lua/lua-ext-console.c
6770 M lua/lua-plugin-init.c
6771
6772 commit 4de6472ff2009b4bceb73258d29ced2a0ca9cb52
6773 Author: Peng Wu <alexepico@gmail.com>
6774 Date: 2012-06-06 13:48:00 +0800
6775
6776 update Makefile.am
6777
6778 M Makefile.am
6779 M data/Makefile.am
6780 M data/db/android/Makefile.am
6781 M data/icons/Makefile.am
6782 M lua/Makefile.am
6783 M m4/Makefile.am
6784 M setup/Makefile.am
6785 M src/Makefile.am
6786
6787 commit 68f5fd1e62b513dd1aeec7c3fae7e18b8ebaec09
6788 Author: Peng Wu <alexepico@gmail.com>
6789 Date: 2012-06-06 13:45:47 +0800
6790
6791 update lua
6792
6793 M lua/lua-ext-console.c
6794 M lua/lua-plugin-init.c
6795 M lua/lua-plugin.c
6796 M lua/lua-plugin.h
6797 M lua/test-lua-plugin.c
6798
6799 commit 1c9a7295dcc1da382bf83a516f39a0e36ccfc4c8
6800 Author: Peng Wu <alexepico@gmail.com>
6801 Date: 2012-06-06 13:45:12 +0800
6802
6803 update src
6804
6805 M src/PYBus.h
6806 M src/PYConfig.cc
6807 M src/PYConfig.h
6808 M src/PYDynamicSpecialPhrase.cc
6809 M src/PYDynamicSpecialPhrase.h
6810 M src/PYEditor.cc
6811 M src/PYEditor.h
6812 M src/PYEngine.cc
6813 M src/PYEngine.h
6814 M src/PYEnglishEditor.cc
6815 M src/PYEnglishEditor.h
6816 M src/PYExtEditor.cc
6817 M src/PYExtEditor.h
6818 M src/PYFallbackEditor.cc
6819 M src/PYFallbackEditor.h
6820 M src/PYHalfFullConverter.cc
6821 M src/PYHalfFullConverter.h
6822 M src/PYLibPinyin.cc
6823 M src/PYLibPinyin.h
6824 M src/PYLookupTable.h
6825 M src/PYMain.cc
6826 M src/PYObject.h
6827 M src/PYPBopomofoEditor.cc
6828 M src/PYPBopomofoEditor.h
6829 M src/PYPBopomofoEngine.cc
6830 M src/PYPBopomofoEngine.h
6831 M src/PYPConfig.cc
6832 M src/PYPConfig.h
6833 M src/PYPDoublePinyinEditor.cc
6834 M src/PYPDoublePinyinEditor.h
6835 M src/PYPFullPinyinEditor.cc
6836 M src/PYPFullPinyinEditor.h
6837 M src/PYPPhoneticEditor.cc
6838 M src/PYPPhoneticEditor.h
6839 M src/PYPPinyinEditor.cc
6840 M src/PYPPinyinEditor.h
6841 M src/PYPPinyinEngine.cc
6842 M src/PYPPinyinEngine.h
6843 M src/PYPinyinProperties.cc
6844 M src/PYPinyinProperties.h
6845 M src/PYPointer.h
6846 M src/PYProperty.h
6847 M src/PYPunctEditor.cc
6848 M src/PYPunctEditor.h
6849 M src/PYRawEditor.h
6850 M src/PYRegex.h
6851 M src/PYSignal.h
6852 M src/PYSimpTradConverter.cc
6853 M src/PYSimpTradConverter.h
6854 M src/PYSpecialPhrase.cc
6855 M src/PYSpecialPhrase.h
6856 M src/PYSpecialPhraseTable.cc
6857 M src/PYSpecialPhraseTable.h
6858 M src/PYString.h
6859 M src/PYText.h
6860 M src/PYTypes.h
6861 M src/PYUtil.h
6862
6863 commit 550c0d82cdff8b53b934c0a0c78f58244de96553
6864 Author: Peng Wu <alexepico@gmail.com>
6865 Date: 2012-06-06 13:35:31 +0800
6866
6867 update fr.po
6868
6869 M po/fr.po
6870
6871 commit e6cadcf945641a3c940174b9f07791b0a4011442
6872 Author: Peng Huang <shawn.p.huang@gmail.com>
6873 Date: 2012-03-22 10:45:45 -0400
6874
6875 Add French translation from Jiehong Ma
6876
6877 BUG=None
6878 TEST=Make
6879
6880 Review URL: https://codereview.appspot.com/5865049
6881
6882 M AUTHORS
6883 M po/LINGUAS
6884 A po/fr.po
6885
6886 commit e72e8bed3624942615fa478b071f211c96af3186
6887 Author: Peng Wu <alexepico@gmail.com>
6888 Date: 2012-06-06 11:07:31 +0800
6889
6890 clean db
6891
6892 D src/main.db
6893
6894 commit 82cc031c6537d55c84722ad420e431dc71eefecd
6895 Author: Peng Wu <alexepico@gmail.com>
6896 Date: 2012-06-06 11:02:54 +0800
6897
6898 clean android db
6899
6900 D data/db/Makefile.am
6901 D data/db/android/id.py
6902 D data/db/android/pydict.py
6903 D data/db/create_index.sql
6904
6905 commit 149eb1967a2b7da86e934c79fa6d62cb673bf885
6906 Author: Peng Wu <alexepico@gmail.com>
6907 Date: 2012-06-06 11:00:07 +0800
6908
6909 clean scripts
6910
6911 D scripts/id.py
6912 D scripts/pydict.py
6913 D scripts/pyutil.py
6914
6915 commit 949bfb012c97a71435e627ed48b4f2205a6a7d39
6916 Author: Peng Wu <alexepico@gmail.com>
6917 Date: 2012-06-06 10:38:08 +0800
6918
6919 clean scripts
6920
6921 D scripts/bopomofo.py
6922 D scripts/double.py
6923 D scripts/genbopomofokeyboard.py
6924 D scripts/genpytable.py
6925
6926 commit 4d8398255acc7556bb45c34cd2cb77dbe6d2ae3e
6927 Author: Peng Wu <alexepico@gmail.com>
6928 Date: 2012-06-06 10:32:53 +0800
6929
6930 remove scripts
6931
6932 D scripts/addheader.py
6933 D scripts/header
6934
6935 commit 928a7cce363dee8b42452bc0cf99c6070c6d4626
6936 Author: Peng Wu <alexepico@gmail.com>
6937 Date: 2012-06-06 10:29:27 +0800
6938
6939 clean up scripts
6940
6941 D data/db/android/create_db.py
6942 D scripts/Makefile
6943 D scripts/create_db.py
6944 D scripts/create_index.py
6945 D scripts/create_unique_index.py
6946
6947 commit eb35544148080f975b82ba279653cf9e4e7c589a
6948 Author: Peng Wu <alexepico@gmail.com>
6949 Date: 2012-06-04 09:21:36 +0800
6950
6951 update *.po
6952
6953 M po/ru.po
6954 M po/zh_CN.po
6955 M po/zh_HK.po
6956 M po/zh_TW.po
6957
6958 commit 5226ce8b3e72f2ed3727e10ac21477ebdba1a0c1
6959 Author: Peng Wu <alexepico@gmail.com>
6960 Date: 2012-06-04 09:19:00 +0800
6961
6962 update main2.py
6963
6964 M setup/main2.py
6965
6966 commit 2bd60050bde533846bab6d63e585430aaa9e418b
6967 Author: Peng Wu <alexepico@gmail.com>
6968 Date: 2012-06-01 17:39:23 +0800
6969
6970 fixes ibus-setup-libpinyin.in
6971
6972 M setup/ibus-setup-libpinyin.in
6973
6974 commit f07ef4416614262dd9d144b762aad7f908166b54
6975 Author: Peng Wu <alexepico@gmail.com>
6976 Date: 2012-06-01 15:47:06 +0800
6977
6978 update Makefile.am
6979
6980 M Makefile.am
6981
6982 commit db0dfc0fae8de7b3cf83746dc8a082c9fcf7ec3f
6983 Author: Peng Wu <alexepico@gmail.com>
6984 Date: 2012-06-01 15:46:31 +0800
6985
6986 remove googlecode_upload.py
6987
6988 D tools/googlecode_upload.py
6989
6990 commit 5940250360c06324be9e31bd1072328137a47a51
6991 Author: Peng Wu <alexepico@gmail.com>
6992 Date: 2012-06-01 15:00:58 +0800
6993
6994 fixes rpm build
6995
6996 M autogen.sh
6997 M ibus-libpinyin.spec.in
6998 M setup/Makefile.am
6999
7000 commit 2bff621cb26a6141ed5e28f92d20452ec771aea4
7001 Author: Peng Wu <alexepico@gmail.com>
7002 Date: 2012-06-01 13:03:05 +0800
7003
7004 remove PYBopomofo.h
7005
7006 M src/Makefile.am
7007 D src/PYBopomofo.h
7008
7009 commit 1fdda7f796bbf8c953a6ff9b64c68fdeb9044cf0
7010 Author: Peng Wu <alexepico@gmail.com>
7011 Date: 2012-06-01 11:56:47 +0800
7012
7013 update ibus pathname
7014
7015 M src/PYMain.cc
7016 M src/libpinyin.xml.in.in
7017
7018 commit 61f47b0dcedffe35b984c873dc7b35b5ab4c448b
7019 Author: Peng Wu <alexepico@gmail.com>
7020 Date: 2012-06-01 11:49:18 +0800
7021
7022 update .gitignore
7023
7024 M .gitignore
7025
7026 commit 4aa64d6ac11b9e5aafaa404469c5550ffb1321f5
7027 Author: Peng Wu <alexepico@gmail.com>
7028 Date: 2012-06-01 11:43:44 +0800
7029
7030 update ibus-libpinyin.spec.in
7031
7032 M ibus-libpinyin.spec.in
7033
7034 commit e73f59fef83b3076ccc163a239d3e36566b315d2
7035 Author: Peng Wu <alexepico@gmail.com>
7036 Date: 2012-06-01 11:29:18 +0800
7037
7038 update Makefile.am
7039
7040 M Makefile.am
7041 M src/Makefile.am
7042
7043 commit ce965dca5d815cedac1858fd1db6f542177f01b3
7044 Author: Peng Wu <alexepico@gmail.com>
7045 Date: 2012-06-01 11:24:35 +0800
7046
7047 update configure.ac
7048
7049 M configure.ac
7050 R100 ibus-pinyin.spec.in ibus-libpinyin.spec.in
7051 R100 src/pinyin.xml.in.in src/libpinyin.xml.in.in
7052
7053 commit b20cb8d0a3f921672f18236aa8ba12ab9d0cc292
7054 Author: Peng Wu <alexepico@gmail.com>
7055 Date: 2012-05-31 11:13:46 +0800
7056
7057 remove old files
7058
7059 D src/PYPhrase.h
7060 D src/PYPhraseArray.h
7061 D src/PYPinyinArray.h
7062
7063 commit d3fd64168da469875adb5de72ca482582fa7e4db
7064 Author: Peng Wu <alexepico@gmail.com>
7065 Date: 2012-05-31 11:13:33 +0800
7066
7067 update Makefile.am
7068
7069 M src/Makefile.am
7070
7071 commit c54cf0915b71e6424097b762056df1e437a9ef6e
7072 Author: Peng Wu <alexepico@gmail.com>
7073 Date: 2012-05-30 14:50:51 +0800
7074
7075 fixes build
7076
7077 M configure.ac
7078 M po/POTFILES.in
7079
7080 commit 75852ad1e28e031a618eb698b1b0f1797ac2b7b9
7081 Author: Peng Wu <alexepico@gmail.com>
7082 Date: 2012-05-30 14:49:04 +0800
7083
7084 update setup/Makefile.am
7085
7086 M setup/Makefile.am
7087
7088 commit 8b830a632196f887cbbab85a21c0f83f74fa4bb9
7089 Author: Peng Wu <alexepico@gmail.com>
7090 Date: 2012-05-30 14:47:21 +0800
7091
7092 clean old files
7093
7094 D setup/ibus-pinyin-preferences.ui
7095 D setup/ibus-setup-pinyin.in
7096 D setup/main.py
7097
7098 commit 8c08f5a4696d102467ebdbdada09265b2903035a
7099 Author: Peng Wu <alexepico@gmail.com>
7100 Date: 2012-05-30 14:26:23 +0800
7101
7102 update po/POTFILES.in
7103
7104 M po/POTFILES.in
7105
7106 commit fd503af86b179da3f9457cb64554a86015e15ce5
7107 Author: Peng Wu <alexepico@gmail.com>
7108 Date: 2012-05-30 14:23:53 +0800
7109
7110 update po/POTFILES.in
7111
7112 M po/POTFILES.in
7113
7114 commit 0ae300af8c4a1c05a3f51cb49e36b6e51eb6964d
7115 Author: Peng Wu <alexepico@gmail.com>
7116 Date: 2012-05-30 14:20:12 +0800
7117
7118 update src/Makefile.am
7119
7120 M src/Makefile.am
7121
7122 commit 0f9a8b59a5b06e054fd732cef30167f7f03ce554
7123 Author: Peng Wu <alexepico@gmail.com>
7124 Date: 2012-05-30 14:11:11 +0800
7125
7126 remove open-phrase db
7127
7128 D data/db/open-phrase/Makefile.am
7129
7130 commit 8856391c70074bbaa834a06c9f0651825f8c7689
7131 Author: Peng Wu <alexepico@gmail.com>
7132 Date: 2012-05-30 14:10:00 +0800
7133
7134 Revert "remove android db and open-phrase db"
7135
7136 This reverts commit f422b98164096cf038008e4c3788cbfbbb651a89.
7137
7138 A data/db/Makefile.am
7139 A data/db/android/Makefile.am
7140 A data/db/android/README
7141 A data/db/android/create_db.py
7142 A data/db/android/create_valid_hanzi.py
7143 A data/db/android/id.py
7144 A data/db/android/pydict.py
7145 A data/db/android/rawdict_utf16_65105_freq.txt
7146 A data/db/android/valid_hanzi.py
7147 A data/db/android/valid_utf16.txt
7148 A data/db/create_index.sql
7149 A data/db/open-phrase/Makefile.am
7150
7151 commit 945aaccfbcc49ee35d6102a63afd495f16c291a2
7152 Author: Peng Wu <alexepico@gmail.com>
7153 Date: 2012-05-30 14:02:42 +0800
7154
7155 update ibus-pinyin.spec.in
7156
7157 M Makefile.am
7158 M ibus-pinyin.spec.in
7159 M po/POTFILES.skip
7160
7161 commit c6086e369c9cbc2c19757301971e3d1e7f0e854d
7162 Author: Peng Wu <alexepico@gmail.com>
7163 Date: 2012-05-30 13:58:27 +0800
7164
7165 update configure.ac
7166
7167 M configure.ac
7168
7169 commit f422b98164096cf038008e4c3788cbfbbb651a89
7170 Author: Peng Wu <alexepico@gmail.com>
7171 Date: 2012-05-30 13:56:53 +0800
7172
7173 remove android db and open-phrase db
7174
7175 D data/db/Makefile.am
7176 D data/db/android/Makefile.am
7177 D data/db/android/README
7178 D data/db/android/create_db.py
7179 D data/db/android/create_valid_hanzi.py
7180 D data/db/android/id.py
7181 D data/db/android/pydict.py
7182 D data/db/android/rawdict_utf16_65105_freq.txt
7183 D data/db/android/valid_hanzi.py
7184 D data/db/android/valid_utf16.txt
7185 D data/db/create_index.sql
7186 D data/db/open-phrase/Makefile.am
7187
7188 commit 9a90fbabfdbd988db6a021fda90bc986a74eee37
7189 Author: Peng Wu <alexepico@gmail.com>
7190 Date: 2012-05-30 13:55:44 +0800
7191
7192 update Makefile.am
7193
7194 M data/Makefile.am
7195
7196 commit 12eef51db34a6e1e1071c7cdd4a6512c37a5cd9b
7197 Author: Peng Wu <alexepico@gmail.com>
7198 Date: 2012-05-30 13:54:55 +0800
7199
7200 clean up pinyin.xml.in.in
7201
7202 M src/pinyin.xml.in.in
7203
7204 commit 84a75bd8a0b3139a96fe32408210083f4d35847c
7205 Author: Peng Wu <alexepico@gmail.com>
7206 Date: 2012-05-30 13:53:45 +0800
7207
7208 update Makefile.am
7209
7210 M src/Makefile.am
7211
7212 commit 02d8d300157556f3b1db41d7affdddaa5f1b32e1
7213 Author: Peng Wu <alexepico@gmail.com>
7214 Date: 2012-05-30 13:52:19 +0800
7215
7216 remove old files
7217
7218 D src/PYBopomofoKeyboard.h
7219
7220 commit b5175e393b0e6d8106201f5b0d470f70c12fd8c5
7221 Author: Peng Wu <alexepico@gmail.com>
7222 Date: 2012-05-30 13:51:34 +0800
7223
7224 update Makefile.am
7225
7226 M src/Makefile.am
7227
7228 commit 3d61124c8a180b6044c5ec11c2fbb55b4c72ce74
7229 Author: Peng Wu <alexepico@gmail.com>
7230 Date: 2012-05-30 13:50:21 +0800
7231
7232 remove old files
7233
7234 M src/PYConfig.cc
7235 D src/PYDoublePinyinTable.h
7236 D src/PYPinyinParserTable.h
7237
7238 commit c9f554219d36a74ecc7d9de36bac935c73bc0306
7239 Author: Peng Wu <alexepico@gmail.com>
7240 Date: 2012-05-30 13:47:20 +0800
7241
7242 fixes compile
7243
7244 M src/PYConfig.cc
7245 M src/PYMain.cc
7246
7247 commit 22f04155f71ff5d4e9d003bf98296acde385bacc
7248 Author: Peng Wu <alexepico@gmail.com>
7249 Date: 2012-05-30 13:46:07 +0800
7250
7251 clean up PYConfig.h/cc
7252
7253 M src/PYConfig.cc
7254 M src/PYConfig.h
7255
7256 commit 6c791870980d208623893b727394607b5300ac3e
7257 Author: Peng Wu <alexepico@gmail.com>
7258 Date: 2012-05-30 13:41:35 +0800
7259
7260 clean up PYMain.cc
7261
7262 M src/PYMain.cc
7263
7264 commit 7862a2683f6358e7b04c3a94a14e9abebe0570be
7265 Author: Peng Wu <alexepico@gmail.com>
7266 Date: 2012-05-30 13:39:18 +0800
7267
7268 fixes compile
7269
7270 M src/PYEngine.cc
7271 M src/PYMain.cc
7272
7273 commit 692728d5de414766be9faf81d298facec4cc94b2
7274 Author: Peng Wu <alexepico@gmail.com>
7275 Date: 2012-05-30 13:32:41 +0800
7276
7277 update Makefile.am
7278
7279 M src/Makefile.am
7280
7281 commit 0be5dc6e762d622c3d0662a6f4d1d54f26b187ed
7282 Author: Peng Wu <alexepico@gmail.com>
7283 Date: 2012-05-30 13:31:29 +0800
7284
7285 remove old files
7286
7287 D src/PYBopomofoEditor.cc
7288 D src/PYBopomofoEditor.h
7289 D src/PYBopomofoEngine.cc
7290 D src/PYBopomofoEngine.h
7291 D src/PYDoublePinyinEditor.cc
7292 D src/PYDoublePinyinEditor.h
7293 D src/PYFullPinyinEditor.cc
7294 D src/PYFullPinyinEditor.h
7295
7296 commit 08e18cd2e90d748b191d974768d7c77c7dc00de6
7297 Author: Peng Wu <alexepico@gmail.com>
7298 Date: 2012-05-30 13:30:16 +0800
7299
7300 update Makefile.am
7301
7302 M src/Makefile.am
7303
7304 commit 8496189f89f5d25624f63459803225419904444b
7305 Author: Peng Wu <alexepico@gmail.com>
7306 Date: 2012-05-30 13:27:00 +0800
7307
7308 remove old files
7309
7310 D src/PYDatabase.cc
7311 D src/PYDatabase.h
7312 D src/PYPhoneticEditor.cc
7313 D src/PYPhoneticEditor.h
7314 D src/PYPhraseEditor.cc
7315 D src/PYPhraseEditor.h
7316 D src/PYPinyinEditor.cc
7317 D src/PYPinyinEditor.h
7318 D src/PYPinyinEngine.cc
7319 D src/PYPinyinEngine.h
7320 D src/PYPinyinParser.cc
7321 D src/PYPinyinParser.h
7322
7323 commit 3717bfcf2b5334c4d5800cb2239ab33410e7c26a
7324 Author: Peng Wu <alexepico@gmail.com>
7325 Date: 2012-04-17 12:45:47 +0800
7326
7327 update pinyin_choose_candidate
7328
7329 M src/PYPPhoneticEditor.cc
7330
7331 commit 7a2b74326e066f4672207199971c9ce41dc31a39
7332 Author: Peng Wu <alexepico@gmail.com>
7333 Date: 2012-04-10 10:48:36 +0800
7334
7335 fixes commit in bopomofo editor
7336
7337 M src/PYPBopomofoEditor.cc
7338
7339 commit 0ff6dabf0a1c0e5678487d8d273b21e2a1c65ff0
7340 Author: Peng Wu <alexepico@gmail.com>
7341 Date: 2012-04-01 14:52:28 +0800
7342
7343 polish setup ui
7344
7345 M setup/ibus-libpinyin-preferences.ui
7346 M setup/main2.py
7347
7348 commit 26067f84fb3793e9559f60d3caf70404dad99458
7349 Author: Peng Wu <alexepico@gmail.com>
7350 Date: 2012-03-27 12:14:16 +0800
7351
7352 update setup ui
7353
7354 M setup/ibus-libpinyin-preferences.ui
7355
7356 commit 1cf2c71ff9612ddbea6b2c3f69ffb773ec1f242a
7357 Author: Peng Wu <alexepico@gmail.com>
7358 Date: 2012-03-27 11:59:38 +0800
7359
7360 update libpinyin setup
7361
7362 M setup/main2.py
7363 M src/PYPConfig.cc
7364
7365 commit c8990ccfce7a17aeaf91a72dfa585e60a71192a6
7366 Author: Peng Wu <alexepico@gmail.com>
7367 Date: 2012-03-26 14:00:26 +0800
7368
7369 update setup ui
7370
7371 M setup/ibus-libpinyin-preferences.ui
7372
7373 commit fbe55876db048bc375c99d0b7fa7dc023061d0b9
7374 Author: Peng Wu <alexepico@gmail.com>
7375 Date: 2012-03-26 13:58:35 +0800
7376
7377 update setup dialog
7378
7379 M configure.ac
7380 M setup/Makefile.am
7381 A setup/ibus-setup-libpinyin.in
7382 M setup/main2.py
7383 M src/PYPBopomofoEngine.cc
7384 M src/PYPPinyinEngine.cc
7385
7386 commit d093c2d0837266fe21ff01016819dd4e2bfdd83c
7387 Author: Peng Wu <alexepico@gmail.com>
7388 Date: 2012-03-26 13:50:28 +0800
7389
7390 update main.py
7391
7392 M setup/main.py
7393 M setup/main2.py
7394
7395 commit 0774ffed825adcf4cc3c1f9112be478a2be48918
7396 Author: Peng Wu <alexepico@gmail.com>
7397 Date: 2012-03-26 12:07:01 +0800
7398
7399 fork setup ui
7400
7401 A setup/ibus-libpinyin-preferences.ui
7402 A setup/main2.py
7403
7404 commit 17a3ca51fccbbda4520be38ebbdc8f45673ffdff
7405 Author: Peng Wu <alexepico@gmail.com>
7406 Date: 2012-03-20 15:45:58 +0800
7407
7408 remove ibus dconf work around
7409
7410 M src/PYConfig.cc
7411 M src/PYPConfig.cc
7412
7413 commit e352759e39907c1f6152bade4d1559d31916a0e2
7414 Author: Peng Wu <alexepico@gmail.com>
7415 Date: 2012-02-15 15:17:38 +0800
7416
7417 fixes pinyin.xml.in.in
7418
7419 M src/pinyin.xml.in.in
7420
7421 commit de0ae3f9568f3d139a0790f23d2cba948d1180cf
7422 Author: Peng Wu <alexepico@gmail.com>
7423 Date: 2012-02-15 13:32:19 +0800
7424
7425 clean pinyin.xml.in.in
7426
7427 M src/pinyin.xml.in.in
7428
7429 commit 3ccb1e9dadc52dcaa31f7f8cce9edac8a6b3d498
7430 Author: Peng Wu <alexepico@gmail.com>
7431 Date: 2012-02-09 11:09:40 +0800
7432
7433 update pinyin.xml
7434
7435 M src/pinyin.xml.in.in
7436
7437 commit e485aee4d5f1c0eb6abd6562f296e7dee3e92f3e
7438 Author: Peng Wu <alexepico@gmail.com>
7439 Date: 2012-02-07 11:38:04 +0800
7440
7441 use enter key to commit english word
7442
7443 M src/PYPPhoneticEditor.cc
7444
7445 commit 6565bdd3842e44647e007319b192193b36d396b2
7446 Author: Peng Wu <alexepico@gmail.com>
7447 Date: 2012-01-30 10:49:57 +0800
7448
7449 fixes process bopomofo
7450
7451 M src/PYPBopomofoEditor.cc
7452
7453 commit 48aa7a0e16f876464e0162db13c2162f12052e33
7454 Author: Peng Wu <alexepico@gmail.com>
7455 Date: 2012-01-30 10:36:27 +0800
7456
7457 fixes chewing options
7458
7459 M src/PYLibPinyin.cc
7460
7461 commit ddee3cc2d3154d7715261aa5d0b7593b8ab0cd73
7462 Author: Peng Wu <alexepico@gmail.com>
7463 Date: 2012-01-29 10:30:43 +0800
7464
7465 enable libbopomofo
7466
7467 M src/pinyin.xml.in.in
7468
7469 commit 6566626d54e59afbf32ada25e0ca32f0f7eda045
7470 Author: Peng Wu <alexepico@gmail.com>
7471 Date: 2012-01-29 10:20:35 +0800
7472
7473 fixes PYConfig.cc
7474
7475 M src/PYConfig.cc
7476 M src/PYPConfig.cc
7477
7478 commit f6b0dc8ef534ce7c514c99ba1706e91b1ce0b2fb
7479 Author: Peng Wu <alexepico@gmail.com>
7480 Date: 2012-01-16 13:31:27 +0800
7481
7482 fixes <num>+.<num>+
7483
7484 M src/PYPBopomofoEngine.cc
7485 M src/PYPPinyinEngine.cc
7486
7487 commit 37d46d80dd635e916549bb035a90be16cb433ade
7488 Author: Peng Wu <alexepico@gmail.com>
7489 Date: 2012-01-14 10:38:12 +0800
7490
7491 use USE_RESPLIT_TABLE
7492
7493 M src/PYLibPinyin.cc
7494
7495 commit e2139d4027af85160748af525f4d624f4b236347
7496 Author: Peng Wu <alexepico@gmail.com>
7497 Date: 2012-01-05 12:46:08 +0800
7498
7499 fixes PY::Config
7500
7501 M src/PYConfig.cc
7502
7503 commit 4bbebc9dd00b98304232e12231548dd78782d6c7
7504 Author: Peng Wu <alexepico@gmail.com>
7505 Date: 2011-12-29 18:06:46 +0800
7506
7507 fixes crash
7508
7509 M src/PYPPinyinEditor.cc
7510
7511 commit 998401f0c4c239fe6e804ab7b403b19c151fd13f
7512 Author: Peng Wu <alexepico@gmail.com>
7513 Date: 2011-12-28 14:39:53 +0800
7514
7515 work around gsettings
7516
7517 M src/PYPConfig.cc
7518
7519 commit e944e7d63af8152b20bffdd4ddeb3bd7fa786e31
7520 Author: Peng Wu <alexepico@gmail.com>
7521 Date: 2011-12-27 18:59:07 +0800
7522
7523 fixes code style
7524
7525 M src/PYLibPinyin.cc
7526 M src/PYMain.cc
7527 M src/PYPConfig.h
7528
7529 commit 27b889202f81006fb16566b4f460fd353a5ff689
7530 Author: Peng Wu <alexepico@gmail.com>
7531 Date: 2011-12-27 14:05:04 +0800
7532
7533 fixes crash
7534
7535 M src/PYPBopomofoEditor.cc
7536 M src/PYPFullPinyinEditor.cc
7537
7538 commit 9d175347f6bbe6b1655c34fee71fb7aad3b24e31
7539 Author: Peng Wu <alexepico@gmail.com>
7540 Date: 2011-12-27 10:47:15 +0800
7541
7542 fixes PYConfig
7543
7544 M src/PYConfig.cc
7545 M src/PYPConfig.cc
7546
7547 commit 163b21e23f0621e6cfaf424b914aa33bda891294
7548 Author: Peng Wu <alexepico@gmail.com>
7549 Date: 2011-12-22 10:54:11 +0800
7550
7551 switch to LibPinyin*Config
7552
7553 M src/PYLibPinyin.cc
7554 M src/PYMain.cc
7555 M src/PYPBopomofoEngine.cc
7556 M src/PYPPinyinEngine.cc
7557
7558 commit 98118c2e9ef40e1ce33806a03d206a0e6027e65f
7559 Author: Peng Wu <alexepico@gmail.com>
7560 Date: 2011-12-21 12:53:51 +0800
7561
7562 update bopomofo editor
7563
7564 M src/PYPBopomofoEditor.cc
7565 M src/PYPBopomofoEditor.h
7566 M src/PYPDoublePinyinEditor.cc
7567 M src/PYPFullPinyinEditor.cc
7568
7569 commit e0af17eacda954dadaf84c474e6dedd707986f80
7570 Author: Peng Wu <alexepico@gmail.com>
7571 Date: 2011-12-20 17:28:48 +0800
7572
7573 use new parsers
7574
7575 M src/Makefile.am
7576 M src/PYPBopomofoEditor.cc
7577 M src/PYPDoublePinyinEditor.cc
7578 M src/PYPFullPinyinEditor.cc
7579 M src/PYPPhoneticEditor.cc
7580 M src/PYPPhoneticEditor.h
7581 M src/PYPPinyinEditor.cc
7582
7583 commit fa92d8b0c2100ed37983f1bd210695d16ce9182b
7584 Author: Peng Wu <alexepico@gmail.com>
7585 Date: 2011-12-20 17:05:00 +0800
7586
7587 forked PY::Config
7588
7589 M src/PYLibPinyin.cc
7590 M src/PYLibPinyin.h
7591
7592 commit 904ce4a5ade3e04c063081b549b75efafad73f56
7593 Author: Peng Wu <alexepico@gmail.com>
7594 Date: 2011-12-20 16:42:41 +0800
7595
7596 add LibPinyin Config
7597
7598 M src/Makefile.am
7599 A src/PYPConfig.cc
7600 A src/PYPConfig.h
7601
7602 commit 31abb4ac2825319bd33bd9f6748cc4627ab5311e
7603 Author: Peng Wu <alexepico@gmail.com>
7604 Date: 2011-11-25 15:23:41 +0800
7605
7606 fixes process space in libpinyin phonetic editor
7607
7608 M src/PYPPhoneticEditor.cc
7609
7610 commit 092b927577798f6e4742c6a0d8e98fcd4d30adea
7611 Author: Peng Wu <alexepico@gmail.com>
7612 Date: 2011-11-22 10:54:35 +0800
7613
7614 fixes pinyin yunmu 'v' handle
7615
7616 M src/PYPFullPinyinEditor.cc
7617
7618 commit 0fb453ad10c68a4a4462c1e163afd5825696d9d3
7619 Author: Peng Wu <alexepico@gmail.com>
7620 Date: 2011-11-14 14:23:10 +0800
7621
7622 fixes fill candidates
7623
7624 M src/PYPPhoneticEditor.cc
7625
7626 commit 3fbb80c187f3dc4b7296d838a78a054fe82d3266
7627 Author: Peng Wu <alexepico@gmail.com>
7628 Date: 2011-11-08 14:14:48 +0800
7629
7630 fixes first candidate
7631
7632 M src/PYPPhoneticEditor.cc
7633
7634 commit 4052c696561ff06e74029cd1ec43355295e15e8c
7635 Author: Peng Wu <alexepico@gmail.com>
7636 Date: 2011-11-08 13:14:34 +0800
7637
7638 remove duplicated candidates
7639
7640 M src/PYPPhoneticEditor.cc
7641
7642 commit 705c791f5c535bc02c349c6ea686d6b69db6b559
7643 Author: Peng Wu <alexepico@gmail.com>
7644 Date: 2011-11-08 13:03:31 +0800
7645
7646 clean code
7647
7648 M src/PYPPhoneticEditor.cc
7649
7650 commit 7a10a4c189f8f28333c4bd8857a9bba4fd009a59
7651 Author: Peng Wu <alexepico@gmail.com>
7652 Date: 2011-11-07 15:09:46 +0800
7653
7654 show the rest of guessed sentence
7655
7656 M src/PYPPhoneticEditor.cc
7657
7658 commit 2db3c83f7ed2dbcba3c579cfe9963577eaf58a59
7659 Author: Peng Wu <alexepico@gmail.com>
7660 Date: 2011-11-07 14:50:54 +0800
7661
7662 add get lookup cursor function
7663
7664 M src/PYPPhoneticEditor.cc
7665 M src/PYPPhoneticEditor.h
7666
7667 commit 4b12c07f98d9e0cb437034ad5215b9001e98321e
7668 Author: Peng Wu <alexepico@gmail.com>
7669 Date: 2011-11-07 14:40:06 +0800
7670
7671 fixes select candidate
7672
7673 M src/PYPPhoneticEditor.cc
7674
7675 commit d51411dd4f9e728c68ccdf9949198fa6f16b753f
7676 Author: Peng Wu <alexepico@gmail.com>
7677 Date: 2011-11-07 14:22:19 +0800
7678
7679 show guessed sentence in lookup table
7680
7681 M src/PYPPhoneticEditor.cc
7682
7683 commit 266f166b84f396dac50f4cdc4106527a635ade4b
7684 Author: Peng Wu <alexepico@gmail.com>
7685 Date: 2011-11-07 13:39:58 +0800
7686
7687 remove cursor by word functions
7688
7689 M src/PYPBopomofoEditor.cc
7690 M src/PYPPinyinEditor.cc
7691
7692 commit b068207b550f53309f5950ee14a2124224c36841
7693 Author: Peng Wu <alexepico@gmail.com>
7694 Date: 2011-11-07 13:33:28 +0800
7695
7696 copy move cursor by word functions
7697
7698 M src/PYPPhoneticEditor.cc
7699
7700 commit 9ea1f7abfe470fd0b2f4832eee612e98d62072b4
7701 Author: Peng Wu <alexepico@gmail.com>
7702 Date: 2011-11-07 13:14:06 +0800
7703
7704 update header
7705
7706 M src/PYPBopomofoEditor.h
7707 M src/PYPPhoneticEditor.h
7708 M src/PYPPinyinEditor.h
7709
7710 commit c17b5a6fba9af303e7d8c1d8a2575aeccc6fe596
7711 Author: Peng Wu <alexepico@gmail.com>
7712 Date: 2011-11-07 12:53:41 +0800
7713
7714 fixes 'hon' auto correction
7715
7716 M src/PYPFullPinyinEditor.cc
7717
7718 commit 1aa1e525b824b52795fdd84551077f4fdd1d3982
7719 Author: Peng Wu <alexepico@gmail.com>
7720 Date: 2011-11-03 13:19:12 +0800
7721
7722 add compile flags
7723
7724 M configure.ac
7725 M src/Makefile.am
7726 M src/PYConfig.cc
7727 M src/PYEngine.cc
7728 M src/PYMain.cc
7729
7730 commit ff59fc1cc01c973d43cef4365293b906690c6481
7731 Author: Peng Wu <alexepico@gmail.com>
7732 Date: 2011-11-03 11:31:05 +0800
7733
7734 fixes select candidate
7735
7736 M src/PYPPhoneticEditor.cc
7737
7738 commit ad473e4b6d938b5e4cba72ecb49a4e5cc756cb4a
7739 Author: Peng Wu <alexepico@gmail.com>
7740 Date: 2011-10-31 11:18:09 +0800
7741
7742 improves pinyin.xml
7743
7744 M src/pinyin.xml.in.in
7745
7746 commit 8c9b93ed7da9df14257b6f8d555a8b5a6defccae
7747 Author: Peng Wu <alexepico@gmail.com>
7748 Date: 2011-10-27 11:36:59 +0800
7749
7750 hide bopomofo
7751
7752 M src/pinyin.xml.in.in
7753
7754 commit 59b266d410cedb70f2b8b2aa8c1619184b2fb0ee
7755 Author: Peng Wu <alexepico@gmail.com>
7756 Date: 2011-10-26 10:10:58 +0800
7757
7758 add save support
7759
7760 M src/PYLibPinyin.cc
7761 M src/PYLibPinyin.h
7762 M src/PYPBopomofoEditor.cc
7763 M src/PYPPinyinEditor.cc
7764
7765 commit 4d6a548b773ab5d59641208b5668a000287075d3
7766 Author: Peng Wu <alexepico@gmail.com>
7767 Date: 2011-10-25 14:36:36 +0800
7768
7769 add user data directory support
7770
7771 M src/PYLibPinyin.cc
7772
7773 commit a83024ca7e24c5a1bd3054f7824d985e2f67bbf8
7774 Author: Peng Wu <alexepico@gmail.com>
7775 Date: 2011-10-25 14:11:13 +0800
7776
7777 update pinyin.xml.in.in
7778
7779 M src/pinyin.xml.in.in
7780
7781 commit 5250368d8b054195b68388fe9675778f582f28ed
7782 Author: Peng Wu <alexepico@gmail.com>
7783 Date: 2011-10-11 11:14:18 +0800
7784
7785 fixes choose candidate
7786
7787 M src/PYPPhoneticEditor.cc
7788
7789 commit 84ba51d4a668b8b6d7f93f2c142b9def4c1fba09
7790 Author: Peng Wu <alexepico@gmail.com>
7791 Date: 2011-10-10 17:30:39 +0800
7792
7793 fixes space handle
7794
7795 M src/PYPPhoneticEditor.cc
7796 M src/PYPPinyinEditor.cc
7797
7798 commit f93acc44b3cc2c14ed739c9a70ca2538dd970789
7799 Author: Peng Wu <alexepico@gmail.com>
7800 Date: 2011-10-10 15:25:20 +0800
7801
7802 fixes commit/reset
7803
7804 M src/PYPPhoneticEditor.cc
7805
7806 commit 4b6fb2b018f52b1af75fa8aebb629497fef5a07f
7807 Author: Peng Wu <alexepico@gmail.com>
7808 Date: 2011-10-10 14:08:17 +0800
7809
7810 add update when select candidate
7811
7812 M src/PYPBopomofoEditor.cc
7813 M src/PYPPhoneticEditor.cc
7814 M src/PYPPinyinEditor.cc
7815
7816 commit bb096fc88fdfb03deb8e29f0865676f540ce3669
7817 Author: Peng Wu <alexepico@gmail.com>
7818 Date: 2011-10-10 13:08:27 +0800
7819
7820 update main.py
7821
7822 M setup/main.py
7823
7824 commit c8ca05ddaeb49f990ce486ad66b2d0eb84c57b7c
7825 Author: Peng Wu <alexepico@gmail.com>
7826 Date: 2011-10-08 19:01:16 +0800
7827
7828 fixes update preedit text
7829
7830 M src/PYPBopomofoEditor.cc
7831 M src/PYPPinyinEditor.cc
7832
7833 commit 68542b98d00d853e4a697a037905e10bc4671d5d
7834 Author: Peng Wu <alexepico@gmail.com>
7835 Date: 2011-10-08 18:53:12 +0800
7836
7837 add to pinyin.xml.in.in
7838
7839 M src/pinyin.xml.in.in
7840
7841 commit 6a11e90a42cbca5c4a0990b5af780a61e4770d1e
7842 Author: Peng Wu <alexepico@gmail.com>
7843 Date: 2011-10-08 11:40:11 +0800
7844
7845 fixes chewing editor
7846
7847 M src/PYEngine.cc
7848 M src/PYPBopomofoEditor.cc
7849
7850 commit c22d0d6a24c969821e60f624fd93b1851fc334ab
7851 Author: Peng Wu <alexepico@gmail.com>
7852 Date: 2011-10-08 11:29:03 +0800
7853
7854 fixes double pinyin
7855
7856 M src/PYPDoublePinyinEditor.cc
7857 M src/PYPFullPinyinEditor.cc
7858
7859 commit 4f6d9fdb5723b7d9141524dfcb3c049ee37a2ed7
7860 Author: Peng Wu <alexepico@gmail.com>
7861 Date: 2011-10-08 10:37:40 +0800
7862
7863 fixes full editor
7864
7865 M src/PYPFullPinyinEditor.cc
7866 M src/PYPPhoneticEditor.cc
7867 M src/PYPPinyinEngine.cc
7868
7869 commit 4f1d32d049a3769fb09b43dc130353a1f1b8766b
7870 Author: Peng Wu <alexepico@gmail.com>
7871 Date: 2011-10-08 10:11:35 +0800
7872
7873 add engines
7874
7875 M src/PYMain.cc
7876
7877 commit 1e18f80266808ba71138775d73244abff6f2fdd7
7878 Author: Peng Wu <alexepico@gmail.com>
7879 Date: 2011-10-08 10:03:26 +0800
7880
7881 alloc/free pinyin instance
7882
7883 M src/PYMain.cc
7884 M src/PYPBopomofoEditor.cc
7885 M src/PYPDoublePinyinEditor.cc
7886 M src/PYPDoublePinyinEditor.h
7887 M src/PYPFullPinyinEditor.cc
7888 M src/PYPPinyinEditor.h
7889
7890 commit 1e7522cfd85fbf7ed2ef512ae8f093039f7a699d
7891 Author: Peng Wu <alexepico@gmail.com>
7892 Date: 2011-10-07 13:05:20 +0800
7893
7894 write PYConfig
7895
7896 M src/PYConfig.cc
7897
7898 commit e5870dfe0dc3a85182b8f92322ac25127de10af5
7899 Author: Peng Wu <alexepico@gmail.com>
7900 Date: 2011-10-07 12:53:14 +0800
7901
7902 write libpinyin backend
7903
7904 M src/PYLibPinyin.cc
7905
7906 commit fd1f18c48e6fbec50e8c908552c446c60363a94b
7907 Author: Peng Wu <alexepico@gmail.com>
7908 Date: 2011-09-30 10:54:25 +0800
7909
7910 add lazy init
7911
7912 M src/PYLibPinyin.cc
7913 M src/PYLibPinyin.h
7914
7915 commit 5eafd4293c651be31bd1fdc8e406f8db48dcd8af
7916 Author: Peng Wu <alexepico@gmail.com>
7917 Date: 2011-09-30 10:30:11 +0800
7918
7919 add show setup
7920
7921 M src/PYPBopomofoEngine.cc
7922 M src/PYPPinyinEngine.cc
7923
7924 commit 4de98d738a224f4e7a72e01c2be24d280fbb4f3a
7925 Author: Peng Wu <alexepico@gmail.com>
7926 Date: 2011-09-29 15:08:52 +0800
7927
7928 add libpinyin engines to PYEngine.cc
7929
7930 M src/PYEngine.cc
7931
7932 commit 6438ef7044c5d6d5e6e187dfd7d5c57deb601e8c
7933 Author: Peng Wu <alexepico@gmail.com>
7934 Date: 2011-09-29 14:59:44 +0800
7935
7936 add PYPBopomofoEngine.cc
7937
7938 M src/Makefile.am
7939 A src/PYPBopomofoEngine.cc
7940
7941 commit 08242f69f3740431d0fadc352fbcad7535827eb1
7942 Author: Peng Wu <alexepico@gmail.com>
7943 Date: 2011-09-29 13:46:48 +0800
7944
7945 add PYPBopomofoEngine.h
7946
7947 M src/Makefile.am
7948 A src/PYPBopomofoEngine.h
7949
7950 commit b35d3416c2ea19f1ec33b622db3968f1c78804e2
7951 Author: Peng Wu <alexepico@gmail.com>
7952 Date: 2011-09-29 11:03:50 +0800
7953
7954 re-factor libpinyin backend
7955
7956 M src/PYLibPinyin.cc
7957 M src/PYLibPinyin.h
7958 M src/PYMain.cc
7959
7960 commit 5c5f74abcc1f29a8da8c66dbb9db9a58dbb4cf4a
7961 Author: Peng Wu <alexepico@gmail.com>
7962 Date: 2011-09-29 10:28:25 +0800
7963
7964 fixes libpinyin pinyin engine
7965
7966 M src/PYPPinyinEngine.cc
7967
7968 commit 6a7e7ef94cc3e457fcd81bb9988ff83a9e1c9406
7969 Author: Peng Wu <alexepico@gmail.com>
7970 Date: 2011-09-28 17:51:56 +0800
7971
7972 polish code
7973
7974 M src/PYPPinyinEngine.cc
7975 M src/PYPPinyinEngine.h
7976
7977 commit a06c8ad7f26ca41a2c52bd824bed0fc0461ba58b
7978 Author: Peng Wu <alexepico@gmail.com>
7979 Date: 2011-09-28 17:35:18 +0800
7980
7981 re-factor pinyin editor
7982
7983 M src/PYPPinyinEditor.cc
7984 M src/PYPPinyinEditor.h
7985
7986 commit b7042d52ffb286de6231a43b3c53947a78c19155
7987 Author: Peng Wu <alexepico@gmail.com>
7988 Date: 2011-09-28 17:30:41 +0800
7989
7990 write bopomofo editor
7991
7992 M src/PYPBopomofoEditor.cc
7993 M src/PYPBopomofoEditor.h
7994 M src/PYPPhoneticEditor.cc
7995 M src/PYPPhoneticEditor.h
7996
7997 commit 1de241261875c35144a0a732849e057bc9bcc962
7998 Author: Peng Wu <alexepico@gmail.com>
7999 Date: 2011-09-28 17:09:11 +0800
8000
8001 add libpinyin pinyin engine
8002
8003 M src/Makefile.am
8004 A src/PYPPinyinEngine.cc
8005
8006 commit 3497f64da0b6b6e7ffb85769b05e49f04221b08f
8007 Author: Peng Wu <alexepico@gmail.com>
8008 Date: 2011-09-28 15:08:11 +0800
8009
8010 add PYPPinyinEngine.h
8011
8012 M src/Makefile.am
8013 A src/PYPPinyinEngine.h
8014
8015 commit 80723f3558c00e6f5008434ae8c568fdcf0ac8e4
8016 Author: Peng Wu <alexepico@gmail.com>
8017 Date: 2011-09-26 15:33:00 +0800
8018
8019 add libpinyin pinyin/chewing scheme options
8020
8021 M src/PYLibPinyin.cc
8022 M src/PYLibPinyin.h
8023
8024 commit 57911c37fc0f515d7459e1c7e95ce356bb0d9f66
8025 Author: Peng Wu <alexepico@gmail.com>
8026 Date: 2011-09-23 14:44:10 +0800
8027
8028 add set chewing options
8029
8030 M src/PYLibPinyin.cc
8031 M src/PYLibPinyin.h
8032
8033 commit 809905b63d340e823190625ccd82a248fe66e2b8
8034 Author: Peng Wu <alexepico@gmail.com>
8035 Date: 2011-09-22 15:49:29 +0800
8036
8037 fixes Makefile.am
8038
8039 M src/Makefile.am
8040 M src/PYPBopomofoEditor.cc
8041
8042 commit 567aec11de7f8df43a12deda4227ebd975ef6d2e
8043 Author: Peng Wu <alexepico@gmail.com>
8044 Date: 2011-09-22 15:31:06 +0800
8045
8046 remove m_pinyins
8047
8048 M src/PYPBopomofoEditor.cc
8049 M src/PYPDoublePinyinEditor.cc
8050 M src/PYPFullPinyinEditor.cc
8051 M src/PYPPhoneticEditor.cc
8052 M src/PYPPhoneticEditor.h
8053
8054 commit aea71c5a524cb814cb1697ed4b97a944eb899db6
8055 Author: Peng Wu <alexepico@gmail.com>
8056 Date: 2011-09-22 15:18:37 +0800
8057
8058 write bopomofo editor
8059
8060 M src/PYPBopomofoEditor.cc
8061 M src/PYPPinyinEditor.cc
8062
8063 commit 3b2103d9293ce891f4b47173f60b194916046b18
8064 Author: Peng Wu <alexepico@gmail.com>
8065 Date: 2011-09-22 15:00:11 +0800
8066
8067 write bopomofo editor in progress
8068
8069 M src/PYPBopomofoEditor.cc
8070 M src/PYPPinyinEditor.h
8071
8072 commit 204a6f858e9a2e6577f78d2368474d048b643098
8073 Author: Peng Wu <alexepico@gmail.com>
8074 Date: 2011-09-22 14:35:40 +0800
8075
8076 begin to write bopomofo editor
8077
8078 M src/PYPBopomofoEditor.cc
8079 M src/PYPBopomofoEditor.h
8080 M src/PYPPhoneticEditor.h
8081 M src/PYPPinyinEditor.h
8082
8083 commit cb25a0b9ee36d12d09ef9a0644888bfd2066252a
8084 Author: Peng Wu <alexepico@gmail.com>
8085 Date: 2011-09-22 14:24:09 +0800
8086
8087 write double pinyin editor
8088
8089 M src/PYPDoublePinyinEditor.cc
8090 M src/PYPDoublePinyinEditor.h
8091 M src/PYPFullPinyinEditor.cc
8092 M src/PYPPinyinEditor.cc
8093
8094 commit dde9caeb198ab9756555ac8e040090941e53abba
8095 Author: Peng Wu <alexepico@gmail.com>
8096 Date: 2011-09-21 14:52:09 +0800
8097
8098 add update pinyin
8099
8100 M src/PYPDoublePinyinEditor.cc
8101 M src/PYPDoublePinyinEditor.h
8102 M src/PYPFullPinyinEditor.cc
8103
8104 commit 490d506672590d37242cbb45cc8ec871d6f23137
8105 Author: Peng Wu <alexepico@gmail.com>
8106 Date: 2011-09-21 14:18:36 +0800
8107
8108 move cursor edit funcs to pinyin editor
8109
8110 M src/PYPDoublePinyinEditor.h
8111 M src/PYPFullPinyinEditor.cc
8112 M src/PYPFullPinyinEditor.h
8113 M src/PYPPinyinEditor.cc
8114 M src/PYPPinyinEditor.h
8115
8116 commit 05035a2ca103c6dc795bcd810df7fba86f22f8a7
8117 Author: Peng Wu <alexepico@gmail.com>
8118 Date: 2011-09-21 14:02:14 +0800
8119
8120 begin to add double pinyin editor
8121
8122 M src/Makefile.am
8123 A src/PYPDoublePinyinEditor.cc
8124
8125 commit 1bf1279f74ca5eb26e1250d862d5c6d722cc10f6
8126 Author: Peng Wu <alexepico@gmail.com>
8127 Date: 2011-09-21 12:22:55 +0800
8128
8129 add update aux text func for full pinyin
8130
8131 M src/PYPFullPinyinEditor.cc
8132 M src/PYPFullPinyinEditor.h
8133 M src/PYPPinyinEditor.cc
8134 M src/PYPPinyinEditor.h
8135
8136 commit 9d968ec9eb391d26b1762dfeae1699e92a4e6614
8137 Author: Peng Wu <alexepico@gmail.com>
8138 Date: 2011-09-21 11:39:17 +0800
8139
8140 re-factor full pinyin editor
8141
8142 M src/PYPFullPinyinEditor.cc
8143 M src/PYPFullPinyinEditor.h
8144
8145 commit 45fc184f99a90c32d282732b5adf1199b219016c
8146 Author: Peng Wu <alexepico@gmail.com>
8147 Date: 2011-09-21 11:25:58 +0800
8148
8149 use pinyin pos
8150
8151 M src/PYPPhoneticEditor.cc
8152 M src/PYPPinyinEditor.cc
8153
8154 commit c692d73e9a7953f785dfc6b75b458d2056baa717
8155 Author: Peng Wu <alexepico@gmail.com>
8156 Date: 2011-09-21 10:34:46 +0800
8157
8158 use m_pinyin_poses in full pinyin editor
8159
8160 M src/PYPFullPinyinEditor.cc
8161
8162 commit 0af6961241de8fe55420ae3196582ccf3a7a883e
8163 Author: Peng Wu <alexepico@gmail.com>
8164 Date: 2011-09-21 10:14:49 +0800
8165
8166 write full pinyin editor in progress
8167
8168 M src/PYPFullPinyinEditor.cc
8169
8170 commit a71b5e486260f98e527d6fe9b538a1af2089b6ed
8171 Author: Peng Wu <alexepico@gmail.com>
8172 Date: 2011-09-20 16:12:46 +0800
8173
8174 add char edit
8175
8176 M src/PYPFullPinyinEditor.cc
8177
8178 commit 48297caeed02607f0f124510d488d71e69b8e303
8179 Author: Peng Wu <alexepico@gmail.com>
8180 Date: 2011-09-20 13:52:05 +0800
8181
8182 write update pinyin
8183
8184 M src/PYPFullPinyinEditor.cc
8185 M src/PYPFullPinyinEditor.h
8186
8187 commit acca31ee1da743f2f4850eb6562dba73aa9c6a7d
8188 Author: Peng Wu <alexepico@gmail.com>
8189 Date: 2011-09-19 16:26:42 +0800
8190
8191 begin to write libpinyin full pinyin editor
8192
8193 M src/Makefile.am
8194 A src/PYPFullPinyinEditor.cc
8195
8196 commit 009663c6c618612a022bfb4cb9dd422e439f573f
8197 Author: Peng Wu <alexepico@gmail.com>
8198 Date: 2011-09-19 16:10:48 +0800
8199
8200 write pinyin editor in progress
8201
8202 M src/PYPPhoneticEditor.h
8203 M src/PYPPinyinEditor.cc
8204
8205 commit a65345601ddcc396d0742c9c46164b8acf567d2b
8206 Author: Peng Wu <alexepico@gmail.com>
8207 Date: 2011-09-16 17:31:56 +0800
8208
8209 add m_pinyin_len back
8210
8211 M src/PYPPhoneticEditor.cc
8212 M src/PYPPhoneticEditor.h
8213
8214 commit a7516b6b7dd80fb57fb8b5db176f907584975b4c
8215 Author: Peng Wu <alexepico@gmail.com>
8216 Date: 2011-09-16 15:51:12 +0800
8217
8218 clean up libpinyin bopomofo editor
8219
8220 M src/PYPBopomofoEditor.cc
8221
8222 commit d8fc6ba5611fd6bb00282446a71da970c249695a
8223 Author: Peng Wu <alexepico@gmail.com>
8224 Date: 2011-09-16 15:43:35 +0800
8225
8226 refactor libpinyin phonetic editor
8227
8228 M src/PYPPhoneticEditor.cc
8229 M src/PYPPhoneticEditor.h
8230
8231 commit 48e7bb8f1db150e6e0ea4b76e1d28d7f349c432d
8232 Author: Peng Wu <alexepico@gmail.com>
8233 Date: 2011-09-15 15:19:49 +0800
8234
8235 remove special phrase
8236
8237 M src/PYPPhoneticEditor.cc
8238 M src/PYPPhoneticEditor.h
8239
8240 commit c79a32bd545251896d6bc02f27235669abe86774
8241 Author: Peng Wu <alexepico@gmail.com>
8242 Date: 2011-09-14 17:49:47 +0800
8243
8244 add set options to libpinyin back end
8245
8246 M src/PYLibPinyin.cc
8247 M src/PYLibPinyin.h
8248
8249 commit 979bbe6338cf796d97953b0a95d13fc00f0bf650
8250 Author: Peng Wu <alexepico@gmail.com>
8251 Date: 2011-09-08 18:02:51 +0800
8252
8253 begin to write libpinyin backend
8254
8255 M src/Makefile.am
8256 A src/PYLibPinyin.cc
8257 M src/PYLibPinyin.h
8258
8259 commit 4e279112646c10657191b8529d0b96d15a9d14dd
8260 Author: Peng Wu <alexepico@gmail.com>
8261 Date: 2011-09-08 15:13:17 +0800
8262
8263 add libpinyin deps
8264
8265 M configure.ac
8266 M src/Makefile.am
8267 M src/PYPPhoneticEditor.h
8268
8269 commit e9f90e33c992e4c463235862acd20a5329381f8e
8270 Author: Peng Wu <alexepico@gmail.com>
8271 Date: 2011-09-05 17:13:31 +0800
8272
8273 fixes compile
8274
8275 M src/Makefile.am
8276 M src/PYPBopomofoEditor.cc
8277 M src/PYPBopomofoEditor.h
8278
8279 commit 3799224a7f951a40b47f202e428d1d390b53fd25
8280 Author: Peng Wu <alexepico@gmail.com>
8281 Date: 2011-09-05 16:59:49 +0800
8282
8283 begin to write bopomofo editor
8284
8285 A src/PYPBopomofoEditor.cc
8286 A src/PYPBopomofoEditor.h
8287
8288 commit 9d7be99bc520bd98cf52fa88f947f3787e411fde
8289 Author: Peng Wu <alexepico@gmail.com>
8290 Date: 2011-09-02 16:49:00 +0800
8291
8292 begin to write pinyin editor
8293
8294 M src/PYPPinyinEditor.cc
8295
8296 commit f8dca3a01a6f976fd41a13bb01dac6ab8134eb0f
8297 Author: Peng Wu <alexepico@gmail.com>
8298 Date: 2011-09-02 15:49:13 +0800
8299
8300 rename base editor
8301
8302 M src/Makefile.am
8303 M src/PYPDoublePinyinEditor.h
8304 M src/PYPFullPinyinEditor.h
8305 M src/PYPPhoneticEditor.cc
8306 M src/PYPPhoneticEditor.h
8307 A src/PYPPinyinEditor.cc
8308 M src/PYPPinyinEditor.h
8309
8310 commit 2a351f4f7a5ac32459b94622340de901561b9764
8311 Author: Peng Wu <alexepico@gmail.com>
8312 Date: 2011-09-02 15:39:31 +0800
8313
8314 add libpinyin pinyin editor header
8315
8316 A src/PYPPinyinEditor.h
8317
8318 commit 6294d7dd68f2a3a9d17830bf6c4768af6a374cd1
8319 Author: Peng Wu <alexepico@gmail.com>
8320 Date: 2011-09-02 15:26:21 +0800
8321
8322 rename files
8323
8324 R100 src/PYLibPinyinDoublePinyinEditor.h src/PYPDoublePinyinEditor.h
8325 R100 src/PYLibPinyinFullPinyinEditor.h src/PYPFullPinyinEditor.h
8326 R100 src/PYLibPinyinBaseEditor.cc src/PYPPhoneticEditor.cc
8327 R100 src/PYLibPinyinBaseEditor.h src/PYPPhoneticEditor.h
8328
8329 commit 18a7fac7337e7f6d1ec953454cd26ec8a99525b1
8330 Author: Peng Wu <alexepico@gmail.com>
8331 Date: 2011-09-02 14:30:11 +0800
8332
8333 begin to write concrete pinyin editors
8334
8335 A src/PYLibPinyinDoublePinyinEditor.h
8336 A src/PYLibPinyinFullPinyinEditor.h
8337
8338 commit 5e4d1aba9a99203f8cf664ef0ac6a00368bf8623
8339 Author: Peng Wu <alexepico@gmail.com>
8340 Date: 2011-09-02 10:34:06 +0800
8341
8342 add special phrases handle in libpinyin base editor
8343
8344 M src/PYLibPinyinBaseEditor.cc
8345 M src/PYLibPinyinBaseEditor.h
8346
8347 commit d14c7c5cef6f21421fe0bc19b1179b202f416e3b
8348 Author: Peng Wu <alexepico@gmail.com>
8349 Date: 2011-09-01 15:51:53 +0800
8350
8351 fixes compile
8352
8353 M src/Makefile.am
8354 M src/PYLibPinyinBaseEditor.cc
8355 M src/PYLibPinyinBaseEditor.h
8356
8357 commit 772a6b8cb77f01f1832ea25c88db6d9d9d4f3ab9
8358 Author: Peng Wu <alexepico@gmail.com>
8359 Date: 2011-09-01 15:13:09 +0800
8360
8361 begin to write libpinyin base editor
8362
8363 A src/PYLibPinyinBaseEditor.cc
8364 M src/PYLibPinyinBaseEditor.h
8365
8366 commit e5da1763d6db253ae4f89880974dfa094ca43c92
8367 Author: Peng Wu <alexepico@gmail.com>
8368 Date: 2011-09-01 13:02:24 +0800
8369
8370 rename editor header
8371
8372 R100 src/PYPinyinBaseEditor.h src/PYLibPinyinBaseEditor.h
8373
8374 commit 7a74baf03f6bdf37d033efa6a66feab936ab255b
8375 Author: Peng Wu <alexepico@gmail.com>
8376 Date: 2011-09-01 11:24:02 +0800
8377
8378 rename editor class
8379
8380 M src/PYLibPinyin.h
8381 M src/PYPinyinBaseEditor.h
8382
8383 commit 2fcee36056380fa72fcfab98f55508151b068e1c
8384 Author: Peng Wu <alexepico@gmail.com>
8385 Date: 2011-08-30 18:24:02 +0800
8386
8387 begin to write libpinyin backend singleton
8388
8389 A src/PYLibPinyin.h
8390
8391 commit 4d0b70d57a872931404868ec3eafd9ae0e5b4441
8392 Author: Peng Wu <alexepico@gmail.com>
8393 Date: 2011-08-29 14:14:46 +0800
8394
8395 begin to integrate
8396
8397 A src/PYPinyinBaseEditor.h
8398
8399 commit 0e658c782158a8973bd2e6f3ae6c627daf7d191a
8400 Author: Peng Huang <shawn.p.huang@gmail.com>
8401 Date: 2011-12-20 22:19:56 -0500
8402
8403 Bump version for 1.4.0 release.
8404
8405 BUG=None
8406 TEST=make distcheck
8407
8408 Review URL: http://codereview.appspot.com/5498057
8409
8410 M configure.ac
8411
8412 commit b88b7d0e6a53576ee38424412ade2550c7323ad8
8413 Author: Peng Huang <shawn.p.huang@gmail.com>
8414 Date: 2011-10-28 14:11:33 -0400
8415
8416 Fix some issues which may cause crash likely.
8417
8418 BUG=http://code.google.com/p/ibus/issues/detail?id=1325
8419 TEST=Manually
8420
8421 Review URL: http://codereview.appspot.com/5298065
8422
8423 M src/PYEnglishEditor.cc
8424 M src/PYEnglishEditor.h
8425
8426 commit f736b49d4e0e424bf8fd2ef1786bec4539a066eb
8427 Author: Peng Huang <shawn.p.huang@gmail.com>
8428 Date: 2011-10-26 11:15:36 -0400
8429
8430 Exit if config component is not ready instead of crash.
8431
8432 BUG=crash when ibus config is not ready
8433 TEST=Linux desktop
8434
8435 Review URL: http://codereview.appspot.com/5321054
8436
8437 M src/PYMain.cc
8438
8439 commit cb5afea67473240d73f0c359c7dc6e553f87da14
8440 Author: Peng Huang <shawn.p.huang@gmail.com>
8441 Date: 2011-07-05 13:09:29 -0400
8442
8443 Use ibus_config_get_values () to improve performance.
8444
8445 BUG=http://crosbug.com/16287
8446 TEST=Linux desktop
8447
8448 Review URL: http://codereview.appspot.com/4670044
8449
8450 M configure.ac
8451 M src/PYConfig.cc
8452 M src/PYConfig.h
8453
8454 commit 47bc0ca6978131de085f27d988a0f135474b6062
8455 Author: Peng Huang <shawn.p.huang@gmail.com>
8456 Date: 2011-06-02 08:30:49 -0400
8457
8458 Fix a build warning.
8459
8460 BUG=Build wanring
8461 TEST=Manually
8462
8463 Review URL: http://codereview.appspot.com/4528117
8464
8465 M src/PYPunctEditor.cc
8466
8467 commit d89313116374fb647df89cba0aee8002a0750308
8468 Author: Peng Huang <shawn.p.huang@gmail.com>
8469 Date: 2011-05-27 10:47:13 -0400
8470
8471 Fix make distcheck errors.
8472
8473 BUG=make distcheck failed
8474 TEST=Manually
8475
8476 Review URL: http://codereview.appspot.com/4551054
8477
8478 M configure.ac
8479 M data/Makefile.am
8480 M data/db/android/Makefile.am
8481 M data/db/open-phrase/Makefile.am
8482
8483 commit 6a6469f3c85d3a60ee68e074ac3c6b854b837753
8484 Author: Peng Huang <shawn.p.huang@gmail.com>
8485 Date: 2011-05-03 10:07:25 -0400
8486
8487 Fixed build errors in Ubuntu 11.04 and get distribution codename from /etc/lsb-release.
8488
8489 BUG=None
8490 TEST=Linux desktop
8491
8492 Review URL: http://codereview.appspot.com/4428083
8493
8494 M Makefile.am
8495 M src/PYConfig.cc
8496 M src/PYDatabase.cc
8497
8498 commit a16d70e01a441193c6bb8a38d7cf093a7ebed19c
8499 Author: Peng Wu <alexepico@gmail.com>
8500 Date: 2011-04-22 07:31:53 -0400
8501
8502 add English Editor
8503 to speed up English input
8504
8505 BUG=none
8506 TEST=build fine
8507
8508 Review URL: http://codereview.appspot.com/4200041
8509 Patch from Peng Wu <alexepico@gmail.com>.
8510
8511 M configure.ac
8512 M data/Makefile.am
8513 A data/english.awk
8514 M src/Makefile.am
8515 A src/PYEnglishEditor.cc
8516 A src/PYEnglishEditor.h
8517 M src/PYExtEditor.cc
8518 M src/PYPinyinEngine.cc
8519 M src/PYPinyinEngine.h
8520
8521 commit d85a24507314194f1597c4c5d6c460408fcd3a9e
8522 Author: Peng Huang <shawn.p.huang@gmail.com>
8523 Date: 2011-03-21 13:00:05 -0400
8524
8525 Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits.
8526
8527 BUG=none
8528 TEST=Linux desktop
8529
8530 Review URL: http://codereview.appspot.com/4273085
8531
8532 M data/db/android/Makefile.am
8533 M data/db/open-phrase/Makefile.am
8534 M scripts/genpytable.py
8535 M setup/ibus-pinyin-preferences.ui
8536 M setup/main.py
8537 M src/Makefile.am
8538 M src/PYConfig.cc
8539 M src/PYPinyinParserTable.h
8540 M src/PYTypes.h
8541
8542 commit 5d68b85c32049841ad1ac6220c6b03a528da7662
8543 Author: Peng Huang <shawn.p.huang@gmail.com>
8544 Date: 2011-02-18 09:15:24 -0500
8545
8546 Update PYSimpTradConverterTable.h from wikipedia
8547
8548 BUG=none
8549 TEST=manual
8550
8551 Review URL: http://codereview.appspot.com/4190049
8552
8553 M scripts/update-simptrad-table.py
8554 M src/PYSimpTradConverterTable.h
8555
8556 commit f60c85749674f38b8e5fee222cd89fcc46ba2688
8557 Author: Peng Huang <shawn.p.huang@gmail.com>
8558 Date: 2011-02-07 11:33:37 -0500
8559
8560 Storing user database to disk, if engine idles more than 60 seconds.
8561
8562 BUG=none
8563 TEST=manual
8564
8565 Review URL: http://codereview.appspot.com/4127050
8566
8567 M src/PYDatabase.cc
8568 M src/PYDatabase.h
8569
8570 commit a142d959cdba0406a2c614fadfa9367803c31286
8571 Author: Peng Huang <shawn.p.huang@gmail.com>
8572 Date: 2011-01-18 10:12:40 -0500
8573
8574 Do not handle release key events, if engine is in init mode.
8575
8576 Most application only process key press events, but some process key release events. This change will let Pinyin engine to ignore some release events in init mode, and let applications have chance to get release key events.
8577
8578 BUG=none
8579 TEST=Test within Ubuntu 10.10
8580
8581 Review URL: http://codereview.appspot.com/3975042
8582
8583 M src/PYBopomofoEngine.cc
8584 M src/PYPinyinEngine.cc
8585
8586 commit 15b9b66b013ee83974b3ae16a76983cc10e9dbe8
8587 Author: Peng Huang <shawn.p.huang@gmail.com>
8588 Date: 2010-11-24 16:53:36 +0900
8589
8590 Use in memory user database to improve performance.
8591
8592 I found pinyin's performance is very low when system IO load is big. So
8593 I let pinyin use im memory user database to improve the performance, and
8594 write the database to the harddisk in 60 seconds or when engine exits.
8595
8596 BUG=none
8597 TEST=manual
8598
8599 Review URL: http://codereview.appspot.com/3303041
8600
8601 M src/PYDatabase.cc
8602 M src/PYDatabase.h
8603 M src/PYMain.cc
8604 M src/PYString.h
8605
8606 commit f067b7a651cf24f7234441a31c0f88191cb74a42
8607 Author: Peng Wu <alexepico@gmail.com>
8608 Date: 2010-11-12 15:06:09 +0800
8609
8610 add author
8611
8612 M setup/ibus-pinyin-preferences.ui
8613 M src/pinyin.xml.in.in
8614
8615 commit e6f36dbffa9da69fd3819ce21ac7504f50b055e7
8616 Author: Peng Huang <shawn.p.huang@gmail.com>
8617 Date: 2010-11-04 16:26:18 +0900
8618
8619 Fix deb build errors.
8620
8621 M Makefile.am
8622 M debian/control
8623
8624 commit a17468d8ade1df427ca204605f608b9e4ab67b50
8625 Author: Peng Huang <shawn.p.huang@gmail.com>
8626 Date: 2010-10-29 09:31:05 +0900
8627
8628 Change default ubunut serie to mavreick
8629
8630 M Makefile.am
8631
8632 commit 9b655b630a50e9cd7a9415f07b2ddb4348b2db64
8633 Author: Peng Huang <shawn.p.huang@gmail.com>
8634 Date: 2010-10-29 09:28:48 +0900
8635
8636 Bump version to 1.3.99
8637
8638 M configure.ac
8639
8640 commit 16a3b3d689de672efc1ed8eb4604160cd38d7302
8641 Author: Peng Huang <shawn.p.huang@gmail.com>
8642 Date: 2010-10-22 20:36:54 +0900
8643
8644 Fix build errors with ibus-1.4
8645
8646 M configure.ac
8647 M debian/control
8648
8649 commit ead9afe09d8e580bc2abb3556cf778c0a29c243c
8650 Author: phuang <phuang@phuang-MacPro.(none)>
8651 Date: 2010-10-18 22:02:33 +0900
8652
8653 Fix some errors when build debian packages.
8654
8655 M Makefile.am
8656 M debian/control
8657 M debian/rules
8658
8659 commit 2924d05cf008f7c7794d4f4b65940a70ba2247bd
8660 Author: Peng Huang <shawn.p.huang@gmail.com>
8661 Date: 2010-07-12 18:14:46 +0800
8662
8663 Fix problem with ibus-2.0
8664
8665 M configure.ac
8666 M src/PYConfig.cc
8667 M src/PYConfig.h
8668
8669 commit bcf86cbf44e2a9658fda42724ed066f3f05ced79
8670 Author: Yuren Ju <yurenju@gmail.com>
8671 Date: 2010-10-20 18:49:33 +0800
8672
8673 added simp. chinese and hong kang translation
8674
8675 M po/zh_CN.po
8676 M po/zh_HK.po
8677
8678 commit d43d04a9b92f7abd719cf3da666c23eee43fb67c
8679 Author: Yuren Ju <yurenju@gmail.com>
8680 Date: 2010-10-20 18:44:23 +0800
8681
8682 add options for enter key, original feature is commit original english text, new feature is commit first candidate phrase
8683
8684 M po/zh_TW.po
8685 M setup/ibus-pinyin-preferences.ui
8686 M setup/main.py
8687 M src/PYBopomofoEditor.cc
8688 M src/PYConfig.cc
8689 M src/PYConfig.h
8690
8691 commit 5a0ba0b751abe079fad8bc90316501cd489f50e6
8692 Author: Yuren Ju <yurenju@gmail.com>
8693 Date: 2010-10-11 17:07:25 +0800
8694
8695 use , & 。 instead of 《 & 》 for traditional chinese user
8696
8697 M src/PYFallbackEditor.cc
8698
8699 commit a0b31c7a250cfa7af1b52056a1d1ada81b22a455
8700 Author: Peng Huang <shawn.p.huang@gmail.com>
8701 Date: 2010-09-27 14:09:07 +0800
8702
8703 Add option --disable-boost to support build without boost
8704
8705 When build without boost, ibus-pinyin will use smart pointer
8706 from c++0x and use the signal templates embedded instead of
8707 boost::signals2.
8708
8709 BUG=chromium-os:5055
8710 TEST=manual
8711
8712 Review URL: http://codereview.appspot.com/2205044
8713
8714 M configure.ac
8715 M src/Makefile.am
8716 M src/PYBopomofoEngine.cc
8717 M src/PYConfig.cc
8718 M src/PYConfig.h
8719 M src/PYDatabase.cc
8720 M src/PYDatabase.h
8721 M src/PYEditor.h
8722 M src/PYEngine.cc
8723 M src/PYExtEditor.cc
8724 M src/PYPhraseEditor.h
8725 M src/PYPinyinEngine.cc
8726 M src/PYPunctEditor.cc
8727 M src/PYPunctEditor.h
8728 M src/PYSignal.h
8729 M src/PYSpecialPhraseTable.h
8730 M src/PYUtil.h
8731
8732 commit 27c2f7ea0ef69094db2dfc009bb661276fc90227
8733 Author: Peng Huang <shawn.p.huang@gmail.com>
8734 Date: 2010-09-27 10:10:33 +0800
8735
8736 Add codereview.settings.
8737
8738 This is for us to use codereview.appspot.com for code reviews.
8739
8740 Instructions to use codereview.appspot.com:
8741
8742 1. Get depot_tools and add PATH to the directory
8743 http://dev.chromium.org/developers/how-tos/depottools
8744
8745 2. In your local IBus git repository,
8746
8747 % git checkout master
8748 % git checkout -b somefix
8749 make changes
8750 % git cl upload
8751 do code reviews at codereview.appspot.com
8752 once it's done, run "git cl push" if you can commit.
8753 otherwise, ask committers to commit on behalf.
8754
8755 Add target for build debian packages.
8756
8757 BUG=none
8758 TEST=build fine
8759
8760 Review URL: http://codereview.appspot.com/2229048
8761
8762 M Makefile.am
8763 A codereview.settings
8764
8765 commit eb321b4ad179d0f30a6bbf08bcc8e793a0c29f19
8766 Author: Peng Huang <shawn.p.huang@gmail.com>
8767 Date: 2010-09-06 10:43:20 +0800
8768
8769 release 1.3.11
8770
8771 M configure.ac
8772
8773 commit 895bd567cbf353927839647303fa58e12a3ab5e1
8774 Author: Peng Huang <shawn.p.huang@gmail.com>
8775 Date: 2010-09-06 10:41:04 +0800
8776
8777 Fix make distcheck errors.
8778
8779 M po/POTFILES.in
8780 M po/ru.po
8781 M po/zh_CN.po
8782 M po/zh_HK.po
8783 M po/zh_TW.po
8784 M src/Makefile.am
8785
8786 commit ff252da6d8603fcf3679a369a63ceb731f2caeb7
8787 Author: Yusuke Sato <yusukes@chromium.org>
8788 Date: 2010-05-11 11:33:05 +0900
8789
8790 Tiny modification to m4/boost.m4.
8791
8792 Pass $CXXFLAGS to $ac_cpp to make cross-compilation of ibus-pinyin easy.
8793
8794 BUG=none
8795 TEST=ran emerge-x86-generic -a ibus-pinyin.
8796
8797 Review URL: http://codereview.chromium.org/2045008
8798
8799 M m4/boost.m4
8800
8801 commit 8fef79fdf46eb0c9a342c76f79b613540dbf6632
8802 Author: Peng Huang <shawn.p.huang@gmail.com>
8803 Date: 2010-08-23 09:54:49 +0800
8804
8805 Remove sqlite3 in create_db.py
8806
8807 M data/db/android/create_db.py
8808
8809 commit e47965d40f5cf56b15c10aca74fff0e3739c988d
8810 Author: Peng Huang <shawn.p.huang@gmail.com>
8811 Date: 2010-08-14 06:43:29 +0800
8812
8813 Remove duplicated EXTRA_DIST value in lua/Makefile.am
8814
8815 M lua/Makefile.am
8816
8817 commit f3f325b0603ed635d076a5e6430164b2c72b21da
8818 Author: Peng Huang <shawn.p.huang@gmail.com>
8819 Date: 2010-08-13 16:20:01 +0800
8820
8821 Add PY prefix of all file names to avoid name conflict on some file
8822 system than is case insensitive.
8823
8824 M src/Makefile.am
8825 R100 src/Bopomofo.h src/PYBopomofo.h
8826 R099 src/BopomofoEditor.cc src/PYBopomofoEditor.cc
8827 R098 src/BopomofoEditor.h src/PYBopomofoEditor.h
8828 R097 src/BopomofoEngine.cc src/PYBopomofoEngine.cc
8829 R097 src/BopomofoEngine.h src/PYBopomofoEngine.h
8830 R099 src/BopomofoKeyboard.h src/PYBopomofoKeyboard.h
8831 R098 src/Bus.h src/PYBus.h
8832 R099 src/Config.cc src/PYConfig.cc
8833 R099 src/Config.h src/PYConfig.h
8834 R099 src/Database.cc src/PYDatabase.cc
8835 R097 src/Database.h src/PYDatabase.h
8836 R099 src/DoublePinyinEditor.cc src/PYDoublePinyinEditor.cc
8837 R098 src/DoublePinyinEditor.h src/PYDoublePinyinEditor.h
8838 R100 src/DoublePinyinTable.h src/PYDoublePinyinTable.h
8839 R099 src/DynamicSpecialPhrase.cc src/PYDynamicSpecialPhrase.cc
8840 R098 src/DynamicSpecialPhrase.h src/PYDynamicSpecialPhrase.h
8841 R098 src/Editor.cc src/PYEditor.cc
8842 R098 src/Editor.h src/PYEditor.h
8843 R099 src/Engine.cc src/PYEngine.cc
8844 R097 src/Engine.h src/PYEngine.h
8845 R099 src/ExtEditor.cc src/PYExtEditor.cc
8846 R100 src/ExtEditor.h src/PYExtEditor.h
8847 R098 src/FallbackEditor.cc src/PYFallbackEditor.cc
8848 R098 src/FallbackEditor.h src/PYFallbackEditor.h
8849 R098 src/FullPinyinEditor.cc src/PYFullPinyinEditor.cc
8850 R098 src/FullPinyinEditor.h src/PYFullPinyinEditor.h
8851 R098 src/HalfFullConverter.cc src/PYHalfFullConverter.cc
8852 R100 src/HalfFullConverter.h src/PYHalfFullConverter.h
8853 R098 src/LookupTable.h src/PYLookupTable.h
8854 R097 src/Main.cc src/PYMain.cc
8855 R098 src/Object.h src/PYObject.h
8856 R098 src/PhoneticEditor.cc src/PYPhoneticEditor.cc
8857 R096 src/PhoneticEditor.h src/PYPhoneticEditor.h
8858 R098 src/Phrase.h src/PYPhrase.h
8859 R097 src/PhraseArray.h src/PYPhraseArray.h
8860 R096 src/PhraseEditor.cc src/PYPhraseEditor.cc
8861 R097 src/PhraseEditor.h src/PYPhraseEditor.h
8862 R098 src/PinyinArray.h src/PYPinyinArray.h
8863 R098 src/PinyinEditor.cc src/PYPinyinEditor.cc
8864 R098 src/PinyinEditor.h src/PYPinyinEditor.h
8865 R097 src/PinyinEngine.cc src/PYPinyinEngine.cc
8866 R097 src/PinyinEngine.h src/PYPinyinEngine.h
8867 R099 src/PinyinParser.cc src/PYPinyinParser.cc
8868 R097 src/PinyinParser.h src/PYPinyinParser.h
8869 R100 src/PinyinParserTable.h src/PYPinyinParserTable.h
8870 R098 src/PinyinProperties.cc src/PYPinyinProperties.cc
8871 R097 src/PinyinProperties.h src/PYPinyinProperties.h
8872 R100 src/Pointer.h src/PYPointer.h
8873 R098 src/Property.h src/PYProperty.h
8874 R099 src/PunctEditor.cc src/PYPunctEditor.cc
8875 R098 src/PunctEditor.h src/PYPunctEditor.h
8876 R100 src/PunctTable.h src/PYPunctTable.h
8877 R097 src/RawEditor.h src/PYRawEditor.h
8878 R100 src/Regex.h src/PYRegex.h
8879 R098 src/Signal.h src/PYSignal.h
8880 R097 src/SimpTradConverter.cc src/PYSimpTradConverter.cc
8881 R100 src/SimpTradConverter.h src/PYSimpTradConverter.h
8882 R100 src/SimpTradConverterTable.h src/PYSimpTradConverterTable.h
8883 R096 src/SpecialPhrase.cc src/PYSpecialPhrase.cc
8884 R100 src/SpecialPhrase.h src/PYSpecialPhrase.h
8885 R096 src/SpecialPhraseTable.cc src/PYSpecialPhraseTable.cc
8886 R100 src/SpecialPhraseTable.h src/PYSpecialPhraseTable.h
8887 R100 src/String.h src/PYString.h
8888 R098 src/Text.h src/PYText.h
8889 R100 src/Types.h src/PYTypes.h
8890 R099 src/Util.h src/PYUtil.h
8891
8892 commit a32d2b4d5194559b4601cf7e2c65ddc68bdf13e3
8893 Author: Peng Huang <shawn.p.huang@gmail.com>
8894 Date: 2010-08-17 13:15:52 +0900
8895
8896 change the default fuzzy settings
8897
8898 M setup/main.py
8899 M src/Config.cc
8900
8901 commit 20f31c8b18cefce89a8ce4b1c790f5aa37442a65
8902 Author: Peng Huang <shawn.p.huang@gmail.com>
8903 Date: 2010-08-06 10:45:40 +0800
8904
8905 Release 1.3.10
8906
8907 M configure.ac
8908
8909 commit dea6dd8336caa9d76a64b69343d43a65312c6df4
8910 Author: BYVoid <byvoid.kcp@gmail.com>
8911 Date: 2010-07-27 22:01:25 +0800
8912
8913 Use ucs4_t API of OpenCC.
8914
8915 M src/SimpTradConverter.cc
8916
8917 commit ca206af4c2d9a0b312e3154f57cd4cf8d53bb845
8918 Author: BYVoid <byvoid.kcp@gmail.com>
8919 Date: 2010-07-27 22:00:47 +0800
8920
8921 Fix some default punct mappings in traditional Chinese
8922
8923 M src/FallbackEditor.cc
8924
8925 commit fb788847f855c0aa4b51797a4049c487fdd80a79
8926 Author: Peng Huang <shawn.p.huang@gmail.com>
8927 Date: 2010-07-20 08:59:15 +0800
8928
8929 Refine coding style and update AUTHORS
8930
8931 M AUTHORS
8932 M src/DoublePinyinTable.h
8933
8934 commit 4577dca3f1680445177f270dfc63c70af1e0f3d2
8935 Author: Peng Huang <shawn.p.huang@gmail.com>
8936 Date: 2010-07-16 14:24:07 +0800
8937
8938 Release 1.3.9
8939
8940 M configure.ac
8941
8942 commit f2b7ff6d4eca3b9a6ca284575ff1cbce9d7d0c30
8943 Merge: d4eb78f f850d40
8944 Author: Peng Huang <shawn.p.huang@gmail.com>
8945 Date: 2010-07-16 14:02:10 +0800
8946
8947 Merge remote branch 'epic/master'
8948
8949 commit f850d40f939175382e7b801d6b16b4651820c448
8950 Author: Peng Wu <alexepico@gmail.com>
8951 Date: 2010-07-14 13:40:53 +0800
8952
8953 fixes error when make distcheck.
8954
8955 M lua/Makefile.am
8956 M lua/test-lua-plugin.c
8957 M src/Makefile.am
8958
8959 commit d4eb78f97a6bf7a6a6aedbca7b13ca20b6e7cdb2
8960 Merge: a05cf80 d604684
8961 Author: Peng Huang <shawn.p.huang@gmail.com>
8962 Date: 2010-07-09 15:36:04 +0800
8963
8964 Merge remote branch 'epic/master'
8965
8966 commit a05cf80fa3cf602dee0a3ddead14d2e646d6b2f9
8967 Author: Peng Huang <shawn.p.huang@gmail.com>
8968 Date: 2010-07-09 15:35:41 +0800
8969
8970 Fix build problem in ppa
8971
8972 M configure.ac
8973 M debian/control
8974 M debian/rules
8975 M lua/Makefile.am
8976
8977 commit d6046846b0f5214ed61d92fe8e98b02bb87767d2
8978 Author: Peng Wu <alexepico@gmail.com>
8979 Date: 2010-07-09 11:42:01 +0800
8980
8981 only enable lua extension when use single pinyin.
8982
8983 M src/PinyinEngine.cc
8984
8985 commit 826497eb99e46cc6aa6e4b23b3a94be1e04fe0d1
8986 Author: Peng Wu <alexepico@gmail.com>
8987 Date: 2010-07-08 13:43:29 +0800
8988
8989 fixes autoconf bug.
8990
8991 M configure.ac
8992
8993 commit 15925b00c1d119dd343f3bb6c6532bc36df70c03
8994 Author: Peng Wu <alexepico@gmail.com>
8995 Date: 2010-07-06 13:55:32 +0800
8996
8997 add lua version check.
8998
8999 M configure.ac
9000
9001 commit c4cbd703027566205b9dc4dfef6316717746f097
9002 Author: Peng Wu <alexepico@gmail.com>
9003 Date: 2010-07-06 12:49:10 +0800
9004
9005 fixes ExtEditor compile.
9006
9007 M src/Makefile.am
9008
9009 commit 6cc8818cf72cbe7b56c6394030c6256178e71d28
9010 Author: Peng Wu <alexepico@gmail.com>
9011 Date: 2010-07-06 12:42:15 +0800
9012
9013 fixes ubuntu build.
9014
9015 M configure.ac
9016
9017 commit 1ab6137e03e3d63968544e318d74ff36b807a611
9018 Author: Peng Wu <alexepico@gmail.com>
9019 Date: 2010-07-06 11:22:44 +0800
9020
9021 fixes a typo.
9022
9023 M configure.ac
9024
9025 commit 0d928e4d3300f7dfb4969c7e662d006ff2f73502
9026 Author: Peng Huang <shawn.p.huang@gmail.com>
9027 Date: 2010-07-06 10:46:46 +0800
9028
9029 Use opencc
9030
9031 M debian/control
9032 M debian/rules
9033 M src/SimpTradConverter.cc
9034
9035 commit f46a3755384fb6dab200d42c059d3d9ec6ebbbf3
9036 Author: BYVoid <byvoid1@gmail.com>
9037 Date: 2010-07-05 16:29:48 +0800
9038
9039 Revert to OpenCC C language API
9040
9041 M src/SimpTradConverter.cc
9042
9043 commit 4b0a1b6d39fa13a401c70b3ed1f3d293904e8b45
9044 Author: BYVoid <byvoid1@gmail.com>
9045 Date: 2010-06-22 16:42:18 +0800
9046
9047 Use Constant of C++ wrapper of OpenCC instead of macro
9048
9049 M src/SimpTradConverter.cc
9050
9051 commit 47fea81343591499c2949b8c691af037c94539ff
9052 Author: BYVoid <byvoid1@gmail.com>
9053 Date: 2010-06-18 13:54:33 +0800
9054
9055 Add error handler for call of OpenCC
9056
9057 M src/SimpTradConverter.cc
9058
9059 commit a09afd5445915f69bec2d374d9145aa6596978c2
9060 Author: BYVoid <byvoid1@gmail.com>
9061 Date: 2010-06-18 13:49:58 +0800
9062
9063 Fix call of OpenCC
9064
9065 M src/SimpTradConverter.cc
9066
9067 commit 9821b99fb1cfd1925e04e00e5b04184398ffcf0c
9068 Author: Peng Huang <shawn.p.huang@gmail.com>
9069 Date: 2010-07-05 15:31:03 +0800
9070
9071 Disable lua extension by default
9072
9073 M Makefile.am
9074 M configure.ac
9075 M lua/Makefile.am
9076
9077 commit 97dd325909f7f8293ce8651a6c04d9ae0b912a00
9078 Author: Peng Wu <alexepico@gmail.com>
9079 Date: 2010-07-01 16:27:54 +0800
9080
9081 fixes traditional number.
9082
9083 M src/DynamicSpecialPhrase.cc
9084
9085 commit 3e35a3aaf06ddb063c04293fc3faa5402119ea60
9086 Author: Peng Wu <alexepico@gmail.com>
9087 Date: 2010-07-01 16:17:19 +0800
9088
9089 adding lua-extension flags.
9090
9091 M configure.ac
9092 M src/BopomofoEngine.cc
9093 M src/Makefile.am
9094 M src/PinyinEngine.cc
9095
9096 commit 0bf5e528bef93ab20ab0c05ca62f5fc0032eaab4
9097 Author: Peng Wu <alexepico@gmail.com>
9098 Date: 2010-07-01 15:32:36 +0800
9099
9100 add lua extension compile flags.
9101
9102 M configure.ac
9103 M lua/Makefile.am
9104
9105 commit 008393c40013869af5a8d8c4de618e232ee42dc4
9106 Author: Peng Wu <alexepico@gmail.com>
9107 Date: 2010-07-01 11:55:52 +0800
9108
9109 fixes compile errors.
9110
9111 M src/DynamicSpecialPhrase.cc
9112 M src/ExtEditor.cc
9113
9114 commit f754d164d05cc38832837ee75337cd9da8247ca0
9115 Author: Peng Wu <alexepico@gmail.com>
9116 Date: 2010-07-01 11:46:59 +0800
9117
9118 re-factor chinese number code.
9119
9120 M src/DynamicSpecialPhrase.cc
9121 M src/DynamicSpecialPhrase.h
9122 M src/ExtEditor.cc
9123
9124 commit 607a7ec4e9c67155d931fa66f5d13cb04d986f20
9125 Author: Peng Wu <alexepico@gmail.com>
9126 Date: 2010-07-01 10:36:39 +0800
9127
9128 remove some warnings.
9129
9130 M lua/lua-plugin-init.c
9131
9132 commit e594be88108d50445e7521f69c95bf217c779a8c
9133 Author: Peng Wu <alexepico@gmail.com>
9134 Date: 2010-07-01 10:32:40 +0800
9135
9136 fixes translation.
9137
9138 M src/ExtEditor.cc
9139
9140 commit daaebd3d854f4cdaac268a6bf616137eb735ae55
9141 Author: Peng Wu <alexepico@gmail.com>
9142 Date: 2010-06-29 15:26:32 +0800
9143
9144 add comments.
9145
9146 M src/ExtEditor.cc
9147
9148 commit f9f1ef9451a64a1d303bdd3cba8a3f617cb97b4a
9149 Author: Peng Wu <alexepico@gmail.com>
9150 Date: 2010-06-29 15:21:34 +0800
9151
9152 fixes huge number.
9153
9154 M src/ExtEditor.cc
9155 M src/ExtEditor.h
9156
9157 commit e02cb1929119ef62eb9e570d2e530ad9c7513985
9158 Author: Peng Wu <alexepico@gmail.com>
9159 Date: 2010-06-29 14:50:10 +0800
9160
9161 fixes aux text.
9162
9163 M src/ExtEditor.cc
9164 M src/LookupTable.h
9165
9166 commit 00533c453e8ab19099ee0e093bdd7e91c94df77f
9167 Author: Peng Wu <alexepico@gmail.com>
9168 Date: 2010-06-29 14:34:09 +0800
9169
9170 fixes compile errors.
9171
9172 M src/ExtEditor.cc
9173 M src/ExtEditor.h
9174
9175 commit a19742702ef27a9f56205534a8172eb9dc894cb2
9176 Author: Peng Wu <alexepico@gmail.com>
9177 Date: 2010-06-29 14:17:28 +0800
9178
9179 add Chinese Number Gen code
9180
9181 M src/ExtEditor.cc
9182
9183 commit 35e87ecdaa28b59607d1570cf87c94ec8ea9d47e
9184 Author: Peng Wu <alexepico@gmail.com>
9185 Date: 2010-06-23 15:54:13 +0800
9186
9187 re-factor include headers.
9188
9189 M lua/lua-ext-console.c
9190 M lua/lua-plugin-init.c
9191 M lua/lua-plugin.c
9192 M lua/lua-plugin.h
9193 M lua/test-lua-plugin.c
9194 M src/ExtEditor.cc
9195
9196 commit 9af65cb9b6503020450caa14276f42421239ba43
9197 Author: Peng Wu <alexepico@gmail.com>
9198 Date: 2010-06-23 15:31:58 +0800
9199
9200 fixes strlen.
9201
9202 M src/ExtEditor.cc
9203
9204 commit fc845a6adc93589000f2cbff2dff60d33706927c
9205 Author: Peng Wu <alexepico@gmail.com>
9206 Date: 2010-06-23 10:48:29 +0800
9207
9208 fixes help display on aux text.
9209
9210 M src/ExtEditor.cc
9211 M src/ExtEditor.h
9212
9213 commit 83a549ad0dd6872fcea509df02666b5cb6488324
9214 Author: Peng Wu <alexepico@gmail.com>
9215 Date: 2010-06-22 18:08:00 +0800
9216
9217 fixes space and m_cursor handles.
9218
9219 M src/ExtEditor.cc
9220
9221 commit 263e1ae756cb07e0c95417e78e478bfa21c05a30
9222 Author: Peng Wu <alexepico@gmail.com>
9223 Date: 2010-06-22 15:41:46 +0800
9224
9225 fixes return key.
9226 fixes lua script load path.
9227
9228 M src/ExtEditor.cc
9229
9230 commit 8bb3778bc49ed59114f23f0f80cac738e24e6e0e
9231 Author: Peng Wu <alexepico@gmail.com>
9232 Date: 2010-06-22 15:16:15 +0800
9233
9234 fixes digit labels gen.
9235 fixes label key '0' to '9'.
9236
9237 M lua/lua-plugin-init.c
9238 M src/ExtEditor.cc
9239
9240 commit 44202f0e3ba96da80197c6ad9a00073015ae7df9
9241 Author: Peng Wu <alexepico@gmail.com>
9242 Date: 2010-06-22 15:13:09 +0800
9243
9244 add lua command help hint.
9245
9246 M src/ExtEditor.cc
9247
9248 commit f0a5cb8020b9689774ce420aa24a66b54dd4d4b5
9249 Author: Peng Wu <alexepico@gmail.com>
9250 Date: 2010-06-22 15:08:19 +0800
9251
9252 add enter key press handle.
9253
9254 M src/ExtEditor.cc
9255 M src/ExtEditor.h
9256
9257 commit e64172c40521e34edeb9ee0aae19de1f0b1a05cd
9258 Author: Peng Huang <shawn.p.huang@gmail.com>
9259 Date: 2010-06-22 10:43:36 +0800
9260
9261 refine code
9262
9263 M src/ExtEditor.h
9264
9265 commit d8c519eea5f4c21c8158db57a8bac44078708f7e
9266 Author: Peng Huang <shawn.p.huang@gmail.com>
9267 Date: 2010-06-22 10:40:44 +0800
9268
9269 Refine code and fix some warnings
9270
9271 M src/ExtEditor.cc
9272 M src/ExtEditor.h
9273 M src/String.h
9274
9275 commit a3f8f98c1c743389ffb2a5e0199cab0fb774c0d7
9276 Author: Peng Wu <alexepico@gmail.com>
9277 Date: 2010-06-22 10:37:01 +0800
9278
9279 re-factor ExtEditor header.
9280
9281 M lua/lua-plugin.h
9282 M src/ExtEditor.cc
9283 M src/ExtEditor.h
9284
9285 commit e453b7ecacde36925771326a3eb23380dd3007c1
9286 Author: Peng Wu <alexepico@gmail.com>
9287 Date: 2010-06-21 15:17:48 +0800
9288
9289 fixes m_cursor computing.
9290
9291 M src/ExtEditor.cc
9292
9293 commit 804df27528b7328b62b3a30f11e65b948f7691d1
9294 Author: Peng Wu <alexepico@gmail.com>
9295 Date: 2010-06-21 14:19:35 +0800
9296
9297 add license for lua ext mode.
9298
9299 M lua/lua-ext-console.c
9300 M lua/lua-plugin-init.c
9301 M lua/lua-plugin.c
9302 M lua/lua-plugin.h
9303 M lua/test-lua-plugin.c
9304
9305 commit 34bbe4c76b28368411cf921705c8c62fd4da975a
9306 Author: Peng Wu <alexepico@gmail.com>
9307 Date: 2010-06-21 14:17:21 +0800
9308
9309 fixes label
9310
9311 M src/ExtEditor.cc
9312
9313 commit 7841b9d8c603911f5f09e75914f7272f367c22ac
9314 Author: Peng Wu <alexepico@gmail.com>
9315 Date: 2010-06-21 13:34:12 +0800
9316
9317 fixes base.lua path.
9318
9319 M lua/Makefile.am
9320 M src/ExtEditor.cc
9321
9322 commit 5f70f6792d22758e37f2875db716ad5a2fefb6da
9323 Author: Peng Wu <alexepico@gmail.com>
9324 Date: 2010-06-21 13:21:47 +0800
9325
9326 add stripped oslib for lua ext.
9327
9328 M lua/Makefile.am
9329 A lua/lmyoslib.c
9330 M lua/lua-ext-console.c
9331 M lua/lua-plugin-init.c
9332 M lua/lua-plugin.c
9333 M lua/lua-plugin.h
9334
9335 commit 0f0a0be50b9946429b06357d9f729bbfc358c109
9336 Author: Peng Wu <alexepico@gmail.com>
9337 Date: 2010-06-21 13:06:01 +0800
9338
9339 add base.lua
9340
9341 A lua/base.lua
9342
9343 commit ac1476aabed3efb8c96f45c3eac225ece5376394
9344 Author: Peng Wu <alexepico@gmail.com>
9345 Date: 2010-06-18 15:58:01 +0800
9346
9347 fixes compile warnings.
9348
9349 M src/ExtEditor.cc
9350
9351 commit 1d8521a263f5f83dba2135890833978d246a773d
9352 Author: Peng Wu <alexepico@gmail.com>
9353 Date: 2010-06-18 13:37:56 +0800
9354
9355 re-factor code.
9356
9357 M src/ExtEditor.cc
9358
9359 commit fad30945d4f755f4fb5c83c72dacd08d45b827db
9360 Author: Peng Wu <alexepico@gmail.com>
9361 Date: 2010-06-18 13:07:51 +0800
9362
9363 re-order code sequence.
9364
9365 M src/ExtEditor.cc
9366
9367 commit 3bf430a7b99edf7445e770e8a810aa3a1c39900a
9368 Author: Peng Wu <alexepico@gmail.com>
9369 Date: 2010-06-18 12:54:18 +0800
9370
9371 fixes include header.
9372
9373 M src/ExtEditor.cc
9374 M src/ExtEditor.h
9375
9376 commit 083a07dcd61b744d126398a737055928cbfd5778
9377 Author: Peng Huang <shawn.p.huang@gmail.com>
9378 Date: 2010-06-18 11:37:25 +0800
9379
9380 Fix build errors.
9381
9382 M src/ExtEditor.cc
9383 M src/ExtEditor.h
9384
9385 commit f1944e652c6e4c73b87193c7e8cc82ccb0c35ddd
9386 Merge: f1f9363 4009394
9387 Author: Peng Huang <shawn.p.huang@gmail.com>
9388 Date: 2010-06-18 11:25:15 +0800
9389
9390 Merge remote branch 'epico/lua-plugin' into lua-plugin
9391
9392 Conflicts:
9393 src/ExtEditor.cc
9394 src/ExtEditor.h
9395 src/LookupTable.h
9396 src/Makefile.am
9397 src/PinyinEngine.cc
9398
9399 commit 40093940e25ada4c0cf3c258ab49e9ebd32bbc65
9400 Author: Peng Wu <alexepico@gmail.com>
9401 Date: 2010-06-18 11:08:36 +0800
9402
9403 fixes multi-line candidate content.
9404
9405 M src/ExtEditor.cc
9406
9407 commit 870e428c52a32c071d82a580e67dc88d64bbe848
9408 Author: Peng Wu <alexepico@gmail.com>
9409 Date: 2010-06-18 11:01:22 +0800
9410
9411 fixes riqi and shijian.
9412
9413 M src/ExtEditor.cc
9414
9415 commit 7ce996a6aed9d6ce75e31c9a4f9eba73bdd10f14
9416 Author: Peng Wu <alexepico@gmail.com>
9417 Date: 2010-06-18 10:45:16 +0800
9418
9419 fixes some typos.
9420
9421 M src/ExtEditor.cc
9422
9423 commit 62da73fd21c498281f4d9e7bca96db3a96609b14
9424 Author: Peng Wu <alexepico@gmail.com>
9425 Date: 2010-06-17 15:17:27 +0800
9426
9427 add label and space key handle.
9428
9429 M src/ExtEditor.cc
9430
9431 commit d0cf9237364a52aac30ae06bcb8dadf75e02b3ef
9432 Author: Peng Wu <alexepico@gmail.com>
9433 Date: 2010-06-17 13:07:20 +0800
9434
9435 write select candidate.
9436
9437 M src/ExtEditor.cc
9438 M src/ExtEditor.h
9439
9440 commit f1f93631962b46a8a2744796ebbb9fdc74c981ff
9441 Author: Peng Huang <shawn.p.huang@gmail.com>
9442 Date: 2010-06-17 00:02:11 +0800
9443
9444 Add er in xhe double pinyin schema
9445
9446 M scripts/pydict.py
9447 M src/DoublePinyinTable.h
9448
9449 commit 4894ed5d2db043eff4c9bc4f0fa54093a8b63444
9450 Author: Peng Huang <shawn.p.huang@gmail.com>
9451 Date: 2010-06-15 00:12:30 +0800
9452
9453 Use gint8 for pinyin id in double pinyin table
9454
9455 M scripts/double.py
9456 M src/DoublePinyinEditor.cc
9457 M src/DoublePinyinTable.h
9458
9459 commit 9dbe241f90e55ec7114de2d3352e795841bd2802
9460 Author: Peng Huang <shawn.p.huang@gmail.com>
9461 Date: 2010-06-14 23:47:36 +0800
9462
9463 Update configure.ac
9464
9465 M configure.ac
9466
9467 commit b6a3f1fec76b01269677f1b237b6d9cc08317957
9468 Author: Peng Huang <shawn.p.huang@gmail.com>
9469 Date: 2010-06-14 23:44:27 +0800
9470
9471 Refine code
9472
9473 M src/SimpTradConverter.cc
9474
9475 commit b41c08e8c74c3995db7ae0b3745d91a2c4195194
9476 Author: Peng Huang <shawn.p.huang@gmail.com>
9477 Date: 2010-06-14 13:54:25 +0800
9478
9479 Use utf8 string encode
9480
9481 M scripts/update-simptrad-table.py
9482 M src/PinyinParser.cc
9483 M src/SimpTradConverter.cc
9484 M src/SimpTradConverterTable.h
9485
9486 commit 139a45ffcaa7c09f4003e86b805d3c4bf3f7d406
9487 Author: Peng Huang <shawn.p.huang@gmail.com>
9488 Date: 2010-06-14 11:09:21 +0800
9489
9490 Add --enable-opencc option
9491
9492 M configure.ac
9493
9494 commit eb0d395403b53372dbffca12c08107527822f303
9495 Author: Peng Huang <shawn.p.huang@gmail.com>
9496 Date: 2010-06-13 16:03:08 +0800
9497
9498 refine code
9499
9500 M src/DoublePinyinTable.h
9501 M src/DynamicSpecialPhrase.h
9502 M src/SimpTradConverter.h
9503
9504 commit 970b3c307810159b53310ecc741f7683d8f6ec0e
9505 Author: Peng Huang <shawn.p.huang@gmail.com>
9506 Date: 2010-06-13 15:38:36 +0800
9507
9508 Add XiaoHe double pinyin schema
9509
9510 M po/ru.po
9511 M po/zh_CN.po
9512 M po/zh_HK.po
9513 M po/zh_TW.po
9514 M scripts/double.py
9515 M scripts/pydict.py
9516 M setup/ibus-pinyin-preferences.ui
9517 M src/Config.cc
9518 M src/DoublePinyinEditor.cc
9519 M src/DoublePinyinTable.h
9520
9521 commit b8e83906f859da4e1d31fa7502a94afcfe07504f
9522 Author: Peng Huang <shawn.p.huang@gmail.com>
9523 Date: 2010-06-11 17:26:10 +0800
9524
9525 Improve performance of SimpTradConvert
9526
9527 M src/SimpTradConverter.cc
9528
9529 commit 90ef953d8523738c8f5be4181a38063095a74ee5
9530 Author: BYVoid <byvoid1@gmail.com>
9531 Date: 2010-06-10 22:28:04 +0800
9532
9533 Use C++ API of OpenCC
9534
9535 M src/SimpTradConverter.cc
9536
9537 commit c6fd949534e2ff0e98018327f7f1ff1313a51285
9538 Author: BYVoid <byvoid1@gmail.com>
9539 Date: 2010-06-10 12:51:13 +0800
9540
9541 Print message when an error occurs in opencc_convert
9542
9543 M src/SimpTradConverter.cc
9544
9545 commit 957d49989b7a48ad1488168bc1a5fc2a7e7121de
9546 Author: Peng Huang <shawn.p.huang@gmail.com>
9547 Date: 2010-06-10 13:34:18 +0800
9548
9549 Set release = 0
9550
9551 M configure.ac
9552
9553 commit 99e5cbcd24fa135cd146e0340875ca994fd08c88
9554 Author: Peng Huang <shawn.p.huang@gmail.com>
9555 Date: 2010-06-10 07:56:54 +0800
9556
9557 Add class OpenCC to encapsulate opencc
9558
9559 M src/SimpTradConverter.cc
9560
9561 commit 36e523c6ec97311a4cb73c6c5d713de99cd88656
9562 Merge: 63777ac 26b03fd
9563 Author: BYVoid <byvoid1@gmail.com>
9564 Date: 2010-06-09 22:38:08 +0800
9565
9566 Merge from origin
9567
9568 commit 26b03fd0eb5bcc7203ab22fcf5dd050cc63b81c4
9569 Author: Peng Huang <shawn.p.huang@gmail.com>
9570 Date: 2010-06-09 22:29:31 +0800
9571
9572 Refine some code.
9573
9574 M src/SimpTradConverter.cc
9575
9576 commit 63777acd3aa2537a7a5f79c62ec3e0ae9c44a169
9577 Author: Peng Huang <shawn.p.huang@gmail.com>
9578 Date: 2010-06-09 22:29:31 +0800
9579
9580 Refine some code.
9581
9582 M src/SimpTradConverter.cc
9583
9584 commit 1502908f965cf9327497a2fc672e1b3e9aa2c5f6
9585 Merge: 7beb2b2 6c84399
9586 Author: Peng Huang <shawn.p.huang@gmail.com>
9587 Date: 2010-06-09 22:14:58 +0800
9588
9589 Merge remote branch 'byvoid/opencc' into opencc
9590
9591 Conflicts:
9592 src/SimpTradConverter.cc
9593
9594 commit 7beb2b25ed9e38aa9ce1dcaf6a1a62a787e7db25
9595 Author: Peng Huang <shawn.p.huang@gmail.com>
9596 Date: 2010-06-09 22:12:48 +0800
9597
9598 Fix build warnings
9599
9600 M src/SimpTradConverter.cc
9601
9602 commit 6c84399193cbde0ad740eb114c3463336fa67ef4
9603 Author: BYVoid <byvoid1@gmail.com>
9604 Date: 2010-06-09 21:20:55 +0800
9605
9606 Modified interface of opencc in SimpTradConveter
9607
9608 M src/SimpTradConverter.cc
9609
9610 commit e6084e309c5fbeff0def79b04c4fb1e17ddd2e13
9611 Author: Peng Wu <alexepico@gmail.com>
9612 Date: 2010-06-09 15:38:40 +0800
9613
9614 refactor code.
9615
9616 M src/ExtEditor.cc
9617 M src/ExtEditor.h
9618
9619 commit 89a3b85e366defaf3bae44173be7e7091939ea41
9620 Author: BYVoid <byvoid1@gmail.com>
9621 Date: 2010-06-09 14:44:22 +0800
9622
9623 Fix opencc API
9624
9625 M src/SimpTradConverter.cc
9626
9627 commit ccff065a241ad0b30a5a36e2933a76ba6a0c5402
9628 Author: Peng Wu <alexepico@gmail.com>
9629 Date: 2010-06-09 14:33:16 +0800
9630
9631 add some code.
9632
9633 M src/ExtEditor.cc
9634 M src/ExtEditor.h
9635
9636 commit 9fd12b0354161edc98fe39ebf8b6aa4e9269f3f3
9637 Author: Peng Wu <alexepico@gmail.com>
9638 Date: 2010-06-09 10:51:59 +0800
9639
9640 refactor key handling.
9641
9642 M src/ExtEditor.cc
9643 M src/ExtEditor.h
9644
9645 commit bb48dfc2d26dfc4fe8bbdf85115f39186906cab2
9646 Author: Peng Huang <shawn.p.huang@gmail.com>
9647 Date: 2010-06-09 07:56:40 +0800
9648
9649 Use opencc
9650
9651 M configure.ac
9652 M src/Makefile.am
9653 M src/SimpTradConverter.cc
9654 M src/SimpTradConverter.h
9655
9656 commit 749b90a893831fd542b371393e988fe5e916a214
9657 Author: Peng Wu <alexepico@gmail.com>
9658 Date: 2010-06-07 16:48:49 +0800
9659
9660 add backspace/delete key handles.
9661
9662 M src/ExtEditor.cc
9663
9664 commit 35000f739315aa55123ba1599e04878f578366f1
9665 Author: Peng Wu <alexepico@gmail.com>
9666 Date: 2010-06-07 16:22:35 +0800
9667
9668 add key handles.
9669
9670 M src/ExtEditor.cc
9671 M src/ExtEditor.h
9672
9673 commit e92b6f27040f75a102d8b5aa25c8e1d301ce5800
9674 Author: Peng Wu <alexepico@gmail.com>
9675 Date: 2010-06-07 14:49:26 +0800
9676
9677 add cursor up/down and page up/down function.
9678
9679 M src/ExtEditor.cc
9680 M src/ExtEditor.h
9681
9682 commit c4701aac1131854cf9db31e80ca18c146d3c4c8e
9683 Author: Peng Wu <alexepico@gmail.com>
9684 Date: 2010-06-07 11:00:35 +0800
9685
9686 rename sendLookupTable to updateLookupTable.
9687
9688 M src/ExtEditor.cc
9689 M src/ExtEditor.h
9690
9691 commit 5ae0d6290c9cbd7d7bbef065d8eb9ab7ad7ac728
9692 Author: BYVoid <byvoid1@gmail.com>
9693 Date: 2010-06-05 17:14:36 +0800
9694
9695 Fix a bug of Traditional Chinese translation
9696
9697 M po/zh_HK.po
9698 M po/zh_TW.po
9699
9700 commit d27091f290d3f0a135500565db5b1027336fe815
9701 Author: Peng Huang <shawn.p.huang@gmail.com>
9702 Date: 2010-06-05 09:15:21 +0800
9703
9704 Remove some debug output
9705
9706 M setup/main.py
9707
9708 commit 317efbfb9472b4696895baa2b771ba7a8eea681c
9709 Author: Peng Huang <shawn.p.huang@gmail.com>
9710 Date: 2010-06-05 09:14:58 +0800
9711
9712 Move php_2_py.php to scripts/
9713
9714 R100 src/php_2_py.php scripts/php_2_py.php
9715 M src/Makefile.am
9716
9717 commit dacee4558562dd4c64f97fbbcd825c41672b9942
9718 Author: Peng Huang <shawn.p.huang@gmail.com>
9719 Date: 2010-06-05 09:07:59 +0800
9720
9721 Refine some code
9722
9723 M src/BopomofoEditor.cc
9724
9725 commit 0479700cde6a86fce05a233f6db7ed5b0991baca
9726 Author: Peng Huang <shawn.p.huang@gmail.com>
9727 Date: 2010-06-05 08:21:05 +0800
9728
9729 Update label of one property
9730
9731 M po/ru.po
9732 M po/zh_CN.po
9733 M po/zh_HK.po
9734 M po/zh_TW.po
9735 M src/PinyinProperties.cc
9736
9737 commit 77d9c68257fbc8de007b1524239d9bdb39346655
9738 Author: Peng Huang <shawn.p.huang@gmail.com>
9739 Date: 2010-06-05 07:38:04 +0800
9740
9741 Fix some build warning and verify some config item.
9742
9743 M src/Bopomofo.h
9744 M src/BopomofoEditor.cc
9745 M src/Config.cc
9746
9747 commit 52442871862a6558cf616601b97c7bd57d00d12a
9748 Author: BYVoid <byvoid1@gmail.com>
9749 Date: 2010-06-04 15:33:15 +0800
9750
9751 Update translation po files
9752
9753 M po/ru.po
9754 M po/zh_CN.po
9755 M po/zh_HK.po
9756 M po/zh_TW.po
9757
9758 commit 8a23fe6b8b4f5028887d797db25ad2aac13d8747
9759 Author: BYVoid <byvoid1@gmail.com>
9760 Date: 2010-06-04 15:07:13 +0800
9761
9762 Disabled Custom of SelectKey
9763
9764 M setup/ibus-pinyin-preferences.ui
9765 M setup/main.py
9766 M src/Bopomofo.h
9767 M src/BopomofoEditor.cc
9768 M src/Config.cc
9769 M src/Config.h
9770
9771 commit 38b97ecdf29a66709a9aa284cd065a99dca30a5e
9772 Author: BYVoid <byvoid1@gmail.com>
9773 Date: 2010-06-02 14:30:20 +0800
9774
9775 Update Config & Preferences UI for BopomofoEditor
9776
9777 M setup/ibus-pinyin-preferences.ui
9778 M setup/main.py
9779 M src/BopomofoEditor.cc
9780 M src/BopomofoEditor.h
9781 M src/Config.cc
9782 M src/Config.h
9783
9784 commit 8afcc64f37944b3e8f31b9df1e3058fcbdb1479c
9785 Author: BYVoid <byvoid1@gmail.com>
9786 Date: 2010-06-01 20:56:56 +0800
9787
9788 Improved user interaction of BopomofoEditor
9789
9790 M src/BopomofoEditor.cc
9791 M src/BopomofoEditor.h
9792 M src/LookupTable.h
9793 M src/PhoneticEditor.cc
9794 M src/PhoneticEditor.h
9795
9796 commit da7738330638e147deeef0fc53684249c51f494f
9797 Author: Peng Huang <shawn.p.huang@gmail.com>
9798 Date: 2010-06-05 07:28:26 +0800
9799
9800 Reduce dependency among header files.
9801
9802 M src/BopomofoEditor.cc
9803 M src/BopomofoEditor.h
9804 M src/BopomofoEngine.cc
9805 M src/Config.cc
9806 M src/Config.h
9807 M src/Database.cc
9808 M src/Database.h
9809 M src/DoublePinyinEditor.cc
9810 M src/DoublePinyinEditor.h
9811 M src/DynamicSpecialPhrase.cc
9812 M src/Editor.cc
9813 M src/Editor.h
9814 M src/ExtEditor.h
9815 M src/FallbackEditor.cc
9816 M src/FallbackEditor.h
9817 M src/FullPinyinEditor.cc
9818 M src/FullPinyinEditor.h
9819 M src/PhoneticEditor.cc
9820 M src/PhoneticEditor.h
9821 M src/PhraseEditor.cc
9822 M src/PhraseEditor.h
9823 M src/PinyinEditor.cc
9824 M src/PinyinEditor.h
9825 M src/PinyinEngine.cc
9826 M src/PinyinProperties.cc
9827 M src/PinyinProperties.h
9828 M src/PunctEditor.cc
9829 M src/PunctEditor.h
9830 M src/RawEditor.h
9831 M src/SpecialPhrase.h
9832 M src/SpecialPhraseTable.cc
9833 M src/SpecialPhraseTable.h
9834
9835 commit f01adcdb0a4df396e7c2388f39dff70d1319c098
9836 Author: Peng Huang <shawn.p.huang@gmail.com>
9837 Date: 2010-06-02 21:52:59 +0800
9838
9839 Add --version -V option
9840
9841 M src/Database.cc
9842 M src/Database.h
9843 M src/Main.cc
9844 M src/SpecialPhrase.cc
9845
9846 commit 984ce06e5c96603ce3d2edbee008c0df9b8328b1
9847 Author: Peng Huang <shawn.p.huang@gmail.com>
9848 Date: 2010-05-31 10:56:20 +0800
9849
9850 Refine coding style
9851
9852 M src/PhraseEditor.h
9853 M src/PinyinProperties.h
9854 M src/Pointer.h
9855 M src/Regex.h
9856
9857 commit c1d6020cf3333b264937ac44132d82e4591adeba
9858 Author: Peng Huang <shawn.p.huang@gmail.com>
9859 Date: 2010-05-31 08:07:39 +0800
9860
9861 Update README
9862
9863 M README
9864
9865 commit 9fc7711231bc4734541b50087b813e598a6813db
9866 Author: Peng Huang <shawn.p.huang@gmail.com>
9867 Date: 2010-05-30 21:53:34 +0800
9868
9869 Refine coding style
9870
9871 M src/Bus.h
9872 M src/Property.h
9873
9874 commit 502b8e814fe1aa59c7f607a04c363ef0c03e476f
9875 Author: Peng Huang <shawn.p.huang@gmail.com>
9876 Date: 2010-05-30 21:39:08 +0800
9877
9878 Use inline function and const value to replace some macors.
9879
9880 M src/BopomofoEditor.cc
9881 M src/BopomofoEngine.cc
9882 M src/DoublePinyinEditor.cc
9883 M src/FallbackEditor.cc
9884 M src/PhoneticEditor.cc
9885 M src/PinyinEditor.cc
9886 M src/PinyinEngine.cc
9887 M src/PunctEditor.cc
9888 M src/Util.h
9889
9890 commit 9211cbcd3d580cf96a2bea7d8dd3ec8beefca9a7
9891 Author: Peng Huang <shawn.p.huang@gmail.com>
9892 Date: 2010-05-30 21:04:22 +0800
9893
9894 Refine coding style
9895
9896 M src/BopomofoEngine.cc
9897 M src/BopomofoEngine.h
9898 M src/Config.cc
9899 M src/Config.h
9900 M src/Database.h
9901 M src/Editor.h
9902 M src/Engine.h
9903 M src/FallbackEditor.h
9904 M src/LookupTable.h
9905 M src/Object.h
9906 M src/PhoneticEditor.h
9907 M src/Phrase.h
9908 M src/PhraseEditor.h
9909 M src/PinyinArray.h
9910 M src/PinyinEditor.h
9911 M src/PinyinEngine.cc
9912 M src/PinyinEngine.h
9913 M src/PinyinParser.h
9914 M src/PinyinProperties.h
9915 M src/SpecialPhrase.h
9916 M src/String.h
9917 M src/Text.h
9918 M src/Util.h
9919
9920 commit 44f4960fb84fbb3643d523932bc8612bff5ff18c
9921 Author: Peng Huang <shawn.p.huang@gmail.com>
9922 Date: 2010-05-30 14:55:37 +0800
9923
9924 Move python script files to scripts folder
9925
9926 R098 src/update-simptrad-table.py scripts/update-simptrad-table.py
9927 R100 src/valid_hanzi.py scripts/valid_hanzi.py
9928 M src/Makefile.am
9929 D src/sctc.py
9930
9931 commit 6b29ccd6523cf87c75d9f2327f930ea94a4e35a0
9932 Author: Peng Huang <shawn.p.huang@gmail.com>
9933 Date: 2010-05-30 14:45:37 +0800
9934
9935 Fix special phrases option problem in Bopomofo engine.
9936
9937 M src/PhoneticEditor.cc
9938 M src/SpecialPhraseTable.cc
9939
9940 commit 89bb1454a7b7b228170605ffb1d9ee6eecbaa869
9941 Author: BYVoid <byvoid1@gmail.com>
9942 Date: 2010-05-30 12:12:48 +0800
9943
9944 Optimize dependence of headers
9945
9946 M src/BopomofoEngine.cc
9947 M src/DynamicSpecialPhrase.cc
9948 M src/Engine.cc
9949 M src/Engine.h
9950 M src/PhoneticEditor.h
9951 M src/PinyinEngine.cc
9952 M src/PinyinParser.cc
9953 M src/PinyinProperties.cc
9954 M src/PunctEditor.cc
9955 M src/PunctEditor.h
9956 M src/SimpTradConverter.cc
9957 M src/SpecialPhraseTable.cc
9958 M src/SpecialPhraseTable.h
9959
9960 commit 89340fe814c2fbf5648b7a3f84cb5ef7bb4e370c
9961 Author: Peng Huang <shawn.p.huang@gmail.com>
9962 Date: 2010-05-29 17:21:25 +0800
9963
9964 Release 1.3.8
9965
9966 M configure.ac
9967
9968 commit 25227863e045a89e5a8aa3c626318dcae6bde895
9969 Author: Peng Huang <shawn.p.huang@gmail.com>
9970 Date: 2010-05-29 11:18:39 +0800
9971
9972 Do not call readDefaultValues in constructor function.
9973
9974 M src/Config.cc
9975
9976 commit 3950e439f487e88dc519344b24871ebac96e7d86
9977 Author: Peng Huang <shawn.p.huang@gmail.com>
9978 Date: 2010-05-29 08:22:00 +0800
9979
9980 Write default value to config, if the value does not exist
9981
9982 M src/Config.cc
9983
9984 commit 700bc273d43b3e9df401defc3a27a2ac86e7b2f4
9985 Author: Peng Huang <shawn.p.huang@gmail.com>
9986 Date: 2010-05-29 05:51:27 +0800
9987
9988 Remove inline modifier for some functions
9989
9990 M src/PhoneticEditor.cc
9991
9992 commit e775fe8869e3f294e26bf672306922c907d8589e
9993 Author: Peng Huang <shawn.p.huang@gmail.com>
9994 Date: 2010-05-29 05:42:40 +0800
9995
9996 Add "·" in PunctTable
9997
9998 M scripts/punct.py
9999 M src/PunctTable.h
10000
10001 commit 80d4092bc0f83b0cf9a0292b44fa033cf411fc54
10002 Author: Peng Huang <shawn.p.huang@gmail.com>
10003 Date: 2010-05-29 05:42:14 +0800
10004
10005 Fix problem in PunctEditor.
10006
10007 M src/PunctEditor.cc
10008
10009 commit e19ff554f28ed03f01423ff7d9ca6f9bac18f978
10010 Author: Peng Huang <shawn.p.huang@gmail.com>
10011 Date: 2010-05-28 14:53:48 +0800
10012
10013 Release 1.3.7
10014
10015 M configure.ac
10016
10017 commit 4f41efbd5eebba8c9b09c1b46f27a51cbfb13254
10018 Author: Peng Huang <shawn.p.huang@gmail.com>
10019 Date: 2010-05-28 14:44:01 +0800
10020
10021 Disable special phrases by default in bopomofo engine
10022
10023 M src/Config.cc
10024
10025 commit ad860b1d8f7a4838e850881cc7111ec9604ec171
10026 Author: Peng Huang <shawn.p.huang@gmail.com>
10027 Date: 2010-05-28 14:41:32 +0800
10028
10029 Reset engine status when enable again
10030
10031 M src/BopomofoEngine.h
10032 M src/PinyinEngine.h
10033 M src/PinyinProperties.cc
10034 M src/PinyinProperties.h
10035
10036 commit 701c14239112acd27d0d440f3ea0f21d33d415e1
10037 Author: Peng Huang <shawn.p.huang@gmail.com>
10038 Date: 2010-05-28 14:30:38 +0800
10039
10040 Refine Config
10041
10042 M src/Config.cc
10043
10044 commit aa48377217d099e073caa4a85debd871f01bc93e
10045 Merge: c1b1a2e 0a9d1b4
10046 Author: Peng Huang <shawn.p.huang@gmail.com>
10047 Date: 2010-05-28 14:21:04 +0800
10048
10049 Merge remote branch 'byvoid/master'
10050
10051 commit c1b1a2e6f38ebfec473b430c1aa3ee692e3b76ec
10052 Author: Peng Huang <shawn.p.huang@gmail.com>
10053 Date: 2010-05-28 14:15:35 +0800
10054
10055 Use different default config values for Pinyin and Bopomofo
10056
10057 M src/Config.cc
10058 M src/Config.h
10059
10060 commit 0a9d1b485c22f30c0023df78ec892cb1d42770a8
10061 Author: BYVoid <byvoid1@gmail.com>
10062 Date: 2010-05-28 14:00:12 +0800
10063
10064 Update Chinese translation
10065
10066 M po/zh_CN.po
10067 M po/zh_HK.po
10068 M po/zh_TW.po
10069
10070 commit 54ffd76da5dfb02f4f67950c59c55d2ee85eaee0
10071 Author: Peng Huang <shawn.p.huang@gmail.com>
10072 Date: 2010-05-28 10:09:57 +0800
10073
10074 Use const gchar * const
10075
10076 M src/Config.cc
10077
10078 commit 0862e8bcb0ce7a5a7471f1e503f6fff053662f69
10079 Author: Peng Huang <shawn.p.huang@gmail.com>
10080 Date: 2010-05-28 10:08:41 +0800
10081
10082 Use const gchar * to replace macros
10083
10084 M src/Config.cc
10085
10086 commit e21253f31aa2149a92e0cef06f543e1c00f5817e
10087 Author: Peng Huang <shawn.p.huang@gmail.com>
10088 Date: 2010-05-27 13:51:21 +0800
10089
10090 Switch to Chinese mode when enable
10091
10092 M src/BopomofoEngine.h
10093 M src/PinyinEngine.h
10094
10095 commit ba89d9ef399ce61a63929d44773153191fa71412
10096 Author: Peng Huang <shawn.p.huang@gmail.com>
10097 Date: 2010-05-27 10:33:16 +0800
10098
10099 Add debian/changelog.in
10100
10101 M Makefile.am
10102 A debian/changelog.in
10103
10104 commit 69247ae60b786af9125390a0b5f9def4107935e8
10105 Author: Peng Huang <shawn.p.huang@gmail.com>
10106 Date: 2010-05-27 10:16:50 +0800
10107
10108 Fix build error in converting void * to int.
10109
10110 M src/BopomofoEditor.cc
10111
10112 commit c9850205a602b5d36172d13ee5c2a9ccb02d418e
10113 Author: BYVoid <byvoid1@gmail.com>
10114 Date: 2010-05-26 15:49:50 +0800
10115
10116 Fix a bug of bsearch while converting keyval to Bopomofo
10117
10118 M src/BopomofoEditor.cc
10119
10120 commit 6d232faeef299048a2d2d4f02aa36614a40e4cc0
10121 Author: Peng Huang <shawn.p.huang@gmail.com>
10122 Date: 2010-05-26 13:21:34 +0800
10123
10124 Add ppa target for generate debian source packages.
10125
10126 M Makefile.am
10127 M configure.ac
10128 D debian/changelog
10129 M debian/control
10130
10131 commit 0ba1b74b141c445832c64a17945830aa2da277ee
10132 Author: Peng Huang <shawn.p.huang@gmail.com>
10133 Date: 2010-05-26 10:39:59 +0800
10134
10135 Update po files.
10136
10137 M po/zh_CN.po
10138 M po/zh_TW.po
10139
10140 commit 177313343f4122342cfccccc5e0d7b8e977875f9
10141 Author: Peng Huang <shawn.p.huang@gmail.com>
10142 Date: 2010-05-25 17:00:54 +0800
10143
10144 Update po files.
10145
10146 M po/ru.po
10147 M po/zh_CN.po
10148 M po/zh_HK.po
10149 M po/zh_TW.po
10150
10151 commit a4c5ebefd2fea0ccc140d2ee08f08e7a46a4d8e8
10152 Author: BYVoid <byvoid1@gmail.com>
10153 Date: 2010-05-25 16:52:33 +0800
10154
10155 Correct some labels
10156
10157 M setup/ibus-pinyin-preferences.ui
10158
10159 commit b02483cd38e62fbca46a52d9348322088fd6f9b1
10160 Merge: a72b309 72fa95d
10161 Author: Peng Huang <shawn.p.huang@gmail.com>
10162 Date: 2010-05-25 16:30:40 +0800
10163
10164 Merge remote branch 'byvoid/fallbackeditor'
10165
10166 commit 72fa95d9454d021a645426e5e7ae7a7ba510251f
10167 Author: BYVoid <byvoid1@gmail.com>
10168 Date: 2010-05-25 16:28:26 +0800
10169
10170 Add Traditional Chinese mode punct for FallbackEditor
10171
10172 M src/FallbackEditor.cc
10173 M src/FallbackEditor.h
10174
10175 commit a72b309c8b890362fe679533a9286415759f9e50
10176 Author: Peng Huang <shawn.p.huang@gmail.com>
10177 Date: 2010-05-25 16:22:28 +0800
10178
10179 Change some variables' name.
10180
10181 M src/Makefile.am
10182
10183 commit 4d5e9f2ea2475df2e8fa33a0bdd2561e89060214
10184 Author: Peng Huang <shawn.p.huang@gmail.com>
10185 Date: 2010-05-25 15:45:42 +0800
10186
10187 Fix make distcheck errors.
10188
10189 M src/Makefile.am
10190
10191 commit 9f495b05abf522fea51fcea341c425d1a9a73e52
10192 Author: Peng Huang <shawn.p.huang@gmail.com>
10193 Date: 2010-05-25 13:29:22 +0800
10194
10195 Update po files and adjust ui
10196
10197 M po/ru.po
10198 M po/zh_CN.po
10199 M po/zh_HK.po
10200 M po/zh_TW.po
10201 M setup/ibus-pinyin-preferences.ui
10202
10203 commit f39251e51b09d8b386a903a67dd3cf65dbadf296
10204 Author: Peng Huang <shawn.p.huang@gmail.com>
10205 Date: 2010-05-25 12:58:50 +0800
10206
10207 Adjust the setup interface.
10208
10209 M setup/ibus-pinyin-preferences.ui
10210 M setup/main.py
10211
10212 commit 6f088990f755857ec1d8f2e0ccc9794aee0fbb23
10213 Author: Peng Huang <shawn.p.huang@gmail.com>
10214 Date: 2010-05-24 14:21:31 +0800
10215
10216 Use boost::scoped_ptr to maintain Config instances.
10217
10218 M src/Config.cc
10219 M src/Config.h
10220
10221 commit 839285e57e76ddf94b6c77233ed6296ebead2a8c
10222 Author: Peng Huang <shawn.p.huang@gmail.com>
10223 Date: 2010-05-24 13:41:24 +0800
10224
10225 Refine coding style and use guint8 in BopomofoKeyboard.h
10226
10227 M scripts/genbopomofokeyboard.py
10228 M src/Bopomofo.h
10229 M src/BopomofoKeyboard.h
10230 M src/Makefile.am
10231
10232 commit 9258379bbdaedc5ab48688303d13df8ef4446f9d
10233 Author: Peng Huang <shawn.p.huang@gmail.com>
10234 Date: 2010-05-24 10:05:50 +0800
10235
10236 Use const gchar * to replase std::string for static strings.
10237
10238 M src/Config.cc
10239
10240 commit e034dcfa68d6652d0a85d7a476db3faf97a70076
10241 Author: Peng Huang <shawn.p.huang@gmail.com>
10242 Date: 2010-05-24 08:48:00 +0800
10243
10244 Refine modifiers test code for Ctrl + Shift + F
10245
10246 M src/BopomofoEngine.cc
10247 M src/PinyinEngine.cc
10248 M src/Util.h
10249
10250 commit 19bb8989b043c292ab22523733bac2ef127f80d2
10251 Merge: c95380c 8b7ac7c
10252 Author: Peng Huang <shawn.p.huang@gmail.com>
10253 Date: 2010-05-24 07:29:27 +0800
10254
10255 Merge remote branch 'byvoid/st_switch_hotkey'
10256
10257 commit c95380ca00b797431c8d5b8fdb7ed0bb0773df40
10258 Author: BYVoid <byvoid1@gmail.com>
10259 Date: 2010-05-23 21:01:53 +0800
10260
10261 Fix a bug on Config & Enable Bopomofo specialized settings
10262
10263 M setup/main.py
10264 M src/BopomofoEditor.cc
10265 M src/Config.cc
10266 M src/Config.h
10267 M src/PhoneticEditor.cc
10268
10269 commit 8b7ac7c654eeaccf1fb45fcca6088eed537bad2b
10270 Author: BYVoid <byvoid1@gmail.com>
10271 Date: 2010-05-23 20:18:45 +0800
10272
10273 Add hotkey Ctrl + Shift + F to toggle simp/trad Chinese input mode
10274
10275 M src/BopomofoEngine.cc
10276 M src/PinyinEngine.cc
10277
10278 commit 11f83b7110549559aa0741fc054aaeb2b2f1f164
10279 Author: Peng Huang <shawn.p.huang@gmail.com>
10280 Date: 2010-05-23 17:37:09 +0800
10281
10282 Launch setup with different arguments in PinyinEngine & BopomofoEngine
10283
10284 M src/BopomofoEngine.cc
10285 M src/PinyinEngine.cc
10286
10287 commit 86649ed500fc5ce607a2cd36101bc9fc9d749ae6
10288 Author: Peng Huang <shawn.p.huang@gmail.com>
10289 Date: 2010-05-23 17:35:03 +0800
10290
10291 Use pinyin setup as default
10292
10293 M setup/main.py
10294
10295 commit 82f0c59bf63523f6c5255ade681a3e43bfc1af2c
10296 Author: Peng Huang <shawn.p.huang@gmail.com>
10297 Date: 2010-05-23 17:07:41 +0800
10298
10299 Add test-pinyin and test-bopomofo targets
10300
10301 M setup/Makefile.am
10302
10303 commit 83e194de430e70ca46034016f2b172e5ac8a2aeb
10304 Author: BYVoid <byvoid1@gmail.com>
10305 Date: 2010-05-23 17:04:49 +0800
10306
10307 Reorganize setup User Interface
10308
10309 M setup/ibus-pinyin-preferences.ui
10310 M setup/main.py
10311
10312 commit b4e80d22b99d42afdc5067738129910877160704
10313 Merge: 163587a f9a90e8
10314 Author: Peng Huang <shawn.p.huang@gmail.com>
10315 Date: 2010-05-23 12:48:45 +0800
10316
10317 Merge remote branch 'byvoid/PhoneticEditor' into config
10318
10319 Conflicts:
10320 src/BopomofoEditor.cc
10321 src/Editor.h
10322 src/PinyinEditor.cc
10323
10324 commit 163587a5185b137df364194d862a671019e3528c
10325 Author: Peng Huang <shawn.p.huang@gmail.com>
10326 Date: 2010-05-23 11:59:06 +0800
10327
10328 Separate Config to PinyinConfig and BopomofoConfig
10329
10330 M src/BopomofoEditor.cc
10331 M src/BopomofoEditor.h
10332 M src/BopomofoEngine.cc
10333 M src/Config.cc
10334 M src/Config.h
10335 M src/DoublePinyinEditor.cc
10336 M src/DoublePinyinEditor.h
10337 M src/Editor.cc
10338 M src/Editor.h
10339 M src/ExtEditor.cc
10340 M src/ExtEditor.h
10341 M src/FallbackEditor.h
10342 M src/FullPinyinEditor.cc
10343 M src/FullPinyinEditor.h
10344 M src/Main.cc
10345 M src/PhraseEditor.cc
10346 M src/PhraseEditor.h
10347 M src/PinyinEditor.cc
10348 M src/PinyinEditor.h
10349 M src/PinyinEngine.cc
10350 M src/PinyinProperties.cc
10351 M src/PinyinProperties.h
10352 M src/PunctEditor.cc
10353 M src/PunctEditor.h
10354 M src/RawEditor.h
10355 M src/SpecialPhraseTable.cc
10356
10357 commit f9a90e87c0de01909659b5c134bd8d0fc5fd14b1
10358 Author: BYVoid <byvoid1@gmail.com>
10359 Date: 2010-05-23 12:30:57 +0800
10360
10361 Add abstract class PhoneticEditor
10362
10363 M src/BopomofoEditor.cc
10364 M src/BopomofoEditor.h
10365 M src/BopomofoEngine.cc
10366 M src/DoublePinyinEditor.cc
10367 M src/Editor.h
10368 M src/FallbackEditor.cc
10369 M src/Makefile.am
10370 A src/PhoneticEditor.cc
10371 A src/PhoneticEditor.h
10372 M src/PinyinEditor.cc
10373 M src/PinyinEditor.h
10374 M src/PinyinEngine.cc
10375 M src/PunctEditor.cc
10376 M src/Util.h
10377
10378 commit d30c3eb38d344234f0c2b4c64b7ade8fe32be667
10379 Author: Peng Huang <shawn.p.huang@gmail.com>
10380 Date: 2010-05-23 08:11:09 +0800
10381
10382 Add BopomofoKeyboard.h in Makefile.am
10383
10384 M src/Makefile.am
10385
10386 commit 97e6b06bfbff6e97f34927abfb68ca787a04e81c
10387 Author: BYVoid <byvoid1@gmail.com>
10388 Date: 2010-05-20 16:20:08 +0800
10389
10390 Add keyboard mappings for Bopomofo
10391
10392 A scripts/genbopomofokeyboard.py
10393 M src/BopomofoEditor.cc
10394 M src/BopomofoEditor.h
10395 A src/BopomofoKeyboard.h
10396
10397 commit 2850ed99948e24996e494ca85e4520b28eb6e7c9
10398 Author: Peng Huang <shawn.p.huang@gmail.com>
10399 Date: 2010-05-20 14:12:59 +0800
10400
10401 PunctEditor.c: reset editor, when commit some text to application
10402
10403 M src/PunctEditor.cc
10404
10405 commit 7b9b5d6855992dc5115e1ba16a1c12ed708328b2
10406 Author: Peng Huang <shawn.p.huang@gmail.com>
10407 Date: 2010-05-20 13:03:28 +0800
10408
10409 Refine coding style
10410
10411 M src/Bopomofo.h
10412 M src/BopomofoEngine.h
10413 M src/Database.h
10414 M src/Engine.h
10415 M src/ExtEditor.h
10416 M src/FallbackEditor.h
10417 M src/PinyinEngine.h
10418 M src/PinyinParser.h
10419 M src/PunctEditor.h
10420 M src/RawEditor.h
10421 M src/Types.h
10422
10423 commit 01b5e9f5177b1f2c98ddbc80c4d120a775ea2f8d
10424 Author: Peng Huang <shawn.p.huang@gmail.com>
10425 Date: 2010-05-20 13:00:21 +0800
10426
10427 Add copyright header in some python file
10428
10429 M setup/main.py
10430 M setup/version.py.in
10431
10432 commit 7bde3870c152ed24d81a53fbcb658ec223e35f52
10433 Author: Peng Huang <shawn.p.huang@gmail.com>
10434 Date: 2010-05-20 12:56:48 +0800
10435
10436 Remove WideString.h
10437
10438 D src/WideString.h
10439
10440 commit f52e95706d705509320a84c9cc3383ac3adf7027
10441 Author: Peng Huang <shawn.p.huang@gmail.com>
10442 Date: 2010-05-20 12:54:10 +0800
10443
10444 Add BYVoid in copyright header for some files
10445
10446 M src/Bopomofo.h
10447 M src/BopomofoEditor.cc
10448 M src/BopomofoEditor.h
10449 M src/BopomofoEngine.cc
10450 M src/BopomofoEngine.h
10451 M src/PunctEditor.cc
10452 M src/PunctEditor.h
10453
10454 commit b1a91ad39f89efcaeb7bd01c3877b7fea0e6d1c7
10455 Author: Peng Huang <shawn.p.huang@gmail.com>
10456 Date: 2010-05-20 12:49:05 +0800
10457
10458 Add copyright header
10459
10460 A scripts/addheader.py
10461 A scripts/header
10462 M src/Bopomofo.h
10463 M src/BopomofoEditor.cc
10464 M src/BopomofoEditor.h
10465 M src/BopomofoEngine.cc
10466 M src/BopomofoEngine.h
10467 M src/Bus.h
10468 M src/Config.cc
10469 M src/Config.h
10470 M src/Database.cc
10471 M src/Database.h
10472 M src/DoublePinyinEditor.cc
10473 M src/DoublePinyinEditor.h
10474 M src/DoublePinyinTable.h
10475 M src/DynamicSpecialPhrase.cc
10476 M src/DynamicSpecialPhrase.h
10477 M src/Editor.cc
10478 M src/Editor.h
10479 M src/Engine.cc
10480 M src/Engine.h
10481 M src/ExtEditor.cc
10482 M src/ExtEditor.h
10483 M src/FallbackEditor.cc
10484 M src/FallbackEditor.h
10485 M src/FullPinyinEditor.cc
10486 M src/FullPinyinEditor.h
10487 M src/HalfFullConverter.cc
10488 M src/HalfFullConverter.h
10489 M src/LookupTable.h
10490 M src/Main.cc
10491 M src/Object.h
10492 M src/Phrase.h
10493 M src/PhraseArray.h
10494 M src/PhraseEditor.cc
10495 M src/PhraseEditor.h
10496 M src/PinyinArray.h
10497 M src/PinyinEditor.cc
10498 M src/PinyinEditor.h
10499 M src/PinyinEngine.cc
10500 M src/PinyinEngine.h
10501 M src/PinyinParser.cc
10502 M src/PinyinParser.h
10503 M src/PinyinProperties.cc
10504 M src/PinyinProperties.h
10505 M src/Pointer.h
10506 M src/Property.h
10507 M src/PunctEditor.cc
10508 M src/PunctEditor.h
10509 M src/RawEditor.h
10510 M src/Regex.h
10511 M src/Signal.h
10512 M src/SimpTradConverter.cc
10513 M src/SimpTradConverter.h
10514 M src/SpecialPhrase.cc
10515 M src/SpecialPhrase.h
10516 M src/SpecialPhraseTable.cc
10517 M src/SpecialPhraseTable.h
10518 M src/String.h
10519 M src/Text.h
10520 M src/Types.h
10521 M src/Util.h
10522 M src/WideString.h
10523
10524 commit d52ce00ad6718933db0df16451a8ea0a9e15e505
10525 Author: Peng Huang <shawn.p.huang@gmail.com>
10526 Date: 2010-05-20 11:07:30 +0800
10527
10528 Adjust Phrase struct
10529
10530 M src/Database.cc
10531 M src/Phrase.h
10532
10533 commit db8a93b8dfce99abfd827f34d20abbeff2538d7b
10534 Author: Peng Huang <shawn.p.huang@gmail.com>
10535 Date: 2010-05-20 10:18:49 +0800
10536
10537 Adjust struct Pinyin
10538
10539 M scripts/genpytable.py
10540 M src/Database.cc
10541 M src/PinyinParserTable.h
10542 M src/Types.h
10543
10544 commit e50e58a4739793c72ff50ddd9965ad1488b3eacc
10545 Author: Peng Huang <shawn.p.huang@gmail.com>
10546 Date: 2010-05-20 10:03:36 +0800
10547
10548 Use guint8 for pinyin id
10549
10550 M src/Phrase.h
10551
10552 commit 1c29151417b47765f1ecd4beffda2f9f4d3cfa9a
10553 Author: Peng Huang <shawn.p.huang@gmail.com>
10554 Date: 2010-05-19 22:27:48 +0800
10555
10556 Set CFLAGS and CXXFLAGS in distcheck
10557
10558 M Makefile.am
10559
10560 commit 1639e147b1f247ff7e81799f125d4cd9d2f0435c
10561 Author: Peng Huang <shawn.p.huang@gmail.com>
10562 Date: 2010-05-19 22:04:47 +0800
10563
10564 Remove slots in Engines.
10565
10566 M src/BopomofoEngine.cc
10567 M src/BopomofoEngine.h
10568 M src/PinyinEngine.cc
10569 M src/PinyinEngine.h
10570
10571 commit 5b3ed4eedf0163cf87e697675805e0a73ea974c2
10572 Author: Peng Huang <shawn.p.huang@gmail.com>
10573 Date: 2010-05-19 21:55:49 +0800
10574
10575 Use StaticText
10576
10577 M src/PunctEditor.cc
10578
10579 commit f276b2072f2c9b2b344a673486bb7907d7c8ac44
10580 Author: Peng Huang <shawn.p.huang@gmail.com>
10581 Date: 2010-05-19 21:43:56 +0800
10582
10583 Refine coding style
10584
10585 M src/Phrase.h
10586
10587 commit b7afcc3ca1e9a7efac29f7f10da008b6ec052a91
10588 Author: Peng Huang <shawn.p.huang@gmail.com>
10589 Date: 2010-05-19 21:43:39 +0800
10590
10591 Use guint8 for pinyin id
10592
10593 M src/Types.h
10594
10595 commit bfbc50af2a613232cec8dd4e776c0ac0e433688b
10596 Author: Peng Huang <shawn.p.huang@gmail.com>
10597 Date: 2010-05-19 17:29:49 +0800
10598
10599 Fix build errors in NetBSD
10600
10601 M src/PinyinEditor.cc
10602
10603 commit b9a2255b4478ec5ab3d3793462e89fc98a498393
10604 Author: Peng Huang <shawn.p.huang@gmail.com>
10605 Date: 2010-05-19 13:39:10 +0800
10606
10607 Update Copyright information
10608
10609 M Makefile.am
10610 M configure.ac
10611 M data/Makefile.am
10612 M data/db/Makefile.am
10613 M data/db/android/Makefile.am
10614 M data/db/open-phrase/Makefile.am
10615 M data/icons/Makefile.am
10616 M m4/Makefile.am
10617 M po/ru.po
10618 M po/zh_CN.po
10619 M po/zh_HK.po
10620 M po/zh_TW.po
10621 M setup/Makefile.am
10622 M setup/ibus-pinyin-preferences.ui
10623 M src/Makefile.am
10624
10625 commit 5293d9fa8c71471c8fa7e94b05e4ea7bfdff2538
10626 Author: Peng Huang <shawn.p.huang@gmail.com>
10627 Date: 2010-05-19 13:21:00 +0800
10628
10629 Clear the lookup table when cursor == 0
10630
10631 M src/PunctEditor.cc
10632
10633 commit ca5db95f90da616c7a9db0a57a2e9ae0a77d7dc0
10634 Author: Peng Huang <shawn.p.huang@gmail.com>
10635 Date: 2010-05-19 12:58:55 +0800
10636
10637 Do not use color for candidates of PunctEditor
10638
10639 M src/PunctEditor.cc
10640
10641 commit f23f898e21418421bd59b9d58cbb328dacded57c
10642 Author: Peng Huang <shawn.p.huang@gmail.com>
10643 Date: 2010-05-19 12:45:27 +0800
10644
10645 Fix some bugs in PunctEditor
10646
10647 M src/PunctEditor.cc
10648
10649 commit 4eb4f42bfa5b456e6fc176bfde4fb1bc4cbb78bd
10650 Author: Peng Huang <shawn.p.huang@gmail.com>
10651 Date: 2010-05-19 12:08:45 +0800
10652
10653 Fix crash when move curso in pinyin "pi'ao"
10654
10655 M src/PinyinParser.cc
10656
10657 commit ed0651e5dba02d4629811aad85eedb85ad9d1700
10658 Author: Peng Huang <shawn.p.huang@gmail.com>
10659 Date: 2010-05-19 11:19:27 +0800
10660
10661 Improve punct editor.
10662
10663 M src/LookupTable.h
10664 M src/PunctEditor.cc
10665 M src/PunctEditor.h
10666
10667 commit b987eef1b9d4768f3ea458189afb660afdc704cb
10668 Author: Peng Wu <alexepico@gmail.com>
10669 Date: 2010-05-18 15:12:10 +0800
10670
10671 change fillCommandCandidates behaviour.
10672
10673 M src/ExtEditor.cc
10674
10675 commit 5dba4f1d3e7eb38c85d550d71f36f63c5b17496a
10676 Author: Peng Wu <alexepico@gmail.com>
10677 Date: 2010-05-18 14:57:15 +0800
10678
10679 rename ibus_engine_plugin_free part 2.
10680
10681 M src/ExtEditor.cc
10682
10683 commit f5a9d67dbcd11d289c84ed8cbd5dee82d0f6afe4
10684 Author: Peng Wu <alexepico@gmail.com>
10685 Date: 2010-05-18 14:56:01 +0800
10686
10687 rename ibus_engine_plugin_free.
10688
10689 M lua/lua-plugin.c
10690 M lua/lua-plugin.h
10691
10692 commit f29d0e8c70bd9a7744be7dfe3e79a71e20f07f05
10693 Author: Peng Wu <alexepico@gmail.com>
10694 Date: 2010-05-18 14:54:23 +0800
10695
10696 add fill candidates.
10697
10698 M src/ExtEditor.cc
10699
10700 commit 9702be36351fbf1cd7a7be2a6bd27415880c3b9a
10701 Author: Peng Wu <alexepico@gmail.com>
10702 Date: 2010-05-17 16:08:09 +0800
10703
10704 add update auxiliary and fill candidates label according to m_mode.
10705
10706 M src/ExtEditor.cc
10707
10708 commit 717ec8f7335511d33a2a0f054bb1eb141c945a79
10709 Author: Peng Wu <alexepico@gmail.com>
10710 Date: 2010-05-13 18:56:13 +0800
10711
10712 add aux and preedit text.
10713
10714 M src/ExtEditor.cc
10715
10716 commit 6d36d1133befbd5dc4e62ba7443222c45027a6f3
10717 Author: Peng Wu <alexepico@gmail.com>
10718 Date: 2010-05-12 17:03:55 +0800
10719
10720 fixes retval of function processKeyEvent.
10721
10722 M src/ExtEditor.cc
10723
10724 commit a63bb1b2052afb203783d50eb41e6801d14710ae
10725 Author: Peng Wu <alexepico@gmail.com>
10726 Date: 2010-05-12 16:46:27 +0800
10727
10728 enable ext mode in pinyin engine.
10729
10730 M src/PinyinEngine.cc
10731
10732 commit f52a8aaf5a8fada6a2b2e203dd50c1aaa27037b5
10733 Author: Peng Wu <alexepico@gmail.com>
10734 Date: 2010-05-12 16:45:28 +0800
10735
10736 rename m_input to m_text and m_cursor_pos to m_cursor.
10737
10738 M src/ExtEditor.cc
10739 M src/ExtEditor.h
10740
10741 commit 64f12372db7e24af20d000d399d73d74a2667c35
10742 Author: Peng Wu <alexepico@gmail.com>
10743 Date: 2010-05-12 13:44:25 +0800
10744
10745 clean up code.
10746
10747 M src/ExtEditor.cc
10748
10749 commit 539d0d0bb455ebc79477a4adc3c51520c95beec0
10750 Author: Peng Wu <alexepico@gmail.com>
10751 Date: 2010-05-11 19:03:11 +0800
10752
10753 refact code into updateStateFromInput and fixes compiling errors.
10754
10755 M src/ExtEditor.cc
10756 M src/ExtEditor.h
10757
10758 commit 4a56a37823f7cf93a89f9fea0afedcdbe3ce69d1
10759 Author: Peng Wu <alexepico@gmail.com>
10760 Date: 2010-05-11 14:48:25 +0800
10761
10762 add m_cursor_pos.
10763
10764 M src/ExtEditor.cc
10765 M src/ExtEditor.h
10766
10767 commit cedc8d5c6968deae7936a59a608184d91edd5121
10768 Author: Peng Wu <alexepico@gmail.com>
10769 Date: 2010-05-10 15:56:32 +0800
10770
10771 begin to implement input logic for ibus-pinyin lua module.
10772
10773 M src/ExtEditor.cc
10774 M src/ExtEditor.h
10775
10776 commit 2f0cb527ea398e0ee8debe86231fd20a0e12d30f
10777 Author: Peng Wu <alexepico@gmail.com>
10778 Date: 2010-05-07 12:55:13 +0800
10779
10780 add const modifier.
10781
10782 M lua/lua-ext-console.c
10783 M lua/lua-plugin.h
10784
10785 commit d3df4ef4811c8a6ef1c5660b8e63d4d916b0369a
10786 Author: Peng Wu <alexepico@gmail.com>
10787 Date: 2010-05-07 12:53:36 +0800
10788
10789 add const modifier.
10790
10791 M src/ExtEditor.cc
10792
10793 commit 209d06b04a13247ffd31895e9e87d59c25fd3b2d
10794 Author: Peng Wu <alexepico@gmail.com>
10795 Date: 2010-05-07 12:51:24 +0800
10796
10797 refactor lua plugin interface.
10798
10799 M lua/lua-ext-console.c
10800 M lua/lua-plugin.c
10801 M lua/lua-plugin.h
10802
10803 commit e63b0016502ff2f535894006c67364ed8fa48ef0
10804 Author: Peng Wu <alexepico@gmail.com>
10805 Date: 2010-05-07 11:15:20 +0800
10806
10807 begin to modify lua plugin.
10808
10809 M lua/lua-plugin.h
10810
10811 commit 31a21dbb7c449813d61459a1a232dbbd0b576d1e
10812 Author: Peng Wu <alexepico@gmail.com>
10813 Date: 2010-05-07 11:12:27 +0800
10814
10815 begin to write input logic.
10816
10817 M src/ExtEditor.cc
10818 M src/ExtEditor.h
10819
10820 commit e2295b71251476650fb376a3d973c53e0c319bdc
10821 Author: Peng Wu <alexepico@gmail.com>
10822 Date: 2010-05-06 16:24:28 +0800
10823
10824 add fillCommandCandidates(string) implementation.
10825
10826 M src/ExtEditor.cc
10827
10828 commit 5cf2d6572742d095af07c84182fb3ae4e96f7602
10829 Author: Peng Wu <alexepico@gmail.com>
10830 Date: 2010-05-05 15:05:11 +0800
10831
10832 define ExtEditor interface.
10833
10834 M src/ExtEditor.cc
10835 M src/ExtEditor.h
10836
10837 commit 695cd737ebf281f6a030ec22707a6717df455614
10838 Author: Peng Wu <alexepico@gmail.com>
10839 Date: 2010-05-05 11:21:14 +0800
10840
10841 add appendLabel for LookupTable.
10842
10843 M src/LookupTable.h
10844
10845 commit 233b0a7bc8f74d2e14996364998db8ef3c2e747b
10846 Author: Peng Wu <alexepico@gmail.com>
10847 Date: 2010-05-05 11:18:10 +0800
10848
10849 add comments
10850
10851 M src/ExtEditor.cc
10852 M src/ExtEditor.h
10853
10854 commit 1e1e7075b63f56117c9e7646ac78efa8d4adeb31
10855 Author: Peng Wu <alexepico@gmail.com>
10856 Date: 2010-05-04 15:23:17 +0800
10857
10858 define ext editor interface.
10859
10860 M src/ExtEditor.cc
10861 M src/ExtEditor.h
10862
10863 commit c498c0a73b72be8d1dc3a492e88ce52246ec8d67
10864 Author: Peng Wu <alexepico@gmail.com>
10865 Date: 2010-05-04 13:37:29 +0800
10866
10867 begin to integrate lua ext.
10868
10869 M src/ExtEditor.h
10870 M src/Makefile.am
10871
10872 commit f49a84c21e00e023a2732aea6156e5727b373618
10873 Author: Peng Wu <alexepico@gmail.com>
10874 Date: 2010-04-23 14:13:01 +0800
10875
10876 dump all arguments for register_trigger.
10877
10878 M lua/lua-plugin-init.c
10879
10880 commit 090a378d1b42c5d72615b5d4a7c3bf93d99a2078
10881 Author: Peng Wu <alexepico@gmail.com>
10882 Date: 2010-04-20 16:01:29 +0800
10883
10884 remove lua_plugin_retrieve_plugin declaration on lua-plugin.h
10885
10886 M lua/lua-plugin.h
10887
10888 commit 3e179a84e4e08b19b2bff856b1af8f8c6fefb35e
10889 Author: Peng Wu <alexepico@gmail.com>
10890 Date: 2010-04-20 15:57:27 +0800
10891
10892 do some clean up on lua-plugin.h
10893
10894 M lua/lua-plugin.c
10895 M lua/lua-plugin.h
10896 M lua/test-lua-plugin.c
10897
10898 commit 077892da6d8545bb487ff58e79b1d5a9d892ca0c
10899 Author: Peng Wu <alexepico@gmail.com>
10900 Date: 2010-04-20 15:53:21 +0800
10901
10902 fixes Makefile.am
10903
10904 M lua/Makefile.am
10905
10906 commit 0ec7c3edfd6ec32aaf6cd37e745568a82bf9e565
10907 Author: Peng Wu <alexepico@gmail.com>
10908 Date: 2010-04-20 15:48:43 +0800
10909
10910 add lua-ext-console.c
10911
10912 M lua/Makefile.am
10913 A lua/lua-ext-console.c
10914 M lua/lua-plugin.c
10915 M lua/lua-plugin.h
10916
10917 commit bdc0c91efa8dd6532ad550b46cf3a3756c7662dc
10918 Author: Peng Wu <alexepico@gmail.com>
10919 Date: 2010-04-16 16:36:08 +0800
10920
10921 add ibus_engine_plugin_get_candidate and enhance ibus_engine_plugin_get_retval.
10922
10923 M lua/lua-plugin.c
10924
10925 commit f2411d43bf3a5433930c57809a386703ea31f50f
10926 Author: Peng Wu <alexepico@gmail.com>
10927 Date: 2010-04-16 16:00:43 +0800
10928
10929 add ibus_engine_plugin_call.
10930
10931 M lua/lua-plugin.c
10932 M lua/lua-plugin.h
10933
10934 commit 560cdb15c6c238252d49c362a631de35d05713c2
10935 Author: Peng Wu <alexepico@gmail.com>
10936 Date: 2010-04-16 14:10:04 +0800
10937
10938 write ibus_engine_plugin_load_lua_script.
10939
10940 M lua/lua-plugin.c
10941 M lua/lua-plugin.h
10942 M lua/test-lua-plugin.c
10943
10944 commit 7cf2505a5790195814e05e4a26f40fe8319d5e67
10945 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10946 Date: 2010-04-14 17:56:47 +0800
10947
10948 lua extension (ime.register_command) in progress.
10949
10950 M lua/lua-plugin-init.c
10951 M lua/lua-plugin.c
10952 M lua/lua-plugin.h
10953
10954 commit aae2c566368ddd45a60b47a4b571f845d7a19b01
10955 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10956 Date: 2010-04-13 16:31:03 +0800
10957
10958 re-factor lua-plugin interface.
10959
10960 M lua/lua-plugin.h
10961
10962 commit c3bc5bd52879a85a7a6bfd4e2baefbe7cf37bc01
10963 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10964 Date: 2010-04-13 15:55:07 +0800
10965
10966 ime register command in progress.
10967
10968 M lua/lua-plugin-init.c
10969 M lua/lua-plugin.c
10970 M lua/lua-plugin.h
10971 M lua/test-lua-plugin.c
10972
10973 commit 604d367fc223e142617b93f550dc7aa10f859848
10974 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10975 Date: 2010-04-11 15:29:11 +0800
10976
10977 code cleanup.
10978
10979 M lua/lua-plugin.c
10980 M lua/test-lua-plugin.c
10981
10982 commit 25776642382b9e780e197b9f85aeb5aeb7852c7b
10983 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10984 Date: 2010-04-11 15:26:30 +0800
10985
10986 refactor lua-plugin
10987
10988 M lua/lua-plugin.c
10989 M lua/lua-plugin.h
10990 M lua/test-lua-plugin.c
10991
10992 commit 83ae73bf667347973ce53f8124a64310b00b0805
10993 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
10994 Date: 2010-04-11 15:10:41 +0800
10995
10996 refactor lua-plugin gobject interface.
10997
10998 M lua/lua-plugin-init.c
10999 M lua/lua-plugin.c
11000 M lua/lua-plugin.h
11001
11002 commit 7505cd8f7c7298f6db1dc1ad665b082810234944
11003 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11004 Date: 2010-04-11 15:01:11 +0800
11005
11006 add gobject interface for lua-plugin.
11007
11008 M lua/Makefile.am
11009 M lua/lua-plugin-init.c
11010 A lua/lua-plugin.c
11011 M lua/lua-plugin.h
11012 M lua/test-lua-plugin.c
11013
11014 commit 07351a7e974d192a1b93679d518be75cb764fdd2
11015 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11016 Date: 2010-04-11 13:43:52 +0800
11017
11018 add comment.
11019
11020 M lua/lua-plugin-init.c
11021
11022 commit fc07e4c1311e9ed7702fac1f0bd6882804d1a362
11023 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11024 Date: 2010-04-07 14:52:32 +0800
11025
11026 change isnil to isnone.
11027
11028 M lua/lua-plugin-init.c
11029
11030 commit d6d3f471888f57f0f5758189da1573cb5d93931f
11031 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11032 Date: 2010-04-07 14:28:53 +0800
11033
11034 add arguments check.
11035
11036 M lua/lua-plugin-init.c
11037
11038 commit 693daa8e9d463ffae61b398243ec97c89fd896eb
11039 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11040 Date: 2010-04-07 14:04:46 +0800
11041
11042 sketch for ime_register_trigger, begin to write ime_register_command.
11043
11044 M lua/lua-plugin-init.c
11045
11046 commit c27eacbbed0415fd97bf5521b430ffe54802646f
11047 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11048 Date: 2010-04-07 11:06:11 +0800
11049
11050 interface changed to lua_plugin_context.
11051
11052 M lua/lua-plugin.h
11053
11054 commit 55e2c5679defc8184a0ba69f31fbf4d77d5eae8f
11055 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11056 Date: 2010-04-06 16:50:28 +0800
11057
11058 add table check in join_string.
11059
11060 M lua/lua-plugin-init.c
11061 M lua/test.lua
11062
11063 commit f0caf8ca6f53961952bae84b678dce76762b4ed3
11064 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11065 Date: 2010-04-06 15:17:52 +0800
11066
11067 change ime_join_string behavior.
11068
11069 M lua/lua-plugin-init.c
11070
11071 commit a3987f2e2a8fea3916ee410a3679bdf3d57b4188
11072 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11073 Date: 2010-04-06 13:22:12 +0800
11074
11075 change ime_join_string implementation.
11076
11077 M lua/lua-plugin-init.c
11078 M lua/test.lua
11079
11080 commit bfee085f2be86e3bd16a96c8dd70c3cc937852b1
11081 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11082 Date: 2010-04-06 12:53:36 +0800
11083
11084 change tolstring to checklstring.
11085
11086 M lua/lua-plugin-init.c
11087 M lua/test-lua-plugin.c
11088 M lua/test.lua
11089
11090 commit 113f004efdbf39ef37a1758b862117b38ba4fedf
11091 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11092 Date: 2010-04-01 16:34:21 +0800
11093
11094 begin lua-plugin integration.
11095
11096 M lua/lua-plugin.h
11097 M lua/test-lua-plugin.c
11098
11099 commit 870473405c70bb592d80cbe291acf1470dc5468e
11100 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11101 Date: 2010-03-31 17:45:59 +0800
11102
11103 add some test cases and safe arguments check.
11104
11105 M lua/lua-plugin-init.c
11106 M lua/test.lua
11107
11108 commit 3295f6ac1d2b7232926840b1285703eae93f2573
11109 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11110 Date: 2010-03-30 15:48:28 +0800
11111
11112 add more test case.
11113
11114 M lua/test.lua
11115
11116 commit 1a65af9f22a58dd4534fcfe9142cfd4fe0162626
11117 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11118 Date: 2010-03-30 15:35:46 +0800
11119
11120 add ime.parse_mapping func.
11121
11122 M lua/lua-plugin-init.c
11123 M lua/test.lua
11124
11125 commit 43c4d46425e43907570ca09d880a9f03a90a419c
11126 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11127 Date: 2010-03-29 18:51:18 +0800
11128
11129 add more test case and fixes join_string with empty table.
11130
11131 M lua/lua-plugin-init.c
11132 M lua/test.lua
11133
11134 commit c99ffc77af565bbe84981fa8b9fd881a21dd5f42
11135 Author: Peng Huang <shawn.p.huang@gmail.com>
11136 Date: 2010-03-31 10:54:40 +0800
11137
11138 Integrate lua
11139
11140 M Makefile.am
11141 M configure.ac
11142 A lua/Makefile.am
11143
11144 commit 8f63f9f3362e97377bcad584ecb5fb4ac75d5223
11145 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11146 Date: 2010-03-26 17:33:20 +0800
11147
11148 add new test cases for split/join.
11149
11150 M lua/lua-plugin-init.c
11151 M lua/test.lua
11152
11153 commit 0bcdae428741bd8e12692df0cb3f93efb76fdd8e
11154 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11155 Date: 2010-03-25 15:37:32 +0800
11156
11157 add split_string function.
11158
11159 M lua/lua-plugin-init.c
11160
11161 commit 43b0f21525db609c86800064f176f95cf3e49be1
11162 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11163 Date: 2010-03-24 14:43:47 +0800
11164
11165 the initial ime_join_string implement and add lua_pop for trim_string functions.
11166
11167 M lua/lua-plugin-init.c
11168
11169 commit a1a3c7e061376b6426c12f29b4131785a27e943b
11170 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11171 Date: 2010-03-22 10:00:22 +0800
11172
11173 change luaL_checklstring to lua_tolstring.
11174
11175 M lua/lua-plugin-init.c
11176 M lua/test.lua
11177
11178 commit 9235290adcd1ca1a7c1de6bafc1a275f677aa01f
11179 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11180 Date: 2010-03-15 18:00:30 +0800
11181
11182 add some check on IME_TRIM_PRECHECK.
11183
11184 M lua/lua-plugin-init.c
11185
11186 commit c6705a7f4e28568ad42a479d0f41d854f0e111d2
11187 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11188 Date: 2010-03-15 17:28:52 +0800
11189
11190 add retval to lua_plugin_fini.
11191
11192 M lua/lua-plugin-init.c
11193
11194 commit d77fa9a821620d1b645394ab7871bd99232882a9
11195 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11196 Date: 2010-03-15 17:03:13 +0800
11197
11198 change to pushliteral in ime_get_version.
11199
11200 M lua/lua-plugin-init.c
11201
11202 commit 38e3513af3026135910647a5b09eee6b51d04a3c
11203 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11204 Date: 2010-03-15 16:06:18 +0800
11205
11206 refactor code for checking condition.
11207
11208 M lua/lua-plugin-init.c
11209
11210 commit 5ce8a5206d8778a6513b74ccf3a3421cc86b6d4c
11211 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11212 Date: 2010-03-15 15:54:45 +0800
11213
11214 add ime.trim*.
11215
11216 M lua/lua-plugin-init.c
11217
11218 commit ea36603015ab31469aa59eff8ee09880d006f83d
11219 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11220 Date: 2010-03-11 10:45:43 +0800
11221
11222 lua plugin hello world is ok.
11223
11224 M lua/lua-plugin-init.c
11225 A lua/lua-plugin.h
11226 A lua/test-lua-plugin.c
11227 A lua/test.lua
11228
11229 commit a00e941af1ecef13149d8ca2adfbfca3b6725f26
11230 Author: Peng Wu <epico@dhcp-65-116.nay.redhat.com>
11231 Date: 2010-03-09 18:38:14 +0800
11232
11233 initial code for lua plugin.
11234
11235 A lua/lua-plugin-init.c
11236
11237 commit 1737c1be0c98d5f17bef6fca5151de0a4278f04b
11238 Author: Peng Huang <shawn.p.huang@gmail.com>
11239 Date: 2010-05-19 08:10:39 +0800
11240
11241 Add some half chars in PunctTable
11242
11243 M scripts/punct.py
11244 M src/BopomofoEngine.cc
11245 M src/PinyinEngine.h
11246 M src/PunctTable.h
11247
11248 commit 41b2b52a009f38f47df37bb58f7e76a8ecfba013
11249 Author: Peng Huang <shawn.p.huang@gmail.com>
11250 Date: 2010-05-19 08:10:08 +0800
11251
11252 Add PunctMode in PinyinEngine.
11253
11254 M src/PinyinEngine.cc
11255
11256 commit dd2ae1fb20d75f8f248effc6803f833ad80d0d3a
11257 Author: Peng Huang <shawn.p.huang@gmail.com>
11258 Date: 2010-05-18 20:50:13 +0800
11259
11260 Unify the coding style
11261
11262 M src/BopomofoEditor.cc
11263 M src/PinyinParser.cc
11264
11265 commit 3ceab924f440a0537caf89c8328fa5d78f3b3a2c
11266 Author: BYVoid <byvoid1@gmail.com>
11267 Date: 2010-05-19 00:33:22 +0800
11268
11269 Fix a bug of Bopomofo parse
11270
11271 M src/BopomofoEditor.cc
11272 M src/PinyinParser.cc
11273
11274 commit 670cf5d77a038114579c461234832d1032bdda29
11275 Author: BYVoid <byvoid1@gmail.com>
11276 Date: 2010-05-18 22:27:09 +0800
11277
11278 Fix a bug of displaying tone characters in BopomofoEditor
11279
11280 M setup/ibus-pinyin-preferences.ui
11281 M src/BopomofoEditor.cc
11282 M src/Main.cc
11283 M src/pinyin.xml.in.in
11284
11285 commit 142b740249c74f0c6352c774fc7c44debeafb631
11286 Author: BYVoid <byvoid1@gmail.com>
11287 Date: 2010-05-18 20:26:20 +0800
11288
11289 Add zh_TW & zh_HK language support
11290
11291 M po/LINGUAS
11292 M po/ru.po
11293 M po/zh_CN.po
11294 A po/zh_HK.po
11295 A po/zh_TW.po
11296
11297 commit 35cfad6072d4fb875f7406cdee89ea91e11f93c0
11298 Author: Peng Huang <shawn.p.huang@gmail.com>
11299 Date: 2010-05-18 19:11:33 +0800
11300
11301 Add BYVoid in AUTHORS
11302
11303 M AUTHORS
11304 M src/Main.cc
11305 M src/pinyin.xml.in.in
11306
11307 commit bdca1d82764a747e9869f63f3040ef3edfc8333e
11308 Author: Peng Huang <shawn.p.huang@gmail.com>
11309 Date: 2010-05-18 19:11:13 +0800
11310
11311 Remove CustomPhrases in POTFILES
11312
11313 M po/POTFILES.in
11314
11315 commit 51438d761eb28fc9c19efc7eef82681ebdc86e65
11316 Merge: 28d811b c5aefb2
11317 Author: Peng Huang <shawn.p.huang@gmail.com>
11318 Date: 2010-05-17 10:41:11 +0800
11319
11320 Merge branch 'bopomofo'
11321
11322 Conflicts:
11323 ibus-pinyin.spec.in
11324
11325 commit c5aefb2ca27010474d12032f51be840c92ed4770
11326 Author: Peng Huang <shawn.p.huang@gmail.com>
11327 Date: 2010-05-17 10:01:31 +0800
11328
11329 Add Bopomof in spec file.
11330
11331 M ibus-pinyin.spec.in
11332
11333 commit d153239dd1681837f445719cacca045a43c9d877
11334 Author: Peng Huang <shawn.p.huang@gmail.com>
11335 Date: 2010-05-17 10:01:11 +0800
11336
11337 register properties in focusIn
11338
11339 M src/BopomofoEngine.cc
11340 M src/BopomofoEngine.h
11341 M src/Engine.h
11342 M src/PinyinEngine.h
11343
11344 commit 90bb72d5cea0f36397d477251e89ef7e6f627ddc
11345 Author: Peng Huang <shawn.p.huang@gmail.com>
11346 Date: 2010-05-17 09:53:55 +0800
11347
11348 Reset PunctEditor when press Esc
11349
11350 M src/PunctEditor.cc
11351
11352 commit b46bb4bd7443dcdef7fb790fde5138b9f9f36007
11353 Author: Peng Huang <shawn.p.huang@gmail.com>
11354 Date: 2010-05-17 09:47:52 +0800
11355
11356 Include PunctTable.h in tarball
11357
11358 M src/Makefile.am
11359
11360 commit 70c8b03d0e5112fc1fcd9fcc557ff5714767c8bd
11361 Author: Peng Huang <shawn.p.huang@gmail.com>
11362 Date: 2010-05-17 07:23:36 +0800
11363
11364 Do not allow input chars more than 2
11365
11366 M src/Main.cc
11367 M src/PunctEditor.cc
11368
11369 commit 9e4631290f6c40a74ba1403644b8536fe065ca91
11370 Author: Peng Huang <shawn.p.huang@gmail.com>
11371 Date: 2010-05-17 07:17:20 +0800
11372
11373 Refine some code.
11374
11375 M src/PunctEditor.cc
11376
11377 commit acf0cdaca6d0c75359f90f4a888c6c99fc47c49b
11378 Author: Peng Huang <shawn.p.huang@gmail.com>
11379 Date: 2010-05-17 07:12:59 +0800
11380
11381 Fix the order of punct_table
11382
11383 M scripts/punct.py
11384 M src/PunctEditor.cc
11385 M src/PunctTable.h
11386
11387 commit 8df3e417526b436fadfb7eeced6bde5cc24577e0
11388 Author: BYVoid <byvoid1@gmail.com>
11389 Date: 2010-05-16 23:02:07 +0800
11390
11391 implement PunctEditor for BopomofoEngine
11392
11393 M src/BopomofoEditor.cc
11394 M src/PunctEditor.cc
11395 M src/PunctEditor.h
11396
11397 commit af19867e06534726ed91ab6c7b17bc5214ac53fa
11398 Author: Peng Huang <shawn.p.huang@gmail.com>
11399 Date: 2010-05-16 13:01:27 +0800
11400
11401 Add PunctEditor.h
11402
11403 A src/PunctEditor.h
11404
11405 commit b3ac1d2c04008c989c215b2ff3e9f84585bc76ce
11406 Author: Peng Huang <shawn.p.huang@gmail.com>
11407 Date: 2010-05-16 12:57:00 +0800
11408
11409 Add PunctTable in Makefile.am
11410
11411 M src/Makefile.am
11412
11413 commit 40b35c83033ba26a661731f44405280ed91bd48a
11414 Author: Peng Huang <shawn.p.huang@gmail.com>
11415 Date: 2010-05-16 12:42:22 +0800
11416
11417 Add PunctTable.h
11418
11419 A scripts/genpuncttable.py
11420 M src/PunctEditor.cc
11421 A src/PunctTable.h
11422
11423 commit 3cd7a8f7f2741d966fa9bea2dcaced4376c2e277
11424 Author: Peng Huang <shawn.p.huang@gmail.com>
11425 Date: 2010-05-16 11:45:58 +0800
11426
11427 Add punct.py
11428
11429 A scripts/punct.py
11430
11431 commit bb8f130fb94108cb1fa6863d14e1b2cd165a1594
11432 Author: Peng Huang <shawn.p.huang@gmail.com>
11433 Date: 2010-05-16 09:33:59 +0800
11434
11435 Add MODE_PUNCT in BopomofoEngine
11436
11437 M src/BopomofoEngine.cc
11438 M src/BopomofoEngine.h
11439 M src/Makefile.am
11440 A src/PunctEditor.cc
11441
11442 commit ea3c000a332c8dd67147f479e1fdc13747d560c2
11443 Author: Peng Huang <shawn.p.huang@gmail.com>
11444 Date: 2010-05-16 09:16:48 +0800
11445
11446 Fix two build warnings.
11447
11448 M src/BopomofoEditor.cc
11449
11450 commit 98e590baa65b9fb133f71994877cd2068c505d7f
11451 Author: Peng Huang <shawn.p.huang@gmail.com>
11452 Date: 2010-05-16 08:42:44 +0800
11453
11454 Refine coding style in Database.cc
11455
11456 M src/Database.cc
11457
11458 commit 28d811bfa3676d1f96ec7b366caedececb6cc60b
11459 Author: Peng Huang <shawn.p.huang@gmail.com>
11460 Date: 2010-05-14 21:32:40 +0800
11461
11462 Remove PinyinParserTable.h.open-phrase
11463
11464 D src/PinyinParserTable.h.open-phrase
11465
11466 commit 301be52c7bc6c15fb7d41ce4d8d1330ec8af737e
11467 Author: Peng Huang <shawn.p.huang@gmail.com>
11468 Date: 2010-05-14 19:25:42 +0800
11469
11470 Add bopomofo icon
11471
11472 M data/icons/Makefile.am
11473 A data/icons/ibus-bopomofo.svg
11474 M src/Main.cc
11475 M src/pinyin.xml.in.in
11476
11477 commit 3537d0592fdf92a900c285980255aba39440a7e8
11478 Author: Peng Huang <shawn.p.huang@gmail.com>
11479 Date: 2010-05-14 16:58:40 +0800
11480
11481 Add date string in version for testing
11482
11483 M configure.ac
11484
11485 commit ef13f112bc1a9a837bc116abe691670dd2c73f20
11486 Author: BYVoid <byvoid1@gmail.com>
11487 Date: 2010-05-14 17:26:35 +0800
11488
11489 Add Input mode/Select mode for Bopomofo
11490
11491 M src/BopomofoEditor.cc
11492 M src/BopomofoEditor.h
11493 M src/BopomofoEngine.cc
11494 M src/PinyinParser.cc
11495
11496 commit 6b4b7a6a082851ac734de624602dd4e7d013ab95
11497 Author: BYVoid <byvoid1@gmail.com>
11498 Date: 2010-05-14 10:55:49 +0800
11499
11500 Allow multiple tone character
11501
11502 M src/BopomofoEditor.cc
11503
11504 commit 35e5f6a5e90dde1b3683774247a4d9bb304bcc3c
11505 Author: Peng Huang <shawn.p.huang@gmail.com>
11506 Date: 2010-05-14 10:44:01 +0800
11507
11508 Create BopomofoEngine
11509
11510 A src/BopomofoEngine.cc
11511 A src/BopomofoEngine.h
11512 M src/Engine.cc
11513 M src/Engine.h
11514 M src/Makefile.am
11515 M src/PinyinEngine.cc
11516 M src/PinyinEngine.h
11517
11518 commit c18e74986fb1e608e313497d3b3914ab22a4854b
11519 Author: Peng Huang <shawn.p.huang@gmail.com>
11520 Date: 2010-05-13 19:15:39 +0800
11521
11522 Make bopomofo as a separate input engine.
11523
11524 M src/BopomofoEditor.cc
11525 M src/Engine.cc
11526 M src/Engine.h
11527 M src/Main.cc
11528 M src/PinyinEngine.cc
11529 M src/PinyinEngine.h
11530 M src/pinyin.xml.in.in
11531
11532 commit 44eb3a3beaaf8a9ee66a633783b3e6dd03a9e1f1
11533 Author: BYVoid <byvoid1@gmail.com>
11534 Date: 2010-05-13 17:41:57 +0800
11535
11536 Bopomofo
11537
11538 M src/BopomofoEditor.cc
11539 M src/BopomofoEditor.h
11540 M src/PinyinEditor.cc
11541 M src/PinyinEngine.cc
11542 M src/PinyinParser.cc
11543 M src/PinyinParser.h
11544
11545 commit 98dae8ce422354031a82d940b1e2a4086bfb621d
11546 Author: Peng Huang <shawn.p.huang@gmail.com>
11547 Date: 2010-05-13 16:19:49 +0800
11548
11549 Refine some descriptions in spec file
11550
11551 M ibus-pinyin.spec.in
11552
11553 commit a360dbe761107cd98530c24f2c115dd5c7613dca
11554 Author: BYVoid <byvoid1@gmail.com>
11555 Date: 2010-05-13 11:18:30 +0800
11556
11557 add Bopomofo Support
11558
11559 A src/Bopomofo.h
11560 A src/BopomofoEditor.cc
11561 A src/BopomofoEditor.h
11562 M src/Makefile.am
11563 M src/PinyinEditor.cc
11564 M src/PinyinEditor.h
11565 M src/PinyinEngine.cc
11566 M src/PinyinParser.cc
11567 M src/PinyinParser.h
11568 M src/PinyinParserTable.h
11569
11570 commit 5a3d87178bf076bd7d2e59ff53d5eb49f36f3a1a
11571 Author: Peng Huang <shawn.p.huang@gmail.com>
11572 Date: 2010-05-12 20:44:00 +0800
11573
11574 Use wchar_t for bopomofo
11575
11576 M scripts/genpytable.py
11577 M src/PinyinParserTable.h
11578 M src/Types.h
11579
11580 commit e37e15be51cab2dfe85785b17a4707c09de402cd
11581 Author: Peng Huang <shawn.p.huang@gmail.com>
11582 Date: 2010-05-12 17:34:38 +0800
11583
11584 Generate some fuzzy bopomofo
11585
11586 M scripts/bopomofo.py
11587 M scripts/genpytable.py
11588 M src/PinyinParserTable.h
11589
11590 commit 0fe0c8fdb5c2ce9090394034a505427b1aeab176
11591 Author: Peng Huang <shawn.p.huang@gmail.com>
11592 Date: 2010-05-12 15:35:56 +0800
11593
11594 Generate PinyinParserTable with bopomofo
11595
11596 A scripts/bopomofo.py
11597 M scripts/genpytable.py
11598 M src/PinyinParserTable.h
11599 M src/Types.h
11600
11601 commit dbd5b6db458766db85d25e26303c2ad8490f0d53
11602 Author: Peng Huang <shawn.p.huang@gmail.com>
11603 Date: 2010-05-11 15:00:23 +0800
11604
11605 Remove unused classes
11606
11607 D src/CustomPhrase.cc
11608 D src/CustomPhrase.h
11609 M src/Makefile.am
11610
11611 commit 5aaa19db584a081a1aa33b020e9151a582beaa6b
11612 Author: Peng Huang <shawn.p.huang@gmail.com>
11613 Date: 2010-05-10 16:27:19 +0800
11614
11615 Does not include SimpTradConverter.h
11616
11617 M src/PinyinEngine.cc
11618
11619 commit 1eddfed90792799379b7fb17f4f29c493ba062c9
11620 Author: Peng Huang <shawn.p.huang@gmail.com>
11621 Date: 2010-05-10 15:49:57 +0800
11622
11623 Drop indexes before create indexes.
11624
11625 M data/db/create_index.sql
11626
11627 commit 3bdcd64dec6955fae09a828ae72e50ddd4fce84f
11628 Author: Peng Huang <shawn.p.huang@gmail.com>
11629 Date: 2010-05-10 15:32:25 +0800
11630
11631 Create index if not exists
11632
11633 M data/db/create_index.sql
11634
11635 commit 875cfae16797f441fa60dc9976fdf34ff8f40007
11636 Author: Peng Huang <shawn.p.huang@gmail.com>
11637 Date: 2010-05-07 22:26:36 +0800
11638
11639 Refine rpm packages:
11640 ibus-pinyin be split into ibus-pinyin, -db-android and -db-open-phrase.
11641
11642 M ibus-pinyin.spec.in
11643
11644 commit 724c443b776ded963d3804c2468a8b260bbebd1e
11645 Author: Peng Huang <shawn.p.huang@gmail.com>
11646 Date: 2010-05-03 15:47:58 +0800
11647
11648 Add macro DOUBLE_PINYIN_ZGPY
11649
11650 M src/DoublePinyinTable.h
11651
11652 commit 1e1a3dcf395ef25860af696ed99528bfc1a33091
11653 Author: Peng Huang <shawn.p.huang@gmail.com>
11654 Date: 2010-05-03 15:41:13 +0800
11655
11656 Release 1.3.5
11657
11658 M configure.ac
11659
11660 commit 0e1f4a854482344e08fecbed9efe404063158d74
11661 Author: Peng Huang <shawn.p.huang@gmail.com>
11662 Date: 2010-05-03 15:08:59 +0800
11663
11664 Fix problem in parse double pinyin
11665
11666 M src/DoublePinyinEditor.cc
11667 M src/PinyinParser.cc
11668
11669 commit 26b0f41caafe71d918d4c77a3f68fd31afd9436c
11670 Author: Peng Huang <shawn.p.huang@gmail.com>
11671 Date: 2010-05-03 14:24:24 +0800
11672
11673 Add MS double pinyin back
11674
11675 M src/DoublePinyinTable.h
11676
11677 commit d3724f8e4698acee7505e0270ef4723a160d0d59
11678 Author: Peng Huang <shawn.p.huang@gmail.com>
11679 Date: 2010-05-02 20:20:34 +0800
11680
11681 support correct: van => uan, vn => un, ven=>un, vang => uang
11682
11683 M scripts/genpytable.py
11684 M setup/ibus-pinyin-preferences.ui
11685 M src/Config.cc
11686 M src/PinyinParserTable.h
11687 M src/Types.h
11688
11689 commit 8ee87ff84b8832ffa38a5b750f0c53dd3dabf3ae
11690 Author: Peng Huang <shawn.p.huang@gmail.com>
11691 Date: 2010-05-02 18:58:57 +0800
11692
11693 Support correct jv,qv,xv,yv to ju,qu,xu,yu
11694
11695 M configure.ac
11696 M scripts/genpytable.py
11697 M setup/ibus-pinyin-preferences.ui
11698 M setup/main.py
11699 M src/Config.cc
11700 M src/DoublePinyinEditor.cc
11701 M src/DoublePinyinTable.h
11702 M src/PinyinParserTable.h
11703 M src/Types.h
11704
11705 commit 9f34b7fd069299791a3dff1a205014a4b42759e8
11706 Author: Peng Huang <shawn.p.huang@gmail.com>
11707 Date: 2010-04-28 18:48:11 +0800
11708
11709 Refine python script
11710
11711 M src/update-simptrad-table.py
11712
11713 commit 65303df35cc8db82810faa24235d6728234ee895
11714 Author: Peng Huang <shawn.p.huang@gmail.com>
11715 Date: 2010-04-28 17:47:41 +0800
11716
11717 Add sctc
11718
11719 A src/sctc.py
11720 M src/update-simptrad-table.py
11721
11722 commit fdf98223a7219a698d0795b8acfa2064999061be
11723 Author: Peng Huang <shawn.p.huang@gmail.com>
11724 Date: 2010-04-25 20:28:31 +0800
11725
11726 Use macro VERION
11727
11728 M src/Main.cc
11729
11730 commit 67bfe008d98d8ee9b916956f2c0705a41aad65b5
11731 Author: Peng Huang <shawn.p.huang@gmail.com>
11732 Date: 2010-04-25 16:37:27 +0800
11733
11734 Refine coding style
11735
11736 M src/Signal.h
11737
11738 commit 9221dcd2a12dff8d01190b31e5b620b8d653930c
11739 Author: Peng Huang <shawn.p.huang@gmail.com>
11740 Date: 2010-04-25 10:03:00 +0800
11741
11742 Refine coding style
11743
11744 M src/Main.cc
11745
11746 commit 9f52877a68de2552e636e2ce5571cad6f7f28953
11747 Author: Peng Huang <shawn.p.huang@gmail.com>
11748 Date: 2010-04-24 16:03:43 +0800
11749
11750 Clear editor, when user presses Shift to switch En/Ch mode
11751
11752 M src/PinyinEditor.cc
11753 M src/PinyinEngine.cc
11754
11755 commit bc3df925397856d5110552dbc98a7867afb02d11
11756 Author: Peng Huang <shawn.p.huang@gmail.com>
11757 Date: 2010-04-24 15:38:09 +0800
11758
11759 add assert in Object.h
11760
11761 M src/Object.h
11762
11763 commit c9d7cd3ce501e7134692c51b3ba42e2eb079b312
11764 Author: Peng Huang <shawn.p.huang@gmail.com>
11765 Date: 2010-04-24 15:31:13 +0800
11766
11767 Fix half and full punch problem
11768
11769 M src/FallbackEditor.cc
11770 M src/FallbackEditor.h
11771 M src/PinyinEngine.cc
11772 M src/Text.h
11773
11774 commit 0bb27ab4b07716102e7c86c103a88476e74335f1
11775 Author: Peng Huang <shawn.p.huang@gmail.com>
11776 Date: 2010-04-20 15:30:02 +0800
11777
11778 Add libboost-dev >= 1.39 in debian build script
11779
11780 M debian/control
11781
11782 commit f4b43ed2e2957f27c5a92db8b21aed28c3a7f0b8
11783 Author: Peng Huang <shawn.p.huang@gmail.com>
11784 Date: 2010-04-20 11:00:41 +0800
11785
11786 Use libboost to replace sigc++
11787
11788 M debian/control
11789
11790 commit ae017a35e8055b002f87d5ba0a9f62d7a874e911
11791 Author: Peng Huang <shawn.p.huang@gmail.com>
11792 Date: 2010-04-16 12:45:21 +0800
11793
11794 Does not need swig
11795
11796 M debian/control
11797
11798 commit 05f37204f748e0093506bd2293d16a2de5e47cdf
11799 Author: Peng Huang <shawn.p.huang@gmail.com>
11800 Date: 2010-04-16 12:43:00 +0800
11801
11802 Update debian from Li Daobing's repository
11803
11804 M debian/changelog
11805 M debian/control
11806 M debian/rules
11807 A debian/source/format
11808
11809 commit a33abc5b604a056f7c8adb66ce72d3407014d0fd
11810 Author: Peng Huang <shawn.p.huang@gmail.com>
11811 Date: 2010-04-20 14:01:56 +0800
11812
11813 Check boost::signals2 in configure.ac
11814
11815 M configure.ac
11816 M src/Makefile.am
11817 M src/Signal.h
11818
11819 commit 27ad7fcaacf9ff6e2d6c026ca9a659502b2fca72
11820 Author: Peng Huang <shawn.p.huang@gmail.com>
11821 Date: 2010-04-20 08:38:06 +0800
11822
11823 Fix typo in phrases.txt
11824
11825 M src/phrases.txt
11826
11827 commit bd5261752efc27558d4ccc46498faaf1d6955cd4
11828 Author: Peng Huang <shawn.p.huang@gmail.com>
11829 Date: 2010-04-19 15:12:03 +0800
11830
11831 Does not use typedef any more
11832
11833 M src/Phrase.h
11834 M src/Types.h
11835
11836 commit 1454d9f1192bbc42f3ed70a7c220fdef56c1cb8c
11837 Author: Peng Huang <shawn.p.huang@gmail.com>
11838 Date: 2010-04-19 14:52:07 +0800
11839
11840 Use tab for page down
11841
11842 M src/PinyinEditor.cc
11843 M src/String.h
11844
11845 commit 37e2dce77ff0c0a48fd51e74a19179e9044fb536
11846 Author: Peng Huang <shawn.p.huang@gmail.com>
11847 Date: 2010-04-19 13:35:30 +0800
11848
11849 Use std::string to replace String
11850
11851 M src/Editor.h
11852 M src/Text.h
11853 M src/Util.h
11854
11855 commit 9eaf10e010931ad4f3b4249957ce29633492e8b8
11856 Author: Peng Huang <shawn.p.huang@gmail.com>
11857 Date: 2010-04-19 12:09:45 +0800
11858
11859 Reset m_prev_commited_char in FallbackEditor
11860
11861 M src/FallbackEditor.cc
11862
11863 commit 1433c8fc3a9a92d2da0f04d565e954ba3b366590
11864 Author: Peng Huang <shawn.p.huang@gmail.com>
11865 Date: 2010-04-19 11:54:38 +0800
11866
11867 Remove unused code
11868
11869 M src/PinyinEngine.cc
11870 M src/PinyinEngine.h
11871
11872 commit 812c0178fc27969f371eb0e5d373141ab2efe9ee
11873 Author: Peng Huang <shawn.p.huang@gmail.com>
11874 Date: 2010-04-19 11:16:36 +0800
11875
11876 Remove StaticString
11877
11878 M src/Config.cc
11879 M src/Config.h
11880 M src/PinyinEngine.cc
11881 M src/PinyinProperties.cc
11882 M src/Util.h
11883
11884 commit 15e5b18dfea9b6d66d39bf486070c6a33ffd6227
11885 Author: Peng Huang <shawn.p.huang@gmail.com>
11886 Date: 2010-04-19 11:03:05 +0800
11887
11888 Remove PinyinEnginePtr
11889
11890 M src/Engine.cc
11891 M src/PinyinEngine.h
11892
11893 commit cbbfa1fbec89ab312fc132c465404b8c0da754aa
11894 Author: Peng Huang <shawn.p.huang@gmail.com>
11895 Date: 2010-04-18 12:27:37 +0800
11896
11897 Use Object as the base class to replace Pointer.
11898
11899 M src/Bus.h
11900 M src/Config.cc
11901 M src/Config.h
11902 M src/LookupTable.h
11903 M src/Main.cc
11904 M src/Makefile.am
11905 A src/Object.h
11906 M src/PinyinEngine.cc
11907 M src/PinyinEngine.h
11908 M src/PinyinProperties.cc
11909 M src/Property.h
11910 M src/Text.h
11911
11912 commit 319924aa7ea5bb9cce557d0c474ac5d641f78dbb
11913 Author: Peng Huang <shawn.p.huang@gmail.com>
11914 Date: 2010-04-18 11:03:24 +0800
11915
11916 Remove debug output
11917
11918 M src/Pointer.h
11919
11920 commit a417506b1cd0e2987745a925053160ff8182ecaa
11921 Author: Peng Huang <shawn.p.huang@gmail.com>
11922 Date: 2010-04-17 20:11:46 +0800
11923
11924 Use struct
11925
11926 M src/Pointer.h
11927 M src/Signal.h
11928
11929 commit 2bb3f4dda26efcdcd93fcae0b2e5983a324272aa
11930 Author: Peng Huang <shawn.p.huang@gmail.com>
11931 Date: 2010-04-17 19:39:58 +0800
11932
11933 Generate ChangeLog from git during make dist
11934
11935 M Makefile.am
11936
11937 commit 414466300e91073a3af1f8c43024f8aeb454954d
11938 Author: Peng Huang <shawn.p.huang@gmail.com>
11939 Date: 2010-04-17 17:01:37 +0800
11940
11941 Use boost::shared_ptr to manage object instance.
11942
11943 M src/Database.cc
11944 M src/Database.h
11945 M src/Editor.h
11946 M src/Engine.cc
11947 M src/PhraseEditor.cc
11948 M src/PhraseEditor.h
11949 M src/PinyinEngine.cc
11950 M src/PinyinEngine.h
11951 M src/SpecialPhrase.cc
11952 M src/SpecialPhrase.h
11953 M src/SpecialPhraseTable.cc
11954 M src/SpecialPhraseTable.h
11955
11956 commit 30b4b372c2c4bad09c6ae94ebbd5b00e57ee9adf
11957 Author: Peng Huang <shawn.p.huang@gmail.com>
11958 Date: 2010-04-17 10:38:13 +0800
11959
11960 Use boost::signals2 to replace sigc++, do not need sigc++ library in
11961 runtime
11962
11963 M configure.ac
11964 M ibus-pinyin.spec.in
11965 A m4/boost.m4
11966 M src/Editor.h
11967 M src/Makefile.am
11968 M src/PinyinEngine.cc
11969 M src/PinyinProperties.h
11970 A src/Signal.h
11971
11972 commit 8a0155f9c840cc4ee50dad97a13337d3fe5eb1a7
11973 Author: Peng Huang <shawn.p.huang@gmail.com>
11974 Date: 2010-04-16 09:14:48 +0800
11975
11976 Refine code.
11977
11978 M src/DynamicSpecialPhrase.cc
11979 M src/SimpTradConverterTable.h
11980 M src/update-simptrad-table.py
11981
11982 commit 9218f1c22be21ea5199d1c180435071892d5faaa
11983 Author: Peng Huang <shawn.p.huang@gmail.com>
11984 Date: 2010-04-15 20:49:09 +0800
11985
11986 Fix build error on NetBSD and does not call localtime every time.
11987
11988 M src/DynamicSpecialPhrase.cc
11989 M src/DynamicSpecialPhrase.h
11990
11991 commit ed642f7341bca83d39297a99905fb152bde4a66e
11992 Author: Peng Huang <shawn.p.huang@gmail.com>
11993 Date: 2010-04-15 15:38:25 +0800
11994
11995 Update comments in phrases.txt
11996
11997 M src/phrases.txt
11998
11999 commit 406baa0f95f084e897db8845e407503bdcff6d6c
12000 Author: Peng Huang <shawn.p.huang@gmail.com>
12001 Date: 2010-04-15 15:34:28 +0800
12002
12003 Fix copy phrases.txt error
12004
12005 M setup/main.py
12006
12007 commit fb08ff9bc55513b58f31a298c27dcf57a4d4196a
12008 Merge: 9e5ecb8 035bec8
12009 Author: Peng Huang <shawn.p.huang@gmail.com>
12010 Date: 2010-04-15 15:26:31 +0800
12011
12012 Merge remote branch 'origin/master'
12013
12014 commit 9e5ecb8182be4e5a7c91cb92e9c5c64ed63fe8a2
12015 Author: Peng Huang <shawn.p.huang@gmail.com>
12016 Date: 2010-04-15 15:24:26 +0800
12017
12018 Add special phrases in setup ui
12019
12020 M po/ru.po
12021 M po/zh_CN.po
12022 M setup/ibus-pinyin-preferences.ui
12023 M setup/main.py
12024 M src/Config.cc
12025 M src/Config.h
12026 M src/SpecialPhraseTable.cc
12027 M src/phrases.txt
12028
12029 commit 547f5f2edf23027731a3e9f13f2de60a32224c9f
12030 Author: Peng Huang <shawn.p.huang@gmail.com>
12031 Date: 2010-04-15 13:11:40 +0800
12032
12033 Update the phrases.txt location
12034
12035 M po/ru.po
12036 M po/zh_CN.po
12037 M setup/ibus-pinyin-preferences.ui
12038 M setup/main.py
12039 M src/SpecialPhraseTable.cc
12040
12041 commit 035bec8a9f02ffa9fd6354439799f45ef8de5e53
12042 Author: Peng Huang <shawn.p.huang@gmail.com>
12043 Date: 2010-04-15 13:11:40 +0800
12044
12045 Update the phrases.txt location
12046
12047 M src/SpecialPhraseTable.cc
12048
12049 commit 5b2e8ff3ea0efa7e44eafef1a697683f3f06fdf5
12050 Author: Peng Huang <shawn.p.huang@gmail.com>
12051 Date: 2010-04-15 12:21:47 +0800
12052
12053 Don't include WideString.h in Makefile.am
12054
12055 M src/Makefile.am
12056
12057 commit 593375cfeaee95ff25778c06c784900a95301ec0
12058 Author: Peng Huang <shawn.p.huang@gmail.com>
12059 Date: 2010-04-15 12:09:35 +0800
12060
12061 Add clear of SpecialPhraseTable
12062
12063 M po/POTFILES.in
12064 M src/DynamicSpecialPhrase.cc
12065 M src/DynamicSpecialPhrase.h
12066 M src/Makefile.am
12067 M src/SpecialPhrase.cc
12068 M src/SpecialPhrase.h
12069 M src/SpecialPhraseTable.cc
12070 M src/SpecialPhraseTable.h
12071
12072 commit 3543873912a94b38853769c4bb9c81264a54337b
12073 Author: Peng Huang <shawn.p.huang@gmail.com>
12074 Date: 2010-04-15 11:30:25 +0800
12075
12076 Fix make distcheck errors.
12077
12078 M po/POTFILES.in
12079 M src/Makefile.am
12080
12081 commit 1b161011fb6aa5f2197fe83d8e310bc44586de5d
12082 Author: Peng Huang <shawn.p.huang@gmail.com>
12083 Date: 2010-04-15 11:15:53 +0800
12084
12085 Remove some unused code
12086
12087 M src/DynamicSpecialPhrase.cc
12088 M src/SpecialPhraseTable.cc
12089
12090 commit e84345b5d8bd1ce1aa0ffe4d2910b38581f4b7b9
12091 Author: Peng Huang <shawn.p.huang@gmail.com>
12092 Date: 2010-04-15 11:13:04 +0800
12093
12094 Update phrases.txt
12095
12096 M src/phrases.txt
12097
12098 commit 98f2c717f5c7d0d532e5ee53c55370bff01e3b33
12099 Author: Peng Huang <shawn.p.huang@gmail.com>
12100 Date: 2010-04-15 11:02:07 +0800
12101
12102 Split SpecialTable.{h, cc}
12103
12104 A src/DynamicSpecialPhrase.cc
12105 A src/DynamicSpecialPhrase.h
12106 M src/Makefile.am
12107 M src/PinyinEditor.h
12108 R094 src/SpecialTable.cc src/SpecialPhrase.cc
12109 A src/SpecialPhrase.h
12110 A src/SpecialPhraseTable.cc
12111 R052 src/SpecialTable.h src/SpecialPhraseTable.h
12112
12113 commit ade4b089f5f5974e070f59941c70376b72921219
12114 Author: Peng Huang <shawn.p.huang@gmail.com>
12115 Date: 2010-04-15 10:38:36 +0800
12116
12117 Comment the lunar phrase
12118
12119 M src/phrases.txt
12120
12121 commit d48cbf22c71b41ea14d7fb4e58dc24153ca1331a
12122 Author: Peng Huang <shawn.p.huang@gmail.com>
12123 Date: 2010-04-15 08:30:32 +0800
12124
12125 Fix several bugs in SpecialTable
12126
12127 M src/SpecialTable.cc
12128 M src/phrases.txt
12129
12130 commit 10eeeed063f31e9c83de4b3860e65774cd725964
12131 Author: Peng Huang <shawn.p.huang@gmail.com>
12132 Date: 2010-04-15 07:39:04 +0800
12133
12134 Install phrases.txt
12135
12136 M configure.ac
12137 M ibus-pinyin.spec.in
12138 M src/Makefile.am
12139 M src/PinyinEditor.cc
12140 M src/phrases.txt
12141
12142 commit 884385c71d3fc63a11b01d08e69fce8ba5a9c3f4
12143 Author: Peng Huang <shawn.p.huang@gmail.com>
12144 Date: 2010-04-15 07:23:56 +0800
12145
12146 Remove some unused code.
12147
12148 M src/Makefile.am
12149
12150 commit b64e42f4000785e38a83322a381fe6dd98d347cd
12151 Author: Peng Huang <shawn.p.huang@gmail.com>
12152 Date: 2010-04-14 22:29:31 +0800
12153
12154 Load phrases.txt from home dir & pkgdata dir
12155
12156 M src/SpecialTable.cc
12157 A src/phrases.txt
12158 D src/special_phrases
12159
12160 commit 9118f465a155b230435ace53e4ecb196964b4548
12161 Author: Peng Huang <shawn.p.huang@gmail.com>
12162 Date: 2010-04-14 19:24:35 +0800
12163
12164 Update special table.
12165
12166 M src/SpecialTable.cc
12167 M src/special_phrases
12168
12169 commit 1b09a2d9d16d805c1b9ad8a5d35178f75441e3dc
12170 Author: Peng Huang <shawn.p.huang@gmail.com>
12171 Date: 2010-04-14 19:05:34 +0800
12172
12173 Change special_phrases format
12174
12175 M src/SpecialTable.cc
12176 M src/special_phrases
12177
12178 commit 15ae23dc3b5d07f94a3846a52489975b6b2f6b58
12179 Author: Peng Huang <shawn.p.huang@gmail.com>
12180 Date: 2010-04-14 18:33:30 +0800
12181
12182 Fix commit special phrases issue
12183
12184 M src/PinyinEditor.cc
12185
12186 commit ab506536d10fc7d965241eff64cf261c6e7c8f06
12187 Author: Peng Huang <shawn.p.huang@gmail.com>
12188 Date: 2010-04-14 18:28:13 +0800
12189
12190 Support load special phrases from file.
12191
12192 M src/SpecialTable.cc
12193 M src/special_phrases
12194
12195 commit c608cfe155df89906b7c37fc42e8f910ad91914a
12196 Author: Peng Huang <shawn.p.huang@gmail.com>
12197 Date: 2010-04-14 17:48:00 +0800
12198
12199 Convert to unix format
12200
12201 M src/special_phrases
12202
12203 commit cfa46f77f2a451bffd1cba71b95382ded6d6efeb
12204 Author: Peng Huang <shawn.p.huang@gmail.com>
12205 Date: 2010-04-14 17:47:35 +0800
12206
12207 Add special_phrases
12208
12209 M src/Regex.h
12210 M src/SpecialTable.cc
12211 A src/special_phrases
12212
12213 commit 1ad5b89b18fe5a67334bff423ceaf129109d2c98
12214 Author: Peng Huang <shawn.p.huang@gmail.com>
12215 Date: 2010-04-14 15:10:49 +0800
12216
12217 Use cstdlib to replace stdlib.h
12218
12219 M src/Util.h
12220
12221 commit 68fce9f627c524412f6b07a22810230c9befbbd5
12222 Author: Peng Huang <shawn.p.huang@gmail.com>
12223 Date: 2010-04-14 11:25:39 +0800
12224
12225 Update SimpTradConverterTable.h from wikipedia
12226
12227 M src/SimpTradConverterTable.h
12228
12229 commit b3ea7266a0b491dfe727e1ebfa3cedc70da30276
12230 Author: Peng Huang <shawn.p.huang@gmail.com>
12231 Date: 2010-04-14 11:19:09 +0800
12232
12233 Use cheaders
12234
12235 M src/Database.cc
12236 M src/Engine.cc
12237 M src/Phrase.h
12238 M src/PinyinEngine.cc
12239 M src/PinyinParser.cc
12240 M src/SimpTradConverter.cc
12241
12242 commit b113c8be8ca9b8d5f4b44ee991012d1513e29236
12243 Author: Peng Huang <shawn.p.huang@gmail.com>
12244 Date: 2010-04-14 11:04:28 +0800
12245
12246 Support some dynamic special phrases
12247
12248 M src/PinyinEditor.cc
12249 M src/SpecialTable.cc
12250
12251 commit 06ae4e4984c1fea0ef0154ac94e8ebba2af7140a
12252 Author: Peng Huang <shawn.p.huang@gmail.com>
12253 Date: 2010-04-13 22:17:43 +0800
12254
12255 Show auxiliary text correctly with special phrase.
12256
12257 M src/PinyinEditor.cc
12258 M src/PinyinEditor.h
12259
12260 commit ccf66d9244a59e2830b71abe2d9b9ce007aff52a
12261 Author: Peng Huang <shawn.p.huang@gmail.com>
12262 Date: 2010-04-13 21:21:49 +0800
12263
12264 Refactory PinyinParser
12265
12266 M src/DoublePinyinEditor.cc
12267 M src/DoublePinyinEditor.h
12268 M src/FullPinyinEditor.cc
12269 M src/FullPinyinEditor.h
12270 M src/PinyinEditor.cc
12271 M src/PinyinEditor.h
12272 M src/PinyinParser.h
12273
12274 commit 4707357783c1bcf44cfab5d7915182f38f231398
12275 Author: Peng Huang <shawn.p.huang@gmail.com>
12276 Date: 2010-04-13 17:41:38 +0800
12277
12278 Refine code
12279
12280 M src/Database.cc
12281 M src/Database.h
12282 M src/PhraseEditor.cc
12283 M src/PhraseEditor.h
12284 M src/PinyinEditor.cc
12285 M src/PinyinEditor.h
12286 M src/SpecialTable.cc
12287 M src/SpecialTable.h
12288
12289 commit 11da825e682f1341b97cdb9f5482d6293338888a
12290 Author: Peng Huang <shawn.p.huang@gmail.com>
12291 Date: 2010-04-13 16:18:29 +0800
12292
12293 Add a special phrase.
12294
12295 M src/SpecialTable.cc
12296
12297 commit fdf8943c8a0745f208e715e96d4dd6162e9e7e81
12298 Author: Peng Huang <shawn.p.huang@gmail.com>
12299 Date: 2010-04-13 15:54:57 +0800
12300
12301 Enable special phrases in double pinyin
12302
12303 M src/DoublePinyinEditor.cc
12304 M src/FullPinyinEditor.cc
12305 M src/PinyinEditor.cc
12306 M src/PinyinEditor.h
12307
12308 commit 3f394df7cf47f4287d886463f2a5e94c4f658d57
12309 Author: Peng Huang <shawn.p.huang@gmail.com>
12310 Date: 2010-04-12 20:27:04 +0800
12311
12312 Support special phrases
12313
12314 M src/DoublePinyinEditor.cc
12315 M src/Editor.cc
12316 M src/FullPinyinEditor.cc
12317 M src/PhraseEditor.h
12318 M src/PinyinEditor.cc
12319 M src/PinyinEditor.h
12320 M src/SpecialTable.cc
12321 M src/SpecialTable.h
12322
12323 commit 28b5b9d35ae884e37f45ec213e6b884517d32c56
12324 Author: Peng Huang <shawn.p.huang@gmail.com>
12325 Date: 2010-04-12 17:40:45 +0800
12326
12327 Fix configure problem in MacOSX
12328
12329 M configure.ac
12330
12331 commit 058446491c9480ef1fab9e02c7f4b089cb71dcf2
12332 Author: Peng Huang <shawn.p.huang@gmail.com>
12333 Date: 2010-04-12 16:19:38 +0800
12334
12335 Refine uuid checking in libc and libuuid
12336
12337 M configure.ac
12338 M src/Makefile.am
12339 M src/Util.h
12340
12341 commit 9c9f091e7af575254e8fa8aff84bc8de981ef7fa
12342 Author: Peng Huang <shawn.p.huang@gmail.com>
12343 Date: 2010-04-12 07:34:40 +0800
12344
12345 Use lower format uuid
12346
12347 M src/Util.h
12348
12349 commit ee0f3b1dde90c200df91b3b03a3c1ae3ffcb8fa6
12350 Author: Peng Huang <shawn.p.huang@gmail.com>
12351 Date: 2010-04-12 06:45:50 +0800
12352
12353 Fix compile errors in FreeBSD and NetBSD.
12354
12355 M configure.ac
12356 M src/Util.h
12357
12358 commit 447efa4d8e3b5b4958780d6d70273a1e754982f7
12359 Author: Peng Huang <shawn.p.huang@gmail.com>
12360 Date: 2010-04-12 06:38:55 +0800
12361
12362 Do not use strnlen any more.
12363
12364 M src/PinyinParser.cc
12365
12366 commit 29c97aebdcdb7009d7cdc97e5b70d6818af22427
12367 Author: Peng Huang <shawn.p.huang@gmail.com>
12368 Date: 2010-04-11 08:32:32 +0800
12369
12370 Release 1.3.2
12371
12372 M configure.ac
12373
12374 commit 8e7c53a4a90944f33c9e8a280e6a43a30085bfbc
12375 Author: Peng Huang <shawn.p.huang@gmail.com>
12376 Date: 2010-04-11 08:24:48 +0800
12377
12378 Check program sqlite3 in configure
12379
12380 M configure.ac
12381 M data/db/android/Makefile.am
12382
12383 commit 384604e049b7fff31b06ab2e715dc6a46cd21291
12384 Author: Peng Huang <shawn.p.huang@gmail.com>
12385 Date: 2010-04-11 08:15:43 +0800
12386
12387 Removce some debug output
12388
12389 M src/Database.cc
12390 M src/SimpTradConverter.cc
12391
12392 commit 35374ff6a33cb02a95c03c3d3a20a62e7217a366
12393 Author: Peng Huang <shawn.p.huang@gmail.com>
12394 Date: 2010-04-10 20:16:24 +0800
12395
12396 Refine code
12397
12398 M src/Database.cc
12399 M src/Phrase.h
12400
12401 commit 3c28f607c3d81378e102fd7ea20744e301e7b191
12402 Author: Peng Huang <shawn.p.huang@gmail.com>
12403 Date: 2010-04-10 19:52:41 +0800
12404
12405 Do not prefetch tables.
12406
12407 M src/Database.cc
12408
12409 commit de1000ba701981b4d803dad7865ab8e31ec13d13
12410 Author: Peng Huang <shawn.p.huang@gmail.com>
12411 Date: 2010-04-10 08:00:36 +0800
12412
12413 Refine code.
12414
12415 M src/SimpTradConverter.cc
12416
12417 commit d2fc360725280ca7ef4b8608377f4bf27ef19b9d
12418 Author: Peng Huang <shawn.p.huang@gmail.com>
12419 Date: 2010-04-09 16:59:30 +0800
12420
12421 Remove HashTable.h
12422
12423 D src/HashTable.h
12424 M src/Makefile.am
12425
12426 commit e0f0c97df02cb3fbaffb11b59340b2656e0e9277
12427 Author: Peng Huang <shawn.p.huang@gmail.com>
12428 Date: 2010-04-09 08:51:22 +0800
12429
12430 Remove empty line
12431
12432 M src/Main.cc
12433
12434 commit 80bbe996748d29faec361794bb7290870bc7a649
12435 Author: Peng Huang <shawn.p.huang@gmail.com>
12436 Date: 2010-04-09 08:35:33 +0800
12437
12438 Refine some code.
12439
12440 M src/Database.cc
12441 M src/Database.h
12442 M src/String.h
12443
12444 commit 8f076b93a1bda49d91a5aa0902b3ce19cf0c283d
12445 Author: Peng Huang <shawn.p.huang@gmail.com>
12446 Date: 2010-04-09 07:22:49 +0800
12447
12448 Return references for signals
12449
12450 M src/Editor.h
12451
12452 commit 8d68ce7e97e4d822c0ea3d7e938ed5a6e581c7e6
12453 Author: Peng Huang <shawn.p.huang@gmail.com>
12454 Date: 2010-04-08 18:30:55 +0800
12455
12456 Remove Array.h
12457
12458 D src/Array.h
12459 M src/Makefile.am
12460
12461 commit 1496b0a56bbd45cdafa44934a73e026b19593dae
12462 Author: Peng Huang <shawn.p.huang@gmail.com>
12463 Date: 2010-04-08 18:29:59 +0800
12464
12465 Does not use Array anymore
12466
12467 M src/Database.cc
12468 M src/DoublePinyinEditor.cc
12469 M src/FullPinyinEditor.cc
12470 M src/PhraseArray.h
12471 M src/PhraseEditor.cc
12472 M src/PhraseEditor.h
12473 M src/PinyinArray.h
12474 M src/PinyinParser.cc
12475 M src/WideString.h
12476
12477 commit 5817602139905bd82a9cf9d14811d2ed08ded672
12478 Author: Peng Huang <shawn.p.huang@gmail.com>
12479 Date: 2010-04-08 15:33:34 +0800
12480
12481 Refine code
12482
12483 M src/Database.cc
12484 M src/Database.h
12485
12486 commit 7d53bd778bcb4ce47a6b99ca01cb3a12f1cc73ee
12487 Author: Peng Huang <shawn.p.huang@gmail.com>
12488 Date: 2010-04-08 15:07:18 +0800
12489
12490 Update po files.
12491
12492 M po/ru.po
12493 M po/zh_CN.po
12494
12495 commit 706a1ba1acdb338cbb3b022a1581123b08920afb
12496 Author: Peng Huang <shawn.p.huang@gmail.com>
12497 Date: 2010-04-08 15:03:52 +0800
12498
12499 Refine some code
12500
12501 M src/Util.h
12502
12503 commit b11ffca250e50c2968eff626696496f74c6d98ea
12504 Author: Peng Huang <shawn.p.huang@gmail.com>
12505 Date: 2010-04-08 14:45:29 +0800
12506
12507 Refine code.
12508
12509 M src/Array.h
12510 M src/Database.cc
12511 M src/DoublePinyinEditor.cc
12512 M src/FullPinyinEditor.cc
12513 M src/Phrase.h
12514 M src/PhraseEditor.cc
12515 M src/PhraseEditor.h
12516 M src/PinyinEditor.cc
12517 M src/PinyinEditor.h
12518 M src/PinyinEngine.cc
12519 M src/PinyinParser.cc
12520 M src/String.h
12521
12522 commit f8f97605d124b0c3cc128477cd7f9aba994f6906
12523 Author: Peng Huang <shawn.p.huang@gmail.com>
12524 Date: 2010-04-08 14:44:13 +0800
12525
12526 Use pinyin-debug as engine name if debug mode
12527
12528 M src/Main.cc
12529
12530 commit 09f6296294a63284e673873cacf9ddd460b4787c
12531 Author: Peng Huang <shawn.p.huang@gmail.com>
12532 Date: 2010-04-06 19:21:43 +0800
12533
12534 only output warning if sqlite api return failed.
12535
12536 M src/Database.cc
12537
12538 commit 7be63665482a9912abd0c535144fa335a8752da1
12539 Author: Peng Huang <shawn.p.huang@gmail.com>
12540 Date: 2010-04-06 19:14:04 +0800
12541
12542 Refine some code.
12543
12544 M src/FullPinyinEditor.cc
12545 M src/PinyinParser.cc
12546
12547 commit 4e9d34c0420416abc8a0de656808699ff4a4ed7f
12548 Author: Peng Huang <shawn.p.huang@gmail.com>
12549 Date: 2010-04-06 17:54:10 +0800
12550
12551 reorder options
12552
12553 M src/Config.cc
12554
12555 commit 33dfec2fce74cb9107bd66c82b10c8f4214239c9
12556 Author: Peng Huang <shawn.p.huang@gmail.com>
12557 Date: 2010-04-06 17:42:19 +0800
12558
12559 Refine code of class Conditions
12560
12561 M src/Database.cc
12562
12563 commit f21c6030382dfe65ac982e52291b7b496d08e120
12564 Author: Peng Huang <shawn.p.huang@gmail.com>
12565 Date: 2010-04-06 17:25:02 +0800
12566
12567 Optimize some loops.
12568
12569 M src/Database.cc
12570
12571 commit 40b9e8911d184e91c454f2e78b72110cc5ff021d
12572 Author: Peng Huang <shawn.p.huang@gmail.com>
12573 Date: 2010-04-06 17:24:25 +0800
12574
12575 Remove debug output.
12576
12577 M src/Text.h
12578
12579 commit e0be555919b224198fcb643c712b7ce5278b45ba
12580 Author: Peng Huang <shawn.p.huang@gmail.com>
12581 Date: 2010-04-06 16:44:33 +0800
12582
12583 Only store prev pressed key if the keyevent is ignored by editors.
12584
12585 M src/PinyinEngine.cc
12586 M src/PinyinEngine.h
12587
12588 commit 205db5838a28fc594086aa129c6b186c39e42b36
12589 Author: Peng Huang <shawn.p.huang@gmail.com>
12590 Date: 2010-04-05 17:25:14 +0800
12591
12592 Release 1.3.1
12593
12594 M configure.ac
12595
12596 commit 0ec8339d6ee6984b491ddde78e6f0b3fc4fa97da
12597 Author: Peng Huang <shawn.p.huang@gmail.com>
12598 Date: 2010-04-05 17:24:14 +0800
12599
12600 Use update_lookup_table_fast
12601
12602 M src/PinyinEditor.cc
12603 M src/PinyinEngine.cc
12604
12605 commit f87705de00c5acd669957f002d38fd3c8d8e28a0
12606 Author: Peng Huang <shawn.p.huang@gmail.com>
12607 Date: 2010-04-05 16:04:27 +0800
12608
12609 Fix some problems
12610
12611 M src/Array.h
12612 M src/Database.cc
12613 M src/Database.h
12614 M src/PhraseEditor.cc
12615 M src/PhraseEditor.h
12616 M src/PinyinEditor.cc
12617 M src/PinyinEngine.cc
12618 M src/Text.h
12619
12620 commit 11013e93069ba8dba07da3256d6fd71e8a1c2b23
12621 Author: Peng Huang <shawn.p.huang@gmail.com>
12622 Date: 2010-04-05 13:17:09 +0800
12623
12624 Fix some problems.
12625
12626 M src/Database.cc
12627 M src/PhraseEditor.cc
12628 M src/PhraseEditor.h
12629 M src/PinyinEditor.cc
12630
12631 commit 5ffc5af22bce48f4a113e2205cd0a059b753a540
12632 Author: Peng Huang <shawn.p.huang@gmail.com>
12633 Date: 2010-04-05 10:44:08 +0800
12634
12635 Optimize database query
12636
12637 M src/Database.cc
12638 M src/PhraseEditor.cc
12639 M src/PhraseEditor.h
12640 M src/PinyinEditor.cc
12641
12642 commit 937f048ec16f01b5eaeed04f947e10b23a92c7c6
12643 Author: Peng Huang <shawn.p.huang@gmail.com>
12644 Date: 2010-04-05 10:30:56 +0800
12645
12646 Modify test target
12647
12648 M src/Makefile.am
12649
12650 commit 21da4073bbcf9a59913fd09bbe442deef284e204
12651 Author: Peng Huang <shawn.p.huang@gmail.com>
12652 Date: 2010-04-05 08:30:34 +0800
12653
12654 Refactory Database
12655
12656 M src/Database.cc
12657 M src/Database.h
12658 M src/PhraseEditor.cc
12659
12660 commit 9ea30d33b9b720dbcd6cf507dbdf0128cbc3ba84
12661 Author: Peng Huang <shawn.p.huang@gmail.com>
12662 Date: 2010-04-05 07:15:26 +0800
12663
12664 Refactory Database class
12665
12666 M src/Database.cc
12667 M src/Database.h
12668
12669 commit 1f2e8fd251ed8ee8315b0a4560e9e89cfe0b2d9e
12670 Author: Peng Huang <shawn.p.huang@gmail.com>
12671 Date: 2010-04-04 23:27:31 +0800
12672
12673 Optimize lookup table logic
12674
12675 M src/LookupTable.h
12676 M src/PinyinEditor.cc
12677 M src/PinyinEditor.h
12678
12679 commit 25c77d2176c5eee69149dbb3b6ed0f96b30912c1
12680 Author: Peng Huang <shawn.p.huang@gmail.com>
12681 Date: 2010-04-04 22:24:32 +0800
12682
12683 Always unselectCandidates before move cursor
12684
12685 M src/PinyinEditor.cc
12686
12687 commit e470a4fffcc4d3ea1a0b85347ab284dde4738ad7
12688 Author: Peng Huang <shawn.p.huang@gmail.com>
12689 Date: 2010-04-04 13:08:13 +0800
12690
12691 unselectCandidates before move cursor left or remove char before cursor
12692
12693 M src/PhraseEditor.h
12694 M src/PinyinEditor.cc
12695
12696 commit 1072ff8709f18469c7723858fdf97818ac62beae
12697 Author: Peng Huang <shawn.p.huang@gmail.com>
12698 Date: 2010-04-04 12:50:52 +0800
12699
12700 Does not update lookup table, when remove chars after cursor.
12701
12702 M src/FullPinyinEditor.cc
12703
12704 commit 5b84d10844e82be9bd21b6bd3fc98f6dad1b7d41
12705 Author: Peng Huang <shawn.p.huang@gmail.com>
12706 Date: 2010-04-03 11:44:17 +0800
12707
12708 Show candidates in correct colour.
12709
12710 M src/PhraseEditor.h
12711
12712 commit c14fbdda03d9fd5e53bf840916f8cef09e977593
12713 Author: Peng Huang <shawn.p.huang@gmail.com>
12714 Date: 2010-04-03 11:33:36 +0800
12715
12716 Update lookup table before preedit text and aux text to avoid crash
12717
12718 M src/PinyinEditor.cc
12719
12720 commit fecbae61279b9b25b303575cadcb4cbdaa34cf3f
12721 Author: Peng Huang <shawn.p.huang@gmail.com>
12722 Date: 2010-03-31 17:36:29 +0800
12723
12724 Quit to initial mode when the editor is empty
12725
12726 M src/PinyinEngine.cc
12727
12728 commit 34578e3c1a0720333e94f1ca276fc9f21d236b7c
12729 Author: Peng Huang <shawn.p.huang@gmail.com>
12730 Date: 2010-03-31 12:43:57 +0800
12731
12732 Fix make check problems.
12733
12734 M po/POTFILES.skip
12735
12736 commit c59f1ced318cb06441c29f9e0971ee9fef99d5ff
12737 Author: Peng Huang <shawn.p.huang@gmail.com>
12738 Date: 2010-03-27 17:21:50 +0800
12739
12740 Fix build warnings
12741
12742 M src/DoublePinyinEditor.cc
12743 M src/PhraseEditor.cc
12744 M src/PinyinEditor.cc
12745 M src/PinyinEditor.h
12746 M src/Types.h
12747
12748 commit fb8a36b64df6f48ae95f68ceb58e204e388f070f
12749 Author: Peng Huang <shawn.p.huang@gmail.com>
12750 Date: 2010-03-26 11:35:56 +0800
12751
12752 Bump version to 1.3.0
12753
12754 M configure.ac
12755
12756 commit c4ff5531597501a63a1f2b1fc7c6edeea7af2e56
12757 Author: Peng Huang <shawn.p.huang@gmail.com>
12758 Date: 2010-03-26 12:29:57 +0800
12759
12760 Fix rpm build errors
12761
12762 M ibus-pinyin.spec.in
12763 M src/DoublePinyinEditor.cc
12764
12765 commit 7b1597153b3aec71d328731112fb89e122960a40
12766 Author: Peng Huang <shawn.p.huang@gmail.com>
12767 Date: 2010-03-26 11:17:03 +0800
12768
12769 Remove pot file.
12770
12771 D po/ibus-pinyin.pot
12772
12773 commit ee09ef872e775f7e7097cef96b0d3de6d65d3de0
12774 Author: Peng Huang <shawn.p.huang@gmail.com>
12775 Date: 2010-03-26 11:08:32 +0800
12776
12777 Adjust setup UI
12778
12779 M po/ibus-pinyin.pot
12780 M po/ru.po
12781 M po/zh_CN.po
12782 M setup/ibus-pinyin-preferences.ui
12783
12784 commit 090dd34a67d4dfa5d0546c5bd05bc1cf27d9cc5b
12785 Author: Peng Huang <shawn.p.huang@gmail.com>
12786 Date: 2010-03-25 19:35:30 +0800
12787
12788 Add option - Show raw input of Double Pinyin
12789
12790 M po/ibus-pinyin.pot
12791 M po/ru.po
12792 M po/zh_CN.po
12793 M setup/ibus-pinyin-preferences.ui
12794 M setup/main.py
12795 M src/Config.cc
12796 M src/Config.h
12797 M src/DoublePinyinEditor.cc
12798
12799 commit 1b3ffa8d9368078b9cc4a2c4515f3330f554f906
12800 Author: Peng Huang <shawn.p.huang@gmail.com>
12801 Date: 2010-03-25 19:10:24 +0800
12802
12803 Add option - orientation of candidates
12804
12805 M po/ibus-pinyin.pot
12806 M po/ru.po
12807 M po/zh_CN.po
12808 M setup/ibus-pinyin-preferences.ui
12809 M setup/main.py
12810 M src/Config.cc
12811 M src/Config.h
12812 M src/DoublePinyinEditor.cc
12813 M src/LookupTable.h
12814 M src/PinyinEditor.cc
12815
12816 commit cfcabb9b9483cb6a9d954a5e189c2a5212b315bd
12817 Author: Peng Huang <shawn.p.huang@gmail.com>
12818 Date: 2010-03-25 16:56:16 +0800
12819
12820 Fix bug when use Ctrl+Backspace to remove word in double pinyin
12821
12822 M src/DoublePinyinEditor.cc
12823
12824 commit e193cc8a2cb74a94dc30e201eb76a0a9d939a097
12825 Author: Peng Huang <shawn.p.huang@gmail.com>
12826 Date: 2010-03-25 14:01:09 +0800
12827
12828 Use G_DEFINE_TYPE to make code simple
12829
12830 M src/Engine.cc
12831
12832 commit e46e050a07680ba4b944502f35c4c0ad3c6fd774
12833 Author: Peng Huang <shawn.p.huang@gmail.com>
12834 Date: 2010-03-24 23:37:10 +0800
12835
12836 clean ZhConversion.*
12837
12838 M src/Makefile.am
12839
12840 commit 9bedb474e6dc36620a1c3da27b4a6f8c3b7f9b4a
12841 Author: Peng Huang <shawn.p.huang@gmail.com>
12842 Date: 2010-03-24 23:33:16 +0800
12843
12844 Remove some unused code.
12845
12846 M src/PhraseEditor.cc
12847
12848 commit 25bcc654cbd14cbdddecc725540239bbce1d2684
12849 Author: Peng Huang <shawn.p.huang@gmail.com>
12850 Date: 2010-03-24 11:27:15 +0800
12851
12852 Show raw input in double pinyin
12853
12854 M src/DoublePinyinEditor.cc
12855 M src/DoublePinyinEditor.h
12856 M src/PinyinEditor.cc
12857 M src/PinyinEditor.h
12858
12859 commit a4174ee888c622d1a1a49a9acd6f7f4504b11806
12860 Author: Peng Huang <shawn.p.huang@gmail.com>
12861 Date: 2010-03-24 11:04:22 +0800
12862
12863 Add some log message
12864
12865 M src/Database.cc
12866
12867 commit db0adc56b80b99042ec4446261e345d3a5634a0b
12868 Author: Peng Huang <shawn.p.huang@gmail.com>
12869 Date: 2010-03-24 10:58:55 +0800
12870
12871 Use svn to get ZhConversion.php from wikipedia svn repository
12872
12873 M src/Makefile.am
12874
12875 commit 28537612f243ca03a30ec74d8142232b70c51d45
12876 Author: Peng Huang <shawn.p.huang@gmail.com>
12877 Date: 2010-03-24 10:50:37 +0800
12878
12879 Add make target update-simptrad-table
12880
12881 M src/Makefile.am
12882
12883 commit 1931a870082ac9312d63b1ebc616f9697b5ac00b
12884 Author: Peng Huang <shawn.p.huang@gmail.com>
12885 Date: 2010-03-24 10:40:42 +0800
12886
12887 Disable CONFIG_REVERSE_FIRST_CANDIDATE
12888
12889 M src/PhraseEditor.cc
12890
12891 commit 5fdfb6cd25f67dd70e9275bb396975150f08f20c
12892 Author: Peng Huang <shawn.p.huang@gmail.com>
12893 Date: 2010-03-24 10:33:27 +0800
12894
12895 Make build output looks better
12896
12897 M data/db/open-phrase/Makefile.am
12898
12899 commit 55439c14d7fac09c52d9d84e38e270978b6dc038
12900 Author: Peng Huang <shawn.p.huang@gmail.com>
12901 Date: 2010-03-24 10:21:24 +0800
12902
12903 Remove unused code
12904
12905 M src/DoublePinyinEditor.cc
12906
12907 commit a475efbee8d7a77dbd48c4519acd7434f9bfcafb
12908 Author: Peng Huang <shawn.p.huang@gmail.com>
12909 Date: 2010-03-23 19:15:39 +0800
12910
12911 Trace 'a', 'e', 'o' as PINYIN_ID_ZERO in double pinyin
12912
12913 M src/DoublePinyinEditor.cc
12914 M src/DoublePinyinTable.h
12915
12916 commit edde50a74d387c0b4301e8e4f6f11fb05db9f3d8
12917 Author: Peng Huang <shawn.p.huang@gmail.com>
12918 Date: 2010-03-23 17:14:19 +0800
12919
12920 make build output looks better
12921
12922 M data/db/android/Makefile.am
12923 M src/Makefile.am
12924
12925 commit f7762c5207535c21d6f5c83bef8436653c7d0f56
12926 Author: Peng Huang <shawn.p.huang@gmail.com>
12927 Date: 2010-03-22 21:16:27 +0800
12928
12929 Use AM_SILENT_RULES
12930
12931 M configure.ac
12932
12933 commit 71812a3b94c86340f1fedbb08a3ecf84b2daae5e
12934 Author: Peng Huang <shawn.p.huang@gmail.com>
12935 Date: 2010-03-22 17:00:31 +0800
12936
12937 Add a new logic to generate the first candidate
12938
12939 M src/PhraseEditor.cc
12940
12941 commit 48d6d17217165a1858d53d4fe97054045f845b15
12942 Author: Peng Huang <shawn.p.huang@gmail.com>
12943 Date: 2010-03-22 15:09:07 +0800
12944
12945 Avoid pinyin > MAX_PHRASE_LEN
12946
12947 M src/DoublePinyinEditor.cc
12948
12949 commit 5ec3728d4479634f07bf9484ce08e0c063d8bf3f
12950 Author: Peng Huang <shawn.p.huang@gmail.com>
12951 Date: 2010-03-22 15:05:37 +0800
12952
12953 Adjust functions' order
12954
12955 M src/DoublePinyinEditor.cc
12956
12957 commit 910ffd54303ebcc1c2957cc06aa8bd106be34141
12958 Author: Peng Huang <shawn.p.huang@gmail.com>
12959 Date: 2010-03-22 14:37:29 +0800
12960
12961 Refactory double pinyin to make code simplier
12962
12963 M src/Array.h
12964 M src/DoublePinyinEditor.cc
12965 M src/DoublePinyinEditor.h
12966
12967 commit 9d297615b72eb2441f5cdcaa560b21d8ba314fa3
12968 Author: Peng Huang <shawn.p.huang@gmail.com>
12969 Date: 2010-03-17 04:37:28 +0800
12970
12971 Put the setup dialog in center of screen
12972
12973 M setup/ibus-pinyin-preferences.ui
12974
12975 commit f64aee5b081c37cad3c04dae616f5680b1e54aeb
12976 Author: Peng Huang <shawn.p.huang@gmail.com>
12977 Date: 2010-03-18 12:22:53 +0800
12978
12979 Fix bug in double pinyin
12980
12981 M src/DoublePinyinEditor.cc
12982
12983 commit 9f28f25476175252d1a74db667acfc2fef0c9bc7
12984 Author: Peng Huang <shawn.p.huang@gmail.com>
12985 Date: 2010-03-18 12:16:09 +0800
12986
12987 Fix auto commit problem in double pinyin
12988
12989 M src/DoublePinyinEditor.cc
12990
12991 commit f88af11c2dba110350a4b8c794c2754c57c6d953
12992 Author: Peng Huang <shawn.p.huang@gmail.com>
12993 Date: 2010-03-18 10:50:16 +0800
12994
12995 Refine the macro
12996
12997 M src/DoublePinyinEditor.cc
12998
12999 commit 50124cb3085c75a50b602cb5738db8f9bc2e11af
13000 Author: Peng Huang <shawn.p.huang@gmail.com>
13001 Date: 2010-03-18 10:44:32 +0800
13002
13003 Use macro to replace inline function
13004
13005 M src/DoublePinyinEditor.cc
13006
13007 commit f4bf29f7c41edb63ba2687342b763f8b3b90256e
13008 Author: Peng Huang <shawn.p.huang@gmail.com>
13009 Date: 2010-03-16 04:54:45 +0800
13010
13011 Ignore puncts in double pinyin
13012
13013 M src/DoublePinyinEditor.cc
13014
13015 commit 9222a2be0bec112eaa0f37b544408380d17f5b78
13016 Author: Peng Huang <shawn.p.huang@gmail.com>
13017 Date: 2010-03-16 04:08:48 +0800
13018
13019 Limit pinyin <= MAX_PHRASE_LEN in double pinyin
13020
13021 M src/DoublePinyinEditor.cc
13022
13023 commit 0f184b6073c28275c967727bf1abf3e8d52b488d
13024 Author: Peng Huang <shawn.p.huang@gmail.com>
13025 Date: 2010-03-17 19:33:08 +0800
13026
13027 Ignore all chars if preedit is too long.
13028
13029 M src/DoublePinyinEditor.cc
13030 M src/FullPinyinEditor.cc
13031
13032 commit 7ca770df020c57febc9dfa23184c2de47532fac8
13033 Author: Peng Huang <shawn.p.huang@gmail.com>
13034 Date: 2010-03-17 19:28:52 +0800
13035
13036 Fix bug in double pinyin
13037
13038 M src/DoublePinyinEditor.cc
13039 M src/DoublePinyinEditor.h
13040 M src/PinyinEditor.cc
13041
13042 commit 84fe2739b3d5197731038cc95e65f8c771953335
13043 Author: Peng Huang <shawn.p.huang@gmail.com>
13044 Date: 2010-03-16 10:13:37 +0800
13045
13046 Display correct version in setup ui
13047
13048 M configure.ac
13049 M po/POTFILES.in
13050 M po/ibus-pinyin.pot
13051 M po/ru.po
13052 M po/zh_CN.po
13053 M setup/Makefile.am
13054 M setup/ibus-pinyin-preferences.ui
13055 M setup/main.py
13056 A setup/version.py.in
13057
13058 commit f1673ae973bcb1375c233b8b8551fd256d5b0f2d
13059 Author: Peng Huang <shawn.p.huang@gmail.com>
13060 Date: 2010-03-16 10:00:44 +0800
13061
13062 Add a spece between pinyin and non-pinyin in aux text
13063
13064 M src/PinyinEditor.cc
13065
13066 commit 098ffd9a2881b27af60ccec1c21879a83f544074
13067 Author: Peng Huang <shawn.p.huang@gmail.com>
13068 Date: 2010-03-16 09:56:34 +0800
13069
13070 Unify coding style
13071
13072 M src/DoublePinyinEditor.cc
13073
13074 commit 72e1d4d6bc20f7470dd8db05397ddf914660765f
13075 Author: Peng Huang <shawn.p.huang@gmail.com>
13076 Date: 2010-03-16 09:54:26 +0800
13077
13078 Fix bug when move cursor left with double pinyin
13079
13080 M src/DoublePinyinEditor.cc
13081
13082 commit 5e68579df521289278dfb30957de3e2f8856ccfe
13083 Author: Peng Huang <shawn.p.huang@gmail.com>
13084 Date: 2010-03-15 18:34:24 +0800
13085
13086 Make incomplete pinyin configurable with double pinyin
13087
13088 M setup/main.py
13089
13090 commit 9fab244066a91f3b8ab5f14a03cf89510cd7dc35
13091 Author: Peng Huang <shawn.p.huang@gmail.com>
13092 Date: 2010-03-15 18:22:10 +0800
13093
13094 Update preedit text in DoublePinyin
13095
13096 M src/DoublePinyinEditor.cc
13097
13098 commit 6b34c5989e5dd385011d2907f46730d7773d22b4
13099 Author: Peng Huang <shawn.p.huang@gmail.com>
13100 Date: 2010-03-15 13:07:39 +0800
13101
13102 Implement Double PinYin
13103
13104 M src/DoublePinyinEditor.cc
13105 M src/DoublePinyinEditor.h
13106 M src/PinyinEditor.h
13107
13108 commit 144f1424a3a9c7825e88932949a10158b969e73d
13109 Author: Peng Huang <shawn.p.huang@gmail.com>
13110 Date: 2010-03-15 11:25:05 +0800
13111
13112 Store last commit text
13113
13114 M src/PinyinEngine.cc
13115 M src/PinyinEngine.h
13116 M src/Text.h
13117
13118 commit 07cc0da14d42bd1544617e7af961242c0932da16
13119 Author: Peng Huang <shawn.p.huang@gmail.com>
13120 Date: 2010-03-10 15:54:24 +0800
13121
13122 Auto swith mode when user press www. http: xxx@
13123
13124 M src/Editor.cc
13125 M src/Editor.h
13126 M src/Makefile.am
13127 M src/PinyinEditor.cc
13128 M src/PinyinEngine.cc
13129 M src/PinyinEngine.h
13130 M src/Pointer.h
13131
13132 commit b8d4fa27411735b1889f111ab82d959a6804acb5
13133 Author: Peng Huang <shawn.p.huang@gmail.com>
13134 Date: 2010-03-08 17:49:55 +0800
13135
13136 Update SimpTradConverterTable.h from wikipedia
13137
13138 M src/SimpTradConverterTable.h
13139
13140 commit 78346c5a993222f50239c5d9bd28e7b363a7c429
13141 Author: Peng Huang <shawn.p.huang@gmail.com>
13142 Date: 2010-03-08 17:48:00 +0800
13143
13144 Fix bug in toHalf
13145
13146 M src/HalfFullConverter.cc
13147
13148 commit 3997433c29479bf41380fc9d94800801a2ab1241
13149 Author: Peng Huang <shawn.p.huang@gmail.com>
13150 Date: 2010-03-08 13:43:59 +0800
13151
13152 Remove some unused variables.
13153
13154 M src/PinyinEngine.cc
13155 M src/PinyinEngine.h
13156
13157 commit cf35e158e2ff2ce862bd54101bf616bb63fb29f2
13158 Author: Peng Huang <shawn.p.huang@gmail.com>
13159 Date: 2010-03-08 12:06:13 +0800
13160
13161 Fix problem in FallbackEditor.
13162
13163 M src/FallbackEditor.cc
13164
13165 commit 6fa5284c44abff5fb4ddb193db9069e5585faca8
13166 Author: Peng Huang <shawn.p.huang@gmail.com>
13167 Date: 2010-03-08 12:06:02 +0800
13168
13169 Add G_DEBUG env in make test
13170
13171 M src/Makefile.am
13172
13173 commit 928073165da6d9cc55ee8728912bb56c9141f008
13174 Author: Peng Huang <shawn.p.huang@gmail.com>
13175 Date: 2010-03-02 14:03:28 +0800
13176
13177 Process other keys on KeyPad
13178
13179 M src/FallbackEditor.cc
13180
13181 commit 5c2708b82fe9bab7740c707036e77d991adb9bf3
13182 Author: Peng Huang <shawn.p.huang@gmail.com>
13183 Date: 2010-03-02 13:47:23 +0800
13184
13185 Process IBUS_KP_0 ... IBUS_KP_9 as IBUS_0 ... IBUS_9
13186
13187 M src/FallbackEditor.cc
13188
13189 commit 981760a963ca82a3cd9fde77a303e4745e3e293b
13190 Author: Peng Huang <shawn.p.huang@gmail.com>
13191 Date: 2010-02-13 17:11:41 +0800
13192
13193 Fix comment
13194
13195 M src/PinyinEngine.cc
13196
13197 commit d8329f5a207efaa020eaa484fd9ec56b7ed75ce2
13198 Author: Peng Huang <shawn.p.huang@gmail.com>
13199 Date: 2010-02-12 23:49:01 +0800
13200
13201 Add ExtEditor.cc
13202
13203 A src/ExtEditor.cc
13204 M src/ExtEditor.h
13205 M src/Makefile.am
13206
13207 commit 16c742c8193da82959077dc743a965ca3008d5b0
13208 Author: Peng Huang <shawn.p.huang@gmail.com>
13209 Date: 2010-02-12 17:21:22 +0800
13210
13211 Fix typo in comment
13212
13213 M src/PinyinEngine.cc
13214
13215 commit 9f4d0fcbe34d9f0c3d8f2aadd117974b36174030
13216 Author: Peng Huang <shawn.p.huang@gmail.com>
13217 Date: 2010-02-12 17:07:00 +0800
13218
13219 Add some comments
13220
13221 M src/PinyinEngine.cc
13222
13223 commit 3c1b478b282d796639deb210c97a2b495d029f70
13224 Author: Peng Huang <shawn.p.huang@gmail.com>
13225 Date: 2010-02-12 16:41:50 +0800
13226
13227 Add ExtEditor.h
13228
13229 A src/ExtEditor.h
13230 M src/Makefile.am
13231 M src/PinyinEngine.cc
13232 M src/PinyinEngine.h
13233
13234 commit d558a8e641d15d88805ababdd3e8d571233d8ee4
13235 Author: Peng Huang <shawn.p.huang@gmail.com>
13236 Date: 2010-02-12 15:15:40 +0800
13237
13238 Fix chinese mode issues.
13239
13240 M src/PinyinEngine.cc
13241
13242 commit 64182077becb35474b9c75bc56991370a987e955
13243 Author: Peng Huang <shawn.p.huang@gmail.com>
13244 Date: 2010-02-11 14:12:09 +0800
13245
13246 Fix problem of auto commit
13247
13248 M src/PinyinEditor.cc
13249
13250 commit 1e3f4faf7a1df27006ce5a52bf0c783c0e1706f0
13251 Author: Peng Huang <shawn.p.huang@gmail.com>
13252 Date: 2010-02-11 13:34:41 +0800
13253
13254 Clean up code
13255
13256 M src/PinyinEditor.cc
13257 M src/PinyinEngine.h
13258
13259 commit 4ea6d5cc18adf9b76059589d7c0265c117e7a8e0
13260 Author: Peng Huang <shawn.p.huang@gmail.com>
13261 Date: 2010-02-11 13:10:09 +0800
13262
13263 Handle some punct keys
13264
13265 M src/PinyinEditor.cc
13266
13267 commit 4b2cc678eec06c9da0a5a185100f919557bfc2ae
13268 Author: Peng Huang <shawn.p.huang@gmail.com>
13269 Date: 2010-02-11 12:50:17 +0800
13270
13271 Do not pass Release key event to editors.
13272
13273 M src/DoublePinyinEditor.cc
13274 M src/Editor.cc
13275 M src/FallbackEditor.cc
13276 M src/PinyinEditor.cc
13277 M src/PinyinEngine.cc
13278 M src/PinyinEngine.h
13279
13280 commit 30a249a7c58ffe379c02d0c4057dd5ac7d164c2b
13281 Author: Peng Huang <shawn.p.huang@gmail.com>
13282 Date: 2010-02-11 12:32:30 +0800
13283
13284 Add FallbackEditor
13285
13286 A src/FallbackEditor.cc
13287 A src/FallbackEditor.h
13288 M src/Makefile.am
13289 M src/PinyinEngine.cc
13290 M src/PinyinEngine.h
13291
13292 commit 50ef4dce7f948d13fb9dc46396bc414017738c48
13293 Author: Peng Huang <shawn.p.huang@gmail.com>
13294 Date: 2010-02-10 14:25:38 +0800
13295
13296 Update po files.
13297
13298 M po/ibus-pinyin.pot
13299 M po/ru.po
13300 M po/zh_CN.po
13301
13302 commit 96fcc6938e31a0f4bbe19f0f8ebe8fa84bb64006
13303 Author: Peng Huang <shawn.p.huang@gmail.com>
13304 Date: 2010-02-10 14:23:12 +0800
13305
13306 Update POTFILES.in
13307
13308 M po/POTFILES.in
13309
13310 commit 200aed6bb7a53d76cabe4559dfc43bf0005fdda3
13311 Author: Peng Huang <shawn.p.huang@gmail.com>
13312 Date: 2010-02-10 14:13:36 +0800
13313
13314 Show auxiliary text correctly.
13315
13316 M src/PinyinEditor.cc
13317
13318 commit c4e6359b3f46c125d5e7d65428cbdfe8be2d3683
13319 Author: Peng Huang <shawn.p.huang@gmail.com>
13320 Date: 2010-02-10 13:40:34 +0800
13321
13322 Update SimpTradConverterTable from wikipedia
13323
13324 M src/SimpTradConverterTable.h
13325
13326 commit dc4b853b45f05ba7c5da721538da5cc1495a340b
13327 Author: Peng Huang <shawn.p.huang@gmail.com>
13328 Date: 2010-02-10 13:32:53 +0800
13329
13330 Handle ';' in DoublePinyinEditor.
13331
13332 M src/DoublePinyinEditor.cc
13333 M src/DoublePinyinEditor.h
13334 M src/FullPinyinEditor.cc
13335
13336 commit 0e7dcb67c0762883c0976650e536e4748a580fd4
13337 Author: Peng Huang <shawn.p.huang@gmail.com>
13338 Date: 2010-02-10 13:11:42 +0800
13339
13340 Remove some unused code.
13341
13342 M src/PinyinEngine.h
13343
13344 commit 67ec52a9391bc31840f12eb29cdb1829997c33f0
13345 Author: Peng Huang <shawn.p.huang@gmail.com>
13346 Date: 2010-02-10 12:58:40 +0800
13347
13348 Add wordlist
13349
13350 A data/wordlist
13351
13352 commit 6db692b129f7648371cbcf427a19dc7b153064e6
13353 Author: Peng Huang <shawn.p.huang@gmail.com>
13354 Date: 2010-02-10 12:55:28 +0800
13355
13356 Move _() to PinyinProperties.cc
13357
13358 M src/PinyinProperties.cc
13359 M src/PinyinProperties.h
13360
13361 commit 86681649085508eebbce4d2a39d29a061fa99523
13362 Author: Peng Huang <shawn.p.huang@gmail.com>
13363 Date: 2010-02-10 12:53:37 +0800
13364
13365 Implement candidateClicked method
13366
13367 M src/Editor.cc
13368 M src/Editor.h
13369 M src/PinyinEditor.cc
13370 M src/PinyinEditor.h
13371 M src/PinyinEngine.cc
13372
13373 commit a6ec9cf51f8ddcf3f295ebe8f74b1c3a53248fae
13374 Author: Peng Huang <shawn.p.huang@gmail.com>
13375 Date: 2010-02-07 13:25:35 +0800
13376
13377 Refactory classes, and use sigc++ to make code clear.
13378
13379 M configure.ac
13380 M src/DoublePinyinEditor.cc
13381 M src/DoublePinyinEditor.h
13382 A src/Editor.cc
13383 A src/Editor.h
13384 M src/FullPinyinEditor.cc
13385 M src/FullPinyinEditor.h
13386 M src/Makefile.am
13387 M src/PhraseEditor.cc
13388 M src/PhraseEditor.h
13389 M src/PinyinArray.h
13390 M src/PinyinEditor.cc
13391 M src/PinyinEditor.h
13392 M src/PinyinEngine.cc
13393 M src/PinyinEngine.h
13394 A src/PinyinProperties.cc
13395 A src/PinyinProperties.h
13396 M src/RawEditor.h
13397 M src/Text.h
13398
13399 commit efa0c8f199b0e058b3cc5f88f0d6e20c382570b3
13400 Author: Peng Huang <shawn.p.huang@gmail.com>
13401 Date: 2010-02-02 10:01:19 +0800
13402
13403 Fix problem when use '0' to select 10th candidate
13404
13405 M src/PinyinEngine.cc
13406
13407 commit 9db3894d2b02e0e7e28955bf8564dcf5e1240624
13408 Author: Peng Huang <shawn.p.huang@gmail.com>
13409 Date: 2010-01-26 21:27:16 +0800
13410
13411 Exit if can not connect to ibus
13412
13413 M src/Bus.h
13414 M src/Main.cc
13415
13416 commit 7c8dc0f92d59d0657b4edf42c03410e81bc1a8cd
13417 Author: Peng Huang <shawn.p.huang@gmail.com>
13418 Date: 2010-01-19 13:22:03 +0800
13419
13420 Add local.db
13421
13422 M src/Database.cc
13423
13424 commit d43b51fcf3ff9f9d4f0b95db10f242018b3e1bc7
13425 Author: Peng Huang <shawn.p.huang@gmail.com>
13426 Date: 2010-01-18 16:41:22 +0800
13427
13428 Remove SIMP_TO_TRAD_NR
13429
13430 M src/SimpTradConverter.cc
13431 M src/SimpTradConverterTable.h
13432 M src/update-simptrad-table.py
13433
13434 commit 2adb75fd7849d94019a36a13fbd3196ff707aea3
13435 Author: Peng Huang <shawn.p.huang@gmail.com>
13436 Date: 2010-01-18 16:39:58 +0800
13437
13438 Fix genpytable.py
13439
13440 M scripts/genpytable.py
13441 M src/PinyinParser.cc
13442 M src/PinyinParserTable.h
13443
13444 commit 56518df0f50db706a9331b04c1b866c7de0fd814
13445 Author: Peng Huang <shawn.p.huang@gmail.com>
13446 Date: 2010-01-18 16:24:02 +0800
13447
13448 Fix fuzzy and auto correct problem with 'rve rue'
13449
13450 M scripts/genpytable.py
13451 M src/PinyinParser.cc
13452 M src/PinyinParserTable.h
13453
13454 commit ea33ab8c6312d9cad4f371b61e276cb82ac8bf3d
13455 Author: Peng Huang <shawn.p.huang@gmail.com>
13456 Date: 2010-01-18 16:22:25 +0800
13457
13458 Add option auto correct "ue -> ve"
13459
13460 M setup/ibus-pinyin-preferences.ui
13461 M setup/main.py
13462
13463 commit 9c2e615dd98273c4344e93bb9058a79eb224daea
13464 Author: Peng Huang <shawn.p.huang@gmail.com>
13465 Date: 2010-01-18 16:08:57 +0800
13466
13467 Fix a typo.
13468
13469 M src/Config.cc
13470
13471 commit 722857195c111dbe41dc240747e73720999d5017
13472 Author: Peng Huang <shawn.p.huang@gmail.com>
13473 Date: 2010-01-18 14:50:21 +0800
13474
13475 Use lve, nve to replace lue, nue
13476
13477 M scripts/genpytable.py
13478 M scripts/pydict.py
13479 M src/Config.cc
13480 M src/PinyinParserTable.h
13481 M src/Types.h
13482
13483 commit abf357f7fb4db64b0487ebd1e1fff83670d27a16
13484 Author: Peng Huang <shawn.p.huang@gmail.com>
13485 Date: 2010-01-18 13:11:56 +0800
13486
13487 Update SimpTradConverterTable.h
13488
13489 M src/SimpTradConverterTable.h
13490
13491 commit 742bd5e1c74a19bf89b3bb9965dbd95d5a202e5f
13492 Author: Peng Huang <shawn.p.huang@gmail.com>
13493 Date: 2010-01-13 13:19:33 +0800
13494
13495 Add intltool in rpm spec file.
13496
13497 M ibus-pinyin.spec.in
13498
13499 commit e8e197527ba0271f9fc440c60253a904c8006bd6
13500 Author: Peng Huang <shawn.p.huang@gmail.com>
13501 Date: 2010-01-04 10:01:03 +0800
13502
13503 Open user db in EXCLUSIVE mode.
13504
13505 M src/Database.cc
13506
13507 commit d2f9f35a38c313449a2a1d40ea082d6b7a1f03b6
13508 Author: Peng Huang <shawn.p.huang@gmail.com>
13509 Date: 2010-01-04 09:38:33 +0800
13510
13511 Use PERSIST journal mode for better performance.
13512
13513 M src/Database.cc
13514
13515 commit 0168e6e8d18455557e3412aef86f1d74cd643e9d
13516 Author: Peng Huang <shawn.p.huang@gmail.com>
13517 Date: 2010-01-04 09:33:52 +0800
13518
13519 Remove some duplicate code.
13520
13521 M src/Database.cc
13522
13523 commit 5255574afea895f997c0c2dcca69826cb311c4cd
13524 Author: Peng Huang <shawn.p.huang@gmail.com>
13525 Date: 2010-01-04 08:27:42 +0800
13526
13527 Remove unused code.
13528
13529 M src/Database.h
13530
13531 commit 1d75209df049d6440d231ea400012a4b3b37f162
13532 Author: Peng Huang <shawn.p.huang@gmail.com>
13533 Date: 2010-01-04 08:25:41 +0800
13534
13535 Optimize sqlite for better performance.
13536
13537 M src/Database.cc
13538
13539 commit 209e5a877991fd8e2c31b51dfd6a155df08da208
13540 Merge: ee861c1 8a49985
13541 Author: Peng Huang <shawn.p.huang@gmail.com>
13542 Date: 2010-01-01 19:20:05 +0800
13543
13544 Merge branch 'stl'
13545
13546 commit ee861c1028911ab2bee572dd27dfab8d6408604f
13547 Author: Peng Huang <shawn.p.huang@gmail.com>
13548 Date: 2010-01-01 19:18:22 +0800
13549
13550 Ignore number key if with some modifiers.
13551
13552 M src/PinyinEngine.cc
13553
13554 commit 8a49985b01eb5d4a0c9dc6d4d0b94046ebb4db1d
13555 Author: Peng Huang <shawn.p.huang@gmail.com>
13556 Date: 2009-12-31 14:20:49 +0800
13557
13558 Use *_LDADD replace *_LDFLAGS
13559
13560 M src/Makefile.am
13561
13562 commit c65c97a970ad103389c757e4752b9988c03891dd
13563 Author: Peng Huang <shawn.p.huang@gmail.com>
13564 Date: 2009-12-29 15:34:13 +0800
13565
13566 Fix appendUnicode problem.
13567
13568 M src/String.h
13569
13570 commit 88df593befb03975149ddeea4a548b36e84d8c18
13571 Author: Peng Huang <shawn.p.huang@gmail.com>
13572 Date: 2009-12-29 15:22:55 +0800
13573
13574 Remvoe set method of PinyinSegment
13575
13576 M src/PinyinArray.h
13577 M src/PinyinParser.cc
13578
13579 commit 151dc92a5abf86addc6457b2a955104820228968
13580 Author: Peng Huang <shawn.p.huang@gmail.com>
13581 Date: 2009-12-29 15:20:12 +0800
13582
13583 Refine code.
13584
13585 M src/PinyinArray.h
13586
13587 commit 01834cf05d5a58a3e0e90292de7da26840e08b7e
13588 Author: Peng Huang <shawn.p.huang@gmail.com>
13589 Date: 2009-12-29 14:06:34 +0800
13590
13591 Fix coding style problem
13592
13593 M src/String.h
13594
13595 commit ed6dae4ecd54c6c3d13e3d90d1e6258b2e3b6e4a
13596 Author: Peng Huang <shawn.p.huang@gmail.com>
13597 Date: 2009-12-29 13:46:58 +0800
13598
13599 Remove some unused code.
13600
13601 M src/Array.h
13602
13603 commit d7546ce273582eb2d349488e6dccac0fbeed888b
13604 Author: Peng Huang <shawn.p.huang@gmail.com>
13605 Date: 2009-12-29 13:46:20 +0800
13606
13607 Remove some unused code.
13608
13609 M src/PinyinParser.cc
13610 M src/WideString.h
13611
13612 commit e4eb144538957ce5fc5e0291838e152898985243
13613 Author: Peng Huang <shawn.p.huang@gmail.com>
13614 Date: 2009-12-29 13:36:40 +0800
13615
13616 Remove some unused code.
13617
13618 M src/Array.h
13619
13620 commit 66f093415d482a94243d0cca3f17168b749cf04a
13621 Author: Peng Huang <shawn.p.huang@gmail.com>
13622 Date: 2009-12-29 13:34:22 +0800
13623
13624 Replace GArray with std::vector
13625
13626 M src/Array.h
13627 M src/Database.cc
13628 M src/FullPinyinEditor.cc
13629 M src/PhraseEditor.cc
13630 M src/PinyinArray.h
13631 M src/PinyinEngine.cc
13632
13633 commit 8aecb7ba7a5470691599994847e1175bf65f1710
13634 Author: Peng Huang <shawn.p.huang@gmail.com>
13635 Date: 2009-12-29 10:10:48 +0800
13636
13637 Remove unused code.
13638
13639 M src/String.h
13640
13641 commit 665e60b1c8efc84148fd76beeb28762ef066a048
13642 Author: Peng Huang <shawn.p.huang@gmail.com>
13643 Date: 2009-12-29 09:51:01 +0800
13644
13645 Reserve for String
13646
13647 M src/String.h
13648
13649 commit 5515a1fd092a80abba2ba81d6e4aa8fd214563f8
13650 Author: Peng Huang <shawn.p.huang@gmail.com>
13651 Date: 2009-12-28 21:23:17 +0800
13652
13653 Implement Env util class
13654
13655 M src/Database.cc
13656 M src/Util.h
13657
13658 commit ccf8268c2e532dd89c19ad3dd6b92aef562c1e66
13659 Author: Peng Huang <shawn.p.huang@gmail.com>
13660 Date: 2009-12-28 21:22:51 +0800
13661
13662 Reimplement operator<< (const gunichar *wstr)
13663
13664 M src/String.h
13665
13666 commit 5ddd4d2ce16ddd812762db37bd13907c0ed7b604
13667 Author: Peng Huang <shawn.p.huang@gmail.com>
13668 Date: 2009-12-28 18:12:00 +0800
13669
13670 Replase GString with std::string
13671
13672 M src/Database.cc
13673 M src/Database.h
13674 M src/String.h
13675
13676 commit 42dcb9d9848eb180fc9a19a533084025681e32bf
13677 Author: Peng Huang <shawn.p.huang@gmail.com>
13678 Date: 2009-12-28 17:06:26 +0800
13679
13680 Use STL to replace some class in Database
13681
13682 M src/Database.cc
13683 M src/Database.h
13684 M src/PhraseEditor.h
13685
13686 commit 001c65de561863bf73fc1a34092d437bfe897d15
13687 Author: Peng Huang <shawn.p.huang@gmail.com>
13688 Date: 2010-01-01 19:09:26 +0800
13689
13690 Overide operator-> of Prointer
13691
13692 M src/Pointer.h
13693
13694 commit fa82e9bdf2dfc8406b4309a0617efd4bb7f85774
13695 Author: Peng Huang <shawn.p.huang@gmail.com>
13696 Date: 2009-12-28 14:30:37 +0800
13697
13698 Add Some source files.
13699
13700 A src/CustomPhrase.cc
13701 A src/CustomPhrase.h
13702 A src/HashTable.h
13703 M src/Makefile.am
13704
13705 commit 4728ea9371fd8db91d971f1bfaf404c0437081c2
13706 Author: Peng Huang <shawn.p.huang@gmail.com>
13707 Date: 2009-12-13 08:35:10 +0800
13708
13709 Create databases' indexes in build time.
13710
13711 M ibus-pinyin.spec.in
13712
13713 commit 34a762ae03bf4840f98aed803ca71ad870072ca4
13714 Author: Peng Huang <shawn.p.huang@gmail.com>
13715 Date: 2009-12-08 16:07:07 +0800
13716
13717 Fix make distcheck errors.
13718
13719 A po/POTFILES.skip
13720
13721 commit e738d2c6534ff31601b2d7abca550155fa214c8b
13722 Author: Peng Huang <shawn.p.huang@gmail.com>
13723 Date: 2009-12-08 14:05:59 +0800
13724
13725 Remove some unused code.
13726
13727 M src/Engine.cc
13728
13729 commit 615fffda8783d711532e9a348e078567e0d37c01
13730 Author: Peng Huang <shawn.p.huang@gmail.com>
13731 Date: 2009-11-30 08:38:01 +0800
13732
13733 Fix numpad problem.
13734
13735 M src/PinyinEngine.cc
13736
13737 commit df3078be38802ab9a97272fc3a735f8c942ff9c5
13738 Author: Peng Huang <shawn.p.huang@gmail.com>
13739 Date: 2009-10-28 13:03:14 +0800
13740
13741 WIP.
13742
13743 M src/FullPinyinEditor.cc
13744 M src/PinyinEditor.cc
13745 M src/PinyinEditor.h
13746 M src/PinyinEngine.cc
13747
13748 commit 445ad900614e3357effa765fe868670ad7dd437d
13749 Author: Peng Huang <shawn.p.huang@gmail.com>
13750 Date: 2009-10-28 11:48:56 +0800
13751
13752 Add new constructors.
13753
13754 M src/Array.h
13755 M src/String.h
13756
13757 commit 9b9cd44eb4a3fe4d5e0b2b96ff221e9cc4255c68
13758 Author: Peng Huang <shawn.p.huang@gmail.com>
13759 Date: 2009-10-18 11:58:06 +0800
13760
13761 Add RawEditor.h
13762
13763 M src/Makefile.am
13764 M src/PinyinEngine.cc
13765 M src/PinyinEngine.h
13766 A src/RawEditor.h
13767
13768 commit b7b1c191e0431859370a71b8be713dd9616b7e29
13769 Merge: ee65708 5bc41f0
13770 Author: Peng Huang <shawn.p.huang@gmail.com>
13771 Date: 2009-10-16 14:08:06 +0800
13772
13773 Merge branch 'master' of github.com:phuang/ibus-pinyin
13774
13775 commit 5bc41f03f51755020b26a76881aa88fdf5b1d9dc
13776 Author: Peng Huang <shawn.p.huang@gmail.com>
13777 Date: 2009-10-14 14:30:27 +0800
13778
13779 Update ru.po from Alexey Kotlyarov
13780
13781 M po/ru.po
13782
13783 commit ee6570805dc8dca0c29ade184fb3192095e34280
13784 Merge: 987f18c 6f15555
13785 Author: Peng Huang <shawn.p.huang@gmail.com>
13786 Date: 2009-10-13 08:39:42 +0800
13787
13788 Merge branch 'master' of github.com:phuang/ibus-pinyin
13789
13790 commit 6f1555521ec77221492ef8e2e41be62d8f9349e3
13791 Author: Peng Huang <shawn.p.huang@gmail.com>
13792 Date: 2009-10-13 08:34:00 +0800
13793
13794 Update po files.
13795
13796 M po/ibus-pinyin.pot
13797 M po/ru.po
13798 M po/zh_CN.po
13799
13800 commit f7bc5d6e04aaddb25974dd54118386104b740929
13801 Author: Peng Huang <shawn.p.huang@gmail.com>
13802 Date: 2009-10-13 08:32:08 +0800
13803
13804 Add ru.po from koterpillar
13805
13806 M AUTHORS
13807 M po/LINGUAS
13808 A po/ru.po
13809
13810 commit 987f18cb2223057084e7867e931861b834f92eea
13811 Author: Peng Huang <shawn.p.huang@gmail.com>
13812 Date: 2009-10-12 09:02:11 +0800
13813
13814 Add Regex.h in Makefile.am
13815
13816 M src/Makefile.am
13817
13818 commit 543a8eac21b9d5322f74362f09fe93c979121477
13819 Author: Peng Huang <shawn.p.huang@gmail.com>
13820 Date: 2009-10-12 06:20:45 +0800
13821
13822 Add Regex.h
13823
13824 M src/FullPinyinEditor.cc
13825 M src/PinyinEditor.cc
13826 M src/PinyinEditor.h
13827 A src/Regex.h
13828
13829 commit aa521b442eb37158c55ea361eeb7272575bbbd87
13830 Author: Peng Huang <shawn.p.huang@gmail.com>
13831 Date: 2009-10-11 19:16:34 +0800
13832
13833 Add some methods define
13834
13835 M src/PinyinEngine.cc
13836 M src/PinyinEngine.h
13837
13838 commit aa091d372671bb95fe2faf336630df0a332ada56
13839 Author: Peng Huang <shawn.p.huang@gmail.com>
13840 Date: 2009-10-11 19:13:13 +0800
13841
13842 Add some comments
13843
13844 M src/PinyinEngine.h
13845
13846 commit b1a7b427774f6682eb4f9b0165d3bcdc90468c91
13847 Author: Peng Huang <shawn.p.huang@gmail.com>
13848 Date: 2009-10-11 19:11:23 +0800
13849
13850 Define several input modes
13851
13852 M src/PinyinEngine.cc
13853 M src/PinyinEngine.h
13854
13855 commit 5c976eb12117b83d4b66b126f7f4f67efee00e3b
13856 Author: Peng Huang <shawn.p.huang@gmail.com>
13857 Date: 2009-10-11 16:46:24 +0800
13858
13859 Add m_prev_pressed_key_result to trace last pressed key result
13860
13861 M src/PinyinEngine.cc
13862 M src/PinyinEngine.h
13863
13864 commit 9e0cb3d79dcbed222f206f015b6186f93c17e1c0
13865 Author: Peng Huang <shawn.p.huang@gmail.com>
13866 Date: 2009-10-11 15:52:04 +0800
13867
13868 Fix problem click number key, and number greater than current page size.
13869
13870 M src/PinyinEngine.cc
13871
13872 commit 46cecc7c264af982b0fee9e59398965fb6cee117
13873 Author: Peng Huang <shawn.p.huang@gmail.com>
13874 Date: 2009-10-11 15:31:32 +0800
13875
13876 Update header of zh_CN.po
13877
13878 M po/zh_CN.po
13879
13880 commit e035410d2a8f92101feeedff56f70c5e91a5cffc
13881 Author: Peng Huang <shawn.p.huang@gmail.com>
13882 Date: 2009-10-10 16:13:28 +0800
13883
13884 Use ibus-setup icon
13885
13886 M src/Main.cc
13887 M src/PinyinEngine.cc
13888
13889 commit 560a2b3d108aa91fc4c86bd219937abaec9314ac
13890 Author: Peng Huang <shawn.p.huang@gmail.com>
13891 Date: 2009-10-10 13:58:47 +0800
13892
13893 Refine autogen.sh
13894
13895 M autogen.sh
13896
13897 commit 30f49d24befdaa71dc6225407c8fdcc86b6c5680
13898 Author: Peng Huang <shawn.p.huang@gmail.com>
13899 Date: 2009-10-10 10:39:32 +0800
13900
13901 WIP.
13902
13903 M .gitignore
13904 M po/.gitignore
13905 M src/main.db
13906
13907 commit 0d8ba7a632e07464d9a73d38823c19991ae11aff
13908 Author: Peng Huang <shawn.p.huang@gmail.com>
13909 Date: 2009-10-10 10:36:37 +0800
13910
13911 Add BR libuuid-devel
13912
13913 M ibus-pinyin.spec.in
13914
13915 commit 764f98a14c972f6fedbd656097d308c31879668e
13916 Author: Peng Huang <shawn.p.huang@gmail.com>
13917 Date: 2009-10-10 07:50:53 +0800
13918
13919 Use XDG cache dir for database
13920
13921 M src/Database.cc
13922
13923 commit ffe7331c5a67eb51d0225f94bb7ba8133c060213
13924 Author: Peng Huang <shawn.p.huang@gmail.com>
13925 Date: 2009-10-10 07:30:08 +0800
13926
13927 Change database dir to ~/.config/ibus/pinyin
13928
13929 M src/Database.cc
13930
13931 commit c407e80f90182c09914639681de968abf01c8be6
13932 Author: Peng Huang <shawn.p.huang@gmail.com>
13933 Date: 2009-10-10 07:10:42 +0800
13934
13935 Change gtk version of ui file.
13936
13937 M setup/ibus-pinyin-preferences.ui
13938
13939 commit 8b3a7e9dbfa097c594cc31c55c04ab72661ef033
13940 Author: Peng Huang <shawn.p.huang@gmail.com>
13941 Date: 2009-10-10 07:07:11 +0800
13942
13943 Use gnome-autogen and update zh_CN.po
13944
13945 M autogen.sh
13946 M configure.ac
13947 M po/POTFILES.in
13948 M po/ibus-pinyin.pot
13949 M po/zh_CN.po
13950
13951 commit d78465f9eb4fa032888b60c9ecf6a6c744f2ecd8
13952 Author: Peng Huang <shawn.p.huang@gmail.com>
13953 Date: 2009-10-10 06:34:55 +0800
13954
13955 Rename glade to ui
13956
13957 M po/POTFILES.in
13958 M po/ibus-pinyin.pot
13959 M setup/Makefile.am
13960 R100 setup/ibus-pinyin-preferences.glade setup/ibus-pinyin-preferences.ui
13961 M setup/main.py
13962
13963 commit a7c655fc1e9d2818054ab92b7f5a74c274ae3897
13964 Author: Peng Huang <shawn.p.huang@gmail.com>
13965 Date: 2009-10-09 21:16:13 +0800
13966
13967 Support using mouse to select candidate.
13968
13969 M src/Engine.cc
13970 M src/PinyinEngine.cc
13971 M src/PinyinEngine.h
13972
13973 commit 77268496348665c01a68871496b80723fd819c22
13974 Author: Peng Huang <shawn.p.huang@gmail.com>
13975 Date: 2009-10-09 09:59:54 +0800
13976
13977 Update sumbol links
13978
13979 M src/valid_hanzi.py
13980
13981 commit 2a95b4199d6e13385d752e79086398867ae852c5
13982 Author: Peng Huang <shawn.p.huang@gmail.com>
13983 Date: 2009-10-09 07:06:11 +0800
13984
13985 Rename simple pinyin to incomplete pinyin
13986
13987 M po/ibus-pinyin.pot
13988 M po/zh_CN.po
13989 M setup/ibus-pinyin-preferences.glade
13990 M setup/main.py
13991 M src/Config.cc
13992 M src/FullPinyinEditor.cc
13993 M src/PinyinParserTable.h
13994 M src/Types.h
13995
13996 commit 4ccb9ab33199c07aac25b8e017d01adb7fa512b5
13997 Author: Peng Huang <shawn.p.huang@gmail.com>
13998 Date: 2009-10-08 13:07:29 +0800
13999
14000 Rename database google to android
14001
14002 M Makefile.am
14003 M configure.ac
14004 M data/db/Makefile.am
14005 R092 data/db/google/Makefile.am data/db/android/Makefile.am
14006 R100 data/db/google/README data/db/android/README
14007 R100 data/db/google/create_db.py data/db/android/create_db.py
14008 R100 data/db/google/create_valid_hanzi.py data/db/android/create_valid_hanzi.py
14009 R100 data/db/google/id.py data/db/android/id.py
14010 R100 data/db/google/pydict.py data/db/android/pydict.py
14011 R100 data/db/google/rawdict_utf16_65105_freq.txt data/db/android/rawdict_utf16_65105_freq.txt
14012 R100 data/db/google/valid_hanzi.py data/db/android/valid_hanzi.py
14013 R100 data/db/google/valid_utf16.txt data/db/android/valid_utf16.txt
14014 M ibus-pinyin.spec.in
14015 M src/Database.cc
14016
14017 commit 5bdcee961d675d69e078845c7be6739649eb2b31
14018 Author: Peng Huang <shawn.p.huang@gmail.com>
14019 Date: 2009-10-08 11:16:29 +0800
14020
14021 Test input argument of selectCandidate
14022
14023 M src/PhraseEditor.cc
14024
14025 commit 6d895ea960f921afc12904b9ce11972368656e2e
14026 Author: Peng Huang <shawn.p.huang@gmail.com>
14027 Date: 2009-10-08 08:34:24 +0800
14028
14029 Fix script error in fedora 12
14030
14031 M src/php_2_py.php
14032
14033 commit 2e1f5a55499603b85b50c60bc5a830fc8a3fb9bd
14034 Author: Peng Huang <shawn.p.huang@gmail.com>
14035 Date: 2009-10-07 21:49:14 +0800
14036
14037 Fix a typo
14038
14039 M src/PinyinEngine.cc
14040
14041 commit 091e73e98f0e2ff711cedb6a94bb740ae2121da7
14042 Author: Peng Huang <shawn.p.huang@gmail.com>
14043 Date: 2009-10-07 07:37:47 +0800
14044
14045 Remove some commented code.
14046
14047 M src/PinyinEngine.cc
14048
14049 commit bb9e10a51f1c024e994c107a3183fbb9c0772027
14050 Author: Peng Huang <shawn.p.huang@gmail.com>
14051 Date: 2009-10-07 07:14:54 +0800
14052
14053 Update zh_CN.po
14054
14055 M po/ibus-pinyin.pot
14056 M po/zh_CN.po
14057
14058 commit 366ba41b91ca6b49651354b97887ab510969af74
14059 Author: Peng Huang <shawn.p.huang@gmail.com>
14060 Date: 2009-10-07 07:06:08 +0800
14061
14062 Add configure option to choice if showing candidates in traditional
14063 Chinese.
14064
14065 M setup/ibus-pinyin-preferences.glade
14066 M setup/main.py
14067 M src/Config.cc
14068 M src/Config.h
14069 M src/PinyinEngine.cc
14070
14071 commit 7fecc5539e7b08ce598541689458dc42e009f7b2
14072 Author: Peng Huang <shawn.p.huang@gmail.com>
14073 Date: 2009-10-06 15:21:07 +0800
14074
14075 Refine some messages.
14076
14077 M data/db/Makefile.am
14078
14079 commit 796b42579b4d448cc4ff0a634456cd98fff53524
14080 Author: Peng Huang <shawn.p.huang@gmail.com>
14081 Date: 2009-10-06 15:16:25 +0800
14082
14083 Remove ZhConversion.php ZhConversion.py
14084
14085 D src/ZhConversion.php
14086 D src/ZhConversion.py
14087
14088 commit 90a6303589d02a5f867e7d946fecaaf8cb9fdafb
14089 Author: Peng Huang <shawn.p.huang@gmail.com>
14090 Date: 2009-10-06 15:15:45 +0800
14091
14092 Add target to create ZhConversion.{php, py}
14093
14094 M src/Makefile.am
14095
14096 commit 84eddcfa8bcb893d6835843d1263602a44484dea
14097 Author: Peng Huang <shawn.p.huang@gmail.com>
14098 Date: 2009-10-06 15:05:41 +0800
14099
14100 Rename scirpt name
14101
14102 M data/db/google/Makefile.am
14103 R100 data/db/google/create_db_from_google.py data/db/google/create_db.py
14104
14105 commit 2d6b56f3ba73c16d9ca2ec2d24ec112905a6396f
14106 Author: Peng Huang <shawn.p.huang@gmail.com>
14107 Date: 2009-10-06 15:03:34 +0800
14108
14109 Fix make distcheck errors.
14110
14111 M Makefile.am
14112 M data/db/google/Makefile.am
14113 M data/db/google/create_db_from_google.py
14114 M data/db/google/create_valid_hanzi.py
14115 A data/db/google/valid_hanzi.py
14116 M po/ibus-pinyin.pot
14117 M po/zh_CN.po
14118 T src/valid_hanzi.py
14119
14120 commit 169d23ca9644f0d62b6d8f084f356ee18874ef65
14121 Author: Peng Huang <shawn.p.huang@gmail.com>
14122 Date: 2009-10-06 14:47:45 +0800
14123
14124 Only display traditional Chinese preedit & auxiliary text
14125
14126 M src/PhraseEditor.cc
14127 M src/PhraseEditor.h
14128 M src/PinyinEngine.cc
14129 M src/PinyinEngine.h
14130
14131 commit 95f5e3ffa0d9492fedf6a7fdafb5c2d927ff5684
14132 Author: Peng Huang <shawn.p.huang@gmail.com>
14133 Date: 2009-10-06 13:42:52 +0800
14134
14135 Add Makefile.am in data/db/google
14136
14137 A data/db/google/Makefile.am
14138
14139 commit 51aa686a911461292d28f6c15fd90565eab926d2
14140 Author: Peng Huang <shawn.p.huang@gmail.com>
14141 Date: 2009-10-06 11:18:53 +0800
14142
14143 Reimplement Simp to Trad
14144
14145 A data/db/google/create_valid_hanzi.py
14146 M src/PinyinEngine.cc
14147 M src/SimpTradConverter.cc
14148 M src/SimpTradConverterTable.h
14149 M src/String.h
14150 D src/Unihan_Variants.txt
14151 A src/ZhConversion.php
14152 A src/ZhConversion.py
14153 A src/php_2_py.php
14154 M src/update-simptrad-table.py
14155 A src/valid_hanzi.py
14156
14157 commit 5fcba789bfa30a67ee652ebb137a169a3a006212
14158 Author: Peng Huang <shawn.p.huang@gmail.com>
14159 Date: 2009-10-05 18:30:50 +0800
14160
14161 Add android git url
14162
14163 M data/db/google/README
14164
14165 commit 5aca064041820dd12db6905859ed677741f3fbb8
14166 Author: Peng Huang <shawn.p.huang@gmail.com>
14167 Date: 2009-10-05 18:05:45 +0800
14168
14169 Add PinyinParserTable.h SimpTradConverterTable.h
14170
14171 M src/.gitignore
14172 M src/Makefile.am
14173 A src/PinyinParserTable.h
14174 A src/SimpTradConverterTable.h
14175
14176 commit 28aeb79317f5cefa316fe351e7b0ebacbff07eb0
14177 Author: Peng Huang <shawn.p.huang@gmail.com>
14178 Date: 2009-10-05 17:54:27 +0800
14179
14180 Generate SimpTradConvertTable.h from Unihan
14181
14182 M src/Makefile.am
14183 A src/Unihan_Variants.txt
14184 A src/update-simptrad-table.py
14185
14186 commit e1fca2997da77309316446dc4b79314f7de5ed59
14187 Author: Peng Huang <shawn.p.huang@gmail.com>
14188 Date: 2009-10-05 16:45:18 +0800
14189
14190 Add PinyinParserTable.h.open-phrase
14191
14192 A src/PinyinParserTable.h.open-phrase
14193
14194 commit 746f8db61544ba27269fa33f27fdecbc3246d0cb
14195 Author: Peng Huang <shawn.p.huang@gmail.com>
14196 Date: 2009-10-05 16:42:16 +0800
14197
14198 Refine code
14199
14200 M scripts/genpytable.py
14201
14202 commit 6f7acc02db4afa26082da5a561e01299f00be7ee
14203 Author: Peng Huang <shawn.p.huang@gmail.com>
14204 Date: 2009-10-05 16:26:29 +0800
14205
14206 Remove unused function
14207
14208 M src/PinyinParser.cc
14209
14210 commit 3a9b172b0a8f22686fe7c8e13fbbc547087450dd
14211 Author: Peng Huang <shawn.p.huang@gmail.com>
14212 Date: 2009-10-05 16:17:30 +0800
14213
14214 Adjust freq of google database
14215
14216 M data/db/google/create_db_from_google.py
14217
14218 commit efa62ef0960cbebeb38110d9fc95f895da1d2a59
14219 Author: Peng Huang <shawn.p.huang@gmail.com>
14220 Date: 2009-10-05 15:52:57 +0800
14221
14222 Add create_index.sql in data/db
14223
14224 A data/db/create_index.sql
14225
14226 commit 7a755bd0134e600586dbd53186553bdfb5ebc0dc
14227 Author: Peng Huang <shawn.p.huang@gmail.com>
14228 Date: 2009-10-05 15:52:31 +0800
14229
14230 Remove create_index.sql in data
14231
14232 D data/create_index.sql
14233
14234 commit 4518b8d196b6cd0f0c50f77bc99c808e3da434ee
14235 Author: Peng Huang <shawn.p.huang@gmail.com>
14236 Date: 2009-10-05 15:42:14 +0800
14237
14238 Check if maindb exist before open it.
14239
14240 M src/Database.cc
14241
14242 commit 7692e2d59ccf5d7419e499366ff548dbc42bc803
14243 Author: Peng Huang <shawn.p.huang@gmail.com>
14244 Date: 2009-10-05 14:53:43 +0800
14245
14246 Fix symbol link
14247
14248 M src/main.db
14249
14250 commit 3b45d3f4db14e9db2f49241c637fe93494020a76
14251 Author: Peng Huang <shawn.p.huang@gmail.com>
14252 Date: 2009-10-05 14:51:38 +0800
14253
14254 Fix rpm build problems.
14255
14256 M data/db/google/create_db_from_google.py
14257 M data/db/open-phrase/Makefile.am
14258 M ibus-pinyin.spec.in
14259
14260 commit 1ab8d3eaf4230c61ea4a78752334f99bac904621
14261 Author: Peng Huang <shawn.p.huang@gmail.com>
14262 Date: 2009-10-05 14:38:24 +0800
14263
14264 Fix problem in install-data-hook
14265
14266 M data/db/Makefile.am
14267 M data/db/open-phrase/Makefile.am
14268
14269 commit 746b31da492ab63120655f287fc56b8fb26584eb
14270 Author: Peng Huang <shawn.p.huang@gmail.com>
14271 Date: 2009-10-05 14:24:55 +0800
14272
14273 Use google.db, if open-phrase.db does not exist.
14274
14275 M Makefile.am
14276 M configure.ac
14277 M data/Makefile.am
14278 R100 data/google/create_index.sql data/create_index.sql
14279 A data/db/Makefile.am
14280 R100 data/google/README data/db/google/README
14281 R100 data/google/create_db_from_google.py data/db/google/create_db_from_google.py
14282 A data/db/google/id.py
14283 A data/db/google/pydict.py
14284 R100 data/google/rawdict_utf16_65105_freq.txt data/db/google/rawdict_utf16_65105_freq.txt
14285 R100 data/google/valid_utf16.txt data/db/google/valid_utf16.txt
14286 A data/db/open-phrase/Makefile.am
14287 D data/google/id.py
14288 D data/google/pydict.py
14289 M src/Database.cc
14290
14291 commit 66834d7005c5ef6f176b5b081d8b76973ff7605e
14292 Author: Peng Huang <shawn.p.huang@gmail.com>
14293 Date: 2009-10-05 14:00:40 +0800
14294
14295 WIP.
14296
14297 M configure.ac
14298 M data/Makefile.am
14299
14300 commit 05f27be4de0df3c59236badf44f1434b7b79d142
14301 Author: Peng Huang <shawn.p.huang@gmail.com>
14302 Date: 2009-10-05 13:27:09 +0800
14303
14304 WIP.
14305
14306 M data/google/create_db_from_google.py
14307 A data/google/create_index.sql
14308
14309 commit a412a978ff08503a85c73c5a67e627a53b6bf03d
14310 Author: Peng Huang <shawn.p.huang@gmail.com>
14311 Date: 2009-10-05 13:23:30 +0800
14312
14313 WIP.
14314
14315 R098 data/google/createdb.py data/google/create_db_from_google.py
14316 A data/google/id.py
14317 A data/google/pydict.py
14318
14319 commit 26235d24107158b0c200f9a3a6caa78b23ce68fd
14320 Author: Peng Huang <shawn.p.huang@gmail.com>
14321 Date: 2009-10-05 13:18:19 +0800
14322
14323 Add script for creating db from google pinyin data
14324
14325 A data/google/createdb.py
14326 M scripts/id.py
14327
14328 commit f0d700e8dfc3610eb577d57bb937ef7188b5e436
14329 Author: Peng Huang <shawn.p.huang@gmail.com>
14330 Date: 2009-10-05 13:15:30 +0800
14331
14332 Add README
14333
14334 A data/google/README
14335
14336 commit 23183f101caabd187af61dea8e19e527302d0b1d
14337 Author: Peng Huang <shawn.p.huang@gmail.com>
14338 Date: 2009-10-05 12:58:03 +0800
14339
14340 Add phrases dict from Android Pinyin IME
14341
14342 A data/google/rawdict_utf16_65105_freq.txt
14343 A data/google/valid_utf16.txt
14344
14345 commit 55cef919009b93a3a5204ceb6a846a8040209005
14346 Author: Peng Huang <shawn.p.huang@gmail.com>
14347 Date: 2009-10-05 12:02:12 +0800
14348
14349 Refine coding style
14350
14351 M scripts/pydict.py
14352
14353 commit 9d6249684c8d6497100a62e74603e9317b2aaf2a
14354 Author: Peng Huang <shawn.p.huang@gmail.com>
14355 Date: 2009-10-05 12:01:26 +0800
14356
14357 Update pydict.py
14358
14359 M scripts/pydict.py
14360
14361 commit 81070b09ca9a8bec2ab76006aa049f460904e23a
14362 Author: Peng Huang <shawn.p.huang@gmail.com>
14363 Date: 2009-10-05 11:54:20 +0800
14364
14365 Move all scripts to $top_srcdir/scripts
14366
14367 D data/scripts/pydict.py
14368 M po/zh_CN.po
14369 R100 data/scripts/Makefile scripts/Makefile
14370 R100 data/scripts/create_db.py scripts/create_db.py
14371 R100 data/scripts/create_index.py scripts/create_index.py
14372 R100 data/scripts/create_unique_index.py scripts/create_unique_index.py
14373 R100 data/scripts/double.py scripts/double.py
14374 R100 src/scripts/genpytable.py scripts/genpytable.py
14375 R100 src/scripts/gensimptradtable.py scripts/gensimptradtable.py
14376 R100 data/scripts/id.py scripts/id.py
14377 R100 src/scripts/pydict.py scripts/pydict.py
14378 R100 data/scripts/pyutil.py scripts/pyutil.py
14379 R100 src/scripts/sctc.py scripts/sctc.py
14380 M src/Makefile.am
14381
14382 commit d866b6b936220d6f3f95a24a0d3c762186134ba6
14383 Author: Peng Huang <shawn.p.huang@gmail.com>
14384 Date: 2009-10-05 09:25:33 +0800
14385
14386 Modify the logic of processing capital letters
14387
14388 M src/PinyinEngine.cc
14389 M src/PinyinEngine.h
14390
14391 commit 765dc6e1768bb1314b454481132315f6ed28d042
14392 Author: Peng Huang <shawn.p.huang@gmail.com>
14393 Date: 2009-10-05 08:54:04 +0800
14394
14395 Input upper letters correctly
14396
14397 M src/PinyinEngine.cc
14398
14399 commit 63d516ed5897fb9de3259c52cb6b00c873fec6ab
14400 Author: Peng Huang <shawn.p.huang@gmail.com>
14401 Date: 2009-10-03 21:41:39 +0800
14402
14403 Input currect with keypad
14404
14405 M src/PinyinEngine.cc
14406
14407 commit d0f38189ad1a0171be6e2196b0403c44f52a0b46
14408 Author: Peng Huang <shawn.p.huang@gmail.com>
14409 Date: 2009-10-02 19:51:11 +0800
14410
14411 refine coding style
14412
14413 M src/WideString.h
14414
14415 commit 1756fd7996a9fc6af873b8cee9ff6af8991fcce5
14416 Author: Peng Huang <shawn.p.huang@gmail.com>
14417 Date: 2009-10-02 19:49:07 +0800
14418
14419 Fix build warning
14420
14421 M src/Database.cc
14422
14423 commit 5af19efc0e13f928769ee7255ef5ed1b840b2d9a
14424 Author: Peng Huang <shawn.p.huang@gmail.com>
14425 Date: 2009-10-02 08:21:09 +0800
14426
14427 Fix auto commit problem.
14428
14429 M src/PinyinEngine.cc
14430
14431 commit 60cfd20aa525f1245565f45801ea2a678f147f62
14432 Author: Peng Huang <shawn.p.huang@gmail.com>
14433 Date: 2009-10-02 08:00:02 +0800
14434
14435 Refine sql
14436
14437 M src/Database.cc
14438
14439 commit 1997e24f2e3b11ac567d9cea43149d3dd1f7a0ec
14440 Author: Peng Huang <shawn.p.huang@gmail.com>
14441 Date: 2009-10-02 07:57:20 +0800
14442
14443 Add executeSQL method.
14444
14445 M src/Database.cc
14446 M src/Database.h
14447
14448 commit bebf306e96c28f8fcec10a76d6b58e8becfff06f
14449 Author: Peng Huang <shawn.p.huang@gmail.com>
14450 Date: 2009-10-02 07:31:43 +0800
14451
14452 Process punctuations correctly
14453
14454 M src/PinyinEngine.cc
14455
14456 commit 6958d5b6c9dfbf973566bf41a0ff8dd003e7e2e3
14457 Author: Peng Huang <shawn.p.huang@gmail.com>
14458 Date: 2009-10-01 16:14:21 +0800
14459
14460 Add some inline comments
14461
14462 M src/Database.cc
14463
14464 commit 92241be43b67d99328281d222a1b52663ea1a5a3
14465 Author: Peng Huang <shawn.p.huang@gmail.com>
14466 Date: 2009-10-01 16:09:31 +0800
14467
14468 Tuning sqlite database for better performance.
14469
14470 M src/Database.cc
14471
14472 commit fe526abc18ee805ebb6e5d396dccc5967c19c2c2
14473 Author: Peng Huang <shawn.p.huang@gmail.com>
14474 Date: 2009-10-01 12:09:44 +0800
14475
14476 Update project url
14477
14478 M ibus-pinyin.spec.in
14479
14480 commit 5fac3733f4e76bde305153b6559288b100105184
14481 Author: Peng Huang <shawn.p.huang@gmail.com>
14482 Date: 2009-10-01 12:04:53 +0800
14483
14484 Update .gitignore files
14485
14486 M .gitignore
14487 A data/.gitignore
14488 M data/Makefile.am
14489 M po/.gitignore
14490 A po/ibus-pinyin.pot
14491 A setup/.gitignore
14492 A src/.gitignore
14493
14494 commit e3710c25e02180b3f684af509f8b272f5d32438b
14495 Author: Peng Huang <shawn.p.huang@gmail.com>
14496 Date: 2009-10-01 11:45:35 +0800
14497
14498 unify help message
14499
14500 M configure.ac
14501
14502 commit 7b77b901d96e9fed80efc4074dec64c81373ed86
14503 Author: Peng Huang <shawn.p.huang@gmail.com>
14504 Date: 2009-10-01 09:52:47 +0800
14505
14506 Add upload target
14507
14508 M Makefile.am
14509
14510 commit 4f27c1a24bf44e294abdba9b2d9729247fa75c14
14511 Author: Peng Huang <shawn.p.huang@gmail.com>
14512 Date: 2009-10-01 09:46:01 +0800
14513
14514 Add googlecode upload script
14515
14516 A tools/googlecode_upload.py
14517
14518 commit eaaf6a123092e316bebcf2a1d597fd216921c10a
14519 Author: Peng Huang <shawn.p.huang@gmail.com>
14520 Date: 2009-10-01 09:17:34 +0800
14521
14522 Use g_strlcpy and g_strlcat to avoid buffer overflow
14523
14524 M src/Database.cc
14525 M src/Phrase.h
14526 M src/PinyinParser.cc
14527
14528 commit 2ef56713a13c750257203182cea398f1309b8ede
14529 Author: Peng Huang <shawn.p.huang@gmail.com>
14530 Date: 2009-10-01 09:11:08 +0800
14531
14532 Use strncat correctly
14533
14534 M src/Phrase.h
14535
14536 commit fb8659454f750c14b8b3f2ea695fe40d7f152cd1
14537 Author: Peng Huang <shawn.p.huang@gmail.com>
14538 Date: 2009-10-01 08:46:56 +0800
14539
14540 Process keys on keypad correctly
14541
14542 M src/PinyinEngine.cc
14543
14544 commit c0f86e9a34e82bb41858b80c530cf3df38e6153b
14545 Author: Peng Huang <shawn.p.huang@gmail.com>
14546 Date: 2009-10-01 08:11:59 +0800
14547
14548 Fix build error with sqlite 3.5
14549
14550 M src/Database.cc
14551
14552 commit f30f9f83239bdafedf5fa64c33eec27dfb12ea20
14553 Author: Peng Huang <shawn.p.huang@gmail.com>
14554 Date: 2009-10-01 07:48:46 +0800
14555
14556 Fix double pinyin problems.
14557
14558 M src/DoublePinyinEditor.cc
14559 M src/PinyinParser.cc
14560
14561 commit a949d50a4fca0d3d12024220a4a6e2f5c1646a45
14562 Author: Peng Huang <shawn.p.huang@gmail.com>
14563 Date: 2009-09-30 22:38:40 +0800
14564
14565 Add --disable-pinyin-database argument of ./configure
14566
14567 M configure.ac
14568 M data/Makefile.am
14569
14570 commit 458d3dd50ec8dbec2237b5c796f65044d7bd79e6
14571 Author: Peng Huang <shawn.p.huang@gmail.com>
14572 Date: 2009-09-30 22:08:47 +0800
14573
14574 Refine coding style
14575
14576 M src/PinyinEngine.cc
14577
14578 commit 894b06bf59417ae6f05b40d5cdb1c53076bc4512
14579 Author: Peng Huang <shawn.p.huang@gmail.com>
14580 Date: 2009-09-30 22:06:49 +0800
14581
14582 Commit full width space, only if in full mode
14583
14584 M src/PinyinEngine.cc
14585 M src/PinyinEngine.h
14586
14587 commit 1caefa8402499902e5b89b2763c2ab5e75b06e37
14588 Author: Peng Huang <shawn.p.huang@gmail.com>
14589 Date: 2009-09-30 19:46:22 +0800
14590
14591 Fix fuzzy pinyin problem with ian <=> iang
14592
14593 M src/Config.cc
14594 M src/Types.h
14595
14596 commit 02413c97d10f845d9daa90425a132b90b87d7d9b
14597 Author: Peng Huang <shawn.p.huang@gmail.com>
14598 Date: 2009-09-30 19:33:01 +0800
14599
14600 Fix ch c fuzzy pinyin problem
14601
14602 M src/Types.h
14603
14604 commit 52e791f2cdd5d12c36698308c6ef35c5c7352218
14605 Author: Peng Huang <shawn.p.huang@gmail.com>
14606 Date: 2009-09-30 16:55:15 +0800
14607
14608 Fix segment fault of fuzzy pinyin
14609
14610 M src/Database.h
14611
14612 commit 5323e2385f36f72405d4ceffa24c2bb1bd2e9a84
14613 Author: Peng Huang <phuang@phuang-laptop.(none)>
14614 Date: 2009-09-30 13:59:06 +0800
14615
14616 Import debian packaging scripts from Ubuntu
14617
14618 A debian/changelog
14619 A debian/compat
14620 A debian/control
14621 A debian/copyright
14622 A debian/docs
14623 A debian/ibus-pinyin.lintian-overrides
14624 A debian/rules
14625 A debian/watch
14626
14627 commit 714143ad7539df66860607a316e36e1b7155d1dd
14628 Author: Peng Huang <shawn.p.huang@gmail.com>
14629 Date: 2009-09-30 07:50:21 +0800
14630
14631 Fix commi problem
14632
14633 M src/PhraseEditor.h
14634 M src/PinyinEngine.cc
14635
14636 commit eac3c4057934617567288069fc7515177e175322
14637 Author: Peng Huang <shawn.p.huang@gmail.com>
14638 Date: 2009-09-29 19:31:38 +0800
14639
14640 Show preedit text correctly
14641
14642 M src/PinyinEngine.cc
14643
14644 commit 7d2aeda8396d1c617ae2c0336f9fe8a384da6ead
14645 Author: Peng Huang <shawn.p.huang@gmail.com>
14646 Date: 2009-09-29 19:22:56 +0800
14647
14648 Update preedit and auxiliary text format
14649
14650 M src/PinyinEngine.cc
14651
14652 commit ca6793524c34c754709bf1126827b6d142d53bcb
14653 Author: Peng Huang <shawn.p.huang@gmail.com>
14654 Date: 2009-09-29 17:13:48 +0800
14655
14656 Fix some bugs
14657
14658 M src/PinyinEngine.cc
14659
14660 commit 53501ecd68dd46aa97413adeab38e2cbfdfe610c
14661 Author: Peng Huang <shawn.p.huang@gmail.com>
14662 Date: 2009-09-29 16:54:56 +0800
14663
14664 Add Typing and Editing modes
14665
14666 M src/PinyinEngine.cc
14667 M src/PinyinEngine.h
14668
14669 commit 6e126f3b96183a4820a2c5db374b16af92d27f5f
14670 Author: Peng Huang <shawn.p.huang@gmail.com>
14671 Date: 2009-09-29 16:19:28 +0800
14672
14673 Use ' ' replace '\'' in pinyin string
14674
14675 M src/PinyinEngine.cc
14676
14677 commit 47bfea10eca0449551c930efaaa389263b749ff1
14678 Author: Peng Huang <shawn.p.huang@gmail.com>
14679 Date: 2009-09-29 16:01:23 +0800
14680
14681 Update zh_CN.po
14682
14683 M po/zh_CN.po
14684
14685 commit 8f598fd6296df0d24916a030631e2967bc9dddcf
14686 Author: Peng Huang <shawn.p.huang@gmail.com>
14687 Date: 2009-09-29 15:56:02 +0800
14688
14689 Fix some bugs.
14690
14691 M src/Array.h
14692 M src/PinyinArray.h
14693 M src/PinyinEngine.cc
14694
14695 commit b3423070d9b267eb8c3755ca8a865250845aad5c
14696 Author: Peng Huang <shawn.p.huang@gmail.com>
14697 Date: 2009-09-29 15:34:12 +0800
14698
14699 Also set the foreground color of the highlight candidate in preedit text
14700
14701 M src/PinyinEngine.cc
14702
14703 commit 6fc3c5aae690b2f4c1170dbcf890a43f8adf5f0c
14704 Author: Peng Huang <shawn.p.huang@gmail.com>
14705 Date: 2009-09-29 15:27:01 +0800
14706
14707 Hide auxiliary text if no candidates
14708
14709 M src/PinyinEditor.h
14710 M src/PinyinEngine.cc
14711
14712 commit 9d66a329785cabc2aea5dc6501e03fe7df20a805
14713 Author: Peng Huang <shawn.p.huang@gmail.com>
14714 Date: 2009-09-29 14:42:07 +0800
14715
14716 Adjust preedit text dynamically
14717
14718 M src/Array.h
14719 M src/DoublePinyinEditor.cc
14720 M src/PinyinArray.h
14721 M src/PinyinEngine.cc
14722 M src/PinyinParser.cc
14723
14724 commit 699336c050105398d36940b4db9ba55beb04a517
14725 Author: Peng Huang <shawn.p.huang@gmail.com>
14726 Date: 2009-09-29 13:47:05 +0800
14727
14728 Show unselected pinyin in preedit text
14729
14730 M src/PinyinEngine.cc
14731 M src/PinyinEngine.h
14732
14733 commit 80a09d4cda14d6294d7d6849af1e21eacad73c86
14734 Author: Peng Huang <shawn.p.huang@gmail.com>
14735 Date: 2009-09-29 08:53:16 +0800
14736
14737 Use operator += of phrase
14738
14739 M src/Database.cc
14740
14741 commit b75395ca94f913b964c43066875fdbfb0b488041
14742 Author: Peng Huang <shawn.p.huang@gmail.com>
14743 Date: 2009-09-29 08:28:25 +0800
14744
14745 Refactory PhraseEditor
14746
14747 M src/Makefile.am
14748 M src/Phrase.h
14749 M src/PhraseArray.h
14750 M src/PhraseEditor.cc
14751 M src/PhraseEditor.h
14752 M src/PinyinEngine.cc
14753 M src/Types.h
14754
14755 commit 1101d1d38fb5c78be0cf92893888804da6afc2a6
14756 Merge: 06f2ebb 5b5fa82
14757 Author: Peng Huang <shawn.p.huang@gmail.com>
14758 Date: 2009-09-29 07:53:53 +0800
14759
14760 Merge branch '1.2.99' of git@github.com:phuang/ibus-pinyin into 1.2.99
14761
14762 commit 5b5fa823cd1ccc656ad28323e19d3e6edb3afb4d
14763 Author: Peng Huang <shawn.p.huang@gmail.com>
14764 Date: 2009-09-29 07:52:04 +0800
14765
14766 Add Phrase.h
14767
14768 A src/Phrase.h
14769
14770 commit 06f2ebbe03b12c27b22beb6bff51a94e598d64a8
14771 Author: Peng Huang <shawn.p.huang@gmail.com>
14772 Date: 2009-09-29 06:56:13 +0800
14773
14774 Add some comments
14775
14776 M src/FullPinyinEditor.cc
14777
14778 commit b02b9e47675ed2dcc8486faacada1b4a582056a3
14779 Author: Peng Huang <shawn.p.huang@gmail.com>
14780 Date: 2009-09-28 16:03:23 +0800
14781
14782 Press space to select highlight candidate
14783
14784 M src/PinyinEngine.cc
14785 M src/PinyinEngine.h
14786
14787 commit b7196b0435b8d4ccd61d06fe7df275c1f580d107
14788 Author: Peng Huang <shawn.p.huang@gmail.com>
14789 Date: 2009-09-28 07:13:22 +0800
14790
14791 Commit half width '.' after half width numbers
14792
14793 M src/PinyinEngine.cc
14794 M src/PinyinEngine.h
14795
14796 commit ba136a3846ed111cfabb05b47c16c8a9c393b8fe
14797 Author: Peng Huang <shawn.p.huang@gmail.com>
14798 Date: 2009-09-28 07:04:42 +0800
14799
14800 Reset before commit text to application.
14801
14802 M src/PinyinEngine.cc
14803
14804 commit 6b097b4ca7bca4ac328c3296d5dc3a2f7c078215
14805 Author: Peng Huang <shawn.p.huang@gmail.com>
14806 Date: 2009-09-27 16:48:25 +0800
14807
14808 Refine coding style
14809
14810 M src/Database.h
14811
14812 commit 54f0169827e813747e6f295e12d13099b36d7bb1
14813 Author: Peng Huang <shawn.p.huang@gmail.com>
14814 Date: 2009-09-27 16:47:22 +0800
14815
14816 Use get replace operator []
14817
14818 M src/Database.h
14819
14820 commit 8965a486d163828f7283a0b9ac3b83a56d6a0cef
14821 Author: Peng Huang <shawn.p.huang@gmail.com>
14822 Date: 2009-09-27 16:43:30 +0800
14823
14824 Refectory conditions
14825
14826 M src/Database.cc
14827 M src/Database.h
14828
14829 commit ae26cda94d9ffc2df06414284a6e09bf24da2d0d
14830 Merge: 38c62f3 347d456
14831 Author: Peng Huang <shawn.p.huang@gmail.com>
14832 Date: 2009-09-27 14:46:23 +0800
14833
14834 Merge branch '1.2.99' of github.com:phuang/ibus-pinyin into 1.2.99
14835
14836 commit 347d4564f6015e32887a537861b2d5f6d3f31fb2
14837 Author: Peng Huang <shawn.p.huang@gmail.com>
14838 Date: 2009-09-26 07:37:49 +0800
14839
14840 Support WideString in String
14841
14842 M src/String.h
14843 M src/WideString.h
14844
14845 commit d94521ce1bf8405f0fd46a1050704dba050024f2
14846 Author: Peng Huang <shawn.p.huang@gmail.com>
14847 Date: 2009-09-26 07:28:55 +0800
14848
14849 Add WideString
14850
14851 M src/Array.h
14852 M src/Makefile.am
14853 M src/PinyinEngine.cc
14854 A src/WideString.h
14855
14856 commit 38c62f348c03a8b715a8baa12eedcd75c68eafc7
14857 Author: Peng Huang <shawn.p.huang@gmail.com>
14858 Date: 2009-09-25 17:18:50 +0800
14859
14860 Reset in focusOut
14861
14862 M src/DoublePinyinEditor.cc
14863 M src/FullPinyinEditor.cc
14864 M src/FullPinyinEditor.h
14865 M src/PinyinEngine.h
14866
14867 commit cc46aa7c24252c17d213655e4dd9ea07682672de
14868 Author: Peng Huang <shawn.p.huang@gmail.com>
14869 Date: 2009-09-25 16:19:10 +0800
14870
14871 Change author info
14872
14873 M AUTHORS
14874 M Makefile.am
14875 M configure.ac
14876 M data/Makefile.am
14877 M data/icons/Makefile.am
14878 M data/scripts/pydict.py
14879 M data/scripts/pyutil.py
14880 M ibus-pinyin.spec.in
14881 M m4/Makefile.am
14882 M po/Makevars
14883 M po/zh_CN.po
14884 M setup/Makefile.am
14885 M setup/ibus-setup-pinyin.in
14886 M src/Makefile.am
14887 M src/special_table
14888
14889 commit 9e2d1632f9a7b512457a4ee276bf1ed824de6903
14890 Author: Peng Huang <shawn.p.huang@gmail.com>
14891 Date: 2009-09-25 13:43:13 +0800
14892
14893 Implement auto commit.
14894
14895 M setup/ibus-pinyin-preferences.glade
14896 M src/PinyinEngine.cc
14897
14898 commit 1b7a439abe24cd350a0332c632302b78a3d99853
14899 Author: Peng Huang <shawn.p.huang@gmail.com>
14900 Date: 2009-09-25 12:27:00 +0800
14901
14902 Use ? : operator
14903
14904 M src/PinyinEngine.cc
14905
14906 commit 077a9b9ede0f64fdf54e2d3801a8a34cbb7b6543
14907 Author: Peng Huang <shawn.p.huang@gmail.com>
14908 Date: 2009-09-25 11:40:49 +0800
14909
14910 Update zh_CN.po
14911
14912 M po/zh_CN.po
14913
14914 commit b4041c918a42a6f26d190fd9009800bc12c42548
14915 Author: Peng Huang <shawn.p.huang@gmail.com>
14916 Date: 2009-09-25 11:37:10 +0800
14917
14918 Implement shift select candidate
14919
14920 M setup/ibus-pinyin-preferences.glade
14921 M setup/main.py
14922 M src/Config.cc
14923 M src/Config.h
14924 M src/PinyinEngine.cc
14925
14926 commit a0ee977ca23b41650f841089e1f184787324b22a
14927 Author: Peng Huang <shawn.p.huang@gmail.com>
14928 Date: 2009-09-25 10:45:48 +0800
14929
14930 Adjust the setup ui
14931
14932 M setup/ibus-pinyin-preferences.glade
14933
14934 commit 348bf0203d58e22c64ef3e91fee2cc279c1af0aa
14935 Author: Peng Huang <shawn.p.huang@gmail.com>
14936 Date: 2009-09-25 10:36:06 +0800
14937
14938 Delay update of page size
14939
14940 M setup/ibus-pinyin-preferences.glade
14941
14942 commit 6bc7522f638b1d7f80d7c2706a62369a578505a1
14943 Author: Peng Huang <shawn.p.huang@gmail.com>
14944 Date: 2009-09-25 10:34:01 +0800
14945
14946 Use HScale widget for page size
14947
14948 M setup/ibus-pinyin-preferences.glade
14949 M setup/main.py
14950
14951 commit 15cd217742d7c773867e067eed8d6de8af4af297
14952 Author: Peng Huang <shawn.p.huang@gmail.com>
14953 Date: 2009-09-25 10:22:08 +0800
14954
14955 Adjust preferences dialog
14956
14957 M po/zh_CN.po
14958 M setup/ibus-pinyin-preferences.glade
14959
14960 commit 4e2273761ef1fb1b56ee63f582b0c6d6ffd230bc
14961 Author: Peng Huang <shawn.p.huang@gmail.com>
14962 Date: 2009-09-25 09:59:51 +0800
14963
14964 Hide some unused options.
14965
14966 M setup/ibus-pinyin-preferences.glade
14967
14968 commit 83b156c8854c87dbf01a0a8bb1e69d900873eabf
14969 Author: Peng Huang <shawn.p.huang@gmail.com>
14970 Date: 2009-09-25 08:15:41 +0800
14971
14972 Fix some typos
14973 Update zh_CN.po
14974
14975 M po/zh_CN.po
14976 M setup/ibus-pinyin-preferences.glade
14977
14978 commit 3fdf13e54e1e8c2ef417baa40f0c954a6cf8d2e3
14979 Author: Peng Huang <shawn.p.huang@gmail.com>
14980 Date: 2009-09-24 15:58:56 +0800
14981
14982 Add assert in simpToTrad
14983
14984 M src/SimpTradConverter.cc
14985
14986 commit 64cc8d82fb927baa0d0fdd14bfd0a295b9ff22c0
14987 Author: Peng Huang <shawn.p.huang@gmail.com>
14988 Date: 2009-09-24 15:48:09 +0800
14989
14990 Refine coding style
14991
14992 M src/Text.h
14993
14994 commit 32820f777a5bbc94ca9e521db545d264f973f62f
14995 Author: Peng Huang <shawn.p.huang@gmail.com>
14996 Date: 2009-09-24 15:20:33 +0800
14997
14998 Clean up icons
14999
15000 M data/icons/full-punct.svg
15001 M data/icons/full.svg
15002 M data/icons/half-punct.svg
15003
15004 commit 27bab03f8813af661371d23706ed3a410228830a
15005 Author: Peng Huang <shawn.p.huang@gmail.com>
15006 Date: 2009-09-24 15:16:45 +0800
15007
15008 Clean up icons
15009
15010 M data/icons/simp-chinese.svg
15011 M data/icons/trad-chinese.svg
15012
15013 commit 15dd100c26f19308f5824142defb3a1ba38aa350
15014 Author: Peng Huang <shawn.p.huang@gmail.com>
15015 Date: 2009-09-24 14:59:06 +0800
15016
15017 StaticText use Text as parent class.
15018
15019 M src/PinyinEngine.cc
15020 M src/Text.h
15021
15022 commit 613a80f34fcfffc559a0abf0252b187f18199c9b
15023 Author: Peng Huang <shawn.p.huang@gmail.com>
15024 Date: 2009-09-24 14:41:06 +0800
15025
15026 Remove unused variables.
15027
15028 M src/Makefile.am
15029
15030 commit 94d850c70fd078dabfa8dea39112f95db545f99b
15031 Author: Peng Huang <shawn.p.huang@gmail.com>
15032 Date: 2009-09-24 14:30:13 +0800
15033
15034 Use name SimpTrad table
15035
15036 M src/scripts/gensimptradtable.py
15037 R081 src/scripts/map.py src/scripts/sctc.py
15038
15039 commit 4ce8b5db3be34deefc8785d9e9602142a1761c1f
15040 Author: Peng Huang <shawn.p.huang@gmail.com>
15041 Date: 2009-09-24 11:54:41 +0800
15042
15043 Fix some typos.
15044
15045 M setup/ibus-pinyin-preferences.glade
15046 M setup/main.py
15047
15048 commit 0f6dbec1e15bac3a115c8a0736ae894c6584b329
15049 Author: Peng Huang <shawn.p.huang@gmail.com>
15050 Date: 2009-09-24 11:46:53 +0800
15051
15052 Add configure for Simplified/Traditional Chinese
15053
15054 M po/zh_CN.po
15055 M setup/ibus-pinyin-preferences.glade
15056 M setup/main.py
15057 M src/Config.cc
15058 M src/Config.h
15059 M src/PinyinEngine.cc
15060
15061 commit fc6e52a1619b3cd92c0de9960ab11370ca3d683b
15062 Author: Peng Huang <shawn.p.huang@gmail.com>
15063 Date: 2009-09-24 11:28:53 +0800
15064
15065 Add icons for simplified/traditional chinese
15066
15067 M data/icons/Makefile.am
15068 A data/icons/simp-chinese.svg
15069 A data/icons/trad-chinese.svg
15070 M src/PinyinEngine.cc
15071
15072 commit 902cee398e046244a992061b417efd0a72ed6d7b
15073 Author: Peng Huang <shawn.p.huang@gmail.com>
15074 Date: 2009-09-24 08:38:19 +0800
15075
15076 Add Traditional Chinese support
15077
15078 M po/zh_CN.po
15079 M src/LookupTable.h
15080 M src/PinyinEngine.cc
15081 M src/PinyinEngine.h
15082 M src/Text.h
15083
15084 commit 4560e4d77aed235f98041864b83d95c49ff542d9
15085 Author: Peng Huang <shawn.p.huang@gmail.com>
15086 Date: 2009-09-23 20:12:57 +0800
15087
15088 WIP.
15089
15090 M src/PinyinEngine.cc
15091 M src/PinyinEngine.h
15092
15093 commit b5ed6295724e9b69350e661587f46d3bcfda49d8
15094 Author: Peng Huang <shawn.p.huang@gmail.com>
15095 Date: 2009-09-23 20:04:28 +0800
15096
15097 Implement SimTradConverter
15098
15099 M src/SimpTradConverter.cc
15100 M src/SimpTradConverter.h
15101 M src/scripts/gensimptradtable.py
15102
15103 commit 13e14bc02147d5575ee7e29c24286e349af00933
15104 Author: Peng Huang <shawn.p.huang@gmail.com>
15105 Date: 2009-09-23 17:13:42 +0800
15106
15107 Add SimpTradConverter.
15108
15109 M po/zh_CN.po
15110 M src/Makefile.am
15111 M src/PinyinParser.cc
15112 A src/SimpTradConverter.cc
15113 A src/SimpTradConverter.h
15114 M src/scripts/genpytable.py
15115 A src/scripts/gensimptradtable.py
15116 A src/scripts/map.py
15117
15118 commit 34d0c0da7958579b241b5a51851ed18e1fc81ed9
15119 Author: Peng Huang <shawn.p.huang@gmail.com>
15120 Date: 2009-09-23 16:16:10 +0800
15121
15122 Add Shift+Shace & Control+. shortcuts
15123
15124 M src/PinyinEngine.cc
15125
15126 commit 820b19b3f9c80bfd56a1b0a3e1ee05f95d8cdf5f
15127 Author: Peng Huang <shawn.p.huang@gmail.com>
15128 Date: 2009-09-23 13:42:49 +0800
15129
15130 Remove zh_CN.gmo
15131
15132 D po/zh_CN.gmo
15133
15134 commit 7ab0dd288d917a5c588af4134320c32c13b9d801
15135 Author: Peng Huang <shawn.p.huang@gmail.com>
15136 Date: 2009-09-23 13:39:45 +0800
15137
15138 Fix build errors.
15139
15140 M Makefile.am
15141 A data/scripts/Makefile
15142 M src/scripts/genpytable.py
15143
15144 commit 9bc6ab1d2816b790c87885a426e9cda053be7050
15145 Author: Peng Huang <shawn.p.huang@gmail.com>
15146 Date: 2009-09-23 13:31:09 +0800
15147
15148 Remove all files from .gitignore.
15149
15150 M .gitignore
15151
15152 commit 998c9299f04a4756ff8a08ab3448b3f7860b9fe0
15153 Author: Peng Huang <shawn.p.huang@gmail.com>
15154 Date: 2009-09-23 13:30:02 +0800
15155
15156 Import c version pinyin engine
15157
15158 M AUTHORS
15159 M Makefile.am
15160 M README
15161 M autogen.sh
15162 M configure.ac
15163 R055 icons/Makefile.am data/Makefile.am
15164 A data/icons/Makefile.am
15165 R100 icons/chinese.svg data/icons/chinese.svg
15166 R100 icons/english.svg data/icons/english.svg
15167 R100 icons/full-punct.svg data/icons/full-punct.svg
15168 R100 icons/full-letter.svg data/icons/full.svg
15169 R100 icons/half-punct.svg data/icons/half-punct.svg
15170 R100 icons/half-letter.svg data/icons/half.svg
15171 R100 icons/ibus-pinyin.svg data/icons/ibus-pinyin.svg
15172 A data/scripts/create_db.py
15173 A data/scripts/create_index.py
15174 A data/scripts/create_unique_index.py
15175 A data/scripts/double.py
15176 A data/scripts/id.py
15177 R100 engine/pydict.py data/scripts/pydict.py
15178 R100 engine/pyutil.py data/scripts/pyutil.py
15179 D debian/README.Debian
15180 D debian/changelog
15181 D debian/compat
15182 D debian/control
15183 D debian/copyright
15184 D debian/cron.d.ex
15185 D debian/dirs
15186 D debian/docs
15187 D debian/emacsen-install.ex
15188 D debian/emacsen-remove.ex
15189 D debian/emacsen-startup.ex
15190 D debian/ibus-pinyin-default.ex
15191 D debian/ibus-pinyin.doc-base.EX
15192 D debian/init.d.ex
15193 D debian/init.d.lsb.ex
15194 D debian/manpage.1.ex
15195 D debian/manpage.sgml.ex
15196 D debian/manpage.xml.ex
15197 D debian/menu.ex
15198 D debian/postinst.ex
15199 D debian/postrm.ex
15200 D debian/preinst.ex
15201 D debian/prerm.ex
15202 D debian/rules
15203 D debian/watch.ex
15204 D engine/Makefile.am
15205 D engine/factory.py
15206 D engine/ibus-engine-pinyin.in
15207 D engine/main.py
15208 D engine/pinyin.py
15209 D engine/pycreatedb.py
15210 D engine/pyparser.py
15211 D engine/pysqlitedb.py
15212 D engine/special_phrase
15213 D engine/specialphrase.py
15214 D engine/specialtable.py
15215 M ibus-pinyin.spec.in
15216 M po/LINGUAS
15217 M po/POTFILES.in
15218 D po/ja.po
15219 A po/zh_CN.gmo
15220 M po/zh_CN.po
15221 M setup/Makefile.am
15222 A setup/ibus-pinyin-preferences.glade
15223 M setup/ibus-setup-pinyin.in
15224 M setup/main.py
15225 D setup/pydict.py
15226 D setup/setup.glade
15227 A src/Array.h
15228 A src/Bus.h
15229 A src/Config.cc
15230 A src/Config.h
15231 A src/Database.cc
15232 A src/Database.h
15233 A src/DoublePinyinEditor.cc
15234 A src/DoublePinyinEditor.h
15235 A src/DoublePinyinTable.h
15236 A src/Engine.cc
15237 A src/Engine.h
15238 A src/FullPinyinEditor.cc
15239 A src/FullPinyinEditor.h
15240 A src/HalfFullConverter.cc
15241 A src/HalfFullConverter.h
15242 A src/LookupTable.h
15243 A src/Main.cc
15244 A src/Makefile.am
15245 A src/PhraseArray.h
15246 A src/PhraseEditor.cc
15247 A src/PhraseEditor.h
15248 A src/PinyinArray.h
15249 A src/PinyinEditor.cc
15250 A src/PinyinEditor.h
15251 A src/PinyinEngine.cc
15252 A src/PinyinEngine.h
15253 A src/PinyinParser.cc
15254 A src/PinyinParser.h
15255 A src/Pointer.h
15256 A src/Property.h
15257 A src/SpecialTable.cc
15258 A src/SpecialTable.h
15259 A src/String.h
15260 A src/Text.h
15261 A src/Types.h
15262 A src/Util.h
15263 A src/main.db
15264 R072 engine/pinyin.xml.in.in src/pinyin.xml.in.in
15265 A src/scripts/genpytable.py
15266 A src/scripts/pydict.py
15267 R099 engine/special_table src/special_table
15268
15269 commit 9911013dd7e4edc7c295dad24121309b1fda5718
15270 Author: Peng Huang <shawn.p.huang@gmail.com>
15271 Date: 2009-09-19 15:10:21 +0800
15272
15273 Update some strings.
15274
15275 M po/ja.po
15276 M po/zh_CN.po
15277 M setup/setup.glade
15278
15279 commit 60dd01654c82899a97156a99bfa34c3514b8a078
15280 Author: Peng Huang <shawn.p.huang@gmail.com>
15281 Date: 2009-09-15 13:35:17 +0800
15282
15283 Disable FuzzyPinyin in engine.py
15284
15285 M engine/pinyin.py
15286
15287 commit ce469a0c93a3cb71c079a76b5b0de48b68f5ca00
15288 Author: Peng Huang <shawn.p.huang@gmail.com>
15289 Date: 2009-09-15 13:29:41 +0800
15290
15291 Display English candidates in correct color.
15292
15293 M engine/pinyin.py
15294
15295 commit 775d1ea766876016294bcc01a2df38107803928a
15296 Author: Peng Huang <shawn.p.huang@gmail.com>
15297 Date: 2009-06-12 14:57:19 +0800
15298
15299 Handle mouse click on lookup table.
15300
15301 M engine/pinyin.py
15302
15303 commit 58db26f7ba33a59f9f98669e929d3b4c43e778d4
15304 Author: Peng Huang <shawn.p.huang@gmail.com>
15305 Date: 2009-08-21 12:23:58 +0800
15306
15307 Call bindtextdomain
15308
15309 M setup/Makefile.am
15310 M setup/ibus-setup-pinyin.in
15311 M setup/main.py
15312
15313 commit 531eaf2badafb45afdfd28f9148cdc7e3db30331
15314 Author: Peng Huang <shawn.p.huang@gmail.com>
15315 Date: 2009-08-03 15:02:59 +0800
15316
15317 Reset preedit when press CapsLock key.
15318
15319 M engine/pinyin.py
15320
15321 commit 8500e2894bd02b64e3f39eb36c450c2b32070b73
15322 Author: Peng Huang <shawn.p.huang@gmail.com>
15323 Date: 2009-07-23 17:10:05 +0800
15324
15325 Show origin input when enable ShuangPin
15326
15327 M engine/pinyin.py
15328
15329 commit 92eb30242e44b1924a3bf0818b315a51275c19f3
15330 Author: Peng Huang <shawn.p.huang@gmail.com>
15331 Date: 2009-06-14 14:50:43 +0800
15332
15333 Modify process_key_event method & bump the version
15334
15335 M configure.ac
15336 M engine/pinyin.py
15337
15338 commit e3103262badb9b9784354c78ec9bb4a499b736c5
15339 Author: Peng Huang <shawn.p.huang@gmail.com>
15340 Date: 2009-05-26 07:55:28 +0800
15341
15342 Only ask confirm when values changed.
15343
15344 M setup/main.py
15345
15346 commit 39cf7c6a88046faa81afba16024736a5ad09c80e
15347 Author: Peng Huang <shawn.p.huang@gmail.com>
15348 Date: 2009-05-26 07:53:26 +0800
15349
15350 Center the about string
15351
15352 M setup/setup.glade
15353
15354 commit 4d081ef806c95cf3d8ea9cdb2765c561ac4c26a0
15355 Author: Peng Huang <shawn.p.huang@gmail.com>
15356 Date: 2009-05-26 07:51:39 +0800
15357
15358 Show About page in setup dialog
15359
15360 M setup/setup.glade
15361
15362 commit 9bbb69a2b3e69d1bbe4a86887d1506cba5bb88af
15363 Author: Peng Huang <shawn.p.huang@gmail.com>
15364 Date: 2009-05-25 14:01:09 +0800
15365
15366 Raise setup dialog when click setup icon.
15367
15368 M engine/pinyin.py
15369 M setup/main.py
15370
15371 commit ab99791ab560e0d1c0e806e7d708a6db121691bf
15372 Author: Peng Huang <shawn.p.huang@gmail.com>
15373 Date: 2009-05-25 13:25:58 +0800
15374
15375 Hide some page in setup dialog.
15376
15377 M setup/setup.glade
15378
15379 commit 1d7c4cc697322fc8cbd21f3fe0b49cd41c563dde
15380 Author: Huang Peng <shawn.p.huang@gmail.com>
15381 Date: 2009-03-03 11:37:08 +0800
15382
15383 Try to cover errors when user_db is locked.
15384
15385 M engine/pinyin.py
15386
15387 commit 9b2c20c8946f40928e89601f7ab7dd471a70a730
15388 Author: Huang Peng <shawn.p.huang@gmail.com>
15389 Date: 2009-03-03 11:00:13 +0800
15390
15391 Remove some INDEX on py_phrase table to reduce the size of db file.
15392 And refine coding style.
15393
15394 M engine/pysqlitedb.py
15395
15396 commit 638416babf296f7f131de0c8b07221fa519cb929
15397 Author: Huang Peng <shawn.p.huang@gmail.com>
15398 Date: 2009-02-24 17:19:48 +0800
15399
15400 Replace priority with rank.
15401
15402 M engine/pinyin.xml.in.in
15403
15404 commit ad6cffb02a0a50338fb9ded8996c446ec6d172dc
15405 Author: Huang Peng <shawn.p.huang@gmail.com>
15406 Date: 2009-02-24 16:41:03 +0800
15407
15408 Add priority in pinyin.xml.
15409
15410 M engine/pinyin.xml.in.in
15411
15412 commit 0867f5388828b3e82ff175a23e679fe8e2617d4d
15413 Author: Huang Peng <shawn.p.huang@gmail.com>
15414 Date: 2009-02-18 19:34:53 +0800
15415
15416 Fix problem when generate xml.
15417
15418 M engine/pinyin.xml.in.in
15419
15420 commit a135c88d75f76711683993abaa040c03ba7a39f5
15421 Author: Peng Huang <phuang@phuang.nay.redhat.com>
15422 Date: 2009-02-12 11:15:22 +0800
15423
15424 Fix issue 254: Start pinyin setup failed when click setup property on
15425 language panel.
15426
15427 M engine/ibus-engine-pinyin.in
15428 M engine/pinyin.py
15429
15430 commit 1e04cf629ec734a17b2e2bff05af56654a2f78fe
15431 Author: Huang Peng <shawn.p.huang@gmail.com>
15432 Date: 2009-02-06 09:55:37 +0800
15433
15434 Fix problem when generate pinyin.xml
15435
15436 M configure.ac
15437 M engine/Makefile.am
15438 R085 engine/pinyin.xml.in engine/pinyin.xml.in.in
15439 M po/ja.po
15440 M po/zh_CN.po
15441
15442 commit aaaa4768ecd33ee3f44b38fb29af7813c374f77f
15443 Author: Huang Peng <shawn.p.huang@gmail.com>
15444 Date: 2009-02-05 16:01:26 +0800
15445
15446 Migrate to ibus-1.1.
15447
15448 M configure.ac
15449 M engine/Makefile.am
15450 M engine/factory.py
15451 M engine/ibus-engine-pinyin.in
15452 M engine/main.py
15453 D engine/pinyin.engine.in
15454 M engine/pinyin.py
15455 A engine/pinyin.xml.in
15456 M ibus-pinyin.spec.in
15457 M po/ja.po
15458 M po/zh_CN.po
15459 M setup/Makefile.am
15460 M setup/main.py
15461
15462 commit fc2075852ca2fcce099625ecd524e0eadf38999f
15463 Author: Huang Peng <shawn.p.huang@gmail.com>
15464 Date: 2008-10-07 10:34:14 +0800
15465
15466 Disable user db optimizing.
15467
15468 M setup/main.py
15469 M setup/setup.glade
15470
15471 commit dc8bfa8aa8116b4182834bc5eea854575fec1fce
15472 Author: Huang Peng <shawn.p.huang@gmail.com>
15473 Date: 2008-10-04 10:35:07 +0800
15474
15475 Fix `make distcheck` error.
15476
15477 M po/POTFILES.in
15478
15479 commit 37d4be2d30fa8a2fd3a0bd39c9f7a8fbb155a1dc
15480 Author: Huang Peng <shawn.p.huang@gmail.com>
15481 Date: 2008-10-04 09:00:10 +0800
15482
15483 WIP.
15484
15485 M engine/factory.py
15486
15487 commit efdd39ea3e2e3d72da1921649454a75fb975318e
15488 Author: Huang Peng <shawn.p.huang@gmail.com>
15489 Date: 2008-10-03 17:29:02 +0800
15490
15491 Change config interface.
15492
15493 M engine/pinyin.py
15494 M setup/main.py
15495
15496 commit 4a0616f128ffead2a461600a0068d1495a03a21f
15497 Author: Huang Peng <shawn.p.huang@gmail.com>
15498 Date: 2008-09-25 13:55:01 +0800
15499
15500 Use pinyin-database-0.1.10.6.tar.bz2
15501
15502 M ibus-pinyin.spec.in
15503
15504 commit 0892216bb1e017e9990f8ad6a86af5bc332632de
15505 Author: Huang Peng <shawn.p.huang@gmail.com>
15506 Date: 2008-09-15 20:32:11 +0800
15507
15508 Use pinyin-database-0.1.10.6.tar.bz2.
15509
15510 M engine/Makefile.am
15511
15512 commit 6a77264baf1037c9ab7950408f3456b177aef326
15513 Author: Huang Peng <shawn.p.huang@gmail.com>
15514 Date: 2008-09-15 20:31:42 +0800
15515
15516 Change arguments of pycreatedb.py.
15517
15518 M engine/pycreatedb.py
15519
15520 commit 9cc7eb4d128cce38aa989b8d90e7404f0fa6a36b
15521 Author: Huang Peng <shawn.p.huang@gmail.com>
15522 Date: 2008-09-15 20:06:17 +0800
15523
15524 Refine coding style.
15525
15526 M engine/pycreatedb.py
15527
15528 commit 4293565d5ffac5938248e5c787ec11ebbf5e5a88
15529 Author: Huang Peng <shawn.p.huang@gmail.com>
15530 Date: 2008-09-15 12:23:41 +0800
15531
15532 Fix some typoes.
15533
15534 M engine/pinyin.py
15535
15536 commit 196168b440f8cf160e23fd05d0663886e6f0aac3
15537 Author: Huang Peng <shawn.p.huang@gmail.com>
15538 Date: 2008-09-15 02:56:52 +0800
15539
15540 Add Half punctuations feature by Jiahua Huang <jhuangjiahua@gmail.com>.
15541
15542 M engine/pinyin.py
15543 M engine/pysqlitedb.py
15544 M po/ja.po
15545 M po/zh_CN.po
15546 M setup/main.py
15547 M setup/setup.glade
15548
15549 commit e253a5d1a5cd03fa4d2bddb30d842122f2d1adcf
15550 Author: Huang Peng <shawn.p.huang@gmail.com>
15551 Date: 2008-09-12 07:50:28 +0800
15552
15553 Import debian packing files by 一叶 <oneleaf@gmail.com>.
15554
15555 A debian/README.Debian
15556 A debian/changelog
15557 A debian/compat
15558 A debian/control
15559 A debian/copyright
15560 A debian/cron.d.ex
15561 A debian/dirs
15562 A debian/docs
15563 A debian/emacsen-install.ex
15564 A debian/emacsen-remove.ex
15565 A debian/emacsen-startup.ex
15566 A debian/ibus-pinyin-default.ex
15567 A debian/ibus-pinyin.doc-base.EX
15568 A debian/init.d.ex
15569 A debian/init.d.lsb.ex
15570 A debian/manpage.1.ex
15571 A debian/manpage.sgml.ex
15572 A debian/manpage.xml.ex
15573 A debian/menu.ex
15574 A debian/postinst.ex
15575 A debian/postrm.ex
15576 A debian/preinst.ex
15577 A debian/prerm.ex
15578 A debian/rules
15579 A debian/watch.ex
15580
15581 commit 992d809adc9bb6e37ea68832868c2b0c405aed89
15582 Author: Huang Peng <shawn.p.huang@gmail.com>
15583 Date: 2008-09-07 09:01:33 +0800
15584
15585 Hide fuzzy pinyin detial configure.
15586
15587 M setup/setup.glade
15588
15589 commit 9a4a296fef26a1729f7bb6da6a16a415ac39aa51
15590 Author: Huang Peng <shawn.p.huang@gmail.com>
15591 Date: 2008-09-07 08:37:49 +0800
15592
15593 Hide fuzzy pinyin detial configure.
15594
15595 M setup/setup.glade
15596
15597 commit 26b7d6814d1d973b9cd227cdef8529aa402f6cf7
15598 Author: Huang Peng <shawn.p.huang@gmail.com>
15599 Date: 2008-09-01 21:10:16 +0800
15600
15601 Update after process_key event.
15602
15603 M engine/pinyin.py
15604
15605 commit d7f72b5b9bb422b2eb2bec860ca8fc0bbaf1a12f
15606 Author: Huang Peng <shawn.p.huang@gmail.com>
15607 Date: 2008-08-31 11:50:38 +0800
15608
15609 Fix SpellCheck problems.
15610
15611 M engine/pinyin.py
15612
15613 commit 836819899a7b57428a50b475df20e41284832ef9
15614 Author: Huang Peng <shawn.p.huang@gmail.com>
15615 Date: 2008-08-30 12:42:58 +0800
15616
15617 Add ja.po.
15618
15619 A po/ja.po
15620
15621 commit 778f3dc3f41040e9bfb9babb669605a6cfa1bf27
15622 Author: Huang Peng <shawn.p.huang@gmail.com>
15623 Date: 2008-08-30 07:54:11 +0800
15624
15625 Translate engine name.
15626
15627 M engine/factory.py
15628 M po/zh_CN.po
15629
15630 commit 8ad05ac166e1e76d98c3eb15aee601eb56f2f8c2
15631 Author: Huang Peng <shawn.p.huang@gmail.com>
15632 Date: 2008-08-29 07:23:42 +0800
15633
15634 Add Japanese translation by UTUMI Hirosi <utuhiro78@yahoo.co.jp>.
15635
15636 M AUTHORS
15637 M po/LINGUAS
15638
15639 commit 4fdfbb9cd8810b0621969ab823eecb3d7df7f4d7
15640 Author: Huang Peng <shawn.p.huang@gmail.com>
15641 Date: 2008-08-25 13:59:13 +0800
15642
15643 Enable maintainer-mode.
15644
15645 M configure.ac
15646
15647 commit 6a3129c439a01cee7f8753618b36438b5014bcd8
15648 Author: Huang Peng <shawn.p.huang@gmail.com>
15649 Date: 2008-08-22 12:03:02 +0800
15650
15651 Add Name.zh.
15652
15653 M engine/pinyin.engine.in
15654
15655 commit c35d180957dbf38a50d78b13a6acf0e2a27ef76a
15656 Author: Huang Peng <shawn.p.huang@gmail.com>
15657 Date: 2008-08-19 08:55:24 +0800
15658
15659 Refine code.
15660
15661 M engine/pinyin.py
15662
15663 commit ee5648bce5eac608e457504a605dea256469ad1c
15664 Author: Huang Peng <shawn.p.huang@gmail.com>
15665 Date: 2008-08-17 21:48:30 +0800
15666
15667 Fix problem when press LeftArrow with preedit.
15668
15669 M engine/pinyin.py
15670
15671 commit cfffb78b2c215fe9a4a729bee4ec1777c2324f69
15672 Author: Huang Peng <shawn.p.huang@gmail.com>
15673 Date: 2008-08-17 08:24:51 +0800
15674
15675 Fix wrong path.
15676
15677 M engine/pinyin.py
15678
15679 commit 8a156d44015074655f3809b8fa9f5ed8cbb2604f
15680 Author: Huang Peng <shawn.p.huang@gmail.com>
15681 Date: 2008-08-15 12:17:29 +0800
15682
15683 Install ibus-setup-pinyin in bindir.
15684
15685 M ibus-pinyin.spec.in
15686 M setup/Makefile.am
15687
15688 commit 5aa6bf8b1ede1b38457cb5b5b5d92e4a41b1ce6f
15689 Author: Huang Peng <shawn.p.huang@gmail.com>
15690 Date: 2008-08-13 23:21:34 +0800
15691
15692 Remove unused sources files from POFILES.in.
15693
15694 M po/POTFILES.in
15695 M po/zh_CN.po
15696
15697 commit 559fb4a8497386c8a2f5684a58883fba432b6ae4
15698 Author: Huang Peng <shawn.p.huang@gmail.com>
15699 Date: 2008-08-13 23:16:43 +0800
15700
15701 Use path to replace text.
15702
15703 M icons/english.svg
15704 M icons/ibus-pinyin.svg
15705
15706 commit f9d4c97799dc475a80cbebfaa9ec589e3e67b188
15707 Author: Huang Peng <shawn.p.huang@gmail.com>
15708 Date: 2008-08-13 23:11:46 +0800
15709
15710 Add i18n support in spec file.
15711
15712 M ibus-pinyin.spec.in
15713
15714 commit 85b1ca77319a394977ca94f2f8c4e7a3f3cae68f
15715 Author: Huang Peng <shawn.p.huang@gmail.com>
15716 Date: 2008-08-13 23:08:46 +0800
15717
15718 Add zh_CN.po
15719
15720 A po/zh_CN.po
15721
15722 commit b8979fddf87da82a6a34cf57848be66ebe9393da
15723 Author: Huang Peng <shawn.p.huang@gmail.com>
15724 Date: 2008-08-13 22:54:13 +0800
15725
15726 i18n WIP.
15727
15728 A po/LINGUAS
15729 M po/POTFILES.in
15730
15731 commit d2d44a33909d71c5602a7bb7a9358b4eb089a1f0
15732 Author: Huang Peng <shawn.p.huang@gmail.com>
15733 Date: 2008-08-13 18:28:49 +0800
15734
15735 Ignore NumLock mask.
15736
15737 M engine/pinyin.py
15738
15739 commit daff2154050c95f71a09664db4d9fd635612a097
15740 Author: Huang Peng <shawn.p.huang@gmail.com>
15741 Date: 2008-08-13 16:01:57 +0800
15742
15743 Install ibus-engine-pinyin in @bindir@
15744
15745 M configure.ac
15746 M engine/Makefile.am
15747 M engine/pinyin.engine.in
15748 M ibus-pinyin.spec.in
15749
15750 commit 8421a297e4e612558816377fc0c480b151b77081
15751 Author: Huang Peng <shawn.p.huang@gmail.com>
15752 Date: 2008-08-11 01:16:22 +0800
15753
15754 optimize lookup_table transport performance.
15755
15756 M engine/pinyin.py
15757
15758 commit f72efe3a0d6a75e75fa23687586d3741c383b485
15759 Author: Huang Peng <shawn.p.huang@gmail.com>
15760 Date: 2008-08-09 08:33:01 +0800
15761
15762 Refine coding style.
15763
15764 M configure.ac
15765
15766 commit c60fc3e24fa5bce8362487733004f444a1c9ccc2
15767 Author: Huang Peng <shawn.p.huang@gmail.com>
15768 Date: 2008-08-08 17:22:01 +0800
15769
15770 Modify for fedora packaging review.
15771
15772 M ibus-pinyin.spec.in
15773
15774 commit 65ece255cd9d2e6d7ae8951a7f4e232406d568c2
15775 Author: Huang Peng <shawn.p.huang@gmail.com>
15776 Date: 2008-08-08 15:13:10 +0800
15777
15778 Use GPLv2.
15779
15780 M COPYING
15781
15782 commit 4ec9e409834694cfe68fb83d5594d52209f79828
15783 Author: Huang Peng <shawn.p.huang@gmail.com>
15784 Date: 2008-08-08 13:16:53 +0800
15785
15786 Refine doc.
15787
15788 M README
15789 M ibus-pinyin.spec.in
15790
15791 commit 6b59ed7ee0dc0e87e45e86c2677c5ecb1f418b42
15792 Author: Huang Peng <shawn.p.huang@gmail.com>
15793 Date: 2008-08-08 09:41:24 +0800
15794
15795 Fix problems reported by rpmlint
15796
15797 M Makefile.am
15798 M README
15799 M engine/Makefile.am
15800 M ibus-pinyin.spec.in
15801
15802 commit 59a0e164ed3c807bc77e38e2f63068151fc5f68a
15803 Author: Huang Peng <shawn.p.huang@gmail.com>
15804 Date: 2008-08-07 19:26:14 +0800
15805
15806 Set tooltip for setup property.
15807
15808 M engine/pinyin.py
15809
15810 commit 275b8af0d38a3f3f8b2f167f6d32302880d09ddb
15811 Author: Huang Peng <shawn.p.huang@gmail.com>
15812 Date: 2008-08-06 14:29:19 +0800
15813
15814 Fix rpm problem.
15815
15816 M engine/Makefile.am
15817 M engine/pinyin.engine.in
15818 M engine/pysqlitedb.py
15819 M ibus-pinyin.spec.in
15820
15821 commit f9993e15e8554d1a6076b45319448b235343a266
15822 Author: Huang Peng <shawn.p.huang@gmail.com>
15823 Date: 2008-08-05 21:18:56 +0800
15824
15825 Do not update ui duing English input mode.
15826
15827 M engine/pinyin.py
15828
15829 commit b7fda37131e221e42e4bd06f835d4c12bd82fcb1
15830 Author: Huang Peng <shawn.p.huang@gmail.com>
15831 Date: 2008-08-05 18:09:12 +0800
15832
15833 Group item in full-punct.svg
15834
15835 M icons/full-punct.svg
15836
15837 commit a03c7edf5d96e2026ac865adcb09129e4bc2f59e
15838 Author: Huang Peng <shawn.p.huang@gmail.com>
15839 Date: 2008-08-05 18:08:03 +0800
15840
15841 Edit full-punct.svg.
15842
15843 M icons/full-punct.svg
15844
15845 commit 3fcd03547de68bcab9e3a5c84f30c78bded9fe43
15846 Author: Huang Peng <shawn.p.huang@gmail.com>
15847 Date: 2008-08-05 11:25:32 +0800
15848
15849 Implement setup button in lanuage panel.
15850
15851 M engine/pinyin.py
15852
15853 commit 017b9ae582d12c6cc3a63b097577e3307f851b71
15854 Author: Huang Peng <shawn.p.huang@gmail.com>
15855 Date: 2008-08-05 10:56:45 +0800
15856
15857 Get install location from $IBUS_PINYIN_LOCATION.
15858
15859 M engine/Makefile.am
15860 M engine/factory.py
15861 M engine/pinyin.py
15862 M icons/Makefile.am
15863
15864 commit 0fe97edd530b363b858d6e59731d2dcc85b55ba5
15865 Author: Huang Peng <shawn.p.huang@gmail.com>
15866 Date: 2008-08-05 10:46:55 +0800
15867
15868 Get install location from $IBUS_PINYIN_LOCATION.
15869
15870 M engine/Makefile.am
15871 M engine/ibus-engine-pinyin.in
15872 M engine/pinyin.py
15873 M engine/pysqlitedb.py
15874 M engine/specialphrase.py
15875 M engine/specialtable.py
15876
15877 commit c85a12d8233a0de3c54bb75d1b8cea3d9b71c550
15878 Author: Huang Peng <shawn.p.huang@gmail.com>
15879 Date: 2008-08-02 21:38:12 +0800
15880
15881 Disable GBK by default.
15882
15883 M engine/pinyin.py
15884 M setup/main.py
15885
15886 commit b8cc28392439f2ef89a8082b58e3abe993b719e3
15887 Author: Huang Peng <shawn.p.huang@gmail.com>
15888 Date: 2008-08-02 16:38:32 +0800
15889
15890 Remove autoheader in autogen.sh.
15891
15892 M autogen.sh
15893
15894 commit 1cb0d2c1cbba0e5304db32d7242136f11575511a
15895 Author: Huang Peng <shawn.p.huang@gmail.com>
15896 Date: 2008-08-02 16:24:55 +0800
15897
15898 Download py.db from SCIM-Python project.
15899
15900 M engine/Makefile.am
15901
15902 commit 7f9640ee1fa7e6a404b63378163964ff0f46c90f
15903 Author: Huang Peng <shawn.p.huang@gmail.com>
15904 Date: 2008-07-31 20:27:08 +0800
15905
15906 WIP.
15907
15908 M setup/main.py
15909
15910 commit bd0b9b00f32a6e89ae02957d8bd87dc233b4bf6d
15911 Author: Huang Peng <shawn.p.huang@gmail.com>
15912 Date: 2008-07-31 19:48:57 +0800
15913
15914 Refine coding style.
15915
15916 M setup/main.py
15917
15918 commit 50a7676aa97b84719ffb16369052a9557c961dbf
15919 Author: Huang Peng <shawn.p.huang@gmail.com>
15920 Date: 2008-07-31 19:47:43 +0800
15921
15922 WIP.
15923
15924 M setup/main.py
15925 M setup/setup.glade
15926
15927 commit 4b70c60463cf791ebc820ba3740ed375bf348737
15928 Author: Huang Peng <shawn.p.huang@gmail.com>
15929 Date: 2008-07-31 19:33:05 +0800
15930
15931 WIP.
15932
15933 M setup/Makefile.am
15934 M setup/main.py
15935
15936 commit ff2f5eb3c770d5bdacd919af0bcfac7fd7768107
15937 Author: Huang Peng <shawn.p.huang@gmail.com>
15938 Date: 2008-07-31 19:28:59 +0800
15939
15940 Add a symbol link to ../engine/pydict.py
15941
15942 A setup/pydict.py
15943
15944 commit efcdfd3ffb3cc7c6eb6f20246aea3f7bb7133e50
15945 Author: Huang Peng <shawn.p.huang@gmail.com>
15946 Date: 2008-07-31 18:11:25 +0800
15947
15948 Change static methods' name.
15949
15950 M engine/factory.py
15951 M engine/pinyin.py
15952
15953 commit 8532f6aacdbef9532b5b0143150c724ee246a66b
15954 Author: Huang Peng <shawn.p.huang@gmail.com>
15955 Date: 2008-07-31 17:01:59 +0800
15956
15957 Remove __init__.py.
15958
15959 D setup/__init__.py
15960
15961 commit 7c79ccacf56185c830b48c63fb1b57f4efb1a4cc
15962 Author: Huang Peng <shawn.p.huang@gmail.com>
15963 Date: 2008-07-31 16:28:52 +0800
15964
15965 WIP.
15966
15967 M configure.ac
15968 M setup/Makefile.am
15969 A setup/ibus-setup-pinyin.in
15970
15971 commit 882ca1c1a07e69d26b54f97d64b9898e2e315433
15972 Author: Huang Peng <shawn.p.huang@gmail.com>
15973 Date: 2008-07-31 16:25:39 +0800
15974
15975 Add setup.
15976
15977 M Makefile.am
15978 M configure.ac
15979 M engine/Makefile.am
15980 M engine/ibus-engine-pinyin.in
15981 A setup/Makefile.am
15982 A setup/__init__.py
15983 A setup/main.py
15984 A setup/setup.glade
15985
15986 commit d5c39aac7b5999c6aa69dc72dad2ee0b1751ad8e
15987 Author: Huang Peng <shawn.p.huang@gmail.com>
15988 Date: 2008-07-31 16:13:12 +0800
15989
15990 Use ibus config schema.
15991
15992 M engine/factory.py
15993 M engine/pinyin.py
15994
15995 commit 6d2815e09ef2d068fa44d1dcfa5412631d64f235
15996 Author: Huang Peng <shawn.p.huang@gmail.com>
15997 Date: 2008-07-31 13:13:36 +0800
15998
15999 Update UI before commit string.
16000
16001 M engine/pinyin.py
16002
16003 commit dc5047095aeaeae36b8f256fcac488e5ec8d02c8
16004 Author: Huang Peng <shawn.p.huang@gmail.com>
16005 Date: 2008-07-31 13:03:18 +0800
16006
16007 Rename IBus to Bus.
16008
16009 M engine/main.py
16010
16011 commit fe89bf6474e902e26c14ea1a9fb1ae0671148ebb
16012 Author: Huang Peng <shawn.p.huang@gmail.com>
16013 Date: 2008-07-31 12:11:12 +0800
16014
16015 WIP.
16016
16017 M engine/main.py
16018
16019 commit 0d482d9d91b8013da8ad4fc9f7173d97a292eb39
16020 Author: Huang Peng <shawn.p.huang@gmail.com>
16021 Date: 2008-07-28 14:29:47 +0800
16022
16023 Use IBus replace Connection.
16024
16025 M engine/factory.py
16026 M engine/main.py
16027
16028 commit 94039b8d966944bfa41435087bdd962124a8073a
16029 Author: Huang Peng <shawn.p.huang@gmail.com>
16030 Date: 2008-07-25 17:01:57 +0800
16031
16032 Use ibus.Connection to replace dbus.Connection
16033
16034 M engine/main.py
16035
16036 commit ffedf87ed82fadb762a00b1793c1c67ced06ed39
16037 Author: Huang Peng <shawn.p.huang@gmail.com>
16038 Date: 2008-07-25 15:27:23 +0800
16039
16040 focus_in engine when enable.
16041
16042 M engine/pinyin.py
16043
16044 commit 4fd33361000bfcf80a549e1ba494277993fbf0fa
16045 Author: Huang Peng <shawn.p.huang@gmail.com>
16046 Date: 2008-07-25 11:15:39 +0800
16047
16048 Fix properties' problem when focus_in & focus_out
16049
16050 M engine/pinyin.py
16051
16052 commit 28bc29b4fdf65eb17628d4c5746ba5fe7583973d
16053 Author: Huang Peng <shawn.p.huang@gmail.com>
16054 Date: 2008-07-25 10:45:34 +0800
16055
16056 Check english if preedit is not empty.
16057
16058 M engine/pinyin.py
16059
16060 commit fb131cea327cb7e8d52eff4ecdd5a87b922e51ce
16061 Author: Huang Peng <shawn.p.huang@gmail.com>
16062 Date: 2008-07-24 13:31:19 +0800
16063
16064 Add shadown for icons.
16065
16066 M icons/chinese.svg
16067 M icons/english.svg
16068 M icons/full-letter.svg
16069 M icons/full-punct.svg
16070 M icons/half-letter.svg
16071 M icons/half-punct.svg
16072 M icons/ibus-pinyin.svg
16073
16074 commit bd67973a8e455647142636ac44f6c5d557fd889b
16075 Author: Huang Peng <shawn.p.huang@gmail.com>
16076 Date: 2008-07-24 13:01:32 +0800
16077
16078 Update pinyin icon.
16079
16080 M icons/ibus-pinyin.svg
16081
16082 commit ef7ec3481fab16f16ff9a0d09de6d439f617b270
16083 Author: Huang Peng <shawn.p.huang@gmail.com>
16084 Date: 2008-07-24 12:59:46 +0800
16085
16086 Create new icons.
16087
16088 M engine/factory.py
16089 M engine/pinyin.py
16090 M icons/Makefile.am
16091 A icons/chinese.svg
16092 A icons/english.svg
16093 A icons/full-letter.svg
16094 A icons/full-punct.svg
16095 A icons/half-letter.svg
16096 A icons/half-punct.svg
16097
16098 commit cf110cb4094370ef59e42feef31407a6608ff8b9
16099 Author: Huang Peng <shawn.p.huang@gmail.com>
16100 Date: 2008-07-23 16:09:06 +0800
16101
16102 Save data in ~/ibus/pinyin
16103
16104 M engine/pysqlitedb.py
16105
16106 commit 4395775c092ecad7e701f8f78ce0312aa0c343c0
16107 Author: Huang Peng <shawn.p.huang@gmail.com>
16108 Date: 2008-07-22 22:34:02 +0800
16109
16110 WIP
16111
16112 M engine/pinyin.py
16113
16114 commit 0683bc7fdffe14e3d3370fd04a53926cbcb7ffa7
16115 Author: Huang Peng <shawn.p.huang@gmail.com>
16116 Date: 2008-07-22 14:57:09 +0800
16117
16118 Add DBUS_DEBUG=true.
16119
16120 M engine/Makefile.am
16121
16122 commit c5f3a3f327f2ad5f34e1382a2df695ae86889cb3
16123 Author: Huang Peng <shawn.p.huang@gmail.com>
16124 Date: 2008-07-22 12:50:38 +0800
16125
16126 WIP.
16127
16128 M engine/pinyin.py
16129
16130 commit 7c614c07c36c929caedabbb2b5ddd1cef0af67cb
16131 Author: Huang Peng <shawn.p.huang@gmail.com>
16132 Date: 2008-07-20 12:55:56 +0800
16133
16134 Enhance performance.
16135
16136 M engine/pinyin.py
16137
16138 commit 5ae43a9abd1775ab09775ef70799832bcce18dd4
16139 Author: Huang Peng <shawn.p.huang@gmail.com>
16140 Date: 2008-07-20 07:37:42 +0800
16141
16142 Fix some typos.
16143
16144 M engine/pinyin.py
16145
16146 commit 74aaa879e95a05f63dce14e32439c01394cf1a4c
16147 Author: Huang Peng <shawn.p.huang@gmail.com>
16148 Date: 2008-07-20 07:37:03 +0800
16149
16150 Remove engine.py
16151
16152 D engine/engine.py
16153
16154 commit 3074f2ffba196c78b408f313cc2bc967b22e9ab1
16155 Author: Huang Peng <shawn.p.huang@gmail.com>
16156 Date: 2008-07-18 16:54:22 +0800
16157
16158 Fix bug.
16159
16160 M engine/Makefile.am
16161 M engine/pinyin.engine.in
16162
16163 commit 09c183f51cd1e52109d5481d5191952faa893dc4
16164 Merge: 39e0598 2cd5821
16165 Author: Huang Peng <shawn.p.huang@gmail.com>
16166 Date: 2008-07-18 16:47:07 +0800
16167
16168 Merge commit 'tmpl/master' into temp
16169
16170 Conflicts:
16171
16172 configure.ac
16173 engine/Makefile.am
16174 engine/engine.py
16175 engine/factory.py
16176 engine/main.py
16177
16178 commit 2cd58216d71607f7ee417a30fab016015e3b7025
16179 Author: Huang Peng <shawn.p.huang@gmail.com>
16180 Date: 2008-07-18 16:40:51 +0800
16181
16182 Add enchant.engine.in.
16183
16184 M configure.ac
16185 M engine/Makefile.am
16186 A engine/enchant.engine.in
16187
16188 commit 39e0598679d369c2fae73929d8c098dfeb1b4202
16189 Author: Huang Peng <shawn.p.huang@gmail.com>
16190 Date: 2008-07-18 16:35:55 +0800
16191
16192 Make page_{up,down} & cursor_{up,down} work.
16193
16194 M engine/pinyin.py
16195
16196 commit cd59896a961cf8edacbbdacd9a56c6f06fe3c333
16197 Author: Huang Peng <shawn.p.huang@gmail.com>
16198 Date: 2008-07-18 16:25:50 +0800
16199
16200 WIP.
16201
16202 M engine/pinyin.py
16203
16204 commit 8f2318497a4e3e054ab549c4e29554ef4033252c
16205 Author: Huang Peng <shawn.p.huang@gmail.com>
16206 Date: 2008-07-18 16:18:03 +0800
16207
16208 Fix a bug when create KeyEvent object.
16209
16210 M engine/pinyin.py
16211
16212 commit 087557c33f2185c7866629e6729e5d428d93ec66
16213 Author: Huang Peng <shawn.p.huang@gmail.com>
16214 Date: 2008-07-18 13:49:34 +0800
16215
16216 Add __invalidate function.
16217
16218 M engine/factory.py
16219 M engine/pinyin.py
16220
16221 commit 98051a45d3643233da16904dcd8c4a73727bbc0b
16222 Author: Huang Peng <shawn.p.huang@gmail.com>
16223 Date: 2008-07-18 13:39:23 +0800
16224
16225 Remove engine.py.
16226
16227 M engine/Makefile.am
16228 D engine/engine.py
16229
16230 commit 036f8e7a4805003bd84fb74934de9bd65efd2b72
16231 Author: Huang Peng <shawn.p.huang@gmail.com>
16232 Date: 2008-07-18 11:31:09 +0800
16233
16234 WIP.
16235
16236 M engine/factory.py
16237 M engine/main.py
16238 M engine/pinyin.py
16239
16240 commit 08ed60f18bf97aa81ae63da4e162dfb008bb5f69
16241 Author: Huang Peng <shawn.p.huang@gmail.com>
16242 Date: 2008-07-18 10:59:00 +0800
16243
16244 WIP.
16245
16246 M engine/pinyin.py
16247
16248 commit b97883b6daaaa5185d48bc0d6d9b61a19f71da4b
16249 Author: Huang Peng <shawn.p.huang@gmail.com>
16250 Date: 2008-07-18 10:45:14 +0800
16251
16252 Add LANG=en_US in test task.
16253
16254 M engine/Makefile.am
16255
16256 commit b5282fef3d73c78b956ba755bfeb2ffe30e15ecf
16257 Author: Huang Peng <shawn.p.huang@gmail.com>
16258 Date: 2008-07-18 10:40:35 +0800
16259
16260 Refactory Engine & EngineFactory.
16261
16262 M engine/engine.py
16263 M engine/factory.py
16264 M engine/main.py
16265
16266 commit 2d61073e078d64ba1393034113f0ef7b349223a5
16267 Author: Huang Peng <shawn.p.huang@gmail.com>
16268 Date: 2008-07-17 07:44:51 +0800
16269
16270 Rename ibus-engine-enchant.in to ibus-engine-pinyin.in
16271
16272 M configure.ac
16273 M engine/Makefile.am
16274 R100 engine/ibus-engine-enchant.in engine/ibus-engine-pinyin.in
16275
16276 commit 84965105c3d8b689d53bb00f4da778401921a4a5
16277 Author: Huang Peng <shawn.p.huang@gmail.com>
16278 Date: 2008-07-16 22:46:06 +0800
16279
16280 WIP.
16281
16282 A engine/pinyin.py
16283 A engine/special_phrase
16284 A engine/special_table
16285 A engine/specialphrase.py
16286 A engine/specialtable.py
16287
16288 commit ceb12f46eaad2c186f0334369a62f3f19c76e9fb
16289 Author: Huang Peng <shawn.p.huang@gmail.com>
16290 Date: 2008-07-16 22:20:37 +0800
16291
16292 Add pycreatedb.py
16293
16294 M engine/Makefile.am
16295 A engine/pycreatedb.py
16296
16297 commit de72e8c5172d8b52391b8d02f576ded5e958a968
16298 Author: Huang Peng <shawn.p.huang@gmail.com>
16299 Date: 2008-07-16 22:16:50 +0800
16300
16301 Add pysqlitedb.py
16302
16303 M engine/Makefile.am
16304 A engine/pysqlitedb.py
16305
16306 commit 2ff9d96200b0d905520c913ef3c652bf9e8b8e00
16307 Author: Huang Peng <shawn.p.huang@gmail.com>
16308 Date: 2008-07-16 19:44:22 +0800
16309
16310 refine coding style.
16311
16312 M engine/pydict.py
16313 M engine/pyparser.py
16314 M engine/pyutil.py
16315
16316 commit efddab95f00292f4ffe69fbcc71055c4d1abbdb3
16317 Author: Huang Peng <shawn.p.huang@gmail.com>
16318 Date: 2008-07-16 19:43:10 +0800
16319
16320 Replace tap with spaces.
16321
16322 M engine/pydict.py
16323 M engine/pyparser.py
16324 M engine/pyutil.py
16325
16326 commit 0239c6260e1f155122d18412142a1e4cb1eea0db
16327 Author: Huang Peng <shawn.p.huang@gmail.com>
16328 Date: 2008-07-16 19:42:10 +0800
16329
16330 Add pyutil.py
16331
16332 M engine/Makefile.am
16333 A engine/pyutil.py
16334
16335 commit 375f483fb28c88d443232576ff83bae74ac816c6
16336 Author: Huang Peng <shawn.p.huang@gmail.com>
16337 Date: 2008-07-16 19:40:45 +0800
16338
16339 Add pyparser.py
16340
16341 M engine/Makefile.am
16342 A engine/pyparser.py
16343
16344 commit 9a4965b22dedf93de263ffe65da07632baf2f4ba
16345 Author: Huang Peng <shawn.p.huang@gmail.com>
16346 Date: 2008-07-16 19:38:25 +0800
16347
16348 Add pydict.py
16349
16350 M engine/Makefile.am
16351 M engine/factory.py
16352 M engine/main.py
16353 A engine/pydict.py
16354
16355 commit 85b2059354c5cb53dae32b675d988079391a312a
16356 Author: Huang Peng <shawn.p.huang@gmail.com>
16357 Date: 2008-07-15 17:05:53 +0800
16358
16359 Change vim settings and replace tab with spaces.
16360
16361 M engine/engine.py
16362 M engine/factory.py
16363 M engine/main.py
16364
16365 commit 0a5aa6c5a7cee64a9327aa6c615f98dcebc0763f
16366 Author: Huang Peng <shawn.p.huang@gmail.com>
16367 Date: 2008-07-15 17:05:17 +0800
16368
16369 Change vim settings and replace tab with spaces.
16370
16371 M engine/engine.py
16372 M engine/factory.py
16373 M engine/main.py
16374
16375 commit bdd57e9ca4fd3eb300706e975e10ba9a70d46dc3
16376 Merge: 9294f79 1c4769d
16377 Author: Huang Peng <shawn.p.huang@gmail.com>
16378 Date: 2008-07-15 13:45:55 +0800
16379
16380 Merge commit 'tmpl/master'
16381
16382 commit 1c4769d2d09646449ff5349cb047f99d7dcfc3e8
16383 Author: Huang Peng <shawn.p.huang@gmail.com>
16384 Date: 2008-07-15 13:45:36 +0800
16385
16386 Fix a typo.
16387
16388 M engine/factory.py
16389
16390 commit 9294f791411fdfcd666cfdc1e30ae339024b9dcc
16391 Merge: 7c00eb9 41fd717
16392 Author: Huang Peng <shawn.p.huang@gmail.com>
16393 Date: 2008-07-15 13:44:29 +0800
16394
16395 Merge commit 'tmpl/master'
16396
16397 commit 41fd717f3b26c1e337e3d92f78f67c9a79926818
16398 Author: Huang Peng <shawn.p.huang@gmail.com>
16399 Date: 2008-07-15 13:42:15 +0800
16400
16401 Refine coding style
16402
16403 M engine/engine.py
16404 M engine/factory.py
16405 M engine/main.py
16406
16407 commit 7c00eb9e07f6a6ae093d772900415fe0d94585de
16408 Author: Huang Peng <shawn.p.huang@gmail.com>
16409 Date: 2008-07-04 11:22:09 +0800
16410
16411 Add exec in shell launch script.
16412
16413 M engine/ibus-engine-enchant.in
16414
16415 commit 406ee586236520b70aee9e247828bae2f94b1d8b
16416 Author: Huang Peng <shawn.p.huang@gmail.com>
16417 Date: 2008-07-04 11:20:59 +0800
16418
16419 Add exec in shell launch script.
16420
16421 M engine/ibus-engine-enchant.in
16422
16423 commit add0371bc27ecfc6555cde544d6792fc7273b9ad
16424 Author: Huang Peng <shawn.p.huang@gmail.com>
16425 Date: 2008-07-02 18:38:45 +0800
16426
16427 Add Destroy functions.
16428
16429 M engine/engine.py
16430 M engine/factory.py
16431
16432 commit cf49f79e427188914c2a425df05b066a3fb33b6e
16433 Author: Huang Peng <shawn.p.huang@gmail.com>
16434 Date: 2008-07-02 17:44:51 +0800
16435
16436 Create PinYin project from template.
16437
16438 M .gitignore
16439 M Makefile.am
16440 M configure.ac
16441 M engine/Makefile.am
16442 R097 ibus-tmpl.spec.in ibus-pinyin.spec.in
16443 M icons/Makefile.am
16444 R078 icons/ibus-enchant.svg icons/ibus-pinyin.svg
16445
16446 commit 7d8b4502603d38e023e9eba90a2a8391fded6edc
16447 Author: Huang Peng <shawn.p.huang@gmail.com>
16448 Date: 2008-07-02 17:20:00 +0800
16449
16450 Use @PACKAGE_NAME@ to replace ibus-tmpl
16451
16452 M ibus-tmpl.spec.in
16453
16454 commit 26e5a0081d754ef1f1a52cc1a4c8cbfbac4f4551
16455 Author: Huang Peng <shawn.p.huang@gmail.com>
16456 Date: 2008-07-02 17:16:57 +0800
16457
16458 Change header in icons/Makefile.am
16459
16460 M icons/Makefile.am
16461
16462 commit 3f3eecb73dfbdfca91d3bf7ae60ea8c7b41dd9bd
16463 Author: Huang Peng <shawn.p.huang@gmail.com>
16464 Date: 2008-07-02 17:12:20 +0800
16465
16466 define package_name macro.
16467
16468 M Makefile.am
16469 M configure.ac
16470
16471 commit f6303d37775aff4c1087bea9da91345a5c849afd
16472 Author: Huang Peng <shawn.p.huang@gmail.com>
16473 Date: 2008-06-29 16:48:38 +0800
16474
16475 Add icon.
16476
16477 M Makefile.am
16478 M configure.ac
16479 M engine/factory.py
16480 M ibus-tmpl.spec.in
16481 A icons/Makefile.am
16482 A icons/ibus-enchant.svg
16483
16484 commit b741f5db502727dfe40d4087019c882a85d96f9f
16485 Author: Huang Peng <shawn.p.huang@gmail.com>
16486 Date: 2008-06-29 16:18:54 +0800
16487
16488 Use GPLv2.
16489
16490 M Makefile.am
16491 M configure.ac
16492 M engine/Makefile.am
16493 M engine/engine.py
16494 M engine/factory.py
16495 M engine/ibus-engine-enchant.in
16496 M engine/main.py
16497 M ibus-tmpl.spec.in
16498 M m4/Makefile.am
16499
16500 commit 1e9f9787283d449fe7446a9fa19924c964980180
16501 Author: Huang Peng <shawn.p.huang@gmail.com>
16502 Date: 2008-06-29 16:10:36 +0800
16503
16504 Add a template engine - enchant.
16505
16506 M Makefile.am
16507 M configure.ac
16508 A engine/Makefile.am
16509 A engine/engine.py
16510 A engine/factory.py
16511 A engine/ibus-engine-enchant.in
16512 A engine/main.py
16513 M ibus-tmpl.spec.in
16514
16515 commit 058ff8eec8aa8a7e5e8e7b404f2f47d87456bfaa
16516 Author: Huang Peng <shawn.p.huang@gmail.com>
16517 Date: 2008-06-29 15:57:07 +0800
16518
16519 Import IBus template project.
16520
16521 A .gitignore
16522 A AUTHORS
16523 A COPYING
16524 A ChangeLog
16525 A Makefile.am
16526 A NEWS
16527 A README
16528 A autogen.sh
16529 A configure.ac
16530 A ibus-tmpl.spec.in
16531 A m4/.gitignore
16532 A m4/Makefile.am
16533 A m4/as-version.m4
16534 A po/.gitignore
16535 A po/Makevars
16536 A po/POTFILES.in
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
4 Software Foundation, Inc.
5
6 Copying and distribution of this file, with or without modification,
7 are permitted in any medium without royalty provided the copyright
8 notice and this notice are preserved. This file is offered as-is,
9 without warranty of any kind.
10
11 Basic Installation
12 ==================
13
14 Briefly, the shell command './configure && make && make install'
15 should configure, build, and install this package. The following
16 more-detailed instructions are generic; see the 'README' file for
17 instructions specific to this package. Some packages provide this
18 'INSTALL' file but do not implement all of the features documented
19 below. The lack of an optional feature in a given package is not
20 necessarily a bug. More recommendations for GNU packages can be found
21 in *note Makefile Conventions: (standards)Makefile Conventions.
22
23 The 'configure' shell script attempts to guess correct values for
24 various system-dependent variables used during compilation. It uses
25 those values to create a 'Makefile' in each directory of the package.
26 It may also create one or more '.h' files containing system-dependent
27 definitions. Finally, it creates a shell script 'config.status' that
28 you can run in the future to recreate the current configuration, and a
29 file 'config.log' containing compiler output (useful mainly for
30 debugging 'configure').
31
32 It can also use an optional file (typically called 'config.cache' and
33 enabled with '--cache-file=config.cache' or simply '-C') that saves the
34 results of its tests to speed up reconfiguring. Caching is disabled by
35 default to prevent problems with accidental use of stale cache files.
36
37 If you need to do unusual things to compile the package, please try
38 to figure out how 'configure' could check whether to do them, and mail
39 diffs or instructions to the address given in the 'README' so they can
40 be considered for the next release. If you are using the cache, and at
41 some point 'config.cache' contains results you don't want to keep, you
42 may remove or edit it.
43
44 The file 'configure.ac' (or 'configure.in') is used to create
45 'configure' by a program called 'autoconf'. You need 'configure.ac' if
46 you want to change it or regenerate 'configure' using a newer version of
47 'autoconf'.
48
49 The simplest way to compile this package is:
50
51 1. 'cd' to the directory containing the package's source code and type
52 './configure' to configure the package for your system.
53
54 Running 'configure' might take a while. While running, it prints
55 some messages telling which features it is checking for.
56
57 2. Type 'make' to compile the package.
58
59 3. Optionally, type 'make check' to run any self-tests that come with
60 the package, generally using the just-built uninstalled binaries.
61
62 4. Type 'make install' to install the programs and any data files and
63 documentation. When installing into a prefix owned by root, it is
64 recommended that the package be configured and built as a regular
65 user, and only the 'make install' phase executed with root
66 privileges.
67
68 5. Optionally, type 'make installcheck' to repeat any self-tests, but
69 this time using the binaries in their final installed location.
70 This target does not install anything. Running this target as a
71 regular user, particularly if the prior 'make install' required
72 root privileges, verifies that the installation completed
73 correctly.
74
75 6. You can remove the program binaries and object files from the
76 source code directory by typing 'make clean'. To also remove the
77 files that 'configure' created (so you can compile the package for
78 a different kind of computer), type 'make distclean'. There is
79 also a 'make maintainer-clean' target, but that is intended mainly
80 for the package's developers. If you use it, you may have to get
81 all sorts of other programs in order to regenerate files that came
82 with the distribution.
83
84 7. Often, you can also type 'make uninstall' to remove the installed
85 files again. In practice, not all packages have tested that
86 uninstallation works correctly, even though it is required by the
87 GNU Coding Standards.
88
89 8. Some packages, particularly those that use Automake, provide 'make
90 distcheck', which can by used by developers to test that all other
91 targets like 'make install' and 'make uninstall' work correctly.
92 This target is generally not run by end users.
93
94 Compilers and Options
95 =====================
96
97 Some systems require unusual options for compilation or linking that
98 the 'configure' script does not know about. Run './configure --help'
99 for details on some of the pertinent environment variables.
100
101 You can give 'configure' initial values for configuration parameters
102 by setting variables in the command line or in the environment. Here is
103 an example:
104
105 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
106
107 *Note Defining Variables::, for more details.
108
109 Compiling For Multiple Architectures
110 ====================================
111
112 You can compile the package for more than one kind of computer at the
113 same time, by placing the object files for each architecture in their
114 own directory. To do this, you can use GNU 'make'. 'cd' to the
115 directory where you want the object files and executables to go and run
116 the 'configure' script. 'configure' automatically checks for the source
117 code in the directory that 'configure' is in and in '..'. This is known
118 as a "VPATH" build.
119
120 With a non-GNU 'make', it is safer to compile the package for one
121 architecture at a time in the source code directory. After you have
122 installed the package for one architecture, use 'make distclean' before
123 reconfiguring for another architecture.
124
125 On MacOS X 10.5 and later systems, you can create libraries and
126 executables that work on multiple system types--known as "fat" or
127 "universal" binaries--by specifying multiple '-arch' options to the
128 compiler but only a single '-arch' option to the preprocessor. Like
129 this:
130
131 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
132 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
133 CPP="gcc -E" CXXCPP="g++ -E"
134
135 This is not guaranteed to produce working output in all cases, you
136 may have to build one architecture at a time and combine the results
137 using the 'lipo' tool if you have problems.
138
139 Installation Names
140 ==================
141
142 By default, 'make install' installs the package's commands under
143 '/usr/local/bin', include files under '/usr/local/include', etc. You
144 can specify an installation prefix other than '/usr/local' by giving
145 'configure' the option '--prefix=PREFIX', where PREFIX must be an
146 absolute file name.
147
148 You can specify separate installation prefixes for
149 architecture-specific files and architecture-independent files. If you
150 pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
151 PREFIX as the prefix for installing programs and libraries.
152 Documentation and other data files still use the regular prefix.
153
154 In addition, if you use an unusual directory layout you can give
155 options like '--bindir=DIR' to specify different values for particular
156 kinds of files. Run 'configure --help' for a list of the directories
157 you can set and what kinds of files go in them. In general, the default
158 for these options is expressed in terms of '${prefix}', so that
159 specifying just '--prefix' will affect all of the other directory
160 specifications that were not explicitly provided.
161
162 The most portable way to affect installation locations is to pass the
163 correct locations to 'configure'; however, many packages provide one or
164 both of the following shortcuts of passing variable assignments to the
165 'make install' command line to change installation locations without
166 having to reconfigure or recompile.
167
168 The first method involves providing an override variable for each
169 affected directory. For example, 'make install
170 prefix=/alternate/directory' will choose an alternate location for all
171 directory configuration variables that were expressed in terms of
172 '${prefix}'. Any directories that were specified during 'configure',
173 but not in terms of '${prefix}', must each be overridden at install time
174 for the entire installation to be relocated. The approach of makefile
175 variable overrides for each directory variable is required by the GNU
176 Coding Standards, and ideally causes no recompilation. However, some
177 platforms have known limitations with the semantics of shared libraries
178 that end up requiring recompilation when using this method, particularly
179 noticeable in packages that use GNU Libtool.
180
181 The second method involves providing the 'DESTDIR' variable. For
182 example, 'make install DESTDIR=/alternate/directory' will prepend
183 '/alternate/directory' before all installation names. The approach of
184 'DESTDIR' overrides is not required by the GNU Coding Standards, and
185 does not work on platforms that have drive letters. On the other hand,
186 it does better at avoiding recompilation issues, and works well even
187 when some directory options were not specified in terms of '${prefix}'
188 at 'configure' time.
189
190 Optional Features
191 =================
192
193 If the package supports it, you can cause programs to be installed
194 with an extra prefix or suffix on their names by giving 'configure' the
195 option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
196
197 Some packages pay attention to '--enable-FEATURE' options to
198 'configure', where FEATURE indicates an optional part of the package.
199 They may also pay attention to '--with-PACKAGE' options, where PACKAGE
200 is something like 'gnu-as' or 'x' (for the X Window System). The
201 'README' should mention any '--enable-' and '--with-' options that the
202 package recognizes.
203
204 For packages that use the X Window System, 'configure' can usually
205 find the X include and library files automatically, but if it doesn't,
206 you can use the 'configure' options '--x-includes=DIR' and
207 '--x-libraries=DIR' to specify their locations.
208
209 Some packages offer the ability to configure how verbose the
210 execution of 'make' will be. For these packages, running './configure
211 --enable-silent-rules' sets the default to minimal output, which can be
212 overridden with 'make V=1'; while running './configure
213 --disable-silent-rules' sets the default to verbose, which can be
214 overridden with 'make V=0'.
215
216 Particular systems
217 ==================
218
219 On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
220 is not installed, it is recommended to use the following options in
221 order to use an ANSI C compiler:
222
223 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
224
225 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
226
227 HP-UX 'make' updates targets which have the same timestamps as their
228 prerequisites, which makes it generally unusable when shipped generated
229 files such as 'configure' are involved. Use GNU 'make' instead.
230
231 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
232 parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
233 workaround. If GNU CC is not installed, it is therefore recommended to
234 try
235
236 ./configure CC="cc"
237
238 and if that doesn't work, try
239
240 ./configure CC="cc -nodtk"
241
242 On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
243 directory contains several dysfunctional programs; working variants of
244 these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
245 in your 'PATH', put it _after_ '/usr/bin'.
246
247 On Haiku, software installed for all users goes in '/boot/common',
248 not '/usr/local'. It is recommended to use the following options:
249
250 ./configure --prefix=/boot/common
251
252 Specifying the System Type
253 ==========================
254
255 There may be some features 'configure' cannot figure out
256 automatically, but needs to determine by the type of machine the package
257 will run on. Usually, assuming the package is built to be run on the
258 _same_ architectures, 'configure' can figure that out, but if it prints
259 a message saying it cannot guess the machine type, give it the
260 '--build=TYPE' option. TYPE can either be a short name for the system
261 type, such as 'sun4', or a canonical name which has the form:
262
263 CPU-COMPANY-SYSTEM
264
265 where SYSTEM can have one of these forms:
266
267 OS
268 KERNEL-OS
269
270 See the file 'config.sub' for the possible values of each field. If
271 'config.sub' isn't included in this package, then this package doesn't
272 need to know the machine type.
273
274 If you are _building_ compiler tools for cross-compiling, you should
275 use the option '--target=TYPE' to select the type of system they will
276 produce code for.
277
278 If you want to _use_ a cross compiler, that generates code for a
279 platform different from the build platform, you should specify the
280 "host" platform (i.e., that on which the generated programs will
281 eventually be run) with '--host=TYPE'.
282
283 Sharing Defaults
284 ================
285
286 If you want to set default values for 'configure' scripts to share,
287 you can create a site shell script called 'config.site' that gives
288 default values for variables like 'CC', 'cache_file', and 'prefix'.
289 'configure' looks for 'PREFIX/share/config.site' if it exists, then
290 'PREFIX/etc/config.site' if it exists. Or, you can set the
291 'CONFIG_SITE' environment variable to the location of the site script.
292 A warning: not all 'configure' scripts look for a site script.
293
294 Defining Variables
295 ==================
296
297 Variables not defined in a site shell script can be set in the
298 environment passed to 'configure'. However, some packages may run
299 configure again during the build, and the customized values of these
300 variables may be lost. In order to avoid this problem, you should set
301 them in the 'configure' command line, using 'VAR=value'. For example:
302
303 ./configure CC=/usr/local2/bin/gcc
304
305 causes the specified 'gcc' to be used as the C compiler (unless it is
306 overridden in the site shell script).
307
308 Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
309 Autoconf limitation. Until the limitation is lifted, you can use this
310 workaround:
311
312 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
313
314 'configure' Invocation
315 ======================
316
317 'configure' recognizes the following options to control how it
318 operates.
319
320 '--help'
321 '-h'
322 Print a summary of all of the options to 'configure', and exit.
323
324 '--help=short'
325 '--help=recursive'
326 Print a summary of the options unique to this package's
327 'configure', and exit. The 'short' variant lists options used only
328 in the top level, while the 'recursive' variant lists options also
329 present in any nested packages.
330
331 '--version'
332 '-V'
333 Print the version of Autoconf used to generate the 'configure'
334 script, and exit.
335
336 '--cache-file=FILE'
337 Enable the cache: use and save the results of the tests in FILE,
338 traditionally 'config.cache'. FILE defaults to '/dev/null' to
339 disable caching.
340
341 '--config-cache'
342 '-C'
343 Alias for '--cache-file=config.cache'.
344
345 '--quiet'
346 '--silent'
347 '-q'
348 Do not print messages saying which checks are being made. To
349 suppress all normal output, redirect it to '/dev/null' (any error
350 messages will still be shown).
351
352 '--srcdir=DIR'
353 Look for the package's source code in directory DIR. Usually
354 'configure' can determine that directory automatically.
355
356 '--prefix=DIR'
357 Use DIR as the installation prefix. *note Installation Names:: for
358 more details, including other options available for fine-tuning the
359 installation locations.
360
361 '--no-create'
362 '-n'
363 Run the configure checks, but stop before creating any output
364 files.
365
366 'configure' also accepts some other, not widely useful, options. Run
367 'configure --help' for more details.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22 VPATH = @srcdir@
23 am__is_gnu_make = { \
24 if test -z '$(MAKELEVEL)'; then \
25 false; \
26 elif test -n '$(MAKE_HOST)'; then \
27 true; \
28 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 true; \
30 else \
31 false; \
32 fi; \
33 }
34 am__make_running_with_option = \
35 case $${target_option-} in \
36 ?) ;; \
37 *) echo "am__make_running_with_option: internal error: invalid" \
38 "target option '$${target_option-}' specified" >&2; \
39 exit 1;; \
40 esac; \
41 has_opt=no; \
42 sane_makeflags=$$MAKEFLAGS; \
43 if $(am__is_gnu_make); then \
44 sane_makeflags=$$MFLAGS; \
45 else \
46 case $$MAKEFLAGS in \
47 *\\[\ \ ]*) \
48 bs=\\; \
49 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
50 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
51 esac; \
52 fi; \
53 skip_next=no; \
54 strip_trailopt () \
55 { \
56 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
57 }; \
58 for flg in $$sane_makeflags; do \
59 test $$skip_next = yes && { skip_next=no; continue; }; \
60 case $$flg in \
61 *=*|--*) continue;; \
62 -*I) strip_trailopt 'I'; skip_next=yes;; \
63 -*I?*) strip_trailopt 'I';; \
64 -*O) strip_trailopt 'O'; skip_next=yes;; \
65 -*O?*) strip_trailopt 'O';; \
66 -*l) strip_trailopt 'l'; skip_next=yes;; \
67 -*l?*) strip_trailopt 'l';; \
68 -[dEDm]) skip_next=yes;; \
69 -[JT]) skip_next=yes;; \
70 esac; \
71 case $$flg in \
72 *$$target_option*) has_opt=yes; break;; \
73 esac; \
74 done; \
75 test $$has_opt = yes
76 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
77 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
78 pkgdatadir = $(datadir)/@PACKAGE@
79 pkgincludedir = $(includedir)/@PACKAGE@
80 pkglibdir = $(libdir)/@PACKAGE@
81 pkglibexecdir = $(libexecdir)/@PACKAGE@
82 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
83 install_sh_DATA = $(install_sh) -c -m 644
84 install_sh_PROGRAM = $(install_sh) -c
85 install_sh_SCRIPT = $(install_sh) -c
86 INSTALL_HEADER = $(INSTALL_DATA)
87 transform = $(program_transform_name)
88 NORMAL_INSTALL = :
89 PRE_INSTALL = :
90 POST_INSTALL = :
91 NORMAL_UNINSTALL = :
92 PRE_UNINSTALL = :
93 POST_UNINSTALL = :
94 build_triplet = @build@
95 host_triplet = @host@
96 subdir = .
97 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
99 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
100 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
101 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
102 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
103 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
104 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
105 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
106 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
107 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 $(ACLOCAL_M4)
109 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
110 $(am__configure_deps) $(am__DIST_COMMON)
111 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
112 configure.lineno config.status.lineno
113 mkinstalldirs = $(install_sh) -d
114 CONFIG_HEADER = config.h
115 CONFIG_CLEAN_FILES = ibus-libpinyin.spec
116 CONFIG_CLEAN_VPATH_FILES =
117 AM_V_P = $(am__v_P_@AM_V@)
118 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
119 am__v_P_0 = false
120 am__v_P_1 = :
121 AM_V_GEN = $(am__v_GEN_@AM_V@)
122 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
123 am__v_GEN_0 = @echo " GEN " $@;
124 am__v_GEN_1 =
125 AM_V_at = $(am__v_at_@AM_V@)
126 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
127 am__v_at_0 = @
128 am__v_at_1 =
129 SOURCES =
130 DIST_SOURCES =
131 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
132 ctags-recursive dvi-recursive html-recursive info-recursive \
133 install-data-recursive install-dvi-recursive \
134 install-exec-recursive install-html-recursive \
135 install-info-recursive install-pdf-recursive \
136 install-ps-recursive install-recursive installcheck-recursive \
137 installdirs-recursive pdf-recursive ps-recursive \
138 tags-recursive uninstall-recursive
139 am__can_run_installinfo = \
140 case $$AM_UPDATE_INFO_DIR in \
141 n|no|NO) false;; \
142 *) (install-info --version) >/dev/null 2>&1;; \
143 esac
144 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
145 distclean-recursive maintainer-clean-recursive
146 am__recursive_targets = \
147 $(RECURSIVE_TARGETS) \
148 $(RECURSIVE_CLEAN_TARGETS) \
149 $(am__extra_recursive_targets)
150 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
151 cscope distdir distdir-am dist dist-all distcheck
152 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
153 config.h.in
154 # Read a list of newline-separated strings from the standard input,
155 # and print each of them once, without duplicates. Input order is
156 # *not* preserved.
157 am__uniquify_input = $(AWK) '\
158 BEGIN { nonempty = 0; } \
159 { items[$$0] = 1; nonempty = 1; } \
160 END { if (nonempty) { for (i in items) print i; }; } \
161 '
162 # Make sure the list of sources is unique. This is necessary because,
163 # e.g., the same source file might be shared among _SOURCES variables
164 # for different programs/libraries.
165 am__define_uniq_tagged_files = \
166 list='$(am__tagged_files)'; \
167 unique=`for i in $$list; do \
168 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
169 done | $(am__uniquify_input)`
170 DIST_SUBDIRS = data lua scripts src setup m4 po
171 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
172 $(srcdir)/ibus-libpinyin.spec.in ABOUT-NLS AUTHORS COPYING \
173 ChangeLog INSTALL NEWS README compile config.guess \
174 config.rpath config.sub install-sh ltmain.sh missing \
175 py-compile
176 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
177 distdir = $(PACKAGE)-$(VERSION)
178 top_distdir = $(distdir)
179 am__remove_distdir = \
180 if test -d "$(distdir)"; then \
181 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
182 && rm -rf "$(distdir)" \
183 || { sleep 5 && rm -rf "$(distdir)"; }; \
184 else :; fi
185 am__post_remove_distdir = $(am__remove_distdir)
186 am__relativize = \
187 dir0=`pwd`; \
188 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
189 sed_rest='s,^[^/]*/*,,'; \
190 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
191 sed_butlast='s,/*[^/]*$$,,'; \
192 while test -n "$$dir1"; do \
193 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
194 if test "$$first" != "."; then \
195 if test "$$first" = ".."; then \
196 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
197 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
198 else \
199 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
200 if test "$$first2" = "$$first"; then \
201 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
202 else \
203 dir2="../$$dir2"; \
204 fi; \
205 dir0="$$dir0"/"$$first"; \
206 fi; \
207 fi; \
208 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
209 done; \
210 reldir="$$dir2"
211 DIST_ARCHIVES = $(distdir).tar.gz
212 GZIP_ENV = --best
213 DIST_TARGETS = dist-gzip
214 # Exists only to be overridden by the user if desired.
215 AM_DISTCHECK_DVI_TARGET = dvi
216 distuninstallcheck_listfiles = find . -type f -print
217 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
218 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
219 distcleancheck_listfiles = find . -type f -print
220 ACLOCAL = @ACLOCAL@
221 AMTAR = @AMTAR@
222 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
223 AR = @AR@
224 AUTOCONF = @AUTOCONF@
225 AUTOHEADER = @AUTOHEADER@
226 AUTOMAKE = @AUTOMAKE@
227 AWK = @AWK@
228 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
229 BOOST_ROOT = @BOOST_ROOT@
230 CC = @CC@
231 CCDEPMODE = @CCDEPMODE@
232 CFLAGS = @CFLAGS@
233 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
234 CPP = @CPP@
235 CPPFLAGS = @CPPFLAGS@
236 CSCOPE = @CSCOPE@
237 CTAGS = @CTAGS@
238 CXX = @CXX@
239 CXXCPP = @CXXCPP@
240 CXXDEPMODE = @CXXDEPMODE@
241 CXXFLAGS = @CXXFLAGS@
242 CYGPATH_W = @CYGPATH_W@
243 DEFS = @DEFS@
244 DEPDIR = @DEPDIR@
245 DISTCHECK_CONFIGURE_FLAGS = \
246 CFLAGS='-g3 -O3 -Wall' \
247 CXXFLAGS='-g3 -O3 -Wall' \
248 $(NULL)
249
250 DLLTOOL = @DLLTOOL@
251 DSYMUTIL = @DSYMUTIL@
252 DUMPBIN = @DUMPBIN@
253 ECHO_C = @ECHO_C@
254 ECHO_N = @ECHO_N@
255 ECHO_T = @ECHO_T@
256 EGREP = @EGREP@
257 ENV = @ENV@
258 ETAGS = @ETAGS@
259 EXEEXT = @EXEEXT@
260 FGREP = @FGREP@
261 FILECMD = @FILECMD@
262 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
263 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
264 GIO2_CFLAGS = @GIO2_CFLAGS@
265 GIO2_LIBS = @GIO2_LIBS@
266 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
267 GMSGFMT = @GMSGFMT@
268 GMSGFMT_015 = @GMSGFMT_015@
269 GREP = @GREP@
270 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
271 IBUS_CFLAGS = @IBUS_CFLAGS@
272 IBUS_LIBS = @IBUS_LIBS@
273 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
274 INSTALL = @INSTALL@
275 INSTALL_DATA = @INSTALL_DATA@
276 INSTALL_PROGRAM = @INSTALL_PROGRAM@
277 INSTALL_SCRIPT = @INSTALL_SCRIPT@
278 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
279 INTLLIBS = @INTLLIBS@
280 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
281 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
282 JSONGLIB_LIBS = @JSONGLIB_LIBS@
283 LD = @LD@
284 LDFLAGS = @LDFLAGS@
285 LIBICONV = @LIBICONV@
286 LIBINTL = @LIBINTL@
287 LIBOBJS = @LIBOBJS@
288 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
289 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
290 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
291 LIBS = @LIBS@
292 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
293 LIBSOUP_LIBS = @LIBSOUP_LIBS@
294 LIBTOOL = @LIBTOOL@
295 LIPO = @LIPO@
296 LN_S = @LN_S@
297 LTLIBICONV = @LTLIBICONV@
298 LTLIBINTL = @LTLIBINTL@
299 LTLIBOBJS = @LTLIBOBJS@
300 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
301 LUA_CFLAGS = @LUA_CFLAGS@
302 LUA_LIBS = @LUA_LIBS@
303 MAINT = @MAINT@
304 MAKEINFO = @MAKEINFO@
305 MANIFEST_TOOL = @MANIFEST_TOOL@
306 MKDIR_P = @MKDIR_P@
307 MSGFMT = @MSGFMT@
308 MSGFMT_015 = @MSGFMT_015@
309 MSGMERGE = @MSGMERGE@
310 NM = @NM@
311 NMEDIT = @NMEDIT@
312 OBJDUMP = @OBJDUMP@
313 OBJEXT = @OBJEXT@
314 OPENCC_CFLAGS = @OPENCC_CFLAGS@
315 OPENCC_LIBS = @OPENCC_LIBS@
316 OTOOL = @OTOOL@
317 OTOOL64 = @OTOOL64@
318 PACKAGE = @PACKAGE@
319 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
320 PACKAGE_NAME = @PACKAGE_NAME@
321 PACKAGE_STRING = @PACKAGE_STRING@
322 PACKAGE_TARNAME = @PACKAGE_TARNAME@
323 PACKAGE_URL = @PACKAGE_URL@
324 PACKAGE_VERSION = @PACKAGE_VERSION@
325 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
326 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
327 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
328 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
329 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
330 PATH_SEPARATOR = @PATH_SEPARATOR@
331 PKG_CONFIG = @PKG_CONFIG@
332 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
333 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
334 POSUB = @POSUB@
335 PYTHON = @PYTHON@
336 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
337 PYTHON_PLATFORM = @PYTHON_PLATFORM@
338 PYTHON_PREFIX = @PYTHON_PREFIX@
339 PYTHON_VERSION = @PYTHON_VERSION@
340 RANLIB = @RANLIB@
341 SED = @SED@
342 SET_MAKE = @SET_MAKE@
343 SHELL = @SHELL@
344 SQLITE3 = @SQLITE3@
345 SQLITE_CFLAGS = @SQLITE_CFLAGS@
346 SQLITE_LIBS = @SQLITE_LIBS@
347 STRIP = @STRIP@
348 USE_NLS = @USE_NLS@
349 VERSION = @VERSION@
350 XGETTEXT = @XGETTEXT@
351 XGETTEXT_015 = @XGETTEXT_015@
352 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
353 abs_builddir = @abs_builddir@
354 abs_srcdir = @abs_srcdir@
355 abs_top_builddir = @abs_top_builddir@
356 abs_top_srcdir = @abs_top_srcdir@
357 ac_ct_AR = @ac_ct_AR@
358 ac_ct_CC = @ac_ct_CC@
359 ac_ct_CXX = @ac_ct_CXX@
360 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
361 am__include = @am__include@
362 am__leading_dot = @am__leading_dot@
363 am__quote = @am__quote@
364 am__tar = @am__tar@
365 am__untar = @am__untar@
366 bindir = @bindir@
367 build = @build@
368 build_alias = @build_alias@
369 build_cpu = @build_cpu@
370 build_os = @build_os@
371 build_vendor = @build_vendor@
372 builddir = @builddir@
373 datadir = @datadir@
374 datarootdir = @datarootdir@
375 docdir = @docdir@
376 dvidir = @dvidir@
377 exec_prefix = @exec_prefix@
378 gsettingsschemadir = @gsettingsschemadir@
379 host = @host@
380 host_alias = @host_alias@
381 host_cpu = @host_cpu@
382 host_os = @host_os@
383 host_vendor = @host_vendor@
384 htmldir = @htmldir@
385 includedir = @includedir@
386 infodir = @infodir@
387 install_sh = @install_sh@
388 libdir = @libdir@
389 libexecdir = @libexecdir@
390 localedir = @localedir@
391 localstatedir = @localstatedir@
392 mandir = @mandir@
393 mkdir_p = @mkdir_p@
394 oldincludedir = @oldincludedir@
395 pdfdir = @pdfdir@
396 pkgpyexecdir = @pkgpyexecdir@
397 pkgpythondir = @pkgpythondir@
398 prefix = @prefix@
399 program_transform_name = @program_transform_name@
400 psdir = @psdir@
401 pyexecdir = @pyexecdir@
402 pythondir = @pythondir@
403 runstatedir = @runstatedir@
404 sbindir = @sbindir@
405 sharedstatedir = @sharedstatedir@
406 srcdir = @srcdir@
407 sysconfdir = @sysconfdir@
408 target_alias = @target_alias@
409 top_build_prefix = @top_build_prefix@
410 top_builddir = @top_builddir@
411 top_srcdir = @top_srcdir@
412 @IBUS_BUILD_LUA_EXTENSION_TRUE@LUADIR = lua
413 SUBDIRS = \
414 data \
415 $(LUADIR) \
416 scripts \
417 src \
418 setup \
419 m4 \
420 po \
421 $(NULL)
422
423 ACLOCAL_AMFLAGS = -I m4
424 EXTRA_DIST = config.rpath \
425 autogen.sh \
426 ibus-libpinyin.spec.in \
427 $(NULL)
428
429 noinst_DIST = \
430 $(NULL)
431
432 DISTCLEANFILES = \
433 po/stamp-it \
434 $(NULL)
435
436 all: config.h
437 $(MAKE) $(AM_MAKEFLAGS) all-recursive
438
439 .SUFFIXES:
440 am--refresh: Makefile
441 @:
442 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
443 @for dep in $?; do \
444 case '$(am__configure_deps)' in \
445 *$$dep*) \
446 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
447 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
448 && exit 0; \
449 exit 1;; \
450 esac; \
451 done; \
452 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
453 $(am__cd) $(top_srcdir) && \
454 $(AUTOMAKE) --gnu Makefile
455 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
456 @case '$?' in \
457 *config.status*) \
458 echo ' $(SHELL) ./config.status'; \
459 $(SHELL) ./config.status;; \
460 *) \
461 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
462 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
463 esac;
464
465 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
466 $(SHELL) ./config.status --recheck
467
468 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
469 $(am__cd) $(srcdir) && $(AUTOCONF)
470 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
471 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
472 $(am__aclocal_m4_deps):
473
474 config.h: stamp-h1
475 @test -f $@ || rm -f stamp-h1
476 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
477
478 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
479 @rm -f stamp-h1
480 cd $(top_builddir) && $(SHELL) ./config.status config.h
481 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
482 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
483 rm -f stamp-h1
484 touch $@
485
486 distclean-hdr:
487 -rm -f config.h stamp-h1
488 ibus-libpinyin.spec: $(top_builddir)/config.status $(srcdir)/ibus-libpinyin.spec.in
489 cd $(top_builddir) && $(SHELL) ./config.status $@
490
491 mostlyclean-libtool:
492 -rm -f *.lo
493
494 clean-libtool:
495 -rm -rf .libs _libs
496
497 distclean-libtool:
498 -rm -f libtool config.lt
499
500 # This directory's subdirectories are mostly independent; you can cd
501 # into them and run 'make' without going through this Makefile.
502 # To change the values of 'make' variables: instead of editing Makefiles,
503 # (1) if the variable is set in 'config.status', edit 'config.status'
504 # (which will cause the Makefiles to be regenerated when you run 'make');
505 # (2) otherwise, pass the desired values on the 'make' command line.
506 $(am__recursive_targets):
507 @fail=; \
508 if $(am__make_keepgoing); then \
509 failcom='fail=yes'; \
510 else \
511 failcom='exit 1'; \
512 fi; \
513 dot_seen=no; \
514 target=`echo $@ | sed s/-recursive//`; \
515 case "$@" in \
516 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
517 *) list='$(SUBDIRS)' ;; \
518 esac; \
519 for subdir in $$list; do \
520 echo "Making $$target in $$subdir"; \
521 if test "$$subdir" = "."; then \
522 dot_seen=yes; \
523 local_target="$$target-am"; \
524 else \
525 local_target="$$target"; \
526 fi; \
527 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
528 || eval $$failcom; \
529 done; \
530 if test "$$dot_seen" = "no"; then \
531 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
532 fi; test -z "$$fail"
533
534 ID: $(am__tagged_files)
535 $(am__define_uniq_tagged_files); mkid -fID $$unique
536 tags: tags-recursive
537 TAGS: tags
538
539 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
540 set x; \
541 here=`pwd`; \
542 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
543 include_option=--etags-include; \
544 empty_fix=.; \
545 else \
546 include_option=--include; \
547 empty_fix=; \
548 fi; \
549 list='$(SUBDIRS)'; for subdir in $$list; do \
550 if test "$$subdir" = .; then :; else \
551 test ! -f $$subdir/TAGS || \
552 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
553 fi; \
554 done; \
555 $(am__define_uniq_tagged_files); \
556 shift; \
557 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
558 test -n "$$unique" || unique=$$empty_fix; \
559 if test $$# -gt 0; then \
560 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
561 "$$@" $$unique; \
562 else \
563 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
564 $$unique; \
565 fi; \
566 fi
567 ctags: ctags-recursive
568
569 CTAGS: ctags
570 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
571 $(am__define_uniq_tagged_files); \
572 test -z "$(CTAGS_ARGS)$$unique" \
573 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
574 $$unique
575
576 GTAGS:
577 here=`$(am__cd) $(top_builddir) && pwd` \
578 && $(am__cd) $(top_srcdir) \
579 && gtags -i $(GTAGS_ARGS) "$$here"
580 cscope: cscope.files
581 test ! -s cscope.files \
582 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
583 clean-cscope:
584 -rm -f cscope.files
585 cscope.files: clean-cscope cscopelist
586 cscopelist: cscopelist-recursive
587
588 cscopelist-am: $(am__tagged_files)
589 list='$(am__tagged_files)'; \
590 case "$(srcdir)" in \
591 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
592 *) sdir=$(subdir)/$(srcdir) ;; \
593 esac; \
594 for i in $$list; do \
595 if test -f "$$i"; then \
596 echo "$(subdir)/$$i"; \
597 else \
598 echo "$$sdir/$$i"; \
599 fi; \
600 done >> $(top_builddir)/cscope.files
601
602 distclean-tags:
603 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
604 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
605 distdir: $(BUILT_SOURCES)
606 $(MAKE) $(AM_MAKEFLAGS) distdir-am
607
608 distdir-am: $(DISTFILES)
609 $(am__remove_distdir)
610 test -d "$(distdir)" || mkdir "$(distdir)"
611 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
612 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
613 list='$(DISTFILES)'; \
614 dist_files=`for file in $$list; do echo $$file; done | \
615 sed -e "s|^$$srcdirstrip/||;t" \
616 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
617 case $$dist_files in \
618 */*) $(MKDIR_P) `echo "$$dist_files" | \
619 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
620 sort -u` ;; \
621 esac; \
622 for file in $$dist_files; do \
623 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
624 if test -d $$d/$$file; then \
625 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
626 if test -d "$(distdir)/$$file"; then \
627 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
628 fi; \
629 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
630 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
631 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
632 fi; \
633 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
634 else \
635 test -f "$(distdir)/$$file" \
636 || cp -p $$d/$$file "$(distdir)/$$file" \
637 || exit 1; \
638 fi; \
639 done
640 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
641 if test "$$subdir" = .; then :; else \
642 $(am__make_dryrun) \
643 || test -d "$(distdir)/$$subdir" \
644 || $(MKDIR_P) "$(distdir)/$$subdir" \
645 || exit 1; \
646 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
647 $(am__relativize); \
648 new_distdir=$$reldir; \
649 dir1=$$subdir; dir2="$(top_distdir)"; \
650 $(am__relativize); \
651 new_top_distdir=$$reldir; \
652 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
653 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
654 ($(am__cd) $$subdir && \
655 $(MAKE) $(AM_MAKEFLAGS) \
656 top_distdir="$$new_top_distdir" \
657 distdir="$$new_distdir" \
658 am__remove_distdir=: \
659 am__skip_length_check=: \
660 am__skip_mode_fix=: \
661 distdir) \
662 || exit 1; \
663 fi; \
664 done
665 $(MAKE) $(AM_MAKEFLAGS) \
666 top_distdir="$(top_distdir)" distdir="$(distdir)" \
667 dist-hook
668 -test -n "$(am__skip_mode_fix)" \
669 || find "$(distdir)" -type d ! -perm -755 \
670 -exec chmod u+rwx,go+rx {} \; -o \
671 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
672 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
673 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
674 || chmod -R a+r "$(distdir)"
675 dist-gzip: distdir
676 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
677 $(am__post_remove_distdir)
678
679 dist-bzip2: distdir
680 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
681 $(am__post_remove_distdir)
682
683 dist-lzip: distdir
684 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
685 $(am__post_remove_distdir)
686
687 dist-xz: distdir
688 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
689 $(am__post_remove_distdir)
690
691 dist-zstd: distdir
692 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
693 $(am__post_remove_distdir)
694
695 dist-tarZ: distdir
696 @echo WARNING: "Support for distribution archives compressed with" \
697 "legacy program 'compress' is deprecated." >&2
698 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
699 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
700 $(am__post_remove_distdir)
701
702 dist-shar: distdir
703 @echo WARNING: "Support for shar distribution archives is" \
704 "deprecated." >&2
705 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
706 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
707 $(am__post_remove_distdir)
708
709 dist-zip: distdir
710 -rm -f $(distdir).zip
711 zip -rq $(distdir).zip $(distdir)
712 $(am__post_remove_distdir)
713
714 dist dist-all:
715 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
716 $(am__post_remove_distdir)
717
718 # This target untars the dist file and tries a VPATH configuration. Then
719 # it guarantees that the distribution is self-contained by making another
720 # tarfile.
721 distcheck: dist
722 case '$(DIST_ARCHIVES)' in \
723 *.tar.gz*) \
724 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
725 *.tar.bz2*) \
726 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
727 *.tar.lz*) \
728 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
729 *.tar.xz*) \
730 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
731 *.tar.Z*) \
732 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
733 *.shar.gz*) \
734 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
735 *.zip*) \
736 unzip $(distdir).zip ;;\
737 *.tar.zst*) \
738 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
739 esac
740 chmod -R a-w $(distdir)
741 chmod u+w $(distdir)
742 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
743 chmod a-w $(distdir)
744 test -d $(distdir)/_build || exit 0; \
745 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
746 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
747 && am__cwd=`pwd` \
748 && $(am__cd) $(distdir)/_build/sub \
749 && ../../configure \
750 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
751 $(DISTCHECK_CONFIGURE_FLAGS) \
752 --srcdir=../.. --prefix="$$dc_install_base" \
753 && $(MAKE) $(AM_MAKEFLAGS) \
754 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
755 && $(MAKE) $(AM_MAKEFLAGS) check \
756 && $(MAKE) $(AM_MAKEFLAGS) install \
757 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
758 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
759 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
760 distuninstallcheck \
761 && chmod -R a-w "$$dc_install_base" \
762 && ({ \
763 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
764 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
765 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
766 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
767 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
768 } || { rm -rf "$$dc_destdir"; exit 1; }) \
769 && rm -rf "$$dc_destdir" \
770 && $(MAKE) $(AM_MAKEFLAGS) dist \
771 && rm -rf $(DIST_ARCHIVES) \
772 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
773 && cd "$$am__cwd" \
774 || exit 1
775 $(am__post_remove_distdir)
776 @(echo "$(distdir) archives ready for distribution: "; \
777 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
778 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
779 distuninstallcheck:
780 @test -n '$(distuninstallcheck_dir)' || { \
781 echo 'ERROR: trying to run $@ with an empty' \
782 '$$(distuninstallcheck_dir)' >&2; \
783 exit 1; \
784 }; \
785 $(am__cd) '$(distuninstallcheck_dir)' || { \
786 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
787 exit 1; \
788 }; \
789 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
790 || { echo "ERROR: files left after uninstall:" ; \
791 if test -n "$(DESTDIR)"; then \
792 echo " (check DESTDIR support)"; \
793 fi ; \
794 $(distuninstallcheck_listfiles) ; \
795 exit 1; } >&2
796 distcleancheck: distclean
797 @if test '$(srcdir)' = . ; then \
798 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
799 exit 1 ; \
800 fi
801 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
802 || { echo "ERROR: files left in build directory after distclean:" ; \
803 $(distcleancheck_listfiles) ; \
804 exit 1; } >&2
805 check-am: all-am
806 check: check-recursive
807 all-am: Makefile config.h
808 installdirs: installdirs-recursive
809 installdirs-am:
810 install: install-recursive
811 install-exec: install-exec-recursive
812 install-data: install-data-recursive
813 uninstall: uninstall-recursive
814
815 install-am: all-am
816 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
817
818 installcheck: installcheck-recursive
819 install-strip:
820 if test -z '$(STRIP)'; then \
821 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
822 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
823 install; \
824 else \
825 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
826 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
827 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
828 fi
829 mostlyclean-generic:
830
831 clean-generic:
832
833 distclean-generic:
834 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
835 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
836 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
837
838 maintainer-clean-generic:
839 @echo "This command is intended for maintainers to use"
840 @echo "it deletes files that may require special tools to rebuild."
841 clean: clean-recursive
842
843 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
844
845 distclean: distclean-recursive
846 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
847 -rm -f Makefile
848 distclean-am: clean-am distclean-generic distclean-hdr \
849 distclean-libtool distclean-tags
850
851 dvi: dvi-recursive
852
853 dvi-am:
854
855 html: html-recursive
856
857 html-am:
858
859 info: info-recursive
860
861 info-am:
862
863 install-data-am:
864
865 install-dvi: install-dvi-recursive
866
867 install-dvi-am:
868
869 install-exec-am:
870
871 install-html: install-html-recursive
872
873 install-html-am:
874
875 install-info: install-info-recursive
876
877 install-info-am:
878
879 install-man:
880
881 install-pdf: install-pdf-recursive
882
883 install-pdf-am:
884
885 install-ps: install-ps-recursive
886
887 install-ps-am:
888
889 installcheck-am:
890
891 maintainer-clean: maintainer-clean-recursive
892 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
893 -rm -rf $(top_srcdir)/autom4te.cache
894 -rm -f Makefile
895 maintainer-clean-am: distclean-am maintainer-clean-generic
896
897 mostlyclean: mostlyclean-recursive
898
899 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
900
901 pdf: pdf-recursive
902
903 pdf-am:
904
905 ps: ps-recursive
906
907 ps-am:
908
909 uninstall-am:
910
911 .MAKE: $(am__recursive_targets) all install-am install-strip
912
913 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
914 am--refresh check check-am clean clean-cscope clean-generic \
915 clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
916 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
917 dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
918 distclean distclean-generic distclean-hdr distclean-libtool \
919 distclean-tags distcleancheck distdir distuninstallcheck dvi \
920 dvi-am html html-am info info-am install install-am \
921 install-data install-data-am install-dvi install-dvi-am \
922 install-exec install-exec-am install-html install-html-am \
923 install-info install-info-am install-man install-pdf \
924 install-pdf-am install-ps install-ps-am install-strip \
925 installcheck installcheck-am installdirs installdirs-am \
926 maintainer-clean maintainer-clean-generic mostlyclean \
927 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
928 tags tags-am uninstall uninstall-am
929
930 .PRECIOUS: Makefile
931
932
933 dist-hook:
934 if test -d .git ; then \
935 git log --name-status --date=iso > $(distdir)/ChangeLog ; \
936 fi
937
938 rpm: dist @PACKAGE_NAME@.spec
939 rpmbuild -bb \
940 --define "_sourcedir `pwd`" \
941 --define "_builddir `pwd`/rpm" \
942 --define "_srcrpmdir `pwd`/rpm" \
943 --define "_rpmdir `pwd`/rpm" \
944 --define "_specdir `pwd`" \
945 @PACKAGE_NAME@.spec
946
947 srpm: dist @PACKAGE_NAME@.spec
948 rpmbuild -bs \
949 --define "_sourcedir `pwd`" \
950 --define "_builddir `pwd`/rpm" \
951 --define "_srcrpmdir `pwd`/rpm" \
952 --define "_rpmdir `pwd`/rpm" \
953 --define "_specdir `pwd`" \
954 @PACKAGE_NAME@.spec
955
956 .PHONY: debian/changelog
957 debian/changelog:
958 $(AM_V_GEN) \
959 ( \
960 . /etc/lsb-release; \
961 date=`date -R`; \
962 version=@VERSION@; \
963 serie=$(serie); \
964 if test -z "$$serie"; then \
965 serie=$$DISTRIB_CODENAME; \
966 fi; \
967 if test -z "$$release"; then \
968 release=1; \
969 fi; \
970 s=`cat debian/changelog.in`; \
971 eval "echo \"$${s}\""; \
972 ) > $@
973
974 ppa: dist debian/changelog
975 $(AM_V_GEN) \
976 ( \
977 mkdir ppa; \
978 cp $(distdir).tar.gz ppa/@PACKAGE_NAME@_@PACKAGE_VERSION@.orig.tar.gz ; \
979 cd ppa; \
980 tar zxvf ../$(distdir).tar.gz ; \
981 cd $(distdir); \
982 cp -a ../../debian . ; \
983 cd debian; \
984 debuild -S -sa ; \
985 )
986
987 dpkg: dist debian/changelog
988 $(AM_V_GEN) \
989 ( \
990 mkdir ppa; \
991 cd ppa; \
992 tar zxvf ../$(distdir).tar.gz ; \
993 cd $(distdir); \
994 cp -a ../../debian . ; \
995 cd debian; \
996 debuild -b -uc -us; \
997 )
998
999 clean-rpm:
1000 $(RM) -r "`uname -i`"
1001
1002 clean-local: clean-rpm
1003
1004 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1005 # Otherwise a system limit (for SysV at least) may be exceeded.
1006 .NOEXPORT:
0 version 1.14.91
1 * require libpinyin 2.7.91
2 * improve suggestion candidates
3 * improve English candidates
4 * support longer candidates
5 * support Legacy mode
6
7 version 1.13.1
8 * fix setup dialog
9
010 version 1.13.0
111 * bug fixes
212
0 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
3
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
17 [m4_warning([this file was generated for autoconf 2.71.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # Increment this whenever this file is changed.
23 #serial 2
24
25 dnl GLIB_GSETTINGS
26 dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
27 dnl the schema should be compiled
28 dnl
29
30 AC_DEFUN([GLIB_GSETTINGS],
31 [
32 dnl We can't use PKG_PREREQ because that needs 0.29.
33 m4_ifndef([PKG_PROG_PKG_CONFIG],
34 [pkg.m4 version 0.28 or later is required])
35
36 m4_pattern_allow([AM_V_GEN])
37 AC_ARG_ENABLE(schemas-compile,
38 AS_HELP_STRING([--disable-schemas-compile],
39 [Disable regeneration of gschemas.compiled on install]),
40 [case ${enableval} in
41 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
42 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
43 *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
44 esac])
45 AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
46 PKG_PROG_PKG_CONFIG([0.16])
47 AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
48 AS_IF([test x$cross_compiling != xyes],
49 [PKG_CHECK_VAR([GLIB_COMPILE_SCHEMAS], [gio-2.0], [glib_compile_schemas])],
50 [AC_PATH_PROG([GLIB_COMPILE_SCHEMAS], [glib-compile-schemas])])
51 AC_SUBST(GLIB_COMPILE_SCHEMAS)
52 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
53 ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
54 else
55 ifelse([$1],,[:],[$1])
56 fi
57
58 GSETTINGS_RULES='
59 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
60
61 mostlyclean-am: clean-gsettings-schemas
62
63 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
64
65 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
66 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
67
68 all-am: $(gsettings_SCHEMAS:.xml=.valid)
69 uninstall-am: uninstall-gsettings-schemas
70 install-data-am: install-gsettings-schemas
71
72 .SECONDARY: $(gsettings_SCHEMAS)
73
74 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
75 @$(NORMAL_INSTALL)
76 if test -n "$^"; then \
77 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
78 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
79 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
80 fi
81
82 uninstall-gsettings-schemas:
83 @$(NORMAL_UNINSTALL)
84 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
85 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
86 test -n "$$files" || exit 0; \
87 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
88 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
89 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
90
91 clean-gsettings-schemas:
92 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
93
94 ifdef gsettings_ENUM_NAMESPACE
95 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
96 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
97 endif
98 '
99 _GSETTINGS_SUBST(GSETTINGS_RULES)
100 ])
101
102 dnl _GSETTINGS_SUBST(VARIABLE)
103 dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
104 AC_DEFUN([_GSETTINGS_SUBST],
105 [
106 AC_SUBST([$1])
107 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
108 ]
109 )
110
111 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
112 # serial 11 (pkg-config-0.29.1)
113
114 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
115 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
116 dnl
117 dnl This program is free software; you can redistribute it and/or modify
118 dnl it under the terms of the GNU General Public License as published by
119 dnl the Free Software Foundation; either version 2 of the License, or
120 dnl (at your option) any later version.
121 dnl
122 dnl This program is distributed in the hope that it will be useful, but
123 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
124 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
125 dnl General Public License for more details.
126 dnl
127 dnl You should have received a copy of the GNU General Public License
128 dnl along with this program; if not, write to the Free Software
129 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
130 dnl 02111-1307, USA.
131 dnl
132 dnl As a special exception to the GNU General Public License, if you
133 dnl distribute this file as part of a program that contains a
134 dnl configuration script generated by Autoconf, you may include it under
135 dnl the same distribution terms that you use for the rest of that
136 dnl program.
137
138 dnl PKG_PREREQ(MIN-VERSION)
139 dnl -----------------------
140 dnl Since: 0.29
141 dnl
142 dnl Verify that the version of the pkg-config macros are at least
143 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
144 dnl installed version of pkg-config, this checks the developer's version
145 dnl of pkg.m4 when generating configure.
146 dnl
147 dnl To ensure that this macro is defined, also add:
148 dnl m4_ifndef([PKG_PREREQ],
149 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
150 dnl
151 dnl See the "Since" comment for each macro you use to see what version
152 dnl of the macros you require.
153 m4_defun([PKG_PREREQ],
154 [m4_define([PKG_MACROS_VERSION], [0.29.1])
155 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
156 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
157 ])dnl PKG_PREREQ
158
159 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
160 dnl ----------------------------------
161 dnl Since: 0.16
162 dnl
163 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
164 dnl first found in the path. Checks that the version of pkg-config found
165 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
166 dnl used since that's the first version where most current features of
167 dnl pkg-config existed.
168 AC_DEFUN([PKG_PROG_PKG_CONFIG],
169 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
170 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
171 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
172 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
173 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
174 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
175
176 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
177 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
178 fi
179 if test -n "$PKG_CONFIG"; then
180 _pkg_min_version=m4_default([$1], [0.9.0])
181 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
182 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
183 AC_MSG_RESULT([yes])
184 else
185 AC_MSG_RESULT([no])
186 PKG_CONFIG=""
187 fi
188 fi[]dnl
189 ])dnl PKG_PROG_PKG_CONFIG
190
191 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
192 dnl -------------------------------------------------------------------
193 dnl Since: 0.18
194 dnl
195 dnl Check to see whether a particular set of modules exists. Similar to
196 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
197 dnl
198 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
199 dnl only at the first occurence in configure.ac, so if the first place
200 dnl it's called might be skipped (such as if it is within an "if", you
201 dnl have to call PKG_CHECK_EXISTS manually
202 AC_DEFUN([PKG_CHECK_EXISTS],
203 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
204 if test -n "$PKG_CONFIG" && \
205 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
206 m4_default([$2], [:])
207 m4_ifvaln([$3], [else
208 $3])dnl
209 fi])
210
211 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
212 dnl ---------------------------------------------
213 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
214 dnl pkg_failed based on the result.
215 m4_define([_PKG_CONFIG],
216 [if test -n "$$1"; then
217 pkg_cv_[]$1="$$1"
218 elif test -n "$PKG_CONFIG"; then
219 PKG_CHECK_EXISTS([$3],
220 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
221 test "x$?" != "x0" && pkg_failed=yes ],
222 [pkg_failed=yes])
223 else
224 pkg_failed=untried
225 fi[]dnl
226 ])dnl _PKG_CONFIG
227
228 dnl _PKG_SHORT_ERRORS_SUPPORTED
229 dnl ---------------------------
230 dnl Internal check to see if pkg-config supports short errors.
231 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
232 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
234 _pkg_short_errors_supported=yes
235 else
236 _pkg_short_errors_supported=no
237 fi[]dnl
238 ])dnl _PKG_SHORT_ERRORS_SUPPORTED
239
240
241 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
242 dnl [ACTION-IF-NOT-FOUND])
243 dnl --------------------------------------------------------------
244 dnl Since: 0.4.0
245 dnl
246 dnl Note that if there is a possibility the first call to
247 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
248 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
249 AC_DEFUN([PKG_CHECK_MODULES],
250 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
251 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
252 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
253
254 pkg_failed=no
255 AC_MSG_CHECKING([for $1])
256
257 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
258 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
259
260 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
261 and $1[]_LIBS to avoid the need to call pkg-config.
262 See the pkg-config man page for more details.])
263
264 if test $pkg_failed = yes; then
265 AC_MSG_RESULT([no])
266 _PKG_SHORT_ERRORS_SUPPORTED
267 if test $_pkg_short_errors_supported = yes; then
268 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
269 else
270 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
271 fi
272 # Put the nasty error message in config.log where it belongs
273 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
274
275 m4_default([$4], [AC_MSG_ERROR(
276 [Package requirements ($2) were not met:
277
278 $$1_PKG_ERRORS
279
280 Consider adjusting the PKG_CONFIG_PATH environment variable if you
281 installed software in a non-standard prefix.
282
283 _PKG_TEXT])[]dnl
284 ])
285 elif test $pkg_failed = untried; then
286 AC_MSG_RESULT([no])
287 m4_default([$4], [AC_MSG_FAILURE(
288 [The pkg-config script could not be found or is too old. Make sure it
289 is in your PATH or set the PKG_CONFIG environment variable to the full
290 path to pkg-config.
291
292 _PKG_TEXT
293
294 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
295 ])
296 else
297 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
298 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
299 AC_MSG_RESULT([yes])
300 $3
301 fi[]dnl
302 ])dnl PKG_CHECK_MODULES
303
304
305 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
306 dnl [ACTION-IF-NOT-FOUND])
307 dnl ---------------------------------------------------------------------
308 dnl Since: 0.29
309 dnl
310 dnl Checks for existence of MODULES and gathers its build flags with
311 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
312 dnl and VARIABLE-PREFIX_LIBS from --libs.
313 dnl
314 dnl Note that if there is a possibility the first call to
315 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
316 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
317 dnl configure.ac.
318 AC_DEFUN([PKG_CHECK_MODULES_STATIC],
319 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
320 _save_PKG_CONFIG=$PKG_CONFIG
321 PKG_CONFIG="$PKG_CONFIG --static"
322 PKG_CHECK_MODULES($@)
323 PKG_CONFIG=$_save_PKG_CONFIG[]dnl
324 ])dnl PKG_CHECK_MODULES_STATIC
325
326
327 dnl PKG_INSTALLDIR([DIRECTORY])
328 dnl -------------------------
329 dnl Since: 0.27
330 dnl
331 dnl Substitutes the variable pkgconfigdir as the location where a module
332 dnl should install pkg-config .pc files. By default the directory is
333 dnl $libdir/pkgconfig, but the default can be changed by passing
334 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
335 dnl parameter.
336 AC_DEFUN([PKG_INSTALLDIR],
337 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
338 m4_pushdef([pkg_description],
339 [pkg-config installation directory @<:@]pkg_default[@:>@])
340 AC_ARG_WITH([pkgconfigdir],
341 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
342 [with_pkgconfigdir=]pkg_default)
343 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
344 m4_popdef([pkg_default])
345 m4_popdef([pkg_description])
346 ])dnl PKG_INSTALLDIR
347
348
349 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
350 dnl --------------------------------
351 dnl Since: 0.27
352 dnl
353 dnl Substitutes the variable noarch_pkgconfigdir as the location where a
354 dnl module should install arch-independent pkg-config .pc files. By
355 dnl default the directory is $datadir/pkgconfig, but the default can be
356 dnl changed by passing DIRECTORY. The user can override through the
357 dnl --with-noarch-pkgconfigdir parameter.
358 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
359 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
360 m4_pushdef([pkg_description],
361 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
362 AC_ARG_WITH([noarch-pkgconfigdir],
363 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
364 [with_noarch_pkgconfigdir=]pkg_default)
365 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
366 m4_popdef([pkg_default])
367 m4_popdef([pkg_description])
368 ])dnl PKG_NOARCH_INSTALLDIR
369
370
371 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
372 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
373 dnl -------------------------------------------
374 dnl Since: 0.28
375 dnl
376 dnl Retrieves the value of the pkg-config variable for the given module.
377 AC_DEFUN([PKG_CHECK_VAR],
378 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
379 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
380
381 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
382 AS_VAR_COPY([$1], [pkg_cv_][$1])
383
384 AS_VAR_IF([$1], [""], [$5], [$4])dnl
385 ])dnl PKG_CHECK_VAR
386
387 dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
388 dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
389 dnl [DESCRIPTION], [DEFAULT])
390 dnl ------------------------------------------
391 dnl
392 dnl Prepare a "--with-" configure option using the lowercase
393 dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
394 dnl PKG_CHECK_MODULES in a single macro.
395 AC_DEFUN([PKG_WITH_MODULES],
396 [
397 m4_pushdef([with_arg], m4_tolower([$1]))
398
399 m4_pushdef([description],
400 [m4_default([$5], [build with ]with_arg[ support])])
401
402 m4_pushdef([def_arg], [m4_default([$6], [auto])])
403 m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
404 m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
405
406 m4_case(def_arg,
407 [yes],[m4_pushdef([with_without], [--without-]with_arg)],
408 [m4_pushdef([with_without],[--with-]with_arg)])
409
410 AC_ARG_WITH(with_arg,
411 AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
412 [AS_TR_SH([with_]with_arg)=def_arg])
413
414 AS_CASE([$AS_TR_SH([with_]with_arg)],
415 [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
416 [auto],[PKG_CHECK_MODULES([$1],[$2],
417 [m4_n([def_action_if_found]) $3],
418 [m4_n([def_action_if_not_found]) $4])])
419
420 m4_popdef([with_arg])
421 m4_popdef([description])
422 m4_popdef([def_arg])
423
424 ])dnl PKG_WITH_MODULES
425
426 dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
427 dnl [DESCRIPTION], [DEFAULT])
428 dnl -----------------------------------------------
429 dnl
430 dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
431 dnl check._[VARIABLE-PREFIX] is exported as make variable.
432 AC_DEFUN([PKG_HAVE_WITH_MODULES],
433 [
434 PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
435
436 AM_CONDITIONAL([HAVE_][$1],
437 [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
438 ])dnl PKG_HAVE_WITH_MODULES
439
440 dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
441 dnl [DESCRIPTION], [DEFAULT])
442 dnl ------------------------------------------------------
443 dnl
444 dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
445 dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make
446 dnl and preprocessor variable.
447 AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
448 [
449 PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
450
451 AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
452 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
453 ])dnl PKG_HAVE_DEFINE_WITH_MODULES
454
455 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
456 #
457 # This file is free software; the Free Software Foundation
458 # gives unlimited permission to copy and/or distribute it,
459 # with or without modifications, as long as this notice is preserved.
460
461 # AM_AUTOMAKE_VERSION(VERSION)
462 # ----------------------------
463 # Automake X.Y traces this macro to ensure aclocal.m4 has been
464 # generated from the m4 files accompanying Automake X.Y.
465 # (This private macro should not be called outside this file.)
466 AC_DEFUN([AM_AUTOMAKE_VERSION],
467 [am__api_version='1.16'
468 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
469 dnl require some minimum version. Point them to the right macro.
470 m4_if([$1], [1.16.5], [],
471 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
472 ])
473
474 # _AM_AUTOCONF_VERSION(VERSION)
475 # -----------------------------
476 # aclocal traces this macro to find the Autoconf version.
477 # This is a private macro too. Using m4_define simplifies
478 # the logic in aclocal, which can simply ignore this definition.
479 m4_define([_AM_AUTOCONF_VERSION], [])
480
481 # AM_SET_CURRENT_AUTOMAKE_VERSION
482 # -------------------------------
483 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
484 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
485 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
486 [AM_AUTOMAKE_VERSION([1.16.5])dnl
487 m4_ifndef([AC_AUTOCONF_VERSION],
488 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
489 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
490
491 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
492
493 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
494 #
495 # This file is free software; the Free Software Foundation
496 # gives unlimited permission to copy and/or distribute it,
497 # with or without modifications, as long as this notice is preserved.
498
499 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
500 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
501 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
502 #
503 # Of course, Automake must honor this variable whenever it calls a
504 # tool from the auxiliary directory. The problem is that $srcdir (and
505 # therefore $ac_aux_dir as well) can be either absolute or relative,
506 # depending on how configure is run. This is pretty annoying, since
507 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
508 # source directory, any form will work fine, but in subdirectories a
509 # relative path needs to be adjusted first.
510 #
511 # $ac_aux_dir/missing
512 # fails when called from a subdirectory if $ac_aux_dir is relative
513 # $top_srcdir/$ac_aux_dir/missing
514 # fails if $ac_aux_dir is absolute,
515 # fails when called from a subdirectory in a VPATH build with
516 # a relative $ac_aux_dir
517 #
518 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
519 # are both prefixed by $srcdir. In an in-source build this is usually
520 # harmless because $srcdir is '.', but things will broke when you
521 # start a VPATH build or use an absolute $srcdir.
522 #
523 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
524 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
525 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
526 # and then we would define $MISSING as
527 # MISSING="\${SHELL} $am_aux_dir/missing"
528 # This will work as long as MISSING is not called from configure, because
529 # unfortunately $(top_srcdir) has no meaning in configure.
530 # However there are other variables, like CC, which are often used in
531 # configure, and could therefore not use this "fixed" $ac_aux_dir.
532 #
533 # Another solution, used here, is to always expand $ac_aux_dir to an
534 # absolute PATH. The drawback is that using absolute paths prevent a
535 # configured tree to be moved without reconfiguration.
536
537 AC_DEFUN([AM_AUX_DIR_EXPAND],
538 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
539 # Expand $ac_aux_dir to an absolute path.
540 am_aux_dir=`cd "$ac_aux_dir" && pwd`
541 ])
542
543 # AM_CONDITIONAL -*- Autoconf -*-
544
545 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
546 #
547 # This file is free software; the Free Software Foundation
548 # gives unlimited permission to copy and/or distribute it,
549 # with or without modifications, as long as this notice is preserved.
550
551 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
552 # -------------------------------------
553 # Define a conditional.
554 AC_DEFUN([AM_CONDITIONAL],
555 [AC_PREREQ([2.52])dnl
556 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
557 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
558 AC_SUBST([$1_TRUE])dnl
559 AC_SUBST([$1_FALSE])dnl
560 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
561 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
562 m4_define([_AM_COND_VALUE_$1], [$2])dnl
563 if $2; then
564 $1_TRUE=
565 $1_FALSE='#'
566 else
567 $1_TRUE='#'
568 $1_FALSE=
569 fi
570 AC_CONFIG_COMMANDS_PRE(
571 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
572 AC_MSG_ERROR([[conditional "$1" was never defined.
573 Usually this means the macro was only invoked conditionally.]])
574 fi])])
575
576 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
577 #
578 # This file is free software; the Free Software Foundation
579 # gives unlimited permission to copy and/or distribute it,
580 # with or without modifications, as long as this notice is preserved.
581
582
583 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
584 # written in clear, in which case automake, when reading aclocal.m4,
585 # will think it sees a *use*, and therefore will trigger all it's
586 # C support machinery. Also note that it means that autoscan, seeing
587 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
588
589
590 # _AM_DEPENDENCIES(NAME)
591 # ----------------------
592 # See how the compiler implements dependency checking.
593 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
594 # We try a few techniques and use that to set a single cache variable.
595 #
596 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
597 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
598 # dependency, and given that the user is not expected to run this macro,
599 # just rely on AC_PROG_CC.
600 AC_DEFUN([_AM_DEPENDENCIES],
601 [AC_REQUIRE([AM_SET_DEPDIR])dnl
602 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
603 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
604 AC_REQUIRE([AM_DEP_TRACK])dnl
605
606 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
607 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
608 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
609 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
610 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
611 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
612 [depcc="$$1" am_compiler_list=])
613
614 AC_CACHE_CHECK([dependency style of $depcc],
615 [am_cv_$1_dependencies_compiler_type],
616 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
617 # We make a subdir and do the tests there. Otherwise we can end up
618 # making bogus files that we don't know about and never remove. For
619 # instance it was reported that on HP-UX the gcc test will end up
620 # making a dummy file named 'D' -- because '-MD' means "put the output
621 # in D".
622 rm -rf conftest.dir
623 mkdir conftest.dir
624 # Copy depcomp to subdir because otherwise we won't find it if we're
625 # using a relative directory.
626 cp "$am_depcomp" conftest.dir
627 cd conftest.dir
628 # We will build objects and dependencies in a subdirectory because
629 # it helps to detect inapplicable dependency modes. For instance
630 # both Tru64's cc and ICC support -MD to output dependencies as a
631 # side effect of compilation, but ICC will put the dependencies in
632 # the current directory while Tru64 will put them in the object
633 # directory.
634 mkdir sub
635
636 am_cv_$1_dependencies_compiler_type=none
637 if test "$am_compiler_list" = ""; then
638 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
639 fi
640 am__universal=false
641 m4_case([$1], [CC],
642 [case " $depcc " in #(
643 *\ -arch\ *\ -arch\ *) am__universal=true ;;
644 esac],
645 [CXX],
646 [case " $depcc " in #(
647 *\ -arch\ *\ -arch\ *) am__universal=true ;;
648 esac])
649
650 for depmode in $am_compiler_list; do
651 # Setup a source with many dependencies, because some compilers
652 # like to wrap large dependency lists on column 80 (with \), and
653 # we should not choose a depcomp mode which is confused by this.
654 #
655 # We need to recreate these files for each test, as the compiler may
656 # overwrite some of them when testing with obscure command lines.
657 # This happens at least with the AIX C compiler.
658 : > sub/conftest.c
659 for i in 1 2 3 4 5 6; do
660 echo '#include "conftst'$i'.h"' >> sub/conftest.c
661 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
662 # Solaris 10 /bin/sh.
663 echo '/* dummy */' > sub/conftst$i.h
664 done
665 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
666
667 # We check with '-c' and '-o' for the sake of the "dashmstdout"
668 # mode. It turns out that the SunPro C++ compiler does not properly
669 # handle '-M -o', and we need to detect this. Also, some Intel
670 # versions had trouble with output in subdirs.
671 am__obj=sub/conftest.${OBJEXT-o}
672 am__minus_obj="-o $am__obj"
673 case $depmode in
674 gcc)
675 # This depmode causes a compiler race in universal mode.
676 test "$am__universal" = false || continue
677 ;;
678 nosideeffect)
679 # After this tag, mechanisms are not by side-effect, so they'll
680 # only be used when explicitly requested.
681 if test "x$enable_dependency_tracking" = xyes; then
682 continue
683 else
684 break
685 fi
686 ;;
687 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
688 # This compiler won't grok '-c -o', but also, the minuso test has
689 # not run yet. These depmodes are late enough in the game, and
690 # so weak that their functioning should not be impacted.
691 am__obj=conftest.${OBJEXT-o}
692 am__minus_obj=
693 ;;
694 none) break ;;
695 esac
696 if depmode=$depmode \
697 source=sub/conftest.c object=$am__obj \
698 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
699 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
700 >/dev/null 2>conftest.err &&
701 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
702 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
703 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
704 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
705 # icc doesn't choke on unknown options, it will just issue warnings
706 # or remarks (even with -Werror). So we grep stderr for any message
707 # that says an option was ignored or not supported.
708 # When given -MP, icc 7.0 and 7.1 complain thusly:
709 # icc: Command line warning: ignoring option '-M'; no argument required
710 # The diagnosis changed in icc 8.0:
711 # icc: Command line remark: option '-MP' not supported
712 if (grep 'ignoring option' conftest.err ||
713 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
714 am_cv_$1_dependencies_compiler_type=$depmode
715 break
716 fi
717 fi
718 done
719
720 cd ..
721 rm -rf conftest.dir
722 else
723 am_cv_$1_dependencies_compiler_type=none
724 fi
725 ])
726 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
727 AM_CONDITIONAL([am__fastdep$1], [
728 test "x$enable_dependency_tracking" != xno \
729 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
730 ])
731
732
733 # AM_SET_DEPDIR
734 # -------------
735 # Choose a directory name for dependency files.
736 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
737 AC_DEFUN([AM_SET_DEPDIR],
738 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
739 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
740 ])
741
742
743 # AM_DEP_TRACK
744 # ------------
745 AC_DEFUN([AM_DEP_TRACK],
746 [AC_ARG_ENABLE([dependency-tracking], [dnl
747 AS_HELP_STRING(
748 [--enable-dependency-tracking],
749 [do not reject slow dependency extractors])
750 AS_HELP_STRING(
751 [--disable-dependency-tracking],
752 [speeds up one-time build])])
753 if test "x$enable_dependency_tracking" != xno; then
754 am_depcomp="$ac_aux_dir/depcomp"
755 AMDEPBACKSLASH='\'
756 am__nodep='_no'
757 fi
758 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
759 AC_SUBST([AMDEPBACKSLASH])dnl
760 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
761 AC_SUBST([am__nodep])dnl
762 _AM_SUBST_NOTMAKE([am__nodep])dnl
763 ])
764
765 # Generate code to set up dependency tracking. -*- Autoconf -*-
766
767 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
768 #
769 # This file is free software; the Free Software Foundation
770 # gives unlimited permission to copy and/or distribute it,
771 # with or without modifications, as long as this notice is preserved.
772
773 # _AM_OUTPUT_DEPENDENCY_COMMANDS
774 # ------------------------------
775 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
776 [{
777 # Older Autoconf quotes --file arguments for eval, but not when files
778 # are listed without --file. Let's play safe and only enable the eval
779 # if we detect the quoting.
780 # TODO: see whether this extra hack can be removed once we start
781 # requiring Autoconf 2.70 or later.
782 AS_CASE([$CONFIG_FILES],
783 [*\'*], [eval set x "$CONFIG_FILES"],
784 [*], [set x $CONFIG_FILES])
785 shift
786 # Used to flag and report bootstrapping failures.
787 am_rc=0
788 for am_mf
789 do
790 # Strip MF so we end up with the name of the file.
791 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
792 # Check whether this is an Automake generated Makefile which includes
793 # dependency-tracking related rules and includes.
794 # Grep'ing the whole file directly is not great: AIX grep has a line
795 # limit of 2048, but all sed's we know have understand at least 4000.
796 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
797 || continue
798 am_dirpart=`AS_DIRNAME(["$am_mf"])`
799 am_filepart=`AS_BASENAME(["$am_mf"])`
800 AM_RUN_LOG([cd "$am_dirpart" \
801 && sed -e '/# am--include-marker/d' "$am_filepart" \
802 | $MAKE -f - am--depfiles]) || am_rc=$?
803 done
804 if test $am_rc -ne 0; then
805 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
806 for automatic dependency tracking. If GNU make was not used, consider
807 re-running the configure script with MAKE="gmake" (or whatever is
808 necessary). You can also try re-running configure with the
809 '--disable-dependency-tracking' option to at least be able to build
810 the package (albeit without support for automatic dependency tracking).])
811 fi
812 AS_UNSET([am_dirpart])
813 AS_UNSET([am_filepart])
814 AS_UNSET([am_mf])
815 AS_UNSET([am_rc])
816 rm -f conftest-deps.mk
817 }
818 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
819
820
821 # AM_OUTPUT_DEPENDENCY_COMMANDS
822 # -----------------------------
823 # This macro should only be invoked once -- use via AC_REQUIRE.
824 #
825 # This code is only required when automatic dependency tracking is enabled.
826 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
827 # order to bootstrap the dependency handling code.
828 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
829 [AC_CONFIG_COMMANDS([depfiles],
830 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
831 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
832
833 # Do all the work for Automake. -*- Autoconf -*-
834
835 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
836 #
837 # This file is free software; the Free Software Foundation
838 # gives unlimited permission to copy and/or distribute it,
839 # with or without modifications, as long as this notice is preserved.
840
841 # This macro actually does too much. Some checks are only needed if
842 # your package does certain things. But this isn't really a big deal.
843
844 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
845 m4_define([AC_PROG_CC],
846 m4_defn([AC_PROG_CC])
847 [_AM_PROG_CC_C_O
848 ])
849
850 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
851 # AM_INIT_AUTOMAKE([OPTIONS])
852 # -----------------------------------------------
853 # The call with PACKAGE and VERSION arguments is the old style
854 # call (pre autoconf-2.50), which is being phased out. PACKAGE
855 # and VERSION should now be passed to AC_INIT and removed from
856 # the call to AM_INIT_AUTOMAKE.
857 # We support both call styles for the transition. After
858 # the next Automake release, Autoconf can make the AC_INIT
859 # arguments mandatory, and then we can depend on a new Autoconf
860 # release and drop the old call support.
861 AC_DEFUN([AM_INIT_AUTOMAKE],
862 [AC_PREREQ([2.65])dnl
863 m4_ifdef([_$0_ALREADY_INIT],
864 [m4_fatal([$0 expanded multiple times
865 ]m4_defn([_$0_ALREADY_INIT]))],
866 [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
867 dnl Autoconf wants to disallow AM_ names. We explicitly allow
868 dnl the ones we care about.
869 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
870 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
871 AC_REQUIRE([AC_PROG_INSTALL])dnl
872 if test "`cd $srcdir && pwd`" != "`pwd`"; then
873 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
874 # is not polluted with repeated "-I."
875 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
876 # test to see if srcdir already configured
877 if test -f $srcdir/config.status; then
878 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
879 fi
880 fi
881
882 # test whether we have cygpath
883 if test -z "$CYGPATH_W"; then
884 if (cygpath --version) >/dev/null 2>/dev/null; then
885 CYGPATH_W='cygpath -w'
886 else
887 CYGPATH_W=echo
888 fi
889 fi
890 AC_SUBST([CYGPATH_W])
891
892 # Define the identity of the package.
893 dnl Distinguish between old-style and new-style calls.
894 m4_ifval([$2],
895 [AC_DIAGNOSE([obsolete],
896 [$0: two- and three-arguments forms are deprecated.])
897 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
898 AC_SUBST([PACKAGE], [$1])dnl
899 AC_SUBST([VERSION], [$2])],
900 [_AM_SET_OPTIONS([$1])dnl
901 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
902 m4_if(
903 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
904 [ok:ok],,
905 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
906 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
907 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
908
909 _AM_IF_OPTION([no-define],,
910 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
911 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
912
913 # Some tools Automake needs.
914 AC_REQUIRE([AM_SANITY_CHECK])dnl
915 AC_REQUIRE([AC_ARG_PROGRAM])dnl
916 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
917 AM_MISSING_PROG([AUTOCONF], [autoconf])
918 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
919 AM_MISSING_PROG([AUTOHEADER], [autoheader])
920 AM_MISSING_PROG([MAKEINFO], [makeinfo])
921 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
922 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
923 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
924 # For better backward compatibility. To be removed once Automake 1.9.x
925 # dies out for good. For more background, see:
926 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
927 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
928 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
929 # We need awk for the "check" target (and possibly the TAP driver). The
930 # system "awk" is bad on some platforms.
931 AC_REQUIRE([AC_PROG_AWK])dnl
932 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
933 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
934 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
935 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
936 [_AM_PROG_TAR([v7])])])
937 _AM_IF_OPTION([no-dependencies],,
938 [AC_PROVIDE_IFELSE([AC_PROG_CC],
939 [_AM_DEPENDENCIES([CC])],
940 [m4_define([AC_PROG_CC],
941 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
942 AC_PROVIDE_IFELSE([AC_PROG_CXX],
943 [_AM_DEPENDENCIES([CXX])],
944 [m4_define([AC_PROG_CXX],
945 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
946 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
947 [_AM_DEPENDENCIES([OBJC])],
948 [m4_define([AC_PROG_OBJC],
949 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
950 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
951 [_AM_DEPENDENCIES([OBJCXX])],
952 [m4_define([AC_PROG_OBJCXX],
953 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
954 ])
955 # Variables for tags utilities; see am/tags.am
956 if test -z "$CTAGS"; then
957 CTAGS=ctags
958 fi
959 AC_SUBST([CTAGS])
960 if test -z "$ETAGS"; then
961 ETAGS=etags
962 fi
963 AC_SUBST([ETAGS])
964 if test -z "$CSCOPE"; then
965 CSCOPE=cscope
966 fi
967 AC_SUBST([CSCOPE])
968
969 AC_REQUIRE([AM_SILENT_RULES])dnl
970 dnl The testsuite driver may need to know about EXEEXT, so add the
971 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
972 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
973 AC_CONFIG_COMMANDS_PRE(dnl
974 [m4_provide_if([_AM_COMPILER_EXEEXT],
975 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
976
977 # POSIX will say in a future version that running "rm -f" with no argument
978 # is OK; and we want to be able to make that assumption in our Makefile
979 # recipes. So use an aggressive probe to check that the usage we want is
980 # actually supported "in the wild" to an acceptable degree.
981 # See automake bug#10828.
982 # To make any issue more visible, cause the running configure to be aborted
983 # by default if the 'rm' program in use doesn't match our expectations; the
984 # user can still override this though.
985 if rm -f && rm -fr && rm -rf; then : OK; else
986 cat >&2 <<'END'
987 Oops!
988
989 Your 'rm' program seems unable to run without file operands specified
990 on the command line, even when the '-f' option is present. This is contrary
991 to the behaviour of most rm programs out there, and not conforming with
992 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
993
994 Please tell bug-automake@gnu.org about your system, including the value
995 of your $PATH and any error possibly output before this message. This
996 can help us improve future automake versions.
997
998 END
999 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1000 echo 'Configuration will proceed anyway, since you have set the' >&2
1001 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1002 echo >&2
1003 else
1004 cat >&2 <<'END'
1005 Aborting the configuration process, to ensure you take notice of the issue.
1006
1007 You can download and install GNU coreutils to get an 'rm' implementation
1008 that behaves properly: <https://www.gnu.org/software/coreutils/>.
1009
1010 If you want to complete the configuration process using your problematic
1011 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1012 to "yes", and re-run configure.
1013
1014 END
1015 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1016 fi
1017 fi
1018 dnl The trailing newline in this macro's definition is deliberate, for
1019 dnl backward compatibility and to allow trailing 'dnl'-style comments
1020 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1021 ])
1022
1023 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1024 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1025 dnl mangled by Autoconf and run in a shell conditional statement.
1026 m4_define([_AC_COMPILER_EXEEXT],
1027 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1028
1029 # When config.status generates a header, we must update the stamp-h file.
1030 # This file resides in the same directory as the config header
1031 # that is generated. The stamp files are numbered to have different names.
1032
1033 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1034 # loop where config.status creates the headers, so we can generate
1035 # our stamp files there.
1036 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1037 [# Compute $1's index in $config_headers.
1038 _am_arg=$1
1039 _am_stamp_count=1
1040 for _am_header in $config_headers :; do
1041 case $_am_header in
1042 $_am_arg | $_am_arg:* )
1043 break ;;
1044 * )
1045 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1046 esac
1047 done
1048 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1049
1050 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1051 #
1052 # This file is free software; the Free Software Foundation
1053 # gives unlimited permission to copy and/or distribute it,
1054 # with or without modifications, as long as this notice is preserved.
1055
1056 # AM_PROG_INSTALL_SH
1057 # ------------------
1058 # Define $install_sh.
1059 AC_DEFUN([AM_PROG_INSTALL_SH],
1060 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1061 if test x"${install_sh+set}" != xset; then
1062 case $am_aux_dir in
1063 *\ * | *\ *)
1064 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1065 *)
1066 install_sh="\${SHELL} $am_aux_dir/install-sh"
1067 esac
1068 fi
1069 AC_SUBST([install_sh])])
1070
1071 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
1072 #
1073 # This file is free software; the Free Software Foundation
1074 # gives unlimited permission to copy and/or distribute it,
1075 # with or without modifications, as long as this notice is preserved.
1076
1077 # Check whether the underlying file-system supports filenames
1078 # with a leading dot. For instance MS-DOS doesn't.
1079 AC_DEFUN([AM_SET_LEADING_DOT],
1080 [rm -rf .tst 2>/dev/null
1081 mkdir .tst 2>/dev/null
1082 if test -d .tst; then
1083 am__leading_dot=.
1084 else
1085 am__leading_dot=_
1086 fi
1087 rmdir .tst 2>/dev/null
1088 AC_SUBST([am__leading_dot])])
1089
1090 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1091 # From Jim Meyering
1092
1093 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
1094 #
1095 # This file is free software; the Free Software Foundation
1096 # gives unlimited permission to copy and/or distribute it,
1097 # with or without modifications, as long as this notice is preserved.
1098
1099 # AM_MAINTAINER_MODE([DEFAULT-MODE])
1100 # ----------------------------------
1101 # Control maintainer-specific portions of Makefiles.
1102 # Default is to disable them, unless 'enable' is passed literally.
1103 # For symmetry, 'disable' may be passed as well. Anyway, the user
1104 # can override the default with the --enable/--disable switch.
1105 AC_DEFUN([AM_MAINTAINER_MODE],
1106 [m4_case(m4_default([$1], [disable]),
1107 [enable], [m4_define([am_maintainer_other], [disable])],
1108 [disable], [m4_define([am_maintainer_other], [enable])],
1109 [m4_define([am_maintainer_other], [enable])
1110 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1111 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1112 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1113 AC_ARG_ENABLE([maintainer-mode],
1114 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1115 am_maintainer_other[ make rules and dependencies not useful
1116 (and sometimes confusing) to the casual installer])],
1117 [USE_MAINTAINER_MODE=$enableval],
1118 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1119 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1120 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1121 MAINT=$MAINTAINER_MODE_TRUE
1122 AC_SUBST([MAINT])dnl
1123 ]
1124 )
1125
1126 # Check to see how 'make' treats includes. -*- Autoconf -*-
1127
1128 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1129 #
1130 # This file is free software; the Free Software Foundation
1131 # gives unlimited permission to copy and/or distribute it,
1132 # with or without modifications, as long as this notice is preserved.
1133
1134 # AM_MAKE_INCLUDE()
1135 # -----------------
1136 # Check whether make has an 'include' directive that can support all
1137 # the idioms we need for our automatic dependency tracking code.
1138 AC_DEFUN([AM_MAKE_INCLUDE],
1139 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
1140 cat > confinc.mk << 'END'
1141 am__doit:
1142 @echo this is the am__doit target >confinc.out
1143 .PHONY: am__doit
1144 END
1145 am__include="#"
1146 am__quote=
1147 # BSD make does it like this.
1148 echo '.include "confinc.mk" # ignored' > confmf.BSD
1149 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
1150 echo 'include confinc.mk # ignored' > confmf.GNU
1151 _am_result=no
1152 for s in GNU BSD; do
1153 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
1154 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
1155 ['0:this is the am__doit target'],
1156 [AS_CASE([$s],
1157 [BSD], [am__include='.include' am__quote='"'],
1158 [am__include='include' am__quote=''])])
1159 if test "$am__include" != "#"; then
1160 _am_result="yes ($s style)"
1161 break
1162 fi
1163 done
1164 rm -f confinc.* confmf.*
1165 AC_MSG_RESULT([${_am_result}])
1166 AC_SUBST([am__include])])
1167 AC_SUBST([am__quote])])
1168
1169 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1170
1171 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
1172 #
1173 # This file is free software; the Free Software Foundation
1174 # gives unlimited permission to copy and/or distribute it,
1175 # with or without modifications, as long as this notice is preserved.
1176
1177 # AM_MISSING_PROG(NAME, PROGRAM)
1178 # ------------------------------
1179 AC_DEFUN([AM_MISSING_PROG],
1180 [AC_REQUIRE([AM_MISSING_HAS_RUN])
1181 $1=${$1-"${am_missing_run}$2"}
1182 AC_SUBST($1)])
1183
1184 # AM_MISSING_HAS_RUN
1185 # ------------------
1186 # Define MISSING if not defined so far and test if it is modern enough.
1187 # If it is, set am_missing_run to use it, otherwise, to nothing.
1188 AC_DEFUN([AM_MISSING_HAS_RUN],
1189 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1190 AC_REQUIRE_AUX_FILE([missing])dnl
1191 if test x"${MISSING+set}" != xset; then
1192 MISSING="\${SHELL} '$am_aux_dir/missing'"
1193 fi
1194 # Use eval to expand $SHELL
1195 if eval "$MISSING --is-lightweight"; then
1196 am_missing_run="$MISSING "
1197 else
1198 am_missing_run=
1199 AC_MSG_WARN(['missing' script is too old or missing])
1200 fi
1201 ])
1202
1203 # Helper functions for option handling. -*- Autoconf -*-
1204
1205 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1206 #
1207 # This file is free software; the Free Software Foundation
1208 # gives unlimited permission to copy and/or distribute it,
1209 # with or without modifications, as long as this notice is preserved.
1210
1211 # _AM_MANGLE_OPTION(NAME)
1212 # -----------------------
1213 AC_DEFUN([_AM_MANGLE_OPTION],
1214 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1215
1216 # _AM_SET_OPTION(NAME)
1217 # --------------------
1218 # Set option NAME. Presently that only means defining a flag for this option.
1219 AC_DEFUN([_AM_SET_OPTION],
1220 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1221
1222 # _AM_SET_OPTIONS(OPTIONS)
1223 # ------------------------
1224 # OPTIONS is a space-separated list of Automake options.
1225 AC_DEFUN([_AM_SET_OPTIONS],
1226 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1227
1228 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1229 # -------------------------------------------
1230 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1231 AC_DEFUN([_AM_IF_OPTION],
1232 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1233
1234 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
1235 #
1236 # This file is free software; the Free Software Foundation
1237 # gives unlimited permission to copy and/or distribute it,
1238 # with or without modifications, as long as this notice is preserved.
1239
1240 # _AM_PROG_CC_C_O
1241 # ---------------
1242 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1243 # to automatically call this.
1244 AC_DEFUN([_AM_PROG_CC_C_O],
1245 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1246 AC_REQUIRE_AUX_FILE([compile])dnl
1247 AC_LANG_PUSH([C])dnl
1248 AC_CACHE_CHECK(
1249 [whether $CC understands -c and -o together],
1250 [am_cv_prog_cc_c_o],
1251 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1252 # Make sure it works both with $CC and with simple cc.
1253 # Following AC_PROG_CC_C_O, we do the test twice because some
1254 # compilers refuse to overwrite an existing .o file with -o,
1255 # though they will create one.
1256 am_cv_prog_cc_c_o=yes
1257 for am_i in 1 2; do
1258 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1259 && test -f conftest2.$ac_objext; then
1260 : OK
1261 else
1262 am_cv_prog_cc_c_o=no
1263 break
1264 fi
1265 done
1266 rm -f core conftest*
1267 unset am_i])
1268 if test "$am_cv_prog_cc_c_o" != yes; then
1269 # Losing compiler, so override with the script.
1270 # FIXME: It is wrong to rewrite CC.
1271 # But if we don't then we get into trouble of one sort or another.
1272 # A longer-term fix would be to have automake use am__CC in this case,
1273 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1274 CC="$am_aux_dir/compile $CC"
1275 fi
1276 AC_LANG_POP([C])])
1277
1278 # For backward compatibility.
1279 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1280
1281 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
1282 #
1283 # This file is free software; the Free Software Foundation
1284 # gives unlimited permission to copy and/or distribute it,
1285 # with or without modifications, as long as this notice is preserved.
1286
1287
1288 # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1289 # ---------------------------------------------------------------------------
1290 # Adds support for distributing Python modules and packages. To
1291 # install modules, copy them to $(pythondir), using the python_PYTHON
1292 # automake variable. To install a package with the same name as the
1293 # automake package, install to $(pkgpythondir), or use the
1294 # pkgpython_PYTHON automake variable.
1295 #
1296 # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
1297 # locations to install python extension modules (shared libraries).
1298 # Another macro is required to find the appropriate flags to compile
1299 # extension modules.
1300 #
1301 # If your package is configured with a different prefix to python,
1302 # users will have to add the install directory to the PYTHONPATH
1303 # environment variable, or create a .pth file (see the python
1304 # documentation for details).
1305 #
1306 # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
1307 # cause an error if the version of python installed on the system
1308 # doesn't meet the requirement. MINIMUM-VERSION should consist of
1309 # numbers and dots only.
1310 AC_DEFUN([AM_PATH_PYTHON],
1311 [
1312 dnl Find a Python interpreter. Python versions prior to 2.0 are not
1313 dnl supported. (2.0 was released on October 16, 2000).
1314 m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1315 [python python2 python3 dnl
1316 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
1317 python3.2 python3.1 python3.0 dnl
1318 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
1319 python2.0])
1320
1321 AC_ARG_VAR([PYTHON], [the Python interpreter])
1322
1323 m4_if([$1],[],[
1324 dnl No version check is needed.
1325 # Find any Python interpreter.
1326 if test -z "$PYTHON"; then
1327 AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
1328 fi
1329 am_display_PYTHON=python
1330 ], [
1331 dnl A version check is needed.
1332 if test -n "$PYTHON"; then
1333 # If the user set $PYTHON, use it and don't search something else.
1334 AC_MSG_CHECKING([whether $PYTHON version is >= $1])
1335 AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
1336 [AC_MSG_RESULT([yes])],
1337 [AC_MSG_RESULT([no])
1338 AC_MSG_ERROR([Python interpreter is too old])])
1339 am_display_PYTHON=$PYTHON
1340 else
1341 # Otherwise, try each interpreter until we find one that satisfies
1342 # VERSION.
1343 AC_CACHE_CHECK([for a Python interpreter with version >= $1],
1344 [am_cv_pathless_PYTHON],[
1345 for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
1346 test "$am_cv_pathless_PYTHON" = none && break
1347 AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
1348 done])
1349 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1350 if test "$am_cv_pathless_PYTHON" = none; then
1351 PYTHON=:
1352 else
1353 AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
1354 fi
1355 am_display_PYTHON=$am_cv_pathless_PYTHON
1356 fi
1357 ])
1358
1359 if test "$PYTHON" = :; then
1360 dnl Run any user-specified action, or abort.
1361 m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
1362 else
1363
1364 dnl Query Python for its version number. Although site.py simply uses
1365 dnl sys.version[:3], printing that failed with Python 3.10, since the
1366 dnl trailing zero was eliminated. So now we output just the major
1367 dnl and minor version numbers, as numbers. Apparently the tertiary
1368 dnl version is not of interest.
1369 dnl
1370 AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
1371 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`])
1372 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
1373
1374 dnl At times, e.g., when building shared libraries, you may want
1375 dnl to know which OS platform Python thinks this is.
1376 dnl
1377 AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
1378 [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
1379 AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
1380
1381 dnl emacs-page
1382 dnl If --with-python-sys-prefix is given, use the values of sys.prefix
1383 dnl and sys.exec_prefix for the corresponding values of PYTHON_PREFIX
1384 dnl and PYTHON_EXEC_PREFIX. Otherwise, use the GNU ${prefix} and
1385 dnl ${exec_prefix} variables.
1386 dnl
1387 dnl The two are made distinct variables so they can be overridden if
1388 dnl need be, although general consensus is that you shouldn't need
1389 dnl this separation.
1390 dnl
1391 dnl Also allow directly setting the prefixes via configure options,
1392 dnl overriding any default.
1393 dnl
1394 if test "x$prefix" = xNONE; then
1395 am__usable_prefix=$ac_default_prefix
1396 else
1397 am__usable_prefix=$prefix
1398 fi
1399
1400 # Allow user to request using sys.* values from Python,
1401 # instead of the GNU $prefix values.
1402 AC_ARG_WITH([python-sys-prefix],
1403 [AS_HELP_STRING([--with-python-sys-prefix],
1404 [use Python's sys.prefix and sys.exec_prefix values])],
1405 [am_use_python_sys=:],
1406 [am_use_python_sys=false])
1407
1408 # Allow user to override whatever the default Python prefix is.
1409 AC_ARG_WITH([python_prefix],
1410 [AS_HELP_STRING([--with-python_prefix],
1411 [override the default PYTHON_PREFIX])],
1412 [am_python_prefix_subst=$withval
1413 am_cv_python_prefix=$withval
1414 AC_MSG_CHECKING([for explicit $am_display_PYTHON prefix])
1415 AC_MSG_RESULT([$am_cv_python_prefix])],
1416 [
1417 if $am_use_python_sys; then
1418 # using python sys.prefix value, not GNU
1419 AC_CACHE_CHECK([for python default $am_display_PYTHON prefix],
1420 [am_cv_python_prefix],
1421 [am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`])
1422
1423 dnl If sys.prefix is a subdir of $prefix, replace the literal value of
1424 dnl $prefix with a variable reference so it can be overridden.
1425 case $am_cv_python_prefix in
1426 $am__usable_prefix*)
1427 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
1428 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
1429 ;;
1430 *)
1431 am_python_prefix_subst=$am_cv_python_prefix
1432 ;;
1433 esac
1434 else # using GNU prefix value, not python sys.prefix
1435 am_python_prefix_subst='${prefix}'
1436 am_python_prefix=$am_python_prefix_subst
1437 AC_MSG_CHECKING([for GNU default $am_display_PYTHON prefix])
1438 AC_MSG_RESULT([$am_python_prefix])
1439 fi])
1440 # Substituting python_prefix_subst value.
1441 AC_SUBST([PYTHON_PREFIX], [$am_python_prefix_subst])
1442
1443 # emacs-page Now do it all over again for Python exec_prefix, but with yet
1444 # another conditional: fall back to regular prefix if that was specified.
1445 AC_ARG_WITH([python_exec_prefix],
1446 [AS_HELP_STRING([--with-python_exec_prefix],
1447 [override the default PYTHON_EXEC_PREFIX])],
1448 [am_python_exec_prefix_subst=$withval
1449 am_cv_python_exec_prefix=$withval
1450 AC_MSG_CHECKING([for explicit $am_display_PYTHON exec_prefix])
1451 AC_MSG_RESULT([$am_cv_python_exec_prefix])],
1452 [
1453 # no explicit --with-python_exec_prefix, but if
1454 # --with-python_prefix was given, use its value for python_exec_prefix too.
1455 AS_IF([test -n "$with_python_prefix"],
1456 [am_python_exec_prefix_subst=$with_python_prefix
1457 am_cv_python_exec_prefix=$with_python_prefix
1458 AC_MSG_CHECKING([for python_prefix-given $am_display_PYTHON exec_prefix])
1459 AC_MSG_RESULT([$am_cv_python_exec_prefix])],
1460 [
1461 # Set am__usable_exec_prefix whether using GNU or Python values,
1462 # since we use that variable for pyexecdir.
1463 if test "x$exec_prefix" = xNONE; then
1464 am__usable_exec_prefix=$am__usable_prefix
1465 else
1466 am__usable_exec_prefix=$exec_prefix
1467 fi
1468 #
1469 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
1470 AC_CACHE_CHECK([for python default $am_display_PYTHON exec_prefix],
1471 [am_cv_python_exec_prefix],
1472 [am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`])
1473 dnl If sys.exec_prefix is a subdir of $exec_prefix, replace the
1474 dnl literal value of $exec_prefix with a variable reference so it can
1475 dnl be overridden.
1476 case $am_cv_python_exec_prefix in
1477 $am__usable_exec_prefix*)
1478 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
1479 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
1480 ;;
1481 *)
1482 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
1483 ;;
1484 esac
1485 else # using GNU $exec_prefix, not python sys.exec_prefix
1486 am_python_exec_prefix_subst='${exec_prefix}'
1487 am_python_exec_prefix=$am_python_exec_prefix_subst
1488 AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
1489 AC_MSG_RESULT([$am_python_exec_prefix])
1490 fi])])
1491 # Substituting python_exec_prefix_subst.
1492 AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
1493
1494 # Factor out some code duplication into this shell variable.
1495 am_python_setup_sysconfig="\
1496 import sys
1497 # Prefer sysconfig over distutils.sysconfig, for better compatibility
1498 # with python 3.x. See automake bug#10227.
1499 try:
1500 import sysconfig
1501 except ImportError:
1502 can_use_sysconfig = 0
1503 else:
1504 can_use_sysconfig = 1
1505 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
1506 # <https://github.com/pypa/virtualenv/issues/118>
1507 try:
1508 from platform import python_implementation
1509 if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7':
1510 can_use_sysconfig = 0
1511 except ImportError:
1512 pass"
1513
1514 dnl emacs-page Set up 4 directories:
1515
1516 dnl 1. pythondir: where to install python scripts. This is the
1517 dnl site-packages directory, not the python standard library
1518 dnl directory like in previous automake betas. This behavior
1519 dnl is more consistent with lispdir.m4 for example.
1520 dnl Query distutils for this directory.
1521 dnl
1522 AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
1523 [am_cv_python_pythondir],
1524 [if test "x$am_cv_python_prefix" = x; then
1525 am_py_prefix=$am__usable_prefix
1526 else
1527 am_py_prefix=$am_cv_python_prefix
1528 fi
1529 am_cv_python_pythondir=`$PYTHON -c "
1530 $am_python_setup_sysconfig
1531 if can_use_sysconfig:
1532 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
1533 else:
1534 from distutils import sysconfig
1535 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
1536 sys.stdout.write(sitedir)"`
1537 #
1538 case $am_cv_python_pythondir in
1539 $am_py_prefix*)
1540 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1541 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
1542 ;;
1543 *)
1544 case $am_py_prefix in
1545 /usr|/System*) ;;
1546 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
1547 ;;
1548 esac
1549 ;;
1550 esac
1551 ])
1552 AC_SUBST([pythondir], [$am_cv_python_pythondir])
1553
1554 dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
1555 dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
1556 dnl more consistent with the rest of automake.
1557 dnl
1558 AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
1559
1560 dnl 3. pyexecdir: directory for installing python extension modules
1561 dnl (shared libraries).
1562 dnl Query distutils for this directory.
1563 dnl
1564 AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
1565 [am_cv_python_pyexecdir],
1566 [if test "x$am_cv_python_exec_prefix" = x; then
1567 am_py_exec_prefix=$am__usable_exec_prefix
1568 else
1569 am_py_exec_prefix=$am_cv_python_exec_prefix
1570 fi
1571 am_cv_python_pyexecdir=`$PYTHON -c "
1572 $am_python_setup_sysconfig
1573 if can_use_sysconfig:
1574 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
1575 else:
1576 from distutils import sysconfig
1577 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
1578 sys.stdout.write(sitedir)"`
1579 #
1580 case $am_cv_python_pyexecdir in
1581 $am_py_exec_prefix*)
1582 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1583 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
1584 ;;
1585 *)
1586 case $am_py_exec_prefix in
1587 /usr|/System*) ;;
1588 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
1589 ;;
1590 esac
1591 ;;
1592 esac
1593 ])
1594 AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
1595
1596 dnl 4. pkgpyexecdir: $(pyexecdir)/$(PACKAGE)
1597 dnl
1598 AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
1599
1600 dnl Run any user-specified action.
1601 $2
1602 fi
1603 ])
1604
1605
1606 # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
1607 # ---------------------------------------------------------------------------
1608 # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
1609 # Run ACTION-IF-FALSE otherwise.
1610 # This test uses sys.hexversion instead of the string equivalent (first
1611 # word of sys.version), in order to cope with versions such as 2.2c1.
1612 # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
1613 AC_DEFUN([AM_PYTHON_CHECK_VERSION],
1614 [prog="import sys
1615 # split strings by '.' and convert to numeric. Append some zeros
1616 # because we need at least 4 digits for the hex conversion.
1617 # map returns an iterator in Python 3.0 and a list in 2.x
1618 minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
1619 minverhex = 0
1620 # xrange is not present in Python 3.0 and range returns an iterator
1621 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
1622 sys.exit(sys.hexversion < minverhex)"
1623 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1624
1625 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1626 #
1627 # This file is free software; the Free Software Foundation
1628 # gives unlimited permission to copy and/or distribute it,
1629 # with or without modifications, as long as this notice is preserved.
1630
1631 # AM_RUN_LOG(COMMAND)
1632 # -------------------
1633 # Run COMMAND, save the exit status in ac_status, and log it.
1634 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1635 AC_DEFUN([AM_RUN_LOG],
1636 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1637 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1638 ac_status=$?
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1640 (exit $ac_status); }])
1641
1642 # Check to make sure that the build environment is sane. -*- Autoconf -*-
1643
1644 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
1645 #
1646 # This file is free software; the Free Software Foundation
1647 # gives unlimited permission to copy and/or distribute it,
1648 # with or without modifications, as long as this notice is preserved.
1649
1650 # AM_SANITY_CHECK
1651 # ---------------
1652 AC_DEFUN([AM_SANITY_CHECK],
1653 [AC_MSG_CHECKING([whether build environment is sane])
1654 # Reject unsafe characters in $srcdir or the absolute working directory
1655 # name. Accept space and tab only in the latter.
1656 am_lf='
1657 '
1658 case `pwd` in
1659 *[[\\\"\#\$\&\'\`$am_lf]]*)
1660 AC_MSG_ERROR([unsafe absolute working directory name]);;
1661 esac
1662 case $srcdir in
1663 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1664 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1665 esac
1666
1667 # Do 'set' in a subshell so we don't clobber the current shell's
1668 # arguments. Must try -L first in case configure is actually a
1669 # symlink; some systems play weird games with the mod time of symlinks
1670 # (eg FreeBSD returns the mod time of the symlink's containing
1671 # directory).
1672 if (
1673 am_has_slept=no
1674 for am_try in 1 2; do
1675 echo "timestamp, slept: $am_has_slept" > conftest.file
1676 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1677 if test "$[*]" = "X"; then
1678 # -L didn't work.
1679 set X `ls -t "$srcdir/configure" conftest.file`
1680 fi
1681 if test "$[*]" != "X $srcdir/configure conftest.file" \
1682 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1683
1684 # If neither matched, then we have a broken ls. This can happen
1685 # if, for instance, CONFIG_SHELL is bash and it inherits a
1686 # broken ls alias from the environment. This has actually
1687 # happened. Such a system could not be considered "sane".
1688 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1689 alias in your environment])
1690 fi
1691 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1692 break
1693 fi
1694 # Just in case.
1695 sleep 1
1696 am_has_slept=yes
1697 done
1698 test "$[2]" = conftest.file
1699 )
1700 then
1701 # Ok.
1702 :
1703 else
1704 AC_MSG_ERROR([newly created file is older than distributed files!
1705 Check your system clock])
1706 fi
1707 AC_MSG_RESULT([yes])
1708 # If we didn't sleep, we still need to ensure time stamps of config.status and
1709 # generated files are strictly newer.
1710 am_sleep_pid=
1711 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1712 ( sleep 1 ) &
1713 am_sleep_pid=$!
1714 fi
1715 AC_CONFIG_COMMANDS_PRE(
1716 [AC_MSG_CHECKING([that generated files are newer than configure])
1717 if test -n "$am_sleep_pid"; then
1718 # Hide warnings about reused PIDs.
1719 wait $am_sleep_pid 2>/dev/null
1720 fi
1721 AC_MSG_RESULT([done])])
1722 rm -f conftest.file
1723 ])
1724
1725 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
1726 #
1727 # This file is free software; the Free Software Foundation
1728 # gives unlimited permission to copy and/or distribute it,
1729 # with or without modifications, as long as this notice is preserved.
1730
1731 # AM_SILENT_RULES([DEFAULT])
1732 # --------------------------
1733 # Enable less verbose build rules; with the default set to DEFAULT
1734 # ("yes" being less verbose, "no" or empty being verbose).
1735 AC_DEFUN([AM_SILENT_RULES],
1736 [AC_ARG_ENABLE([silent-rules], [dnl
1737 AS_HELP_STRING(
1738 [--enable-silent-rules],
1739 [less verbose build output (undo: "make V=1")])
1740 AS_HELP_STRING(
1741 [--disable-silent-rules],
1742 [verbose build output (undo: "make V=0")])dnl
1743 ])
1744 case $enable_silent_rules in @%:@ (((
1745 yes) AM_DEFAULT_VERBOSITY=0;;
1746 no) AM_DEFAULT_VERBOSITY=1;;
1747 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1748 esac
1749 dnl
1750 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1751 dnl do not support nested variable expansions.
1752 dnl See automake bug#9928 and bug#10237.
1753 am_make=${MAKE-make}
1754 AC_CACHE_CHECK([whether $am_make supports nested variables],
1755 [am_cv_make_support_nested_variables],
1756 [if AS_ECHO([['TRUE=$(BAR$(V))
1757 BAR0=false
1758 BAR1=true
1759 V=1
1760 am__doit:
1761 @$(TRUE)
1762 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1763 am_cv_make_support_nested_variables=yes
1764 else
1765 am_cv_make_support_nested_variables=no
1766 fi])
1767 if test $am_cv_make_support_nested_variables = yes; then
1768 dnl Using '$V' instead of '$(V)' breaks IRIX make.
1769 AM_V='$(V)'
1770 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1771 else
1772 AM_V=$AM_DEFAULT_VERBOSITY
1773 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1774 fi
1775 AC_SUBST([AM_V])dnl
1776 AM_SUBST_NOTMAKE([AM_V])dnl
1777 AC_SUBST([AM_DEFAULT_V])dnl
1778 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1779 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1780 AM_BACKSLASH='\'
1781 AC_SUBST([AM_BACKSLASH])dnl
1782 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1783 ])
1784
1785 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1786 #
1787 # This file is free software; the Free Software Foundation
1788 # gives unlimited permission to copy and/or distribute it,
1789 # with or without modifications, as long as this notice is preserved.
1790
1791 # AM_PROG_INSTALL_STRIP
1792 # ---------------------
1793 # One issue with vendor 'install' (even GNU) is that you can't
1794 # specify the program used to strip binaries. This is especially
1795 # annoying in cross-compiling environments, where the build's strip
1796 # is unlikely to handle the host's binaries.
1797 # Fortunately install-sh will honor a STRIPPROG variable, so we
1798 # always use install-sh in "make install-strip", and initialize
1799 # STRIPPROG with the value of the STRIP variable (set by the user).
1800 AC_DEFUN([AM_PROG_INSTALL_STRIP],
1801 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1802 # Installed binaries are usually stripped using 'strip' when the user
1803 # run "make install-strip". However 'strip' might not be the right
1804 # tool to use in cross-compilation environments, therefore Automake
1805 # will honor the 'STRIP' environment variable to overrule this program.
1806 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1807 if test "$cross_compiling" != no; then
1808 AC_CHECK_TOOL([STRIP], [strip], :)
1809 fi
1810 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1811 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1812
1813 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
1814 #
1815 # This file is free software; the Free Software Foundation
1816 # gives unlimited permission to copy and/or distribute it,
1817 # with or without modifications, as long as this notice is preserved.
1818
1819 # _AM_SUBST_NOTMAKE(VARIABLE)
1820 # ---------------------------
1821 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1822 # This macro is traced by Automake.
1823 AC_DEFUN([_AM_SUBST_NOTMAKE])
1824
1825 # AM_SUBST_NOTMAKE(VARIABLE)
1826 # --------------------------
1827 # Public sister of _AM_SUBST_NOTMAKE.
1828 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1829
1830 # Check how to create a tarball. -*- Autoconf -*-
1831
1832 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
1833 #
1834 # This file is free software; the Free Software Foundation
1835 # gives unlimited permission to copy and/or distribute it,
1836 # with or without modifications, as long as this notice is preserved.
1837
1838 # _AM_PROG_TAR(FORMAT)
1839 # --------------------
1840 # Check how to create a tarball in format FORMAT.
1841 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
1842 #
1843 # Substitute a variable $(am__tar) that is a command
1844 # writing to stdout a FORMAT-tarball containing the directory
1845 # $tardir.
1846 # tardir=directory && $(am__tar) > result.tar
1847 #
1848 # Substitute a variable $(am__untar) that extract such
1849 # a tarball read from stdin.
1850 # $(am__untar) < result.tar
1851 #
1852 AC_DEFUN([_AM_PROG_TAR],
1853 [# Always define AMTAR for backward compatibility. Yes, it's still used
1854 # in the wild :-( We should find a proper way to deprecate it ...
1855 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1856
1857 # We'll loop over all known methods to create a tar archive until one works.
1858 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1859
1860 m4_if([$1], [v7],
1861 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1862
1863 [m4_case([$1],
1864 [ustar],
1865 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1866 # There is notably a 21 bits limit for the UID and the GID. In fact,
1867 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1868 # and bug#13588).
1869 am_max_uid=2097151 # 2^21 - 1
1870 am_max_gid=$am_max_uid
1871 # The $UID and $GID variables are not portable, so we need to resort
1872 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1873 # below are definitely unexpected, so allow the users to see them
1874 # (that is, avoid stderr redirection).
1875 am_uid=`id -u || echo unknown`
1876 am_gid=`id -g || echo unknown`
1877 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1878 if test $am_uid -le $am_max_uid; then
1879 AC_MSG_RESULT([yes])
1880 else
1881 AC_MSG_RESULT([no])
1882 _am_tools=none
1883 fi
1884 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1885 if test $am_gid -le $am_max_gid; then
1886 AC_MSG_RESULT([yes])
1887 else
1888 AC_MSG_RESULT([no])
1889 _am_tools=none
1890 fi],
1891
1892 [pax],
1893 [],
1894
1895 [m4_fatal([Unknown tar format])])
1896
1897 AC_MSG_CHECKING([how to create a $1 tar archive])
1898
1899 # Go ahead even if we have the value already cached. We do so because we
1900 # need to set the values for the 'am__tar' and 'am__untar' variables.
1901 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1902
1903 for _am_tool in $_am_tools; do
1904 case $_am_tool in
1905 gnutar)
1906 for _am_tar in tar gnutar gtar; do
1907 AM_RUN_LOG([$_am_tar --version]) && break
1908 done
1909 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1910 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1911 am__untar="$_am_tar -xf -"
1912 ;;
1913 plaintar)
1914 # Must skip GNU tar: if it does not support --format= it doesn't create
1915 # ustar tarball either.
1916 (tar --version) >/dev/null 2>&1 && continue
1917 am__tar='tar chf - "$$tardir"'
1918 am__tar_='tar chf - "$tardir"'
1919 am__untar='tar xf -'
1920 ;;
1921 pax)
1922 am__tar='pax -L -x $1 -w "$$tardir"'
1923 am__tar_='pax -L -x $1 -w "$tardir"'
1924 am__untar='pax -r'
1925 ;;
1926 cpio)
1927 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1928 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1929 am__untar='cpio -i -H $1 -d'
1930 ;;
1931 none)
1932 am__tar=false
1933 am__tar_=false
1934 am__untar=false
1935 ;;
1936 esac
1937
1938 # If the value was cached, stop now. We just wanted to have am__tar
1939 # and am__untar set.
1940 test -n "${am_cv_prog_tar_$1}" && break
1941
1942 # tar/untar a dummy directory, and stop if the command works.
1943 rm -rf conftest.dir
1944 mkdir conftest.dir
1945 echo GrepMe > conftest.dir/file
1946 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1947 rm -rf conftest.dir
1948 if test -s conftest.tar; then
1949 AM_RUN_LOG([$am__untar <conftest.tar])
1950 AM_RUN_LOG([cat conftest.dir/file])
1951 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1952 fi
1953 done
1954 rm -rf conftest.dir
1955
1956 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1957 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1958
1959 AC_SUBST([am__tar])
1960 AC_SUBST([am__untar])
1961 ]) # _AM_PROG_TAR
1962
1963 m4_include([m4/as-version.m4])
1964 m4_include([m4/boost.m4])
1965 m4_include([m4/gettext.m4])
1966 m4_include([m4/iconv.m4])
1967 m4_include([m4/intlmacosx.m4])
1968 m4_include([m4/lib-ld.m4])
1969 m4_include([m4/lib-link.m4])
1970 m4_include([m4/lib-prefix.m4])
1971 m4_include([m4/libtool.m4])
1972 m4_include([m4/ltoptions.m4])
1973 m4_include([m4/ltsugar.m4])
1974 m4_include([m4/ltversion.m4])
1975 m4_include([m4/lt~obsolete.m4])
1976 m4_include([m4/nls.m4])
1977 m4_include([m4/po.m4])
1978 m4_include([m4/progtest.m4])
0 #! /bin/sh
1 # Wrapper for compilers which do not understand '-c -o'.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
6 # Written by Tom Tromey <tromey@cygnus.com>.
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 <https://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 <bug-automake@gnu.org> or send patches to
28 # <automake-patches@gnu.org>.
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* | MSYS*)
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/* | msys/*)
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 <bug-automake@gnu.org>.
250 EOF
251 exit $?
252 ;;
253 -v | --v*)
254 echo "compile $scriptversion"
255 exit $?
256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261 esac
262
263 ofile=
264 cfile=
265
266 for arg
267 do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298 done
299
300 if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307 fi
308
309 # Name of file we expect compiler to create.
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312 # Create the lock directory.
313 # Note: use '[/\\:.-]' here to ensure that we don't use the same name
314 # that we are using for the .o file. Also, base the name on the expected
315 # object file name, since that is what matters with a parallel build.
316 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317 while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322 done
323 # FIXME: race condition here if user kills between mkdir and trap.
324 trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326 # Run the compile.
327 "$@"
328 ret=$?
329
330 if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332 elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334 fi
335
336 rmdir "$lockdir"
337 exit $ret
338
339 # Local Variables:
340 # mode: shell-script
341 # sh-indentation: 2
342 # eval: (add-hook 'before-save-hook 'time-stamp)
343 # time-stamp-start: "scriptversion="
344 # time-stamp-format: "%:y-%02m-%02d.%02H"
345 # time-stamp-time-zone: "UTC0"
346 # time-stamp-end: "; # UTC"
347 # End:
0 #!/usr/bin/sh
1 # Attempt to guess a canonical system name.
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-05-25'
7
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # 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 <https://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
25 # program. This Exception is an additional permission under section 7
26 # of the GNU General Public License, version 3 ("GPLv3").
27 #
28 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
29 #
30 # You can get the latest version of this script from:
31 # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
32 #
33 # Please send patches to <config-patches@gnu.org>.
34
35
36 # The "shellcheck disable" line above the timestamp inhibits complaints
37 # about features and limitations of the classic Bourne shell that were
38 # superseded or lifted in POSIX. However, this script identifies a wide
39 # variety of pre-POSIX systems that do not have POSIX shells at all, and
40 # even some reasonably current systems (Solaris 10 as case-in-point) still
41 # have a pre-POSIX /bin/sh.
42
43
44 me=`echo "$0" | sed -e 's,.*/,,'`
45
46 usage="\
47 Usage: $0 [OPTION]
48
49 Output the configuration name of the system \`$me' is run on.
50
51 Options:
52 -h, --help print this help, then exit
53 -t, --time-stamp print date of last modification, then exit
54 -v, --version print version number, then exit
55
56 Report bugs and patches to <config-patches@gnu.org>."
57
58 version="\
59 GNU config.guess ($timestamp)
60
61 Originally written by Per Bothner.
62 Copyright 1992-2022 Free Software Foundation, Inc.
63
64 This is free software; see the source for copying conditions. There is NO
65 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
66
67 help="
68 Try \`$me --help' for more information."
69
70 # Parse command line
71 while test $# -gt 0 ; do
72 case $1 in
73 --time-stamp | --time* | -t )
74 echo "$timestamp" ; exit ;;
75 --version | -v )
76 echo "$version" ; exit ;;
77 --help | --h* | -h )
78 echo "$usage"; exit ;;
79 -- ) # Stop option processing
80 shift; break ;;
81 - ) # Use stdin as input.
82 break ;;
83 -* )
84 echo "$me: invalid option $1$help" >&2
85 exit 1 ;;
86 * )
87 break ;;
88 esac
89 done
90
91 if test $# != 0; then
92 echo "$me: too many arguments$help" >&2
93 exit 1
94 fi
95
96 # Just in case it came from the environment.
97 GUESS=
98
99 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
100 # compiler to aid in system detection is discouraged as it requires
101 # temporary files to be created and, as you can see below, it is a
102 # headache to deal with in a portable fashion.
103
104 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
105 # use `HOST_CC' if defined, but it is deprecated.
106
107 # Portable tmp directory creation inspired by the Autoconf team.
108
109 tmp=
110 # shellcheck disable=SC2172
111 trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
112
113 set_cc_for_build() {
114 # prevent multiple calls if $tmp is already set
115 test "$tmp" && return 0
116 : "${TMPDIR=/tmp}"
117 # shellcheck disable=SC2039,SC3028
118 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
119 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
120 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
121 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
122 dummy=$tmp/dummy
123 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
124 ,,) echo "int x;" > "$dummy.c"
125 for driver in cc gcc c89 c99 ; do
126 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
127 CC_FOR_BUILD=$driver
128 break
129 fi
130 done
131 if test x"$CC_FOR_BUILD" = x ; then
132 CC_FOR_BUILD=no_compiler_found
133 fi
134 ;;
135 ,,*) CC_FOR_BUILD=$CC ;;
136 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
137 esac
138 }
139
140 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
141 # (ghazi@noc.rutgers.edu 1994-08-24)
142 if test -f /.attbin/uname ; then
143 PATH=$PATH:/.attbin ; export PATH
144 fi
145
146 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
147 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
148 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
149 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
150
151 case $UNAME_SYSTEM in
152 Linux|GNU|GNU/*)
153 LIBC=unknown
154
155 set_cc_for_build
156 cat <<-EOF > "$dummy.c"
157 #include <features.h>
158 #if defined(__UCLIBC__)
159 LIBC=uclibc
160 #elif defined(__dietlibc__)
161 LIBC=dietlibc
162 #elif defined(__GLIBC__)
163 LIBC=gnu
164 #else
165 #include <stdarg.h>
166 /* First heuristic to detect musl libc. */
167 #ifdef __DEFINED_va_list
168 LIBC=musl
169 #endif
170 #endif
171 EOF
172 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
173 eval "$cc_set_libc"
174
175 # Second heuristic to detect musl libc.
176 if [ "$LIBC" = unknown ] &&
177 command -v ldd >/dev/null &&
178 ldd --version 2>&1 | grep -q ^musl; then
179 LIBC=musl
180 fi
181
182 # If the system lacks a compiler, then just pick glibc.
183 # We could probably try harder.
184 if [ "$LIBC" = unknown ]; then
185 LIBC=gnu
186 fi
187 ;;
188 esac
189
190 # Note: order is significant - the case branches are not exclusive.
191
192 case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
193 *:NetBSD:*:*)
194 # NetBSD (nbsd) targets should (where applicable) match one or
195 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
196 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
197 # switched to ELF, *-*-netbsd* would select the old
198 # object file format. This provides both forward
199 # compatibility and a consistent mechanism for selecting the
200 # object file format.
201 #
202 # Note: NetBSD doesn't particularly care about the vendor
203 # portion of the name. We always set it to "unknown".
204 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
205 /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
206 /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
207 echo unknown)`
208 case $UNAME_MACHINE_ARCH in
209 aarch64eb) machine=aarch64_be-unknown ;;
210 armeb) machine=armeb-unknown ;;
211 arm*) machine=arm-unknown ;;
212 sh3el) machine=shl-unknown ;;
213 sh3eb) machine=sh-unknown ;;
214 sh5el) machine=sh5le-unknown ;;
215 earmv*)
216 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
217 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
218 machine=${arch}${endian}-unknown
219 ;;
220 *) machine=$UNAME_MACHINE_ARCH-unknown ;;
221 esac
222 # The Operating System including object format, if it has switched
223 # to ELF recently (or will in the future) and ABI.
224 case $UNAME_MACHINE_ARCH in
225 earm*)
226 os=netbsdelf
227 ;;
228 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
229 set_cc_for_build
230 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
231 | grep -q __ELF__
232 then
233 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
234 # Return netbsd for either. FIX?
235 os=netbsd
236 else
237 os=netbsdelf
238 fi
239 ;;
240 *)
241 os=netbsd
242 ;;
243 esac
244 # Determine ABI tags.
245 case $UNAME_MACHINE_ARCH in
246 earm*)
247 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
248 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
249 ;;
250 esac
251 # The OS release
252 # Debian GNU/NetBSD machines have a different userland, and
253 # thus, need a distinct triplet. However, they do not need
254 # kernel version information, so it can be replaced with a
255 # suitable tag, in the style of linux-gnu.
256 case $UNAME_VERSION in
257 Debian*)
258 release='-gnu'
259 ;;
260 *)
261 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
262 ;;
263 esac
264 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
265 # contains redundant information, the shorter form:
266 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
267 GUESS=$machine-${os}${release}${abi-}
268 ;;
269 *:Bitrig:*:*)
270 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
271 GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
272 ;;
273 *:OpenBSD:*:*)
274 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
275 GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE
276 ;;
277 *:SecBSD:*:*)
278 UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
279 GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE
280 ;;
281 *:LibertyBSD:*:*)
282 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
283 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
284 ;;
285 *:MidnightBSD:*:*)
286 GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
287 ;;
288 *:ekkoBSD:*:*)
289 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
290 ;;
291 *:SolidBSD:*:*)
292 GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
293 ;;
294 *:OS108:*:*)
295 GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
296 ;;
297 macppc:MirBSD:*:*)
298 GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
299 ;;
300 *:MirBSD:*:*)
301 GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE
302 ;;
303 *:Sortix:*:*)
304 GUESS=$UNAME_MACHINE-unknown-sortix
305 ;;
306 *:Twizzler:*:*)
307 GUESS=$UNAME_MACHINE-unknown-twizzler
308 ;;
309 *:Redox:*:*)
310 GUESS=$UNAME_MACHINE-unknown-redox
311 ;;
312 mips:OSF1:*.*)
313 GUESS=mips-dec-osf1
314 ;;
315 alpha:OSF1:*:*)
316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
317 trap '' 0
318 case $UNAME_RELEASE in
319 *4.0)
320 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
321 ;;
322 *5.*)
323 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
324 ;;
325 esac
326 # According to Compaq, /usr/sbin/psrinfo has been available on
327 # OSF/1 and Tru64 systems produced since 1995. I hope that
328 # covers most systems running today. This code pipes the CPU
329 # types through head -n 1, so we only detect the type of CPU 0.
330 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
331 case $ALPHA_CPU_TYPE in
332 "EV4 (21064)")
333 UNAME_MACHINE=alpha ;;
334 "EV4.5 (21064)")
335 UNAME_MACHINE=alpha ;;
336 "LCA4 (21066/21068)")
337 UNAME_MACHINE=alpha ;;
338 "EV5 (21164)")
339 UNAME_MACHINE=alphaev5 ;;
340 "EV5.6 (21164A)")
341 UNAME_MACHINE=alphaev56 ;;
342 "EV5.6 (21164PC)")
343 UNAME_MACHINE=alphapca56 ;;
344 "EV5.7 (21164PC)")
345 UNAME_MACHINE=alphapca57 ;;
346 "EV6 (21264)")
347 UNAME_MACHINE=alphaev6 ;;
348 "EV6.7 (21264A)")
349 UNAME_MACHINE=alphaev67 ;;
350 "EV6.8CB (21264C)")
351 UNAME_MACHINE=alphaev68 ;;
352 "EV6.8AL (21264B)")
353 UNAME_MACHINE=alphaev68 ;;
354 "EV6.8CX (21264D)")
355 UNAME_MACHINE=alphaev68 ;;
356 "EV6.9A (21264/EV69A)")
357 UNAME_MACHINE=alphaev69 ;;
358 "EV7 (21364)")
359 UNAME_MACHINE=alphaev7 ;;
360 "EV7.9 (21364A)")
361 UNAME_MACHINE=alphaev79 ;;
362 esac
363 # A Pn.n version is a patched version.
364 # A Vn.n version is a released version.
365 # A Tn.n version is a released field test version.
366 # A Xn.n version is an unreleased experimental baselevel.
367 # 1.2 uses "1.2" for uname -r.
368 OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
369 GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
370 ;;
371 Amiga*:UNIX_System_V:4.0:*)
372 GUESS=m68k-unknown-sysv4
373 ;;
374 *:[Aa]miga[Oo][Ss]:*:*)
375 GUESS=$UNAME_MACHINE-unknown-amigaos
376 ;;
377 *:[Mm]orph[Oo][Ss]:*:*)
378 GUESS=$UNAME_MACHINE-unknown-morphos
379 ;;
380 *:OS/390:*:*)
381 GUESS=i370-ibm-openedition
382 ;;
383 *:z/VM:*:*)
384 GUESS=s390-ibm-zvmoe
385 ;;
386 *:OS400:*:*)
387 GUESS=powerpc-ibm-os400
388 ;;
389 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
390 GUESS=arm-acorn-riscix$UNAME_RELEASE
391 ;;
392 arm*:riscos:*:*|arm*:RISCOS:*:*)
393 GUESS=arm-unknown-riscos
394 ;;
395 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
396 GUESS=hppa1.1-hitachi-hiuxmpp
397 ;;
398 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
399 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
400 case `(/bin/universe) 2>/dev/null` in
401 att) GUESS=pyramid-pyramid-sysv3 ;;
402 *) GUESS=pyramid-pyramid-bsd ;;
403 esac
404 ;;
405 NILE*:*:*:dcosx)
406 GUESS=pyramid-pyramid-svr4
407 ;;
408 DRS?6000:unix:4.0:6*)
409 GUESS=sparc-icl-nx6
410 ;;
411 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
412 case `/usr/bin/uname -p` in
413 sparc) GUESS=sparc-icl-nx7 ;;
414 esac
415 ;;
416 s390x:SunOS:*:*)
417 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
418 GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
419 ;;
420 sun4H:SunOS:5.*:*)
421 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
422 GUESS=sparc-hal-solaris2$SUN_REL
423 ;;
424 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
425 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
426 GUESS=sparc-sun-solaris2$SUN_REL
427 ;;
428 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
429 GUESS=i386-pc-auroraux$UNAME_RELEASE
430 ;;
431 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
432 set_cc_for_build
433 SUN_ARCH=i386
434 # If there is a compiler, see if it is configured for 64-bit objects.
435 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
436 # This test works for both compilers.
437 if test "$CC_FOR_BUILD" != no_compiler_found; then
438 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
439 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
440 grep IS_64BIT_ARCH >/dev/null
441 then
442 SUN_ARCH=x86_64
443 fi
444 fi
445 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
446 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
447 ;;
448 sun4*:SunOS:6*:*)
449 # According to config.sub, this is the proper way to canonicalize
450 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
451 # it's likely to be more like Solaris than SunOS4.
452 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
453 GUESS=sparc-sun-solaris3$SUN_REL
454 ;;
455 sun4*:SunOS:*:*)
456 case `/usr/bin/arch -k` in
457 Series*|S4*)
458 UNAME_RELEASE=`uname -v`
459 ;;
460 esac
461 # Japanese Language versions have a version number like `4.1.3-JL'.
462 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
463 GUESS=sparc-sun-sunos$SUN_REL
464 ;;
465 sun3*:SunOS:*:*)
466 GUESS=m68k-sun-sunos$UNAME_RELEASE
467 ;;
468 sun*:*:4.2BSD:*)
469 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
470 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
471 case `/bin/arch` in
472 sun3)
473 GUESS=m68k-sun-sunos$UNAME_RELEASE
474 ;;
475 sun4)
476 GUESS=sparc-sun-sunos$UNAME_RELEASE
477 ;;
478 esac
479 ;;
480 aushp:SunOS:*:*)
481 GUESS=sparc-auspex-sunos$UNAME_RELEASE
482 ;;
483 # The situation for MiNT is a little confusing. The machine name
484 # can be virtually everything (everything which is not
485 # "atarist" or "atariste" at least should have a processor
486 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
487 # to the lowercase version "mint" (or "freemint"). Finally
488 # the system name "TOS" denotes a system which is actually not
489 # MiNT. But MiNT is downward compatible to TOS, so this should
490 # be no problem.
491 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
492 GUESS=m68k-atari-mint$UNAME_RELEASE
493 ;;
494 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
495 GUESS=m68k-atari-mint$UNAME_RELEASE
496 ;;
497 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
498 GUESS=m68k-atari-mint$UNAME_RELEASE
499 ;;
500 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
501 GUESS=m68k-milan-mint$UNAME_RELEASE
502 ;;
503 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
504 GUESS=m68k-hades-mint$UNAME_RELEASE
505 ;;
506 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
507 GUESS=m68k-unknown-mint$UNAME_RELEASE
508 ;;
509 m68k:machten:*:*)
510 GUESS=m68k-apple-machten$UNAME_RELEASE
511 ;;
512 powerpc:machten:*:*)
513 GUESS=powerpc-apple-machten$UNAME_RELEASE
514 ;;
515 RISC*:Mach:*:*)
516 GUESS=mips-dec-mach_bsd4.3
517 ;;
518 RISC*:ULTRIX:*:*)
519 GUESS=mips-dec-ultrix$UNAME_RELEASE
520 ;;
521 VAX*:ULTRIX*:*:*)
522 GUESS=vax-dec-ultrix$UNAME_RELEASE
523 ;;
524 2020:CLIX:*:* | 2430:CLIX:*:*)
525 GUESS=clipper-intergraph-clix$UNAME_RELEASE
526 ;;
527 mips:*:*:UMIPS | mips:*:*:RISCos)
528 set_cc_for_build
529 sed 's/^ //' << EOF > "$dummy.c"
530 #ifdef __cplusplus
531 #include <stdio.h> /* for printf() prototype */
532 int main (int argc, char *argv[]) {
533 #else
534 int main (argc, argv) int argc; char *argv[]; {
535 #endif
536 #if defined (host_mips) && defined (MIPSEB)
537 #if defined (SYSTYPE_SYSV)
538 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
539 #endif
540 #if defined (SYSTYPE_SVR4)
541 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
542 #endif
543 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
544 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
545 #endif
546 #endif
547 exit (-1);
548 }
549 EOF
550 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
551 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
552 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
553 { echo "$SYSTEM_NAME"; exit; }
554 GUESS=mips-mips-riscos$UNAME_RELEASE
555 ;;
556 Motorola:PowerMAX_OS:*:*)
557 GUESS=powerpc-motorola-powermax
558 ;;
559 Motorola:*:4.3:PL8-*)
560 GUESS=powerpc-harris-powermax
561 ;;
562 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
563 GUESS=powerpc-harris-powermax
564 ;;
565 Night_Hawk:Power_UNIX:*:*)
566 GUESS=powerpc-harris-powerunix
567 ;;
568 m88k:CX/UX:7*:*)
569 GUESS=m88k-harris-cxux7
570 ;;
571 m88k:*:4*:R4*)
572 GUESS=m88k-motorola-sysv4
573 ;;
574 m88k:*:3*:R3*)
575 GUESS=m88k-motorola-sysv3
576 ;;
577 AViiON:dgux:*:*)
578 # DG/UX returns AViiON for all architectures
579 UNAME_PROCESSOR=`/usr/bin/uname -p`
580 if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
581 then
582 if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
583 test "$TARGET_BINARY_INTERFACE"x = x
584 then
585 GUESS=m88k-dg-dgux$UNAME_RELEASE
586 else
587 GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
588 fi
589 else
590 GUESS=i586-dg-dgux$UNAME_RELEASE
591 fi
592 ;;
593 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
594 GUESS=m88k-dolphin-sysv3
595 ;;
596 M88*:*:R3*:*)
597 # Delta 88k system running SVR3
598 GUESS=m88k-motorola-sysv3
599 ;;
600 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
601 GUESS=m88k-tektronix-sysv3
602 ;;
603 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
604 GUESS=m68k-tektronix-bsd
605 ;;
606 *:IRIX*:*:*)
607 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
608 GUESS=mips-sgi-irix$IRIX_REL
609 ;;
610 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
611 GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id
612 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
613 i*86:AIX:*:*)
614 GUESS=i386-ibm-aix
615 ;;
616 ia64:AIX:*:*)
617 if test -x /usr/bin/oslevel ; then
618 IBM_REV=`/usr/bin/oslevel`
619 else
620 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
621 fi
622 GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
623 ;;
624 *:AIX:2:3)
625 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
626 set_cc_for_build
627 sed 's/^ //' << EOF > "$dummy.c"
628 #include <sys/systemcfg.h>
629
630 main()
631 {
632 if (!__power_pc())
633 exit(1);
634 puts("powerpc-ibm-aix3.2.5");
635 exit(0);
636 }
637 EOF
638 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
639 then
640 GUESS=$SYSTEM_NAME
641 else
642 GUESS=rs6000-ibm-aix3.2.5
643 fi
644 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
645 GUESS=rs6000-ibm-aix3.2.4
646 else
647 GUESS=rs6000-ibm-aix3.2
648 fi
649 ;;
650 *:AIX:*:[4567])
651 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
652 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
653 IBM_ARCH=rs6000
654 else
655 IBM_ARCH=powerpc
656 fi
657 if test -x /usr/bin/lslpp ; then
658 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \
659 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
660 else
661 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
662 fi
663 GUESS=$IBM_ARCH-ibm-aix$IBM_REV
664 ;;
665 *:AIX:*:*)
666 GUESS=rs6000-ibm-aix
667 ;;
668 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
669 GUESS=romp-ibm-bsd4.4
670 ;;
671 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
672 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
673 ;; # report: romp-ibm BSD 4.3
674 *:BOSX:*:*)
675 GUESS=rs6000-bull-bosx
676 ;;
677 DPX/2?00:B.O.S.:*:*)
678 GUESS=m68k-bull-sysv3
679 ;;
680 9000/[34]??:4.3bsd:1.*:*)
681 GUESS=m68k-hp-bsd
682 ;;
683 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
684 GUESS=m68k-hp-bsd4.4
685 ;;
686 9000/[34678]??:HP-UX:*:*)
687 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
688 case $UNAME_MACHINE in
689 9000/31?) HP_ARCH=m68000 ;;
690 9000/[34]??) HP_ARCH=m68k ;;
691 9000/[678][0-9][0-9])
692 if test -x /usr/bin/getconf; then
693 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
694 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
695 case $sc_cpu_version in
696 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
697 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
698 532) # CPU_PA_RISC2_0
699 case $sc_kernel_bits in
700 32) HP_ARCH=hppa2.0n ;;
701 64) HP_ARCH=hppa2.0w ;;
702 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
703 esac ;;
704 esac
705 fi
706 if test "$HP_ARCH" = ""; then
707 set_cc_for_build
708 sed 's/^ //' << EOF > "$dummy.c"
709
710 #define _HPUX_SOURCE
711 #include <stdlib.h>
712 #include <unistd.h>
713
714 int main ()
715 {
716 #if defined(_SC_KERNEL_BITS)
717 long bits = sysconf(_SC_KERNEL_BITS);
718 #endif
719 long cpu = sysconf (_SC_CPU_VERSION);
720
721 switch (cpu)
722 {
723 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
724 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
725 case CPU_PA_RISC2_0:
726 #if defined(_SC_KERNEL_BITS)
727 switch (bits)
728 {
729 case 64: puts ("hppa2.0w"); break;
730 case 32: puts ("hppa2.0n"); break;
731 default: puts ("hppa2.0"); break;
732 } break;
733 #else /* !defined(_SC_KERNEL_BITS) */
734 puts ("hppa2.0"); break;
735 #endif
736 default: puts ("hppa1.0"); break;
737 }
738 exit (0);
739 }
740 EOF
741 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
742 test -z "$HP_ARCH" && HP_ARCH=hppa
743 fi ;;
744 esac
745 if test "$HP_ARCH" = hppa2.0w
746 then
747 set_cc_for_build
748
749 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
750 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
751 # generating 64-bit code. GNU and HP use different nomenclature:
752 #
753 # $ CC_FOR_BUILD=cc ./config.guess
754 # => hppa2.0w-hp-hpux11.23
755 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
756 # => hppa64-hp-hpux11.23
757
758 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
759 grep -q __LP64__
760 then
761 HP_ARCH=hppa2.0w
762 else
763 HP_ARCH=hppa64
764 fi
765 fi
766 GUESS=$HP_ARCH-hp-hpux$HPUX_REV
767 ;;
768 ia64:HP-UX:*:*)
769 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
770 GUESS=ia64-hp-hpux$HPUX_REV
771 ;;
772 3050*:HI-UX:*:*)
773 set_cc_for_build
774 sed 's/^ //' << EOF > "$dummy.c"
775 #include <unistd.h>
776 int
777 main ()
778 {
779 long cpu = sysconf (_SC_CPU_VERSION);
780 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
781 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
782 results, however. */
783 if (CPU_IS_PA_RISC (cpu))
784 {
785 switch (cpu)
786 {
787 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
788 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
789 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
790 default: puts ("hppa-hitachi-hiuxwe2"); break;
791 }
792 }
793 else if (CPU_IS_HP_MC68K (cpu))
794 puts ("m68k-hitachi-hiuxwe2");
795 else puts ("unknown-hitachi-hiuxwe2");
796 exit (0);
797 }
798 EOF
799 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
800 { echo "$SYSTEM_NAME"; exit; }
801 GUESS=unknown-hitachi-hiuxwe2
802 ;;
803 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
804 GUESS=hppa1.1-hp-bsd
805 ;;
806 9000/8??:4.3bsd:*:*)
807 GUESS=hppa1.0-hp-bsd
808 ;;
809 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
810 GUESS=hppa1.0-hp-mpeix
811 ;;
812 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
813 GUESS=hppa1.1-hp-osf
814 ;;
815 hp8??:OSF1:*:*)
816 GUESS=hppa1.0-hp-osf
817 ;;
818 i*86:OSF1:*:*)
819 if test -x /usr/sbin/sysversion ; then
820 GUESS=$UNAME_MACHINE-unknown-osf1mk
821 else
822 GUESS=$UNAME_MACHINE-unknown-osf1
823 fi
824 ;;
825 parisc*:Lites*:*:*)
826 GUESS=hppa1.1-hp-lites
827 ;;
828 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
829 GUESS=c1-convex-bsd
830 ;;
831 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
832 if getsysinfo -f scalar_acc
833 then echo c32-convex-bsd
834 else echo c2-convex-bsd
835 fi
836 exit ;;
837 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
838 GUESS=c34-convex-bsd
839 ;;
840 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
841 GUESS=c38-convex-bsd
842 ;;
843 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
844 GUESS=c4-convex-bsd
845 ;;
846 CRAY*Y-MP:*:*:*)
847 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
848 GUESS=ymp-cray-unicos$CRAY_REL
849 ;;
850 CRAY*[A-Z]90:*:*:*)
851 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
852 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
853 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
854 -e 's/\.[^.]*$/.X/'
855 exit ;;
856 CRAY*TS:*:*:*)
857 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
858 GUESS=t90-cray-unicos$CRAY_REL
859 ;;
860 CRAY*T3E:*:*:*)
861 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
862 GUESS=alphaev5-cray-unicosmk$CRAY_REL
863 ;;
864 CRAY*SV1:*:*:*)
865 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
866 GUESS=sv1-cray-unicos$CRAY_REL
867 ;;
868 *:UNICOS/mp:*:*)
869 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 GUESS=craynv-cray-unicosmp$CRAY_REL
871 ;;
872 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
873 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
874 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
875 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
876 GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
877 ;;
878 5000:UNIX_System_V:4.*:*)
879 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
880 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
881 GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
882 ;;
883 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
884 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
885 ;;
886 sparc*:BSD/OS:*:*)
887 GUESS=sparc-unknown-bsdi$UNAME_RELEASE
888 ;;
889 *:BSD/OS:*:*)
890 GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE
891 ;;
892 arm:FreeBSD:*:*)
893 UNAME_PROCESSOR=`uname -p`
894 set_cc_for_build
895 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
896 | grep -q __ARM_PCS_VFP
897 then
898 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
899 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi
900 else
901 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
902 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf
903 fi
904 ;;
905 *:FreeBSD:*:*)
906 UNAME_PROCESSOR=`/usr/bin/uname -p`
907 case $UNAME_PROCESSOR in
908 amd64)
909 UNAME_PROCESSOR=x86_64 ;;
910 i386)
911 UNAME_PROCESSOR=i586 ;;
912 esac
913 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
914 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
915 ;;
916 i*:CYGWIN*:*)
917 GUESS=$UNAME_MACHINE-pc-cygwin
918 ;;
919 *:MINGW64*:*)
920 GUESS=$UNAME_MACHINE-pc-mingw64
921 ;;
922 *:MINGW*:*)
923 GUESS=$UNAME_MACHINE-pc-mingw32
924 ;;
925 *:MSYS*:*)
926 GUESS=$UNAME_MACHINE-pc-msys
927 ;;
928 i*:PW*:*)
929 GUESS=$UNAME_MACHINE-pc-pw32
930 ;;
931 *:SerenityOS:*:*)
932 GUESS=$UNAME_MACHINE-pc-serenity
933 ;;
934 *:Interix*:*)
935 case $UNAME_MACHINE in
936 x86)
937 GUESS=i586-pc-interix$UNAME_RELEASE
938 ;;
939 authenticamd | genuineintel | EM64T)
940 GUESS=x86_64-unknown-interix$UNAME_RELEASE
941 ;;
942 IA64)
943 GUESS=ia64-unknown-interix$UNAME_RELEASE
944 ;;
945 esac ;;
946 i*:UWIN*:*)
947 GUESS=$UNAME_MACHINE-pc-uwin
948 ;;
949 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
950 GUESS=x86_64-pc-cygwin
951 ;;
952 prep*:SunOS:5.*:*)
953 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
954 GUESS=powerpcle-unknown-solaris2$SUN_REL
955 ;;
956 *:GNU:*:*)
957 # the GNU system
958 GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
959 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
960 GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL
961 ;;
962 *:GNU/*:*:*)
963 # other systems with GNU libc and userland
964 GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
965 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
966 GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
967 ;;
968 *:Minix:*:*)
969 GUESS=$UNAME_MACHINE-unknown-minix
970 ;;
971 aarch64:Linux:*:*)
972 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
973 ;;
974 aarch64_be:Linux:*:*)
975 UNAME_MACHINE=aarch64_be
976 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
977 ;;
978 alpha:Linux:*:*)
979 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
980 EV5) UNAME_MACHINE=alphaev5 ;;
981 EV56) UNAME_MACHINE=alphaev56 ;;
982 PCA56) UNAME_MACHINE=alphapca56 ;;
983 PCA57) UNAME_MACHINE=alphapca56 ;;
984 EV6) UNAME_MACHINE=alphaev6 ;;
985 EV67) UNAME_MACHINE=alphaev67 ;;
986 EV68*) UNAME_MACHINE=alphaev68 ;;
987 esac
988 objdump --private-headers /bin/sh | grep -q ld.so.1
989 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
990 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
991 ;;
992 arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*)
993 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
994 ;;
995 arm*:Linux:*:*)
996 set_cc_for_build
997 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
998 | grep -q __ARM_EABI__
999 then
1000 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1001 else
1002 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
1003 | grep -q __ARM_PCS_VFP
1004 then
1005 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
1006 else
1007 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
1008 fi
1009 fi
1010 ;;
1011 avr32*:Linux:*:*)
1012 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1013 ;;
1014 cris:Linux:*:*)
1015 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1016 ;;
1017 crisv32:Linux:*:*)
1018 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1019 ;;
1020 e2k:Linux:*:*)
1021 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1022 ;;
1023 frv:Linux:*:*)
1024 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1025 ;;
1026 hexagon:Linux:*:*)
1027 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1028 ;;
1029 i*86:Linux:*:*)
1030 GUESS=$UNAME_MACHINE-pc-linux-$LIBC
1031 ;;
1032 ia64:Linux:*:*)
1033 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1034 ;;
1035 k1om:Linux:*:*)
1036 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1037 ;;
1038 loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
1039 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1040 ;;
1041 m32r*:Linux:*:*)
1042 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1043 ;;
1044 m68*:Linux:*:*)
1045 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1046 ;;
1047 mips:Linux:*:* | mips64:Linux:*:*)
1048 set_cc_for_build
1049 IS_GLIBC=0
1050 test x"${LIBC}" = xgnu && IS_GLIBC=1
1051 sed 's/^ //' << EOF > "$dummy.c"
1052 #undef CPU
1053 #undef mips
1054 #undef mipsel
1055 #undef mips64
1056 #undef mips64el
1057 #if ${IS_GLIBC} && defined(_ABI64)
1058 LIBCABI=gnuabi64
1059 #else
1060 #if ${IS_GLIBC} && defined(_ABIN32)
1061 LIBCABI=gnuabin32
1062 #else
1063 LIBCABI=${LIBC}
1064 #endif
1065 #endif
1066
1067 #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
1068 CPU=mipsisa64r6
1069 #else
1070 #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
1071 CPU=mipsisa32r6
1072 #else
1073 #if defined(__mips64)
1074 CPU=mips64
1075 #else
1076 CPU=mips
1077 #endif
1078 #endif
1079 #endif
1080
1081 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
1082 MIPS_ENDIAN=el
1083 #else
1084 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
1085 MIPS_ENDIAN=
1086 #else
1087 MIPS_ENDIAN=
1088 #endif
1089 #endif
1090 EOF
1091 cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'`
1092 eval "$cc_set_vars"
1093 test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; }
1094 ;;
1095 mips64el:Linux:*:*)
1096 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1097 ;;
1098 openrisc*:Linux:*:*)
1099 GUESS=or1k-unknown-linux-$LIBC
1100 ;;
1101 or32:Linux:*:* | or1k*:Linux:*:*)
1102 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1103 ;;
1104 padre:Linux:*:*)
1105 GUESS=sparc-unknown-linux-$LIBC
1106 ;;
1107 parisc64:Linux:*:* | hppa64:Linux:*:*)
1108 GUESS=hppa64-unknown-linux-$LIBC
1109 ;;
1110 parisc:Linux:*:* | hppa:Linux:*:*)
1111 # Look for CPU level
1112 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1113 PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
1114 PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
1115 *) GUESS=hppa-unknown-linux-$LIBC ;;
1116 esac
1117 ;;
1118 ppc64:Linux:*:*)
1119 GUESS=powerpc64-unknown-linux-$LIBC
1120 ;;
1121 ppc:Linux:*:*)
1122 GUESS=powerpc-unknown-linux-$LIBC
1123 ;;
1124 ppc64le:Linux:*:*)
1125 GUESS=powerpc64le-unknown-linux-$LIBC
1126 ;;
1127 ppcle:Linux:*:*)
1128 GUESS=powerpcle-unknown-linux-$LIBC
1129 ;;
1130 riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
1131 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1132 ;;
1133 s390:Linux:*:* | s390x:Linux:*:*)
1134 GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
1135 ;;
1136 sh64*:Linux:*:*)
1137 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1138 ;;
1139 sh*:Linux:*:*)
1140 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1141 ;;
1142 sparc:Linux:*:* | sparc64:Linux:*:*)
1143 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1144 ;;
1145 tile*:Linux:*:*)
1146 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1147 ;;
1148 vax:Linux:*:*)
1149 GUESS=$UNAME_MACHINE-dec-linux-$LIBC
1150 ;;
1151 x86_64:Linux:*:*)
1152 set_cc_for_build
1153 CPU=$UNAME_MACHINE
1154 LIBCABI=$LIBC
1155 if test "$CC_FOR_BUILD" != no_compiler_found; then
1156 ABI=64
1157 sed 's/^ //' << EOF > "$dummy.c"
1158 #ifdef __i386__
1159 ABI=x86
1160 #else
1161 #ifdef __ILP32__
1162 ABI=x32
1163 #endif
1164 #endif
1165 EOF
1166 cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1167 eval "$cc_set_abi"
1168 case $ABI in
1169 x86) CPU=i686 ;;
1170 x32) LIBCABI=${LIBC}x32 ;;
1171 esac
1172 fi
1173 GUESS=$CPU-pc-linux-$LIBCABI
1174 ;;
1175 xtensa*:Linux:*:*)
1176 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1177 ;;
1178 i*86:DYNIX/ptx:4*:*)
1179 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1180 # earlier versions are messed up and put the nodename in both
1181 # sysname and nodename.
1182 GUESS=i386-sequent-sysv4
1183 ;;
1184 i*86:UNIX_SV:4.2MP:2.*)
1185 # Unixware is an offshoot of SVR4, but it has its own version
1186 # number series starting with 2...
1187 # I am not positive that other SVR4 systems won't match this,
1188 # I just have to hope. -- rms.
1189 # Use sysv4.2uw... so that sysv4* matches it.
1190 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
1191 ;;
1192 i*86:OS/2:*:*)
1193 # If we were able to find `uname', then EMX Unix compatibility
1194 # is probably installed.
1195 GUESS=$UNAME_MACHINE-pc-os2-emx
1196 ;;
1197 i*86:XTS-300:*:STOP)
1198 GUESS=$UNAME_MACHINE-unknown-stop
1199 ;;
1200 i*86:atheos:*:*)
1201 GUESS=$UNAME_MACHINE-unknown-atheos
1202 ;;
1203 i*86:syllable:*:*)
1204 GUESS=$UNAME_MACHINE-pc-syllable
1205 ;;
1206 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1207 GUESS=i386-unknown-lynxos$UNAME_RELEASE
1208 ;;
1209 i*86:*DOS:*:*)
1210 GUESS=$UNAME_MACHINE-pc-msdosdjgpp
1211 ;;
1212 i*86:*:4.*:*)
1213 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1214 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1215 GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
1216 else
1217 GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
1218 fi
1219 ;;
1220 i*86:*:5:[678]*)
1221 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1222 case `/bin/uname -X | grep "^Machine"` in
1223 *486*) UNAME_MACHINE=i486 ;;
1224 *Pentium) UNAME_MACHINE=i586 ;;
1225 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1226 esac
1227 GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1228 ;;
1229 i*86:*:3.2:*)
1230 if test -f /usr/options/cb.name; then
1231 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1232 GUESS=$UNAME_MACHINE-pc-isc$UNAME_REL
1233 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1234 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1235 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1236 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1237 && UNAME_MACHINE=i586
1238 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1239 && UNAME_MACHINE=i686
1240 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1241 && UNAME_MACHINE=i686
1242 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
1243 else
1244 GUESS=$UNAME_MACHINE-pc-sysv32
1245 fi
1246 ;;
1247 pc:*:*:*)
1248 # Left here for compatibility:
1249 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1250 # the processor, so we play safe by assuming i586.
1251 # Note: whatever this is, it MUST be the same as what config.sub
1252 # prints for the "djgpp" host, or else GDB configure will decide that
1253 # this is a cross-build.
1254 GUESS=i586-pc-msdosdjgpp
1255 ;;
1256 Intel:Mach:3*:*)
1257 GUESS=i386-pc-mach3
1258 ;;
1259 paragon:*:*:*)
1260 GUESS=i860-intel-osf1
1261 ;;
1262 i860:*:4.*:*) # i860-SVR4
1263 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1264 GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
1265 else # Add other i860-SVR4 vendors below as they are discovered.
1266 GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
1267 fi
1268 ;;
1269 mini*:CTIX:SYS*5:*)
1270 # "miniframe"
1271 GUESS=m68010-convergent-sysv
1272 ;;
1273 mc68k:UNIX:SYSTEM5:3.51m)
1274 GUESS=m68k-convergent-sysv
1275 ;;
1276 M680?0:D-NIX:5.3:*)
1277 GUESS=m68k-diab-dnix
1278 ;;
1279 M68*:*:R3V[5678]*:*)
1280 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1281 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)
1282 OS_REL=''
1283 test -r /etc/.relid \
1284 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1285 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1286 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1287 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1288 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1289 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1290 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1291 && { echo i486-ncr-sysv4; exit; } ;;
1292 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1293 OS_REL='.3'
1294 test -r /etc/.relid \
1295 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1296 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1297 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1298 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1299 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
1300 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1301 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1302 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1303 GUESS=m68k-unknown-lynxos$UNAME_RELEASE
1304 ;;
1305 mc68030:UNIX_System_V:4.*:*)
1306 GUESS=m68k-atari-sysv4
1307 ;;
1308 TSUNAMI:LynxOS:2.*:*)
1309 GUESS=sparc-unknown-lynxos$UNAME_RELEASE
1310 ;;
1311 rs6000:LynxOS:2.*:*)
1312 GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
1313 ;;
1314 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1315 GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
1316 ;;
1317 SM[BE]S:UNIX_SV:*:*)
1318 GUESS=mips-dde-sysv$UNAME_RELEASE
1319 ;;
1320 RM*:ReliantUNIX-*:*:*)
1321 GUESS=mips-sni-sysv4
1322 ;;
1323 RM*:SINIX-*:*:*)
1324 GUESS=mips-sni-sysv4
1325 ;;
1326 *:SINIX-*:*:*)
1327 if uname -p 2>/dev/null >/dev/null ; then
1328 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1329 GUESS=$UNAME_MACHINE-sni-sysv4
1330 else
1331 GUESS=ns32k-sni-sysv
1332 fi
1333 ;;
1334 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1335 # says <Richard.M.Bartel@ccMail.Census.GOV>
1336 GUESS=i586-unisys-sysv4
1337 ;;
1338 *:UNIX_System_V:4*:FTX*)
1339 # From Gerald Hewes <hewes@openmarket.com>.
1340 # How about differentiating between stratus architectures? -djm
1341 GUESS=hppa1.1-stratus-sysv4
1342 ;;
1343 *:*:*:FTX*)
1344 # From seanf@swdc.stratus.com.
1345 GUESS=i860-stratus-sysv4
1346 ;;
1347 i*86:VOS:*:*)
1348 # From Paul.Green@stratus.com.
1349 GUESS=$UNAME_MACHINE-stratus-vos
1350 ;;
1351 *:VOS:*:*)
1352 # From Paul.Green@stratus.com.
1353 GUESS=hppa1.1-stratus-vos
1354 ;;
1355 mc68*:A/UX:*:*)
1356 GUESS=m68k-apple-aux$UNAME_RELEASE
1357 ;;
1358 news*:NEWS-OS:6*:*)
1359 GUESS=mips-sony-newsos6
1360 ;;
1361 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1362 if test -d /usr/nec; then
1363 GUESS=mips-nec-sysv$UNAME_RELEASE
1364 else
1365 GUESS=mips-unknown-sysv$UNAME_RELEASE
1366 fi
1367 ;;
1368 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1369 GUESS=powerpc-be-beos
1370 ;;
1371 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1372 GUESS=powerpc-apple-beos
1373 ;;
1374 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1375 GUESS=i586-pc-beos
1376 ;;
1377 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1378 GUESS=i586-pc-haiku
1379 ;;
1380 ppc:Haiku:*:*) # Haiku running on Apple PowerPC
1381 GUESS=powerpc-apple-haiku
1382 ;;
1383 *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
1384 GUESS=$UNAME_MACHINE-unknown-haiku
1385 ;;
1386 SX-4:SUPER-UX:*:*)
1387 GUESS=sx4-nec-superux$UNAME_RELEASE
1388 ;;
1389 SX-5:SUPER-UX:*:*)
1390 GUESS=sx5-nec-superux$UNAME_RELEASE
1391 ;;
1392 SX-6:SUPER-UX:*:*)
1393 GUESS=sx6-nec-superux$UNAME_RELEASE
1394 ;;
1395 SX-7:SUPER-UX:*:*)
1396 GUESS=sx7-nec-superux$UNAME_RELEASE
1397 ;;
1398 SX-8:SUPER-UX:*:*)
1399 GUESS=sx8-nec-superux$UNAME_RELEASE
1400 ;;
1401 SX-8R:SUPER-UX:*:*)
1402 GUESS=sx8r-nec-superux$UNAME_RELEASE
1403 ;;
1404 SX-ACE:SUPER-UX:*:*)
1405 GUESS=sxace-nec-superux$UNAME_RELEASE
1406 ;;
1407 Power*:Rhapsody:*:*)
1408 GUESS=powerpc-apple-rhapsody$UNAME_RELEASE
1409 ;;
1410 *:Rhapsody:*:*)
1411 GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE
1412 ;;
1413 arm64:Darwin:*:*)
1414 GUESS=aarch64-apple-darwin$UNAME_RELEASE
1415 ;;
1416 *:Darwin:*:*)
1417 UNAME_PROCESSOR=`uname -p`
1418 case $UNAME_PROCESSOR in
1419 unknown) UNAME_PROCESSOR=powerpc ;;
1420 esac
1421 if command -v xcode-select > /dev/null 2> /dev/null && \
1422 ! xcode-select --print-path > /dev/null 2> /dev/null ; then
1423 # Avoid executing cc if there is no toolchain installed as
1424 # cc will be a stub that puts up a graphical alert
1425 # prompting the user to install developer tools.
1426 CC_FOR_BUILD=no_compiler_found
1427 else
1428 set_cc_for_build
1429 fi
1430 if test "$CC_FOR_BUILD" != no_compiler_found; then
1431 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1432 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1433 grep IS_64BIT_ARCH >/dev/null
1434 then
1435 case $UNAME_PROCESSOR in
1436 i386) UNAME_PROCESSOR=x86_64 ;;
1437 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1438 esac
1439 fi
1440 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1441 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1442 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1443 grep IS_PPC >/dev/null
1444 then
1445 UNAME_PROCESSOR=powerpc
1446 fi
1447 elif test "$UNAME_PROCESSOR" = i386 ; then
1448 # uname -m returns i386 or x86_64
1449 UNAME_PROCESSOR=$UNAME_MACHINE
1450 fi
1451 GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE
1452 ;;
1453 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1454 UNAME_PROCESSOR=`uname -p`
1455 if test "$UNAME_PROCESSOR" = x86; then
1456 UNAME_PROCESSOR=i386
1457 UNAME_MACHINE=pc
1458 fi
1459 GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE
1460 ;;
1461 *:QNX:*:4*)
1462 GUESS=i386-pc-qnx
1463 ;;
1464 NEO-*:NONSTOP_KERNEL:*:*)
1465 GUESS=neo-tandem-nsk$UNAME_RELEASE
1466 ;;
1467 NSE-*:NONSTOP_KERNEL:*:*)
1468 GUESS=nse-tandem-nsk$UNAME_RELEASE
1469 ;;
1470 NSR-*:NONSTOP_KERNEL:*:*)
1471 GUESS=nsr-tandem-nsk$UNAME_RELEASE
1472 ;;
1473 NSV-*:NONSTOP_KERNEL:*:*)
1474 GUESS=nsv-tandem-nsk$UNAME_RELEASE
1475 ;;
1476 NSX-*:NONSTOP_KERNEL:*:*)
1477 GUESS=nsx-tandem-nsk$UNAME_RELEASE
1478 ;;
1479 *:NonStop-UX:*:*)
1480 GUESS=mips-compaq-nonstopux
1481 ;;
1482 BS2000:POSIX*:*:*)
1483 GUESS=bs2000-siemens-sysv
1484 ;;
1485 DS/*:UNIX_System_V:*:*)
1486 GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE
1487 ;;
1488 *:Plan9:*:*)
1489 # "uname -m" is not consistent, so use $cputype instead. 386
1490 # is converted to i386 for consistency with other x86
1491 # operating systems.
1492 if test "${cputype-}" = 386; then
1493 UNAME_MACHINE=i386
1494 elif test "x${cputype-}" != x; then
1495 UNAME_MACHINE=$cputype
1496 fi
1497 GUESS=$UNAME_MACHINE-unknown-plan9
1498 ;;
1499 *:TOPS-10:*:*)
1500 GUESS=pdp10-unknown-tops10
1501 ;;
1502 *:TENEX:*:*)
1503 GUESS=pdp10-unknown-tenex
1504 ;;
1505 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1506 GUESS=pdp10-dec-tops20
1507 ;;
1508 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1509 GUESS=pdp10-xkl-tops20
1510 ;;
1511 *:TOPS-20:*:*)
1512 GUESS=pdp10-unknown-tops20
1513 ;;
1514 *:ITS:*:*)
1515 GUESS=pdp10-unknown-its
1516 ;;
1517 SEI:*:*:SEIUX)
1518 GUESS=mips-sei-seiux$UNAME_RELEASE
1519 ;;
1520 *:DragonFly:*:*)
1521 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1522 GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL
1523 ;;
1524 *:*VMS:*:*)
1525 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1526 case $UNAME_MACHINE in
1527 A*) GUESS=alpha-dec-vms ;;
1528 I*) GUESS=ia64-dec-vms ;;
1529 V*) GUESS=vax-dec-vms ;;
1530 esac ;;
1531 *:XENIX:*:SysV)
1532 GUESS=i386-pc-xenix
1533 ;;
1534 i*86:skyos:*:*)
1535 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`
1536 GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL
1537 ;;
1538 i*86:rdos:*:*)
1539 GUESS=$UNAME_MACHINE-pc-rdos
1540 ;;
1541 i*86:Fiwix:*:*)
1542 GUESS=$UNAME_MACHINE-pc-fiwix
1543 ;;
1544 *:AROS:*:*)
1545 GUESS=$UNAME_MACHINE-unknown-aros
1546 ;;
1547 x86_64:VMkernel:*:*)
1548 GUESS=$UNAME_MACHINE-unknown-esx
1549 ;;
1550 amd64:Isilon\ OneFS:*:*)
1551 GUESS=x86_64-unknown-onefs
1552 ;;
1553 *:Unleashed:*:*)
1554 GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
1555 ;;
1556 esac
1557
1558 # Do we have a guess based on uname results?
1559 if test "x$GUESS" != x; then
1560 echo "$GUESS"
1561 exit
1562 fi
1563
1564 # No uname command or uname output not recognized.
1565 set_cc_for_build
1566 cat > "$dummy.c" <<EOF
1567 #ifdef _SEQUENT_
1568 #include <sys/types.h>
1569 #include <sys/utsname.h>
1570 #endif
1571 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1572 #if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1573 #include <signal.h>
1574 #if defined(_SIZE_T_) || defined(SIGLOST)
1575 #include <sys/utsname.h>
1576 #endif
1577 #endif
1578 #endif
1579 main ()
1580 {
1581 #if defined (sony)
1582 #if defined (MIPSEB)
1583 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1584 I don't know.... */
1585 printf ("mips-sony-bsd\n"); exit (0);
1586 #else
1587 #include <sys/param.h>
1588 printf ("m68k-sony-newsos%s\n",
1589 #ifdef NEWSOS4
1590 "4"
1591 #else
1592 ""
1593 #endif
1594 ); exit (0);
1595 #endif
1596 #endif
1597
1598 #if defined (NeXT)
1599 #if !defined (__ARCHITECTURE__)
1600 #define __ARCHITECTURE__ "m68k"
1601 #endif
1602 int version;
1603 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1604 if (version < 4)
1605 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1606 else
1607 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1608 exit (0);
1609 #endif
1610
1611 #if defined (MULTIMAX) || defined (n16)
1612 #if defined (UMAXV)
1613 printf ("ns32k-encore-sysv\n"); exit (0);
1614 #else
1615 #if defined (CMU)
1616 printf ("ns32k-encore-mach\n"); exit (0);
1617 #else
1618 printf ("ns32k-encore-bsd\n"); exit (0);
1619 #endif
1620 #endif
1621 #endif
1622
1623 #if defined (__386BSD__)
1624 printf ("i386-pc-bsd\n"); exit (0);
1625 #endif
1626
1627 #if defined (sequent)
1628 #if defined (i386)
1629 printf ("i386-sequent-dynix\n"); exit (0);
1630 #endif
1631 #if defined (ns32000)
1632 printf ("ns32k-sequent-dynix\n"); exit (0);
1633 #endif
1634 #endif
1635
1636 #if defined (_SEQUENT_)
1637 struct utsname un;
1638
1639 uname(&un);
1640 if (strncmp(un.version, "V2", 2) == 0) {
1641 printf ("i386-sequent-ptx2\n"); exit (0);
1642 }
1643 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1644 printf ("i386-sequent-ptx1\n"); exit (0);
1645 }
1646 printf ("i386-sequent-ptx\n"); exit (0);
1647 #endif
1648
1649 #if defined (vax)
1650 #if !defined (ultrix)
1651 #include <sys/param.h>
1652 #if defined (BSD)
1653 #if BSD == 43
1654 printf ("vax-dec-bsd4.3\n"); exit (0);
1655 #else
1656 #if BSD == 199006
1657 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1658 #else
1659 printf ("vax-dec-bsd\n"); exit (0);
1660 #endif
1661 #endif
1662 #else
1663 printf ("vax-dec-bsd\n"); exit (0);
1664 #endif
1665 #else
1666 #if defined(_SIZE_T_) || defined(SIGLOST)
1667 struct utsname un;
1668 uname (&un);
1669 printf ("vax-dec-ultrix%s\n", un.release); exit (0);
1670 #else
1671 printf ("vax-dec-ultrix\n"); exit (0);
1672 #endif
1673 #endif
1674 #endif
1675 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1676 #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1677 #if defined(_SIZE_T_) || defined(SIGLOST)
1678 struct utsname *un;
1679 uname (&un);
1680 printf ("mips-dec-ultrix%s\n", un.release); exit (0);
1681 #else
1682 printf ("mips-dec-ultrix\n"); exit (0);
1683 #endif
1684 #endif
1685 #endif
1686
1687 #if defined (alliant) && defined (i860)
1688 printf ("i860-alliant-bsd\n"); exit (0);
1689 #endif
1690
1691 exit (1);
1692 }
1693 EOF
1694
1695 $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` &&
1696 { echo "$SYSTEM_NAME"; exit; }
1697
1698 # Apollos put the system type in the environment.
1699 test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; }
1700
1701 echo "$0: unable to guess system type" >&2
1702
1703 case $UNAME_MACHINE:$UNAME_SYSTEM in
1704 mips:Linux | mips64:Linux)
1705 # If we got here on MIPS GNU/Linux, output extra information.
1706 cat >&2 <<EOF
1707
1708 NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1709 the system type. Please install a C compiler and try again.
1710 EOF
1711 ;;
1712 esac
1713
1714 cat >&2 <<EOF
1715
1716 This script (version $timestamp), has failed to recognize the
1717 operating system you are using. If your script is old, overwrite *all*
1718 copies of config.guess and config.sub with the latest versions from:
1719
1720 https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
1721 and
1722 https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
1723 EOF
1724
1725 our_year=`echo $timestamp | sed 's,-.*,,'`
1726 thisyear=`date +%Y`
1727 # shellcheck disable=SC2003
1728 script_age=`expr "$thisyear" - "$our_year"`
1729 if test "$script_age" -lt 3 ; then
1730 cat >&2 <<EOF
1731
1732 If $0 has already been updated, send the following data and any
1733 information you think might be pertinent to config-patches@gnu.org to
1734 provide the necessary information to handle your system.
1735
1736 config.guess timestamp = $timestamp
1737
1738 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1739 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1740 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1741 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1742
1743 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1744 /bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1745
1746 hostinfo = `(hostinfo) 2>/dev/null`
1747 /bin/universe = `(/bin/universe) 2>/dev/null`
1748 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1749 /bin/arch = `(/bin/arch) 2>/dev/null`
1750 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1751 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1752
1753 UNAME_MACHINE = "$UNAME_MACHINE"
1754 UNAME_RELEASE = "$UNAME_RELEASE"
1755 UNAME_SYSTEM = "$UNAME_SYSTEM"
1756 UNAME_VERSION = "$UNAME_VERSION"
1757 EOF
1758 fi
1759
1760 exit 1
1761
1762 # Local variables:
1763 # eval: (add-hook 'before-save-hook 'time-stamp)
1764 # time-stamp-start: "timestamp='"
1765 # time-stamp-format: "%:y-%02m-%02d"
1766 # time-stamp-end: "'"
1767 # End:
0 /* config.h.in. Generated from configure.ac by autoheader. */
1
2 /* Define to 1 if translation of program messages to the user's native
3 language is requested. */
4 #undef ENABLE_NLS
5
6 /* Gettext package */
7 #undef GETTEXT_PACKAGE
8
9 /* Defined if the requested minimum BOOST version is satisfied */
10 #undef HAVE_BOOST
11
12 /* Define to 1 if you have <boost/bind.hpp> */
13 #undef HAVE_BOOST_BIND_HPP
14
15 /* Define to 1 if you have <boost/signals2.hpp> */
16 #undef HAVE_BOOST_SIGNALS2_HPP
17
18 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
19 CoreFoundation framework. */
20 #undef HAVE_CFLOCALECOPYCURRENT
21
22 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
23 the CoreFoundation framework. */
24 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
25
26 /* Define if the GNU dcgettext() function is already present or preinstalled.
27 */
28 #undef HAVE_DCGETTEXT
29
30 /* Define to 1 if you have the <dlfcn.h> header file. */
31 #undef HAVE_DLFCN_H
32
33 /* Define if the GNU gettext() function is already present or preinstalled. */
34 #undef HAVE_GETTEXT
35
36 /* Define to 1 if you have the `ibus_config_get_values' function. */
37 #undef HAVE_IBUS_CONFIG_GET_VALUES
38
39 /* Define if you have the iconv() function and it works. */
40 #undef HAVE_ICONV
41
42 /* Define to 1 if you have the <inttypes.h> header file. */
43 #undef HAVE_INTTYPES_H
44
45 /* Define to 1 if you have the <minix/config.h> header file. */
46 #undef HAVE_MINIX_CONFIG_H
47
48 /* Define if found opencc */
49 #undef HAVE_OPENCC
50
51 /* Define to 1 if you have the <stdint.h> header file. */
52 #undef HAVE_STDINT_H
53
54 /* Define to 1 if you have the <stdio.h> header file. */
55 #undef HAVE_STDIO_H
56
57 /* Define to 1 if you have the <stdlib.h> header file. */
58 #undef HAVE_STDLIB_H
59
60 /* Define to 1 if you have the <strings.h> header file. */
61 #undef HAVE_STRINGS_H
62
63 /* Define to 1 if you have the <string.h> header file. */
64 #undef HAVE_STRING_H
65
66 /* Define to 1 if you have the <sys/stat.h> header file. */
67 #undef HAVE_SYS_STAT_H
68
69 /* Define to 1 if you have the <sys/types.h> header file. */
70 #undef HAVE_SYS_TYPES_H
71
72 /* Define to 1 if you have the <unistd.h> header file. */
73 #undef HAVE_UNISTD_H
74
75 /* Define to 1 if you have the <wchar.h> header file. */
76 #undef HAVE_WCHAR_H
77
78 /* Define to the sub-directory where libtool stores uninstalled libraries. */
79 #undef LT_OBJDIR
80
81 /* Name of package */
82 #undef PACKAGE
83
84 /* Define to the address where bug reports for this package should be sent. */
85 #undef PACKAGE_BUGREPORT
86
87 /* Define to the full name of this package. */
88 #undef PACKAGE_NAME
89
90 /* Define to the full name and version of this package. */
91 #undef PACKAGE_STRING
92
93 /* Define to the one symbol short name of this package. */
94 #undef PACKAGE_TARNAME
95
96 /* Define to the home page for this package. */
97 #undef PACKAGE_URL
98
99 /* Define to the version of this package. */
100 #undef PACKAGE_VERSION
101
102 /* Define to 1 if all of the C90 standard headers exist (not just the ones
103 required in a freestanding environment). This macro is provided for
104 backward compatibility; new code need not use it. */
105 #undef STDC_HEADERS
106
107 /* Enable extensions on AIX 3, Interix. */
108 #ifndef _ALL_SOURCE
109 # undef _ALL_SOURCE
110 #endif
111 /* Enable general extensions on macOS. */
112 #ifndef _DARWIN_C_SOURCE
113 # undef _DARWIN_C_SOURCE
114 #endif
115 /* Enable general extensions on Solaris. */
116 #ifndef __EXTENSIONS__
117 # undef __EXTENSIONS__
118 #endif
119 /* Enable GNU extensions on systems that have them. */
120 #ifndef _GNU_SOURCE
121 # undef _GNU_SOURCE
122 #endif
123 /* Enable X/Open compliant socket functions that do not require linking
124 with -lxnet on HP-UX 11.11. */
125 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
126 # undef _HPUX_ALT_XOPEN_SOCKET_API
127 #endif
128 /* Identify the host operating system as Minix.
129 This macro does not affect the system headers' behavior.
130 A future release of Autoconf may stop defining this macro. */
131 #ifndef _MINIX
132 # undef _MINIX
133 #endif
134 /* Enable general extensions on NetBSD.
135 Enable NetBSD compatibility extensions on Minix. */
136 #ifndef _NETBSD_SOURCE
137 # undef _NETBSD_SOURCE
138 #endif
139 /* Enable OpenBSD compatibility extensions on NetBSD.
140 Oddly enough, this does nothing on OpenBSD. */
141 #ifndef _OPENBSD_SOURCE
142 # undef _OPENBSD_SOURCE
143 #endif
144 /* Define to 1 if needed for POSIX-compatible behavior. */
145 #ifndef _POSIX_SOURCE
146 # undef _POSIX_SOURCE
147 #endif
148 /* Define to 2 if needed for POSIX-compatible behavior. */
149 #ifndef _POSIX_1_SOURCE
150 # undef _POSIX_1_SOURCE
151 #endif
152 /* Enable POSIX-compatible threading on Solaris. */
153 #ifndef _POSIX_PTHREAD_SEMANTICS
154 # undef _POSIX_PTHREAD_SEMANTICS
155 #endif
156 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
157 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
158 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
159 #endif
160 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
161 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
162 # undef __STDC_WANT_IEC_60559_BFP_EXT__
163 #endif
164 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
165 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
166 # undef __STDC_WANT_IEC_60559_DFP_EXT__
167 #endif
168 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
169 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
170 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
171 #endif
172 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
173 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
174 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
175 #endif
176 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
177 #ifndef __STDC_WANT_LIB_EXT2__
178 # undef __STDC_WANT_LIB_EXT2__
179 #endif
180 /* Enable extensions specified by ISO/IEC 24747:2009. */
181 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
182 # undef __STDC_WANT_MATH_SPEC_FUNCS__
183 #endif
184 /* Enable extensions on HP NonStop. */
185 #ifndef _TANDEM_SOURCE
186 # undef _TANDEM_SOURCE
187 #endif
188 /* Enable X/Open extensions. Define to 500 only if necessary
189 to make mbstate_t available. */
190 #ifndef _XOPEN_SOURCE
191 # undef _XOPEN_SOURCE
192 #endif
193
194
195 /* Version number of package */
196 #undef VERSION
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 <gord@gnu.ai.mit.edu>, 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 #!/usr/bin/sh
1 # Configuration validation subroutine script.
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-01-03'
7
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # 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 <https://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
25 # program. This Exception is an additional permission under section 7
26 # of the GNU General Public License, version 3 ("GPLv3").
27
28
29 # Please send patches to <config-patches@gnu.org>.
30 #
31 # Configuration subroutine to validate and canonicalize a configuration type.
32 # Supply the specified configuration type as an argument.
33 # If it is invalid, we print an error message on stderr and exit with code 1.
34 # Otherwise, we print the canonical config type on stdout and succeed.
35
36 # You can get the latest version of this script from:
37 # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
38
39 # This file is supposed to be the same for all GNU packages
40 # and recognize all the CPU types, system types and aliases
41 # that are meaningful with *any* GNU software.
42 # Each package is responsible for reporting which valid configurations
43 # it does not support. The user should be able to distinguish
44 # a failure to support a valid configuration from a meaningless
45 # configuration.
46
47 # The goal of this file is to map all the various variations of a given
48 # machine specification into a single specification in the form:
49 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
50 # or in some cases, the newer four-part form:
51 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
52 # It is wrong to echo any other type of specification.
53
54 # The "shellcheck disable" line above the timestamp inhibits complaints
55 # about features and limitations of the classic Bourne shell that were
56 # superseded or lifted in POSIX. However, this script identifies a wide
57 # variety of pre-POSIX systems that do not have POSIX shells at all, and
58 # even some reasonably current systems (Solaris 10 as case-in-point) still
59 # have a pre-POSIX /bin/sh.
60
61 me=`echo "$0" | sed -e 's,.*/,,'`
62
63 usage="\
64 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
65
66 Canonicalize a configuration name.
67
68 Options:
69 -h, --help print this help, then exit
70 -t, --time-stamp print date of last modification, then exit
71 -v, --version print version number, then exit
72
73 Report bugs and patches to <config-patches@gnu.org>."
74
75 version="\
76 GNU config.sub ($timestamp)
77
78 Copyright 1992-2022 Free Software Foundation, Inc.
79
80 This is free software; see the source for copying conditions. There is NO
81 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
82
83 help="
84 Try \`$me --help' for more information."
85
86 # Parse command line
87 while test $# -gt 0 ; do
88 case $1 in
89 --time-stamp | --time* | -t )
90 echo "$timestamp" ; exit ;;
91 --version | -v )
92 echo "$version" ; exit ;;
93 --help | --h* | -h )
94 echo "$usage"; exit ;;
95 -- ) # Stop option processing
96 shift; break ;;
97 - ) # Use stdin as input.
98 break ;;
99 -* )
100 echo "$me: invalid option $1$help" >&2
101 exit 1 ;;
102
103 *local*)
104 # First pass through any local machine types.
105 echo "$1"
106 exit ;;
107
108 * )
109 break ;;
110 esac
111 done
112
113 case $# in
114 0) echo "$me: missing argument$help" >&2
115 exit 1;;
116 1) ;;
117 *) echo "$me: too many arguments$help" >&2
118 exit 1;;
119 esac
120
121 # Split fields of configuration type
122 # shellcheck disable=SC2162
123 saved_IFS=$IFS
124 IFS="-" read field1 field2 field3 field4 <<EOF
125 $1
126 EOF
127 IFS=$saved_IFS
128
129 # Separate into logical components for further validation
130 case $1 in
131 *-*-*-*-*)
132 echo Invalid configuration \`"$1"\': more than four components >&2
133 exit 1
134 ;;
135 *-*-*-*)
136 basic_machine=$field1-$field2
137 basic_os=$field3-$field4
138 ;;
139 *-*-*)
140 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
141 # parts
142 maybe_os=$field2-$field3
143 case $maybe_os in
144 nto-qnx* | linux-* | uclinux-uclibc* \
145 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
146 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
147 | storm-chaos* | os2-emx* | rtmk-nova*)
148 basic_machine=$field1
149 basic_os=$maybe_os
150 ;;
151 android-linux)
152 basic_machine=$field1-unknown
153 basic_os=linux-android
154 ;;
155 *)
156 basic_machine=$field1-$field2
157 basic_os=$field3
158 ;;
159 esac
160 ;;
161 *-*)
162 # A lone config we happen to match not fitting any pattern
163 case $field1-$field2 in
164 decstation-3100)
165 basic_machine=mips-dec
166 basic_os=
167 ;;
168 *-*)
169 # Second component is usually, but not always the OS
170 case $field2 in
171 # Prevent following clause from handling this valid os
172 sun*os*)
173 basic_machine=$field1
174 basic_os=$field2
175 ;;
176 zephyr*)
177 basic_machine=$field1-unknown
178 basic_os=$field2
179 ;;
180 # Manufacturers
181 dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
182 | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
183 | unicom* | ibm* | next | hp | isi* | apollo | altos* \
184 | convergent* | ncr* | news | 32* | 3600* | 3100* \
185 | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
186 | ultra | tti* | harris | dolphin | highlevel | gould \
187 | cbm | ns | masscomp | apple | axis | knuth | cray \
188 | microblaze* | sim | cisco \
189 | oki | wec | wrs | winbond)
190 basic_machine=$field1-$field2
191 basic_os=
192 ;;
193 *)
194 basic_machine=$field1
195 basic_os=$field2
196 ;;
197 esac
198 ;;
199 esac
200 ;;
201 *)
202 # Convert single-component short-hands not valid as part of
203 # multi-component configurations.
204 case $field1 in
205 386bsd)
206 basic_machine=i386-pc
207 basic_os=bsd
208 ;;
209 a29khif)
210 basic_machine=a29k-amd
211 basic_os=udi
212 ;;
213 adobe68k)
214 basic_machine=m68010-adobe
215 basic_os=scout
216 ;;
217 alliant)
218 basic_machine=fx80-alliant
219 basic_os=
220 ;;
221 altos | altos3068)
222 basic_machine=m68k-altos
223 basic_os=
224 ;;
225 am29k)
226 basic_machine=a29k-none
227 basic_os=bsd
228 ;;
229 amdahl)
230 basic_machine=580-amdahl
231 basic_os=sysv
232 ;;
233 amiga)
234 basic_machine=m68k-unknown
235 basic_os=
236 ;;
237 amigaos | amigados)
238 basic_machine=m68k-unknown
239 basic_os=amigaos
240 ;;
241 amigaunix | amix)
242 basic_machine=m68k-unknown
243 basic_os=sysv4
244 ;;
245 apollo68)
246 basic_machine=m68k-apollo
247 basic_os=sysv
248 ;;
249 apollo68bsd)
250 basic_machine=m68k-apollo
251 basic_os=bsd
252 ;;
253 aros)
254 basic_machine=i386-pc
255 basic_os=aros
256 ;;
257 aux)
258 basic_machine=m68k-apple
259 basic_os=aux
260 ;;
261 balance)
262 basic_machine=ns32k-sequent
263 basic_os=dynix
264 ;;
265 blackfin)
266 basic_machine=bfin-unknown
267 basic_os=linux
268 ;;
269 cegcc)
270 basic_machine=arm-unknown
271 basic_os=cegcc
272 ;;
273 convex-c1)
274 basic_machine=c1-convex
275 basic_os=bsd
276 ;;
277 convex-c2)
278 basic_machine=c2-convex
279 basic_os=bsd
280 ;;
281 convex-c32)
282 basic_machine=c32-convex
283 basic_os=bsd
284 ;;
285 convex-c34)
286 basic_machine=c34-convex
287 basic_os=bsd
288 ;;
289 convex-c38)
290 basic_machine=c38-convex
291 basic_os=bsd
292 ;;
293 cray)
294 basic_machine=j90-cray
295 basic_os=unicos
296 ;;
297 crds | unos)
298 basic_machine=m68k-crds
299 basic_os=
300 ;;
301 da30)
302 basic_machine=m68k-da30
303 basic_os=
304 ;;
305 decstation | pmax | pmin | dec3100 | decstatn)
306 basic_machine=mips-dec
307 basic_os=
308 ;;
309 delta88)
310 basic_machine=m88k-motorola
311 basic_os=sysv3
312 ;;
313 dicos)
314 basic_machine=i686-pc
315 basic_os=dicos
316 ;;
317 djgpp)
318 basic_machine=i586-pc
319 basic_os=msdosdjgpp
320 ;;
321 ebmon29k)
322 basic_machine=a29k-amd
323 basic_os=ebmon
324 ;;
325 es1800 | OSE68k | ose68k | ose | OSE)
326 basic_machine=m68k-ericsson
327 basic_os=ose
328 ;;
329 gmicro)
330 basic_machine=tron-gmicro
331 basic_os=sysv
332 ;;
333 go32)
334 basic_machine=i386-pc
335 basic_os=go32
336 ;;
337 h8300hms)
338 basic_machine=h8300-hitachi
339 basic_os=hms
340 ;;
341 h8300xray)
342 basic_machine=h8300-hitachi
343 basic_os=xray
344 ;;
345 h8500hms)
346 basic_machine=h8500-hitachi
347 basic_os=hms
348 ;;
349 harris)
350 basic_machine=m88k-harris
351 basic_os=sysv3
352 ;;
353 hp300 | hp300hpux)
354 basic_machine=m68k-hp
355 basic_os=hpux
356 ;;
357 hp300bsd)
358 basic_machine=m68k-hp
359 basic_os=bsd
360 ;;
361 hppaosf)
362 basic_machine=hppa1.1-hp
363 basic_os=osf
364 ;;
365 hppro)
366 basic_machine=hppa1.1-hp
367 basic_os=proelf
368 ;;
369 i386mach)
370 basic_machine=i386-mach
371 basic_os=mach
372 ;;
373 isi68 | isi)
374 basic_machine=m68k-isi
375 basic_os=sysv
376 ;;
377 m68knommu)
378 basic_machine=m68k-unknown
379 basic_os=linux
380 ;;
381 magnum | m3230)
382 basic_machine=mips-mips
383 basic_os=sysv
384 ;;
385 merlin)
386 basic_machine=ns32k-utek
387 basic_os=sysv
388 ;;
389 mingw64)
390 basic_machine=x86_64-pc
391 basic_os=mingw64
392 ;;
393 mingw32)
394 basic_machine=i686-pc
395 basic_os=mingw32
396 ;;
397 mingw32ce)
398 basic_machine=arm-unknown
399 basic_os=mingw32ce
400 ;;
401 monitor)
402 basic_machine=m68k-rom68k
403 basic_os=coff
404 ;;
405 morphos)
406 basic_machine=powerpc-unknown
407 basic_os=morphos
408 ;;
409 moxiebox)
410 basic_machine=moxie-unknown
411 basic_os=moxiebox
412 ;;
413 msdos)
414 basic_machine=i386-pc
415 basic_os=msdos
416 ;;
417 msys)
418 basic_machine=i686-pc
419 basic_os=msys
420 ;;
421 mvs)
422 basic_machine=i370-ibm
423 basic_os=mvs
424 ;;
425 nacl)
426 basic_machine=le32-unknown
427 basic_os=nacl
428 ;;
429 ncr3000)
430 basic_machine=i486-ncr
431 basic_os=sysv4
432 ;;
433 netbsd386)
434 basic_machine=i386-pc
435 basic_os=netbsd
436 ;;
437 netwinder)
438 basic_machine=armv4l-rebel
439 basic_os=linux
440 ;;
441 news | news700 | news800 | news900)
442 basic_machine=m68k-sony
443 basic_os=newsos
444 ;;
445 news1000)
446 basic_machine=m68030-sony
447 basic_os=newsos
448 ;;
449 necv70)
450 basic_machine=v70-nec
451 basic_os=sysv
452 ;;
453 nh3000)
454 basic_machine=m68k-harris
455 basic_os=cxux
456 ;;
457 nh[45]000)
458 basic_machine=m88k-harris
459 basic_os=cxux
460 ;;
461 nindy960)
462 basic_machine=i960-intel
463 basic_os=nindy
464 ;;
465 mon960)
466 basic_machine=i960-intel
467 basic_os=mon960
468 ;;
469 nonstopux)
470 basic_machine=mips-compaq
471 basic_os=nonstopux
472 ;;
473 os400)
474 basic_machine=powerpc-ibm
475 basic_os=os400
476 ;;
477 OSE68000 | ose68000)
478 basic_machine=m68000-ericsson
479 basic_os=ose
480 ;;
481 os68k)
482 basic_machine=m68k-none
483 basic_os=os68k
484 ;;
485 paragon)
486 basic_machine=i860-intel
487 basic_os=osf
488 ;;
489 parisc)
490 basic_machine=hppa-unknown
491 basic_os=linux
492 ;;
493 psp)
494 basic_machine=mipsallegrexel-sony
495 basic_os=psp
496 ;;
497 pw32)
498 basic_machine=i586-unknown
499 basic_os=pw32
500 ;;
501 rdos | rdos64)
502 basic_machine=x86_64-pc
503 basic_os=rdos
504 ;;
505 rdos32)
506 basic_machine=i386-pc
507 basic_os=rdos
508 ;;
509 rom68k)
510 basic_machine=m68k-rom68k
511 basic_os=coff
512 ;;
513 sa29200)
514 basic_machine=a29k-amd
515 basic_os=udi
516 ;;
517 sei)
518 basic_machine=mips-sei
519 basic_os=seiux
520 ;;
521 sequent)
522 basic_machine=i386-sequent
523 basic_os=
524 ;;
525 sps7)
526 basic_machine=m68k-bull
527 basic_os=sysv2
528 ;;
529 st2000)
530 basic_machine=m68k-tandem
531 basic_os=
532 ;;
533 stratus)
534 basic_machine=i860-stratus
535 basic_os=sysv4
536 ;;
537 sun2)
538 basic_machine=m68000-sun
539 basic_os=
540 ;;
541 sun2os3)
542 basic_machine=m68000-sun
543 basic_os=sunos3
544 ;;
545 sun2os4)
546 basic_machine=m68000-sun
547 basic_os=sunos4
548 ;;
549 sun3)
550 basic_machine=m68k-sun
551 basic_os=
552 ;;
553 sun3os3)
554 basic_machine=m68k-sun
555 basic_os=sunos3
556 ;;
557 sun3os4)
558 basic_machine=m68k-sun
559 basic_os=sunos4
560 ;;
561 sun4)
562 basic_machine=sparc-sun
563 basic_os=
564 ;;
565 sun4os3)
566 basic_machine=sparc-sun
567 basic_os=sunos3
568 ;;
569 sun4os4)
570 basic_machine=sparc-sun
571 basic_os=sunos4
572 ;;
573 sun4sol2)
574 basic_machine=sparc-sun
575 basic_os=solaris2
576 ;;
577 sun386 | sun386i | roadrunner)
578 basic_machine=i386-sun
579 basic_os=
580 ;;
581 sv1)
582 basic_machine=sv1-cray
583 basic_os=unicos
584 ;;
585 symmetry)
586 basic_machine=i386-sequent
587 basic_os=dynix
588 ;;
589 t3e)
590 basic_machine=alphaev5-cray
591 basic_os=unicos
592 ;;
593 t90)
594 basic_machine=t90-cray
595 basic_os=unicos
596 ;;
597 toad1)
598 basic_machine=pdp10-xkl
599 basic_os=tops20
600 ;;
601 tpf)
602 basic_machine=s390x-ibm
603 basic_os=tpf
604 ;;
605 udi29k)
606 basic_machine=a29k-amd
607 basic_os=udi
608 ;;
609 ultra3)
610 basic_machine=a29k-nyu
611 basic_os=sym1
612 ;;
613 v810 | necv810)
614 basic_machine=v810-nec
615 basic_os=none
616 ;;
617 vaxv)
618 basic_machine=vax-dec
619 basic_os=sysv
620 ;;
621 vms)
622 basic_machine=vax-dec
623 basic_os=vms
624 ;;
625 vsta)
626 basic_machine=i386-pc
627 basic_os=vsta
628 ;;
629 vxworks960)
630 basic_machine=i960-wrs
631 basic_os=vxworks
632 ;;
633 vxworks68)
634 basic_machine=m68k-wrs
635 basic_os=vxworks
636 ;;
637 vxworks29k)
638 basic_machine=a29k-wrs
639 basic_os=vxworks
640 ;;
641 xbox)
642 basic_machine=i686-pc
643 basic_os=mingw32
644 ;;
645 ymp)
646 basic_machine=ymp-cray
647 basic_os=unicos
648 ;;
649 *)
650 basic_machine=$1
651 basic_os=
652 ;;
653 esac
654 ;;
655 esac
656
657 # Decode 1-component or ad-hoc basic machines
658 case $basic_machine in
659 # Here we handle the default manufacturer of certain CPU types. It is in
660 # some cases the only manufacturer, in others, it is the most popular.
661 w89k)
662 cpu=hppa1.1
663 vendor=winbond
664 ;;
665 op50n)
666 cpu=hppa1.1
667 vendor=oki
668 ;;
669 op60c)
670 cpu=hppa1.1
671 vendor=oki
672 ;;
673 ibm*)
674 cpu=i370
675 vendor=ibm
676 ;;
677 orion105)
678 cpu=clipper
679 vendor=highlevel
680 ;;
681 mac | mpw | mac-mpw)
682 cpu=m68k
683 vendor=apple
684 ;;
685 pmac | pmac-mpw)
686 cpu=powerpc
687 vendor=apple
688 ;;
689
690 # Recognize the various machine names and aliases which stand
691 # for a CPU type and a company and sometimes even an OS.
692 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
693 cpu=m68000
694 vendor=att
695 ;;
696 3b*)
697 cpu=we32k
698 vendor=att
699 ;;
700 bluegene*)
701 cpu=powerpc
702 vendor=ibm
703 basic_os=cnk
704 ;;
705 decsystem10* | dec10*)
706 cpu=pdp10
707 vendor=dec
708 basic_os=tops10
709 ;;
710 decsystem20* | dec20*)
711 cpu=pdp10
712 vendor=dec
713 basic_os=tops20
714 ;;
715 delta | 3300 | motorola-3300 | motorola-delta \
716 | 3300-motorola | delta-motorola)
717 cpu=m68k
718 vendor=motorola
719 ;;
720 dpx2*)
721 cpu=m68k
722 vendor=bull
723 basic_os=sysv3
724 ;;
725 encore | umax | mmax)
726 cpu=ns32k
727 vendor=encore
728 ;;
729 elxsi)
730 cpu=elxsi
731 vendor=elxsi
732 basic_os=${basic_os:-bsd}
733 ;;
734 fx2800)
735 cpu=i860
736 vendor=alliant
737 ;;
738 genix)
739 cpu=ns32k
740 vendor=ns
741 ;;
742 h3050r* | hiux*)
743 cpu=hppa1.1
744 vendor=hitachi
745 basic_os=hiuxwe2
746 ;;
747 hp3k9[0-9][0-9] | hp9[0-9][0-9])
748 cpu=hppa1.0
749 vendor=hp
750 ;;
751 hp9k2[0-9][0-9] | hp9k31[0-9])
752 cpu=m68000
753 vendor=hp
754 ;;
755 hp9k3[2-9][0-9])
756 cpu=m68k
757 vendor=hp
758 ;;
759 hp9k6[0-9][0-9] | hp6[0-9][0-9])
760 cpu=hppa1.0
761 vendor=hp
762 ;;
763 hp9k7[0-79][0-9] | hp7[0-79][0-9])
764 cpu=hppa1.1
765 vendor=hp
766 ;;
767 hp9k78[0-9] | hp78[0-9])
768 # FIXME: really hppa2.0-hp
769 cpu=hppa1.1
770 vendor=hp
771 ;;
772 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
773 # FIXME: really hppa2.0-hp
774 cpu=hppa1.1
775 vendor=hp
776 ;;
777 hp9k8[0-9][13679] | hp8[0-9][13679])
778 cpu=hppa1.1
779 vendor=hp
780 ;;
781 hp9k8[0-9][0-9] | hp8[0-9][0-9])
782 cpu=hppa1.0
783 vendor=hp
784 ;;
785 i*86v32)
786 cpu=`echo "$1" | sed -e 's/86.*/86/'`
787 vendor=pc
788 basic_os=sysv32
789 ;;
790 i*86v4*)
791 cpu=`echo "$1" | sed -e 's/86.*/86/'`
792 vendor=pc
793 basic_os=sysv4
794 ;;
795 i*86v)
796 cpu=`echo "$1" | sed -e 's/86.*/86/'`
797 vendor=pc
798 basic_os=sysv
799 ;;
800 i*86sol2)
801 cpu=`echo "$1" | sed -e 's/86.*/86/'`
802 vendor=pc
803 basic_os=solaris2
804 ;;
805 j90 | j90-cray)
806 cpu=j90
807 vendor=cray
808 basic_os=${basic_os:-unicos}
809 ;;
810 iris | iris4d)
811 cpu=mips
812 vendor=sgi
813 case $basic_os in
814 irix*)
815 ;;
816 *)
817 basic_os=irix4
818 ;;
819 esac
820 ;;
821 miniframe)
822 cpu=m68000
823 vendor=convergent
824 ;;
825 *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
826 cpu=m68k
827 vendor=atari
828 basic_os=mint
829 ;;
830 news-3600 | risc-news)
831 cpu=mips
832 vendor=sony
833 basic_os=newsos
834 ;;
835 next | m*-next)
836 cpu=m68k
837 vendor=next
838 case $basic_os in
839 openstep*)
840 ;;
841 nextstep*)
842 ;;
843 ns2*)
844 basic_os=nextstep2
845 ;;
846 *)
847 basic_os=nextstep3
848 ;;
849 esac
850 ;;
851 np1)
852 cpu=np1
853 vendor=gould
854 ;;
855 op50n-* | op60c-*)
856 cpu=hppa1.1
857 vendor=oki
858 basic_os=proelf
859 ;;
860 pa-hitachi)
861 cpu=hppa1.1
862 vendor=hitachi
863 basic_os=hiuxwe2
864 ;;
865 pbd)
866 cpu=sparc
867 vendor=tti
868 ;;
869 pbb)
870 cpu=m68k
871 vendor=tti
872 ;;
873 pc532)
874 cpu=ns32k
875 vendor=pc532
876 ;;
877 pn)
878 cpu=pn
879 vendor=gould
880 ;;
881 power)
882 cpu=power
883 vendor=ibm
884 ;;
885 ps2)
886 cpu=i386
887 vendor=ibm
888 ;;
889 rm[46]00)
890 cpu=mips
891 vendor=siemens
892 ;;
893 rtpc | rtpc-*)
894 cpu=romp
895 vendor=ibm
896 ;;
897 sde)
898 cpu=mipsisa32
899 vendor=sde
900 basic_os=${basic_os:-elf}
901 ;;
902 simso-wrs)
903 cpu=sparclite
904 vendor=wrs
905 basic_os=vxworks
906 ;;
907 tower | tower-32)
908 cpu=m68k
909 vendor=ncr
910 ;;
911 vpp*|vx|vx-*)
912 cpu=f301
913 vendor=fujitsu
914 ;;
915 w65)
916 cpu=w65
917 vendor=wdc
918 ;;
919 w89k-*)
920 cpu=hppa1.1
921 vendor=winbond
922 basic_os=proelf
923 ;;
924 none)
925 cpu=none
926 vendor=none
927 ;;
928 leon|leon[3-9])
929 cpu=sparc
930 vendor=$basic_machine
931 ;;
932 leon-*|leon[3-9]-*)
933 cpu=sparc
934 vendor=`echo "$basic_machine" | sed 's/-.*//'`
935 ;;
936
937 *-*)
938 # shellcheck disable=SC2162
939 saved_IFS=$IFS
940 IFS="-" read cpu vendor <<EOF
941 $basic_machine
942 EOF
943 IFS=$saved_IFS
944 ;;
945 # We use `pc' rather than `unknown'
946 # because (1) that's what they normally are, and
947 # (2) the word "unknown" tends to confuse beginning users.
948 i*86 | x86_64)
949 cpu=$basic_machine
950 vendor=pc
951 ;;
952 # These rules are duplicated from below for sake of the special case above;
953 # i.e. things that normalized to x86 arches should also default to "pc"
954 pc98)
955 cpu=i386
956 vendor=pc
957 ;;
958 x64 | amd64)
959 cpu=x86_64
960 vendor=pc
961 ;;
962 # Recognize the basic CPU types without company name.
963 *)
964 cpu=$basic_machine
965 vendor=unknown
966 ;;
967 esac
968
969 unset -v basic_machine
970
971 # Decode basic machines in the full and proper CPU-Company form.
972 case $cpu-$vendor in
973 # Here we handle the default manufacturer of certain CPU types in canonical form. It is in
974 # some cases the only manufacturer, in others, it is the most popular.
975 craynv-unknown)
976 vendor=cray
977 basic_os=${basic_os:-unicosmp}
978 ;;
979 c90-unknown | c90-cray)
980 vendor=cray
981 basic_os=${Basic_os:-unicos}
982 ;;
983 fx80-unknown)
984 vendor=alliant
985 ;;
986 romp-unknown)
987 vendor=ibm
988 ;;
989 mmix-unknown)
990 vendor=knuth
991 ;;
992 microblaze-unknown | microblazeel-unknown)
993 vendor=xilinx
994 ;;
995 rs6000-unknown)
996 vendor=ibm
997 ;;
998 vax-unknown)
999 vendor=dec
1000 ;;
1001 pdp11-unknown)
1002 vendor=dec
1003 ;;
1004 we32k-unknown)
1005 vendor=att
1006 ;;
1007 cydra-unknown)
1008 vendor=cydrome
1009 ;;
1010 i370-ibm*)
1011 vendor=ibm
1012 ;;
1013 orion-unknown)
1014 vendor=highlevel
1015 ;;
1016 xps-unknown | xps100-unknown)
1017 cpu=xps100
1018 vendor=honeywell
1019 ;;
1020
1021 # Here we normalize CPU types with a missing or matching vendor
1022 armh-unknown | armh-alt)
1023 cpu=armv7l
1024 vendor=alt
1025 basic_os=${basic_os:-linux-gnueabihf}
1026 ;;
1027 dpx20-unknown | dpx20-bull)
1028 cpu=rs6000
1029 vendor=bull
1030 basic_os=${basic_os:-bosx}
1031 ;;
1032
1033 # Here we normalize CPU types irrespective of the vendor
1034 amd64-*)
1035 cpu=x86_64
1036 ;;
1037 blackfin-*)
1038 cpu=bfin
1039 basic_os=linux
1040 ;;
1041 c54x-*)
1042 cpu=tic54x
1043 ;;
1044 c55x-*)
1045 cpu=tic55x
1046 ;;
1047 c6x-*)
1048 cpu=tic6x
1049 ;;
1050 e500v[12]-*)
1051 cpu=powerpc
1052 basic_os=${basic_os}"spe"
1053 ;;
1054 mips3*-*)
1055 cpu=mips64
1056 ;;
1057 ms1-*)
1058 cpu=mt
1059 ;;
1060 m68knommu-*)
1061 cpu=m68k
1062 basic_os=linux
1063 ;;
1064 m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1065 cpu=s12z
1066 ;;
1067 openrisc-*)
1068 cpu=or32
1069 ;;
1070 parisc-*)
1071 cpu=hppa
1072 basic_os=linux
1073 ;;
1074 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1075 cpu=i586
1076 ;;
1077 pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1078 cpu=i686
1079 ;;
1080 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1081 cpu=i686
1082 ;;
1083 pentium4-*)
1084 cpu=i786
1085 ;;
1086 pc98-*)
1087 cpu=i386
1088 ;;
1089 ppc-* | ppcbe-*)
1090 cpu=powerpc
1091 ;;
1092 ppcle-* | powerpclittle-*)
1093 cpu=powerpcle
1094 ;;
1095 ppc64-*)
1096 cpu=powerpc64
1097 ;;
1098 ppc64le-* | powerpc64little-*)
1099 cpu=powerpc64le
1100 ;;
1101 sb1-*)
1102 cpu=mipsisa64sb1
1103 ;;
1104 sb1el-*)
1105 cpu=mipsisa64sb1el
1106 ;;
1107 sh5e[lb]-*)
1108 cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
1109 ;;
1110 spur-*)
1111 cpu=spur
1112 ;;
1113 strongarm-* | thumb-*)
1114 cpu=arm
1115 ;;
1116 tx39-*)
1117 cpu=mipstx39
1118 ;;
1119 tx39el-*)
1120 cpu=mipstx39el
1121 ;;
1122 x64-*)
1123 cpu=x86_64
1124 ;;
1125 xscale-* | xscalee[bl]-*)
1126 cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1127 ;;
1128 arm64-* | aarch64le-*)
1129 cpu=aarch64
1130 ;;
1131
1132 # Recognize the canonical CPU Types that limit and/or modify the
1133 # company names they are paired with.
1134 cr16-*)
1135 basic_os=${basic_os:-elf}
1136 ;;
1137 crisv32-* | etraxfs*-*)
1138 cpu=crisv32
1139 vendor=axis
1140 ;;
1141 cris-* | etrax*-*)
1142 cpu=cris
1143 vendor=axis
1144 ;;
1145 crx-*)
1146 basic_os=${basic_os:-elf}
1147 ;;
1148 neo-tandem)
1149 cpu=neo
1150 vendor=tandem
1151 ;;
1152 nse-tandem)
1153 cpu=nse
1154 vendor=tandem
1155 ;;
1156 nsr-tandem)
1157 cpu=nsr
1158 vendor=tandem
1159 ;;
1160 nsv-tandem)
1161 cpu=nsv
1162 vendor=tandem
1163 ;;
1164 nsx-tandem)
1165 cpu=nsx
1166 vendor=tandem
1167 ;;
1168 mipsallegrexel-sony)
1169 cpu=mipsallegrexel
1170 vendor=sony
1171 ;;
1172 tile*-*)
1173 basic_os=${basic_os:-linux-gnu}
1174 ;;
1175
1176 *)
1177 # Recognize the canonical CPU types that are allowed with any
1178 # company name.
1179 case $cpu in
1180 1750a | 580 \
1181 | a29k \
1182 | aarch64 | aarch64_be \
1183 | abacus \
1184 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1185 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1186 | alphapca5[67] | alpha64pca5[67] \
1187 | am33_2.0 \
1188 | amdgcn \
1189 | arc | arceb | arc32 | arc64 \
1190 | arm | arm[lb]e | arme[lb] | armv* \
1191 | avr | avr32 \
1192 | asmjs \
1193 | ba \
1194 | be32 | be64 \
1195 | bfin | bpf | bs2000 \
1196 | c[123]* | c30 | [cjt]90 | c4x \
1197 | c8051 | clipper | craynv | csky | cydra \
1198 | d10v | d30v | dlx | dsp16xx \
1199 | e2k | elxsi | epiphany \
1200 | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
1201 | h8300 | h8500 \
1202 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1203 | hexagon \
1204 | i370 | i*86 | i860 | i960 | ia16 | ia64 \
1205 | ip2k | iq2000 \
1206 | k1om \
1207 | le32 | le64 \
1208 | lm32 \
1209 | loongarch32 | loongarch64 | loongarchx32 \
1210 | m32c | m32r | m32rle \
1211 | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
1212 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
1213 | m88110 | m88k | maxq | mb | mcore | mep | metag \
1214 | microblaze | microblazeel \
1215 | mips | mipsbe | mipseb | mipsel | mipsle \
1216 | mips16 \
1217 | mips64 | mips64eb | mips64el \
1218 | mips64octeon | mips64octeonel \
1219 | mips64orion | mips64orionel \
1220 | mips64r5900 | mips64r5900el \
1221 | mips64vr | mips64vrel \
1222 | mips64vr4100 | mips64vr4100el \
1223 | mips64vr4300 | mips64vr4300el \
1224 | mips64vr5000 | mips64vr5000el \
1225 | mips64vr5900 | mips64vr5900el \
1226 | mipsisa32 | mipsisa32el \
1227 | mipsisa32r2 | mipsisa32r2el \
1228 | mipsisa32r3 | mipsisa32r3el \
1229 | mipsisa32r5 | mipsisa32r5el \
1230 | mipsisa32r6 | mipsisa32r6el \
1231 | mipsisa64 | mipsisa64el \
1232 | mipsisa64r2 | mipsisa64r2el \
1233 | mipsisa64r3 | mipsisa64r3el \
1234 | mipsisa64r5 | mipsisa64r5el \
1235 | mipsisa64r6 | mipsisa64r6el \
1236 | mipsisa64sb1 | mipsisa64sb1el \
1237 | mipsisa64sr71k | mipsisa64sr71kel \
1238 | mipsr5900 | mipsr5900el \
1239 | mipstx39 | mipstx39el \
1240 | mmix \
1241 | mn10200 | mn10300 \
1242 | moxie \
1243 | mt \
1244 | msp430 \
1245 | nds32 | nds32le | nds32be \
1246 | nfp \
1247 | nios | nios2 | nios2eb | nios2el \
1248 | none | np1 | ns16k | ns32k | nvptx \
1249 | open8 \
1250 | or1k* \
1251 | or32 \
1252 | orion \
1253 | picochip \
1254 | pdp10 | pdp11 | pj | pjl | pn | power \
1255 | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
1256 | pru \
1257 | pyramid \
1258 | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
1259 | rl78 | romp | rs6000 | rx \
1260 | s390 | s390x \
1261 | score \
1262 | sh | shl \
1263 | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
1264 | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
1265 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
1266 | sparclite \
1267 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
1268 | spu \
1269 | tahoe \
1270 | thumbv7* \
1271 | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
1272 | tron \
1273 | ubicom32 \
1274 | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
1275 | vax \
1276 | visium \
1277 | w65 \
1278 | wasm32 | wasm64 \
1279 | we32k \
1280 | x86 | x86_64 | xc16x | xgate | xps100 \
1281 | xstormy16 | xtensa* \
1282 | ymp \
1283 | z8k | z80)
1284 ;;
1285
1286 *)
1287 echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1288 exit 1
1289 ;;
1290 esac
1291 ;;
1292 esac
1293
1294 # Here we canonicalize certain aliases for manufacturers.
1295 case $vendor in
1296 digital*)
1297 vendor=dec
1298 ;;
1299 commodore*)
1300 vendor=cbm
1301 ;;
1302 *)
1303 ;;
1304 esac
1305
1306 # Decode manufacturer-specific aliases for certain operating systems.
1307
1308 if test x$basic_os != x
1309 then
1310
1311 # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
1312 # set os.
1313 case $basic_os in
1314 gnu/linux*)
1315 kernel=linux
1316 os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
1317 ;;
1318 os2-emx)
1319 kernel=os2
1320 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
1321 ;;
1322 nto-qnx*)
1323 kernel=nto
1324 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1325 ;;
1326 *-*)
1327 # shellcheck disable=SC2162
1328 saved_IFS=$IFS
1329 IFS="-" read kernel os <<EOF
1330 $basic_os
1331 EOF
1332 IFS=$saved_IFS
1333 ;;
1334 # Default OS when just kernel was specified
1335 nto*)
1336 kernel=nto
1337 os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1338 ;;
1339 linux*)
1340 kernel=linux
1341 os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
1342 ;;
1343 *)
1344 kernel=
1345 os=$basic_os
1346 ;;
1347 esac
1348
1349 # Now, normalize the OS (knowing we just have one component, it's not a kernel,
1350 # etc.)
1351 case $os in
1352 # First match some system type aliases that might get confused
1353 # with valid system types.
1354 # solaris* is a basic system type, with this one exception.
1355 auroraux)
1356 os=auroraux
1357 ;;
1358 bluegene*)
1359 os=cnk
1360 ;;
1361 solaris1 | solaris1.*)
1362 os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
1363 ;;
1364 solaris)
1365 os=solaris2
1366 ;;
1367 unixware*)
1368 os=sysv4.2uw
1369 ;;
1370 # es1800 is here to avoid being matched by es* (a different OS)
1371 es1800*)
1372 os=ose
1373 ;;
1374 # Some version numbers need modification
1375 chorusos*)
1376 os=chorusos
1377 ;;
1378 isc)
1379 os=isc2.2
1380 ;;
1381 sco6)
1382 os=sco5v6
1383 ;;
1384 sco5)
1385 os=sco3.2v5
1386 ;;
1387 sco4)
1388 os=sco3.2v4
1389 ;;
1390 sco3.2.[4-9]*)
1391 os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
1392 ;;
1393 sco*v* | scout)
1394 # Don't match below
1395 ;;
1396 sco*)
1397 os=sco3.2v2
1398 ;;
1399 psos*)
1400 os=psos
1401 ;;
1402 qnx*)
1403 os=qnx
1404 ;;
1405 hiux*)
1406 os=hiuxwe2
1407 ;;
1408 lynx*178)
1409 os=lynxos178
1410 ;;
1411 lynx*5)
1412 os=lynxos5
1413 ;;
1414 lynxos*)
1415 # don't get caught up in next wildcard
1416 ;;
1417 lynx*)
1418 os=lynxos
1419 ;;
1420 mac[0-9]*)
1421 os=`echo "$os" | sed -e 's|mac|macos|'`
1422 ;;
1423 opened*)
1424 os=openedition
1425 ;;
1426 os400*)
1427 os=os400
1428 ;;
1429 sunos5*)
1430 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1431 ;;
1432 sunos6*)
1433 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1434 ;;
1435 wince*)
1436 os=wince
1437 ;;
1438 utek*)
1439 os=bsd
1440 ;;
1441 dynix*)
1442 os=bsd
1443 ;;
1444 acis*)
1445 os=aos
1446 ;;
1447 atheos*)
1448 os=atheos
1449 ;;
1450 syllable*)
1451 os=syllable
1452 ;;
1453 386bsd)
1454 os=bsd
1455 ;;
1456 ctix* | uts*)
1457 os=sysv
1458 ;;
1459 nova*)
1460 os=rtmk-nova
1461 ;;
1462 ns2)
1463 os=nextstep2
1464 ;;
1465 # Preserve the version number of sinix5.
1466 sinix5.*)
1467 os=`echo "$os" | sed -e 's|sinix|sysv|'`
1468 ;;
1469 sinix*)
1470 os=sysv4
1471 ;;
1472 tpf*)
1473 os=tpf
1474 ;;
1475 triton*)
1476 os=sysv3
1477 ;;
1478 oss*)
1479 os=sysv3
1480 ;;
1481 svr4*)
1482 os=sysv4
1483 ;;
1484 svr3)
1485 os=sysv3
1486 ;;
1487 sysvr4)
1488 os=sysv4
1489 ;;
1490 ose*)
1491 os=ose
1492 ;;
1493 *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1494 os=mint
1495 ;;
1496 dicos*)
1497 os=dicos
1498 ;;
1499 pikeos*)
1500 # Until real need of OS specific support for
1501 # particular features comes up, bare metal
1502 # configurations are quite functional.
1503 case $cpu in
1504 arm*)
1505 os=eabi
1506 ;;
1507 *)
1508 os=elf
1509 ;;
1510 esac
1511 ;;
1512 *)
1513 # No normalization, but not necessarily accepted, that comes below.
1514 ;;
1515 esac
1516
1517 else
1518
1519 # Here we handle the default operating systems that come with various machines.
1520 # The value should be what the vendor currently ships out the door with their
1521 # machine or put another way, the most popular os provided with the machine.
1522
1523 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1524 # "-sun"), then you have to tell the case statement up towards the top
1525 # that MANUFACTURER isn't an operating system. Otherwise, code above
1526 # will signal an error saying that MANUFACTURER isn't an operating
1527 # system, and we'll never get to this point.
1528
1529 kernel=
1530 case $cpu-$vendor in
1531 score-*)
1532 os=elf
1533 ;;
1534 spu-*)
1535 os=elf
1536 ;;
1537 *-acorn)
1538 os=riscix1.2
1539 ;;
1540 arm*-rebel)
1541 kernel=linux
1542 os=gnu
1543 ;;
1544 arm*-semi)
1545 os=aout
1546 ;;
1547 c4x-* | tic4x-*)
1548 os=coff
1549 ;;
1550 c8051-*)
1551 os=elf
1552 ;;
1553 clipper-intergraph)
1554 os=clix
1555 ;;
1556 hexagon-*)
1557 os=elf
1558 ;;
1559 tic54x-*)
1560 os=coff
1561 ;;
1562 tic55x-*)
1563 os=coff
1564 ;;
1565 tic6x-*)
1566 os=coff
1567 ;;
1568 # This must come before the *-dec entry.
1569 pdp10-*)
1570 os=tops20
1571 ;;
1572 pdp11-*)
1573 os=none
1574 ;;
1575 *-dec | vax-*)
1576 os=ultrix4.2
1577 ;;
1578 m68*-apollo)
1579 os=domain
1580 ;;
1581 i386-sun)
1582 os=sunos4.0.2
1583 ;;
1584 m68000-sun)
1585 os=sunos3
1586 ;;
1587 m68*-cisco)
1588 os=aout
1589 ;;
1590 mep-*)
1591 os=elf
1592 ;;
1593 mips*-cisco)
1594 os=elf
1595 ;;
1596 mips*-*)
1597 os=elf
1598 ;;
1599 or32-*)
1600 os=coff
1601 ;;
1602 *-tti) # must be before sparc entry or we get the wrong os.
1603 os=sysv3
1604 ;;
1605 sparc-* | *-sun)
1606 os=sunos4.1.1
1607 ;;
1608 pru-*)
1609 os=elf
1610 ;;
1611 *-be)
1612 os=beos
1613 ;;
1614 *-ibm)
1615 os=aix
1616 ;;
1617 *-knuth)
1618 os=mmixware
1619 ;;
1620 *-wec)
1621 os=proelf
1622 ;;
1623 *-winbond)
1624 os=proelf
1625 ;;
1626 *-oki)
1627 os=proelf
1628 ;;
1629 *-hp)
1630 os=hpux
1631 ;;
1632 *-hitachi)
1633 os=hiux
1634 ;;
1635 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1636 os=sysv
1637 ;;
1638 *-cbm)
1639 os=amigaos
1640 ;;
1641 *-dg)
1642 os=dgux
1643 ;;
1644 *-dolphin)
1645 os=sysv3
1646 ;;
1647 m68k-ccur)
1648 os=rtu
1649 ;;
1650 m88k-omron*)
1651 os=luna
1652 ;;
1653 *-next)
1654 os=nextstep
1655 ;;
1656 *-sequent)
1657 os=ptx
1658 ;;
1659 *-crds)
1660 os=unos
1661 ;;
1662 *-ns)
1663 os=genix
1664 ;;
1665 i370-*)
1666 os=mvs
1667 ;;
1668 *-gould)
1669 os=sysv
1670 ;;
1671 *-highlevel)
1672 os=bsd
1673 ;;
1674 *-encore)
1675 os=bsd
1676 ;;
1677 *-sgi)
1678 os=irix
1679 ;;
1680 *-siemens)
1681 os=sysv4
1682 ;;
1683 *-masscomp)
1684 os=rtu
1685 ;;
1686 f30[01]-fujitsu | f700-fujitsu)
1687 os=uxpv
1688 ;;
1689 *-rom68k)
1690 os=coff
1691 ;;
1692 *-*bug)
1693 os=coff
1694 ;;
1695 *-apple)
1696 os=macos
1697 ;;
1698 *-atari*)
1699 os=mint
1700 ;;
1701 *-wrs)
1702 os=vxworks
1703 ;;
1704 *)
1705 os=none
1706 ;;
1707 esac
1708
1709 fi
1710
1711 # Now, validate our (potentially fixed-up) OS.
1712 case $os in
1713 # Sometimes we do "kernel-libc", so those need to count as OSes.
1714 musl* | newlib* | relibc* | uclibc*)
1715 ;;
1716 # Likewise for "kernel-abi"
1717 eabi* | gnueabi*)
1718 ;;
1719 # VxWorks passes extra cpu info in the 4th filed.
1720 simlinux | simwindows | spe)
1721 ;;
1722 # Now accept the basic system types.
1723 # The portable systems comes first.
1724 # Each alternative MUST end in a * to match a version number.
1725 gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
1726 | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
1727 | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
1728 | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
1729 | hiux* | abug | nacl* | netware* | windows* \
1730 | os9* | macos* | osx* | ios* \
1731 | mpw* | magic* | mmixware* | mon960* | lnews* \
1732 | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
1733 | aos* | aros* | cloudabi* | sortix* | twizzler* \
1734 | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
1735 | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
1736 | mirbsd* | netbsd* | dicos* | openedition* | ose* \
1737 | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
1738 | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
1739 | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1740 | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
1741 | udi* | lites* | ieee* | go32* | aux* | hcos* \
1742 | chorusrdb* | cegcc* | glidix* | serenity* \
1743 | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
1744 | midipix* | mingw32* | mingw64* | mint* \
1745 | uxpv* | beos* | mpeix* | udk* | moxiebox* \
1746 | interix* | uwin* | mks* | rhapsody* | darwin* \
1747 | openstep* | oskit* | conix* | pw32* | nonstopux* \
1748 | storm-chaos* | tops10* | tenex* | tops20* | its* \
1749 | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \
1750 | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \
1751 | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
1752 | skyos* | haiku* | rdos* | toppers* | drops* | es* \
1753 | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
1754 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
1755 | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
1756 | fiwix* )
1757 ;;
1758 # This one is extra strict with allowed versions
1759 sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
1760 # Don't forget version if it is 3.2v4 or newer.
1761 ;;
1762 none)
1763 ;;
1764 *)
1765 echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
1766 exit 1
1767 ;;
1768 esac
1769
1770 # As a final step for OS-related things, validate the OS-kernel combination
1771 # (given a valid OS), if there is a kernel.
1772 case $kernel-$os in
1773 linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
1774 | linux-musl* | linux-relibc* | linux-uclibc* )
1775 ;;
1776 uclinux-uclibc* )
1777 ;;
1778 -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
1779 # These are just libc implementations, not actual OSes, and thus
1780 # require a kernel.
1781 echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
1782 exit 1
1783 ;;
1784 kfreebsd*-gnu* | kopensolaris*-gnu*)
1785 ;;
1786 vxworks-simlinux | vxworks-simwindows | vxworks-spe)
1787 ;;
1788 nto-qnx*)
1789 ;;
1790 os2-emx)
1791 ;;
1792 *-eabi* | *-gnueabi*)
1793 ;;
1794 -*)
1795 # Blank kernel with real OS is always fine.
1796 ;;
1797 *-*)
1798 echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2
1799 exit 1
1800 ;;
1801 esac
1802
1803 # Here we handle the case where we know the os, and the CPU type, but not the
1804 # manufacturer. We pick the logical manufacturer.
1805 case $vendor in
1806 unknown)
1807 case $cpu-$os in
1808 *-riscix*)
1809 vendor=acorn
1810 ;;
1811 *-sunos*)
1812 vendor=sun
1813 ;;
1814 *-cnk* | *-aix*)
1815 vendor=ibm
1816 ;;
1817 *-beos*)
1818 vendor=be
1819 ;;
1820 *-hpux*)
1821 vendor=hp
1822 ;;
1823 *-mpeix*)
1824 vendor=hp
1825 ;;
1826 *-hiux*)
1827 vendor=hitachi
1828 ;;
1829 *-unos*)
1830 vendor=crds
1831 ;;
1832 *-dgux*)
1833 vendor=dg
1834 ;;
1835 *-luna*)
1836 vendor=omron
1837 ;;
1838 *-genix*)
1839 vendor=ns
1840 ;;
1841 *-clix*)
1842 vendor=intergraph
1843 ;;
1844 *-mvs* | *-opened*)
1845 vendor=ibm
1846 ;;
1847 *-os400*)
1848 vendor=ibm
1849 ;;
1850 s390-* | s390x-*)
1851 vendor=ibm
1852 ;;
1853 *-ptx*)
1854 vendor=sequent
1855 ;;
1856 *-tpf*)
1857 vendor=ibm
1858 ;;
1859 *-vxsim* | *-vxworks* | *-windiss*)
1860 vendor=wrs
1861 ;;
1862 *-aux*)
1863 vendor=apple
1864 ;;
1865 *-hms*)
1866 vendor=hitachi
1867 ;;
1868 *-mpw* | *-macos*)
1869 vendor=apple
1870 ;;
1871 *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
1872 vendor=atari
1873 ;;
1874 *-vos*)
1875 vendor=stratus
1876 ;;
1877 esac
1878 ;;
1879 esac
1880
1881 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
1882 exit
1883
1884 # Local variables:
1885 # eval: (add-hook 'before-save-hook 'time-stamp)
1886 # time-stamp-start: "timestamp='"
1887 # time-stamp-format: "%:y-%02m-%02d"
1888 # time-stamp-end: "'"
1889 # End:
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.71 for ibus-libpinyin 1.14.91.
3 #
4 # Report bugs to <https://github.com/libpinyin/ibus-libpinyin/issues/new>.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 as_nop=:
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else $as_nop
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38
39 # Reset variables that may have inherited troublesome values from
40 # the environment.
41
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
46 as_nl='
47 '
48 export as_nl
49 IFS=" "" $as_nl"
50
51 PS1='$ '
52 PS2='> '
53 PS4='+ '
54
55 # Ensure predictable behavior from utilities with locale-dependent output.
56 LC_ALL=C
57 export LC_ALL
58 LANGUAGE=C
59 export LANGUAGE
60
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69 done
70
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
75
76 # The user is always right.
77 if ${PATH_SEPARATOR+false} :; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # Find who we are. Look in the path if we contain no directory separator.
87 as_myself=
88 case $0 in #((
89 *[\\/]* ) as_myself=$0 ;;
90 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91 for as_dir in $PATH
92 do
93 IFS=$as_save_IFS
94 case $as_dir in #(((
95 '') as_dir=./ ;;
96 */) ;;
97 *) as_dir=$as_dir/ ;;
98 esac
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115
116 # Use a proper internal environment variable to ensure we don't fall
117 # into an infinite loop, continuously re-executing ourselves.
118 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
119 _as_can_reexec=no; export _as_can_reexec;
120 # We cannot yet assume a decent shell, so we have to provide a
121 # neutralization value for shells without unset; and this also
122 # works around shells that cannot unset nonexistent variables.
123 # Preserve -v and -x to the replacement shell.
124 BASH_ENV=/dev/null
125 ENV=/dev/null
126 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
127 case $- in # ((((
128 *v*x* | *x*v* ) as_opts=-vx ;;
129 *v* ) as_opts=-v ;;
130 *x* ) as_opts=-x ;;
131 * ) as_opts= ;;
132 esac
133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134 # Admittedly, this is quite paranoid, since all the known shells bail
135 # out after a failed `exec'.
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137 exit 255
138 fi
139 # We don't want this to propagate to other subprocesses.
140 { _as_can_reexec=; unset _as_can_reexec;}
141 if test "x$CONFIG_SHELL" = x; then
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else \$as_nop
152 case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac
158 fi
159 "
160 as_required="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
165
166 exitcode=0
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172 then :
173
174 else \$as_nop
175 exitcode=1; echo positional parameters were not saved.
176 fi
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
180 test -x / || exit 1"
181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1
186
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 PATH=/empty FPATH=/empty; export PATH FPATH
192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
194 if (eval "$as_required") 2>/dev/null
195 then :
196 as_have_required=yes
197 else $as_nop
198 as_have_required=no
199 fi
200 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
201 then :
202
203 else $as_nop
204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
205 as_found=false
206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
207 do
208 IFS=$as_save_IFS
209 case $as_dir in #(((
210 '') as_dir=./ ;;
211 */) ;;
212 *) as_dir=$as_dir/ ;;
213 esac
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
222 then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
225 then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 IFS=$as_save_IFS
234 if $as_found
235 then :
236
237 else $as_nop
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
240 then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi
243 fi
244
245
246 if test "x$CONFIG_SHELL" != x
247 then :
248 export CONFIG_SHELL
249 # We cannot yet assume a decent shell, so we have to provide a
250 # neutralization value for shells without unset; and this also
251 # works around shells that cannot unset nonexistent variables.
252 # Preserve -v and -x to the replacement shell.
253 BASH_ENV=/dev/null
254 ENV=/dev/null
255 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 case $- in # ((((
257 *v*x* | *x*v* ) as_opts=-vx ;;
258 *v* ) as_opts=-v ;;
259 *x* ) as_opts=-x ;;
260 * ) as_opts= ;;
261 esac
262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263 # Admittedly, this is quite paranoid, since all the known shells bail
264 # out after a failed `exec'.
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
266 exit 255
267 fi
268
269 if test x$as_have_required = xno
270 then :
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/libpinyin/ibus-libpinyin/issues/new
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_status ()
311 {
312 return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exit ()
319 {
320 set +e
321 as_fn_set_status $1
322 exit $1
323 } # as_fn_exit
324 # as_fn_nop
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
327 as_fn_nop ()
328 {
329 return $?
330 }
331 as_nop=as_fn_nop
332
333 # as_fn_mkdir_p
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
336 as_fn_mkdir_p ()
337 {
338
339 case $as_dir in #(
340 -*) as_dir=./$as_dir;;
341 esac
342 test -d "$as_dir" || eval $as_mkdir_p || {
343 as_dirs=
344 while :; do
345 case $as_dir in #(
346 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347 *) as_qdir=$as_dir;;
348 esac
349 as_dirs="'$as_qdir' $as_dirs"
350 as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352 X"$as_dir" : 'X\(//\)[^/]' \| \
353 X"$as_dir" : 'X\(//\)$' \| \
354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355 printf "%s\n" X"$as_dir" |
356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)[^/].*/{
361 s//\1/
362 q
363 }
364 /^X\(\/\/\)$/{
365 s//\1/
366 q
367 }
368 /^X\(\/\).*/{
369 s//\1/
370 q
371 }
372 s/.*/./; q'`
373 test -d "$as_dir" && break
374 done
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379 } # as_fn_mkdir_p
380
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_p ()
385 {
386 test -f "$1" && test -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395 then :
396 eval 'as_fn_append ()
397 {
398 eval $1+=\$2
399 }'
400 else $as_nop
401 as_fn_append ()
402 {
403 eval $1=\$$1\$2
404 }
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413 then :
414 eval 'as_fn_arith ()
415 {
416 as_val=$(( $* ))
417 }'
418 else $as_nop
419 as_fn_arith ()
420 {
421 as_val=`expr "$@" || test $? -eq 1`
422 }
423 fi # as_fn_arith
424
425 # as_fn_nop
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
428 as_fn_nop ()
429 {
430 return $?
431 }
432 as_nop=as_fn_nop
433
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
439 as_fn_error ()
440 {
441 as_status=$1; test $as_status -eq 0 && as_status=1
442 if test "$4"; then
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445 fi
446 printf "%s\n" "$as_me: error: $2" >&2
447 as_fn_exit $as_status
448 } # as_fn_error
449
450 if expr a : '\(a\)' >/dev/null 2>&1 &&
451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
452 as_expr=expr
453 else
454 as_expr=false
455 fi
456
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458 as_basename=basename
459 else
460 as_basename=false
461 fi
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471 X"$0" : 'X\(//\)$' \| \
472 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474 sed '/^.*\/\([^/][^/]*\)\/*$/{
475 s//\1/
476 q
477 }
478 /^X\/\(\/\/\)$/{
479 s//\1/
480 q
481 }
482 /^X\/\(\/\).*/{
483 s//\1/
484 q
485 }
486 s/.*/./; q'`
487
488 # Avoid depending upon Character Ranges.
489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits='0123456789'
493 as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496 as_lineno_1=$LINENO as_lineno_1a=$LINENO
497 as_lineno_2=$LINENO as_lineno_2a=$LINENO
498 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sed -n '
502 p
503 /[$]LINENO/=
504 ' <$as_myself |
505 sed '
506 s/[$]LINENO.*/&-/
507 t lineno
508 b
509 :lineno
510 N
511 :loop
512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513 t loop
514 s/-\n.*//
515 ' >$as_me.lineno &&
516 chmod +x "$as_me.lineno" ||
517 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520 # already done that, so ensure we don't try to do so again and fall
521 # in an infinite loop. This has already happened in practice.
522 _as_can_reexec=no; export _as_can_reexec
523 # Don't try to exec as it changes $[0], causing all sort of problems
524 # (the dirname of $[0] is not the place where we might find the
525 # original and so on. Autoconf is especially sensitive to this).
526 . "./$as_me.lineno"
527 # Exit status is that of the last command.
528 exit
529 }
530
531
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C= ECHO_N= ECHO_T=
536 case `echo -n x` in #(((((
537 -n*)
538 case `echo 'xy\c'` in
539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
540 xy) ECHO_C='\c';;
541 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
542 ECHO_T=' ';;
543 esac;;
544 *)
545 ECHO_N='-n';;
546 esac
547
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n. New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo='printf %s\n'
552 as_echo_n='printf %s'
553
554
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557 rm -f conf$$.dir/conf$$.file
558 else
559 rm -f conf$$.dir
560 mkdir conf$$.dir 2>/dev/null
561 fi
562 if (echo >conf$$.file) 2>/dev/null; then
563 if ln -s conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s='ln -s'
565 # ... but there are two gotchas:
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
571 elif ln conf$$.file conf$$ 2>/dev/null; then
572 as_ln_s=ln
573 else
574 as_ln_s='cp -pR'
575 fi
576 else
577 as_ln_s='cp -pR'
578 fi
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdir conf$$.dir 2>/dev/null
581
582 if mkdir -p . 2>/dev/null; then
583 as_mkdir_p='mkdir -p "$as_dir"'
584 else
585 test -d ./-p && rmdir ./-p
586 as_mkdir_p=false
587 fi
588
589 as_test_x='test -x'
590 as_executable_p=as_fn_executable_p
591
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601 test -n "$DJDIR" || exec 7<&0 </dev/null
602 exec 6>&1
603
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609 #
610 # Initializations.
611 #
612 ac_default_prefix=/usr/local
613 ac_clean_files=
614 ac_config_libobj_dir=.
615 LIBOBJS=
616 cross_compiling=no
617 subdirs=
618 MFLAGS=
619 MAKEFLAGS=
620
621 # Identity of this package.
622 PACKAGE_NAME='ibus-libpinyin'
623 PACKAGE_TARNAME='ibus-libpinyin'
624 PACKAGE_VERSION='1.14.91'
625 PACKAGE_STRING='ibus-libpinyin 1.14.91'
626 PACKAGE_BUGREPORT='https://github.com/libpinyin/ibus-libpinyin/issues/new'
627 PACKAGE_URL=''
628
629 # Factoring default headers for most tests.
630 ac_includes_default="\
631 #include <stddef.h>
632 #ifdef HAVE_STDIO_H
633 # include <stdio.h>
634 #endif
635 #ifdef HAVE_STDLIB_H
636 # include <stdlib.h>
637 #endif
638 #ifdef HAVE_STRING_H
639 # include <string.h>
640 #endif
641 #ifdef HAVE_INTTYPES_H
642 # include <inttypes.h>
643 #endif
644 #ifdef HAVE_STDINT_H
645 # include <stdint.h>
646 #endif
647 #ifdef HAVE_STRINGS_H
648 # include <strings.h>
649 #endif
650 #ifdef HAVE_SYS_TYPES_H
651 # include <sys/types.h>
652 #endif
653 #ifdef HAVE_SYS_STAT_H
654 # include <sys/stat.h>
655 #endif
656 #ifdef HAVE_UNISTD_H
657 # include <unistd.h>
658 #endif"
659
660 ac_header_c_list=
661 gt_needs=
662 ac_subst_vars='am__EXEEXT_FALSE
663 am__EXEEXT_TRUE
664 LTLIBOBJS
665 LIBOBJS
666 IBUS_BUILD_TABLE_INPUT_MODE_FALSE
667 IBUS_BUILD_TABLE_INPUT_MODE_TRUE
668 IBUS_BUILD_ENGLISH_INPUT_MODE_FALSE
669 IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE
670 CLOUD_INPUT_MODE
671 ENABLE_CLOUD_INPUT_MODE_FALSE
672 ENABLE_CLOUD_INPUT_MODE_TRUE
673 JSONGLIB_LIBS
674 JSONGLIB_CFLAGS
675 LIBSOUP_LIBS
676 LIBSOUP_CFLAGS
677 IBUS_BUILD_LUA_EXTENSION_FALSE
678 IBUS_BUILD_LUA_EXTENSION_TRUE
679 LUA_LIBS
680 LUA_CFLAGS
681 GSETTINGS_RULES
682 GLIB_COMPILE_SCHEMAS
683 gsettingsschemadir
684 GSETTINGS_DISABLE_SCHEMAS_COMPILE
685 GIO2_LIBS
686 GIO2_CFLAGS
687 POSUB
688 LTLIBINTL
689 LIBINTL
690 INTLLIBS
691 LTLIBICONV
692 LIBICONV
693 INTL_MACOSX_LIBS
694 CPP
695 XGETTEXT_EXTRA_OPTIONS
696 MSGMERGE
697 XGETTEXT_015
698 XGETTEXT
699 GMSGFMT_015
700 MSGFMT_015
701 GMSGFMT
702 MSGFMT
703 GETTEXT_MACRO_VERSION
704 USE_NLS
705 GETTEXT_PACKAGE
706 OPENCC_LIBS
707 OPENCC_CFLAGS
708 HAVE_BOOST_FALSE
709 HAVE_BOOST_TRUE
710 BOOST_CPPFLAGS
711 DISTCHECK_CONFIGURE_FLAGS
712 BOOST_ROOT
713 ICON_PROP_KEY_XML
714 pkgpyexecdir
715 pyexecdir
716 pkgpythondir
717 pythondir
718 PYTHON_EXEC_PREFIX
719 PYTHON_PREFIX
720 PYTHON_PLATFORM
721 PYTHON_VERSION
722 PYTHON
723 ENV
724 LIBPINYIN_DATADIR
725 LIBPINYIN_LIBS
726 LIBPINYIN_CFLAGS
727 SQLITE3
728 SQLITE_LIBS
729 SQLITE_CFLAGS
730 IBUS_LIBS
731 IBUS_CFLAGS
732 PKG_CONFIG_LIBDIR
733 PKG_CONFIG_PATH
734 PKG_CONFIG
735 CXXCPP
736 LT_SYS_LIBRARY_PATH
737 OTOOL64
738 OTOOL
739 LIPO
740 NMEDIT
741 DSYMUTIL
742 MANIFEST_TOOL
743 RANLIB
744 ac_ct_AR
745 AR
746 DLLTOOL
747 OBJDUMP
748 FILECMD
749 LN_S
750 NM
751 ac_ct_DUMPBIN
752 DUMPBIN
753 LD
754 FGREP
755 SED
756 host_os
757 host_vendor
758 host_cpu
759 host
760 build_os
761 build_vendor
762 build_cpu
763 build
764 LIBTOOL
765 EGREP
766 GREP
767 am__fastdepCXX_FALSE
768 am__fastdepCXX_TRUE
769 CXXDEPMODE
770 ac_ct_CXX
771 CXXFLAGS
772 CXX
773 MAINT
774 MAINTAINER_MODE_FALSE
775 MAINTAINER_MODE_TRUE
776 PACKAGE_VERSION_RELEASE
777 PACKAGE_VERSION_NANO
778 PACKAGE_VERSION_MICRO
779 PACKAGE_VERSION_MINOR
780 PACKAGE_VERSION_MAJOR
781 am__fastdepCC_FALSE
782 am__fastdepCC_TRUE
783 CCDEPMODE
784 am__nodep
785 AMDEPBACKSLASH
786 AMDEP_FALSE
787 AMDEP_TRUE
788 am__include
789 DEPDIR
790 OBJEXT
791 EXEEXT
792 ac_ct_CC
793 CPPFLAGS
794 LDFLAGS
795 CFLAGS
796 CC
797 AM_BACKSLASH
798 AM_DEFAULT_VERBOSITY
799 AM_DEFAULT_V
800 AM_V
801 CSCOPE
802 ETAGS
803 CTAGS
804 am__untar
805 am__tar
806 AMTAR
807 am__leading_dot
808 SET_MAKE
809 AWK
810 mkdir_p
811 MKDIR_P
812 INSTALL_STRIP_PROGRAM
813 STRIP
814 install_sh
815 MAKEINFO
816 AUTOHEADER
817 AUTOMAKE
818 AUTOCONF
819 ACLOCAL
820 VERSION
821 PACKAGE
822 CYGPATH_W
823 am__isrc
824 INSTALL_DATA
825 INSTALL_SCRIPT
826 INSTALL_PROGRAM
827 target_alias
828 host_alias
829 build_alias
830 LIBS
831 ECHO_T
832 ECHO_N
833 ECHO_C
834 DEFS
835 mandir
836 localedir
837 libdir
838 psdir
839 pdfdir
840 dvidir
841 htmldir
842 infodir
843 docdir
844 oldincludedir
845 includedir
846 runstatedir
847 localstatedir
848 sharedstatedir
849 sysconfdir
850 datadir
851 datarootdir
852 libexecdir
853 sbindir
854 bindir
855 program_transform_name
856 prefix
857 exec_prefix
858 PACKAGE_URL
859 PACKAGE_BUGREPORT
860 PACKAGE_STRING
861 PACKAGE_VERSION
862 PACKAGE_TARNAME
863 PACKAGE_NAME
864 PATH_SEPARATOR
865 SHELL
866 am__quote'
867 ac_subst_files=''
868 ac_user_opts='
869 enable_option_checking
870 enable_silent_rules
871 enable_dependency_tracking
872 enable_maintainer_mode
873 enable_static
874 enable_shared
875 with_pic
876 enable_fast_install
877 with_aix_soname
878 with_gnu_ld
879 with_sysroot
880 enable_libtool_lock
881 with_python_sys_prefix
882 with_python_prefix
883 with_python_exec_prefix
884 enable_boost
885 with_boost
886 enable_opencc
887 enable_nls
888 enable_rpath
889 with_libiconv_prefix
890 with_libintl_prefix
891 enable_schemas_compile
892 enable_lua_extension
893 enable_cloud_input_mode
894 enable_english_input_mode
895 enable_table_input_mode
896 '
897 ac_precious_vars='build_alias
898 host_alias
899 target_alias
900 CC
901 CFLAGS
902 LDFLAGS
903 LIBS
904 CPPFLAGS
905 CXX
906 CXXFLAGS
907 CCC
908 LT_SYS_LIBRARY_PATH
909 CXXCPP
910 PKG_CONFIG
911 PKG_CONFIG_PATH
912 PKG_CONFIG_LIBDIR
913 IBUS_CFLAGS
914 IBUS_LIBS
915 SQLITE_CFLAGS
916 SQLITE_LIBS
917 LIBPINYIN_CFLAGS
918 LIBPINYIN_LIBS
919 PYTHON
920 BOOST_ROOT
921 OPENCC_CFLAGS
922 OPENCC_LIBS
923 CPP
924 GIO2_CFLAGS
925 GIO2_LIBS
926 GLIB_COMPILE_SCHEMAS
927 LUA_CFLAGS
928 LUA_LIBS
929 LIBSOUP_CFLAGS
930 LIBSOUP_LIBS
931 JSONGLIB_CFLAGS
932 JSONGLIB_LIBS'
933
934
935 # Initialize some variables set by options.
936 ac_init_help=
937 ac_init_version=false
938 ac_unrecognized_opts=
939 ac_unrecognized_sep=
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
942 cache_file=/dev/null
943 exec_prefix=NONE
944 no_create=
945 no_recursion=
946 prefix=NONE
947 program_prefix=NONE
948 program_suffix=NONE
949 program_transform_name=s,x,x,
950 silent=
951 site=
952 srcdir=
953 verbose=
954 x_includes=NONE
955 x_libraries=NONE
956
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir='${exec_prefix}/bin'
964 sbindir='${exec_prefix}/sbin'
965 libexecdir='${exec_prefix}/libexec'
966 datarootdir='${prefix}/share'
967 datadir='${datarootdir}'
968 sysconfdir='${prefix}/etc'
969 sharedstatedir='${prefix}/com'
970 localstatedir='${prefix}/var'
971 runstatedir='${localstatedir}/run'
972 includedir='${prefix}/include'
973 oldincludedir='/usr/include'
974 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir='${datarootdir}/info'
976 htmldir='${docdir}'
977 dvidir='${docdir}'
978 pdfdir='${docdir}'
979 psdir='${docdir}'
980 libdir='${exec_prefix}/lib'
981 localedir='${datarootdir}/locale'
982 mandir='${datarootdir}/man'
983
984 ac_prev=
985 ac_dashdash=
986 for ac_option
987 do
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\$ac_option
991 ac_prev=
992 continue
993 fi
994
995 case $ac_option in
996 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997 *=) ac_optarg= ;;
998 *) ac_optarg=yes ;;
999 esac
1000
1001 case $ac_dashdash$ac_option in
1002 --)
1003 ac_dashdash=yes ;;
1004
1005 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006 ac_prev=bindir ;;
1007 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1008 bindir=$ac_optarg ;;
1009
1010 -build | --build | --buil | --bui | --bu)
1011 ac_prev=build_alias ;;
1012 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1013 build_alias=$ac_optarg ;;
1014
1015 -cache-file | --cache-file | --cache-fil | --cache-fi \
1016 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1017 ac_prev=cache_file ;;
1018 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1019 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1020 cache_file=$ac_optarg ;;
1021
1022 --config-cache | -C)
1023 cache_file=config.cache ;;
1024
1025 -datadir | --datadir | --datadi | --datad)
1026 ac_prev=datadir ;;
1027 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1028 datadir=$ac_optarg ;;
1029
1030 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1031 | --dataroo | --dataro | --datar)
1032 ac_prev=datarootdir ;;
1033 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1034 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1035 datarootdir=$ac_optarg ;;
1036
1037 -disable-* | --disable-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1045 *"
1046 "enable_$ac_useropt"
1047 "*) ;;
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1050 esac
1051 eval enable_$ac_useropt=no ;;
1052
1053 -docdir | --docdir | --docdi | --doc | --do)
1054 ac_prev=docdir ;;
1055 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1056 docdir=$ac_optarg ;;
1057
1058 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1059 ac_prev=dvidir ;;
1060 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1061 dvidir=$ac_optarg ;;
1062
1063 -enable-* | --enable-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1071 *"
1072 "enable_$ac_useropt"
1073 "*) ;;
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1076 esac
1077 eval enable_$ac_useropt=\$ac_optarg ;;
1078
1079 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1080 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1081 | --exec | --exe | --ex)
1082 ac_prev=exec_prefix ;;
1083 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1084 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1085 | --exec=* | --exe=* | --ex=*)
1086 exec_prefix=$ac_optarg ;;
1087
1088 -gas | --gas | --ga | --g)
1089 # Obsolete; use --with-gas.
1090 with_gas=yes ;;
1091
1092 -help | --help | --hel | --he | -h)
1093 ac_init_help=long ;;
1094 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1095 ac_init_help=recursive ;;
1096 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1097 ac_init_help=short ;;
1098
1099 -host | --host | --hos | --ho)
1100 ac_prev=host_alias ;;
1101 -host=* | --host=* | --hos=* | --ho=*)
1102 host_alias=$ac_optarg ;;
1103
1104 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105 ac_prev=htmldir ;;
1106 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107 | --ht=*)
1108 htmldir=$ac_optarg ;;
1109
1110 -includedir | --includedir | --includedi | --included | --include \
1111 | --includ | --inclu | --incl | --inc)
1112 ac_prev=includedir ;;
1113 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1114 | --includ=* | --inclu=* | --incl=* | --inc=*)
1115 includedir=$ac_optarg ;;
1116
1117 -infodir | --infodir | --infodi | --infod | --info | --inf)
1118 ac_prev=infodir ;;
1119 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1120 infodir=$ac_optarg ;;
1121
1122 -libdir | --libdir | --libdi | --libd)
1123 ac_prev=libdir ;;
1124 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1125 libdir=$ac_optarg ;;
1126
1127 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1128 | --libexe | --libex | --libe)
1129 ac_prev=libexecdir ;;
1130 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1131 | --libexe=* | --libex=* | --libe=*)
1132 libexecdir=$ac_optarg ;;
1133
1134 -localedir | --localedir | --localedi | --localed | --locale)
1135 ac_prev=localedir ;;
1136 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1137 localedir=$ac_optarg ;;
1138
1139 -localstatedir | --localstatedir | --localstatedi | --localstated \
1140 | --localstate | --localstat | --localsta | --localst | --locals)
1141 ac_prev=localstatedir ;;
1142 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1143 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1144 localstatedir=$ac_optarg ;;
1145
1146 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147 ac_prev=mandir ;;
1148 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1149 mandir=$ac_optarg ;;
1150
1151 -nfp | --nfp | --nf)
1152 # Obsolete; use --without-fp.
1153 with_fp=no ;;
1154
1155 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1156 | --no-cr | --no-c | -n)
1157 no_create=yes ;;
1158
1159 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1160 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1161 no_recursion=yes ;;
1162
1163 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1164 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1165 | --oldin | --oldi | --old | --ol | --o)
1166 ac_prev=oldincludedir ;;
1167 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1168 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1169 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1170 oldincludedir=$ac_optarg ;;
1171
1172 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173 ac_prev=prefix ;;
1174 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1175 prefix=$ac_optarg ;;
1176
1177 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1178 | --program-pre | --program-pr | --program-p)
1179 ac_prev=program_prefix ;;
1180 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1181 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1182 program_prefix=$ac_optarg ;;
1183
1184 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1185 | --program-suf | --program-su | --program-s)
1186 ac_prev=program_suffix ;;
1187 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1188 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1189 program_suffix=$ac_optarg ;;
1190
1191 -program-transform-name | --program-transform-name \
1192 | --program-transform-nam | --program-transform-na \
1193 | --program-transform-n | --program-transform- \
1194 | --program-transform | --program-transfor \
1195 | --program-transfo | --program-transf \
1196 | --program-trans | --program-tran \
1197 | --progr-tra | --program-tr | --program-t)
1198 ac_prev=program_transform_name ;;
1199 -program-transform-name=* | --program-transform-name=* \
1200 | --program-transform-nam=* | --program-transform-na=* \
1201 | --program-transform-n=* | --program-transform-=* \
1202 | --program-transform=* | --program-transfor=* \
1203 | --program-transfo=* | --program-transf=* \
1204 | --program-trans=* | --program-tran=* \
1205 | --progr-tra=* | --program-tr=* | --program-t=*)
1206 program_transform_name=$ac_optarg ;;
1207
1208 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209 ac_prev=pdfdir ;;
1210 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1211 pdfdir=$ac_optarg ;;
1212
1213 -psdir | --psdir | --psdi | --psd | --ps)
1214 ac_prev=psdir ;;
1215 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1216 psdir=$ac_optarg ;;
1217
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1220 silent=yes ;;
1221
1222 -runstatedir | --runstatedir | --runstatedi | --runstated \
1223 | --runstate | --runstat | --runsta | --runst | --runs \
1224 | --run | --ru | --r)
1225 ac_prev=runstatedir ;;
1226 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1227 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1228 | --run=* | --ru=* | --r=*)
1229 runstatedir=$ac_optarg ;;
1230
1231 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1232 ac_prev=sbindir ;;
1233 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1234 | --sbi=* | --sb=*)
1235 sbindir=$ac_optarg ;;
1236
1237 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1238 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1239 | --sharedst | --shareds | --shared | --share | --shar \
1240 | --sha | --sh)
1241 ac_prev=sharedstatedir ;;
1242 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1243 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1244 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1245 | --sha=* | --sh=*)
1246 sharedstatedir=$ac_optarg ;;
1247
1248 -site | --site | --sit)
1249 ac_prev=site ;;
1250 -site=* | --site=* | --sit=*)
1251 site=$ac_optarg ;;
1252
1253 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1254 ac_prev=srcdir ;;
1255 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1256 srcdir=$ac_optarg ;;
1257
1258 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1259 | --syscon | --sysco | --sysc | --sys | --sy)
1260 ac_prev=sysconfdir ;;
1261 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1262 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1263 sysconfdir=$ac_optarg ;;
1264
1265 -target | --target | --targe | --targ | --tar | --ta | --t)
1266 ac_prev=target_alias ;;
1267 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1268 target_alias=$ac_optarg ;;
1269
1270 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1271 verbose=yes ;;
1272
1273 -version | --version | --versio | --versi | --vers | -V)
1274 ac_init_version=: ;;
1275
1276 -with-* | --with-*)
1277 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280 as_fn_error $? "invalid package name: \`$ac_useropt'"
1281 ac_useropt_orig=$ac_useropt
1282 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1283 case $ac_user_opts in
1284 *"
1285 "with_$ac_useropt"
1286 "*) ;;
1287 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1288 ac_unrecognized_sep=', ';;
1289 esac
1290 eval with_$ac_useropt=\$ac_optarg ;;
1291
1292 -without-* | --without-*)
1293 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error $? "invalid package name: \`$ac_useropt'"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1300 *"
1301 "with_$ac_useropt"
1302 "*) ;;
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1305 esac
1306 eval with_$ac_useropt=no ;;
1307
1308 --x)
1309 # Obsolete; use --with-x.
1310 with_x=yes ;;
1311
1312 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1313 | --x-incl | --x-inc | --x-in | --x-i)
1314 ac_prev=x_includes ;;
1315 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1316 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1317 x_includes=$ac_optarg ;;
1318
1319 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1320 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1321 ac_prev=x_libraries ;;
1322 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1323 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1324 x_libraries=$ac_optarg ;;
1325
1326 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1327 Try \`$0 --help' for more information"
1328 ;;
1329
1330 *=*)
1331 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1332 # Reject names that are not valid shell variable names.
1333 case $ac_envvar in #(
1334 '' | [0-9]* | *[!_$as_cr_alnum]* )
1335 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1336 esac
1337 eval $ac_envvar=\$ac_optarg
1338 export $ac_envvar ;;
1339
1340 *)
1341 # FIXME: should be removed in autoconf 3.0.
1342 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1343 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1344 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1345 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1346 ;;
1347
1348 esac
1349 done
1350
1351 if test -n "$ac_prev"; then
1352 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1353 as_fn_error $? "missing argument to $ac_option"
1354 fi
1355
1356 if test -n "$ac_unrecognized_opts"; then
1357 case $enable_option_checking in
1358 no) ;;
1359 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1360 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1361 esac
1362 fi
1363
1364 # Check all directory arguments for consistency.
1365 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir runstatedir
1369 do
1370 eval ac_val=\$$ac_var
1371 # Remove trailing slashes.
1372 case $ac_val in
1373 */ )
1374 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\$ac_val;;
1376 esac
1377 # Be sure to have absolute directory names.
1378 case $ac_val in
1379 [\\/$]* | ?:[\\/]* ) continue;;
1380 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381 esac
1382 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1383 done
1384
1385 # There might be people who depend on the old broken behavior: `$host'
1386 # used to hold the argument of --host etc.
1387 # FIXME: To remove some day.
1388 build=$build_alias
1389 host=$host_alias
1390 target=$target_alias
1391
1392 # FIXME: To remove some day.
1393 if test "x$host_alias" != x; then
1394 if test "x$build_alias" = x; then
1395 cross_compiling=maybe
1396 elif test "x$build_alias" != "x$host_alias"; then
1397 cross_compiling=yes
1398 fi
1399 fi
1400
1401 ac_tool_prefix=
1402 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1403
1404 test "$silent" = yes && exec 6>/dev/null
1405
1406
1407 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di=`ls -di .` &&
1409 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error $? "working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error $? "pwd does not report name of working directory"
1413
1414
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 printf "%s\n" X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 s//\1/
1427 q
1428 }
1429 /^X\(\/\/\)[^/].*/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\/\)$/{
1434 s//\1/
1435 q
1436 }
1437 /^X\(\/\).*/{
1438 s//\1/
1439 q
1440 }
1441 s/.*/./; q'`
1442 srcdir=$ac_confdir
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 srcdir=..
1445 fi
1446 else
1447 ac_srcdir_defaulted=no
1448 fi
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1451 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1452 fi
1453 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1454 ac_abs_confdir=`(
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1456 pwd)`
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 srcdir=.
1460 fi
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1464 case $srcdir in
1465 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1466 esac
1467 for ac_var in $ac_precious_vars; do
1468 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_${ac_var}_value=\$${ac_var}
1470 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1472 done
1473
1474 #
1475 # Report the --help message.
1476 #
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1480 cat <<_ACEOF
1481 \`configure' configures ibus-libpinyin 1.14.91 to adapt to many kinds of systems.
1482
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1484
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1487
1488 Defaults for the options are specified in brackets.
1489
1490 Configuration:
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking ...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1500
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 [$ac_default_prefix]
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 [PREFIX]
1506
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1511
1512 For better control, use the options below.
1513
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1522 --libdir=DIR object code libraries [EPREFIX/lib]
1523 --includedir=DIR C header files [PREFIX/include]
1524 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1525 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1526 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1527 --infodir=DIR info documentation [DATAROOTDIR/info]
1528 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1529 --mandir=DIR man documentation [DATAROOTDIR/man]
1530 --docdir=DIR documentation root [DATAROOTDIR/doc/ibus-libpinyin]
1531 --htmldir=DIR html documentation [DOCDIR]
1532 --dvidir=DIR dvi documentation [DOCDIR]
1533 --pdfdir=DIR pdf documentation [DOCDIR]
1534 --psdir=DIR ps documentation [DOCDIR]
1535 _ACEOF
1536
1537 cat <<\_ACEOF
1538
1539 Program names:
1540 --program-prefix=PREFIX prepend PREFIX to installed program names
1541 --program-suffix=SUFFIX append SUFFIX to installed program names
1542 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1543
1544 System types:
1545 --build=BUILD configure for building on BUILD [guessed]
1546 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1547 _ACEOF
1548 fi
1549
1550 if test -n "$ac_init_help"; then
1551 case $ac_init_help in
1552 short | recursive ) echo "Configuration of ibus-libpinyin 1.14.91:";;
1553 esac
1554 cat <<\_ACEOF
1555
1556 Optional Features:
1557 --disable-option-checking ignore unrecognized --enable/--with options
1558 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1559 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1560 --enable-silent-rules less verbose build output (undo: "make V=1")
1561 --disable-silent-rules verbose build output (undo: "make V=0")
1562 --enable-dependency-tracking
1563 do not reject slow dependency extractors
1564 --disable-dependency-tracking
1565 speeds up one-time build
1566 --enable-maintainer-mode
1567 enable make rules and dependencies not useful (and
1568 sometimes confusing) to the casual installer
1569 --enable-static[=PKGS] build static libraries [default=no]
1570 --enable-shared[=PKGS] build shared libraries [default=yes]
1571 --enable-fast-install[=PKGS]
1572 optimize for fast installation [default=yes]
1573 --disable-libtool-lock avoid locking (might break parallel builds)
1574 --enable-boost Use boost to replace stdc++0x.
1575 --enable-opencc Use opencc for simplified and traditional Chinese
1576 conversion
1577 --disable-nls do not use Native Language Support
1578 --disable-rpath do not hardcode runtime library paths
1579 --disable-schemas-compile
1580 Disable regeneration of gschemas.compiled on install
1581 --disable-lua-extension do not build lua extension
1582 --enable-cloud-input-mode
1583 add cloud candidates
1584 --disable-english-input-mode
1585 do not build english input mode
1586 --disable-table-input-mode
1587 do not build table input mode
1588
1589 Optional Packages:
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1593 both]
1594 --with-aix-soname=aix|svr4|both
1595 shared library versioning (aka "SONAME") variant to
1596 provide on AIX, [default=aix].
1597 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1598 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1599 compiler's sysroot if not specified).
1600 --with-python-sys-prefix
1601 use Python's sys.prefix and sys.exec_prefix values
1602 --with-python_prefix override the default PYTHON_PREFIX
1603 --with-python_exec_prefix
1604 override the default PYTHON_EXEC_PREFIX
1605 --with-boost=DIR prefix of Boost 1.39 [guess]
1606 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1607 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1608 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1609 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1610 --without-libintl-prefix don't search for libintl in includedir and libdir
1611
1612 Some influential environment variables:
1613 CC C compiler command
1614 CFLAGS C compiler flags
1615 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1616 nonstandard directory <lib dir>
1617 LIBS libraries to pass to the linker, e.g. -l<library>
1618 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1619 you have headers in a nonstandard directory <include dir>
1620 CXX C++ compiler command
1621 CXXFLAGS C++ compiler flags
1622 LT_SYS_LIBRARY_PATH
1623 User-defined run-time library search path.
1624 CXXCPP C++ preprocessor
1625 PKG_CONFIG path to pkg-config utility
1626 PKG_CONFIG_PATH
1627 directories to add to pkg-config's search path
1628 PKG_CONFIG_LIBDIR
1629 path overriding pkg-config's built-in search path
1630 IBUS_CFLAGS C compiler flags for IBUS, overriding pkg-config
1631 IBUS_LIBS linker flags for IBUS, overriding pkg-config
1632 SQLITE_CFLAGS
1633 C compiler flags for SQLITE, overriding pkg-config
1634 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1635 LIBPINYIN_CFLAGS
1636 C compiler flags for LIBPINYIN, overriding pkg-config
1637 LIBPINYIN_LIBS
1638 linker flags for LIBPINYIN, overriding pkg-config
1639 PYTHON the Python interpreter
1640 BOOST_ROOT Location of Boost installation
1641 OPENCC_CFLAGS
1642 C compiler flags for OPENCC, overriding pkg-config
1643 OPENCC_LIBS linker flags for OPENCC, overriding pkg-config
1644 CPP C preprocessor
1645 GIO2_CFLAGS C compiler flags for GIO2, overriding pkg-config
1646 GIO2_LIBS linker flags for GIO2, overriding pkg-config
1647 GLIB_COMPILE_SCHEMAS
1648 value of glib_compile_schemas for gio-2.0, overriding pkg-config
1649 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1650 LUA_LIBS linker flags for LUA, overriding pkg-config
1651 LIBSOUP_CFLAGS
1652 C compiler flags for LIBSOUP, overriding pkg-config
1653 LIBSOUP_LIBS
1654 linker flags for LIBSOUP, overriding pkg-config
1655 JSONGLIB_CFLAGS
1656 C compiler flags for JSONGLIB, overriding pkg-config
1657 JSONGLIB_LIBS
1658 linker flags for JSONGLIB, overriding pkg-config
1659
1660 Use these variables to override the choices made by `configure' or to help
1661 it to find libraries and programs with nonstandard names/locations.
1662
1663 Report bugs to <https://github.com/libpinyin/ibus-libpinyin/issues/new>.
1664 _ACEOF
1665 ac_status=$?
1666 fi
1667
1668 if test "$ac_init_help" = "recursive"; then
1669 # If there are subdirs, report their specific --help.
1670 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1671 test -d "$ac_dir" ||
1672 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1673 continue
1674 ac_builddir=.
1675
1676 case "$ac_dir" in
1677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1678 *)
1679 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1680 # A ".." for each directory in $ac_dir_suffix.
1681 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1682 case $ac_top_builddir_sub in
1683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1685 esac ;;
1686 esac
1687 ac_abs_top_builddir=$ac_pwd
1688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1689 # for backward compatibility:
1690 ac_top_builddir=$ac_top_build_prefix
1691
1692 case $srcdir in
1693 .) # We are building in place.
1694 ac_srcdir=.
1695 ac_top_srcdir=$ac_top_builddir_sub
1696 ac_abs_top_srcdir=$ac_pwd ;;
1697 [\\/]* | ?:[\\/]* ) # Absolute name.
1698 ac_srcdir=$srcdir$ac_dir_suffix;
1699 ac_top_srcdir=$srcdir
1700 ac_abs_top_srcdir=$srcdir ;;
1701 *) # Relative name.
1702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1703 ac_top_srcdir=$ac_top_build_prefix$srcdir
1704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1705 esac
1706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1707
1708 cd "$ac_dir" || { ac_status=$?; continue; }
1709 # Check for configure.gnu first; this name is used for a wrapper for
1710 # Metaconfig's "Configure" on case-insensitive file systems.
1711 if test -f "$ac_srcdir/configure.gnu"; then
1712 echo &&
1713 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1714 elif test -f "$ac_srcdir/configure"; then
1715 echo &&
1716 $SHELL "$ac_srcdir/configure" --help=recursive
1717 else
1718 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1719 fi || ac_status=$?
1720 cd "$ac_pwd" || { ac_status=$?; break; }
1721 done
1722 fi
1723
1724 test -n "$ac_init_help" && exit $ac_status
1725 if $ac_init_version; then
1726 cat <<\_ACEOF
1727 ibus-libpinyin configure 1.14.91
1728 generated by GNU Autoconf 2.71
1729
1730 Copyright (C) 2021 Free Software Foundation, Inc.
1731 This configure script is free software; the Free Software Foundation
1732 gives unlimited permission to copy, distribute and modify it.
1733 _ACEOF
1734 exit
1735 fi
1736
1737 ## ------------------------ ##
1738 ## Autoconf initialization. ##
1739 ## ------------------------ ##
1740
1741 # ac_fn_c_try_compile LINENO
1742 # --------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_c_try_compile ()
1745 {
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext conftest.beam
1748 if { { ac_try="$ac_compile"
1749 case "(($ac_try" in
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 printf "%s\n" "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1756 ac_status=$?
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1761 fi
1762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_c_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext
1767 then :
1768 ac_retval=0
1769 else $as_nop
1770 printf "%s\n" "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1772
1773 ac_retval=1
1774 fi
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status $ac_retval
1777
1778 } # ac_fn_c_try_compile
1779
1780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1781 # -------------------------------------------------------
1782 # Tests whether HEADER exists and can be compiled using the include files in
1783 # INCLUDES, setting the cache variable VAR accordingly.
1784 ac_fn_c_check_header_compile ()
1785 {
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 printf %s "checking for $2... " >&6; }
1789 if eval test \${$3+y}
1790 then :
1791 printf %s "(cached) " >&6
1792 else $as_nop
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1795 $4
1796 #include <$2>
1797 _ACEOF
1798 if ac_fn_c_try_compile "$LINENO"
1799 then :
1800 eval "$3=yes"
1801 else $as_nop
1802 eval "$3=no"
1803 fi
1804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1805 fi
1806 eval ac_res=\$$3
1807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 printf "%s\n" "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810
1811 } # ac_fn_c_check_header_compile
1812
1813 # ac_fn_cxx_try_compile LINENO
1814 # ----------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_cxx_try_compile ()
1817 {
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 rm -f conftest.$ac_objext conftest.beam
1820 if { { ac_try="$ac_compile"
1821 case "(($ac_try" in
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1824 esac
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 printf "%s\n" "$ac_try_echo"; } >&5
1827 (eval "$ac_compile") 2>conftest.err
1828 ac_status=$?
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1833 fi
1834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_cxx_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest.$ac_objext
1839 then :
1840 ac_retval=0
1841 else $as_nop
1842 printf "%s\n" "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1844
1845 ac_retval=1
1846 fi
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1849
1850 } # ac_fn_cxx_try_compile
1851
1852 # ac_fn_c_try_link LINENO
1853 # -----------------------
1854 # Try to link conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_link ()
1856 {
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1859 if { { ac_try="$ac_link"
1860 case "(($ac_try" in
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1863 esac
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 printf "%s\n" "$ac_try_echo"; } >&5
1866 (eval "$ac_link") 2>conftest.err
1867 ac_status=$?
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1872 fi
1873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest$ac_exeext && {
1878 test "$cross_compiling" = yes ||
1879 test -x conftest$ac_exeext
1880 }
1881 then :
1882 ac_retval=0
1883 else $as_nop
1884 printf "%s\n" "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1886
1887 ac_retval=1
1888 fi
1889 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1890 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1891 # interfere with the next link command; also delete a directory that is
1892 # left behind by Apple's compiler. We do this before executing the actions.
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1896
1897 } # ac_fn_c_try_link
1898
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1903 {
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 printf %s "checking for $2... " >&6; }
1907 if eval test \${$3+y}
1908 then :
1909 printf %s "(cached) " >&6
1910 else $as_nop
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1913 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1915 #define $2 innocuous_$2
1916
1917 /* System header to define __stub macros and hopefully few prototypes,
1918 which can conflict with char $2 (); below. */
1919
1920 #include <limits.h>
1921 #undef $2
1922
1923 /* Override any GCC internal prototype to avoid an error.
1924 Use char because int might match the return type of a GCC
1925 builtin and then its argument prototype would still apply. */
1926 #ifdef __cplusplus
1927 extern "C"
1928 #endif
1929 char $2 ();
1930 /* The GNU C library defines this for functions which it implements
1931 to always fail with ENOSYS. Some functions are actually named
1932 something starting with __ and the normal name is an alias. */
1933 #if defined __stub_$2 || defined __stub___$2
1934 choke me
1935 #endif
1936
1937 int
1938 main (void)
1939 {
1940 return $2 ();
1941 ;
1942 return 0;
1943 }
1944 _ACEOF
1945 if ac_fn_c_try_link "$LINENO"
1946 then :
1947 eval "$3=yes"
1948 else $as_nop
1949 eval "$3=no"
1950 fi
1951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1952 conftest$ac_exeext conftest.$ac_ext
1953 fi
1954 eval ac_res=\$$3
1955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 printf "%s\n" "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958
1959 } # ac_fn_c_check_func
1960
1961 # ac_fn_cxx_try_cpp LINENO
1962 # ------------------------
1963 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1964 ac_fn_cxx_try_cpp ()
1965 {
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 if { { ac_try="$ac_cpp conftest.$ac_ext"
1968 case "(($ac_try" in
1969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1970 *) ac_try_echo=$ac_try;;
1971 esac
1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 printf "%s\n" "$ac_try_echo"; } >&5
1974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1975 ac_status=$?
1976 if test -s conftest.err; then
1977 grep -v '^ *+' conftest.err >conftest.er1
1978 cat conftest.er1 >&5
1979 mv -f conftest.er1 conftest.err
1980 fi
1981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1982 test $ac_status = 0; } > conftest.i && {
1983 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1984 test ! -s conftest.err
1985 }
1986 then :
1987 ac_retval=0
1988 else $as_nop
1989 printf "%s\n" "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1991
1992 ac_retval=1
1993 fi
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 as_fn_set_status $ac_retval
1996
1997 } # ac_fn_cxx_try_cpp
1998
1999 # ac_fn_cxx_try_link LINENO
2000 # -------------------------
2001 # Try to link conftest.$ac_ext, and return whether this succeeded.
2002 ac_fn_cxx_try_link ()
2003 {
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2006 if { { ac_try="$ac_link"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 printf "%s\n" "$ac_try_echo"; } >&5
2013 (eval "$ac_link") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2019 fi
2020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } && {
2022 test -z "$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 } && test -s conftest$ac_exeext && {
2025 test "$cross_compiling" = yes ||
2026 test -x conftest$ac_exeext
2027 }
2028 then :
2029 ac_retval=0
2030 else $as_nop
2031 printf "%s\n" "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2033
2034 ac_retval=1
2035 fi
2036 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038 # interfere with the next link command; also delete a directory that is
2039 # left behind by Apple's compiler. We do this before executing the actions.
2040 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 as_fn_set_status $ac_retval
2043
2044 } # ac_fn_cxx_try_link
2045
2046 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2047 # ---------------------------------------------------------
2048 # Tests whether HEADER exists and can be compiled using the include files in
2049 # INCLUDES, setting the cache variable VAR accordingly.
2050 ac_fn_cxx_check_header_compile ()
2051 {
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 printf %s "checking for $2... " >&6; }
2055 if eval test \${$3+y}
2056 then :
2057 printf %s "(cached) " >&6
2058 else $as_nop
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2061 $4
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_cxx_try_compile "$LINENO"
2065 then :
2066 eval "$3=yes"
2067 else $as_nop
2068 eval "$3=no"
2069 fi
2070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2071 fi
2072 eval ac_res=\$$3
2073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 printf "%s\n" "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077 } # ac_fn_cxx_check_header_compile
2078
2079 # ac_fn_c_try_cpp LINENO
2080 # ----------------------
2081 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2082 ac_fn_c_try_cpp ()
2083 {
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 if { { ac_try="$ac_cpp conftest.$ac_ext"
2086 case "(($ac_try" in
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2089 esac
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 printf "%s\n" "$ac_try_echo"; } >&5
2092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2093 ac_status=$?
2094 if test -s conftest.err; then
2095 grep -v '^ *+' conftest.err >conftest.er1
2096 cat conftest.er1 >&5
2097 mv -f conftest.er1 conftest.err
2098 fi
2099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 test $ac_status = 0; } > conftest.i && {
2101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2102 test ! -s conftest.err
2103 }
2104 then :
2105 ac_retval=0
2106 else $as_nop
2107 printf "%s\n" "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2109
2110 ac_retval=1
2111 fi
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 as_fn_set_status $ac_retval
2114
2115 } # ac_fn_c_try_cpp
2116
2117 # ac_fn_c_try_run LINENO
2118 # ----------------------
2119 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2120 # executables *can* be run.
2121 ac_fn_c_try_run ()
2122 {
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 if { { ac_try="$ac_link"
2125 case "(($ac_try" in
2126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127 *) ac_try_echo=$ac_try;;
2128 esac
2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130 printf "%s\n" "$ac_try_echo"; } >&5
2131 (eval "$ac_link") 2>&5
2132 ac_status=$?
2133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2135 { { case "(($ac_try" in
2136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2137 *) ac_try_echo=$ac_try;;
2138 esac
2139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 printf "%s\n" "$ac_try_echo"; } >&5
2141 (eval "$ac_try") 2>&5
2142 ac_status=$?
2143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; }; }
2145 then :
2146 ac_retval=0
2147 else $as_nop
2148 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2149 printf "%s\n" "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.$ac_ext >&5
2151
2152 ac_retval=$ac_status
2153 fi
2154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 as_fn_set_status $ac_retval
2157
2158 } # ac_fn_c_try_run
2159 ac_configure_args_raw=
2160 for ac_arg
2161 do
2162 case $ac_arg in
2163 *\'*)
2164 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2165 esac
2166 as_fn_append ac_configure_args_raw " '$ac_arg'"
2167 done
2168
2169 case $ac_configure_args_raw in
2170 *$as_nl*)
2171 ac_safe_unquote= ;;
2172 *)
2173 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2174 ac_unsafe_a="$ac_unsafe_z#~"
2175 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2176 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2177 esac
2178
2179 cat >config.log <<_ACEOF
2180 This file contains any messages produced by compilers while
2181 running configure, to aid debugging if configure makes a mistake.
2182
2183 It was created by ibus-libpinyin $as_me 1.14.91, which was
2184 generated by GNU Autoconf 2.71. Invocation command line was
2185
2186 $ $0$ac_configure_args_raw
2187
2188 _ACEOF
2189 exec 5>>config.log
2190 {
2191 cat <<_ASUNAME
2192 ## --------- ##
2193 ## Platform. ##
2194 ## --------- ##
2195
2196 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2197 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2198 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2199 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2200 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2201
2202 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2203 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2204
2205 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2206 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2207 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2208 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2209 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2210 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2211 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2212
2213 _ASUNAME
2214
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 for as_dir in $PATH
2217 do
2218 IFS=$as_save_IFS
2219 case $as_dir in #(((
2220 '') as_dir=./ ;;
2221 */) ;;
2222 *) as_dir=$as_dir/ ;;
2223 esac
2224 printf "%s\n" "PATH: $as_dir"
2225 done
2226 IFS=$as_save_IFS
2227
2228 } >&5
2229
2230 cat >&5 <<_ACEOF
2231
2232
2233 ## ----------- ##
2234 ## Core tests. ##
2235 ## ----------- ##
2236
2237 _ACEOF
2238
2239
2240 # Keep a trace of the command line.
2241 # Strip out --no-create and --no-recursion so they do not pile up.
2242 # Strip out --silent because we don't want to record it for future runs.
2243 # Also quote any args containing shell meta-characters.
2244 # Make two passes to allow for proper duplicate-argument suppression.
2245 ac_configure_args=
2246 ac_configure_args0=
2247 ac_configure_args1=
2248 ac_must_keep_next=false
2249 for ac_pass in 1 2
2250 do
2251 for ac_arg
2252 do
2253 case $ac_arg in
2254 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2256 | -silent | --silent | --silen | --sile | --sil)
2257 continue ;;
2258 *\'*)
2259 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 esac
2261 case $ac_pass in
2262 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2263 2)
2264 as_fn_append ac_configure_args1 " '$ac_arg'"
2265 if test $ac_must_keep_next = true; then
2266 ac_must_keep_next=false # Got value, back to normal.
2267 else
2268 case $ac_arg in
2269 *=* | --config-cache | -C | -disable-* | --disable-* \
2270 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2271 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2272 | -with-* | --with-* | -without-* | --without-* | --x)
2273 case "$ac_configure_args0 " in
2274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2275 esac
2276 ;;
2277 -* ) ac_must_keep_next=true ;;
2278 esac
2279 fi
2280 as_fn_append ac_configure_args " '$ac_arg'"
2281 ;;
2282 esac
2283 done
2284 done
2285 { ac_configure_args0=; unset ac_configure_args0;}
2286 { ac_configure_args1=; unset ac_configure_args1;}
2287
2288 # When interrupted or exit'd, cleanup temporary files, and complete
2289 # config.log. We remove comments because anyway the quotes in there
2290 # would cause problems or look ugly.
2291 # WARNING: Use '\'' to represent an apostrophe within the trap.
2292 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2293 trap 'exit_status=$?
2294 # Sanitize IFS.
2295 IFS=" "" $as_nl"
2296 # Save into config.log some information that might help in debugging.
2297 {
2298 echo
2299
2300 printf "%s\n" "## ---------------- ##
2301 ## Cache variables. ##
2302 ## ---------------- ##"
2303 echo
2304 # The following way of writing the cache mishandles newlines in values,
2305 (
2306 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2307 eval ac_val=\$$ac_var
2308 case $ac_val in #(
2309 *${as_nl}*)
2310 case $ac_var in #(
2311 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2312 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2313 esac
2314 case $ac_var in #(
2315 _ | IFS | as_nl) ;; #(
2316 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2317 *) { eval $ac_var=; unset $ac_var;} ;;
2318 esac ;;
2319 esac
2320 done
2321 (set) 2>&1 |
2322 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2323 *${as_nl}ac_space=\ *)
2324 sed -n \
2325 "s/'\''/'\''\\\\'\'''\''/g;
2326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2327 ;; #(
2328 *)
2329 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2330 ;;
2331 esac |
2332 sort
2333 )
2334 echo
2335
2336 printf "%s\n" "## ----------------- ##
2337 ## Output variables. ##
2338 ## ----------------- ##"
2339 echo
2340 for ac_var in $ac_subst_vars
2341 do
2342 eval ac_val=\$$ac_var
2343 case $ac_val in
2344 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2345 esac
2346 printf "%s\n" "$ac_var='\''$ac_val'\''"
2347 done | sort
2348 echo
2349
2350 if test -n "$ac_subst_files"; then
2351 printf "%s\n" "## ------------------- ##
2352 ## File substitutions. ##
2353 ## ------------------- ##"
2354 echo
2355 for ac_var in $ac_subst_files
2356 do
2357 eval ac_val=\$$ac_var
2358 case $ac_val in
2359 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2360 esac
2361 printf "%s\n" "$ac_var='\''$ac_val'\''"
2362 done | sort
2363 echo
2364 fi
2365
2366 if test -s confdefs.h; then
2367 printf "%s\n" "## ----------- ##
2368 ## confdefs.h. ##
2369 ## ----------- ##"
2370 echo
2371 cat confdefs.h
2372 echo
2373 fi
2374 test "$ac_signal" != 0 &&
2375 printf "%s\n" "$as_me: caught signal $ac_signal"
2376 printf "%s\n" "$as_me: exit $exit_status"
2377 } >&5
2378 rm -f core *.core core.conftest.* &&
2379 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2380 exit $exit_status
2381 ' 0
2382 for ac_signal in 1 2 13 15; do
2383 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2384 done
2385 ac_signal=0
2386
2387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2388 rm -f -r conftest* confdefs.h
2389
2390 printf "%s\n" "/* confdefs.h */" > confdefs.h
2391
2392 # Predefined preprocessor variables.
2393
2394 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2395
2396 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2397
2398 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2399
2400 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2401
2402 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2403
2404 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2405
2406
2407 # Let the site file select an alternate cache file if it wants to.
2408 # Prefer an explicitly selected file to automatically selected ones.
2409 if test -n "$CONFIG_SITE"; then
2410 ac_site_files="$CONFIG_SITE"
2411 elif test "x$prefix" != xNONE; then
2412 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2413 else
2414 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2415 fi
2416
2417 for ac_site_file in $ac_site_files
2418 do
2419 case $ac_site_file in #(
2420 */*) :
2421 ;; #(
2422 *) :
2423 ac_site_file=./$ac_site_file ;;
2424 esac
2425 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2427 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2428 sed 's/^/| /' "$ac_site_file" >&5
2429 . "$ac_site_file" \
2430 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2432 as_fn_error $? "failed to load site script $ac_site_file
2433 See \`config.log' for more details" "$LINENO" 5; }
2434 fi
2435 done
2436
2437 if test -r "$cache_file"; then
2438 # Some versions of bash will fail to source /dev/null (special files
2439 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2440 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2442 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2443 case $cache_file in
2444 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2445 *) . "./$cache_file";;
2446 esac
2447 fi
2448 else
2449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2450 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2451 >$cache_file
2452 fi
2453
2454 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2455 # Test code for whether the C compiler supports C89 (global declarations)
2456 ac_c_conftest_c89_globals='
2457 /* Does the compiler advertise C89 conformance?
2458 Do not test the value of __STDC__, because some compilers set it to 0
2459 while being otherwise adequately conformant. */
2460 #if !defined __STDC__
2461 # error "Compiler does not advertise C89 conformance"
2462 #endif
2463
2464 #include <stddef.h>
2465 #include <stdarg.h>
2466 struct stat;
2467 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2468 struct buf { int x; };
2469 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2470 static char *e (p, i)
2471 char **p;
2472 int i;
2473 {
2474 return p[i];
2475 }
2476 static char *f (char * (*g) (char **, int), char **p, ...)
2477 {
2478 char *s;
2479 va_list v;
2480 va_start (v,p);
2481 s = g (p, va_arg (v,int));
2482 va_end (v);
2483 return s;
2484 }
2485
2486 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2487 function prototypes and stuff, but not \xHH hex character constants.
2488 These do not provoke an error unfortunately, instead are silently treated
2489 as an "x". The following induces an error, until -std is added to get
2490 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2491 array size at least. It is necessary to write \x00 == 0 to get something
2492 that is true only with -std. */
2493 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2494
2495 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2496 inside strings and character constants. */
2497 #define FOO(x) '\''x'\''
2498 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2499
2500 int test (int i, double x);
2501 struct s1 {int (*f) (int a);};
2502 struct s2 {int (*f) (double a);};
2503 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2504 int, int);'
2505
2506 # Test code for whether the C compiler supports C89 (body of main).
2507 ac_c_conftest_c89_main='
2508 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2509 '
2510
2511 # Test code for whether the C compiler supports C99 (global declarations)
2512 ac_c_conftest_c99_globals='
2513 // Does the compiler advertise C99 conformance?
2514 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2515 # error "Compiler does not advertise C99 conformance"
2516 #endif
2517
2518 #include <stdbool.h>
2519 extern int puts (const char *);
2520 extern int printf (const char *, ...);
2521 extern int dprintf (int, const char *, ...);
2522 extern void *malloc (size_t);
2523
2524 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2525 // dprintf is used instead of fprintf to avoid needing to declare
2526 // FILE and stderr.
2527 #define debug(...) dprintf (2, __VA_ARGS__)
2528 #define showlist(...) puts (#__VA_ARGS__)
2529 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2530 static void
2531 test_varargs_macros (void)
2532 {
2533 int x = 1234;
2534 int y = 5678;
2535 debug ("Flag");
2536 debug ("X = %d\n", x);
2537 showlist (The first, second, and third items.);
2538 report (x>y, "x is %d but y is %d", x, y);
2539 }
2540
2541 // Check long long types.
2542 #define BIG64 18446744073709551615ull
2543 #define BIG32 4294967295ul
2544 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2545 #if !BIG_OK
2546 #error "your preprocessor is broken"
2547 #endif
2548 #if BIG_OK
2549 #else
2550 #error "your preprocessor is broken"
2551 #endif
2552 static long long int bignum = -9223372036854775807LL;
2553 static unsigned long long int ubignum = BIG64;
2554
2555 struct incomplete_array
2556 {
2557 int datasize;
2558 double data[];
2559 };
2560
2561 struct named_init {
2562 int number;
2563 const wchar_t *name;
2564 double average;
2565 };
2566
2567 typedef const char *ccp;
2568
2569 static inline int
2570 test_restrict (ccp restrict text)
2571 {
2572 // See if C++-style comments work.
2573 // Iterate through items via the restricted pointer.
2574 // Also check for declarations in for loops.
2575 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2576 continue;
2577 return 0;
2578 }
2579
2580 // Check varargs and va_copy.
2581 static bool
2582 test_varargs (const char *format, ...)
2583 {
2584 va_list args;
2585 va_start (args, format);
2586 va_list args_copy;
2587 va_copy (args_copy, args);
2588
2589 const char *str = "";
2590 int number = 0;
2591 float fnumber = 0;
2592
2593 while (*format)
2594 {
2595 switch (*format++)
2596 {
2597 case '\''s'\'': // string
2598 str = va_arg (args_copy, const char *);
2599 break;
2600 case '\''d'\'': // int
2601 number = va_arg (args_copy, int);
2602 break;
2603 case '\''f'\'': // float
2604 fnumber = va_arg (args_copy, double);
2605 break;
2606 default:
2607 break;
2608 }
2609 }
2610 va_end (args_copy);
2611 va_end (args);
2612
2613 return *str && number && fnumber;
2614 }
2615 '
2616
2617 # Test code for whether the C compiler supports C99 (body of main).
2618 ac_c_conftest_c99_main='
2619 // Check bool.
2620 _Bool success = false;
2621 success |= (argc != 0);
2622
2623 // Check restrict.
2624 if (test_restrict ("String literal") == 0)
2625 success = true;
2626 char *restrict newvar = "Another string";
2627
2628 // Check varargs.
2629 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2630 test_varargs_macros ();
2631
2632 // Check flexible array members.
2633 struct incomplete_array *ia =
2634 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2635 ia->datasize = 10;
2636 for (int i = 0; i < ia->datasize; ++i)
2637 ia->data[i] = i * 1.234;
2638
2639 // Check named initializers.
2640 struct named_init ni = {
2641 .number = 34,
2642 .name = L"Test wide string",
2643 .average = 543.34343,
2644 };
2645
2646 ni.number = 58;
2647
2648 int dynamic_array[ni.number];
2649 dynamic_array[0] = argv[0][0];
2650 dynamic_array[ni.number - 1] = 543;
2651
2652 // work around unused variable warnings
2653 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2654 || dynamic_array[ni.number - 1] != 543);
2655 '
2656
2657 # Test code for whether the C compiler supports C11 (global declarations)
2658 ac_c_conftest_c11_globals='
2659 // Does the compiler advertise C11 conformance?
2660 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2661 # error "Compiler does not advertise C11 conformance"
2662 #endif
2663
2664 // Check _Alignas.
2665 char _Alignas (double) aligned_as_double;
2666 char _Alignas (0) no_special_alignment;
2667 extern char aligned_as_int;
2668 char _Alignas (0) _Alignas (int) aligned_as_int;
2669
2670 // Check _Alignof.
2671 enum
2672 {
2673 int_alignment = _Alignof (int),
2674 int_array_alignment = _Alignof (int[100]),
2675 char_alignment = _Alignof (char)
2676 };
2677 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2678
2679 // Check _Noreturn.
2680 int _Noreturn does_not_return (void) { for (;;) continue; }
2681
2682 // Check _Static_assert.
2683 struct test_static_assert
2684 {
2685 int x;
2686 _Static_assert (sizeof (int) <= sizeof (long int),
2687 "_Static_assert does not work in struct");
2688 long int y;
2689 };
2690
2691 // Check UTF-8 literals.
2692 #define u8 syntax error!
2693 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2694
2695 // Check duplicate typedefs.
2696 typedef long *long_ptr;
2697 typedef long int *long_ptr;
2698 typedef long_ptr long_ptr;
2699
2700 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2701 struct anonymous
2702 {
2703 union {
2704 struct { int i; int j; };
2705 struct { int k; long int l; } w;
2706 };
2707 int m;
2708 } v1;
2709 '
2710
2711 # Test code for whether the C compiler supports C11 (body of main).
2712 ac_c_conftest_c11_main='
2713 _Static_assert ((offsetof (struct anonymous, i)
2714 == offsetof (struct anonymous, w.k)),
2715 "Anonymous union alignment botch");
2716 v1.i = 2;
2717 v1.w.k = 5;
2718 ok |= v1.i != 5;
2719 '
2720
2721 # Test code for whether the C compiler supports C11 (complete).
2722 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2723 ${ac_c_conftest_c99_globals}
2724 ${ac_c_conftest_c11_globals}
2725
2726 int
2727 main (int argc, char **argv)
2728 {
2729 int ok = 0;
2730 ${ac_c_conftest_c89_main}
2731 ${ac_c_conftest_c99_main}
2732 ${ac_c_conftest_c11_main}
2733 return ok;
2734 }
2735 "
2736
2737 # Test code for whether the C compiler supports C99 (complete).
2738 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2739 ${ac_c_conftest_c99_globals}
2740
2741 int
2742 main (int argc, char **argv)
2743 {
2744 int ok = 0;
2745 ${ac_c_conftest_c89_main}
2746 ${ac_c_conftest_c99_main}
2747 return ok;
2748 }
2749 "
2750
2751 # Test code for whether the C compiler supports C89 (complete).
2752 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2753
2754 int
2755 main (int argc, char **argv)
2756 {
2757 int ok = 0;
2758 ${ac_c_conftest_c89_main}
2759 return ok;
2760 }
2761 "
2762
2763 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2764 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2765 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2766 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2767 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2768 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2769 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2770 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2771 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2772 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2773 # Test code for whether the C++ compiler supports C++98 (global declarations)
2774 ac_cxx_conftest_cxx98_globals='
2775 // Does the compiler advertise C++98 conformance?
2776 #if !defined __cplusplus || __cplusplus < 199711L
2777 # error "Compiler does not advertise C++98 conformance"
2778 #endif
2779
2780 // These inclusions are to reject old compilers that
2781 // lack the unsuffixed header files.
2782 #include <cstdlib>
2783 #include <exception>
2784
2785 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2786 extern void assert (int);
2787 namespace std {
2788 extern int strcmp (const char *, const char *);
2789 }
2790
2791 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2792 using std::exception;
2793 using std::strcmp;
2794
2795 namespace {
2796
2797 void test_exception_syntax()
2798 {
2799 try {
2800 throw "test";
2801 } catch (const char *s) {
2802 // Extra parentheses suppress a warning when building autoconf itself,
2803 // due to lint rules shared with more typical C programs.
2804 assert (!(strcmp) (s, "test"));
2805 }
2806 }
2807
2808 template <typename T> struct test_template
2809 {
2810 T const val;
2811 explicit test_template(T t) : val(t) {}
2812 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2813 };
2814
2815 } // anonymous namespace
2816 '
2817
2818 # Test code for whether the C++ compiler supports C++98 (body of main)
2819 ac_cxx_conftest_cxx98_main='
2820 assert (argc);
2821 assert (! argv[0]);
2822 {
2823 test_exception_syntax ();
2824 test_template<double> tt (2.0);
2825 assert (tt.add (4) == 6.0);
2826 assert (true && !false);
2827 }
2828 '
2829
2830 # Test code for whether the C++ compiler supports C++11 (global declarations)
2831 ac_cxx_conftest_cxx11_globals='
2832 // Does the compiler advertise C++ 2011 conformance?
2833 #if !defined __cplusplus || __cplusplus < 201103L
2834 # error "Compiler does not advertise C++11 conformance"
2835 #endif
2836
2837 namespace cxx11test
2838 {
2839 constexpr int get_val() { return 20; }
2840
2841 struct testinit
2842 {
2843 int i;
2844 double d;
2845 };
2846
2847 class delegate
2848 {
2849 public:
2850 delegate(int n) : n(n) {}
2851 delegate(): delegate(2354) {}
2852
2853 virtual int getval() { return this->n; };
2854 protected:
2855 int n;
2856 };
2857
2858 class overridden : public delegate
2859 {
2860 public:
2861 overridden(int n): delegate(n) {}
2862 virtual int getval() override final { return this->n * 2; }
2863 };
2864
2865 class nocopy
2866 {
2867 public:
2868 nocopy(int i): i(i) {}
2869 nocopy() = default;
2870 nocopy(const nocopy&) = delete;
2871 nocopy & operator=(const nocopy&) = delete;
2872 private:
2873 int i;
2874 };
2875
2876 // for testing lambda expressions
2877 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2878 {
2879 return f(v);
2880 }
2881
2882 // for testing variadic templates and trailing return types
2883 template <typename V> auto sum(V first) -> V
2884 {
2885 return first;
2886 }
2887 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2888 {
2889 return first + sum(rest...);
2890 }
2891 }
2892 '
2893
2894 # Test code for whether the C++ compiler supports C++11 (body of main)
2895 ac_cxx_conftest_cxx11_main='
2896 {
2897 // Test auto and decltype
2898 auto a1 = 6538;
2899 auto a2 = 48573953.4;
2900 auto a3 = "String literal";
2901
2902 int total = 0;
2903 for (auto i = a3; *i; ++i) { total += *i; }
2904
2905 decltype(a2) a4 = 34895.034;
2906 }
2907 {
2908 // Test constexpr
2909 short sa[cxx11test::get_val()] = { 0 };
2910 }
2911 {
2912 // Test initializer lists
2913 cxx11test::testinit il = { 4323, 435234.23544 };
2914 }
2915 {
2916 // Test range-based for
2917 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2918 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2919 for (auto &x : array) { x += 23; }
2920 }
2921 {
2922 // Test lambda expressions
2923 using cxx11test::eval;
2924 assert (eval ([](int x) { return x*2; }, 21) == 42);
2925 double d = 2.0;
2926 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2927 assert (d == 5.0);
2928 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2929 assert (d == 5.0);
2930 }
2931 {
2932 // Test use of variadic templates
2933 using cxx11test::sum;
2934 auto a = sum(1);
2935 auto b = sum(1, 2);
2936 auto c = sum(1.0, 2.0, 3.0);
2937 }
2938 {
2939 // Test constructor delegation
2940 cxx11test::delegate d1;
2941 cxx11test::delegate d2();
2942 cxx11test::delegate d3(45);
2943 }
2944 {
2945 // Test override and final
2946 cxx11test::overridden o1(55464);
2947 }
2948 {
2949 // Test nullptr
2950 char *c = nullptr;
2951 }
2952 {
2953 // Test template brackets
2954 test_template<::test_template<int>> v(test_template<int>(12));
2955 }
2956 {
2957 // Unicode literals
2958 char const *utf8 = u8"UTF-8 string \u2500";
2959 char16_t const *utf16 = u"UTF-8 string \u2500";
2960 char32_t const *utf32 = U"UTF-32 string \u2500";
2961 }
2962 '
2963
2964 # Test code for whether the C compiler supports C++11 (complete).
2965 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2966 ${ac_cxx_conftest_cxx11_globals}
2967
2968 int
2969 main (int argc, char **argv)
2970 {
2971 int ok = 0;
2972 ${ac_cxx_conftest_cxx98_main}
2973 ${ac_cxx_conftest_cxx11_main}
2974 return ok;
2975 }
2976 "
2977
2978 # Test code for whether the C compiler supports C++98 (complete).
2979 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2980 int
2981 main (int argc, char **argv)
2982 {
2983 int ok = 0;
2984 ${ac_cxx_conftest_cxx98_main}
2985 return ok;
2986 }
2987 "
2988
2989 gt_needs="$gt_needs "
2990
2991 # Auxiliary files required by this configure script.
2992 ac_aux_files="config.rpath config.guess config.sub ltmain.sh compile missing install-sh"
2993
2994 # Locations in which to look for auxiliary files.
2995 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2996
2997 # Search for a directory containing all of the required auxiliary files,
2998 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2999 # If we don't find one directory that contains all the files we need,
3000 # we report the set of missing files from the *first* directory in
3001 # $ac_aux_dir_candidates and give up.
3002 ac_missing_aux_files=""
3003 ac_first_candidate=:
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 as_found=false
3007 for as_dir in $ac_aux_dir_candidates
3008 do
3009 IFS=$as_save_IFS
3010 case $as_dir in #(((
3011 '') as_dir=./ ;;
3012 */) ;;
3013 *) as_dir=$as_dir/ ;;
3014 esac
3015 as_found=:
3016
3017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3018 ac_aux_dir_found=yes
3019 ac_install_sh=
3020 for ac_aux in $ac_aux_files
3021 do
3022 # As a special case, if "install-sh" is required, that requirement
3023 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3024 # and $ac_install_sh is set appropriately for whichever one is found.
3025 if test x"$ac_aux" = x"install-sh"
3026 then
3027 if test -f "${as_dir}install-sh"; then
3028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3029 ac_install_sh="${as_dir}install-sh -c"
3030 elif test -f "${as_dir}install.sh"; then
3031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3032 ac_install_sh="${as_dir}install.sh -c"
3033 elif test -f "${as_dir}shtool"; then
3034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3035 ac_install_sh="${as_dir}shtool install -c"
3036 else
3037 ac_aux_dir_found=no
3038 if $ac_first_candidate; then
3039 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3040 else
3041 break
3042 fi
3043 fi
3044 else
3045 if test -f "${as_dir}${ac_aux}"; then
3046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3047 else
3048 ac_aux_dir_found=no
3049 if $ac_first_candidate; then
3050 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3051 else
3052 break
3053 fi
3054 fi
3055 fi
3056 done
3057 if test "$ac_aux_dir_found" = yes; then
3058 ac_aux_dir="$as_dir"
3059 break
3060 fi
3061 ac_first_candidate=false
3062
3063 as_found=false
3064 done
3065 IFS=$as_save_IFS
3066 if $as_found
3067 then :
3068
3069 else $as_nop
3070 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3071 fi
3072
3073
3074 # These three variables are undocumented and unsupported,
3075 # and are intended to be withdrawn in a future Autoconf release.
3076 # They can cause serious problems if a builder's source tree is in a directory
3077 # whose full name contains unusual characters.
3078 if test -f "${ac_aux_dir}config.guess"; then
3079 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3080 fi
3081 if test -f "${ac_aux_dir}config.sub"; then
3082 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3083 fi
3084 if test -f "$ac_aux_dir/configure"; then
3085 ac_configure="$SHELL ${ac_aux_dir}configure"
3086 fi
3087
3088 # Check that the precious variables saved in the cache have kept the same
3089 # value.
3090 ac_cache_corrupted=false
3091 for ac_var in $ac_precious_vars; do
3092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3093 eval ac_new_set=\$ac_env_${ac_var}_set
3094 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3095 eval ac_new_val=\$ac_env_${ac_var}_value
3096 case $ac_old_set,$ac_new_set in
3097 set,)
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3099 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3100 ac_cache_corrupted=: ;;
3101 ,set)
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3103 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3104 ac_cache_corrupted=: ;;
3105 ,);;
3106 *)
3107 if test "x$ac_old_val" != "x$ac_new_val"; then
3108 # differences in whitespace do not lead to failure.
3109 ac_old_val_w=`echo x $ac_old_val`
3110 ac_new_val_w=`echo x $ac_new_val`
3111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3113 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3114 ac_cache_corrupted=:
3115 else
3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3117 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3118 eval $ac_var=\$ac_old_val
3119 fi
3120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3121 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3123 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3124 fi;;
3125 esac
3126 # Pass precious variables to config.status.
3127 if test "$ac_new_set" = set; then
3128 case $ac_new_val in
3129 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3130 *) ac_arg=$ac_var=$ac_new_val ;;
3131 esac
3132 case " $ac_configure_args " in
3133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3134 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3135 esac
3136 fi
3137 done
3138 if $ac_cache_corrupted; then
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3142 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3143 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3144 and start over" "$LINENO" 5
3145 fi
3146 ## -------------------- ##
3147 ## Main body of script. ##
3148 ## -------------------- ##
3149
3150 ac_ext=c
3151 ac_cpp='$CPP $CPPFLAGS'
3152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3155
3156
3157 am__api_version='1.16'
3158
3159
3160
3161 # Find a good install program. We prefer a C program (faster),
3162 # so one script is as good as another. But avoid the broken or
3163 # incompatible versions:
3164 # SysV /etc/install, /usr/sbin/install
3165 # SunOS /usr/etc/install
3166 # IRIX /sbin/install
3167 # AIX /bin/install
3168 # AmigaOS /C/install, which installs bootblocks on floppy discs
3169 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3170 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3171 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3172 # OS/2's system install, which has a completely different semantic
3173 # ./install, which can be erroneously created by make from ./install.sh.
3174 # Reject install programs that cannot install multiple files.
3175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3176 printf %s "checking for a BSD-compatible install... " >&6; }
3177 if test -z "$INSTALL"; then
3178 if test ${ac_cv_path_install+y}
3179 then :
3180 printf %s "(cached) " >&6
3181 else $as_nop
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3184 do
3185 IFS=$as_save_IFS
3186 case $as_dir in #(((
3187 '') as_dir=./ ;;
3188 */) ;;
3189 *) as_dir=$as_dir/ ;;
3190 esac
3191 # Account for fact that we put trailing slashes in our PATH walk.
3192 case $as_dir in #((
3193 ./ | /[cC]/* | \
3194 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3195 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3196 /usr/ucb/* ) ;;
3197 *)
3198 # OSF1 and SCO ODT 3.0 have their own names for install.
3199 # Don't use installbsd from OSF since it installs stuff as root
3200 # by default.
3201 for ac_prog in ginstall scoinst install; do
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3204 if test $ac_prog = install &&
3205 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3206 # AIX install. It has an incompatible calling convention.
3207 :
3208 elif test $ac_prog = install &&
3209 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3210 # program-specific install script used by HP pwplus--don't use.
3211 :
3212 else
3213 rm -rf conftest.one conftest.two conftest.dir
3214 echo one > conftest.one
3215 echo two > conftest.two
3216 mkdir conftest.dir
3217 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3218 test -s conftest.one && test -s conftest.two &&
3219 test -s conftest.dir/conftest.one &&
3220 test -s conftest.dir/conftest.two
3221 then
3222 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3223 break 3
3224 fi
3225 fi
3226 fi
3227 done
3228 done
3229 ;;
3230 esac
3231
3232 done
3233 IFS=$as_save_IFS
3234
3235 rm -rf conftest.one conftest.two conftest.dir
3236
3237 fi
3238 if test ${ac_cv_path_install+y}; then
3239 INSTALL=$ac_cv_path_install
3240 else
3241 # As a last resort, use the slow shell script. Don't cache a
3242 # value for INSTALL within a source directory, because that will
3243 # break other packages using the cache if that directory is
3244 # removed, or if the value is a relative name.
3245 INSTALL=$ac_install_sh
3246 fi
3247 fi
3248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3249 printf "%s\n" "$INSTALL" >&6; }
3250
3251 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3252 # It thinks the first close brace ends the variable substitution.
3253 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3254
3255 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3256
3257 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3258
3259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3260 printf %s "checking whether build environment is sane... " >&6; }
3261 # Reject unsafe characters in $srcdir or the absolute working directory
3262 # name. Accept space and tab only in the latter.
3263 am_lf='
3264 '
3265 case `pwd` in
3266 *[\\\"\#\$\&\'\`$am_lf]*)
3267 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3268 esac
3269 case $srcdir in
3270 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3271 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3272 esac
3273
3274 # Do 'set' in a subshell so we don't clobber the current shell's
3275 # arguments. Must try -L first in case configure is actually a
3276 # symlink; some systems play weird games with the mod time of symlinks
3277 # (eg FreeBSD returns the mod time of the symlink's containing
3278 # directory).
3279 if (
3280 am_has_slept=no
3281 for am_try in 1 2; do
3282 echo "timestamp, slept: $am_has_slept" > conftest.file
3283 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3284 if test "$*" = "X"; then
3285 # -L didn't work.
3286 set X `ls -t "$srcdir/configure" conftest.file`
3287 fi
3288 if test "$*" != "X $srcdir/configure conftest.file" \
3289 && test "$*" != "X conftest.file $srcdir/configure"; then
3290
3291 # If neither matched, then we have a broken ls. This can happen
3292 # if, for instance, CONFIG_SHELL is bash and it inherits a
3293 # broken ls alias from the environment. This has actually
3294 # happened. Such a system could not be considered "sane".
3295 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3296 alias in your environment" "$LINENO" 5
3297 fi
3298 if test "$2" = conftest.file || test $am_try -eq 2; then
3299 break
3300 fi
3301 # Just in case.
3302 sleep 1
3303 am_has_slept=yes
3304 done
3305 test "$2" = conftest.file
3306 )
3307 then
3308 # Ok.
3309 :
3310 else
3311 as_fn_error $? "newly created file is older than distributed files!
3312 Check your system clock" "$LINENO" 5
3313 fi
3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 printf "%s\n" "yes" >&6; }
3316 # If we didn't sleep, we still need to ensure time stamps of config.status and
3317 # generated files are strictly newer.
3318 am_sleep_pid=
3319 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3320 ( sleep 1 ) &
3321 am_sleep_pid=$!
3322 fi
3323
3324 rm -f conftest.file
3325
3326 test "$program_prefix" != NONE &&
3327 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3328 # Use a double $ so make ignores it.
3329 test "$program_suffix" != NONE &&
3330 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3331 # Double any \ or $.
3332 # By default was `s,x,x', remove it if useless.
3333 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3334 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3335
3336
3337 # Expand $ac_aux_dir to an absolute path.
3338 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3339
3340
3341 if test x"${MISSING+set}" != xset; then
3342 MISSING="\${SHELL} '$am_aux_dir/missing'"
3343 fi
3344 # Use eval to expand $SHELL
3345 if eval "$MISSING --is-lightweight"; then
3346 am_missing_run="$MISSING "
3347 else
3348 am_missing_run=
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3350 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3351 fi
3352
3353 if test x"${install_sh+set}" != xset; then
3354 case $am_aux_dir in
3355 *\ * | *\ *)
3356 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3357 *)
3358 install_sh="\${SHELL} $am_aux_dir/install-sh"
3359 esac
3360 fi
3361
3362 # Installed binaries are usually stripped using 'strip' when the user
3363 # run "make install-strip". However 'strip' might not be the right
3364 # tool to use in cross-compilation environments, therefore Automake
3365 # will honor the 'STRIP' environment variable to overrule this program.
3366 if test "$cross_compiling" != no; then
3367 if test -n "$ac_tool_prefix"; then
3368 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3369 set dummy ${ac_tool_prefix}strip; ac_word=$2
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 printf %s "checking for $ac_word... " >&6; }
3372 if test ${ac_cv_prog_STRIP+y}
3373 then :
3374 printf %s "(cached) " >&6
3375 else $as_nop
3376 if test -n "$STRIP"; then
3377 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3381 do
3382 IFS=$as_save_IFS
3383 case $as_dir in #(((
3384 '') as_dir=./ ;;
3385 */) ;;
3386 *) as_dir=$as_dir/ ;;
3387 esac
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3392 break 2
3393 fi
3394 done
3395 done
3396 IFS=$as_save_IFS
3397
3398 fi
3399 fi
3400 STRIP=$ac_cv_prog_STRIP
3401 if test -n "$STRIP"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3403 printf "%s\n" "$STRIP" >&6; }
3404 else
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 printf "%s\n" "no" >&6; }
3407 fi
3408
3409
3410 fi
3411 if test -z "$ac_cv_prog_STRIP"; then
3412 ac_ct_STRIP=$STRIP
3413 # Extract the first word of "strip", so it can be a program name with args.
3414 set dummy strip; ac_word=$2
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 printf %s "checking for $ac_word... " >&6; }
3417 if test ${ac_cv_prog_ac_ct_STRIP+y}
3418 then :
3419 printf %s "(cached) " >&6
3420 else $as_nop
3421 if test -n "$ac_ct_STRIP"; then
3422 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427 IFS=$as_save_IFS
3428 case $as_dir in #(((
3429 '') as_dir=./ ;;
3430 */) ;;
3431 *) as_dir=$as_dir/ ;;
3432 esac
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_ac_ct_STRIP="strip"
3436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3437 break 2
3438 fi
3439 done
3440 done
3441 IFS=$as_save_IFS
3442
3443 fi
3444 fi
3445 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3446 if test -n "$ac_ct_STRIP"; then
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3448 printf "%s\n" "$ac_ct_STRIP" >&6; }
3449 else
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 printf "%s\n" "no" >&6; }
3452 fi
3453
3454 if test "x$ac_ct_STRIP" = x; then
3455 STRIP=":"
3456 else
3457 case $cross_compiling:$ac_tool_warned in
3458 yes:)
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned=yes ;;
3462 esac
3463 STRIP=$ac_ct_STRIP
3464 fi
3465 else
3466 STRIP="$ac_cv_prog_STRIP"
3467 fi
3468
3469 fi
3470 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3471
3472
3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3474 printf %s "checking for a race-free mkdir -p... " >&6; }
3475 if test -z "$MKDIR_P"; then
3476 if test ${ac_cv_path_mkdir+y}
3477 then :
3478 printf %s "(cached) " >&6
3479 else $as_nop
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3482 do
3483 IFS=$as_save_IFS
3484 case $as_dir in #(((
3485 '') as_dir=./ ;;
3486 */) ;;
3487 *) as_dir=$as_dir/ ;;
3488 esac
3489 for ac_prog in mkdir gmkdir; do
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3492 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3493 'mkdir ('*'coreutils) '* | \
3494 'BusyBox '* | \
3495 'mkdir (fileutils) '4.1*)
3496 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3497 break 3;;
3498 esac
3499 done
3500 done
3501 done
3502 IFS=$as_save_IFS
3503
3504 fi
3505
3506 test -d ./--version && rmdir ./--version
3507 if test ${ac_cv_path_mkdir+y}; then
3508 MKDIR_P="$ac_cv_path_mkdir -p"
3509 else
3510 # As a last resort, use the slow shell script. Don't cache a
3511 # value for MKDIR_P within a source directory, because that will
3512 # break other packages using the cache if that directory is
3513 # removed, or if the value is a relative name.
3514 MKDIR_P="$ac_install_sh -d"
3515 fi
3516 fi
3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3518 printf "%s\n" "$MKDIR_P" >&6; }
3519
3520 for ac_prog in gawk mawk nawk awk
3521 do
3522 # Extract the first word of "$ac_prog", so it can be a program name with args.
3523 set dummy $ac_prog; ac_word=$2
3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3525 printf %s "checking for $ac_word... " >&6; }
3526 if test ${ac_cv_prog_AWK+y}
3527 then :
3528 printf %s "(cached) " >&6
3529 else $as_nop
3530 if test -n "$AWK"; then
3531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3535 do
3536 IFS=$as_save_IFS
3537 case $as_dir in #(((
3538 '') as_dir=./ ;;
3539 */) ;;
3540 *) as_dir=$as_dir/ ;;
3541 esac
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_AWK="$ac_prog"
3545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3546 break 2
3547 fi
3548 done
3549 done
3550 IFS=$as_save_IFS
3551
3552 fi
3553 fi
3554 AWK=$ac_cv_prog_AWK
3555 if test -n "$AWK"; then
3556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3557 printf "%s\n" "$AWK" >&6; }
3558 else
3559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 printf "%s\n" "no" >&6; }
3561 fi
3562
3563
3564 test -n "$AWK" && break
3565 done
3566
3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3568 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3569 set x ${MAKE-make}
3570 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3571 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3572 then :
3573 printf %s "(cached) " >&6
3574 else $as_nop
3575 cat >conftest.make <<\_ACEOF
3576 SHELL = /bin/sh
3577 all:
3578 @echo '@@@%%%=$(MAKE)=@@@%%%'
3579 _ACEOF
3580 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3582 *@@@%%%=?*=@@@%%%*)
3583 eval ac_cv_prog_make_${ac_make}_set=yes;;
3584 *)
3585 eval ac_cv_prog_make_${ac_make}_set=no;;
3586 esac
3587 rm -f conftest.make
3588 fi
3589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3591 printf "%s\n" "yes" >&6; }
3592 SET_MAKE=
3593 else
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 printf "%s\n" "no" >&6; }
3596 SET_MAKE="MAKE=${MAKE-make}"
3597 fi
3598
3599 rm -rf .tst 2>/dev/null
3600 mkdir .tst 2>/dev/null
3601 if test -d .tst; then
3602 am__leading_dot=.
3603 else
3604 am__leading_dot=_
3605 fi
3606 rmdir .tst 2>/dev/null
3607
3608 # Check whether --enable-silent-rules was given.
3609 if test ${enable_silent_rules+y}
3610 then :
3611 enableval=$enable_silent_rules;
3612 fi
3613
3614 case $enable_silent_rules in # (((
3615 yes) AM_DEFAULT_VERBOSITY=0;;
3616 no) AM_DEFAULT_VERBOSITY=1;;
3617 *) AM_DEFAULT_VERBOSITY=1;;
3618 esac
3619 am_make=${MAKE-make}
3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3621 printf %s "checking whether $am_make supports nested variables... " >&6; }
3622 if test ${am_cv_make_support_nested_variables+y}
3623 then :
3624 printf %s "(cached) " >&6
3625 else $as_nop
3626 if printf "%s\n" 'TRUE=$(BAR$(V))
3627 BAR0=false
3628 BAR1=true
3629 V=1
3630 am__doit:
3631 @$(TRUE)
3632 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3633 am_cv_make_support_nested_variables=yes
3634 else
3635 am_cv_make_support_nested_variables=no
3636 fi
3637 fi
3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3639 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3640 if test $am_cv_make_support_nested_variables = yes; then
3641 AM_V='$(V)'
3642 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3643 else
3644 AM_V=$AM_DEFAULT_VERBOSITY
3645 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3646 fi
3647 AM_BACKSLASH='\'
3648
3649 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3650 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3651 # is not polluted with repeated "-I."
3652 am__isrc=' -I$(srcdir)'
3653 # test to see if srcdir already configured
3654 if test -f $srcdir/config.status; then
3655 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3656 fi
3657 fi
3658
3659 # test whether we have cygpath
3660 if test -z "$CYGPATH_W"; then
3661 if (cygpath --version) >/dev/null 2>/dev/null; then
3662 CYGPATH_W='cygpath -w'
3663 else
3664 CYGPATH_W=echo
3665 fi
3666 fi
3667
3668
3669 # Define the identity of the package.
3670 PACKAGE='ibus-libpinyin'
3671 VERSION='1.14.91'
3672
3673
3674 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3675
3676
3677 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3678
3679 # Some tools Automake needs.
3680
3681 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3682
3683
3684 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3685
3686
3687 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3688
3689
3690 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3691
3692
3693 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3694
3695 # For better backward compatibility. To be removed once Automake 1.9.x
3696 # dies out for good. For more background, see:
3697 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3698 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3699 mkdir_p='$(MKDIR_P)'
3700
3701 # We need awk for the "check" target (and possibly the TAP driver). The
3702 # system "awk" is bad on some platforms.
3703 # Always define AMTAR for backward compatibility. Yes, it's still used
3704 # in the wild :-( We should find a proper way to deprecate it ...
3705 AMTAR='$${TAR-tar}'
3706
3707
3708 # We'll loop over all known methods to create a tar archive until one works.
3709 _am_tools='gnutar pax cpio none'
3710
3711 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3712
3713
3714
3715
3716
3717 # Variables for tags utilities; see am/tags.am
3718 if test -z "$CTAGS"; then
3719 CTAGS=ctags
3720 fi
3721
3722 if test -z "$ETAGS"; then
3723 ETAGS=etags
3724 fi
3725
3726 if test -z "$CSCOPE"; then
3727 CSCOPE=cscope
3728 fi
3729
3730
3731
3732 # POSIX will say in a future version that running "rm -f" with no argument
3733 # is OK; and we want to be able to make that assumption in our Makefile
3734 # recipes. So use an aggressive probe to check that the usage we want is
3735 # actually supported "in the wild" to an acceptable degree.
3736 # See automake bug#10828.
3737 # To make any issue more visible, cause the running configure to be aborted
3738 # by default if the 'rm' program in use doesn't match our expectations; the
3739 # user can still override this though.
3740 if rm -f && rm -fr && rm -rf; then : OK; else
3741 cat >&2 <<'END'
3742 Oops!
3743
3744 Your 'rm' program seems unable to run without file operands specified
3745 on the command line, even when the '-f' option is present. This is contrary
3746 to the behaviour of most rm programs out there, and not conforming with
3747 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3748
3749 Please tell bug-automake@gnu.org about your system, including the value
3750 of your $PATH and any error possibly output before this message. This
3751 can help us improve future automake versions.
3752
3753 END
3754 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3755 echo 'Configuration will proceed anyway, since you have set the' >&2
3756 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3757 echo >&2
3758 else
3759 cat >&2 <<'END'
3760 Aborting the configuration process, to ensure you take notice of the issue.
3761
3762 You can download and install GNU coreutils to get an 'rm' implementation
3763 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3764
3765 If you want to complete the configuration process using your problematic
3766 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3767 to "yes", and re-run configure.
3768
3769 END
3770 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3771 fi
3772 fi
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783 DEPDIR="${am__leading_dot}deps"
3784
3785 ac_config_commands="$ac_config_commands depfiles"
3786
3787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3788 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3789 cat > confinc.mk << 'END'
3790 am__doit:
3791 @echo this is the am__doit target >confinc.out
3792 .PHONY: am__doit
3793 END
3794 am__include="#"
3795 am__quote=
3796 # BSD make does it like this.
3797 echo '.include "confinc.mk" # ignored' > confmf.BSD
3798 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3799 echo 'include confinc.mk # ignored' > confmf.GNU
3800 _am_result=no
3801 for s in GNU BSD; do
3802 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3803 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3804 ac_status=$?
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }
3807 case $?:`cat confinc.out 2>/dev/null` in #(
3808 '0:this is the am__doit target') :
3809 case $s in #(
3810 BSD) :
3811 am__include='.include' am__quote='"' ;; #(
3812 *) :
3813 am__include='include' am__quote='' ;;
3814 esac ;; #(
3815 *) :
3816 ;;
3817 esac
3818 if test "$am__include" != "#"; then
3819 _am_result="yes ($s style)"
3820 break
3821 fi
3822 done
3823 rm -f confinc.* confmf.*
3824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3825 printf "%s\n" "${_am_result}" >&6; }
3826
3827 # Check whether --enable-dependency-tracking was given.
3828 if test ${enable_dependency_tracking+y}
3829 then :
3830 enableval=$enable_dependency_tracking;
3831 fi
3832
3833 if test "x$enable_dependency_tracking" != xno; then
3834 am_depcomp="$ac_aux_dir/depcomp"
3835 AMDEPBACKSLASH='\'
3836 am__nodep='_no'
3837 fi
3838 if test "x$enable_dependency_tracking" != xno; then
3839 AMDEP_TRUE=
3840 AMDEP_FALSE='#'
3841 else
3842 AMDEP_TRUE='#'
3843 AMDEP_FALSE=
3844 fi
3845
3846
3847 ac_ext=c
3848 ac_cpp='$CPP $CPPFLAGS'
3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3852 if test -n "$ac_tool_prefix"; then
3853 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3854 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 printf %s "checking for $ac_word... " >&6; }
3857 if test ${ac_cv_prog_CC+y}
3858 then :
3859 printf %s "(cached) " >&6
3860 else $as_nop
3861 if test -n "$CC"; then
3862 ac_cv_prog_CC="$CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3866 do
3867 IFS=$as_save_IFS
3868 case $as_dir in #(((
3869 '') as_dir=./ ;;
3870 */) ;;
3871 *) as_dir=$as_dir/ ;;
3872 esac
3873 for ac_exec_ext in '' $ac_executable_extensions; do
3874 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3875 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3877 break 2
3878 fi
3879 done
3880 done
3881 IFS=$as_save_IFS
3882
3883 fi
3884 fi
3885 CC=$ac_cv_prog_CC
3886 if test -n "$CC"; then
3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3888 printf "%s\n" "$CC" >&6; }
3889 else
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3891 printf "%s\n" "no" >&6; }
3892 fi
3893
3894
3895 fi
3896 if test -z "$ac_cv_prog_CC"; then
3897 ac_ct_CC=$CC
3898 # Extract the first word of "gcc", so it can be a program name with args.
3899 set dummy gcc; ac_word=$2
3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 printf %s "checking for $ac_word... " >&6; }
3902 if test ${ac_cv_prog_ac_ct_CC+y}
3903 then :
3904 printf %s "(cached) " >&6
3905 else $as_nop
3906 if test -n "$ac_ct_CC"; then
3907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3908 else
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 for as_dir in $PATH
3911 do
3912 IFS=$as_save_IFS
3913 case $as_dir in #(((
3914 '') as_dir=./ ;;
3915 */) ;;
3916 *) as_dir=$as_dir/ ;;
3917 esac
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_CC="gcc"
3921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3922 break 2
3923 fi
3924 done
3925 done
3926 IFS=$as_save_IFS
3927
3928 fi
3929 fi
3930 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3931 if test -n "$ac_ct_CC"; then
3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3933 printf "%s\n" "$ac_ct_CC" >&6; }
3934 else
3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 printf "%s\n" "no" >&6; }
3937 fi
3938
3939 if test "x$ac_ct_CC" = x; then
3940 CC=""
3941 else
3942 case $cross_compiling:$ac_tool_warned in
3943 yes:)
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3945 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3946 ac_tool_warned=yes ;;
3947 esac
3948 CC=$ac_ct_CC
3949 fi
3950 else
3951 CC="$ac_cv_prog_CC"
3952 fi
3953
3954 if test -z "$CC"; then
3955 if test -n "$ac_tool_prefix"; then
3956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3957 set dummy ${ac_tool_prefix}cc; ac_word=$2
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 printf %s "checking for $ac_word... " >&6; }
3960 if test ${ac_cv_prog_CC+y}
3961 then :
3962 printf %s "(cached) " >&6
3963 else $as_nop
3964 if test -n "$CC"; then
3965 ac_cv_prog_CC="$CC" # Let the user override the test.
3966 else
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH
3969 do
3970 IFS=$as_save_IFS
3971 case $as_dir in #(((
3972 '') as_dir=./ ;;
3973 */) ;;
3974 *) as_dir=$as_dir/ ;;
3975 esac
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_CC="${ac_tool_prefix}cc"
3979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3980 break 2
3981 fi
3982 done
3983 done
3984 IFS=$as_save_IFS
3985
3986 fi
3987 fi
3988 CC=$ac_cv_prog_CC
3989 if test -n "$CC"; then
3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 printf "%s\n" "$CC" >&6; }
3992 else
3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 printf "%s\n" "no" >&6; }
3995 fi
3996
3997
3998 fi
3999 fi
4000 if test -z "$CC"; then
4001 # Extract the first word of "cc", so it can be a program name with args.
4002 set dummy cc; ac_word=$2
4003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004 printf %s "checking for $ac_word... " >&6; }
4005 if test ${ac_cv_prog_CC+y}
4006 then :
4007 printf %s "(cached) " >&6
4008 else $as_nop
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 ac_prog_rejected=no
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4015 do
4016 IFS=$as_save_IFS
4017 case $as_dir in #(((
4018 '') as_dir=./ ;;
4019 */) ;;
4020 *) as_dir=$as_dir/ ;;
4021 esac
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4024 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4025 ac_prog_rejected=yes
4026 continue
4027 fi
4028 ac_cv_prog_CC="cc"
4029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4030 break 2
4031 fi
4032 done
4033 done
4034 IFS=$as_save_IFS
4035
4036 if test $ac_prog_rejected = yes; then
4037 # We found a bogon in the path, so make sure we never use it.
4038 set dummy $ac_cv_prog_CC
4039 shift
4040 if test $# != 0; then
4041 # We chose a different compiler from the bogus one.
4042 # However, it has the same basename, so the bogon will be chosen
4043 # first if we set CC to just the basename; use the full file name.
4044 shift
4045 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4046 fi
4047 fi
4048 fi
4049 fi
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 printf "%s\n" "$CC" >&6; }
4054 else
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 printf "%s\n" "no" >&6; }
4057 fi
4058
4059
4060 fi
4061 if test -z "$CC"; then
4062 if test -n "$ac_tool_prefix"; then
4063 for ac_prog in cl.exe
4064 do
4065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 printf %s "checking for $ac_word... " >&6; }
4069 if test ${ac_cv_prog_CC+y}
4070 then :
4071 printf %s "(cached) " >&6
4072 else $as_nop
4073 if test -n "$CC"; then
4074 ac_cv_prog_CC="$CC" # Let the user override the test.
4075 else
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 for as_dir in $PATH
4078 do
4079 IFS=$as_save_IFS
4080 case $as_dir in #(((
4081 '') as_dir=./ ;;
4082 */) ;;
4083 *) as_dir=$as_dir/ ;;
4084 esac
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4089 break 2
4090 fi
4091 done
4092 done
4093 IFS=$as_save_IFS
4094
4095 fi
4096 fi
4097 CC=$ac_cv_prog_CC
4098 if test -n "$CC"; then
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4100 printf "%s\n" "$CC" >&6; }
4101 else
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 printf "%s\n" "no" >&6; }
4104 fi
4105
4106
4107 test -n "$CC" && break
4108 done
4109 fi
4110 if test -z "$CC"; then
4111 ac_ct_CC=$CC
4112 for ac_prog in cl.exe
4113 do
4114 # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy $ac_prog; ac_word=$2
4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 printf %s "checking for $ac_word... " >&6; }
4118 if test ${ac_cv_prog_ac_ct_CC+y}
4119 then :
4120 printf %s "(cached) " >&6
4121 else $as_nop
4122 if test -n "$ac_ct_CC"; then
4123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4124 else
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126 for as_dir in $PATH
4127 do
4128 IFS=$as_save_IFS
4129 case $as_dir in #(((
4130 '') as_dir=./ ;;
4131 */) ;;
4132 *) as_dir=$as_dir/ ;;
4133 esac
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_ac_ct_CC="$ac_prog"
4137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4138 break 2
4139 fi
4140 done
4141 done
4142 IFS=$as_save_IFS
4143
4144 fi
4145 fi
4146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4147 if test -n "$ac_ct_CC"; then
4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4149 printf "%s\n" "$ac_ct_CC" >&6; }
4150 else
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 printf "%s\n" "no" >&6; }
4153 fi
4154
4155
4156 test -n "$ac_ct_CC" && break
4157 done
4158
4159 if test "x$ac_ct_CC" = x; then
4160 CC=""
4161 else
4162 case $cross_compiling:$ac_tool_warned in
4163 yes:)
4164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4165 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4166 ac_tool_warned=yes ;;
4167 esac
4168 CC=$ac_ct_CC
4169 fi
4170 fi
4171
4172 fi
4173 if test -z "$CC"; then
4174 if test -n "$ac_tool_prefix"; then
4175 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4176 set dummy ${ac_tool_prefix}clang; ac_word=$2
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4178 printf %s "checking for $ac_word... " >&6; }
4179 if test ${ac_cv_prog_CC+y}
4180 then :
4181 printf %s "(cached) " >&6
4182 else $as_nop
4183 if test -n "$CC"; then
4184 ac_cv_prog_CC="$CC" # Let the user override the test.
4185 else
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 for as_dir in $PATH
4188 do
4189 IFS=$as_save_IFS
4190 case $as_dir in #(((
4191 '') as_dir=./ ;;
4192 */) ;;
4193 *) as_dir=$as_dir/ ;;
4194 esac
4195 for ac_exec_ext in '' $ac_executable_extensions; do
4196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_CC="${ac_tool_prefix}clang"
4198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4199 break 2
4200 fi
4201 done
4202 done
4203 IFS=$as_save_IFS
4204
4205 fi
4206 fi
4207 CC=$ac_cv_prog_CC
4208 if test -n "$CC"; then
4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4210 printf "%s\n" "$CC" >&6; }
4211 else
4212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 printf "%s\n" "no" >&6; }
4214 fi
4215
4216
4217 fi
4218 if test -z "$ac_cv_prog_CC"; then
4219 ac_ct_CC=$CC
4220 # Extract the first word of "clang", so it can be a program name with args.
4221 set dummy clang; ac_word=$2
4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 printf %s "checking for $ac_word... " >&6; }
4224 if test ${ac_cv_prog_ac_ct_CC+y}
4225 then :
4226 printf %s "(cached) " >&6
4227 else $as_nop
4228 if test -n "$ac_ct_CC"; then
4229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234 IFS=$as_save_IFS
4235 case $as_dir in #(((
4236 '') as_dir=./ ;;
4237 */) ;;
4238 *) as_dir=$as_dir/ ;;
4239 esac
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_ac_ct_CC="clang"
4243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4244 break 2
4245 fi
4246 done
4247 done
4248 IFS=$as_save_IFS
4249
4250 fi
4251 fi
4252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4253 if test -n "$ac_ct_CC"; then
4254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4255 printf "%s\n" "$ac_ct_CC" >&6; }
4256 else
4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 printf "%s\n" "no" >&6; }
4259 fi
4260
4261 if test "x$ac_ct_CC" = x; then
4262 CC=""
4263 else
4264 case $cross_compiling:$ac_tool_warned in
4265 yes:)
4266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4267 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4268 ac_tool_warned=yes ;;
4269 esac
4270 CC=$ac_ct_CC
4271 fi
4272 else
4273 CC="$ac_cv_prog_CC"
4274 fi
4275
4276 fi
4277
4278
4279 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $? "no acceptable C compiler found in \$PATH
4282 See \`config.log' for more details" "$LINENO" 5; }
4283
4284 # Provide some information about the compiler.
4285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4286 set X $ac_compile
4287 ac_compiler=$2
4288 for ac_option in --version -v -V -qversion -version; do
4289 { { ac_try="$ac_compiler $ac_option >&5"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 printf "%s\n" "$ac_try_echo"; } >&5
4296 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4297 ac_status=$?
4298 if test -s conftest.err; then
4299 sed '10a\
4300 ... rest of stderr output deleted ...
4301 10q' conftest.err >conftest.er1
4302 cat conftest.er1 >&5
4303 fi
4304 rm -f conftest.er1 conftest.err
4305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4306 test $ac_status = 0; }
4307 done
4308
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4311
4312 int
4313 main (void)
4314 {
4315
4316 ;
4317 return 0;
4318 }
4319 _ACEOF
4320 ac_clean_files_save=$ac_clean_files
4321 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4322 # Try to create an executable without -o first, disregard a.out.
4323 # It will help us diagnose broken compilers, and finding out an intuition
4324 # of exeext.
4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4326 printf %s "checking whether the C compiler works... " >&6; }
4327 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4328
4329 # The possible output files:
4330 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4331
4332 ac_rmfiles=
4333 for ac_file in $ac_files
4334 do
4335 case $ac_file in
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4337 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4338 esac
4339 done
4340 rm -f $ac_rmfiles
4341
4342 if { { ac_try="$ac_link_default"
4343 case "(($ac_try" in
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4346 esac
4347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4348 printf "%s\n" "$ac_try_echo"; } >&5
4349 (eval "$ac_link_default") 2>&5
4350 ac_status=$?
4351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352 test $ac_status = 0; }
4353 then :
4354 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4355 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4356 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4357 # so that the user can short-circuit this test for compilers unknown to
4358 # Autoconf.
4359 for ac_file in $ac_files ''
4360 do
4361 test -f "$ac_file" || continue
4362 case $ac_file in
4363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4364 ;;
4365 [ab].out )
4366 # We found the default executable, but exeext='' is most
4367 # certainly right.
4368 break;;
4369 *.* )
4370 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4371 then :; else
4372 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4373 fi
4374 # We set ac_cv_exeext here because the later test for it is not
4375 # safe: cross compilers may not add the suffix if given an `-o'
4376 # argument, so we may need to know it at that point already.
4377 # Even if this section looks crufty: it has the advantage of
4378 # actually working.
4379 break;;
4380 * )
4381 break;;
4382 esac
4383 done
4384 test "$ac_cv_exeext" = no && ac_cv_exeext=
4385
4386 else $as_nop
4387 ac_file=''
4388 fi
4389 if test -z "$ac_file"
4390 then :
4391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 printf "%s\n" "no" >&6; }
4393 printf "%s\n" "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4395
4396 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4397 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4398 as_fn_error 77 "C compiler cannot create executables
4399 See \`config.log' for more details" "$LINENO" 5; }
4400 else $as_nop
4401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4402 printf "%s\n" "yes" >&6; }
4403 fi
4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4405 printf %s "checking for C compiler default output file name... " >&6; }
4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4407 printf "%s\n" "$ac_file" >&6; }
4408 ac_exeext=$ac_cv_exeext
4409
4410 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4411 ac_clean_files=$ac_clean_files_save
4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4413 printf %s "checking for suffix of executables... " >&6; }
4414 if { { ac_try="$ac_link"
4415 case "(($ac_try" in
4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417 *) ac_try_echo=$ac_try;;
4418 esac
4419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4420 printf "%s\n" "$ac_try_echo"; } >&5
4421 (eval "$ac_link") 2>&5
4422 ac_status=$?
4423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424 test $ac_status = 0; }
4425 then :
4426 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4427 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4428 # work properly (i.e., refer to `conftest.exe'), while it won't with
4429 # `rm'.
4430 for ac_file in conftest.exe conftest conftest.*; do
4431 test -f "$ac_file" || continue
4432 case $ac_file in
4433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4434 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4435 break;;
4436 * ) break;;
4437 esac
4438 done
4439 else $as_nop
4440 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4441 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4442 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4443 See \`config.log' for more details" "$LINENO" 5; }
4444 fi
4445 rm -f conftest conftest$ac_cv_exeext
4446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4447 printf "%s\n" "$ac_cv_exeext" >&6; }
4448
4449 rm -f conftest.$ac_ext
4450 EXEEXT=$ac_cv_exeext
4451 ac_exeext=$EXEEXT
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4454 #include <stdio.h>
4455 int
4456 main (void)
4457 {
4458 FILE *f = fopen ("conftest.out", "w");
4459 return ferror (f) || fclose (f) != 0;
4460
4461 ;
4462 return 0;
4463 }
4464 _ACEOF
4465 ac_clean_files="$ac_clean_files conftest.out"
4466 # Check that the compiler produces executables we can run. If not, either
4467 # the compiler is broken, or we cross compile.
4468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4469 printf %s "checking whether we are cross compiling... " >&6; }
4470 if test "$cross_compiling" != yes; then
4471 { { ac_try="$ac_link"
4472 case "(($ac_try" in
4473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474 *) ac_try_echo=$ac_try;;
4475 esac
4476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4477 printf "%s\n" "$ac_try_echo"; } >&5
4478 (eval "$ac_link") 2>&5
4479 ac_status=$?
4480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4481 test $ac_status = 0; }
4482 if { ac_try='./conftest$ac_cv_exeext'
4483 { { case "(($ac_try" in
4484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4486 esac
4487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 printf "%s\n" "$ac_try_echo"; } >&5
4489 (eval "$ac_try") 2>&5
4490 ac_status=$?
4491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }; }; then
4493 cross_compiling=no
4494 else
4495 if test "$cross_compiling" = maybe; then
4496 cross_compiling=yes
4497 else
4498 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4499 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4500 as_fn_error 77 "cannot run C compiled programs.
4501 If you meant to cross compile, use \`--host'.
4502 See \`config.log' for more details" "$LINENO" 5; }
4503 fi
4504 fi
4505 fi
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4507 printf "%s\n" "$cross_compiling" >&6; }
4508
4509 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4510 ac_clean_files=$ac_clean_files_save
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4512 printf %s "checking for suffix of object files... " >&6; }
4513 if test ${ac_cv_objext+y}
4514 then :
4515 printf %s "(cached) " >&6
4516 else $as_nop
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4519
4520 int
4521 main (void)
4522 {
4523
4524 ;
4525 return 0;
4526 }
4527 _ACEOF
4528 rm -f conftest.o conftest.obj
4529 if { { ac_try="$ac_compile"
4530 case "(($ac_try" in
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4533 esac
4534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4535 printf "%s\n" "$ac_try_echo"; } >&5
4536 (eval "$ac_compile") 2>&5
4537 ac_status=$?
4538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4539 test $ac_status = 0; }
4540 then :
4541 for ac_file in conftest.o conftest.obj conftest.*; do
4542 test -f "$ac_file" || continue;
4543 case $ac_file in
4544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4546 break;;
4547 esac
4548 done
4549 else $as_nop
4550 printf "%s\n" "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4552
4553 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4554 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4555 as_fn_error $? "cannot compute suffix of object files: cannot compile
4556 See \`config.log' for more details" "$LINENO" 5; }
4557 fi
4558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4559 fi
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4561 printf "%s\n" "$ac_cv_objext" >&6; }
4562 OBJEXT=$ac_cv_objext
4563 ac_objext=$OBJEXT
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4565 printf %s "checking whether the compiler supports GNU C... " >&6; }
4566 if test ${ac_cv_c_compiler_gnu+y}
4567 then :
4568 printf %s "(cached) " >&6
4569 else $as_nop
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572
4573 int
4574 main (void)
4575 {
4576 #ifndef __GNUC__
4577 choke me
4578 #endif
4579
4580 ;
4581 return 0;
4582 }
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"
4585 then :
4586 ac_compiler_gnu=yes
4587 else $as_nop
4588 ac_compiler_gnu=no
4589 fi
4590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4592
4593 fi
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4595 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597
4598 if test $ac_compiler_gnu = yes; then
4599 GCC=yes
4600 else
4601 GCC=
4602 fi
4603 ac_test_CFLAGS=${CFLAGS+y}
4604 ac_save_CFLAGS=$CFLAGS
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4606 printf %s "checking whether $CC accepts -g... " >&6; }
4607 if test ${ac_cv_prog_cc_g+y}
4608 then :
4609 printf %s "(cached) " >&6
4610 else $as_nop
4611 ac_save_c_werror_flag=$ac_c_werror_flag
4612 ac_c_werror_flag=yes
4613 ac_cv_prog_cc_g=no
4614 CFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617
4618 int
4619 main (void)
4620 {
4621
4622 ;
4623 return 0;
4624 }
4625 _ACEOF
4626 if ac_fn_c_try_compile "$LINENO"
4627 then :
4628 ac_cv_prog_cc_g=yes
4629 else $as_nop
4630 CFLAGS=""
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633
4634 int
4635 main (void)
4636 {
4637
4638 ;
4639 return 0;
4640 }
4641 _ACEOF
4642 if ac_fn_c_try_compile "$LINENO"
4643 then :
4644
4645 else $as_nop
4646 ac_c_werror_flag=$ac_save_c_werror_flag
4647 CFLAGS="-g"
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4650
4651 int
4652 main (void)
4653 {
4654
4655 ;
4656 return 0;
4657 }
4658 _ACEOF
4659 if ac_fn_c_try_compile "$LINENO"
4660 then :
4661 ac_cv_prog_cc_g=yes
4662 fi
4663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4664 fi
4665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4666 fi
4667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4668 ac_c_werror_flag=$ac_save_c_werror_flag
4669 fi
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4671 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4672 if test $ac_test_CFLAGS; then
4673 CFLAGS=$ac_save_CFLAGS
4674 elif test $ac_cv_prog_cc_g = yes; then
4675 if test "$GCC" = yes; then
4676 CFLAGS="-g -O2"
4677 else
4678 CFLAGS="-g"
4679 fi
4680 else
4681 if test "$GCC" = yes; then
4682 CFLAGS="-O2"
4683 else
4684 CFLAGS=
4685 fi
4686 fi
4687 ac_prog_cc_stdc=no
4688 if test x$ac_prog_cc_stdc = xno
4689 then :
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4691 printf %s "checking for $CC option to enable C11 features... " >&6; }
4692 if test ${ac_cv_prog_cc_c11+y}
4693 then :
4694 printf %s "(cached) " >&6
4695 else $as_nop
4696 ac_cv_prog_cc_c11=no
4697 ac_save_CC=$CC
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 $ac_c_conftest_c11_program
4701 _ACEOF
4702 for ac_arg in '' -std=gnu11
4703 do
4704 CC="$ac_save_CC $ac_arg"
4705 if ac_fn_c_try_compile "$LINENO"
4706 then :
4707 ac_cv_prog_cc_c11=$ac_arg
4708 fi
4709 rm -f core conftest.err conftest.$ac_objext conftest.beam
4710 test "x$ac_cv_prog_cc_c11" != "xno" && break
4711 done
4712 rm -f conftest.$ac_ext
4713 CC=$ac_save_CC
4714 fi
4715
4716 if test "x$ac_cv_prog_cc_c11" = xno
4717 then :
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4719 printf "%s\n" "unsupported" >&6; }
4720 else $as_nop
4721 if test "x$ac_cv_prog_cc_c11" = x
4722 then :
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4724 printf "%s\n" "none needed" >&6; }
4725 else $as_nop
4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4727 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4728 CC="$CC $ac_cv_prog_cc_c11"
4729 fi
4730 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4731 ac_prog_cc_stdc=c11
4732 fi
4733 fi
4734 if test x$ac_prog_cc_stdc = xno
4735 then :
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4737 printf %s "checking for $CC option to enable C99 features... " >&6; }
4738 if test ${ac_cv_prog_cc_c99+y}
4739 then :
4740 printf %s "(cached) " >&6
4741 else $as_nop
4742 ac_cv_prog_cc_c99=no
4743 ac_save_CC=$CC
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 $ac_c_conftest_c99_program
4747 _ACEOF
4748 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4749 do
4750 CC="$ac_save_CC $ac_arg"
4751 if ac_fn_c_try_compile "$LINENO"
4752 then :
4753 ac_cv_prog_cc_c99=$ac_arg
4754 fi
4755 rm -f core conftest.err conftest.$ac_objext conftest.beam
4756 test "x$ac_cv_prog_cc_c99" != "xno" && break
4757 done
4758 rm -f conftest.$ac_ext
4759 CC=$ac_save_CC
4760 fi
4761
4762 if test "x$ac_cv_prog_cc_c99" = xno
4763 then :
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4765 printf "%s\n" "unsupported" >&6; }
4766 else $as_nop
4767 if test "x$ac_cv_prog_cc_c99" = x
4768 then :
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4770 printf "%s\n" "none needed" >&6; }
4771 else $as_nop
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4773 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4774 CC="$CC $ac_cv_prog_cc_c99"
4775 fi
4776 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4777 ac_prog_cc_stdc=c99
4778 fi
4779 fi
4780 if test x$ac_prog_cc_stdc = xno
4781 then :
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4783 printf %s "checking for $CC option to enable C89 features... " >&6; }
4784 if test ${ac_cv_prog_cc_c89+y}
4785 then :
4786 printf %s "(cached) " >&6
4787 else $as_nop
4788 ac_cv_prog_cc_c89=no
4789 ac_save_CC=$CC
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 $ac_c_conftest_c89_program
4793 _ACEOF
4794 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4795 do
4796 CC="$ac_save_CC $ac_arg"
4797 if ac_fn_c_try_compile "$LINENO"
4798 then :
4799 ac_cv_prog_cc_c89=$ac_arg
4800 fi
4801 rm -f core conftest.err conftest.$ac_objext conftest.beam
4802 test "x$ac_cv_prog_cc_c89" != "xno" && break
4803 done
4804 rm -f conftest.$ac_ext
4805 CC=$ac_save_CC
4806 fi
4807
4808 if test "x$ac_cv_prog_cc_c89" = xno
4809 then :
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4811 printf "%s\n" "unsupported" >&6; }
4812 else $as_nop
4813 if test "x$ac_cv_prog_cc_c89" = x
4814 then :
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4816 printf "%s\n" "none needed" >&6; }
4817 else $as_nop
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4819 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4820 CC="$CC $ac_cv_prog_cc_c89"
4821 fi
4822 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4823 ac_prog_cc_stdc=c89
4824 fi
4825 fi
4826
4827 ac_ext=c
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832
4833
4834 ac_ext=c
4835 ac_cpp='$CPP $CPPFLAGS'
4836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4840 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4841 if test ${am_cv_prog_cc_c_o+y}
4842 then :
4843 printf %s "(cached) " >&6
4844 else $as_nop
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4847
4848 int
4849 main (void)
4850 {
4851
4852 ;
4853 return 0;
4854 }
4855 _ACEOF
4856 # Make sure it works both with $CC and with simple cc.
4857 # Following AC_PROG_CC_C_O, we do the test twice because some
4858 # compilers refuse to overwrite an existing .o file with -o,
4859 # though they will create one.
4860 am_cv_prog_cc_c_o=yes
4861 for am_i in 1 2; do
4862 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4863 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4864 ac_status=$?
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } \
4867 && test -f conftest2.$ac_objext; then
4868 : OK
4869 else
4870 am_cv_prog_cc_c_o=no
4871 break
4872 fi
4873 done
4874 rm -f core conftest*
4875 unset am_i
4876 fi
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4878 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4879 if test "$am_cv_prog_cc_c_o" != yes; then
4880 # Losing compiler, so override with the script.
4881 # FIXME: It is wrong to rewrite CC.
4882 # But if we don't then we get into trouble of one sort or another.
4883 # A longer-term fix would be to have automake use am__CC in this case,
4884 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4885 CC="$am_aux_dir/compile $CC"
4886 fi
4887 ac_ext=c
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892
4893
4894 depcc="$CC" am_compiler_list=
4895
4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4897 printf %s "checking dependency style of $depcc... " >&6; }
4898 if test ${am_cv_CC_dependencies_compiler_type+y}
4899 then :
4900 printf %s "(cached) " >&6
4901 else $as_nop
4902 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4903 # We make a subdir and do the tests there. Otherwise we can end up
4904 # making bogus files that we don't know about and never remove. For
4905 # instance it was reported that on HP-UX the gcc test will end up
4906 # making a dummy file named 'D' -- because '-MD' means "put the output
4907 # in D".
4908 rm -rf conftest.dir
4909 mkdir conftest.dir
4910 # Copy depcomp to subdir because otherwise we won't find it if we're
4911 # using a relative directory.
4912 cp "$am_depcomp" conftest.dir
4913 cd conftest.dir
4914 # We will build objects and dependencies in a subdirectory because
4915 # it helps to detect inapplicable dependency modes. For instance
4916 # both Tru64's cc and ICC support -MD to output dependencies as a
4917 # side effect of compilation, but ICC will put the dependencies in
4918 # the current directory while Tru64 will put them in the object
4919 # directory.
4920 mkdir sub
4921
4922 am_cv_CC_dependencies_compiler_type=none
4923 if test "$am_compiler_list" = ""; then
4924 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4925 fi
4926 am__universal=false
4927 case " $depcc " in #(
4928 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4929 esac
4930
4931 for depmode in $am_compiler_list; do
4932 # Setup a source with many dependencies, because some compilers
4933 # like to wrap large dependency lists on column 80 (with \), and
4934 # we should not choose a depcomp mode which is confused by this.
4935 #
4936 # We need to recreate these files for each test, as the compiler may
4937 # overwrite some of them when testing with obscure command lines.
4938 # This happens at least with the AIX C compiler.
4939 : > sub/conftest.c
4940 for i in 1 2 3 4 5 6; do
4941 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4942 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4943 # Solaris 10 /bin/sh.
4944 echo '/* dummy */' > sub/conftst$i.h
4945 done
4946 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4947
4948 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4949 # mode. It turns out that the SunPro C++ compiler does not properly
4950 # handle '-M -o', and we need to detect this. Also, some Intel
4951 # versions had trouble with output in subdirs.
4952 am__obj=sub/conftest.${OBJEXT-o}
4953 am__minus_obj="-o $am__obj"
4954 case $depmode in
4955 gcc)
4956 # This depmode causes a compiler race in universal mode.
4957 test "$am__universal" = false || continue
4958 ;;
4959 nosideeffect)
4960 # After this tag, mechanisms are not by side-effect, so they'll
4961 # only be used when explicitly requested.
4962 if test "x$enable_dependency_tracking" = xyes; then
4963 continue
4964 else
4965 break
4966 fi
4967 ;;
4968 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4969 # This compiler won't grok '-c -o', but also, the minuso test has
4970 # not run yet. These depmodes are late enough in the game, and
4971 # so weak that their functioning should not be impacted.
4972 am__obj=conftest.${OBJEXT-o}
4973 am__minus_obj=
4974 ;;
4975 none) break ;;
4976 esac
4977 if depmode=$depmode \
4978 source=sub/conftest.c object=$am__obj \
4979 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4980 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4981 >/dev/null 2>conftest.err &&
4982 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4983 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4984 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4985 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4986 # icc doesn't choke on unknown options, it will just issue warnings
4987 # or remarks (even with -Werror). So we grep stderr for any message
4988 # that says an option was ignored or not supported.
4989 # When given -MP, icc 7.0 and 7.1 complain thusly:
4990 # icc: Command line warning: ignoring option '-M'; no argument required
4991 # The diagnosis changed in icc 8.0:
4992 # icc: Command line remark: option '-MP' not supported
4993 if (grep 'ignoring option' conftest.err ||
4994 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4995 am_cv_CC_dependencies_compiler_type=$depmode
4996 break
4997 fi
4998 fi
4999 done
5000
5001 cd ..
5002 rm -rf conftest.dir
5003 else
5004 am_cv_CC_dependencies_compiler_type=none
5005 fi
5006
5007 fi
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5009 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5010 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5011
5012 if
5013 test "x$enable_dependency_tracking" != xno \
5014 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5015 am__fastdepCC_TRUE=
5016 am__fastdepCC_FALSE='#'
5017 else
5018 am__fastdepCC_TRUE='#'
5019 am__fastdepCC_FALSE=
5020 fi
5021
5022
5023
5024 ac_header= ac_cache=
5025 for ac_item in $ac_header_c_list
5026 do
5027 if test $ac_cache; then
5028 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5029 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5030 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5031 fi
5032 ac_header= ac_cache=
5033 elif test $ac_header; then
5034 ac_cache=$ac_item
5035 else
5036 ac_header=$ac_item
5037 fi
5038 done
5039
5040
5041
5042
5043
5044
5045
5046
5047 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5048 then :
5049
5050 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5051
5052 fi
5053
5054
5055
5056
5057
5058
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5060 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5061 if test ${ac_cv_safe_to_define___extensions__+y}
5062 then :
5063 printf %s "(cached) " >&6
5064 else $as_nop
5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5067
5068 # define __EXTENSIONS__ 1
5069 $ac_includes_default
5070 int
5071 main (void)
5072 {
5073
5074 ;
5075 return 0;
5076 }
5077 _ACEOF
5078 if ac_fn_c_try_compile "$LINENO"
5079 then :
5080 ac_cv_safe_to_define___extensions__=yes
5081 else $as_nop
5082 ac_cv_safe_to_define___extensions__=no
5083 fi
5084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5085 fi
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5087 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5088
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5090 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5091 if test ${ac_cv_should_define__xopen_source+y}
5092 then :
5093 printf %s "(cached) " >&6
5094 else $as_nop
5095 ac_cv_should_define__xopen_source=no
5096 if test $ac_cv_header_wchar_h = yes
5097 then :
5098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5099 /* end confdefs.h. */
5100
5101 #include <wchar.h>
5102 mbstate_t x;
5103 int
5104 main (void)
5105 {
5106
5107 ;
5108 return 0;
5109 }
5110 _ACEOF
5111 if ac_fn_c_try_compile "$LINENO"
5112 then :
5113
5114 else $as_nop
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117
5118 #define _XOPEN_SOURCE 500
5119 #include <wchar.h>
5120 mbstate_t x;
5121 int
5122 main (void)
5123 {
5124
5125 ;
5126 return 0;
5127 }
5128 _ACEOF
5129 if ac_fn_c_try_compile "$LINENO"
5130 then :
5131 ac_cv_should_define__xopen_source=yes
5132 fi
5133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5134 fi
5135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5136 fi
5137 fi
5138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5139 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5140
5141 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5142
5143 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5144
5145 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5146
5147 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5148
5149 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5150
5151 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5152
5153 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5154
5155 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5156
5157 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5158
5159 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5160
5161 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5162
5163 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5164
5165 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5166
5167 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5168
5169 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5170
5171 if test $ac_cv_header_minix_config_h = yes
5172 then :
5173 MINIX=yes
5174 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5175
5176 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5177
5178 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5179
5180 else $as_nop
5181 MINIX=
5182 fi
5183 if test $ac_cv_safe_to_define___extensions__ = yes
5184 then :
5185 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5186
5187 fi
5188 if test $ac_cv_should_define__xopen_source = yes
5189 then :
5190 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5191
5192 fi
5193
5194
5195
5196 ac_config_headers="$ac_config_headers config.h"
5197
5198
5199 # Check whether --enable-silent-rules was given.
5200 if test ${enable_silent_rules+y}
5201 then :
5202 enableval=$enable_silent_rules;
5203 fi
5204
5205 case $enable_silent_rules in # (((
5206 yes) AM_DEFAULT_VERBOSITY=0;;
5207 no) AM_DEFAULT_VERBOSITY=1;;
5208 *) AM_DEFAULT_VERBOSITY=0;;
5209 esac
5210 am_make=${MAKE-make}
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5212 printf %s "checking whether $am_make supports nested variables... " >&6; }
5213 if test ${am_cv_make_support_nested_variables+y}
5214 then :
5215 printf %s "(cached) " >&6
5216 else $as_nop
5217 if printf "%s\n" 'TRUE=$(BAR$(V))
5218 BAR0=false
5219 BAR1=true
5220 V=1
5221 am__doit:
5222 @$(TRUE)
5223 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5224 am_cv_make_support_nested_variables=yes
5225 else
5226 am_cv_make_support_nested_variables=no
5227 fi
5228 fi
5229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5230 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
5231 if test $am_cv_make_support_nested_variables = yes; then
5232 AM_V='$(V)'
5233 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5234 else
5235 AM_V=$AM_DEFAULT_VERBOSITY
5236 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5237 fi
5238 AM_BACKSLASH='\'
5239
5240
5241 # define PACKAGE_VERSION_* variables
5242
5243 PACKAGE_VERSION_MAJOR=$(echo 1.14.91 | cut -d'.' -f1)
5244 PACKAGE_VERSION_MINOR=$(echo 1.14.91 | cut -d'.' -f2)
5245 PACKAGE_VERSION_MICRO=$(echo 1.14.91 | cut -d'.' -f3)
5246
5247
5248
5249
5250
5251
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
5253 printf %s "checking nano version... " >&6; }
5254
5255 NANO=$(echo 1.14.91 | cut -d'.' -f4)
5256
5257 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
5259 printf "%s\n" "0 (release)" >&6; }
5260 NANO=0
5261 PACKAGE_VERSION_RELEASE=1
5262 :
5263 else
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
5265 printf "%s\n" "$NANO" >&6; }
5266 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
5267 :
5268 fi
5269 PACKAGE_VERSION_NANO=$NANO
5270
5271
5272
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5274 printf %s "checking whether build environment is sane... " >&6; }
5275 # Reject unsafe characters in $srcdir or the absolute working directory
5276 # name. Accept space and tab only in the latter.
5277 am_lf='
5278 '
5279 case `pwd` in
5280 *[\\\"\#\$\&\'\`$am_lf]*)
5281 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
5282 esac
5283 case $srcdir in
5284 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
5285 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5286 esac
5287
5288 # Do 'set' in a subshell so we don't clobber the current shell's
5289 # arguments. Must try -L first in case configure is actually a
5290 # symlink; some systems play weird games with the mod time of symlinks
5291 # (eg FreeBSD returns the mod time of the symlink's containing
5292 # directory).
5293 if (
5294 am_has_slept=no
5295 for am_try in 1 2; do
5296 echo "timestamp, slept: $am_has_slept" > conftest.file
5297 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5298 if test "$*" = "X"; then
5299 # -L didn't work.
5300 set X `ls -t "$srcdir/configure" conftest.file`
5301 fi
5302 if test "$*" != "X $srcdir/configure conftest.file" \
5303 && test "$*" != "X conftest.file $srcdir/configure"; then
5304
5305 # If neither matched, then we have a broken ls. This can happen
5306 # if, for instance, CONFIG_SHELL is bash and it inherits a
5307 # broken ls alias from the environment. This has actually
5308 # happened. Such a system could not be considered "sane".
5309 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
5310 alias in your environment" "$LINENO" 5
5311 fi
5312 if test "$2" = conftest.file || test $am_try -eq 2; then
5313 break
5314 fi
5315 # Just in case.
5316 sleep 1
5317 am_has_slept=yes
5318 done
5319 test "$2" = conftest.file
5320 )
5321 then
5322 # Ok.
5323 :
5324 else
5325 as_fn_error $? "newly created file is older than distributed files!
5326 Check your system clock" "$LINENO" 5
5327 fi
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 printf "%s\n" "yes" >&6; }
5330 # If we didn't sleep, we still need to ensure time stamps of config.status and
5331 # generated files are strictly newer.
5332 am_sleep_pid=
5333 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
5334 ( sleep 1 ) &
5335 am_sleep_pid=$!
5336 fi
5337
5338 rm -f conftest.file
5339
5340
5341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5342 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5343 # Check whether --enable-maintainer-mode was given.
5344 if test ${enable_maintainer_mode+y}
5345 then :
5346 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5347 else $as_nop
5348 USE_MAINTAINER_MODE=no
5349 fi
5350
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5352 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
5353 if test $USE_MAINTAINER_MODE = yes; then
5354 MAINTAINER_MODE_TRUE=
5355 MAINTAINER_MODE_FALSE='#'
5356 else
5357 MAINTAINER_MODE_TRUE='#'
5358 MAINTAINER_MODE_FALSE=
5359 fi
5360
5361 MAINT=$MAINTAINER_MODE_TRUE
5362
5363
5364 # Check whether --enable-static was given.
5365 if test ${enable_static+y}
5366 then :
5367 enableval=$enable_static; p=${PACKAGE-default}
5368 case $enableval in
5369 yes) enable_static=yes ;;
5370 no) enable_static=no ;;
5371 *)
5372 enable_static=no
5373 # Look at the argument we got. We use all the common list separators.
5374 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5375 for pkg in $enableval; do
5376 IFS=$lt_save_ifs
5377 if test "X$pkg" = "X$p"; then
5378 enable_static=yes
5379 fi
5380 done
5381 IFS=$lt_save_ifs
5382 ;;
5383 esac
5384 else $as_nop
5385 enable_static=no
5386 fi
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396 ac_ext=c
5397 ac_cpp='$CPP $CPPFLAGS'
5398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5401 if test -n "$ac_tool_prefix"; then
5402 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5403 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 printf %s "checking for $ac_word... " >&6; }
5406 if test ${ac_cv_prog_CC+y}
5407 then :
5408 printf %s "(cached) " >&6
5409 else $as_nop
5410 if test -n "$CC"; then
5411 ac_cv_prog_CC="$CC" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5415 do
5416 IFS=$as_save_IFS
5417 case $as_dir in #(((
5418 '') as_dir=./ ;;
5419 */) ;;
5420 *) as_dir=$as_dir/ ;;
5421 esac
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5424 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5426 break 2
5427 fi
5428 done
5429 done
5430 IFS=$as_save_IFS
5431
5432 fi
5433 fi
5434 CC=$ac_cv_prog_CC
5435 if test -n "$CC"; then
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5437 printf "%s\n" "$CC" >&6; }
5438 else
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 printf "%s\n" "no" >&6; }
5441 fi
5442
5443
5444 fi
5445 if test -z "$ac_cv_prog_CC"; then
5446 ac_ct_CC=$CC
5447 # Extract the first word of "gcc", so it can be a program name with args.
5448 set dummy gcc; ac_word=$2
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 printf %s "checking for $ac_word... " >&6; }
5451 if test ${ac_cv_prog_ac_ct_CC+y}
5452 then :
5453 printf %s "(cached) " >&6
5454 else $as_nop
5455 if test -n "$ac_ct_CC"; then
5456 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5460 do
5461 IFS=$as_save_IFS
5462 case $as_dir in #(((
5463 '') as_dir=./ ;;
5464 */) ;;
5465 *) as_dir=$as_dir/ ;;
5466 esac
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_ac_ct_CC="gcc"
5470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5471 break 2
5472 fi
5473 done
5474 done
5475 IFS=$as_save_IFS
5476
5477 fi
5478 fi
5479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5480 if test -n "$ac_ct_CC"; then
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5482 printf "%s\n" "$ac_ct_CC" >&6; }
5483 else
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 printf "%s\n" "no" >&6; }
5486 fi
5487
5488 if test "x$ac_ct_CC" = x; then
5489 CC=""
5490 else
5491 case $cross_compiling:$ac_tool_warned in
5492 yes:)
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5494 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5495 ac_tool_warned=yes ;;
5496 esac
5497 CC=$ac_ct_CC
5498 fi
5499 else
5500 CC="$ac_cv_prog_CC"
5501 fi
5502
5503 if test -z "$CC"; then
5504 if test -n "$ac_tool_prefix"; then
5505 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5506 set dummy ${ac_tool_prefix}cc; ac_word=$2
5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 printf %s "checking for $ac_word... " >&6; }
5509 if test ${ac_cv_prog_CC+y}
5510 then :
5511 printf %s "(cached) " >&6
5512 else $as_nop
5513 if test -n "$CC"; then
5514 ac_cv_prog_CC="$CC" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5518 do
5519 IFS=$as_save_IFS
5520 case $as_dir in #(((
5521 '') as_dir=./ ;;
5522 */) ;;
5523 *) as_dir=$as_dir/ ;;
5524 esac
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_CC="${ac_tool_prefix}cc"
5528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5529 break 2
5530 fi
5531 done
5532 done
5533 IFS=$as_save_IFS
5534
5535 fi
5536 fi
5537 CC=$ac_cv_prog_CC
5538 if test -n "$CC"; then
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5540 printf "%s\n" "$CC" >&6; }
5541 else
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 printf "%s\n" "no" >&6; }
5544 fi
5545
5546
5547 fi
5548 fi
5549 if test -z "$CC"; then
5550 # Extract the first word of "cc", so it can be a program name with args.
5551 set dummy cc; ac_word=$2
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 printf %s "checking for $ac_word... " >&6; }
5554 if test ${ac_cv_prog_CC+y}
5555 then :
5556 printf %s "(cached) " >&6
5557 else $as_nop
5558 if test -n "$CC"; then
5559 ac_cv_prog_CC="$CC" # Let the user override the test.
5560 else
5561 ac_prog_rejected=no
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH
5564 do
5565 IFS=$as_save_IFS
5566 case $as_dir in #(((
5567 '') as_dir=./ ;;
5568 */) ;;
5569 *) as_dir=$as_dir/ ;;
5570 esac
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5573 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5574 ac_prog_rejected=yes
5575 continue
5576 fi
5577 ac_cv_prog_CC="cc"
5578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5579 break 2
5580 fi
5581 done
5582 done
5583 IFS=$as_save_IFS
5584
5585 if test $ac_prog_rejected = yes; then
5586 # We found a bogon in the path, so make sure we never use it.
5587 set dummy $ac_cv_prog_CC
5588 shift
5589 if test $# != 0; then
5590 # We chose a different compiler from the bogus one.
5591 # However, it has the same basename, so the bogon will be chosen
5592 # first if we set CC to just the basename; use the full file name.
5593 shift
5594 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5595 fi
5596 fi
5597 fi
5598 fi
5599 CC=$ac_cv_prog_CC
5600 if test -n "$CC"; then
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5602 printf "%s\n" "$CC" >&6; }
5603 else
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 printf "%s\n" "no" >&6; }
5606 fi
5607
5608
5609 fi
5610 if test -z "$CC"; then
5611 if test -n "$ac_tool_prefix"; then
5612 for ac_prog in cl.exe
5613 do
5614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 printf %s "checking for $ac_word... " >&6; }
5618 if test ${ac_cv_prog_CC+y}
5619 then :
5620 printf %s "(cached) " >&6
5621 else $as_nop
5622 if test -n "$CC"; then
5623 ac_cv_prog_CC="$CC" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5627 do
5628 IFS=$as_save_IFS
5629 case $as_dir in #(((
5630 '') as_dir=./ ;;
5631 */) ;;
5632 *) as_dir=$as_dir/ ;;
5633 esac
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5638 break 2
5639 fi
5640 done
5641 done
5642 IFS=$as_save_IFS
5643
5644 fi
5645 fi
5646 CC=$ac_cv_prog_CC
5647 if test -n "$CC"; then
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5649 printf "%s\n" "$CC" >&6; }
5650 else
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 printf "%s\n" "no" >&6; }
5653 fi
5654
5655
5656 test -n "$CC" && break
5657 done
5658 fi
5659 if test -z "$CC"; then
5660 ac_ct_CC=$CC
5661 for ac_prog in cl.exe
5662 do
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy $ac_prog; ac_word=$2
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 printf %s "checking for $ac_word... " >&6; }
5667 if test ${ac_cv_prog_ac_ct_CC+y}
5668 then :
5669 printf %s "(cached) " >&6
5670 else $as_nop
5671 if test -n "$ac_ct_CC"; then
5672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5676 do
5677 IFS=$as_save_IFS
5678 case $as_dir in #(((
5679 '') as_dir=./ ;;
5680 */) ;;
5681 *) as_dir=$as_dir/ ;;
5682 esac
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_ac_ct_CC="$ac_prog"
5686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5687 break 2
5688 fi
5689 done
5690 done
5691 IFS=$as_save_IFS
5692
5693 fi
5694 fi
5695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5696 if test -n "$ac_ct_CC"; then
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5698 printf "%s\n" "$ac_ct_CC" >&6; }
5699 else
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 printf "%s\n" "no" >&6; }
5702 fi
5703
5704
5705 test -n "$ac_ct_CC" && break
5706 done
5707
5708 if test "x$ac_ct_CC" = x; then
5709 CC=""
5710 else
5711 case $cross_compiling:$ac_tool_warned in
5712 yes:)
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5715 ac_tool_warned=yes ;;
5716 esac
5717 CC=$ac_ct_CC
5718 fi
5719 fi
5720
5721 fi
5722 if test -z "$CC"; then
5723 if test -n "$ac_tool_prefix"; then
5724 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5725 set dummy ${ac_tool_prefix}clang; ac_word=$2
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 printf %s "checking for $ac_word... " >&6; }
5728 if test ${ac_cv_prog_CC+y}
5729 then :
5730 printf %s "(cached) " >&6
5731 else $as_nop
5732 if test -n "$CC"; then
5733 ac_cv_prog_CC="$CC" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5737 do
5738 IFS=$as_save_IFS
5739 case $as_dir in #(((
5740 '') as_dir=./ ;;
5741 */) ;;
5742 *) as_dir=$as_dir/ ;;
5743 esac
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_CC="${ac_tool_prefix}clang"
5747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5748 break 2
5749 fi
5750 done
5751 done
5752 IFS=$as_save_IFS
5753
5754 fi
5755 fi
5756 CC=$ac_cv_prog_CC
5757 if test -n "$CC"; then
5758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5759 printf "%s\n" "$CC" >&6; }
5760 else
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 printf "%s\n" "no" >&6; }
5763 fi
5764
5765
5766 fi
5767 if test -z "$ac_cv_prog_CC"; then
5768 ac_ct_CC=$CC
5769 # Extract the first word of "clang", so it can be a program name with args.
5770 set dummy clang; ac_word=$2
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 printf %s "checking for $ac_word... " >&6; }
5773 if test ${ac_cv_prog_ac_ct_CC+y}
5774 then :
5775 printf %s "(cached) " >&6
5776 else $as_nop
5777 if test -n "$ac_ct_CC"; then
5778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783 IFS=$as_save_IFS
5784 case $as_dir in #(((
5785 '') as_dir=./ ;;
5786 */) ;;
5787 *) as_dir=$as_dir/ ;;
5788 esac
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_ac_ct_CC="clang"
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5793 break 2
5794 fi
5795 done
5796 done
5797 IFS=$as_save_IFS
5798
5799 fi
5800 fi
5801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5802 if test -n "$ac_ct_CC"; then
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5804 printf "%s\n" "$ac_ct_CC" >&6; }
5805 else
5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 printf "%s\n" "no" >&6; }
5808 fi
5809
5810 if test "x$ac_ct_CC" = x; then
5811 CC=""
5812 else
5813 case $cross_compiling:$ac_tool_warned in
5814 yes:)
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819 CC=$ac_ct_CC
5820 fi
5821 else
5822 CC="$ac_cv_prog_CC"
5823 fi
5824
5825 fi
5826
5827
5828 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5829 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5830 as_fn_error $? "no acceptable C compiler found in \$PATH
5831 See \`config.log' for more details" "$LINENO" 5; }
5832
5833 # Provide some information about the compiler.
5834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5835 set X $ac_compile
5836 ac_compiler=$2
5837 for ac_option in --version -v -V -qversion -version; do
5838 { { ac_try="$ac_compiler $ac_option >&5"
5839 case "(($ac_try" in
5840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5841 *) ac_try_echo=$ac_try;;
5842 esac
5843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5844 printf "%s\n" "$ac_try_echo"; } >&5
5845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5846 ac_status=$?
5847 if test -s conftest.err; then
5848 sed '10a\
5849 ... rest of stderr output deleted ...
5850 10q' conftest.err >conftest.er1
5851 cat conftest.er1 >&5
5852 fi
5853 rm -f conftest.er1 conftest.err
5854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5855 test $ac_status = 0; }
5856 done
5857
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5859 printf %s "checking whether the compiler supports GNU C... " >&6; }
5860 if test ${ac_cv_c_compiler_gnu+y}
5861 then :
5862 printf %s "(cached) " >&6
5863 else $as_nop
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5866
5867 int
5868 main (void)
5869 {
5870 #ifndef __GNUC__
5871 choke me
5872 #endif
5873
5874 ;
5875 return 0;
5876 }
5877 _ACEOF
5878 if ac_fn_c_try_compile "$LINENO"
5879 then :
5880 ac_compiler_gnu=yes
5881 else $as_nop
5882 ac_compiler_gnu=no
5883 fi
5884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5885 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5886
5887 fi
5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5889 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5891
5892 if test $ac_compiler_gnu = yes; then
5893 GCC=yes
5894 else
5895 GCC=
5896 fi
5897 ac_test_CFLAGS=${CFLAGS+y}
5898 ac_save_CFLAGS=$CFLAGS
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5900 printf %s "checking whether $CC accepts -g... " >&6; }
5901 if test ${ac_cv_prog_cc_g+y}
5902 then :
5903 printf %s "(cached) " >&6
5904 else $as_nop
5905 ac_save_c_werror_flag=$ac_c_werror_flag
5906 ac_c_werror_flag=yes
5907 ac_cv_prog_cc_g=no
5908 CFLAGS="-g"
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5911
5912 int
5913 main (void)
5914 {
5915
5916 ;
5917 return 0;
5918 }
5919 _ACEOF
5920 if ac_fn_c_try_compile "$LINENO"
5921 then :
5922 ac_cv_prog_cc_g=yes
5923 else $as_nop
5924 CFLAGS=""
5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927
5928 int
5929 main (void)
5930 {
5931
5932 ;
5933 return 0;
5934 }
5935 _ACEOF
5936 if ac_fn_c_try_compile "$LINENO"
5937 then :
5938
5939 else $as_nop
5940 ac_c_werror_flag=$ac_save_c_werror_flag
5941 CFLAGS="-g"
5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5944
5945 int
5946 main (void)
5947 {
5948
5949 ;
5950 return 0;
5951 }
5952 _ACEOF
5953 if ac_fn_c_try_compile "$LINENO"
5954 then :
5955 ac_cv_prog_cc_g=yes
5956 fi
5957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5958 fi
5959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5960 fi
5961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5962 ac_c_werror_flag=$ac_save_c_werror_flag
5963 fi
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5965 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5966 if test $ac_test_CFLAGS; then
5967 CFLAGS=$ac_save_CFLAGS
5968 elif test $ac_cv_prog_cc_g = yes; then
5969 if test "$GCC" = yes; then
5970 CFLAGS="-g -O2"
5971 else
5972 CFLAGS="-g"
5973 fi
5974 else
5975 if test "$GCC" = yes; then
5976 CFLAGS="-O2"
5977 else
5978 CFLAGS=
5979 fi
5980 fi
5981 ac_prog_cc_stdc=no
5982 if test x$ac_prog_cc_stdc = xno
5983 then :
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5985 printf %s "checking for $CC option to enable C11 features... " >&6; }
5986 if test ${ac_cv_prog_cc_c11+y}
5987 then :
5988 printf %s "(cached) " >&6
5989 else $as_nop
5990 ac_cv_prog_cc_c11=no
5991 ac_save_CC=$CC
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 $ac_c_conftest_c11_program
5995 _ACEOF
5996 for ac_arg in '' -std=gnu11
5997 do
5998 CC="$ac_save_CC $ac_arg"
5999 if ac_fn_c_try_compile "$LINENO"
6000 then :
6001 ac_cv_prog_cc_c11=$ac_arg
6002 fi
6003 rm -f core conftest.err conftest.$ac_objext conftest.beam
6004 test "x$ac_cv_prog_cc_c11" != "xno" && break
6005 done
6006 rm -f conftest.$ac_ext
6007 CC=$ac_save_CC
6008 fi
6009
6010 if test "x$ac_cv_prog_cc_c11" = xno
6011 then :
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6013 printf "%s\n" "unsupported" >&6; }
6014 else $as_nop
6015 if test "x$ac_cv_prog_cc_c11" = x
6016 then :
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6018 printf "%s\n" "none needed" >&6; }
6019 else $as_nop
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6021 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6022 CC="$CC $ac_cv_prog_cc_c11"
6023 fi
6024 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
6025 ac_prog_cc_stdc=c11
6026 fi
6027 fi
6028 if test x$ac_prog_cc_stdc = xno
6029 then :
6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6031 printf %s "checking for $CC option to enable C99 features... " >&6; }
6032 if test ${ac_cv_prog_cc_c99+y}
6033 then :
6034 printf %s "(cached) " >&6
6035 else $as_nop
6036 ac_cv_prog_cc_c99=no
6037 ac_save_CC=$CC
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 $ac_c_conftest_c99_program
6041 _ACEOF
6042 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
6043 do
6044 CC="$ac_save_CC $ac_arg"
6045 if ac_fn_c_try_compile "$LINENO"
6046 then :
6047 ac_cv_prog_cc_c99=$ac_arg
6048 fi
6049 rm -f core conftest.err conftest.$ac_objext conftest.beam
6050 test "x$ac_cv_prog_cc_c99" != "xno" && break
6051 done
6052 rm -f conftest.$ac_ext
6053 CC=$ac_save_CC
6054 fi
6055
6056 if test "x$ac_cv_prog_cc_c99" = xno
6057 then :
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6059 printf "%s\n" "unsupported" >&6; }
6060 else $as_nop
6061 if test "x$ac_cv_prog_cc_c99" = x
6062 then :
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6064 printf "%s\n" "none needed" >&6; }
6065 else $as_nop
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6067 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6068 CC="$CC $ac_cv_prog_cc_c99"
6069 fi
6070 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6071 ac_prog_cc_stdc=c99
6072 fi
6073 fi
6074 if test x$ac_prog_cc_stdc = xno
6075 then :
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6077 printf %s "checking for $CC option to enable C89 features... " >&6; }
6078 if test ${ac_cv_prog_cc_c89+y}
6079 then :
6080 printf %s "(cached) " >&6
6081 else $as_nop
6082 ac_cv_prog_cc_c89=no
6083 ac_save_CC=$CC
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6086 $ac_c_conftest_c89_program
6087 _ACEOF
6088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6089 do
6090 CC="$ac_save_CC $ac_arg"
6091 if ac_fn_c_try_compile "$LINENO"
6092 then :
6093 ac_cv_prog_cc_c89=$ac_arg
6094 fi
6095 rm -f core conftest.err conftest.$ac_objext conftest.beam
6096 test "x$ac_cv_prog_cc_c89" != "xno" && break
6097 done
6098 rm -f conftest.$ac_ext
6099 CC=$ac_save_CC
6100 fi
6101
6102 if test "x$ac_cv_prog_cc_c89" = xno
6103 then :
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6105 printf "%s\n" "unsupported" >&6; }
6106 else $as_nop
6107 if test "x$ac_cv_prog_cc_c89" = x
6108 then :
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6110 printf "%s\n" "none needed" >&6; }
6111 else $as_nop
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6113 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6114 CC="$CC $ac_cv_prog_cc_c89"
6115 fi
6116 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6117 ac_prog_cc_stdc=c89
6118 fi
6119 fi
6120
6121 ac_ext=c
6122 ac_cpp='$CPP $CPPFLAGS'
6123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6126
6127
6128 ac_ext=c
6129 ac_cpp='$CPP $CPPFLAGS'
6130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6134 printf %s "checking whether $CC understands -c and -o together... " >&6; }
6135 if test ${am_cv_prog_cc_c_o+y}
6136 then :
6137 printf %s "(cached) " >&6
6138 else $as_nop
6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141
6142 int
6143 main (void)
6144 {
6145
6146 ;
6147 return 0;
6148 }
6149 _ACEOF
6150 # Make sure it works both with $CC and with simple cc.
6151 # Following AC_PROG_CC_C_O, we do the test twice because some
6152 # compilers refuse to overwrite an existing .o file with -o,
6153 # though they will create one.
6154 am_cv_prog_cc_c_o=yes
6155 for am_i in 1 2; do
6156 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6157 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6158 ac_status=$?
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } \
6161 && test -f conftest2.$ac_objext; then
6162 : OK
6163 else
6164 am_cv_prog_cc_c_o=no
6165 break
6166 fi
6167 done
6168 rm -f core conftest*
6169 unset am_i
6170 fi
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6172 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6173 if test "$am_cv_prog_cc_c_o" != yes; then
6174 # Losing compiler, so override with the script.
6175 # FIXME: It is wrong to rewrite CC.
6176 # But if we don't then we get into trouble of one sort or another.
6177 # A longer-term fix would be to have automake use am__CC in this case,
6178 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6179 CC="$am_aux_dir/compile $CC"
6180 fi
6181 ac_ext=c
6182 ac_cpp='$CPP $CPPFLAGS'
6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6186
6187
6188 depcc="$CC" am_compiler_list=
6189
6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6191 printf %s "checking dependency style of $depcc... " >&6; }
6192 if test ${am_cv_CC_dependencies_compiler_type+y}
6193 then :
6194 printf %s "(cached) " >&6
6195 else $as_nop
6196 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6197 # We make a subdir and do the tests there. Otherwise we can end up
6198 # making bogus files that we don't know about and never remove. For
6199 # instance it was reported that on HP-UX the gcc test will end up
6200 # making a dummy file named 'D' -- because '-MD' means "put the output
6201 # in D".
6202 rm -rf conftest.dir
6203 mkdir conftest.dir
6204 # Copy depcomp to subdir because otherwise we won't find it if we're
6205 # using a relative directory.
6206 cp "$am_depcomp" conftest.dir
6207 cd conftest.dir
6208 # We will build objects and dependencies in a subdirectory because
6209 # it helps to detect inapplicable dependency modes. For instance
6210 # both Tru64's cc and ICC support -MD to output dependencies as a
6211 # side effect of compilation, but ICC will put the dependencies in
6212 # the current directory while Tru64 will put them in the object
6213 # directory.
6214 mkdir sub
6215
6216 am_cv_CC_dependencies_compiler_type=none
6217 if test "$am_compiler_list" = ""; then
6218 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6219 fi
6220 am__universal=false
6221 case " $depcc " in #(
6222 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6223 esac
6224
6225 for depmode in $am_compiler_list; do
6226 # Setup a source with many dependencies, because some compilers
6227 # like to wrap large dependency lists on column 80 (with \), and
6228 # we should not choose a depcomp mode which is confused by this.
6229 #
6230 # We need to recreate these files for each test, as the compiler may
6231 # overwrite some of them when testing with obscure command lines.
6232 # This happens at least with the AIX C compiler.
6233 : > sub/conftest.c
6234 for i in 1 2 3 4 5 6; do
6235 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6236 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6237 # Solaris 10 /bin/sh.
6238 echo '/* dummy */' > sub/conftst$i.h
6239 done
6240 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6241
6242 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6243 # mode. It turns out that the SunPro C++ compiler does not properly
6244 # handle '-M -o', and we need to detect this. Also, some Intel
6245 # versions had trouble with output in subdirs.
6246 am__obj=sub/conftest.${OBJEXT-o}
6247 am__minus_obj="-o $am__obj"
6248 case $depmode in
6249 gcc)
6250 # This depmode causes a compiler race in universal mode.
6251 test "$am__universal" = false || continue
6252 ;;
6253 nosideeffect)
6254 # After this tag, mechanisms are not by side-effect, so they'll
6255 # only be used when explicitly requested.
6256 if test "x$enable_dependency_tracking" = xyes; then
6257 continue
6258 else
6259 break
6260 fi
6261 ;;
6262 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6263 # This compiler won't grok '-c -o', but also, the minuso test has
6264 # not run yet. These depmodes are late enough in the game, and
6265 # so weak that their functioning should not be impacted.
6266 am__obj=conftest.${OBJEXT-o}
6267 am__minus_obj=
6268 ;;
6269 none) break ;;
6270 esac
6271 if depmode=$depmode \
6272 source=sub/conftest.c object=$am__obj \
6273 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6274 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6275 >/dev/null 2>conftest.err &&
6276 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6277 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6278 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6279 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6280 # icc doesn't choke on unknown options, it will just issue warnings
6281 # or remarks (even with -Werror). So we grep stderr for any message
6282 # that says an option was ignored or not supported.
6283 # When given -MP, icc 7.0 and 7.1 complain thusly:
6284 # icc: Command line warning: ignoring option '-M'; no argument required
6285 # The diagnosis changed in icc 8.0:
6286 # icc: Command line remark: option '-MP' not supported
6287 if (grep 'ignoring option' conftest.err ||
6288 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6289 am_cv_CC_dependencies_compiler_type=$depmode
6290 break
6291 fi
6292 fi
6293 done
6294
6295 cd ..
6296 rm -rf conftest.dir
6297 else
6298 am_cv_CC_dependencies_compiler_type=none
6299 fi
6300
6301 fi
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6303 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6305
6306 if
6307 test "x$enable_dependency_tracking" != xno \
6308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6309 am__fastdepCC_TRUE=
6310 am__fastdepCC_FALSE='#'
6311 else
6312 am__fastdepCC_TRUE='#'
6313 am__fastdepCC_FALSE=
6314 fi
6315
6316
6317
6318
6319
6320
6321
6322
6323 ac_ext=cpp
6324 ac_cpp='$CXXCPP $CPPFLAGS'
6325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6328 if test -z "$CXX"; then
6329 if test -n "$CCC"; then
6330 CXX=$CCC
6331 else
6332 if test -n "$ac_tool_prefix"; then
6333 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
6334 do
6335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 printf %s "checking for $ac_word... " >&6; }
6339 if test ${ac_cv_prog_CXX+y}
6340 then :
6341 printf %s "(cached) " >&6
6342 else $as_nop
6343 if test -n "$CXX"; then
6344 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6345 else
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $PATH
6348 do
6349 IFS=$as_save_IFS
6350 case $as_dir in #(((
6351 '') as_dir=./ ;;
6352 */) ;;
6353 *) as_dir=$as_dir/ ;;
6354 esac
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6359 break 2
6360 fi
6361 done
6362 done
6363 IFS=$as_save_IFS
6364
6365 fi
6366 fi
6367 CXX=$ac_cv_prog_CXX
6368 if test -n "$CXX"; then
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6370 printf "%s\n" "$CXX" >&6; }
6371 else
6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6373 printf "%s\n" "no" >&6; }
6374 fi
6375
6376
6377 test -n "$CXX" && break
6378 done
6379 fi
6380 if test -z "$CXX"; then
6381 ac_ct_CXX=$CXX
6382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
6383 do
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 printf %s "checking for $ac_word... " >&6; }
6388 if test ${ac_cv_prog_ac_ct_CXX+y}
6389 then :
6390 printf %s "(cached) " >&6
6391 else $as_nop
6392 if test -n "$ac_ct_CXX"; then
6393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6394 else
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH
6397 do
6398 IFS=$as_save_IFS
6399 case $as_dir in #(((
6400 '') as_dir=./ ;;
6401 */) ;;
6402 *) as_dir=$as_dir/ ;;
6403 esac
6404 for ac_exec_ext in '' $ac_executable_extensions; do
6405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6406 ac_cv_prog_ac_ct_CXX="$ac_prog"
6407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6408 break 2
6409 fi
6410 done
6411 done
6412 IFS=$as_save_IFS
6413
6414 fi
6415 fi
6416 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6417 if test -n "$ac_ct_CXX"; then
6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6419 printf "%s\n" "$ac_ct_CXX" >&6; }
6420 else
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 printf "%s\n" "no" >&6; }
6423 fi
6424
6425
6426 test -n "$ac_ct_CXX" && break
6427 done
6428
6429 if test "x$ac_ct_CXX" = x; then
6430 CXX="g++"
6431 else
6432 case $cross_compiling:$ac_tool_warned in
6433 yes:)
6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436 ac_tool_warned=yes ;;
6437 esac
6438 CXX=$ac_ct_CXX
6439 fi
6440 fi
6441
6442 fi
6443 fi
6444 # Provide some information about the compiler.
6445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6446 set X $ac_compile
6447 ac_compiler=$2
6448 for ac_option in --version -v -V -qversion; do
6449 { { ac_try="$ac_compiler $ac_option >&5"
6450 case "(($ac_try" in
6451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452 *) ac_try_echo=$ac_try;;
6453 esac
6454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6455 printf "%s\n" "$ac_try_echo"; } >&5
6456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6457 ac_status=$?
6458 if test -s conftest.err; then
6459 sed '10a\
6460 ... rest of stderr output deleted ...
6461 10q' conftest.err >conftest.er1
6462 cat conftest.er1 >&5
6463 fi
6464 rm -f conftest.er1 conftest.err
6465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6466 test $ac_status = 0; }
6467 done
6468
6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6470 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6471 if test ${ac_cv_cxx_compiler_gnu+y}
6472 then :
6473 printf %s "(cached) " >&6
6474 else $as_nop
6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6477
6478 int
6479 main (void)
6480 {
6481 #ifndef __GNUC__
6482 choke me
6483 #endif
6484
6485 ;
6486 return 0;
6487 }
6488 _ACEOF
6489 if ac_fn_cxx_try_compile "$LINENO"
6490 then :
6491 ac_compiler_gnu=yes
6492 else $as_nop
6493 ac_compiler_gnu=no
6494 fi
6495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6496 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6497
6498 fi
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6500 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6502
6503 if test $ac_compiler_gnu = yes; then
6504 GXX=yes
6505 else
6506 GXX=
6507 fi
6508 ac_test_CXXFLAGS=${CXXFLAGS+y}
6509 ac_save_CXXFLAGS=$CXXFLAGS
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6511 printf %s "checking whether $CXX accepts -g... " >&6; }
6512 if test ${ac_cv_prog_cxx_g+y}
6513 then :
6514 printf %s "(cached) " >&6
6515 else $as_nop
6516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6517 ac_cxx_werror_flag=yes
6518 ac_cv_prog_cxx_g=no
6519 CXXFLAGS="-g"
6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522
6523 int
6524 main (void)
6525 {
6526
6527 ;
6528 return 0;
6529 }
6530 _ACEOF
6531 if ac_fn_cxx_try_compile "$LINENO"
6532 then :
6533 ac_cv_prog_cxx_g=yes
6534 else $as_nop
6535 CXXFLAGS=""
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6538
6539 int
6540 main (void)
6541 {
6542
6543 ;
6544 return 0;
6545 }
6546 _ACEOF
6547 if ac_fn_cxx_try_compile "$LINENO"
6548 then :
6549
6550 else $as_nop
6551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6552 CXXFLAGS="-g"
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6555
6556 int
6557 main (void)
6558 {
6559
6560 ;
6561 return 0;
6562 }
6563 _ACEOF
6564 if ac_fn_cxx_try_compile "$LINENO"
6565 then :
6566 ac_cv_prog_cxx_g=yes
6567 fi
6568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6569 fi
6570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6571 fi
6572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6574 fi
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6576 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6577 if test $ac_test_CXXFLAGS; then
6578 CXXFLAGS=$ac_save_CXXFLAGS
6579 elif test $ac_cv_prog_cxx_g = yes; then
6580 if test "$GXX" = yes; then
6581 CXXFLAGS="-g -O2"
6582 else
6583 CXXFLAGS="-g"
6584 fi
6585 else
6586 if test "$GXX" = yes; then
6587 CXXFLAGS="-O2"
6588 else
6589 CXXFLAGS=
6590 fi
6591 fi
6592 ac_prog_cxx_stdcxx=no
6593 if test x$ac_prog_cxx_stdcxx = xno
6594 then :
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6596 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6597 if test ${ac_cv_prog_cxx_11+y}
6598 then :
6599 printf %s "(cached) " >&6
6600 else $as_nop
6601 ac_cv_prog_cxx_11=no
6602 ac_save_CXX=$CXX
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6605 $ac_cxx_conftest_cxx11_program
6606 _ACEOF
6607 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6608 do
6609 CXX="$ac_save_CXX $ac_arg"
6610 if ac_fn_cxx_try_compile "$LINENO"
6611 then :
6612 ac_cv_prog_cxx_cxx11=$ac_arg
6613 fi
6614 rm -f core conftest.err conftest.$ac_objext conftest.beam
6615 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6616 done
6617 rm -f conftest.$ac_ext
6618 CXX=$ac_save_CXX
6619 fi
6620
6621 if test "x$ac_cv_prog_cxx_cxx11" = xno
6622 then :
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6624 printf "%s\n" "unsupported" >&6; }
6625 else $as_nop
6626 if test "x$ac_cv_prog_cxx_cxx11" = x
6627 then :
6628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6629 printf "%s\n" "none needed" >&6; }
6630 else $as_nop
6631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6632 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6633 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6634 fi
6635 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6636 ac_prog_cxx_stdcxx=cxx11
6637 fi
6638 fi
6639 if test x$ac_prog_cxx_stdcxx = xno
6640 then :
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6642 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6643 if test ${ac_cv_prog_cxx_98+y}
6644 then :
6645 printf %s "(cached) " >&6
6646 else $as_nop
6647 ac_cv_prog_cxx_98=no
6648 ac_save_CXX=$CXX
6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 $ac_cxx_conftest_cxx98_program
6652 _ACEOF
6653 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6654 do
6655 CXX="$ac_save_CXX $ac_arg"
6656 if ac_fn_cxx_try_compile "$LINENO"
6657 then :
6658 ac_cv_prog_cxx_cxx98=$ac_arg
6659 fi
6660 rm -f core conftest.err conftest.$ac_objext conftest.beam
6661 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6662 done
6663 rm -f conftest.$ac_ext
6664 CXX=$ac_save_CXX
6665 fi
6666
6667 if test "x$ac_cv_prog_cxx_cxx98" = xno
6668 then :
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6670 printf "%s\n" "unsupported" >&6; }
6671 else $as_nop
6672 if test "x$ac_cv_prog_cxx_cxx98" = x
6673 then :
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6675 printf "%s\n" "none needed" >&6; }
6676 else $as_nop
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6678 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6679 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6680 fi
6681 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6682 ac_prog_cxx_stdcxx=cxx98
6683 fi
6684 fi
6685
6686 ac_ext=c
6687 ac_cpp='$CPP $CPPFLAGS'
6688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6691
6692 depcc="$CXX" am_compiler_list=
6693
6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6695 printf %s "checking dependency style of $depcc... " >&6; }
6696 if test ${am_cv_CXX_dependencies_compiler_type+y}
6697 then :
6698 printf %s "(cached) " >&6
6699 else $as_nop
6700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6701 # We make a subdir and do the tests there. Otherwise we can end up
6702 # making bogus files that we don't know about and never remove. For
6703 # instance it was reported that on HP-UX the gcc test will end up
6704 # making a dummy file named 'D' -- because '-MD' means "put the output
6705 # in D".
6706 rm -rf conftest.dir
6707 mkdir conftest.dir
6708 # Copy depcomp to subdir because otherwise we won't find it if we're
6709 # using a relative directory.
6710 cp "$am_depcomp" conftest.dir
6711 cd conftest.dir
6712 # We will build objects and dependencies in a subdirectory because
6713 # it helps to detect inapplicable dependency modes. For instance
6714 # both Tru64's cc and ICC support -MD to output dependencies as a
6715 # side effect of compilation, but ICC will put the dependencies in
6716 # the current directory while Tru64 will put them in the object
6717 # directory.
6718 mkdir sub
6719
6720 am_cv_CXX_dependencies_compiler_type=none
6721 if test "$am_compiler_list" = ""; then
6722 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6723 fi
6724 am__universal=false
6725 case " $depcc " in #(
6726 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6727 esac
6728
6729 for depmode in $am_compiler_list; do
6730 # Setup a source with many dependencies, because some compilers
6731 # like to wrap large dependency lists on column 80 (with \), and
6732 # we should not choose a depcomp mode which is confused by this.
6733 #
6734 # We need to recreate these files for each test, as the compiler may
6735 # overwrite some of them when testing with obscure command lines.
6736 # This happens at least with the AIX C compiler.
6737 : > sub/conftest.c
6738 for i in 1 2 3 4 5 6; do
6739 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6740 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6741 # Solaris 10 /bin/sh.
6742 echo '/* dummy */' > sub/conftst$i.h
6743 done
6744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6745
6746 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6747 # mode. It turns out that the SunPro C++ compiler does not properly
6748 # handle '-M -o', and we need to detect this. Also, some Intel
6749 # versions had trouble with output in subdirs.
6750 am__obj=sub/conftest.${OBJEXT-o}
6751 am__minus_obj="-o $am__obj"
6752 case $depmode in
6753 gcc)
6754 # This depmode causes a compiler race in universal mode.
6755 test "$am__universal" = false || continue
6756 ;;
6757 nosideeffect)
6758 # After this tag, mechanisms are not by side-effect, so they'll
6759 # only be used when explicitly requested.
6760 if test "x$enable_dependency_tracking" = xyes; then
6761 continue
6762 else
6763 break
6764 fi
6765 ;;
6766 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6767 # This compiler won't grok '-c -o', but also, the minuso test has
6768 # not run yet. These depmodes are late enough in the game, and
6769 # so weak that their functioning should not be impacted.
6770 am__obj=conftest.${OBJEXT-o}
6771 am__minus_obj=
6772 ;;
6773 none) break ;;
6774 esac
6775 if depmode=$depmode \
6776 source=sub/conftest.c object=$am__obj \
6777 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6778 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6779 >/dev/null 2>conftest.err &&
6780 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6781 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6782 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6783 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6784 # icc doesn't choke on unknown options, it will just issue warnings
6785 # or remarks (even with -Werror). So we grep stderr for any message
6786 # that says an option was ignored or not supported.
6787 # When given -MP, icc 7.0 and 7.1 complain thusly:
6788 # icc: Command line warning: ignoring option '-M'; no argument required
6789 # The diagnosis changed in icc 8.0:
6790 # icc: Command line remark: option '-MP' not supported
6791 if (grep 'ignoring option' conftest.err ||
6792 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6793 am_cv_CXX_dependencies_compiler_type=$depmode
6794 break
6795 fi
6796 fi
6797 done
6798
6799 cd ..
6800 rm -rf conftest.dir
6801 else
6802 am_cv_CXX_dependencies_compiler_type=none
6803 fi
6804
6805 fi
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6807 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
6808 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6809
6810 if
6811 test "x$enable_dependency_tracking" != xno \
6812 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6813 am__fastdepCXX_TRUE=
6814 am__fastdepCXX_FALSE='#'
6815 else
6816 am__fastdepCXX_TRUE='#'
6817 am__fastdepCXX_FALSE=
6818 fi
6819
6820
6821
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6823 printf %s "checking for library containing strerror... " >&6; }
6824 if test ${ac_cv_search_strerror+y}
6825 then :
6826 printf %s "(cached) " >&6
6827 else $as_nop
6828 ac_func_search_save_LIBS=$LIBS
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6831
6832 /* Override any GCC internal prototype to avoid an error.
6833 Use char because int might match the return type of a GCC
6834 builtin and then its argument prototype would still apply. */
6835 char strerror ();
6836 int
6837 main (void)
6838 {
6839 return strerror ();
6840 ;
6841 return 0;
6842 }
6843 _ACEOF
6844 for ac_lib in '' cposix
6845 do
6846 if test -z "$ac_lib"; then
6847 ac_res="none required"
6848 else
6849 ac_res=-l$ac_lib
6850 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6851 fi
6852 if ac_fn_c_try_link "$LINENO"
6853 then :
6854 ac_cv_search_strerror=$ac_res
6855 fi
6856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6857 conftest$ac_exeext
6858 if test ${ac_cv_search_strerror+y}
6859 then :
6860 break
6861 fi
6862 done
6863 if test ${ac_cv_search_strerror+y}
6864 then :
6865
6866 else $as_nop
6867 ac_cv_search_strerror=no
6868 fi
6869 rm conftest.$ac_ext
6870 LIBS=$ac_func_search_save_LIBS
6871 fi
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6873 printf "%s\n" "$ac_cv_search_strerror" >&6; }
6874 ac_res=$ac_cv_search_strerror
6875 if test "$ac_res" != no
6876 then :
6877 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6878
6879 fi
6880
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6882 printf %s "checking for grep that handles long lines and -e... " >&6; }
6883 if test ${ac_cv_path_GREP+y}
6884 then :
6885 printf %s "(cached) " >&6
6886 else $as_nop
6887 if test -z "$GREP"; then
6888 ac_path_GREP_found=false
6889 # Loop through the user's path and test for each of PROGNAME-LIST
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6892 do
6893 IFS=$as_save_IFS
6894 case $as_dir in #(((
6895 '') as_dir=./ ;;
6896 */) ;;
6897 *) as_dir=$as_dir/ ;;
6898 esac
6899 for ac_prog in grep ggrep
6900 do
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6903 as_fn_executable_p "$ac_path_GREP" || continue
6904 # Check for GNU ac_path_GREP and select it if it is found.
6905 # Check for GNU $ac_path_GREP
6906 case `"$ac_path_GREP" --version 2>&1` in
6907 *GNU*)
6908 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6909 *)
6910 ac_count=0
6911 printf %s 0123456789 >"conftest.in"
6912 while :
6913 do
6914 cat "conftest.in" "conftest.in" >"conftest.tmp"
6915 mv "conftest.tmp" "conftest.in"
6916 cp "conftest.in" "conftest.nl"
6917 printf "%s\n" 'GREP' >> "conftest.nl"
6918 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6919 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6920 as_fn_arith $ac_count + 1 && ac_count=$as_val
6921 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6922 # Best one so far, save it but keep looking for a better one
6923 ac_cv_path_GREP="$ac_path_GREP"
6924 ac_path_GREP_max=$ac_count
6925 fi
6926 # 10*(2^10) chars as input seems more than enough
6927 test $ac_count -gt 10 && break
6928 done
6929 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6930 esac
6931
6932 $ac_path_GREP_found && break 3
6933 done
6934 done
6935 done
6936 IFS=$as_save_IFS
6937 if test -z "$ac_cv_path_GREP"; then
6938 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6939 fi
6940 else
6941 ac_cv_path_GREP=$GREP
6942 fi
6943
6944 fi
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6946 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6947 GREP="$ac_cv_path_GREP"
6948
6949
6950 # Autoupdate added the next two lines to ensure that your configure
6951 # script's behavior did not change. They are probably safe to remove.
6952
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6954 printf %s "checking for egrep... " >&6; }
6955 if test ${ac_cv_path_EGREP+y}
6956 then :
6957 printf %s "(cached) " >&6
6958 else $as_nop
6959 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6960 then ac_cv_path_EGREP="$GREP -E"
6961 else
6962 if test -z "$EGREP"; then
6963 ac_path_EGREP_found=false
6964 # Loop through the user's path and test for each of PROGNAME-LIST
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6967 do
6968 IFS=$as_save_IFS
6969 case $as_dir in #(((
6970 '') as_dir=./ ;;
6971 */) ;;
6972 *) as_dir=$as_dir/ ;;
6973 esac
6974 for ac_prog in egrep
6975 do
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6978 as_fn_executable_p "$ac_path_EGREP" || continue
6979 # Check for GNU ac_path_EGREP and select it if it is found.
6980 # Check for GNU $ac_path_EGREP
6981 case `"$ac_path_EGREP" --version 2>&1` in
6982 *GNU*)
6983 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6984 *)
6985 ac_count=0
6986 printf %s 0123456789 >"conftest.in"
6987 while :
6988 do
6989 cat "conftest.in" "conftest.in" >"conftest.tmp"
6990 mv "conftest.tmp" "conftest.in"
6991 cp "conftest.in" "conftest.nl"
6992 printf "%s\n" 'EGREP' >> "conftest.nl"
6993 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6994 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6995 as_fn_arith $ac_count + 1 && ac_count=$as_val
6996 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6997 # Best one so far, save it but keep looking for a better one
6998 ac_cv_path_EGREP="$ac_path_EGREP"
6999 ac_path_EGREP_max=$ac_count
7000 fi
7001 # 10*(2^10) chars as input seems more than enough
7002 test $ac_count -gt 10 && break
7003 done
7004 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7005 esac
7006
7007 $ac_path_EGREP_found && break 3
7008 done
7009 done
7010 done
7011 IFS=$as_save_IFS
7012 if test -z "$ac_cv_path_EGREP"; then
7013 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7014 fi
7015 else
7016 ac_cv_path_EGREP=$EGREP
7017 fi
7018
7019 fi
7020 fi
7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7022 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7023 EGREP="$ac_cv_path_EGREP"
7024
7025
7026
7027 case `pwd` in
7028 *\ * | *\ *)
7029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7030 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7031 esac
7032
7033
7034
7035 macro_version='2.4.7'
7036 macro_revision='2.4.7'
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051 ltmain=$ac_aux_dir/ltmain.sh
7052
7053
7054
7055 # Make sure we can run config.sub.
7056 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
7057 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7058
7059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7060 printf %s "checking build system type... " >&6; }
7061 if test ${ac_cv_build+y}
7062 then :
7063 printf %s "(cached) " >&6
7064 else $as_nop
7065 ac_build_alias=$build_alias
7066 test "x$ac_build_alias" = x &&
7067 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7068 test "x$ac_build_alias" = x &&
7069 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7070 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7071 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7072
7073 fi
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7075 printf "%s\n" "$ac_cv_build" >&6; }
7076 case $ac_cv_build in
7077 *-*-*) ;;
7078 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
7079 esac
7080 build=$ac_cv_build
7081 ac_save_IFS=$IFS; IFS='-'
7082 set x $ac_cv_build
7083 shift
7084 build_cpu=$1
7085 build_vendor=$2
7086 shift; shift
7087 # Remember, the first character of IFS is used to create $*,
7088 # except with old shells:
7089 build_os=$*
7090 IFS=$ac_save_IFS
7091 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7092
7093
7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7095 printf %s "checking host system type... " >&6; }
7096 if test ${ac_cv_host+y}
7097 then :
7098 printf %s "(cached) " >&6
7099 else $as_nop
7100 if test "x$host_alias" = x; then
7101 ac_cv_host=$ac_cv_build
7102 else
7103 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7104 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7105 fi
7106
7107 fi
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7109 printf "%s\n" "$ac_cv_host" >&6; }
7110 case $ac_cv_host in
7111 *-*-*) ;;
7112 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
7113 esac
7114 host=$ac_cv_host
7115 ac_save_IFS=$IFS; IFS='-'
7116 set x $ac_cv_host
7117 shift
7118 host_cpu=$1
7119 host_vendor=$2
7120 shift; shift
7121 # Remember, the first character of IFS is used to create $*,
7122 # except with old shells:
7123 host_os=$*
7124 IFS=$ac_save_IFS
7125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7126
7127
7128 # Backslashify metacharacters that are still active within
7129 # double-quoted strings.
7130 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7131
7132 # Same as above, but do not quote variable references.
7133 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7134
7135 # Sed substitution to delay expansion of an escaped shell variable in a
7136 # double_quote_subst'ed string.
7137 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7138
7139 # Sed substitution to delay expansion of an escaped single quote.
7140 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7141
7142 # Sed substitution to avoid accidental globbing in evaled expressions
7143 no_glob_subst='s/\*/\\\*/g'
7144
7145 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7146 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7147 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7148
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7150 printf %s "checking how to print strings... " >&6; }
7151 # Test print first, because it will be a builtin if present.
7152 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7153 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7154 ECHO='print -r --'
7155 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7156 ECHO='printf %s\n'
7157 else
7158 # Use this function as a fallback that always works.
7159 func_fallback_echo ()
7160 {
7161 eval 'cat <<_LTECHO_EOF
7162 $1
7163 _LTECHO_EOF'
7164 }
7165 ECHO='func_fallback_echo'
7166 fi
7167
7168 # func_echo_all arg...
7169 # Invoke $ECHO with all args, space-separated.
7170 func_echo_all ()
7171 {
7172 $ECHO ""
7173 }
7174
7175 case $ECHO in
7176 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7177 printf "%s\n" "printf" >&6; } ;;
7178 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7179 printf "%s\n" "print -r" >&6; } ;;
7180 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7181 printf "%s\n" "cat" >&6; } ;;
7182 esac
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7198 printf %s "checking for a sed that does not truncate output... " >&6; }
7199 if test ${ac_cv_path_SED+y}
7200 then :
7201 printf %s "(cached) " >&6
7202 else $as_nop
7203 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7204 for ac_i in 1 2 3 4 5 6 7; do
7205 ac_script="$ac_script$as_nl$ac_script"
7206 done
7207 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7208 { ac_script=; unset ac_script;}
7209 if test -z "$SED"; then
7210 ac_path_SED_found=false
7211 # Loop through the user's path and test for each of PROGNAME-LIST
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 for as_dir in $PATH
7214 do
7215 IFS=$as_save_IFS
7216 case $as_dir in #(((
7217 '') as_dir=./ ;;
7218 */) ;;
7219 *) as_dir=$as_dir/ ;;
7220 esac
7221 for ac_prog in sed gsed
7222 do
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
7225 as_fn_executable_p "$ac_path_SED" || continue
7226 # Check for GNU ac_path_SED and select it if it is found.
7227 # Check for GNU $ac_path_SED
7228 case `"$ac_path_SED" --version 2>&1` in
7229 *GNU*)
7230 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7231 *)
7232 ac_count=0
7233 printf %s 0123456789 >"conftest.in"
7234 while :
7235 do
7236 cat "conftest.in" "conftest.in" >"conftest.tmp"
7237 mv "conftest.tmp" "conftest.in"
7238 cp "conftest.in" "conftest.nl"
7239 printf "%s\n" '' >> "conftest.nl"
7240 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7242 as_fn_arith $ac_count + 1 && ac_count=$as_val
7243 if test $ac_count -gt ${ac_path_SED_max-0}; then
7244 # Best one so far, save it but keep looking for a better one
7245 ac_cv_path_SED="$ac_path_SED"
7246 ac_path_SED_max=$ac_count
7247 fi
7248 # 10*(2^10) chars as input seems more than enough
7249 test $ac_count -gt 10 && break
7250 done
7251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7252 esac
7253
7254 $ac_path_SED_found && break 3
7255 done
7256 done
7257 done
7258 IFS=$as_save_IFS
7259 if test -z "$ac_cv_path_SED"; then
7260 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7261 fi
7262 else
7263 ac_cv_path_SED=$SED
7264 fi
7265
7266 fi
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7268 printf "%s\n" "$ac_cv_path_SED" >&6; }
7269 SED="$ac_cv_path_SED"
7270 rm -f conftest.sed
7271
7272 test -z "$SED" && SED=sed
7273 Xsed="$SED -e 1s/^X//"
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7286 printf %s "checking for fgrep... " >&6; }
7287 if test ${ac_cv_path_FGREP+y}
7288 then :
7289 printf %s "(cached) " >&6
7290 else $as_nop
7291 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7292 then ac_cv_path_FGREP="$GREP -F"
7293 else
7294 if test -z "$FGREP"; then
7295 ac_path_FGREP_found=false
7296 # Loop through the user's path and test for each of PROGNAME-LIST
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7299 do
7300 IFS=$as_save_IFS
7301 case $as_dir in #(((
7302 '') as_dir=./ ;;
7303 */) ;;
7304 *) as_dir=$as_dir/ ;;
7305 esac
7306 for ac_prog in fgrep
7307 do
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
7310 as_fn_executable_p "$ac_path_FGREP" || continue
7311 # Check for GNU ac_path_FGREP and select it if it is found.
7312 # Check for GNU $ac_path_FGREP
7313 case `"$ac_path_FGREP" --version 2>&1` in
7314 *GNU*)
7315 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7316 *)
7317 ac_count=0
7318 printf %s 0123456789 >"conftest.in"
7319 while :
7320 do
7321 cat "conftest.in" "conftest.in" >"conftest.tmp"
7322 mv "conftest.tmp" "conftest.in"
7323 cp "conftest.in" "conftest.nl"
7324 printf "%s\n" 'FGREP' >> "conftest.nl"
7325 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7327 as_fn_arith $ac_count + 1 && ac_count=$as_val
7328 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7329 # Best one so far, save it but keep looking for a better one
7330 ac_cv_path_FGREP="$ac_path_FGREP"
7331 ac_path_FGREP_max=$ac_count
7332 fi
7333 # 10*(2^10) chars as input seems more than enough
7334 test $ac_count -gt 10 && break
7335 done
7336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7337 esac
7338
7339 $ac_path_FGREP_found && break 3
7340 done
7341 done
7342 done
7343 IFS=$as_save_IFS
7344 if test -z "$ac_cv_path_FGREP"; then
7345 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7346 fi
7347 else
7348 ac_cv_path_FGREP=$FGREP
7349 fi
7350
7351 fi
7352 fi
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7354 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
7355 FGREP="$ac_cv_path_FGREP"
7356
7357
7358 test -z "$GREP" && GREP=grep
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378 # Check whether --with-gnu-ld was given.
7379 if test ${with_gnu_ld+y}
7380 then :
7381 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7382 else $as_nop
7383 with_gnu_ld=no
7384 fi
7385
7386 ac_prog=ld
7387 if test yes = "$GCC"; then
7388 # Check if gcc -print-prog-name=ld gives a path.
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7390 printf %s "checking for ld used by $CC... " >&6; }
7391 case $host in
7392 *-*-mingw*)
7393 # gcc leaves a trailing carriage return, which upsets mingw
7394 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7395 *)
7396 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7397 esac
7398 case $ac_prog in
7399 # Accept absolute paths.
7400 [\\/]* | ?:[\\/]*)
7401 re_direlt='/[^/][^/]*/\.\./'
7402 # Canonicalize the pathname of ld
7403 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7404 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7405 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7406 done
7407 test -z "$LD" && LD=$ac_prog
7408 ;;
7409 "")
7410 # If it fails, then pretend we aren't using GCC.
7411 ac_prog=ld
7412 ;;
7413 *)
7414 # If it is relative, then search for the first ld in PATH.
7415 with_gnu_ld=unknown
7416 ;;
7417 esac
7418 elif test yes = "$with_gnu_ld"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7420 printf %s "checking for GNU ld... " >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7423 printf %s "checking for non-GNU ld... " >&6; }
7424 fi
7425 if test ${lt_cv_path_LD+y}
7426 then :
7427 printf %s "(cached) " >&6
7428 else $as_nop
7429 if test -z "$LD"; then
7430 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7431 for ac_dir in $PATH; do
7432 IFS=$lt_save_ifs
7433 test -z "$ac_dir" && ac_dir=.
7434 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7435 lt_cv_path_LD=$ac_dir/$ac_prog
7436 # Check to see if the program is GNU ld. I'd rather use --version,
7437 # but apparently some variants of GNU ld only accept -v.
7438 # Break only if it was the GNU/non-GNU ld that we prefer.
7439 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7440 *GNU* | *'with BFD'*)
7441 test no != "$with_gnu_ld" && break
7442 ;;
7443 *)
7444 test yes != "$with_gnu_ld" && break
7445 ;;
7446 esac
7447 fi
7448 done
7449 IFS=$lt_save_ifs
7450 else
7451 lt_cv_path_LD=$LD # Let the user override the test with a path.
7452 fi
7453 fi
7454
7455 LD=$lt_cv_path_LD
7456 if test -n "$LD"; then
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7458 printf "%s\n" "$LD" >&6; }
7459 else
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 printf "%s\n" "no" >&6; }
7462 fi
7463 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7465 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
7466 if test ${lt_cv_prog_gnu_ld+y}
7467 then :
7468 printf %s "(cached) " >&6
7469 else $as_nop
7470 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7471 case `$LD -v 2>&1 </dev/null` in
7472 *GNU* | *'with BFD'*)
7473 lt_cv_prog_gnu_ld=yes
7474 ;;
7475 *)
7476 lt_cv_prog_gnu_ld=no
7477 ;;
7478 esac
7479 fi
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7481 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
7482 with_gnu_ld=$lt_cv_prog_gnu_ld
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7493 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7494 if test ${lt_cv_path_NM+y}
7495 then :
7496 printf %s "(cached) " >&6
7497 else $as_nop
7498 if test -n "$NM"; then
7499 # Let the user override the test.
7500 lt_cv_path_NM=$NM
7501 else
7502 lt_nm_to_check=${ac_tool_prefix}nm
7503 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7504 lt_nm_to_check="$lt_nm_to_check nm"
7505 fi
7506 for lt_tmp_nm in $lt_nm_to_check; do
7507 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7508 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7509 IFS=$lt_save_ifs
7510 test -z "$ac_dir" && ac_dir=.
7511 tmp_nm=$ac_dir/$lt_tmp_nm
7512 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7513 # Check to see if the nm accepts a BSD-compat flag.
7514 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7515 # nm: unknown option "B" ignored
7516 # Tru64's nm complains that /dev/null is an invalid object file
7517 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7518 case $build_os in
7519 mingw*) lt_bad_file=conftest.nm/nofile ;;
7520 *) lt_bad_file=/dev/null ;;
7521 esac
7522 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
7523 *$lt_bad_file* | *'Invalid file or object type'*)
7524 lt_cv_path_NM="$tmp_nm -B"
7525 break 2
7526 ;;
7527 *)
7528 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
7529 */dev/null*)
7530 lt_cv_path_NM="$tmp_nm -p"
7531 break 2
7532 ;;
7533 *)
7534 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7535 continue # so that we can try to find one that supports BSD flags
7536 ;;
7537 esac
7538 ;;
7539 esac
7540 fi
7541 done
7542 IFS=$lt_save_ifs
7543 done
7544 : ${lt_cv_path_NM=no}
7545 fi
7546 fi
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7548 printf "%s\n" "$lt_cv_path_NM" >&6; }
7549 if test no != "$lt_cv_path_NM"; then
7550 NM=$lt_cv_path_NM
7551 else
7552 # Didn't find any BSD compatible name lister, look for dumpbin.
7553 if test -n "$DUMPBIN"; then :
7554 # Let the user override the test.
7555 else
7556 if test -n "$ac_tool_prefix"; then
7557 for ac_prog in dumpbin "link -dump"
7558 do
7559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 printf %s "checking for $ac_word... " >&6; }
7563 if test ${ac_cv_prog_DUMPBIN+y}
7564 then :
7565 printf %s "(cached) " >&6
7566 else $as_nop
7567 if test -n "$DUMPBIN"; then
7568 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573 IFS=$as_save_IFS
7574 case $as_dir in #(((
7575 '') as_dir=./ ;;
7576 */) ;;
7577 *) as_dir=$as_dir/ ;;
7578 esac
7579 for ac_exec_ext in '' $ac_executable_extensions; do
7580 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7583 break 2
7584 fi
7585 done
7586 done
7587 IFS=$as_save_IFS
7588
7589 fi
7590 fi
7591 DUMPBIN=$ac_cv_prog_DUMPBIN
7592 if test -n "$DUMPBIN"; then
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7594 printf "%s\n" "$DUMPBIN" >&6; }
7595 else
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 printf "%s\n" "no" >&6; }
7598 fi
7599
7600
7601 test -n "$DUMPBIN" && break
7602 done
7603 fi
7604 if test -z "$DUMPBIN"; then
7605 ac_ct_DUMPBIN=$DUMPBIN
7606 for ac_prog in dumpbin "link -dump"
7607 do
7608 # Extract the first word of "$ac_prog", so it can be a program name with args.
7609 set dummy $ac_prog; ac_word=$2
7610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 printf %s "checking for $ac_word... " >&6; }
7612 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
7613 then :
7614 printf %s "(cached) " >&6
7615 else $as_nop
7616 if test -n "$ac_ct_DUMPBIN"; then
7617 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7618 else
7619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 for as_dir in $PATH
7621 do
7622 IFS=$as_save_IFS
7623 case $as_dir in #(((
7624 '') as_dir=./ ;;
7625 */) ;;
7626 *) as_dir=$as_dir/ ;;
7627 esac
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7630 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7632 break 2
7633 fi
7634 done
7635 done
7636 IFS=$as_save_IFS
7637
7638 fi
7639 fi
7640 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7641 if test -n "$ac_ct_DUMPBIN"; then
7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7643 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
7644 else
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 printf "%s\n" "no" >&6; }
7647 fi
7648
7649
7650 test -n "$ac_ct_DUMPBIN" && break
7651 done
7652
7653 if test "x$ac_ct_DUMPBIN" = x; then
7654 DUMPBIN=":"
7655 else
7656 case $cross_compiling:$ac_tool_warned in
7657 yes:)
7658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7659 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7660 ac_tool_warned=yes ;;
7661 esac
7662 DUMPBIN=$ac_ct_DUMPBIN
7663 fi
7664 fi
7665
7666 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
7667 *COFF*)
7668 DUMPBIN="$DUMPBIN -symbols -headers"
7669 ;;
7670 *)
7671 DUMPBIN=:
7672 ;;
7673 esac
7674 fi
7675
7676 if test : != "$DUMPBIN"; then
7677 NM=$DUMPBIN
7678 fi
7679 fi
7680 test -z "$NM" && NM=nm
7681
7682
7683
7684
7685
7686
7687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7688 printf %s "checking the name lister ($NM) interface... " >&6; }
7689 if test ${lt_cv_nm_interface+y}
7690 then :
7691 printf %s "(cached) " >&6
7692 else $as_nop
7693 lt_cv_nm_interface="BSD nm"
7694 echo "int some_variable = 0;" > conftest.$ac_ext
7695 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7696 (eval "$ac_compile" 2>conftest.err)
7697 cat conftest.err >&5
7698 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7699 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7700 cat conftest.err >&5
7701 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7702 cat conftest.out >&5
7703 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7704 lt_cv_nm_interface="MS dumpbin"
7705 fi
7706 rm -f conftest*
7707 fi
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7709 printf "%s\n" "$lt_cv_nm_interface" >&6; }
7710
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7712 printf %s "checking whether ln -s works... " >&6; }
7713 LN_S=$as_ln_s
7714 if test "$LN_S" = "ln -s"; then
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7716 printf "%s\n" "yes" >&6; }
7717 else
7718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7719 printf "%s\n" "no, using $LN_S" >&6; }
7720 fi
7721
7722 # find the maximum length of command line arguments
7723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7724 printf %s "checking the maximum length of command line arguments... " >&6; }
7725 if test ${lt_cv_sys_max_cmd_len+y}
7726 then :
7727 printf %s "(cached) " >&6
7728 else $as_nop
7729 i=0
7730 teststring=ABCD
7731
7732 case $build_os in
7733 msdosdjgpp*)
7734 # On DJGPP, this test can blow up pretty badly due to problems in libc
7735 # (any single argument exceeding 2000 bytes causes a buffer overrun
7736 # during glob expansion). Even if it were fixed, the result of this
7737 # check would be larger than it should be.
7738 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7739 ;;
7740
7741 gnu*)
7742 # Under GNU Hurd, this test is not required because there is
7743 # no limit to the length of command line arguments.
7744 # Libtool will interpret -1 as no limit whatsoever
7745 lt_cv_sys_max_cmd_len=-1;
7746 ;;
7747
7748 cygwin* | mingw* | cegcc*)
7749 # On Win9x/ME, this test blows up -- it succeeds, but takes
7750 # about 5 minutes as the teststring grows exponentially.
7751 # Worse, since 9x/ME are not pre-emptively multitasking,
7752 # you end up with a "frozen" computer, even though with patience
7753 # the test eventually succeeds (with a max line length of 256k).
7754 # Instead, let's just punt: use the minimum linelength reported by
7755 # all of the supported platforms: 8192 (on NT/2K/XP).
7756 lt_cv_sys_max_cmd_len=8192;
7757 ;;
7758
7759 mint*)
7760 # On MiNT this can take a long time and run out of memory.
7761 lt_cv_sys_max_cmd_len=8192;
7762 ;;
7763
7764 amigaos*)
7765 # On AmigaOS with pdksh, this test takes hours, literally.
7766 # So we just punt and use a minimum line length of 8192.
7767 lt_cv_sys_max_cmd_len=8192;
7768 ;;
7769
7770 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
7771 # This has been around since 386BSD, at least. Likely further.
7772 if test -x /sbin/sysctl; then
7773 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7774 elif test -x /usr/sbin/sysctl; then
7775 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7776 else
7777 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7778 fi
7779 # And add a safety zone
7780 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7781 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7782 ;;
7783
7784 interix*)
7785 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7786 lt_cv_sys_max_cmd_len=196608
7787 ;;
7788
7789 os2*)
7790 # The test takes a long time on OS/2.
7791 lt_cv_sys_max_cmd_len=8192
7792 ;;
7793
7794 osf*)
7795 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7796 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7797 # nice to cause kernel panics so lets avoid the loop below.
7798 # First set a reasonable default.
7799 lt_cv_sys_max_cmd_len=16384
7800 #
7801 if test -x /sbin/sysconfig; then
7802 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7803 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7804 esac
7805 fi
7806 ;;
7807 sco3.2v5*)
7808 lt_cv_sys_max_cmd_len=102400
7809 ;;
7810 sysv5* | sco5v6* | sysv4.2uw2*)
7811 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7812 if test -n "$kargmax"; then
7813 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
7814 else
7815 lt_cv_sys_max_cmd_len=32768
7816 fi
7817 ;;
7818 *)
7819 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7820 if test -n "$lt_cv_sys_max_cmd_len" && \
7821 test undefined != "$lt_cv_sys_max_cmd_len"; then
7822 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7823 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7824 else
7825 # Make teststring a little bigger before we do anything with it.
7826 # a 1K string should be a reasonable start.
7827 for i in 1 2 3 4 5 6 7 8; do
7828 teststring=$teststring$teststring
7829 done
7830 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7831 # If test is not a shell built-in, we'll probably end up computing a
7832 # maximum length that is only half of the actual maximum length, but
7833 # we can't tell.
7834 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7835 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7836 test 17 != "$i" # 1/2 MB should be enough
7837 do
7838 i=`expr $i + 1`
7839 teststring=$teststring$teststring
7840 done
7841 # Only check the string length outside the loop.
7842 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7843 teststring=
7844 # Add a significant safety factor because C++ compilers can tack on
7845 # massive amounts of additional arguments before passing them to the
7846 # linker. It appears as though 1/2 is a usable value.
7847 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7848 fi
7849 ;;
7850 esac
7851
7852 fi
7853
7854 if test -n "$lt_cv_sys_max_cmd_len"; then
7855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7856 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
7857 else
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
7859 printf "%s\n" "none" >&6; }
7860 fi
7861 max_cmd_len=$lt_cv_sys_max_cmd_len
7862
7863
7864
7865
7866
7867
7868 : ${CP="cp -f"}
7869 : ${MV="mv -f"}
7870 : ${RM="rm -f"}
7871
7872 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7873 lt_unset=unset
7874 else
7875 lt_unset=false
7876 fi
7877
7878
7879
7880
7881
7882 # test EBCDIC or ASCII
7883 case `echo X|tr X '\101'` in
7884 A) # ASCII based system
7885 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7886 lt_SP2NL='tr \040 \012'
7887 lt_NL2SP='tr \015\012 \040\040'
7888 ;;
7889 *) # EBCDIC based system
7890 lt_SP2NL='tr \100 \n'
7891 lt_NL2SP='tr \r\n \100\100'
7892 ;;
7893 esac
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7904 printf %s "checking how to convert $build file names to $host format... " >&6; }
7905 if test ${lt_cv_to_host_file_cmd+y}
7906 then :
7907 printf %s "(cached) " >&6
7908 else $as_nop
7909 case $host in
7910 *-*-mingw* )
7911 case $build in
7912 *-*-mingw* ) # actually msys
7913 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7914 ;;
7915 *-*-cygwin* )
7916 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7917 ;;
7918 * ) # otherwise, assume *nix
7919 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7920 ;;
7921 esac
7922 ;;
7923 *-*-cygwin* )
7924 case $build in
7925 *-*-mingw* ) # actually msys
7926 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7927 ;;
7928 *-*-cygwin* )
7929 lt_cv_to_host_file_cmd=func_convert_file_noop
7930 ;;
7931 * ) # otherwise, assume *nix
7932 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7933 ;;
7934 esac
7935 ;;
7936 * ) # unhandled hosts (and "normal" native builds)
7937 lt_cv_to_host_file_cmd=func_convert_file_noop
7938 ;;
7939 esac
7940
7941 fi
7942
7943 to_host_file_cmd=$lt_cv_to_host_file_cmd
7944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7945 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
7946
7947
7948
7949
7950
7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7952 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
7953 if test ${lt_cv_to_tool_file_cmd+y}
7954 then :
7955 printf %s "(cached) " >&6
7956 else $as_nop
7957 #assume ordinary cross tools, or native build.
7958 lt_cv_to_tool_file_cmd=func_convert_file_noop
7959 case $host in
7960 *-*-mingw* )
7961 case $build in
7962 *-*-mingw* ) # actually msys
7963 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7964 ;;
7965 esac
7966 ;;
7967 esac
7968
7969 fi
7970
7971 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7973 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
7974
7975
7976
7977
7978
7979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7980 printf %s "checking for $LD option to reload object files... " >&6; }
7981 if test ${lt_cv_ld_reload_flag+y}
7982 then :
7983 printf %s "(cached) " >&6
7984 else $as_nop
7985 lt_cv_ld_reload_flag='-r'
7986 fi
7987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7988 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
7989 reload_flag=$lt_cv_ld_reload_flag
7990 case $reload_flag in
7991 "" | " "*) ;;
7992 *) reload_flag=" $reload_flag" ;;
7993 esac
7994 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7995 case $host_os in
7996 cygwin* | mingw* | pw32* | cegcc*)
7997 if test yes != "$GCC"; then
7998 reload_cmds=false
7999 fi
8000 ;;
8001 darwin*)
8002 if test yes = "$GCC"; then
8003 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8004 else
8005 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8006 fi
8007 ;;
8008 esac
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
8020 set dummy ${ac_tool_prefix}file; ac_word=$2
8021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 printf %s "checking for $ac_word... " >&6; }
8023 if test ${ac_cv_prog_FILECMD+y}
8024 then :
8025 printf %s "(cached) " >&6
8026 else $as_nop
8027 if test -n "$FILECMD"; then
8028 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8032 do
8033 IFS=$as_save_IFS
8034 case $as_dir in #(((
8035 '') as_dir=./ ;;
8036 */) ;;
8037 *) as_dir=$as_dir/ ;;
8038 esac
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8041 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
8042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8043 break 2
8044 fi
8045 done
8046 done
8047 IFS=$as_save_IFS
8048
8049 fi
8050 fi
8051 FILECMD=$ac_cv_prog_FILECMD
8052 if test -n "$FILECMD"; then
8053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
8054 printf "%s\n" "$FILECMD" >&6; }
8055 else
8056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8057 printf "%s\n" "no" >&6; }
8058 fi
8059
8060
8061 fi
8062 if test -z "$ac_cv_prog_FILECMD"; then
8063 ac_ct_FILECMD=$FILECMD
8064 # Extract the first word of "file", so it can be a program name with args.
8065 set dummy file; ac_word=$2
8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 printf %s "checking for $ac_word... " >&6; }
8068 if test ${ac_cv_prog_ac_ct_FILECMD+y}
8069 then :
8070 printf %s "(cached) " >&6
8071 else $as_nop
8072 if test -n "$ac_ct_FILECMD"; then
8073 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
8074 else
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 for as_dir in $PATH
8077 do
8078 IFS=$as_save_IFS
8079 case $as_dir in #(((
8080 '') as_dir=./ ;;
8081 */) ;;
8082 *) as_dir=$as_dir/ ;;
8083 esac
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_FILECMD="file"
8087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8088 break 2
8089 fi
8090 done
8091 done
8092 IFS=$as_save_IFS
8093
8094 fi
8095 fi
8096 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
8097 if test -n "$ac_ct_FILECMD"; then
8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
8099 printf "%s\n" "$ac_ct_FILECMD" >&6; }
8100 else
8101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 printf "%s\n" "no" >&6; }
8103 fi
8104
8105 if test "x$ac_ct_FILECMD" = x; then
8106 FILECMD=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 FILECMD=$ac_ct_FILECMD
8115 fi
8116 else
8117 FILECMD="$ac_cv_prog_FILECMD"
8118 fi
8119
8120
8121
8122
8123
8124
8125
8126 if test -n "$ac_tool_prefix"; then
8127 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8128 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8130 printf %s "checking for $ac_word... " >&6; }
8131 if test ${ac_cv_prog_OBJDUMP+y}
8132 then :
8133 printf %s "(cached) " >&6
8134 else $as_nop
8135 if test -n "$OBJDUMP"; then
8136 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8140 do
8141 IFS=$as_save_IFS
8142 case $as_dir in #(((
8143 '') as_dir=./ ;;
8144 */) ;;
8145 *) as_dir=$as_dir/ ;;
8146 esac
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8149 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8151 break 2
8152 fi
8153 done
8154 done
8155 IFS=$as_save_IFS
8156
8157 fi
8158 fi
8159 OBJDUMP=$ac_cv_prog_OBJDUMP
8160 if test -n "$OBJDUMP"; then
8161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8162 printf "%s\n" "$OBJDUMP" >&6; }
8163 else
8164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 printf "%s\n" "no" >&6; }
8166 fi
8167
8168
8169 fi
8170 if test -z "$ac_cv_prog_OBJDUMP"; then
8171 ac_ct_OBJDUMP=$OBJDUMP
8172 # Extract the first word of "objdump", so it can be a program name with args.
8173 set dummy objdump; ac_word=$2
8174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8175 printf %s "checking for $ac_word... " >&6; }
8176 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
8177 then :
8178 printf %s "(cached) " >&6
8179 else $as_nop
8180 if test -n "$ac_ct_OBJDUMP"; then
8181 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8182 else
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 for as_dir in $PATH
8185 do
8186 IFS=$as_save_IFS
8187 case $as_dir in #(((
8188 '') as_dir=./ ;;
8189 */) ;;
8190 *) as_dir=$as_dir/ ;;
8191 esac
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8196 break 2
8197 fi
8198 done
8199 done
8200 IFS=$as_save_IFS
8201
8202 fi
8203 fi
8204 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8205 if test -n "$ac_ct_OBJDUMP"; then
8206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8207 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
8208 else
8209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 printf "%s\n" "no" >&6; }
8211 fi
8212
8213 if test "x$ac_ct_OBJDUMP" = x; then
8214 OBJDUMP="false"
8215 else
8216 case $cross_compiling:$ac_tool_warned in
8217 yes:)
8218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8219 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8220 ac_tool_warned=yes ;;
8221 esac
8222 OBJDUMP=$ac_ct_OBJDUMP
8223 fi
8224 else
8225 OBJDUMP="$ac_cv_prog_OBJDUMP"
8226 fi
8227
8228 test -z "$OBJDUMP" && OBJDUMP=objdump
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8239 printf %s "checking how to recognize dependent libraries... " >&6; }
8240 if test ${lt_cv_deplibs_check_method+y}
8241 then :
8242 printf %s "(cached) " >&6
8243 else $as_nop
8244 lt_cv_file_magic_cmd='$MAGIC_CMD'
8245 lt_cv_file_magic_test_file=
8246 lt_cv_deplibs_check_method='unknown'
8247 # Need to set the preceding variable on all platforms that support
8248 # interlibrary dependencies.
8249 # 'none' -- dependencies not supported.
8250 # 'unknown' -- same as none, but documents that we really don't know.
8251 # 'pass_all' -- all dependencies passed with no checks.
8252 # 'test_compile' -- check by making test program.
8253 # 'file_magic [[regex]]' -- check by looking for files in library path
8254 # that responds to the $file_magic_cmd with a given extended regex.
8255 # If you have 'file' or equivalent on your system and you're not sure
8256 # whether 'pass_all' will *always* work, you probably want this one.
8257
8258 case $host_os in
8259 aix[4-9]*)
8260 lt_cv_deplibs_check_method=pass_all
8261 ;;
8262
8263 beos*)
8264 lt_cv_deplibs_check_method=pass_all
8265 ;;
8266
8267 bsdi[45]*)
8268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8269 lt_cv_file_magic_cmd='$FILECMD -L'
8270 lt_cv_file_magic_test_file=/shlib/libc.so
8271 ;;
8272
8273 cygwin*)
8274 # func_win32_libid is a shell function defined in ltmain.sh
8275 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8276 lt_cv_file_magic_cmd='func_win32_libid'
8277 ;;
8278
8279 mingw* | pw32*)
8280 # Base MSYS/MinGW do not provide the 'file' command needed by
8281 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8282 # unless we find 'file', for example because we are cross-compiling.
8283 if ( file / ) >/dev/null 2>&1; then
8284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8285 lt_cv_file_magic_cmd='func_win32_libid'
8286 else
8287 # Keep this pattern in sync with the one in func_win32_libid.
8288 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8289 lt_cv_file_magic_cmd='$OBJDUMP -f'
8290 fi
8291 ;;
8292
8293 cegcc*)
8294 # use the weaker test based on 'objdump'. See mingw*.
8295 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8296 lt_cv_file_magic_cmd='$OBJDUMP -f'
8297 ;;
8298
8299 darwin* | rhapsody*)
8300 lt_cv_deplibs_check_method=pass_all
8301 ;;
8302
8303 freebsd* | dragonfly* | midnightbsd*)
8304 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8305 case $host_cpu in
8306 i*86 )
8307 # Not sure whether the presence of OpenBSD here was a mistake.
8308 # Let's accept both of them until this is cleared up.
8309 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8310 lt_cv_file_magic_cmd=$FILECMD
8311 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8312 ;;
8313 esac
8314 else
8315 lt_cv_deplibs_check_method=pass_all
8316 fi
8317 ;;
8318
8319 haiku*)
8320 lt_cv_deplibs_check_method=pass_all
8321 ;;
8322
8323 hpux10.20* | hpux11*)
8324 lt_cv_file_magic_cmd=$FILECMD
8325 case $host_cpu in
8326 ia64*)
8327 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8328 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8329 ;;
8330 hppa*64*)
8331 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8332 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8333 ;;
8334 *)
8335 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8336 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8337 ;;
8338 esac
8339 ;;
8340
8341 interix[3-9]*)
8342 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8344 ;;
8345
8346 irix5* | irix6* | nonstopux*)
8347 case $LD in
8348 *-32|*"-32 ") libmagic=32-bit;;
8349 *-n32|*"-n32 ") libmagic=N32;;
8350 *-64|*"-64 ") libmagic=64-bit;;
8351 *) libmagic=never-match;;
8352 esac
8353 lt_cv_deplibs_check_method=pass_all
8354 ;;
8355
8356 # This must be glibc/ELF.
8357 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8358 lt_cv_deplibs_check_method=pass_all
8359 ;;
8360
8361 netbsd*)
8362 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8364 else
8365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8366 fi
8367 ;;
8368
8369 newos6*)
8370 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8371 lt_cv_file_magic_cmd=$FILECMD
8372 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8373 ;;
8374
8375 *nto* | *qnx*)
8376 lt_cv_deplibs_check_method=pass_all
8377 ;;
8378
8379 openbsd* | bitrig*)
8380 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8381 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8382 else
8383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8384 fi
8385 ;;
8386
8387 osf3* | osf4* | osf5*)
8388 lt_cv_deplibs_check_method=pass_all
8389 ;;
8390
8391 rdos*)
8392 lt_cv_deplibs_check_method=pass_all
8393 ;;
8394
8395 solaris*)
8396 lt_cv_deplibs_check_method=pass_all
8397 ;;
8398
8399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8400 lt_cv_deplibs_check_method=pass_all
8401 ;;
8402
8403 sysv4 | sysv4.3*)
8404 case $host_vendor in
8405 motorola)
8406 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
8407 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8408 ;;
8409 ncr)
8410 lt_cv_deplibs_check_method=pass_all
8411 ;;
8412 sequent)
8413 lt_cv_file_magic_cmd='/bin/file'
8414 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8415 ;;
8416 sni)
8417 lt_cv_file_magic_cmd='/bin/file'
8418 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8419 lt_cv_file_magic_test_file=/lib/libc.so
8420 ;;
8421 siemens)
8422 lt_cv_deplibs_check_method=pass_all
8423 ;;
8424 pc)
8425 lt_cv_deplibs_check_method=pass_all
8426 ;;
8427 esac
8428 ;;
8429
8430 tpf*)
8431 lt_cv_deplibs_check_method=pass_all
8432 ;;
8433 os2*)
8434 lt_cv_deplibs_check_method=pass_all
8435 ;;
8436 esac
8437
8438 fi
8439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8440 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
8441
8442 file_magic_glob=
8443 want_nocaseglob=no
8444 if test "$build" = "$host"; then
8445 case $host_os in
8446 mingw* | pw32*)
8447 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8448 want_nocaseglob=yes
8449 else
8450 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8451 fi
8452 ;;
8453 esac
8454 fi
8455
8456 file_magic_cmd=$lt_cv_file_magic_cmd
8457 deplibs_check_method=$lt_cv_deplibs_check_method
8458 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481 if test -n "$ac_tool_prefix"; then
8482 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8483 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8485 printf %s "checking for $ac_word... " >&6; }
8486 if test ${ac_cv_prog_DLLTOOL+y}
8487 then :
8488 printf %s "(cached) " >&6
8489 else $as_nop
8490 if test -n "$DLLTOOL"; then
8491 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8492 else
8493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8494 for as_dir in $PATH
8495 do
8496 IFS=$as_save_IFS
8497 case $as_dir in #(((
8498 '') as_dir=./ ;;
8499 */) ;;
8500 *) as_dir=$as_dir/ ;;
8501 esac
8502 for ac_exec_ext in '' $ac_executable_extensions; do
8503 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8506 break 2
8507 fi
8508 done
8509 done
8510 IFS=$as_save_IFS
8511
8512 fi
8513 fi
8514 DLLTOOL=$ac_cv_prog_DLLTOOL
8515 if test -n "$DLLTOOL"; then
8516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8517 printf "%s\n" "$DLLTOOL" >&6; }
8518 else
8519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 printf "%s\n" "no" >&6; }
8521 fi
8522
8523
8524 fi
8525 if test -z "$ac_cv_prog_DLLTOOL"; then
8526 ac_ct_DLLTOOL=$DLLTOOL
8527 # Extract the first word of "dlltool", so it can be a program name with args.
8528 set dummy dlltool; ac_word=$2
8529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530 printf %s "checking for $ac_word... " >&6; }
8531 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
8532 then :
8533 printf %s "(cached) " >&6
8534 else $as_nop
8535 if test -n "$ac_ct_DLLTOOL"; then
8536 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8537 else
8538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8539 for as_dir in $PATH
8540 do
8541 IFS=$as_save_IFS
8542 case $as_dir in #(((
8543 '') as_dir=./ ;;
8544 */) ;;
8545 *) as_dir=$as_dir/ ;;
8546 esac
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8549 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8551 break 2
8552 fi
8553 done
8554 done
8555 IFS=$as_save_IFS
8556
8557 fi
8558 fi
8559 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8560 if test -n "$ac_ct_DLLTOOL"; then
8561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8562 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
8563 else
8564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565 printf "%s\n" "no" >&6; }
8566 fi
8567
8568 if test "x$ac_ct_DLLTOOL" = x; then
8569 DLLTOOL="false"
8570 else
8571 case $cross_compiling:$ac_tool_warned in
8572 yes:)
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8574 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8575 ac_tool_warned=yes ;;
8576 esac
8577 DLLTOOL=$ac_ct_DLLTOOL
8578 fi
8579 else
8580 DLLTOOL="$ac_cv_prog_DLLTOOL"
8581 fi
8582
8583 test -z "$DLLTOOL" && DLLTOOL=dlltool
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8595 printf %s "checking how to associate runtime and link libraries... " >&6; }
8596 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
8597 then :
8598 printf %s "(cached) " >&6
8599 else $as_nop
8600 lt_cv_sharedlib_from_linklib_cmd='unknown'
8601
8602 case $host_os in
8603 cygwin* | mingw* | pw32* | cegcc*)
8604 # two different shell functions defined in ltmain.sh;
8605 # decide which one to use based on capabilities of $DLLTOOL
8606 case `$DLLTOOL --help 2>&1` in
8607 *--identify-strict*)
8608 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8609 ;;
8610 *)
8611 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8612 ;;
8613 esac
8614 ;;
8615 *)
8616 # fallback: assume linklib IS sharedlib
8617 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8618 ;;
8619 esac
8620
8621 fi
8622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8623 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8624 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8625 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8626
8627
8628
8629
8630
8631
8632
8633 if test -n "$ac_tool_prefix"; then
8634 for ac_prog in ar
8635 do
8636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8639 printf %s "checking for $ac_word... " >&6; }
8640 if test ${ac_cv_prog_AR+y}
8641 then :
8642 printf %s "(cached) " >&6
8643 else $as_nop
8644 if test -n "$AR"; then
8645 ac_cv_prog_AR="$AR" # Let the user override the test.
8646 else
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 for as_dir in $PATH
8649 do
8650 IFS=$as_save_IFS
8651 case $as_dir in #(((
8652 '') as_dir=./ ;;
8653 */) ;;
8654 *) as_dir=$as_dir/ ;;
8655 esac
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8660 break 2
8661 fi
8662 done
8663 done
8664 IFS=$as_save_IFS
8665
8666 fi
8667 fi
8668 AR=$ac_cv_prog_AR
8669 if test -n "$AR"; then
8670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8671 printf "%s\n" "$AR" >&6; }
8672 else
8673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 printf "%s\n" "no" >&6; }
8675 fi
8676
8677
8678 test -n "$AR" && break
8679 done
8680 fi
8681 if test -z "$AR"; then
8682 ac_ct_AR=$AR
8683 for ac_prog in ar
8684 do
8685 # Extract the first word of "$ac_prog", so it can be a program name with args.
8686 set dummy $ac_prog; ac_word=$2
8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8688 printf %s "checking for $ac_word... " >&6; }
8689 if test ${ac_cv_prog_ac_ct_AR+y}
8690 then :
8691 printf %s "(cached) " >&6
8692 else $as_nop
8693 if test -n "$ac_ct_AR"; then
8694 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8695 else
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 for as_dir in $PATH
8698 do
8699 IFS=$as_save_IFS
8700 case $as_dir in #(((
8701 '') as_dir=./ ;;
8702 */) ;;
8703 *) as_dir=$as_dir/ ;;
8704 esac
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8707 ac_cv_prog_ac_ct_AR="$ac_prog"
8708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8709 break 2
8710 fi
8711 done
8712 done
8713 IFS=$as_save_IFS
8714
8715 fi
8716 fi
8717 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8718 if test -n "$ac_ct_AR"; then
8719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8720 printf "%s\n" "$ac_ct_AR" >&6; }
8721 else
8722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 printf "%s\n" "no" >&6; }
8724 fi
8725
8726
8727 test -n "$ac_ct_AR" && break
8728 done
8729
8730 if test "x$ac_ct_AR" = x; then
8731 AR="false"
8732 else
8733 case $cross_compiling:$ac_tool_warned in
8734 yes:)
8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8737 ac_tool_warned=yes ;;
8738 esac
8739 AR=$ac_ct_AR
8740 fi
8741 fi
8742
8743 : ${AR=ar}
8744
8745
8746
8747
8748
8749
8750 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
8751 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
8752 # higher priority because thats what people were doing historically (setting
8753 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
8754 # variable obsoleted/removed.
8755
8756 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
8757 lt_ar_flags=$AR_FLAGS
8758
8759
8760
8761
8762
8763
8764 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
8765 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
8766
8767
8768
8769
8770
8771
8772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8773 printf %s "checking for archiver @FILE support... " >&6; }
8774 if test ${lt_cv_ar_at_file+y}
8775 then :
8776 printf %s "(cached) " >&6
8777 else $as_nop
8778 lt_cv_ar_at_file=no
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781
8782 int
8783 main (void)
8784 {
8785
8786 ;
8787 return 0;
8788 }
8789 _ACEOF
8790 if ac_fn_c_try_compile "$LINENO"
8791 then :
8792 echo conftest.$ac_objext > conftest.lst
8793 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8794 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8795 (eval $lt_ar_try) 2>&5
8796 ac_status=$?
8797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8798 test $ac_status = 0; }
8799 if test 0 -eq "$ac_status"; then
8800 # Ensure the archiver fails upon bogus file names.
8801 rm -f conftest.$ac_objext libconftest.a
8802 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8803 (eval $lt_ar_try) 2>&5
8804 ac_status=$?
8805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8806 test $ac_status = 0; }
8807 if test 0 -ne "$ac_status"; then
8808 lt_cv_ar_at_file=@
8809 fi
8810 fi
8811 rm -f conftest.* libconftest.a
8812
8813 fi
8814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8815
8816 fi
8817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8818 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
8819
8820 if test no = "$lt_cv_ar_at_file"; then
8821 archiver_list_spec=
8822 else
8823 archiver_list_spec=$lt_cv_ar_at_file
8824 fi
8825
8826
8827
8828
8829
8830
8831
8832 if test -n "$ac_tool_prefix"; then
8833 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8834 set dummy ${ac_tool_prefix}strip; ac_word=$2
8835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 printf %s "checking for $ac_word... " >&6; }
8837 if test ${ac_cv_prog_STRIP+y}
8838 then :
8839 printf %s "(cached) " >&6
8840 else $as_nop
8841 if test -n "$STRIP"; then
8842 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8843 else
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 for as_dir in $PATH
8846 do
8847 IFS=$as_save_IFS
8848 case $as_dir in #(((
8849 '') as_dir=./ ;;
8850 */) ;;
8851 *) as_dir=$as_dir/ ;;
8852 esac
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8857 break 2
8858 fi
8859 done
8860 done
8861 IFS=$as_save_IFS
8862
8863 fi
8864 fi
8865 STRIP=$ac_cv_prog_STRIP
8866 if test -n "$STRIP"; then
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8868 printf "%s\n" "$STRIP" >&6; }
8869 else
8870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 printf "%s\n" "no" >&6; }
8872 fi
8873
8874
8875 fi
8876 if test -z "$ac_cv_prog_STRIP"; then
8877 ac_ct_STRIP=$STRIP
8878 # Extract the first word of "strip", so it can be a program name with args.
8879 set dummy strip; ac_word=$2
8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8881 printf %s "checking for $ac_word... " >&6; }
8882 if test ${ac_cv_prog_ac_ct_STRIP+y}
8883 then :
8884 printf %s "(cached) " >&6
8885 else $as_nop
8886 if test -n "$ac_ct_STRIP"; then
8887 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8888 else
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 for as_dir in $PATH
8891 do
8892 IFS=$as_save_IFS
8893 case $as_dir in #(((
8894 '') as_dir=./ ;;
8895 */) ;;
8896 *) as_dir=$as_dir/ ;;
8897 esac
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8900 ac_cv_prog_ac_ct_STRIP="strip"
8901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8902 break 2
8903 fi
8904 done
8905 done
8906 IFS=$as_save_IFS
8907
8908 fi
8909 fi
8910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8911 if test -n "$ac_ct_STRIP"; then
8912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8913 printf "%s\n" "$ac_ct_STRIP" >&6; }
8914 else
8915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 printf "%s\n" "no" >&6; }
8917 fi
8918
8919 if test "x$ac_ct_STRIP" = x; then
8920 STRIP=":"
8921 else
8922 case $cross_compiling:$ac_tool_warned in
8923 yes:)
8924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8926 ac_tool_warned=yes ;;
8927 esac
8928 STRIP=$ac_ct_STRIP
8929 fi
8930 else
8931 STRIP="$ac_cv_prog_STRIP"
8932 fi
8933
8934 test -z "$STRIP" && STRIP=:
8935
8936
8937
8938
8939
8940
8941 if test -n "$ac_tool_prefix"; then
8942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8943 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8945 printf %s "checking for $ac_word... " >&6; }
8946 if test ${ac_cv_prog_RANLIB+y}
8947 then :
8948 printf %s "(cached) " >&6
8949 else $as_nop
8950 if test -n "$RANLIB"; then
8951 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8952 else
8953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 for as_dir in $PATH
8955 do
8956 IFS=$as_save_IFS
8957 case $as_dir in #(((
8958 '') as_dir=./ ;;
8959 */) ;;
8960 *) as_dir=$as_dir/ ;;
8961 esac
8962 for ac_exec_ext in '' $ac_executable_extensions; do
8963 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8964 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8966 break 2
8967 fi
8968 done
8969 done
8970 IFS=$as_save_IFS
8971
8972 fi
8973 fi
8974 RANLIB=$ac_cv_prog_RANLIB
8975 if test -n "$RANLIB"; then
8976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8977 printf "%s\n" "$RANLIB" >&6; }
8978 else
8979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 printf "%s\n" "no" >&6; }
8981 fi
8982
8983
8984 fi
8985 if test -z "$ac_cv_prog_RANLIB"; then
8986 ac_ct_RANLIB=$RANLIB
8987 # Extract the first word of "ranlib", so it can be a program name with args.
8988 set dummy ranlib; ac_word=$2
8989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8990 printf %s "checking for $ac_word... " >&6; }
8991 if test ${ac_cv_prog_ac_ct_RANLIB+y}
8992 then :
8993 printf %s "(cached) " >&6
8994 else $as_nop
8995 if test -n "$ac_ct_RANLIB"; then
8996 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8997 else
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 for as_dir in $PATH
9000 do
9001 IFS=$as_save_IFS
9002 case $as_dir in #(((
9003 '') as_dir=./ ;;
9004 */) ;;
9005 *) as_dir=$as_dir/ ;;
9006 esac
9007 for ac_exec_ext in '' $ac_executable_extensions; do
9008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9009 ac_cv_prog_ac_ct_RANLIB="ranlib"
9010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9011 break 2
9012 fi
9013 done
9014 done
9015 IFS=$as_save_IFS
9016
9017 fi
9018 fi
9019 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9020 if test -n "$ac_ct_RANLIB"; then
9021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9022 printf "%s\n" "$ac_ct_RANLIB" >&6; }
9023 else
9024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9025 printf "%s\n" "no" >&6; }
9026 fi
9027
9028 if test "x$ac_ct_RANLIB" = x; then
9029 RANLIB=":"
9030 else
9031 case $cross_compiling:$ac_tool_warned in
9032 yes:)
9033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9034 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9035 ac_tool_warned=yes ;;
9036 esac
9037 RANLIB=$ac_ct_RANLIB
9038 fi
9039 else
9040 RANLIB="$ac_cv_prog_RANLIB"
9041 fi
9042
9043 test -z "$RANLIB" && RANLIB=:
9044
9045
9046
9047
9048
9049
9050 # Determine commands to create old-style static archives.
9051 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9052 old_postinstall_cmds='chmod 644 $oldlib'
9053 old_postuninstall_cmds=
9054
9055 if test -n "$RANLIB"; then
9056 case $host_os in
9057 bitrig* | openbsd*)
9058 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9059 ;;
9060 *)
9061 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9062 ;;
9063 esac
9064 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9065 fi
9066
9067 case $host_os in
9068 darwin*)
9069 lock_old_archive_extraction=yes ;;
9070 *)
9071 lock_old_archive_extraction=no ;;
9072 esac
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112 # If no C compiler was specified, use CC.
9113 LTCC=${LTCC-"$CC"}
9114
9115 # If no C compiler flags were specified, use CFLAGS.
9116 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9117
9118 # Allow CC to be a program name with arguments.
9119 compiler=$CC
9120
9121
9122 # Check for command to grab the raw symbol name followed by C symbol from nm.
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9124 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
9125 if test ${lt_cv_sys_global_symbol_pipe+y}
9126 then :
9127 printf %s "(cached) " >&6
9128 else $as_nop
9129
9130 # These are sane defaults that work on at least a few old systems.
9131 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9132
9133 # Character class describing NM global symbol codes.
9134 symcode='[BCDEGRST]'
9135
9136 # Regexp to match symbols that can be accessed directly from C.
9137 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9138
9139 # Define system-specific variables.
9140 case $host_os in
9141 aix*)
9142 symcode='[BCDT]'
9143 ;;
9144 cygwin* | mingw* | pw32* | cegcc*)
9145 symcode='[ABCDGISTW]'
9146 ;;
9147 hpux*)
9148 if test ia64 = "$host_cpu"; then
9149 symcode='[ABCDEGRST]'
9150 fi
9151 ;;
9152 irix* | nonstopux*)
9153 symcode='[BCDEGRST]'
9154 ;;
9155 osf*)
9156 symcode='[BCDEGQRST]'
9157 ;;
9158 solaris*)
9159 symcode='[BDRT]'
9160 ;;
9161 sco3.2v5*)
9162 symcode='[DT]'
9163 ;;
9164 sysv4.2uw2*)
9165 symcode='[DT]'
9166 ;;
9167 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9168 symcode='[ABDT]'
9169 ;;
9170 sysv4)
9171 symcode='[DFNSTU]'
9172 ;;
9173 esac
9174
9175 # If we're using GNU nm, then use its standard symbol codes.
9176 case `$NM -V 2>&1` in
9177 *GNU* | *'with BFD'*)
9178 symcode='[ABCDGIRSTW]' ;;
9179 esac
9180
9181 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9182 # Gets list of data symbols to import.
9183 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
9184 # Adjust the below global symbol transforms to fixup imported variables.
9185 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9186 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9187 lt_c_name_lib_hook="\
9188 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9189 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9190 else
9191 # Disable hooks by default.
9192 lt_cv_sys_global_symbol_to_import=
9193 lt_cdecl_hook=
9194 lt_c_name_hook=
9195 lt_c_name_lib_hook=
9196 fi
9197
9198 # Transform an extracted symbol line into a proper C declaration.
9199 # Some systems (esp. on ia64) link data and code symbols differently,
9200 # so use this general approach.
9201 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
9202 $lt_cdecl_hook\
9203 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9204 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9205
9206 # Transform an extracted symbol line into symbol name and symbol address
9207 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
9208 $lt_c_name_hook\
9209 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9210 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9211
9212 # Transform an extracted symbol line into symbol name with lib prefix and
9213 # symbol address.
9214 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
9215 $lt_c_name_lib_hook\
9216 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9217 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9218 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9219
9220 # Handle CRLF in mingw tool chain
9221 opt_cr=
9222 case $build_os in
9223 mingw*)
9224 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9225 ;;
9226 esac
9227
9228 # Try without a prefix underscore, then with it.
9229 for ac_symprfx in "" "_"; do
9230
9231 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9232 symxfrm="\\1 $ac_symprfx\\2 \\2"
9233
9234 # Write the raw and C identifiers.
9235 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9236 # Fake it for dumpbin and say T for any non-static function,
9237 # D for any global variable and I for any imported variable.
9238 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
9239 # which start with @ or ?.
9240 lt_cv_sys_global_symbol_pipe="$AWK '"\
9241 " {last_section=section; section=\$ 3};"\
9242 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9243 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9244 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9245 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9246 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9247 " \$ 0!~/External *\|/{next};"\
9248 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9249 " {if(hide[section]) next};"\
9250 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9251 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9252 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9253 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9254 " ' prfx=^$ac_symprfx"
9255 else
9256 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9257 fi
9258 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
9259
9260 # Check to see that the pipe works correctly.
9261 pipe_works=no
9262
9263 rm -f conftest*
9264 cat > conftest.$ac_ext <<_LT_EOF
9265 #ifdef __cplusplus
9266 extern "C" {
9267 #endif
9268 char nm_test_var;
9269 void nm_test_func(void);
9270 void nm_test_func(void){}
9271 #ifdef __cplusplus
9272 }
9273 #endif
9274 int main(){nm_test_var='a';nm_test_func();return(0);}
9275 _LT_EOF
9276
9277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9278 (eval $ac_compile) 2>&5
9279 ac_status=$?
9280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9281 test $ac_status = 0; }; then
9282 # Now try to grab the symbols.
9283 nlist=conftest.nm
9284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9285 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9286 ac_status=$?
9287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9288 test $ac_status = 0; } && test -s "$nlist"; then
9289 # Try sorting and uniquifying the output.
9290 if sort "$nlist" | uniq > "$nlist"T; then
9291 mv -f "$nlist"T "$nlist"
9292 else
9293 rm -f "$nlist"T
9294 fi
9295
9296 # Make sure that we snagged all the symbols we need.
9297 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9298 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9299 cat <<_LT_EOF > conftest.$ac_ext
9300 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9301 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9302 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9303 relocations are performed -- see ld's documentation on pseudo-relocs. */
9304 # define LT_DLSYM_CONST
9305 #elif defined __osf__
9306 /* This system does not cope well with relocations in const data. */
9307 # define LT_DLSYM_CONST
9308 #else
9309 # define LT_DLSYM_CONST const
9310 #endif
9311
9312 #ifdef __cplusplus
9313 extern "C" {
9314 #endif
9315
9316 _LT_EOF
9317 # Now generate the symbol file.
9318 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9319
9320 cat <<_LT_EOF >> conftest.$ac_ext
9321
9322 /* The mapping between symbol names and symbols. */
9323 LT_DLSYM_CONST struct {
9324 const char *name;
9325 void *address;
9326 }
9327 lt__PROGRAM__LTX_preloaded_symbols[] =
9328 {
9329 { "@PROGRAM@", (void *) 0 },
9330 _LT_EOF
9331 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9332 cat <<\_LT_EOF >> conftest.$ac_ext
9333 {0, (void *) 0}
9334 };
9335
9336 /* This works around a problem in FreeBSD linker */
9337 #ifdef FREEBSD_WORKAROUND
9338 static const void *lt_preloaded_setup() {
9339 return lt__PROGRAM__LTX_preloaded_symbols;
9340 }
9341 #endif
9342
9343 #ifdef __cplusplus
9344 }
9345 #endif
9346 _LT_EOF
9347 # Now try linking the two files.
9348 mv conftest.$ac_objext conftstm.$ac_objext
9349 lt_globsym_save_LIBS=$LIBS
9350 lt_globsym_save_CFLAGS=$CFLAGS
9351 LIBS=conftstm.$ac_objext
9352 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9354 (eval $ac_link) 2>&5
9355 ac_status=$?
9356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9357 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9358 pipe_works=yes
9359 fi
9360 LIBS=$lt_globsym_save_LIBS
9361 CFLAGS=$lt_globsym_save_CFLAGS
9362 else
9363 echo "cannot find nm_test_func in $nlist" >&5
9364 fi
9365 else
9366 echo "cannot find nm_test_var in $nlist" >&5
9367 fi
9368 else
9369 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9370 fi
9371 else
9372 echo "$progname: failed program was:" >&5
9373 cat conftest.$ac_ext >&5
9374 fi
9375 rm -rf conftest* conftst*
9376
9377 # Do not use the global_symbol_pipe unless it works.
9378 if test yes = "$pipe_works"; then
9379 break
9380 else
9381 lt_cv_sys_global_symbol_pipe=
9382 fi
9383 done
9384
9385 fi
9386
9387 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9388 lt_cv_sys_global_symbol_to_cdecl=
9389 fi
9390 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9392 printf "%s\n" "failed" >&6; }
9393 else
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9395 printf "%s\n" "ok" >&6; }
9396 fi
9397
9398 # Response file support.
9399 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9400 nm_file_list_spec='@'
9401 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9402 nm_file_list_spec='@'
9403 fi
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9442 printf %s "checking for sysroot... " >&6; }
9443
9444 # Check whether --with-sysroot was given.
9445 if test ${with_sysroot+y}
9446 then :
9447 withval=$with_sysroot;
9448 else $as_nop
9449 with_sysroot=no
9450 fi
9451
9452
9453 lt_sysroot=
9454 case $with_sysroot in #(
9455 yes)
9456 if test yes = "$GCC"; then
9457 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9458 fi
9459 ;; #(
9460 /*)
9461 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
9462 ;; #(
9463 no|'')
9464 ;; #(
9465 *)
9466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9467 printf "%s\n" "$with_sysroot" >&6; }
9468 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9469 ;;
9470 esac
9471
9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9473 printf "%s\n" "${lt_sysroot:-no}" >&6; }
9474
9475
9476
9477
9478
9479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9480 printf %s "checking for a working dd... " >&6; }
9481 if test ${ac_cv_path_lt_DD+y}
9482 then :
9483 printf %s "(cached) " >&6
9484 else $as_nop
9485 printf 0123456789abcdef0123456789abcdef >conftest.i
9486 cat conftest.i conftest.i >conftest2.i
9487 : ${lt_DD:=$DD}
9488 if test -z "$lt_DD"; then
9489 ac_path_lt_DD_found=false
9490 # Loop through the user's path and test for each of PROGNAME-LIST
9491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9492 for as_dir in $PATH
9493 do
9494 IFS=$as_save_IFS
9495 case $as_dir in #(((
9496 '') as_dir=./ ;;
9497 */) ;;
9498 *) as_dir=$as_dir/ ;;
9499 esac
9500 for ac_prog in dd
9501 do
9502 for ac_exec_ext in '' $ac_executable_extensions; do
9503 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
9504 as_fn_executable_p "$ac_path_lt_DD" || continue
9505 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9506 cmp -s conftest.i conftest.out \
9507 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9508 fi
9509 $ac_path_lt_DD_found && break 3
9510 done
9511 done
9512 done
9513 IFS=$as_save_IFS
9514 if test -z "$ac_cv_path_lt_DD"; then
9515 :
9516 fi
9517 else
9518 ac_cv_path_lt_DD=$lt_DD
9519 fi
9520
9521 rm -f conftest.i conftest2.i conftest.out
9522 fi
9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9524 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
9525
9526
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9528 printf %s "checking how to truncate binary pipes... " >&6; }
9529 if test ${lt_cv_truncate_bin+y}
9530 then :
9531 printf %s "(cached) " >&6
9532 else $as_nop
9533 printf 0123456789abcdef0123456789abcdef >conftest.i
9534 cat conftest.i conftest.i >conftest2.i
9535 lt_cv_truncate_bin=
9536 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9537 cmp -s conftest.i conftest.out \
9538 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9539 fi
9540 rm -f conftest.i conftest2.i conftest.out
9541 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9542 fi
9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9544 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
9545
9546
9547
9548
9549
9550
9551
9552 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9553 func_cc_basename ()
9554 {
9555 for cc_temp in $*""; do
9556 case $cc_temp in
9557 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9558 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9559 \-*) ;;
9560 *) break;;
9561 esac
9562 done
9563 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9564 }
9565
9566 # Check whether --enable-libtool-lock was given.
9567 if test ${enable_libtool_lock+y}
9568 then :
9569 enableval=$enable_libtool_lock;
9570 fi
9571
9572 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9573
9574 # Some flags need to be propagated to the compiler or linker for good
9575 # libtool support.
9576 case $host in
9577 ia64-*-hpux*)
9578 # Find out what ABI is being produced by ac_compile, and set mode
9579 # options accordingly.
9580 echo 'int i;' > conftest.$ac_ext
9581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9582 (eval $ac_compile) 2>&5
9583 ac_status=$?
9584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9585 test $ac_status = 0; }; then
9586 case `$FILECMD conftest.$ac_objext` in
9587 *ELF-32*)
9588 HPUX_IA64_MODE=32
9589 ;;
9590 *ELF-64*)
9591 HPUX_IA64_MODE=64
9592 ;;
9593 esac
9594 fi
9595 rm -rf conftest*
9596 ;;
9597 *-*-irix6*)
9598 # Find out what ABI is being produced by ac_compile, and set linker
9599 # options accordingly.
9600 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9602 (eval $ac_compile) 2>&5
9603 ac_status=$?
9604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9605 test $ac_status = 0; }; then
9606 if test yes = "$lt_cv_prog_gnu_ld"; then
9607 case `$FILECMD conftest.$ac_objext` in
9608 *32-bit*)
9609 LD="${LD-ld} -melf32bsmip"
9610 ;;
9611 *N32*)
9612 LD="${LD-ld} -melf32bmipn32"
9613 ;;
9614 *64-bit*)
9615 LD="${LD-ld} -melf64bmip"
9616 ;;
9617 esac
9618 else
9619 case `$FILECMD conftest.$ac_objext` in
9620 *32-bit*)
9621 LD="${LD-ld} -32"
9622 ;;
9623 *N32*)
9624 LD="${LD-ld} -n32"
9625 ;;
9626 *64-bit*)
9627 LD="${LD-ld} -64"
9628 ;;
9629 esac
9630 fi
9631 fi
9632 rm -rf conftest*
9633 ;;
9634
9635 mips64*-*linux*)
9636 # Find out what ABI is being produced by ac_compile, and set linker
9637 # options accordingly.
9638 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9640 (eval $ac_compile) 2>&5
9641 ac_status=$?
9642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9643 test $ac_status = 0; }; then
9644 emul=elf
9645 case `$FILECMD conftest.$ac_objext` in
9646 *32-bit*)
9647 emul="${emul}32"
9648 ;;
9649 *64-bit*)
9650 emul="${emul}64"
9651 ;;
9652 esac
9653 case `$FILECMD conftest.$ac_objext` in
9654 *MSB*)
9655 emul="${emul}btsmip"
9656 ;;
9657 *LSB*)
9658 emul="${emul}ltsmip"
9659 ;;
9660 esac
9661 case `$FILECMD conftest.$ac_objext` in
9662 *N32*)
9663 emul="${emul}n32"
9664 ;;
9665 esac
9666 LD="${LD-ld} -m $emul"
9667 fi
9668 rm -rf conftest*
9669 ;;
9670
9671 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9672 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9673 # Find out what ABI is being produced by ac_compile, and set linker
9674 # options accordingly. Note that the listed cases only cover the
9675 # situations where additional linker options are needed (such as when
9676 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9677 # vice versa); the common cases where no linker options are needed do
9678 # not appear in the list.
9679 echo 'int i;' > conftest.$ac_ext
9680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9681 (eval $ac_compile) 2>&5
9682 ac_status=$?
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9684 test $ac_status = 0; }; then
9685 case `$FILECMD conftest.o` in
9686 *32-bit*)
9687 case $host in
9688 x86_64-*kfreebsd*-gnu)
9689 LD="${LD-ld} -m elf_i386_fbsd"
9690 ;;
9691 x86_64-*linux*)
9692 case `$FILECMD conftest.o` in
9693 *x86-64*)
9694 LD="${LD-ld} -m elf32_x86_64"
9695 ;;
9696 *)
9697 LD="${LD-ld} -m elf_i386"
9698 ;;
9699 esac
9700 ;;
9701 powerpc64le-*linux*)
9702 LD="${LD-ld} -m elf32lppclinux"
9703 ;;
9704 powerpc64-*linux*)
9705 LD="${LD-ld} -m elf32ppclinux"
9706 ;;
9707 s390x-*linux*)
9708 LD="${LD-ld} -m elf_s390"
9709 ;;
9710 sparc64-*linux*)
9711 LD="${LD-ld} -m elf32_sparc"
9712 ;;
9713 esac
9714 ;;
9715 *64-bit*)
9716 case $host in
9717 x86_64-*kfreebsd*-gnu)
9718 LD="${LD-ld} -m elf_x86_64_fbsd"
9719 ;;
9720 x86_64-*linux*)
9721 LD="${LD-ld} -m elf_x86_64"
9722 ;;
9723 powerpcle-*linux*)
9724 LD="${LD-ld} -m elf64lppc"
9725 ;;
9726 powerpc-*linux*)
9727 LD="${LD-ld} -m elf64ppc"
9728 ;;
9729 s390*-*linux*|s390*-*tpf*)
9730 LD="${LD-ld} -m elf64_s390"
9731 ;;
9732 sparc*-*linux*)
9733 LD="${LD-ld} -m elf64_sparc"
9734 ;;
9735 esac
9736 ;;
9737 esac
9738 fi
9739 rm -rf conftest*
9740 ;;
9741
9742 *-*-sco3.2v5*)
9743 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9744 SAVE_CFLAGS=$CFLAGS
9745 CFLAGS="$CFLAGS -belf"
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9747 printf %s "checking whether the C compiler needs -belf... " >&6; }
9748 if test ${lt_cv_cc_needs_belf+y}
9749 then :
9750 printf %s "(cached) " >&6
9751 else $as_nop
9752 ac_ext=c
9753 ac_cpp='$CPP $CPPFLAGS'
9754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9757
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760
9761 int
9762 main (void)
9763 {
9764
9765 ;
9766 return 0;
9767 }
9768 _ACEOF
9769 if ac_fn_c_try_link "$LINENO"
9770 then :
9771 lt_cv_cc_needs_belf=yes
9772 else $as_nop
9773 lt_cv_cc_needs_belf=no
9774 fi
9775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9776 conftest$ac_exeext conftest.$ac_ext
9777 ac_ext=c
9778 ac_cpp='$CPP $CPPFLAGS'
9779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9782
9783 fi
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9785 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
9786 if test yes != "$lt_cv_cc_needs_belf"; then
9787 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9788 CFLAGS=$SAVE_CFLAGS
9789 fi
9790 ;;
9791 *-*solaris*)
9792 # Find out what ABI is being produced by ac_compile, and set linker
9793 # options accordingly.
9794 echo 'int i;' > conftest.$ac_ext
9795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9796 (eval $ac_compile) 2>&5
9797 ac_status=$?
9798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9799 test $ac_status = 0; }; then
9800 case `$FILECMD conftest.o` in
9801 *64-bit*)
9802 case $lt_cv_prog_gnu_ld in
9803 yes*)
9804 case $host in
9805 i?86-*-solaris*|x86_64-*-solaris*)
9806 LD="${LD-ld} -m elf_x86_64"
9807 ;;
9808 sparc*-*-solaris*)
9809 LD="${LD-ld} -m elf64_sparc"
9810 ;;
9811 esac
9812 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9813 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9814 LD=${LD-ld}_sol2
9815 fi
9816 ;;
9817 *)
9818 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9819 LD="${LD-ld} -64"
9820 fi
9821 ;;
9822 esac
9823 ;;
9824 esac
9825 fi
9826 rm -rf conftest*
9827 ;;
9828 esac
9829
9830 need_locks=$enable_libtool_lock
9831
9832 if test -n "$ac_tool_prefix"; then
9833 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9834 set dummy ${ac_tool_prefix}mt; ac_word=$2
9835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9836 printf %s "checking for $ac_word... " >&6; }
9837 if test ${ac_cv_prog_MANIFEST_TOOL+y}
9838 then :
9839 printf %s "(cached) " >&6
9840 else $as_nop
9841 if test -n "$MANIFEST_TOOL"; then
9842 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9843 else
9844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9845 for as_dir in $PATH
9846 do
9847 IFS=$as_save_IFS
9848 case $as_dir in #(((
9849 '') as_dir=./ ;;
9850 */) ;;
9851 *) as_dir=$as_dir/ ;;
9852 esac
9853 for ac_exec_ext in '' $ac_executable_extensions; do
9854 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9855 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9857 break 2
9858 fi
9859 done
9860 done
9861 IFS=$as_save_IFS
9862
9863 fi
9864 fi
9865 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9866 if test -n "$MANIFEST_TOOL"; then
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9868 printf "%s\n" "$MANIFEST_TOOL" >&6; }
9869 else
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9871 printf "%s\n" "no" >&6; }
9872 fi
9873
9874
9875 fi
9876 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9877 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9878 # Extract the first word of "mt", so it can be a program name with args.
9879 set dummy mt; ac_word=$2
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9881 printf %s "checking for $ac_word... " >&6; }
9882 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
9883 then :
9884 printf %s "(cached) " >&6
9885 else $as_nop
9886 if test -n "$ac_ct_MANIFEST_TOOL"; then
9887 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9888 else
9889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 for as_dir in $PATH
9891 do
9892 IFS=$as_save_IFS
9893 case $as_dir in #(((
9894 '') as_dir=./ ;;
9895 */) ;;
9896 *) as_dir=$as_dir/ ;;
9897 esac
9898 for ac_exec_ext in '' $ac_executable_extensions; do
9899 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9900 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9902 break 2
9903 fi
9904 done
9905 done
9906 IFS=$as_save_IFS
9907
9908 fi
9909 fi
9910 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9911 if test -n "$ac_ct_MANIFEST_TOOL"; then
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9913 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
9914 else
9915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9916 printf "%s\n" "no" >&6; }
9917 fi
9918
9919 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9920 MANIFEST_TOOL=":"
9921 else
9922 case $cross_compiling:$ac_tool_warned in
9923 yes:)
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9926 ac_tool_warned=yes ;;
9927 esac
9928 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9929 fi
9930 else
9931 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9932 fi
9933
9934 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9936 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9937 if test ${lt_cv_path_mainfest_tool+y}
9938 then :
9939 printf %s "(cached) " >&6
9940 else $as_nop
9941 lt_cv_path_mainfest_tool=no
9942 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9943 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9944 cat conftest.err >&5
9945 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9946 lt_cv_path_mainfest_tool=yes
9947 fi
9948 rm -f conftest*
9949 fi
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9951 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
9952 if test yes != "$lt_cv_path_mainfest_tool"; then
9953 MANIFEST_TOOL=:
9954 fi
9955
9956
9957
9958
9959
9960
9961 case $host_os in
9962 rhapsody* | darwin*)
9963 if test -n "$ac_tool_prefix"; then
9964 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9965 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9967 printf %s "checking for $ac_word... " >&6; }
9968 if test ${ac_cv_prog_DSYMUTIL+y}
9969 then :
9970 printf %s "(cached) " >&6
9971 else $as_nop
9972 if test -n "$DSYMUTIL"; then
9973 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9974 else
9975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 for as_dir in $PATH
9977 do
9978 IFS=$as_save_IFS
9979 case $as_dir in #(((
9980 '') as_dir=./ ;;
9981 */) ;;
9982 *) as_dir=$as_dir/ ;;
9983 esac
9984 for ac_exec_ext in '' $ac_executable_extensions; do
9985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9986 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9988 break 2
9989 fi
9990 done
9991 done
9992 IFS=$as_save_IFS
9993
9994 fi
9995 fi
9996 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9997 if test -n "$DSYMUTIL"; then
9998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9999 printf "%s\n" "$DSYMUTIL" >&6; }
10000 else
10001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002 printf "%s\n" "no" >&6; }
10003 fi
10004
10005
10006 fi
10007 if test -z "$ac_cv_prog_DSYMUTIL"; then
10008 ac_ct_DSYMUTIL=$DSYMUTIL
10009 # Extract the first word of "dsymutil", so it can be a program name with args.
10010 set dummy dsymutil; ac_word=$2
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10012 printf %s "checking for $ac_word... " >&6; }
10013 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
10014 then :
10015 printf %s "(cached) " >&6
10016 else $as_nop
10017 if test -n "$ac_ct_DSYMUTIL"; then
10018 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10019 else
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10022 do
10023 IFS=$as_save_IFS
10024 case $as_dir in #(((
10025 '') as_dir=./ ;;
10026 */) ;;
10027 *) as_dir=$as_dir/ ;;
10028 esac
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10033 break 2
10034 fi
10035 done
10036 done
10037 IFS=$as_save_IFS
10038
10039 fi
10040 fi
10041 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10042 if test -n "$ac_ct_DSYMUTIL"; then
10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10044 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
10045 else
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10047 printf "%s\n" "no" >&6; }
10048 fi
10049
10050 if test "x$ac_ct_DSYMUTIL" = x; then
10051 DSYMUTIL=":"
10052 else
10053 case $cross_compiling:$ac_tool_warned in
10054 yes:)
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10057 ac_tool_warned=yes ;;
10058 esac
10059 DSYMUTIL=$ac_ct_DSYMUTIL
10060 fi
10061 else
10062 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10063 fi
10064
10065 if test -n "$ac_tool_prefix"; then
10066 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10067 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10069 printf %s "checking for $ac_word... " >&6; }
10070 if test ${ac_cv_prog_NMEDIT+y}
10071 then :
10072 printf %s "(cached) " >&6
10073 else $as_nop
10074 if test -n "$NMEDIT"; then
10075 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10076 else
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10079 do
10080 IFS=$as_save_IFS
10081 case $as_dir in #(((
10082 '') as_dir=./ ;;
10083 */) ;;
10084 *) as_dir=$as_dir/ ;;
10085 esac
10086 for ac_exec_ext in '' $ac_executable_extensions; do
10087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10088 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10090 break 2
10091 fi
10092 done
10093 done
10094 IFS=$as_save_IFS
10095
10096 fi
10097 fi
10098 NMEDIT=$ac_cv_prog_NMEDIT
10099 if test -n "$NMEDIT"; then
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10101 printf "%s\n" "$NMEDIT" >&6; }
10102 else
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 printf "%s\n" "no" >&6; }
10105 fi
10106
10107
10108 fi
10109 if test -z "$ac_cv_prog_NMEDIT"; then
10110 ac_ct_NMEDIT=$NMEDIT
10111 # Extract the first word of "nmedit", so it can be a program name with args.
10112 set dummy nmedit; ac_word=$2
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10114 printf %s "checking for $ac_word... " >&6; }
10115 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
10116 then :
10117 printf %s "(cached) " >&6
10118 else $as_nop
10119 if test -n "$ac_ct_NMEDIT"; then
10120 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10121 else
10122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123 for as_dir in $PATH
10124 do
10125 IFS=$as_save_IFS
10126 case $as_dir in #(((
10127 '') as_dir=./ ;;
10128 */) ;;
10129 *) as_dir=$as_dir/ ;;
10130 esac
10131 for ac_exec_ext in '' $ac_executable_extensions; do
10132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10133 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10135 break 2
10136 fi
10137 done
10138 done
10139 IFS=$as_save_IFS
10140
10141 fi
10142 fi
10143 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10144 if test -n "$ac_ct_NMEDIT"; then
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10146 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
10147 else
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10149 printf "%s\n" "no" >&6; }
10150 fi
10151
10152 if test "x$ac_ct_NMEDIT" = x; then
10153 NMEDIT=":"
10154 else
10155 case $cross_compiling:$ac_tool_warned in
10156 yes:)
10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10159 ac_tool_warned=yes ;;
10160 esac
10161 NMEDIT=$ac_ct_NMEDIT
10162 fi
10163 else
10164 NMEDIT="$ac_cv_prog_NMEDIT"
10165 fi
10166
10167 if test -n "$ac_tool_prefix"; then
10168 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10169 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10171 printf %s "checking for $ac_word... " >&6; }
10172 if test ${ac_cv_prog_LIPO+y}
10173 then :
10174 printf %s "(cached) " >&6
10175 else $as_nop
10176 if test -n "$LIPO"; then
10177 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10178 else
10179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10180 for as_dir in $PATH
10181 do
10182 IFS=$as_save_IFS
10183 case $as_dir in #(((
10184 '') as_dir=./ ;;
10185 */) ;;
10186 *) as_dir=$as_dir/ ;;
10187 esac
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10192 break 2
10193 fi
10194 done
10195 done
10196 IFS=$as_save_IFS
10197
10198 fi
10199 fi
10200 LIPO=$ac_cv_prog_LIPO
10201 if test -n "$LIPO"; then
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10203 printf "%s\n" "$LIPO" >&6; }
10204 else
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10206 printf "%s\n" "no" >&6; }
10207 fi
10208
10209
10210 fi
10211 if test -z "$ac_cv_prog_LIPO"; then
10212 ac_ct_LIPO=$LIPO
10213 # Extract the first word of "lipo", so it can be a program name with args.
10214 set dummy lipo; ac_word=$2
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 printf %s "checking for $ac_word... " >&6; }
10217 if test ${ac_cv_prog_ac_ct_LIPO+y}
10218 then :
10219 printf %s "(cached) " >&6
10220 else $as_nop
10221 if test -n "$ac_ct_LIPO"; then
10222 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10223 else
10224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10225 for as_dir in $PATH
10226 do
10227 IFS=$as_save_IFS
10228 case $as_dir in #(((
10229 '') as_dir=./ ;;
10230 */) ;;
10231 *) as_dir=$as_dir/ ;;
10232 esac
10233 for ac_exec_ext in '' $ac_executable_extensions; do
10234 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10235 ac_cv_prog_ac_ct_LIPO="lipo"
10236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10237 break 2
10238 fi
10239 done
10240 done
10241 IFS=$as_save_IFS
10242
10243 fi
10244 fi
10245 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10246 if test -n "$ac_ct_LIPO"; then
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10248 printf "%s\n" "$ac_ct_LIPO" >&6; }
10249 else
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10251 printf "%s\n" "no" >&6; }
10252 fi
10253
10254 if test "x$ac_ct_LIPO" = x; then
10255 LIPO=":"
10256 else
10257 case $cross_compiling:$ac_tool_warned in
10258 yes:)
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10260 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10261 ac_tool_warned=yes ;;
10262 esac
10263 LIPO=$ac_ct_LIPO
10264 fi
10265 else
10266 LIPO="$ac_cv_prog_LIPO"
10267 fi
10268
10269 if test -n "$ac_tool_prefix"; then
10270 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10271 set dummy ${ac_tool_prefix}otool; ac_word=$2
10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10273 printf %s "checking for $ac_word... " >&6; }
10274 if test ${ac_cv_prog_OTOOL+y}
10275 then :
10276 printf %s "(cached) " >&6
10277 else $as_nop
10278 if test -n "$OTOOL"; then
10279 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10280 else
10281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10282 for as_dir in $PATH
10283 do
10284 IFS=$as_save_IFS
10285 case $as_dir in #(((
10286 '') as_dir=./ ;;
10287 */) ;;
10288 *) as_dir=$as_dir/ ;;
10289 esac
10290 for ac_exec_ext in '' $ac_executable_extensions; do
10291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10292 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10294 break 2
10295 fi
10296 done
10297 done
10298 IFS=$as_save_IFS
10299
10300 fi
10301 fi
10302 OTOOL=$ac_cv_prog_OTOOL
10303 if test -n "$OTOOL"; then
10304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10305 printf "%s\n" "$OTOOL" >&6; }
10306 else
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10308 printf "%s\n" "no" >&6; }
10309 fi
10310
10311
10312 fi
10313 if test -z "$ac_cv_prog_OTOOL"; then
10314 ac_ct_OTOOL=$OTOOL
10315 # Extract the first word of "otool", so it can be a program name with args.
10316 set dummy otool; ac_word=$2
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10318 printf %s "checking for $ac_word... " >&6; }
10319 if test ${ac_cv_prog_ac_ct_OTOOL+y}
10320 then :
10321 printf %s "(cached) " >&6
10322 else $as_nop
10323 if test -n "$ac_ct_OTOOL"; then
10324 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10325 else
10326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10327 for as_dir in $PATH
10328 do
10329 IFS=$as_save_IFS
10330 case $as_dir in #(((
10331 '') as_dir=./ ;;
10332 */) ;;
10333 *) as_dir=$as_dir/ ;;
10334 esac
10335 for ac_exec_ext in '' $ac_executable_extensions; do
10336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10337 ac_cv_prog_ac_ct_OTOOL="otool"
10338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10339 break 2
10340 fi
10341 done
10342 done
10343 IFS=$as_save_IFS
10344
10345 fi
10346 fi
10347 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10348 if test -n "$ac_ct_OTOOL"; then
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10350 printf "%s\n" "$ac_ct_OTOOL" >&6; }
10351 else
10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10353 printf "%s\n" "no" >&6; }
10354 fi
10355
10356 if test "x$ac_ct_OTOOL" = x; then
10357 OTOOL=":"
10358 else
10359 case $cross_compiling:$ac_tool_warned in
10360 yes:)
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10362 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10363 ac_tool_warned=yes ;;
10364 esac
10365 OTOOL=$ac_ct_OTOOL
10366 fi
10367 else
10368 OTOOL="$ac_cv_prog_OTOOL"
10369 fi
10370
10371 if test -n "$ac_tool_prefix"; then
10372 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10373 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10375 printf %s "checking for $ac_word... " >&6; }
10376 if test ${ac_cv_prog_OTOOL64+y}
10377 then :
10378 printf %s "(cached) " >&6
10379 else $as_nop
10380 if test -n "$OTOOL64"; then
10381 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10382 else
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10385 do
10386 IFS=$as_save_IFS
10387 case $as_dir in #(((
10388 '') as_dir=./ ;;
10389 */) ;;
10390 *) as_dir=$as_dir/ ;;
10391 esac
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10394 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10396 break 2
10397 fi
10398 done
10399 done
10400 IFS=$as_save_IFS
10401
10402 fi
10403 fi
10404 OTOOL64=$ac_cv_prog_OTOOL64
10405 if test -n "$OTOOL64"; then
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10407 printf "%s\n" "$OTOOL64" >&6; }
10408 else
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 printf "%s\n" "no" >&6; }
10411 fi
10412
10413
10414 fi
10415 if test -z "$ac_cv_prog_OTOOL64"; then
10416 ac_ct_OTOOL64=$OTOOL64
10417 # Extract the first word of "otool64", so it can be a program name with args.
10418 set dummy otool64; ac_word=$2
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10420 printf %s "checking for $ac_word... " >&6; }
10421 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
10422 then :
10423 printf %s "(cached) " >&6
10424 else $as_nop
10425 if test -n "$ac_ct_OTOOL64"; then
10426 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10427 else
10428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10429 for as_dir in $PATH
10430 do
10431 IFS=$as_save_IFS
10432 case $as_dir in #(((
10433 '') as_dir=./ ;;
10434 */) ;;
10435 *) as_dir=$as_dir/ ;;
10436 esac
10437 for ac_exec_ext in '' $ac_executable_extensions; do
10438 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10439 ac_cv_prog_ac_ct_OTOOL64="otool64"
10440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10441 break 2
10442 fi
10443 done
10444 done
10445 IFS=$as_save_IFS
10446
10447 fi
10448 fi
10449 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10450 if test -n "$ac_ct_OTOOL64"; then
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10452 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
10453 else
10454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 printf "%s\n" "no" >&6; }
10456 fi
10457
10458 if test "x$ac_ct_OTOOL64" = x; then
10459 OTOOL64=":"
10460 else
10461 case $cross_compiling:$ac_tool_warned in
10462 yes:)
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10464 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10465 ac_tool_warned=yes ;;
10466 esac
10467 OTOOL64=$ac_ct_OTOOL64
10468 fi
10469 else
10470 OTOOL64="$ac_cv_prog_OTOOL64"
10471 fi
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10500 printf %s "checking for -single_module linker flag... " >&6; }
10501 if test ${lt_cv_apple_cc_single_mod+y}
10502 then :
10503 printf %s "(cached) " >&6
10504 else $as_nop
10505 lt_cv_apple_cc_single_mod=no
10506 if test -z "$LT_MULTI_MODULE"; then
10507 # By default we will add the -single_module flag. You can override
10508 # by either setting the environment variable LT_MULTI_MODULE
10509 # non-empty at configure time, or by adding -multi_module to the
10510 # link flags.
10511 rm -rf libconftest.dylib*
10512 echo "int foo(void){return 1;}" > conftest.c
10513 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10514 -dynamiclib -Wl,-single_module conftest.c" >&5
10515 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10516 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10517 _lt_result=$?
10518 # If there is a non-empty error log, and "single_module"
10519 # appears in it, assume the flag caused a linker warning
10520 if test -s conftest.err && $GREP single_module conftest.err; then
10521 cat conftest.err >&5
10522 # Otherwise, if the output was created with a 0 exit code from
10523 # the compiler, it worked.
10524 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10525 lt_cv_apple_cc_single_mod=yes
10526 else
10527 cat conftest.err >&5
10528 fi
10529 rm -rf libconftest.dylib*
10530 rm -f conftest.*
10531 fi
10532 fi
10533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10534 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
10535
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10537 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
10538 if test ${lt_cv_ld_exported_symbols_list+y}
10539 then :
10540 printf %s "(cached) " >&6
10541 else $as_nop
10542 lt_cv_ld_exported_symbols_list=no
10543 save_LDFLAGS=$LDFLAGS
10544 echo "_main" > conftest.sym
10545 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548
10549 int
10550 main (void)
10551 {
10552
10553 ;
10554 return 0;
10555 }
10556 _ACEOF
10557 if ac_fn_c_try_link "$LINENO"
10558 then :
10559 lt_cv_ld_exported_symbols_list=yes
10560 else $as_nop
10561 lt_cv_ld_exported_symbols_list=no
10562 fi
10563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LDFLAGS=$save_LDFLAGS
10566
10567 fi
10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10569 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
10570
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10572 printf %s "checking for -force_load linker flag... " >&6; }
10573 if test ${lt_cv_ld_force_load+y}
10574 then :
10575 printf %s "(cached) " >&6
10576 else $as_nop
10577 lt_cv_ld_force_load=no
10578 cat > conftest.c << _LT_EOF
10579 int forced_loaded() { return 2;}
10580 _LT_EOF
10581 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10582 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10583 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
10584 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
10585 echo "$RANLIB libconftest.a" >&5
10586 $RANLIB libconftest.a 2>&5
10587 cat > conftest.c << _LT_EOF
10588 int main() { return 0;}
10589 _LT_EOF
10590 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10591 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10592 _lt_result=$?
10593 if test -s conftest.err && $GREP force_load conftest.err; then
10594 cat conftest.err >&5
10595 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10596 lt_cv_ld_force_load=yes
10597 else
10598 cat conftest.err >&5
10599 fi
10600 rm -f conftest.err libconftest.a conftest conftest.c
10601 rm -rf conftest.dSYM
10602
10603 fi
10604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10605 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
10606 case $host_os in
10607 rhapsody* | darwin1.[012])
10608 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10609 darwin1.*)
10610 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10611 darwin*)
10612 case $MACOSX_DEPLOYMENT_TARGET,$host in
10613 10.[012],*|,*powerpc*-darwin[5-8]*)
10614 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10615 *)
10616 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10617 esac
10618 ;;
10619 esac
10620 if test yes = "$lt_cv_apple_cc_single_mod"; then
10621 _lt_dar_single_mod='$single_module'
10622 fi
10623 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10624 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10625 else
10626 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10627 fi
10628 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10629 _lt_dsymutil='~$DSYMUTIL $lib || :'
10630 else
10631 _lt_dsymutil=
10632 fi
10633 ;;
10634 esac
10635
10636 # func_munge_path_list VARIABLE PATH
10637 # -----------------------------------
10638 # VARIABLE is name of variable containing _space_ separated list of
10639 # directories to be munged by the contents of PATH, which is string
10640 # having a format:
10641 # "DIR[:DIR]:"
10642 # string "DIR[ DIR]" will be prepended to VARIABLE
10643 # ":DIR[:DIR]"
10644 # string "DIR[ DIR]" will be appended to VARIABLE
10645 # "DIRP[:DIRP]::[DIRA:]DIRA"
10646 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10647 # "DIRA[ DIRA]" will be appended to VARIABLE
10648 # "DIR[:DIR]"
10649 # VARIABLE will be replaced by "DIR[ DIR]"
10650 func_munge_path_list ()
10651 {
10652 case x$2 in
10653 x)
10654 ;;
10655 *:)
10656 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10657 ;;
10658 x:*)
10659 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10660 ;;
10661 *::*)
10662 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10663 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10664 ;;
10665 *)
10666 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10667 ;;
10668 esac
10669 }
10670
10671 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10672 "
10673 if test "x$ac_cv_header_dlfcn_h" = xyes
10674 then :
10675 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
10676
10677 fi
10678
10679
10680
10681
10682 func_stripname_cnf ()
10683 {
10684 case $2 in
10685 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10686 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10687 esac
10688 } # func_stripname_cnf
10689
10690
10691
10692
10693
10694 # Set options
10695
10696
10697
10698 enable_dlopen=no
10699
10700
10701 enable_win32_dll=no
10702
10703
10704 # Check whether --enable-shared was given.
10705 if test ${enable_shared+y}
10706 then :
10707 enableval=$enable_shared; p=${PACKAGE-default}
10708 case $enableval in
10709 yes) enable_shared=yes ;;
10710 no) enable_shared=no ;;
10711 *)
10712 enable_shared=no
10713 # Look at the argument we got. We use all the common list separators.
10714 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10715 for pkg in $enableval; do
10716 IFS=$lt_save_ifs
10717 if test "X$pkg" = "X$p"; then
10718 enable_shared=yes
10719 fi
10720 done
10721 IFS=$lt_save_ifs
10722 ;;
10723 esac
10724 else $as_nop
10725 enable_shared=yes
10726 fi
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738 # Check whether --with-pic was given.
10739 if test ${with_pic+y}
10740 then :
10741 withval=$with_pic; lt_p=${PACKAGE-default}
10742 case $withval in
10743 yes|no) pic_mode=$withval ;;
10744 *)
10745 pic_mode=default
10746 # Look at the argument we got. We use all the common list separators.
10747 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10748 for lt_pkg in $withval; do
10749 IFS=$lt_save_ifs
10750 if test "X$lt_pkg" = "X$lt_p"; then
10751 pic_mode=yes
10752 fi
10753 done
10754 IFS=$lt_save_ifs
10755 ;;
10756 esac
10757 else $as_nop
10758 pic_mode=default
10759 fi
10760
10761
10762
10763
10764
10765
10766
10767
10768 # Check whether --enable-fast-install was given.
10769 if test ${enable_fast_install+y}
10770 then :
10771 enableval=$enable_fast_install; p=${PACKAGE-default}
10772 case $enableval in
10773 yes) enable_fast_install=yes ;;
10774 no) enable_fast_install=no ;;
10775 *)
10776 enable_fast_install=no
10777 # Look at the argument we got. We use all the common list separators.
10778 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10779 for pkg in $enableval; do
10780 IFS=$lt_save_ifs
10781 if test "X$pkg" = "X$p"; then
10782 enable_fast_install=yes
10783 fi
10784 done
10785 IFS=$lt_save_ifs
10786 ;;
10787 esac
10788 else $as_nop
10789 enable_fast_install=yes
10790 fi
10791
10792
10793
10794
10795
10796
10797
10798
10799 shared_archive_member_spec=
10800 case $host,$enable_shared in
10801 power*-*-aix[5-9]*,yes)
10802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10803 printf %s "checking which variant of shared library versioning to provide... " >&6; }
10804
10805 # Check whether --with-aix-soname was given.
10806 if test ${with_aix_soname+y}
10807 then :
10808 withval=$with_aix_soname; case $withval in
10809 aix|svr4|both)
10810 ;;
10811 *)
10812 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10813 ;;
10814 esac
10815 lt_cv_with_aix_soname=$with_aix_soname
10816 else $as_nop
10817 if test ${lt_cv_with_aix_soname+y}
10818 then :
10819 printf %s "(cached) " >&6
10820 else $as_nop
10821 lt_cv_with_aix_soname=aix
10822 fi
10823
10824 with_aix_soname=$lt_cv_with_aix_soname
10825 fi
10826
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10828 printf "%s\n" "$with_aix_soname" >&6; }
10829 if test aix != "$with_aix_soname"; then
10830 # For the AIX way of multilib, we name the shared archive member
10831 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10832 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10833 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10834 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10835 if test 64 = "${OBJECT_MODE-32}"; then
10836 shared_archive_member_spec=shr_64
10837 else
10838 shared_archive_member_spec=shr
10839 fi
10840 fi
10841 ;;
10842 *)
10843 with_aix_soname=aix
10844 ;;
10845 esac
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856 # This can be used to rebuild libtool when needed
10857 LIBTOOL_DEPS=$ltmain
10858
10859 # Always use our own libtool.
10860 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891 test -z "$LN_S" && LN_S="ln -s"
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906 if test -n "${ZSH_VERSION+set}"; then
10907 setopt NO_GLOB_SUBST
10908 fi
10909
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10911 printf %s "checking for objdir... " >&6; }
10912 if test ${lt_cv_objdir+y}
10913 then :
10914 printf %s "(cached) " >&6
10915 else $as_nop
10916 rm -f .libs 2>/dev/null
10917 mkdir .libs 2>/dev/null
10918 if test -d .libs; then
10919 lt_cv_objdir=.libs
10920 else
10921 # MS-DOS does not allow filenames that begin with a dot.
10922 lt_cv_objdir=_libs
10923 fi
10924 rmdir .libs 2>/dev/null
10925 fi
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10927 printf "%s\n" "$lt_cv_objdir" >&6; }
10928 objdir=$lt_cv_objdir
10929
10930
10931
10932
10933
10934 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
10935
10936
10937
10938
10939 case $host_os in
10940 aix3*)
10941 # AIX sometimes has problems with the GCC collect2 program. For some
10942 # reason, if we set the COLLECT_NAMES environment variable, the problems
10943 # vanish in a puff of smoke.
10944 if test set != "${COLLECT_NAMES+set}"; then
10945 COLLECT_NAMES=
10946 export COLLECT_NAMES
10947 fi
10948 ;;
10949 esac
10950
10951 # Global variables:
10952 ofile=libtool
10953 can_build_shared=yes
10954
10955 # All known linkers require a '.a' archive for static linking (except MSVC and
10956 # ICC, which need '.lib').
10957 libext=a
10958
10959 with_gnu_ld=$lt_cv_prog_gnu_ld
10960
10961 old_CC=$CC
10962 old_CFLAGS=$CFLAGS
10963
10964 # Set sane defaults for various variables
10965 test -z "$CC" && CC=cc
10966 test -z "$LTCC" && LTCC=$CC
10967 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10968 test -z "$LD" && LD=ld
10969 test -z "$ac_objext" && ac_objext=o
10970
10971 func_cc_basename $compiler
10972 cc_basename=$func_cc_basename_result
10973
10974
10975 # Only perform the check for file, if the check method requires it
10976 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10977 case $deplibs_check_method in
10978 file_magic*)
10979 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10981 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10982 if test ${lt_cv_path_MAGIC_CMD+y}
10983 then :
10984 printf %s "(cached) " >&6
10985 else $as_nop
10986 case $MAGIC_CMD in
10987 [\\/*] | ?:[\\/]*)
10988 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10989 ;;
10990 *)
10991 lt_save_MAGIC_CMD=$MAGIC_CMD
10992 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10993 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10994 for ac_dir in $ac_dummy; do
10995 IFS=$lt_save_ifs
10996 test -z "$ac_dir" && ac_dir=.
10997 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10998 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10999 if test -n "$file_magic_test_file"; then
11000 case $deplibs_check_method in
11001 "file_magic "*)
11002 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11003 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11004 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11005 $EGREP "$file_magic_regex" > /dev/null; then
11006 :
11007 else
11008 cat <<_LT_EOF 1>&2
11009
11010 *** Warning: the command libtool uses to detect shared libraries,
11011 *** $file_magic_cmd, produces output that libtool cannot recognize.
11012 *** The result is that libtool may fail to recognize shared libraries
11013 *** as such. This will affect the creation of libtool libraries that
11014 *** depend on shared libraries, but programs linked with such libtool
11015 *** libraries will work regardless of this problem. Nevertheless, you
11016 *** may want to report the problem to your system manager and/or to
11017 *** bug-libtool@gnu.org
11018
11019 _LT_EOF
11020 fi ;;
11021 esac
11022 fi
11023 break
11024 fi
11025 done
11026 IFS=$lt_save_ifs
11027 MAGIC_CMD=$lt_save_MAGIC_CMD
11028 ;;
11029 esac
11030 fi
11031
11032 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11033 if test -n "$MAGIC_CMD"; then
11034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11035 printf "%s\n" "$MAGIC_CMD" >&6; }
11036 else
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 printf "%s\n" "no" >&6; }
11039 fi
11040
11041
11042
11043
11044
11045 if test -z "$lt_cv_path_MAGIC_CMD"; then
11046 if test -n "$ac_tool_prefix"; then
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11048 printf %s "checking for file... " >&6; }
11049 if test ${lt_cv_path_MAGIC_CMD+y}
11050 then :
11051 printf %s "(cached) " >&6
11052 else $as_nop
11053 case $MAGIC_CMD in
11054 [\\/*] | ?:[\\/]*)
11055 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11056 ;;
11057 *)
11058 lt_save_MAGIC_CMD=$MAGIC_CMD
11059 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11060 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11061 for ac_dir in $ac_dummy; do
11062 IFS=$lt_save_ifs
11063 test -z "$ac_dir" && ac_dir=.
11064 if test -f "$ac_dir/file"; then
11065 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11066 if test -n "$file_magic_test_file"; then
11067 case $deplibs_check_method in
11068 "file_magic "*)
11069 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11070 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11072 $EGREP "$file_magic_regex" > /dev/null; then
11073 :
11074 else
11075 cat <<_LT_EOF 1>&2
11076
11077 *** Warning: the command libtool uses to detect shared libraries,
11078 *** $file_magic_cmd, produces output that libtool cannot recognize.
11079 *** The result is that libtool may fail to recognize shared libraries
11080 *** as such. This will affect the creation of libtool libraries that
11081 *** depend on shared libraries, but programs linked with such libtool
11082 *** libraries will work regardless of this problem. Nevertheless, you
11083 *** may want to report the problem to your system manager and/or to
11084 *** bug-libtool@gnu.org
11085
11086 _LT_EOF
11087 fi ;;
11088 esac
11089 fi
11090 break
11091 fi
11092 done
11093 IFS=$lt_save_ifs
11094 MAGIC_CMD=$lt_save_MAGIC_CMD
11095 ;;
11096 esac
11097 fi
11098
11099 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11100 if test -n "$MAGIC_CMD"; then
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11102 printf "%s\n" "$MAGIC_CMD" >&6; }
11103 else
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11105 printf "%s\n" "no" >&6; }
11106 fi
11107
11108
11109 else
11110 MAGIC_CMD=:
11111 fi
11112 fi
11113
11114 fi
11115 ;;
11116 esac
11117
11118 # Use C for the default configuration in the libtool script
11119
11120 lt_save_CC=$CC
11121 ac_ext=c
11122 ac_cpp='$CPP $CPPFLAGS'
11123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11126
11127
11128 # Source file extension for C test sources.
11129 ac_ext=c
11130
11131 # Object file extension for compiled C test sources.
11132 objext=o
11133 objext=$objext
11134
11135 # Code to be used in simple compile tests
11136 lt_simple_compile_test_code="int some_variable = 0;"
11137
11138 # Code to be used in simple link tests
11139 lt_simple_link_test_code='int main(){return(0);}'
11140
11141
11142
11143
11144
11145
11146
11147 # If no C compiler was specified, use CC.
11148 LTCC=${LTCC-"$CC"}
11149
11150 # If no C compiler flags were specified, use CFLAGS.
11151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11152
11153 # Allow CC to be a program name with arguments.
11154 compiler=$CC
11155
11156 # Save the default compiler, since it gets overwritten when the other
11157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11158 compiler_DEFAULT=$CC
11159
11160 # save warnings/boilerplate of simple test code
11161 ac_outfile=conftest.$ac_objext
11162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11164 _lt_compiler_boilerplate=`cat conftest.err`
11165 $RM conftest*
11166
11167 ac_outfile=conftest.$ac_objext
11168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11170 _lt_linker_boilerplate=`cat conftest.err`
11171 $RM -r conftest*
11172
11173
11174 ## CAVEAT EMPTOR:
11175 ## There is no encapsulation within the following macros, do not change
11176 ## the running order or otherwise move them around unless you know exactly
11177 ## what you are doing...
11178 if test -n "$compiler"; then
11179
11180 lt_prog_compiler_no_builtin_flag=
11181
11182 if test yes = "$GCC"; then
11183 case $cc_basename in
11184 nvcc*)
11185 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11186 *)
11187 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11188 esac
11189
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11191 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11192 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
11193 then :
11194 printf %s "(cached) " >&6
11195 else $as_nop
11196 lt_cv_prog_compiler_rtti_exceptions=no
11197 ac_outfile=conftest.$ac_objext
11198 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11199 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11200 # Insert the option either (1) after the last *FLAGS variable, or
11201 # (2) before a word containing "conftest.", or (3) at the end.
11202 # Note that $ac_compile itself does not contain backslashes and begins
11203 # with a dollar sign (not a hyphen), so the echo should work correctly.
11204 # The option is referenced via a variable to avoid confusing sed.
11205 lt_compile=`echo "$ac_compile" | $SED \
11206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11208 -e 's:$: $lt_compiler_flag:'`
11209 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11210 (eval "$lt_compile" 2>conftest.err)
11211 ac_status=$?
11212 cat conftest.err >&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 if (exit $ac_status) && test -s "$ac_outfile"; then
11215 # The compiler can only warn and ignore the option if not recognized
11216 # So say no if there are warnings other than the usual output.
11217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11218 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11219 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11220 lt_cv_prog_compiler_rtti_exceptions=yes
11221 fi
11222 fi
11223 $RM conftest*
11224
11225 fi
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11227 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11228
11229 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11230 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11231 else
11232 :
11233 fi
11234
11235 fi
11236
11237
11238
11239
11240
11241
11242 lt_prog_compiler_wl=
11243 lt_prog_compiler_pic=
11244 lt_prog_compiler_static=
11245
11246
11247 if test yes = "$GCC"; then
11248 lt_prog_compiler_wl='-Wl,'
11249 lt_prog_compiler_static='-static'
11250
11251 case $host_os in
11252 aix*)
11253 # All AIX code is PIC.
11254 if test ia64 = "$host_cpu"; then
11255 # AIX 5 now supports IA64 processor
11256 lt_prog_compiler_static='-Bstatic'
11257 fi
11258 lt_prog_compiler_pic='-fPIC'
11259 ;;
11260
11261 amigaos*)
11262 case $host_cpu in
11263 powerpc)
11264 # see comment about AmigaOS4 .so support
11265 lt_prog_compiler_pic='-fPIC'
11266 ;;
11267 m68k)
11268 # FIXME: we need at least 68020 code to build shared libraries, but
11269 # adding the '-m68020' flag to GCC prevents building anything better,
11270 # like '-m68040'.
11271 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11272 ;;
11273 esac
11274 ;;
11275
11276 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11277 # PIC is the default for these OSes.
11278 ;;
11279
11280 mingw* | cygwin* | pw32* | os2* | cegcc*)
11281 # This hack is so that the source file can tell whether it is being
11282 # built for inclusion in a dll (and should export symbols for example).
11283 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11284 # (--disable-auto-import) libraries
11285 lt_prog_compiler_pic='-DDLL_EXPORT'
11286 case $host_os in
11287 os2*)
11288 lt_prog_compiler_static='$wl-static'
11289 ;;
11290 esac
11291 ;;
11292
11293 darwin* | rhapsody*)
11294 # PIC is the default on this platform
11295 # Common symbols not allowed in MH_DYLIB files
11296 lt_prog_compiler_pic='-fno-common'
11297 ;;
11298
11299 haiku*)
11300 # PIC is the default for Haiku.
11301 # The "-static" flag exists, but is broken.
11302 lt_prog_compiler_static=
11303 ;;
11304
11305 hpux*)
11306 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11307 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11308 # sets the default TLS model and affects inlining.
11309 case $host_cpu in
11310 hppa*64*)
11311 # +Z the default
11312 ;;
11313 *)
11314 lt_prog_compiler_pic='-fPIC'
11315 ;;
11316 esac
11317 ;;
11318
11319 interix[3-9]*)
11320 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11321 # Instead, we relocate shared libraries at runtime.
11322 ;;
11323
11324 msdosdjgpp*)
11325 # Just because we use GCC doesn't mean we suddenly get shared libraries
11326 # on systems that don't support them.
11327 lt_prog_compiler_can_build_shared=no
11328 enable_shared=no
11329 ;;
11330
11331 *nto* | *qnx*)
11332 # QNX uses GNU C++, but need to define -shared option too, otherwise
11333 # it will coredump.
11334 lt_prog_compiler_pic='-fPIC -shared'
11335 ;;
11336
11337 sysv4*MP*)
11338 if test -d /usr/nec; then
11339 lt_prog_compiler_pic=-Kconform_pic
11340 fi
11341 ;;
11342
11343 *)
11344 lt_prog_compiler_pic='-fPIC'
11345 ;;
11346 esac
11347
11348 case $cc_basename in
11349 nvcc*) # Cuda Compiler Driver 2.2
11350 lt_prog_compiler_wl='-Xlinker '
11351 if test -n "$lt_prog_compiler_pic"; then
11352 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11353 fi
11354 ;;
11355 esac
11356 else
11357 # PORTME Check for flag to pass linker flags through the system compiler.
11358 case $host_os in
11359 aix*)
11360 lt_prog_compiler_wl='-Wl,'
11361 if test ia64 = "$host_cpu"; then
11362 # AIX 5 now supports IA64 processor
11363 lt_prog_compiler_static='-Bstatic'
11364 else
11365 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11366 fi
11367 ;;
11368
11369 darwin* | rhapsody*)
11370 # PIC is the default on this platform
11371 # Common symbols not allowed in MH_DYLIB files
11372 lt_prog_compiler_pic='-fno-common'
11373 case $cc_basename in
11374 nagfor*)
11375 # NAG Fortran compiler
11376 lt_prog_compiler_wl='-Wl,-Wl,,'
11377 lt_prog_compiler_pic='-PIC'
11378 lt_prog_compiler_static='-Bstatic'
11379 ;;
11380 esac
11381 ;;
11382
11383 mingw* | cygwin* | pw32* | os2* | cegcc*)
11384 # This hack is so that the source file can tell whether it is being
11385 # built for inclusion in a dll (and should export symbols for example).
11386 lt_prog_compiler_pic='-DDLL_EXPORT'
11387 case $host_os in
11388 os2*)
11389 lt_prog_compiler_static='$wl-static'
11390 ;;
11391 esac
11392 ;;
11393
11394 hpux9* | hpux10* | hpux11*)
11395 lt_prog_compiler_wl='-Wl,'
11396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11397 # not for PA HP-UX.
11398 case $host_cpu in
11399 hppa*64*|ia64*)
11400 # +Z the default
11401 ;;
11402 *)
11403 lt_prog_compiler_pic='+Z'
11404 ;;
11405 esac
11406 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11407 lt_prog_compiler_static='$wl-a ${wl}archive'
11408 ;;
11409
11410 irix5* | irix6* | nonstopux*)
11411 lt_prog_compiler_wl='-Wl,'
11412 # PIC (with -KPIC) is the default.
11413 lt_prog_compiler_static='-non_shared'
11414 ;;
11415
11416 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11417 case $cc_basename in
11418 # old Intel for x86_64, which still supported -KPIC.
11419 ecc*)
11420 lt_prog_compiler_wl='-Wl,'
11421 lt_prog_compiler_pic='-KPIC'
11422 lt_prog_compiler_static='-static'
11423 ;;
11424 # icc used to be incompatible with GCC.
11425 # ICC 10 doesn't accept -KPIC any more.
11426 icc* | ifort*)
11427 lt_prog_compiler_wl='-Wl,'
11428 lt_prog_compiler_pic='-fPIC'
11429 lt_prog_compiler_static='-static'
11430 ;;
11431 # Lahey Fortran 8.1.
11432 lf95*)
11433 lt_prog_compiler_wl='-Wl,'
11434 lt_prog_compiler_pic='--shared'
11435 lt_prog_compiler_static='--static'
11436 ;;
11437 nagfor*)
11438 # NAG Fortran compiler
11439 lt_prog_compiler_wl='-Wl,-Wl,,'
11440 lt_prog_compiler_pic='-PIC'
11441 lt_prog_compiler_static='-Bstatic'
11442 ;;
11443 tcc*)
11444 # Fabrice Bellard et al's Tiny C Compiler
11445 lt_prog_compiler_wl='-Wl,'
11446 lt_prog_compiler_pic='-fPIC'
11447 lt_prog_compiler_static='-static'
11448 ;;
11449 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11450 # Portland Group compilers (*not* the Pentium gcc compiler,
11451 # which looks to be a dead project)
11452 lt_prog_compiler_wl='-Wl,'
11453 lt_prog_compiler_pic='-fpic'
11454 lt_prog_compiler_static='-Bstatic'
11455 ;;
11456 ccc*)
11457 lt_prog_compiler_wl='-Wl,'
11458 # All Alpha code is PIC.
11459 lt_prog_compiler_static='-non_shared'
11460 ;;
11461 xl* | bgxl* | bgf* | mpixl*)
11462 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11463 lt_prog_compiler_wl='-Wl,'
11464 lt_prog_compiler_pic='-qpic'
11465 lt_prog_compiler_static='-qstaticlink'
11466 ;;
11467 *)
11468 case `$CC -V 2>&1 | $SED 5q` in
11469 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11470 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11471 lt_prog_compiler_pic='-KPIC'
11472 lt_prog_compiler_static='-Bstatic'
11473 lt_prog_compiler_wl=''
11474 ;;
11475 *Sun\ F* | *Sun*Fortran*)
11476 lt_prog_compiler_pic='-KPIC'
11477 lt_prog_compiler_static='-Bstatic'
11478 lt_prog_compiler_wl='-Qoption ld '
11479 ;;
11480 *Sun\ C*)
11481 # Sun C 5.9
11482 lt_prog_compiler_pic='-KPIC'
11483 lt_prog_compiler_static='-Bstatic'
11484 lt_prog_compiler_wl='-Wl,'
11485 ;;
11486 *Intel*\ [CF]*Compiler*)
11487 lt_prog_compiler_wl='-Wl,'
11488 lt_prog_compiler_pic='-fPIC'
11489 lt_prog_compiler_static='-static'
11490 ;;
11491 *Portland\ Group*)
11492 lt_prog_compiler_wl='-Wl,'
11493 lt_prog_compiler_pic='-fpic'
11494 lt_prog_compiler_static='-Bstatic'
11495 ;;
11496 esac
11497 ;;
11498 esac
11499 ;;
11500
11501 newsos6)
11502 lt_prog_compiler_pic='-KPIC'
11503 lt_prog_compiler_static='-Bstatic'
11504 ;;
11505
11506 *nto* | *qnx*)
11507 # QNX uses GNU C++, but need to define -shared option too, otherwise
11508 # it will coredump.
11509 lt_prog_compiler_pic='-fPIC -shared'
11510 ;;
11511
11512 osf3* | osf4* | osf5*)
11513 lt_prog_compiler_wl='-Wl,'
11514 # All OSF/1 code is PIC.
11515 lt_prog_compiler_static='-non_shared'
11516 ;;
11517
11518 rdos*)
11519 lt_prog_compiler_static='-non_shared'
11520 ;;
11521
11522 solaris*)
11523 lt_prog_compiler_pic='-KPIC'
11524 lt_prog_compiler_static='-Bstatic'
11525 case $cc_basename in
11526 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11527 lt_prog_compiler_wl='-Qoption ld ';;
11528 *)
11529 lt_prog_compiler_wl='-Wl,';;
11530 esac
11531 ;;
11532
11533 sunos4*)
11534 lt_prog_compiler_wl='-Qoption ld '
11535 lt_prog_compiler_pic='-PIC'
11536 lt_prog_compiler_static='-Bstatic'
11537 ;;
11538
11539 sysv4 | sysv4.2uw2* | sysv4.3*)
11540 lt_prog_compiler_wl='-Wl,'
11541 lt_prog_compiler_pic='-KPIC'
11542 lt_prog_compiler_static='-Bstatic'
11543 ;;
11544
11545 sysv4*MP*)
11546 if test -d /usr/nec; then
11547 lt_prog_compiler_pic='-Kconform_pic'
11548 lt_prog_compiler_static='-Bstatic'
11549 fi
11550 ;;
11551
11552 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11553 lt_prog_compiler_wl='-Wl,'
11554 lt_prog_compiler_pic='-KPIC'
11555 lt_prog_compiler_static='-Bstatic'
11556 ;;
11557
11558 unicos*)
11559 lt_prog_compiler_wl='-Wl,'
11560 lt_prog_compiler_can_build_shared=no
11561 ;;
11562
11563 uts4*)
11564 lt_prog_compiler_pic='-pic'
11565 lt_prog_compiler_static='-Bstatic'
11566 ;;
11567
11568 *)
11569 lt_prog_compiler_can_build_shared=no
11570 ;;
11571 esac
11572 fi
11573
11574 case $host_os in
11575 # For platforms that do not support PIC, -DPIC is meaningless:
11576 *djgpp*)
11577 lt_prog_compiler_pic=
11578 ;;
11579 *)
11580 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11581 ;;
11582 esac
11583
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11585 printf %s "checking for $compiler option to produce PIC... " >&6; }
11586 if test ${lt_cv_prog_compiler_pic+y}
11587 then :
11588 printf %s "(cached) " >&6
11589 else $as_nop
11590 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11591 fi
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11593 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
11594 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11595
11596 #
11597 # Check to make sure the PIC flag actually works.
11598 #
11599 if test -n "$lt_prog_compiler_pic"; then
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11601 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11602 if test ${lt_cv_prog_compiler_pic_works+y}
11603 then :
11604 printf %s "(cached) " >&6
11605 else $as_nop
11606 lt_cv_prog_compiler_pic_works=no
11607 ac_outfile=conftest.$ac_objext
11608 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11609 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11610 # Insert the option either (1) after the last *FLAGS variable, or
11611 # (2) before a word containing "conftest.", or (3) at the end.
11612 # Note that $ac_compile itself does not contain backslashes and begins
11613 # with a dollar sign (not a hyphen), so the echo should work correctly.
11614 # The option is referenced via a variable to avoid confusing sed.
11615 lt_compile=`echo "$ac_compile" | $SED \
11616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11618 -e 's:$: $lt_compiler_flag:'`
11619 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11620 (eval "$lt_compile" 2>conftest.err)
11621 ac_status=$?
11622 cat conftest.err >&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 if (exit $ac_status) && test -s "$ac_outfile"; then
11625 # The compiler can only warn and ignore the option if not recognized
11626 # So say no if there are warnings other than the usual output.
11627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11628 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11629 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11630 lt_cv_prog_compiler_pic_works=yes
11631 fi
11632 fi
11633 $RM conftest*
11634
11635 fi
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11637 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
11638
11639 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11640 case $lt_prog_compiler_pic in
11641 "" | " "*) ;;
11642 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11643 esac
11644 else
11645 lt_prog_compiler_pic=
11646 lt_prog_compiler_can_build_shared=no
11647 fi
11648
11649 fi
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661 #
11662 # Check to make sure the static flag actually works.
11663 #
11664 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11666 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11667 if test ${lt_cv_prog_compiler_static_works+y}
11668 then :
11669 printf %s "(cached) " >&6
11670 else $as_nop
11671 lt_cv_prog_compiler_static_works=no
11672 save_LDFLAGS=$LDFLAGS
11673 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11674 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11675 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11676 # The linker can only warn and ignore the option if not recognized
11677 # So say no if there are warnings
11678 if test -s conftest.err; then
11679 # Append any errors to the config.log.
11680 cat conftest.err 1>&5
11681 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11682 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11683 if diff conftest.exp conftest.er2 >/dev/null; then
11684 lt_cv_prog_compiler_static_works=yes
11685 fi
11686 else
11687 lt_cv_prog_compiler_static_works=yes
11688 fi
11689 fi
11690 $RM -r conftest*
11691 LDFLAGS=$save_LDFLAGS
11692
11693 fi
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11695 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
11696
11697 if test yes = "$lt_cv_prog_compiler_static_works"; then
11698 :
11699 else
11700 lt_prog_compiler_static=
11701 fi
11702
11703
11704
11705
11706
11707
11708
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11710 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11711 if test ${lt_cv_prog_compiler_c_o+y}
11712 then :
11713 printf %s "(cached) " >&6
11714 else $as_nop
11715 lt_cv_prog_compiler_c_o=no
11716 $RM -r conftest 2>/dev/null
11717 mkdir conftest
11718 cd conftest
11719 mkdir out
11720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11721
11722 lt_compiler_flag="-o out/conftest2.$ac_objext"
11723 # Insert the option either (1) after the last *FLAGS variable, or
11724 # (2) before a word containing "conftest.", or (3) at the end.
11725 # Note that $ac_compile itself does not contain backslashes and begins
11726 # with a dollar sign (not a hyphen), so the echo should work correctly.
11727 lt_compile=`echo "$ac_compile" | $SED \
11728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11730 -e 's:$: $lt_compiler_flag:'`
11731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11732 (eval "$lt_compile" 2>out/conftest.err)
11733 ac_status=$?
11734 cat out/conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11737 then
11738 # The compiler can only warn and ignore the option if not recognized
11739 # So say no if there are warnings
11740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11741 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11742 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11743 lt_cv_prog_compiler_c_o=yes
11744 fi
11745 fi
11746 chmod u+w . 2>&5
11747 $RM conftest*
11748 # SGI C++ compiler will create directory out/ii_files/ for
11749 # template instantiation
11750 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11751 $RM out/* && rmdir out
11752 cd ..
11753 $RM -r conftest
11754 $RM conftest*
11755
11756 fi
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11758 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11759
11760
11761
11762
11763
11764
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11766 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11767 if test ${lt_cv_prog_compiler_c_o+y}
11768 then :
11769 printf %s "(cached) " >&6
11770 else $as_nop
11771 lt_cv_prog_compiler_c_o=no
11772 $RM -r conftest 2>/dev/null
11773 mkdir conftest
11774 cd conftest
11775 mkdir out
11776 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11777
11778 lt_compiler_flag="-o out/conftest2.$ac_objext"
11779 # Insert the option either (1) after the last *FLAGS variable, or
11780 # (2) before a word containing "conftest.", or (3) at the end.
11781 # Note that $ac_compile itself does not contain backslashes and begins
11782 # with a dollar sign (not a hyphen), so the echo should work correctly.
11783 lt_compile=`echo "$ac_compile" | $SED \
11784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11786 -e 's:$: $lt_compiler_flag:'`
11787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11788 (eval "$lt_compile" 2>out/conftest.err)
11789 ac_status=$?
11790 cat out/conftest.err >&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11793 then
11794 # The compiler can only warn and ignore the option if not recognized
11795 # So say no if there are warnings
11796 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11797 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11798 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11799 lt_cv_prog_compiler_c_o=yes
11800 fi
11801 fi
11802 chmod u+w . 2>&5
11803 $RM conftest*
11804 # SGI C++ compiler will create directory out/ii_files/ for
11805 # template instantiation
11806 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11807 $RM out/* && rmdir out
11808 cd ..
11809 $RM -r conftest
11810 $RM conftest*
11811
11812 fi
11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11814 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
11815
11816
11817
11818
11819 hard_links=nottested
11820 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11821 # do not overwrite the value of need_locks provided by the user
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11823 printf %s "checking if we can lock with hard links... " >&6; }
11824 hard_links=yes
11825 $RM conftest*
11826 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11827 touch conftest.a
11828 ln conftest.a conftest.b 2>&5 || hard_links=no
11829 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11831 printf "%s\n" "$hard_links" >&6; }
11832 if test no = "$hard_links"; then
11833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11834 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11835 need_locks=warn
11836 fi
11837 else
11838 need_locks=no
11839 fi
11840
11841
11842
11843
11844
11845
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11847 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11848
11849 runpath_var=
11850 allow_undefined_flag=
11851 always_export_symbols=no
11852 archive_cmds=
11853 archive_expsym_cmds=
11854 compiler_needs_object=no
11855 enable_shared_with_static_runtimes=no
11856 export_dynamic_flag_spec=
11857 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11858 hardcode_automatic=no
11859 hardcode_direct=no
11860 hardcode_direct_absolute=no
11861 hardcode_libdir_flag_spec=
11862 hardcode_libdir_separator=
11863 hardcode_minus_L=no
11864 hardcode_shlibpath_var=unsupported
11865 inherit_rpath=no
11866 link_all_deplibs=unknown
11867 module_cmds=
11868 module_expsym_cmds=
11869 old_archive_from_new_cmds=
11870 old_archive_from_expsyms_cmds=
11871 thread_safe_flag_spec=
11872 whole_archive_flag_spec=
11873 # include_expsyms should be a list of space-separated symbols to be *always*
11874 # included in the symbol list
11875 include_expsyms=
11876 # exclude_expsyms can be an extended regexp of symbols to exclude
11877 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11878 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11879 # as well as any symbol that contains 'd'.
11880 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11881 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11882 # platforms (ab)use it in PIC code, but their linkers get confused if
11883 # the symbol is explicitly referenced. Since portable code cannot
11884 # rely on this symbol name, it's probably fine to never include it in
11885 # preloaded symbol tables.
11886 # Exclude shared library initialization/finalization symbols.
11887 extract_expsyms_cmds=
11888
11889 case $host_os in
11890 cygwin* | mingw* | pw32* | cegcc*)
11891 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
11892 # When not using gcc, we currently assume that we are using
11893 # Microsoft Visual C++ or Intel C++ Compiler.
11894 if test yes != "$GCC"; then
11895 with_gnu_ld=no
11896 fi
11897 ;;
11898 interix*)
11899 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
11900 with_gnu_ld=yes
11901 ;;
11902 openbsd* | bitrig*)
11903 with_gnu_ld=no
11904 ;;
11905 esac
11906
11907 ld_shlibs=yes
11908
11909 # On some targets, GNU ld is compatible enough with the native linker
11910 # that we're better off using the native interface for both.
11911 lt_use_gnu_ld_interface=no
11912 if test yes = "$with_gnu_ld"; then
11913 case $host_os in
11914 aix*)
11915 # The AIX port of GNU ld has always aspired to compatibility
11916 # with the native linker. However, as the warning in the GNU ld
11917 # block says, versions before 2.19.5* couldn't really create working
11918 # shared libraries, regardless of the interface used.
11919 case `$LD -v 2>&1` in
11920 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11921 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11922 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11923 *)
11924 lt_use_gnu_ld_interface=yes
11925 ;;
11926 esac
11927 ;;
11928 *)
11929 lt_use_gnu_ld_interface=yes
11930 ;;
11931 esac
11932 fi
11933
11934 if test yes = "$lt_use_gnu_ld_interface"; then
11935 # If archive_cmds runs LD, not CC, wlarc should be empty
11936 wlarc='$wl'
11937
11938 # Set some defaults for GNU ld with shared library support. These
11939 # are reset later if shared libraries are not supported. Putting them
11940 # here allows them to be overridden if necessary.
11941 runpath_var=LD_RUN_PATH
11942 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11943 export_dynamic_flag_spec='$wl--export-dynamic'
11944 # ancient GNU ld didn't support --whole-archive et. al.
11945 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11946 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11947 else
11948 whole_archive_flag_spec=
11949 fi
11950 supports_anon_versioning=no
11951 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
11952 *GNU\ gold*) supports_anon_versioning=yes ;;
11953 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11954 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11955 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11956 *\ 2.11.*) ;; # other 2.11 versions
11957 *) supports_anon_versioning=yes ;;
11958 esac
11959
11960 # See if GNU ld supports shared libraries.
11961 case $host_os in
11962 aix[3-9]*)
11963 # On AIX/PPC, the GNU linker is very broken
11964 if test ia64 != "$host_cpu"; then
11965 ld_shlibs=no
11966 cat <<_LT_EOF 1>&2
11967
11968 *** Warning: the GNU linker, at least up to release 2.19, is reported
11969 *** to be unable to reliably create shared libraries on AIX.
11970 *** Therefore, libtool is disabling shared libraries support. If you
11971 *** really care for shared libraries, you may want to install binutils
11972 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11973 *** You will then need to restart the configuration process.
11974
11975 _LT_EOF
11976 fi
11977 ;;
11978
11979 amigaos*)
11980 case $host_cpu in
11981 powerpc)
11982 # see comment about AmigaOS4 .so support
11983 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11984 archive_expsym_cmds=''
11985 ;;
11986 m68k)
11987 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11988 hardcode_libdir_flag_spec='-L$libdir'
11989 hardcode_minus_L=yes
11990 ;;
11991 esac
11992 ;;
11993
11994 beos*)
11995 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11996 allow_undefined_flag=unsupported
11997 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11998 # support --undefined. This deserves some investigation. FIXME
11999 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12000 else
12001 ld_shlibs=no
12002 fi
12003 ;;
12004
12005 cygwin* | mingw* | pw32* | cegcc*)
12006 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12007 # as there is no search path for DLLs.
12008 hardcode_libdir_flag_spec='-L$libdir'
12009 export_dynamic_flag_spec='$wl--export-all-symbols'
12010 allow_undefined_flag=unsupported
12011 always_export_symbols=no
12012 enable_shared_with_static_runtimes=yes
12013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12014 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12015
12016 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12018 # If the export-symbols file already is a .def file, use it as
12019 # is; otherwise, prepend EXPORTS...
12020 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12021 cp $export_symbols $output_objdir/$soname.def;
12022 else
12023 echo EXPORTS > $output_objdir/$soname.def;
12024 cat $export_symbols >> $output_objdir/$soname.def;
12025 fi~
12026 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12027 else
12028 ld_shlibs=no
12029 fi
12030 ;;
12031
12032 haiku*)
12033 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12034 link_all_deplibs=yes
12035 ;;
12036
12037 os2*)
12038 hardcode_libdir_flag_spec='-L$libdir'
12039 hardcode_minus_L=yes
12040 allow_undefined_flag=unsupported
12041 shrext_cmds=.dll
12042 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12043 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12044 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12045 $ECHO EXPORTS >> $output_objdir/$libname.def~
12046 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12047 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12048 emximp -o $lib $output_objdir/$libname.def'
12049 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12050 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12051 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12052 $ECHO EXPORTS >> $output_objdir/$libname.def~
12053 prefix_cmds="$SED"~
12054 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12055 prefix_cmds="$prefix_cmds -e 1d";
12056 fi~
12057 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12058 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12059 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12060 emximp -o $lib $output_objdir/$libname.def'
12061 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12062 enable_shared_with_static_runtimes=yes
12063 file_list_spec='@'
12064 ;;
12065
12066 interix[3-9]*)
12067 hardcode_direct=no
12068 hardcode_shlibpath_var=no
12069 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12070 export_dynamic_flag_spec='$wl-E'
12071 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12072 # Instead, shared libraries are loaded at an image base (0x10000000 by
12073 # default) and relocated if they conflict, which is a slow very memory
12074 # consuming and fragmenting process. To avoid this, we pick a random,
12075 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12076 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12077 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12078 archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12079 ;;
12080
12081 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12082 tmp_diet=no
12083 if test linux-dietlibc = "$host_os"; then
12084 case $cc_basename in
12085 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12086 esac
12087 fi
12088 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12089 && test no = "$tmp_diet"
12090 then
12091 tmp_addflag=' $pic_flag'
12092 tmp_sharedflag='-shared'
12093 case $cc_basename,$host_cpu in
12094 pgcc*) # Portland Group C compiler
12095 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12096 tmp_addflag=' $pic_flag'
12097 ;;
12098 pgf77* | pgf90* | pgf95* | pgfortran*)
12099 # Portland Group f77 and f90 compilers
12100 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12101 tmp_addflag=' $pic_flag -Mnomain' ;;
12102 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12103 tmp_addflag=' -i_dynamic' ;;
12104 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12105 tmp_addflag=' -i_dynamic -nofor_main' ;;
12106 ifc* | ifort*) # Intel Fortran compiler
12107 tmp_addflag=' -nofor_main' ;;
12108 lf95*) # Lahey Fortran 8.1
12109 whole_archive_flag_spec=
12110 tmp_sharedflag='--shared' ;;
12111 nagfor*) # NAGFOR 5.3
12112 tmp_sharedflag='-Wl,-shared' ;;
12113 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12114 tmp_sharedflag='-qmkshrobj'
12115 tmp_addflag= ;;
12116 nvcc*) # Cuda Compiler Driver 2.2
12117 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12118 compiler_needs_object=yes
12119 ;;
12120 esac
12121 case `$CC -V 2>&1 | $SED 5q` in
12122 *Sun\ C*) # Sun C 5.9
12123 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12124 compiler_needs_object=yes
12125 tmp_sharedflag='-G' ;;
12126 *Sun\ F*) # Sun Fortran 8.3
12127 tmp_sharedflag='-G' ;;
12128 esac
12129 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12130
12131 if test yes = "$supports_anon_versioning"; then
12132 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12133 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12134 echo "local: *; };" >> $output_objdir/$libname.ver~
12135 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12136 fi
12137
12138 case $cc_basename in
12139 tcc*)
12140 export_dynamic_flag_spec='-rdynamic'
12141 ;;
12142 xlf* | bgf* | bgxlf* | mpixlf*)
12143 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12144 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12145 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12146 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12147 if test yes = "$supports_anon_versioning"; then
12148 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12149 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12150 echo "local: *; };" >> $output_objdir/$libname.ver~
12151 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12152 fi
12153 ;;
12154 esac
12155 else
12156 ld_shlibs=no
12157 fi
12158 ;;
12159
12160 netbsd*)
12161 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12162 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12163 wlarc=
12164 else
12165 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12166 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12167 fi
12168 ;;
12169
12170 solaris*)
12171 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12172 ld_shlibs=no
12173 cat <<_LT_EOF 1>&2
12174
12175 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12176 *** create shared libraries on Solaris systems. Therefore, libtool
12177 *** is disabling shared libraries support. We urge you to upgrade GNU
12178 *** binutils to release 2.9.1 or newer. Another option is to modify
12179 *** your PATH or compiler configuration so that the native linker is
12180 *** used, and then restart.
12181
12182 _LT_EOF
12183 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12184 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12185 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12186 else
12187 ld_shlibs=no
12188 fi
12189 ;;
12190
12191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12192 case `$LD -v 2>&1` in
12193 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12194 ld_shlibs=no
12195 cat <<_LT_EOF 1>&2
12196
12197 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12198 *** reliably create shared libraries on SCO systems. Therefore, libtool
12199 *** is disabling shared libraries support. We urge you to upgrade GNU
12200 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12201 *** your PATH or compiler configuration so that the native linker is
12202 *** used, and then restart.
12203
12204 _LT_EOF
12205 ;;
12206 *)
12207 # For security reasons, it is highly recommended that you always
12208 # use absolute paths for naming shared libraries, and exclude the
12209 # DT_RUNPATH tag from executables and libraries. But doing so
12210 # requires that you compile everything twice, which is a pain.
12211 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12212 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12214 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12215 else
12216 ld_shlibs=no
12217 fi
12218 ;;
12219 esac
12220 ;;
12221
12222 sunos4*)
12223 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12224 wlarc=
12225 hardcode_direct=yes
12226 hardcode_shlibpath_var=no
12227 ;;
12228
12229 *)
12230 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12231 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12232 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12233 else
12234 ld_shlibs=no
12235 fi
12236 ;;
12237 esac
12238
12239 if test no = "$ld_shlibs"; then
12240 runpath_var=
12241 hardcode_libdir_flag_spec=
12242 export_dynamic_flag_spec=
12243 whole_archive_flag_spec=
12244 fi
12245 else
12246 # PORTME fill in a description of your system's linker (not GNU ld)
12247 case $host_os in
12248 aix3*)
12249 allow_undefined_flag=unsupported
12250 always_export_symbols=yes
12251 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12252 # Note: this linker hardcodes the directories in LIBPATH if there
12253 # are no directories specified by -L.
12254 hardcode_minus_L=yes
12255 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12256 # Neither direct hardcoding nor static linking is supported with a
12257 # broken collect2.
12258 hardcode_direct=unsupported
12259 fi
12260 ;;
12261
12262 aix[4-9]*)
12263 if test ia64 = "$host_cpu"; then
12264 # On IA64, the linker does run time linking by default, so we don't
12265 # have to do anything special.
12266 aix_use_runtimelinking=no
12267 exp_sym_flag='-Bexport'
12268 no_entry_flag=
12269 else
12270 # If we're using GNU nm, then we don't want the "-C" option.
12271 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12272 # Without the "-l" option, or with the "-B" option, AIX nm treats
12273 # weak defined symbols like other global defined symbols, whereas
12274 # GNU nm marks them as "W".
12275 # While the 'weak' keyword is ignored in the Export File, we need
12276 # it in the Import File for the 'aix-soname' feature, so we have
12277 # to replace the "-B" option with "-P" for AIX nm.
12278 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12279 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12280 else
12281 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12282 fi
12283 aix_use_runtimelinking=no
12284
12285 # Test if we are trying to use run time linking or normal
12286 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12287 # have runtime linking enabled, and use it for executables.
12288 # For shared libraries, we enable/disable runtime linking
12289 # depending on the kind of the shared library created -
12290 # when "with_aix_soname,aix_use_runtimelinking" is:
12291 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12292 # "aix,yes" lib.so shared, rtl:yes, for executables
12293 # lib.a static archive
12294 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12295 # lib.a(lib.so.V) shared, rtl:no, for executables
12296 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12297 # lib.a(lib.so.V) shared, rtl:no
12298 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12299 # lib.a static archive
12300 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12301 for ld_flag in $LDFLAGS; do
12302 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12303 aix_use_runtimelinking=yes
12304 break
12305 fi
12306 done
12307 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12308 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12309 # so we don't have lib.a shared libs to link our executables.
12310 # We have to force runtime linking in this case.
12311 aix_use_runtimelinking=yes
12312 LDFLAGS="$LDFLAGS -Wl,-brtl"
12313 fi
12314 ;;
12315 esac
12316
12317 exp_sym_flag='-bexport'
12318 no_entry_flag='-bnoentry'
12319 fi
12320
12321 # When large executables or shared objects are built, AIX ld can
12322 # have problems creating the table of contents. If linking a library
12323 # or program results in "error TOC overflow" add -mminimal-toc to
12324 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12325 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12326
12327 archive_cmds=''
12328 hardcode_direct=yes
12329 hardcode_direct_absolute=yes
12330 hardcode_libdir_separator=':'
12331 link_all_deplibs=yes
12332 file_list_spec='$wl-f,'
12333 case $with_aix_soname,$aix_use_runtimelinking in
12334 aix,*) ;; # traditional, no import file
12335 svr4,* | *,yes) # use import file
12336 # The Import File defines what to hardcode.
12337 hardcode_direct=no
12338 hardcode_direct_absolute=no
12339 ;;
12340 esac
12341
12342 if test yes = "$GCC"; then
12343 case $host_os in aix4.[012]|aix4.[012].*)
12344 # We only want to do this on AIX 4.2 and lower, the check
12345 # below for broken collect2 doesn't work under 4.3+
12346 collect2name=`$CC -print-prog-name=collect2`
12347 if test -f "$collect2name" &&
12348 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12349 then
12350 # We have reworked collect2
12351 :
12352 else
12353 # We have old collect2
12354 hardcode_direct=unsupported
12355 # It fails to find uninstalled libraries when the uninstalled
12356 # path is not listed in the libpath. Setting hardcode_minus_L
12357 # to unsupported forces relinking
12358 hardcode_minus_L=yes
12359 hardcode_libdir_flag_spec='-L$libdir'
12360 hardcode_libdir_separator=
12361 fi
12362 ;;
12363 esac
12364 shared_flag='-shared'
12365 if test yes = "$aix_use_runtimelinking"; then
12366 shared_flag="$shared_flag "'$wl-G'
12367 fi
12368 # Need to ensure runtime linking is disabled for the traditional
12369 # shared library, or the linker may eventually find shared libraries
12370 # /with/ Import File - we do not want to mix them.
12371 shared_flag_aix='-shared'
12372 shared_flag_svr4='-shared $wl-G'
12373 else
12374 # not using gcc
12375 if test ia64 = "$host_cpu"; then
12376 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12377 # chokes on -Wl,-G. The following line is correct:
12378 shared_flag='-G'
12379 else
12380 if test yes = "$aix_use_runtimelinking"; then
12381 shared_flag='$wl-G'
12382 else
12383 shared_flag='$wl-bM:SRE'
12384 fi
12385 shared_flag_aix='$wl-bM:SRE'
12386 shared_flag_svr4='$wl-G'
12387 fi
12388 fi
12389
12390 export_dynamic_flag_spec='$wl-bexpall'
12391 # It seems that -bexpall does not export symbols beginning with
12392 # underscore (_), so it is better to generate a list of symbols to export.
12393 always_export_symbols=yes
12394 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12395 # Warning - without using the other runtime loading flags (-brtl),
12396 # -berok will link without error, but may produce a broken library.
12397 allow_undefined_flag='-berok'
12398 # Determine the default libpath from the value encoded in an
12399 # empty executable.
12400 if test set = "${lt_cv_aix_libpath+set}"; then
12401 aix_libpath=$lt_cv_aix_libpath
12402 else
12403 if test ${lt_cv_aix_libpath_+y}
12404 then :
12405 printf %s "(cached) " >&6
12406 else $as_nop
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409
12410 int
12411 main (void)
12412 {
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"
12419 then :
12420
12421 lt_aix_libpath_sed='
12422 /Import File Strings/,/^$/ {
12423 /^0/ {
12424 s/^0 *\([^ ]*\) *$/\1/
12425 p
12426 }
12427 }'
12428 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12429 # Check for a 64-bit object if we didn't find anything.
12430 if test -z "$lt_cv_aix_libpath_"; then
12431 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12432 fi
12433 fi
12434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12435 conftest$ac_exeext conftest.$ac_ext
12436 if test -z "$lt_cv_aix_libpath_"; then
12437 lt_cv_aix_libpath_=/usr/lib:/lib
12438 fi
12439
12440 fi
12441
12442 aix_libpath=$lt_cv_aix_libpath_
12443 fi
12444
12445 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12446 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
12447 else
12448 if test ia64 = "$host_cpu"; then
12449 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12450 allow_undefined_flag="-z nodefs"
12451 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
12452 else
12453 # Determine the default libpath from the value encoded in an
12454 # empty executable.
12455 if test set = "${lt_cv_aix_libpath+set}"; then
12456 aix_libpath=$lt_cv_aix_libpath
12457 else
12458 if test ${lt_cv_aix_libpath_+y}
12459 then :
12460 printf %s "(cached) " >&6
12461 else $as_nop
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12464
12465 int
12466 main (void)
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 if ac_fn_c_try_link "$LINENO"
12474 then :
12475
12476 lt_aix_libpath_sed='
12477 /Import File Strings/,/^$/ {
12478 /^0/ {
12479 s/^0 *\([^ ]*\) *$/\1/
12480 p
12481 }
12482 }'
12483 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12484 # Check for a 64-bit object if we didn't find anything.
12485 if test -z "$lt_cv_aix_libpath_"; then
12486 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12487 fi
12488 fi
12489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12490 conftest$ac_exeext conftest.$ac_ext
12491 if test -z "$lt_cv_aix_libpath_"; then
12492 lt_cv_aix_libpath_=/usr/lib:/lib
12493 fi
12494
12495 fi
12496
12497 aix_libpath=$lt_cv_aix_libpath_
12498 fi
12499
12500 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12501 # Warning - without using the other run time loading flags,
12502 # -berok will link without error, but may produce a broken library.
12503 no_undefined_flag=' $wl-bernotok'
12504 allow_undefined_flag=' $wl-berok'
12505 if test yes = "$with_gnu_ld"; then
12506 # We only use this code for GNU lds that support --whole-archive.
12507 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12508 else
12509 # Exported symbols can be pulled into shared objects from archives
12510 whole_archive_flag_spec='$convenience'
12511 fi
12512 archive_cmds_need_lc=yes
12513 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12514 # -brtl affects multiple linker settings, -berok does not and is overridden later
12515 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12516 if test svr4 != "$with_aix_soname"; then
12517 # This is similar to how AIX traditionally builds its shared libraries.
12518 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
12519 fi
12520 if test aix != "$with_aix_soname"; then
12521 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
12522 else
12523 # used by -dlpreopen to get the symbols
12524 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12525 fi
12526 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12527 fi
12528 fi
12529 ;;
12530
12531 amigaos*)
12532 case $host_cpu in
12533 powerpc)
12534 # see comment about AmigaOS4 .so support
12535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12536 archive_expsym_cmds=''
12537 ;;
12538 m68k)
12539 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12540 hardcode_libdir_flag_spec='-L$libdir'
12541 hardcode_minus_L=yes
12542 ;;
12543 esac
12544 ;;
12545
12546 bsdi[45]*)
12547 export_dynamic_flag_spec=-rdynamic
12548 ;;
12549
12550 cygwin* | mingw* | pw32* | cegcc*)
12551 # When not using gcc, we currently assume that we are using
12552 # Microsoft Visual C++ or Intel C++ Compiler.
12553 # hardcode_libdir_flag_spec is actually meaningless, as there is
12554 # no search path for DLLs.
12555 case $cc_basename in
12556 cl* | icl*)
12557 # Native MSVC or ICC
12558 hardcode_libdir_flag_spec=' '
12559 allow_undefined_flag=unsupported
12560 always_export_symbols=yes
12561 file_list_spec='@'
12562 # Tell ltmain to make .lib files, not .a files.
12563 libext=lib
12564 # Tell ltmain to make .dll files, not .so files.
12565 shrext_cmds=.dll
12566 # FIXME: Setting linknames here is a bad hack.
12567 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12568 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12569 cp "$export_symbols" "$output_objdir/$soname.def";
12570 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12571 else
12572 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12573 fi~
12574 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12575 linknames='
12576 # The linker will not automatically build a static lib if we build a DLL.
12577 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12578 enable_shared_with_static_runtimes=yes
12579 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12580 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12581 # Don't use ranlib
12582 old_postinstall_cmds='chmod 644 $oldlib'
12583 postlink_cmds='lt_outputfile="@OUTPUT@"~
12584 lt_tool_outputfile="@TOOL_OUTPUT@"~
12585 case $lt_outputfile in
12586 *.exe|*.EXE) ;;
12587 *)
12588 lt_outputfile=$lt_outputfile.exe
12589 lt_tool_outputfile=$lt_tool_outputfile.exe
12590 ;;
12591 esac~
12592 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12593 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12594 $RM "$lt_outputfile.manifest";
12595 fi'
12596 ;;
12597 *)
12598 # Assume MSVC and ICC wrapper
12599 hardcode_libdir_flag_spec=' '
12600 allow_undefined_flag=unsupported
12601 # Tell ltmain to make .lib files, not .a files.
12602 libext=lib
12603 # Tell ltmain to make .dll files, not .so files.
12604 shrext_cmds=.dll
12605 # FIXME: Setting linknames here is a bad hack.
12606 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12607 # The linker will automatically build a .lib file if we build a DLL.
12608 old_archive_from_new_cmds='true'
12609 # FIXME: Should let the user specify the lib program.
12610 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12611 enable_shared_with_static_runtimes=yes
12612 ;;
12613 esac
12614 ;;
12615
12616 darwin* | rhapsody*)
12617
12618
12619 archive_cmds_need_lc=no
12620 hardcode_direct=no
12621 hardcode_automatic=yes
12622 hardcode_shlibpath_var=unsupported
12623 if test yes = "$lt_cv_ld_force_load"; then
12624 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12625
12626 else
12627 whole_archive_flag_spec=''
12628 fi
12629 link_all_deplibs=yes
12630 allow_undefined_flag=$_lt_dar_allow_undefined
12631 case $cc_basename in
12632 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12633 *) _lt_dar_can_shared=$GCC ;;
12634 esac
12635 if test yes = "$_lt_dar_can_shared"; then
12636 output_verbose_link_cmd=func_echo_all
12637 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12638 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12639 archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
12640 module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
12641
12642 else
12643 ld_shlibs=no
12644 fi
12645
12646 ;;
12647
12648 dgux*)
12649 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12650 hardcode_libdir_flag_spec='-L$libdir'
12651 hardcode_shlibpath_var=no
12652 ;;
12653
12654 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12655 # support. Future versions do this automatically, but an explicit c++rt0.o
12656 # does not break anything, and helps significantly (at the cost of a little
12657 # extra space).
12658 freebsd2.2*)
12659 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12660 hardcode_libdir_flag_spec='-R$libdir'
12661 hardcode_direct=yes
12662 hardcode_shlibpath_var=no
12663 ;;
12664
12665 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12666 freebsd2.*)
12667 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12668 hardcode_direct=yes
12669 hardcode_minus_L=yes
12670 hardcode_shlibpath_var=no
12671 ;;
12672
12673 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12674 freebsd* | dragonfly* | midnightbsd*)
12675 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12676 hardcode_libdir_flag_spec='-R$libdir'
12677 hardcode_direct=yes
12678 hardcode_shlibpath_var=no
12679 ;;
12680
12681 hpux9*)
12682 if test yes = "$GCC"; then
12683 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12684 else
12685 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12686 fi
12687 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12688 hardcode_libdir_separator=:
12689 hardcode_direct=yes
12690
12691 # hardcode_minus_L: Not really in the search PATH,
12692 # but as the default location of the library.
12693 hardcode_minus_L=yes
12694 export_dynamic_flag_spec='$wl-E'
12695 ;;
12696
12697 hpux10*)
12698 if test yes,no = "$GCC,$with_gnu_ld"; then
12699 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12700 else
12701 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12702 fi
12703 if test no = "$with_gnu_ld"; then
12704 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12705 hardcode_libdir_separator=:
12706 hardcode_direct=yes
12707 hardcode_direct_absolute=yes
12708 export_dynamic_flag_spec='$wl-E'
12709 # hardcode_minus_L: Not really in the search PATH,
12710 # but as the default location of the library.
12711 hardcode_minus_L=yes
12712 fi
12713 ;;
12714
12715 hpux11*)
12716 if test yes,no = "$GCC,$with_gnu_ld"; then
12717 case $host_cpu in
12718 hppa*64*)
12719 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12720 ;;
12721 ia64*)
12722 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12723 ;;
12724 *)
12725 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12726 ;;
12727 esac
12728 else
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12732 ;;
12733 ia64*)
12734 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12735 ;;
12736 *)
12737
12738 # Older versions of the 11.00 compiler do not understand -b yet
12739 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12741 printf %s "checking if $CC understands -b... " >&6; }
12742 if test ${lt_cv_prog_compiler__b+y}
12743 then :
12744 printf %s "(cached) " >&6
12745 else $as_nop
12746 lt_cv_prog_compiler__b=no
12747 save_LDFLAGS=$LDFLAGS
12748 LDFLAGS="$LDFLAGS -b"
12749 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12750 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12751 # The linker can only warn and ignore the option if not recognized
12752 # So say no if there are warnings
12753 if test -s conftest.err; then
12754 # Append any errors to the config.log.
12755 cat conftest.err 1>&5
12756 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12757 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12758 if diff conftest.exp conftest.er2 >/dev/null; then
12759 lt_cv_prog_compiler__b=yes
12760 fi
12761 else
12762 lt_cv_prog_compiler__b=yes
12763 fi
12764 fi
12765 $RM -r conftest*
12766 LDFLAGS=$save_LDFLAGS
12767
12768 fi
12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12770 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
12771
12772 if test yes = "$lt_cv_prog_compiler__b"; then
12773 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12774 else
12775 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12776 fi
12777
12778 ;;
12779 esac
12780 fi
12781 if test no = "$with_gnu_ld"; then
12782 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12783 hardcode_libdir_separator=:
12784
12785 case $host_cpu in
12786 hppa*64*|ia64*)
12787 hardcode_direct=no
12788 hardcode_shlibpath_var=no
12789 ;;
12790 *)
12791 hardcode_direct=yes
12792 hardcode_direct_absolute=yes
12793 export_dynamic_flag_spec='$wl-E'
12794
12795 # hardcode_minus_L: Not really in the search PATH,
12796 # but as the default location of the library.
12797 hardcode_minus_L=yes
12798 ;;
12799 esac
12800 fi
12801 ;;
12802
12803 irix5* | irix6* | nonstopux*)
12804 if test yes = "$GCC"; then
12805 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
12806 # Try to use the -exported_symbol ld option, if it does not
12807 # work, assume that -exports_file does not work either and
12808 # implicitly export all symbols.
12809 # This should be the same for all languages, so no per-tag cache variable.
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12811 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12812 if test ${lt_cv_irix_exported_symbol+y}
12813 then :
12814 printf %s "(cached) " >&6
12815 else $as_nop
12816 save_LDFLAGS=$LDFLAGS
12817 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12820 int foo (void) { return 0; }
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"
12823 then :
12824 lt_cv_irix_exported_symbol=yes
12825 else $as_nop
12826 lt_cv_irix_exported_symbol=no
12827 fi
12828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LDFLAGS=$save_LDFLAGS
12831 fi
12832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12833 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
12834 if test yes = "$lt_cv_irix_exported_symbol"; then
12835 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
12836 fi
12837 else
12838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
12839 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
12840 fi
12841 archive_cmds_need_lc='no'
12842 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12843 hardcode_libdir_separator=:
12844 inherit_rpath=yes
12845 link_all_deplibs=yes
12846 ;;
12847
12848 linux*)
12849 case $cc_basename in
12850 tcc*)
12851 # Fabrice Bellard et al's Tiny C Compiler
12852 ld_shlibs=yes
12853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12854 ;;
12855 esac
12856 ;;
12857
12858 netbsd*)
12859 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12861 else
12862 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12863 fi
12864 hardcode_libdir_flag_spec='-R$libdir'
12865 hardcode_direct=yes
12866 hardcode_shlibpath_var=no
12867 ;;
12868
12869 newsos6)
12870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12871 hardcode_direct=yes
12872 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12873 hardcode_libdir_separator=:
12874 hardcode_shlibpath_var=no
12875 ;;
12876
12877 *nto* | *qnx*)
12878 ;;
12879
12880 openbsd* | bitrig*)
12881 if test -f /usr/libexec/ld.so; then
12882 hardcode_direct=yes
12883 hardcode_shlibpath_var=no
12884 hardcode_direct_absolute=yes
12885 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12886 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12887 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12888 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12889 export_dynamic_flag_spec='$wl-E'
12890 else
12891 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12892 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12893 fi
12894 else
12895 ld_shlibs=no
12896 fi
12897 ;;
12898
12899 os2*)
12900 hardcode_libdir_flag_spec='-L$libdir'
12901 hardcode_minus_L=yes
12902 allow_undefined_flag=unsupported
12903 shrext_cmds=.dll
12904 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12905 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12906 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12907 $ECHO EXPORTS >> $output_objdir/$libname.def~
12908 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12909 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12910 emximp -o $lib $output_objdir/$libname.def'
12911 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12912 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12913 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12914 $ECHO EXPORTS >> $output_objdir/$libname.def~
12915 prefix_cmds="$SED"~
12916 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12917 prefix_cmds="$prefix_cmds -e 1d";
12918 fi~
12919 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12920 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12921 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12922 emximp -o $lib $output_objdir/$libname.def'
12923 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12924 enable_shared_with_static_runtimes=yes
12925 file_list_spec='@'
12926 ;;
12927
12928 osf3*)
12929 if test yes = "$GCC"; then
12930 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12931 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
12932 else
12933 allow_undefined_flag=' -expect_unresolved \*'
12934 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
12935 fi
12936 archive_cmds_need_lc='no'
12937 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12938 hardcode_libdir_separator=:
12939 ;;
12940
12941 osf4* | osf5*) # as osf3* with the addition of -msym flag
12942 if test yes = "$GCC"; then
12943 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12944 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
12945 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12946 else
12947 allow_undefined_flag=' -expect_unresolved \*'
12948 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
12949 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12950 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
12951
12952 # Both c and cxx compiler support -rpath directly
12953 hardcode_libdir_flag_spec='-rpath $libdir'
12954 fi
12955 archive_cmds_need_lc='no'
12956 hardcode_libdir_separator=:
12957 ;;
12958
12959 solaris*)
12960 no_undefined_flag=' -z defs'
12961 if test yes = "$GCC"; then
12962 wlarc='$wl'
12963 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12964 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12965 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12966 else
12967 case `$CC -V 2>&1` in
12968 *"Compilers 5.0"*)
12969 wlarc=''
12970 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12971 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12972 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12973 ;;
12974 *)
12975 wlarc='$wl'
12976 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12978 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12979 ;;
12980 esac
12981 fi
12982 hardcode_libdir_flag_spec='-R$libdir'
12983 hardcode_shlibpath_var=no
12984 case $host_os in
12985 solaris2.[0-5] | solaris2.[0-5].*) ;;
12986 *)
12987 # The compiler driver will combine and reorder linker options,
12988 # but understands '-z linker_flag'. GCC discards it without '$wl',
12989 # but is careful enough not to reorder.
12990 # Supported since Solaris 2.6 (maybe 2.5.1?)
12991 if test yes = "$GCC"; then
12992 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12993 else
12994 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12995 fi
12996 ;;
12997 esac
12998 link_all_deplibs=yes
12999 ;;
13000
13001 sunos4*)
13002 if test sequent = "$host_vendor"; then
13003 # Use $CC to link under sequent, because it throws in some extra .o
13004 # files that make .init and .fini sections work.
13005 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13006 else
13007 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13008 fi
13009 hardcode_libdir_flag_spec='-L$libdir'
13010 hardcode_direct=yes
13011 hardcode_minus_L=yes
13012 hardcode_shlibpath_var=no
13013 ;;
13014
13015 sysv4)
13016 case $host_vendor in
13017 sni)
13018 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13019 hardcode_direct=yes # is this really true???
13020 ;;
13021 siemens)
13022 ## LD is ld it makes a PLAMLIB
13023 ## CC just makes a GrossModule.
13024 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13025 reload_cmds='$CC -r -o $output$reload_objs'
13026 hardcode_direct=no
13027 ;;
13028 motorola)
13029 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13030 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13031 ;;
13032 esac
13033 runpath_var='LD_RUN_PATH'
13034 hardcode_shlibpath_var=no
13035 ;;
13036
13037 sysv4.3*)
13038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13039 hardcode_shlibpath_var=no
13040 export_dynamic_flag_spec='-Bexport'
13041 ;;
13042
13043 sysv4*MP*)
13044 if test -d /usr/nec; then
13045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_shlibpath_var=no
13047 runpath_var=LD_RUN_PATH
13048 hardcode_runpath_var=yes
13049 ld_shlibs=yes
13050 fi
13051 ;;
13052
13053 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13054 no_undefined_flag='$wl-z,text'
13055 archive_cmds_need_lc=no
13056 hardcode_shlibpath_var=no
13057 runpath_var='LD_RUN_PATH'
13058
13059 if test yes = "$GCC"; then
13060 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13061 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062 else
13063 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13064 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13065 fi
13066 ;;
13067
13068 sysv5* | sco3.2v5* | sco5v6*)
13069 # Note: We CANNOT use -z defs as we might desire, because we do not
13070 # link with -lc, and that would cause any symbols used from libc to
13071 # always be unresolved, which means just about no library would
13072 # ever link correctly. If we're not using GNU ld we use -z text
13073 # though, which does catch some bad symbols but isn't as heavy-handed
13074 # as -z defs.
13075 no_undefined_flag='$wl-z,text'
13076 allow_undefined_flag='$wl-z,nodefs'
13077 archive_cmds_need_lc=no
13078 hardcode_shlibpath_var=no
13079 hardcode_libdir_flag_spec='$wl-R,$libdir'
13080 hardcode_libdir_separator=':'
13081 link_all_deplibs=yes
13082 export_dynamic_flag_spec='$wl-Bexport'
13083 runpath_var='LD_RUN_PATH'
13084
13085 if test yes = "$GCC"; then
13086 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 else
13089 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13091 fi
13092 ;;
13093
13094 uts4*)
13095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13096 hardcode_libdir_flag_spec='-L$libdir'
13097 hardcode_shlibpath_var=no
13098 ;;
13099
13100 *)
13101 ld_shlibs=no
13102 ;;
13103 esac
13104
13105 if test sni = "$host_vendor"; then
13106 case $host in
13107 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13108 export_dynamic_flag_spec='$wl-Blargedynsym'
13109 ;;
13110 esac
13111 fi
13112 fi
13113
13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13115 printf "%s\n" "$ld_shlibs" >&6; }
13116 test no = "$ld_shlibs" && can_build_shared=no
13117
13118 with_gnu_ld=$with_gnu_ld
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134 #
13135 # Do we need to explicitly link libc?
13136 #
13137 case "x$archive_cmds_need_lc" in
13138 x|xyes)
13139 # Assume -lc should be added
13140 archive_cmds_need_lc=yes
13141
13142 if test yes,yes = "$GCC,$enable_shared"; then
13143 case $archive_cmds in
13144 *'~'*)
13145 # FIXME: we may have to deal with multi-command sequences.
13146 ;;
13147 '$CC '*)
13148 # Test whether the compiler implicitly links with -lc since on some
13149 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13150 # to ld, don't add -lc before -lgcc.
13151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13152 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
13153 if test ${lt_cv_archive_cmds_need_lc+y}
13154 then :
13155 printf %s "(cached) " >&6
13156 else $as_nop
13157 $RM conftest*
13158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13159
13160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13161 (eval $ac_compile) 2>&5
13162 ac_status=$?
13163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13164 test $ac_status = 0; } 2>conftest.err; then
13165 soname=conftest
13166 lib=conftest
13167 libobjs=conftest.$ac_objext
13168 deplibs=
13169 wl=$lt_prog_compiler_wl
13170 pic_flag=$lt_prog_compiler_pic
13171 compiler_flags=-v
13172 linker_flags=-v
13173 verstring=
13174 output_objdir=.
13175 libname=conftest
13176 lt_save_allow_undefined_flag=$allow_undefined_flag
13177 allow_undefined_flag=
13178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13179 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13180 ac_status=$?
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13182 test $ac_status = 0; }
13183 then
13184 lt_cv_archive_cmds_need_lc=no
13185 else
13186 lt_cv_archive_cmds_need_lc=yes
13187 fi
13188 allow_undefined_flag=$lt_save_allow_undefined_flag
13189 else
13190 cat conftest.err 1>&5
13191 fi
13192 $RM conftest*
13193
13194 fi
13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13196 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
13197 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13198 ;;
13199 esac
13200 fi
13201 ;;
13202 esac
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13356 printf %s "checking dynamic linker characteristics... " >&6; }
13357
13358 if test yes = "$GCC"; then
13359 case $host_os in
13360 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13361 *) lt_awk_arg='/^libraries:/' ;;
13362 esac
13363 case $host_os in
13364 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13365 *) lt_sed_strip_eq='s|=/|/|g' ;;
13366 esac
13367 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13368 case $lt_search_path_spec in
13369 *\;*)
13370 # if the path contains ";" then we assume it to be the separator
13371 # otherwise default to the standard path separator (i.e. ":") - it is
13372 # assumed that no part of a normal pathname contains ";" but that should
13373 # okay in the real world where ";" in dirpaths is itself problematic.
13374 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13375 ;;
13376 *)
13377 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13378 ;;
13379 esac
13380 # Ok, now we have the path, separated by spaces, we can step through it
13381 # and add multilib dir if necessary...
13382 lt_tmp_lt_search_path_spec=
13383 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13384 # ...but if some path component already ends with the multilib dir we assume
13385 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13386 case "$lt_multi_os_dir; $lt_search_path_spec " in
13387 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13388 lt_multi_os_dir=
13389 ;;
13390 esac
13391 for lt_sys_path in $lt_search_path_spec; do
13392 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13393 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13394 elif test -n "$lt_multi_os_dir"; then
13395 test -d "$lt_sys_path" && \
13396 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13397 fi
13398 done
13399 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13400 BEGIN {RS = " "; FS = "/|\n";} {
13401 lt_foo = "";
13402 lt_count = 0;
13403 for (lt_i = NF; lt_i > 0; lt_i--) {
13404 if ($lt_i != "" && $lt_i != ".") {
13405 if ($lt_i == "..") {
13406 lt_count++;
13407 } else {
13408 if (lt_count == 0) {
13409 lt_foo = "/" $lt_i lt_foo;
13410 } else {
13411 lt_count--;
13412 }
13413 }
13414 }
13415 }
13416 if (lt_foo != "") { lt_freq[lt_foo]++; }
13417 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13418 }'`
13419 # AWK program above erroneously prepends '/' to C:/dos/paths
13420 # for these hosts.
13421 case $host_os in
13422 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13423 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13424 esac
13425 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13426 else
13427 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13428 fi
13429 library_names_spec=
13430 libname_spec='lib$name'
13431 soname_spec=
13432 shrext_cmds=.so
13433 postinstall_cmds=
13434 postuninstall_cmds=
13435 finish_cmds=
13436 finish_eval=
13437 shlibpath_var=
13438 shlibpath_overrides_runpath=unknown
13439 version_type=none
13440 dynamic_linker="$host_os ld.so"
13441 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13442 need_lib_prefix=unknown
13443 hardcode_into_libs=no
13444
13445 # when you set need_version to no, make sure it does not cause -set_version
13446 # flags to be left without arguments
13447 need_version=unknown
13448
13449
13450
13451 case $host_os in
13452 aix3*)
13453 version_type=linux # correct to gnu/linux during the next big refactor
13454 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13455 shlibpath_var=LIBPATH
13456
13457 # AIX 3 has no versioning support, so we append a major version to the name.
13458 soname_spec='$libname$release$shared_ext$major'
13459 ;;
13460
13461 aix[4-9]*)
13462 version_type=linux # correct to gnu/linux during the next big refactor
13463 need_lib_prefix=no
13464 need_version=no
13465 hardcode_into_libs=yes
13466 if test ia64 = "$host_cpu"; then
13467 # AIX 5 supports IA64
13468 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13469 shlibpath_var=LD_LIBRARY_PATH
13470 else
13471 # With GCC up to 2.95.x, collect2 would create an import file
13472 # for dependence libraries. The import file would start with
13473 # the line '#! .'. This would cause the generated library to
13474 # depend on '.', always an invalid library. This was fixed in
13475 # development snapshots of GCC prior to 3.0.
13476 case $host_os in
13477 aix4 | aix4.[01] | aix4.[01].*)
13478 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13479 echo ' yes '
13480 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13481 :
13482 else
13483 can_build_shared=no
13484 fi
13485 ;;
13486 esac
13487 # Using Import Files as archive members, it is possible to support
13488 # filename-based versioning of shared library archives on AIX. While
13489 # this would work for both with and without runtime linking, it will
13490 # prevent static linking of such archives. So we do filename-based
13491 # shared library versioning with .so extension only, which is used
13492 # when both runtime linking and shared linking is enabled.
13493 # Unfortunately, runtime linking may impact performance, so we do
13494 # not want this to be the default eventually. Also, we use the
13495 # versioned .so libs for executables only if there is the -brtl
13496 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13497 # To allow for filename-based versioning support, we need to create
13498 # libNAME.so.V as an archive file, containing:
13499 # *) an Import File, referring to the versioned filename of the
13500 # archive as well as the shared archive member, telling the
13501 # bitwidth (32 or 64) of that shared object, and providing the
13502 # list of exported symbols of that shared object, eventually
13503 # decorated with the 'weak' keyword
13504 # *) the shared object with the F_LOADONLY flag set, to really avoid
13505 # it being seen by the linker.
13506 # At run time we better use the real file rather than another symlink,
13507 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13508
13509 case $with_aix_soname,$aix_use_runtimelinking in
13510 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13511 # soname into executable. Probably we can add versioning support to
13512 # collect2, so additional links can be useful in future.
13513 aix,yes) # traditional libtool
13514 dynamic_linker='AIX unversionable lib.so'
13515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13516 # instead of lib<name>.a to let people know that these are not
13517 # typical AIX shared libraries.
13518 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13519 ;;
13520 aix,no) # traditional AIX only
13521 dynamic_linker='AIX lib.a(lib.so.V)'
13522 # We preserve .a as extension for shared libraries through AIX4.2
13523 # and later when we are not doing run time linking.
13524 library_names_spec='$libname$release.a $libname.a'
13525 soname_spec='$libname$release$shared_ext$major'
13526 ;;
13527 svr4,*) # full svr4 only
13528 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13529 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13530 # We do not specify a path in Import Files, so LIBPATH fires.
13531 shlibpath_overrides_runpath=yes
13532 ;;
13533 *,yes) # both, prefer svr4
13534 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13535 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13536 # unpreferred sharedlib libNAME.a needs extra handling
13537 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
13538 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
13539 # We do not specify a path in Import Files, so LIBPATH fires.
13540 shlibpath_overrides_runpath=yes
13541 ;;
13542 *,no) # both, prefer aix
13543 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13544 library_names_spec='$libname$release.a $libname.a'
13545 soname_spec='$libname$release$shared_ext$major'
13546 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13547 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
13548 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
13549 ;;
13550 esac
13551 shlibpath_var=LIBPATH
13552 fi
13553 ;;
13554
13555 amigaos*)
13556 case $host_cpu in
13557 powerpc)
13558 # Since July 2007 AmigaOS4 officially supports .so libraries.
13559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13560 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13561 ;;
13562 m68k)
13563 library_names_spec='$libname.ixlibrary $libname.a'
13564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13565 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13566 ;;
13567 esac
13568 ;;
13569
13570 beos*)
13571 library_names_spec='$libname$shared_ext'
13572 dynamic_linker="$host_os ld.so"
13573 shlibpath_var=LIBRARY_PATH
13574 ;;
13575
13576 bsdi[45]*)
13577 version_type=linux # correct to gnu/linux during the next big refactor
13578 need_version=no
13579 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13580 soname_spec='$libname$release$shared_ext$major'
13581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13582 shlibpath_var=LD_LIBRARY_PATH
13583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13585 # the default ld.so.conf also contains /usr/contrib/lib and
13586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13587 # libtool to hard-code these into programs
13588 ;;
13589
13590 cygwin* | mingw* | pw32* | cegcc*)
13591 version_type=windows
13592 shrext_cmds=.dll
13593 need_version=no
13594 need_lib_prefix=no
13595
13596 case $GCC,$cc_basename in
13597 yes,*)
13598 # gcc
13599 library_names_spec='$libname.dll.a'
13600 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13601 postinstall_cmds='base_file=`basename \$file`~
13602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13603 dldir=$destdir/`dirname \$dlpath`~
13604 test -d \$dldir || mkdir -p \$dldir~
13605 $install_prog $dir/$dlname \$dldir/$dlname~
13606 chmod a+x \$dldir/$dlname~
13607 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13608 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13609 fi'
13610 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13611 dlpath=$dir/\$dldll~
13612 $RM \$dlpath'
13613 shlibpath_overrides_runpath=yes
13614
13615 case $host_os in
13616 cygwin*)
13617 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13618 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13619
13620 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13621 ;;
13622 mingw* | cegcc*)
13623 # MinGW DLLs use traditional 'lib' prefix
13624 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13625 ;;
13626 pw32*)
13627 # pw32 DLLs use 'pw' prefix rather than 'lib'
13628 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13629 ;;
13630 esac
13631 dynamic_linker='Win32 ld.exe'
13632 ;;
13633
13634 *,cl* | *,icl*)
13635 # Native MSVC or ICC
13636 libname_spec='$name'
13637 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13638 library_names_spec='$libname.dll.lib'
13639
13640 case $build_os in
13641 mingw*)
13642 sys_lib_search_path_spec=
13643 lt_save_ifs=$IFS
13644 IFS=';'
13645 for lt_path in $LIB
13646 do
13647 IFS=$lt_save_ifs
13648 # Let DOS variable expansion print the short 8.3 style file name.
13649 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13650 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13651 done
13652 IFS=$lt_save_ifs
13653 # Convert to MSYS style.
13654 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13655 ;;
13656 cygwin*)
13657 # Convert to unix form, then to dos form, then back to unix form
13658 # but this time dos style (no spaces!) so that the unix form looks
13659 # like /cygdrive/c/PROGRA~1:/cygdr...
13660 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13661 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13662 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13663 ;;
13664 *)
13665 sys_lib_search_path_spec=$LIB
13666 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13667 # It is most probably a Windows format PATH.
13668 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13669 else
13670 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13671 fi
13672 # FIXME: find the short name or the path components, as spaces are
13673 # common. (e.g. "Program Files" -> "PROGRA~1")
13674 ;;
13675 esac
13676
13677 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13678 postinstall_cmds='base_file=`basename \$file`~
13679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13680 dldir=$destdir/`dirname \$dlpath`~
13681 test -d \$dldir || mkdir -p \$dldir~
13682 $install_prog $dir/$dlname \$dldir/$dlname'
13683 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13684 dlpath=$dir/\$dldll~
13685 $RM \$dlpath'
13686 shlibpath_overrides_runpath=yes
13687 dynamic_linker='Win32 link.exe'
13688 ;;
13689
13690 *)
13691 # Assume MSVC and ICC wrapper
13692 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13693 dynamic_linker='Win32 ld.exe'
13694 ;;
13695 esac
13696 # FIXME: first we should search . and the directory the executable is in
13697 shlibpath_var=PATH
13698 ;;
13699
13700 darwin* | rhapsody*)
13701 dynamic_linker="$host_os dyld"
13702 version_type=darwin
13703 need_lib_prefix=no
13704 need_version=no
13705 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13706 soname_spec='$libname$release$major$shared_ext'
13707 shlibpath_overrides_runpath=yes
13708 shlibpath_var=DYLD_LIBRARY_PATH
13709 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13710
13711 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13712 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13713 ;;
13714
13715 dgux*)
13716 version_type=linux # correct to gnu/linux during the next big refactor
13717 need_lib_prefix=no
13718 need_version=no
13719 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13720 soname_spec='$libname$release$shared_ext$major'
13721 shlibpath_var=LD_LIBRARY_PATH
13722 ;;
13723
13724 freebsd* | dragonfly* | midnightbsd*)
13725 # DragonFly does not have aout. When/if they implement a new
13726 # versioning mechanism, adjust this.
13727 if test -x /usr/bin/objformat; then
13728 objformat=`/usr/bin/objformat`
13729 else
13730 case $host_os in
13731 freebsd[23].*) objformat=aout ;;
13732 *) objformat=elf ;;
13733 esac
13734 fi
13735 version_type=freebsd-$objformat
13736 case $version_type in
13737 freebsd-elf*)
13738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13739 soname_spec='$libname$release$shared_ext$major'
13740 need_version=no
13741 need_lib_prefix=no
13742 ;;
13743 freebsd-*)
13744 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13745 need_version=yes
13746 ;;
13747 esac
13748 shlibpath_var=LD_LIBRARY_PATH
13749 case $host_os in
13750 freebsd2.*)
13751 shlibpath_overrides_runpath=yes
13752 ;;
13753 freebsd3.[01]* | freebsdelf3.[01]*)
13754 shlibpath_overrides_runpath=yes
13755 hardcode_into_libs=yes
13756 ;;
13757 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13758 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13759 shlibpath_overrides_runpath=no
13760 hardcode_into_libs=yes
13761 ;;
13762 *) # from 4.6 on, and DragonFly
13763 shlibpath_overrides_runpath=yes
13764 hardcode_into_libs=yes
13765 ;;
13766 esac
13767 ;;
13768
13769 haiku*)
13770 version_type=linux # correct to gnu/linux during the next big refactor
13771 need_lib_prefix=no
13772 need_version=no
13773 dynamic_linker="$host_os runtime_loader"
13774 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13775 soname_spec='$libname$release$shared_ext$major'
13776 shlibpath_var=LIBRARY_PATH
13777 shlibpath_overrides_runpath=no
13778 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13779 hardcode_into_libs=yes
13780 ;;
13781
13782 hpux9* | hpux10* | hpux11*)
13783 # Give a soname corresponding to the major version so that dld.sl refuses to
13784 # link against other versions.
13785 version_type=sunos
13786 need_lib_prefix=no
13787 need_version=no
13788 case $host_cpu in
13789 ia64*)
13790 shrext_cmds='.so'
13791 hardcode_into_libs=yes
13792 dynamic_linker="$host_os dld.so"
13793 shlibpath_var=LD_LIBRARY_PATH
13794 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13795 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13796 soname_spec='$libname$release$shared_ext$major'
13797 if test 32 = "$HPUX_IA64_MODE"; then
13798 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13799 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13800 else
13801 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13802 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13803 fi
13804 ;;
13805 hppa*64*)
13806 shrext_cmds='.sl'
13807 hardcode_into_libs=yes
13808 dynamic_linker="$host_os dld.sl"
13809 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13810 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13811 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13812 soname_spec='$libname$release$shared_ext$major'
13813 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13814 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13815 ;;
13816 *)
13817 shrext_cmds='.sl'
13818 dynamic_linker="$host_os dld.sl"
13819 shlibpath_var=SHLIB_PATH
13820 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13821 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13822 soname_spec='$libname$release$shared_ext$major'
13823 ;;
13824 esac
13825 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13826 postinstall_cmds='chmod 555 $lib'
13827 # or fails outright, so override atomically:
13828 install_override_mode=555
13829 ;;
13830
13831 interix[3-9]*)
13832 version_type=linux # correct to gnu/linux during the next big refactor
13833 need_lib_prefix=no
13834 need_version=no
13835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13836 soname_spec='$libname$release$shared_ext$major'
13837 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13838 shlibpath_var=LD_LIBRARY_PATH
13839 shlibpath_overrides_runpath=no
13840 hardcode_into_libs=yes
13841 ;;
13842
13843 irix5* | irix6* | nonstopux*)
13844 case $host_os in
13845 nonstopux*) version_type=nonstopux ;;
13846 *)
13847 if test yes = "$lt_cv_prog_gnu_ld"; then
13848 version_type=linux # correct to gnu/linux during the next big refactor
13849 else
13850 version_type=irix
13851 fi ;;
13852 esac
13853 need_lib_prefix=no
13854 need_version=no
13855 soname_spec='$libname$release$shared_ext$major'
13856 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13857 case $host_os in
13858 irix5* | nonstopux*)
13859 libsuff= shlibsuff=
13860 ;;
13861 *)
13862 case $LD in # libtool.m4 will add one of these switches to LD
13863 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13864 libsuff= shlibsuff= libmagic=32-bit;;
13865 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13866 libsuff=32 shlibsuff=N32 libmagic=N32;;
13867 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13868 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13869 *) libsuff= shlibsuff= libmagic=never-match;;
13870 esac
13871 ;;
13872 esac
13873 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13874 shlibpath_overrides_runpath=no
13875 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13876 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13877 hardcode_into_libs=yes
13878 ;;
13879
13880 # No shared lib support for Linux oldld, aout, or coff.
13881 linux*oldld* | linux*aout* | linux*coff*)
13882 dynamic_linker=no
13883 ;;
13884
13885 linux*android*)
13886 version_type=none # Android doesn't support versioned libraries.
13887 need_lib_prefix=no
13888 need_version=no
13889 library_names_spec='$libname$release$shared_ext'
13890 soname_spec='$libname$release$shared_ext'
13891 finish_cmds=
13892 shlibpath_var=LD_LIBRARY_PATH
13893 shlibpath_overrides_runpath=yes
13894
13895 # This implies no fast_install, which is unacceptable.
13896 # Some rework will be needed to allow for fast_install
13897 # before this can be enabled.
13898 hardcode_into_libs=yes
13899
13900 dynamic_linker='Android linker'
13901 # Don't embed -rpath directories since the linker doesn't support them.
13902 hardcode_libdir_flag_spec='-L$libdir'
13903 ;;
13904
13905 # This must be glibc/ELF.
13906 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13907 version_type=linux # correct to gnu/linux during the next big refactor
13908 need_lib_prefix=no
13909 need_version=no
13910 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13911 soname_spec='$libname$release$shared_ext$major'
13912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13913 shlibpath_var=LD_LIBRARY_PATH
13914 shlibpath_overrides_runpath=no
13915
13916 # Some binutils ld are patched to set DT_RUNPATH
13917 if test ${lt_cv_shlibpath_overrides_runpath+y}
13918 then :
13919 printf %s "(cached) " >&6
13920 else $as_nop
13921 lt_cv_shlibpath_overrides_runpath=no
13922 save_LDFLAGS=$LDFLAGS
13923 save_libdir=$libdir
13924 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13925 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928
13929 int
13930 main (void)
13931 {
13932
13933 ;
13934 return 0;
13935 }
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"
13938 then :
13939 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13940 then :
13941 lt_cv_shlibpath_overrides_runpath=yes
13942 fi
13943 fi
13944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LDFLAGS=$save_LDFLAGS
13947 libdir=$save_libdir
13948
13949 fi
13950
13951 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13952
13953 # This implies no fast_install, which is unacceptable.
13954 # Some rework will be needed to allow for fast_install
13955 # before this can be enabled.
13956 hardcode_into_libs=yes
13957
13958 # Add ABI-specific directories to the system library path.
13959 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13960
13961 # Ideally, we could use ldconfig to report *all* directores which are
13962 # searched for libraries, however this is still not possible. Aside from not
13963 # being certain /sbin/ldconfig is available, command
13964 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13965 # even though it is searched at run-time. Try to do the best guess by
13966 # appending ld.so.conf contents (and includes) to the search path.
13967 if test -f /etc/ld.so.conf; then
13968 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13969 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13970 fi
13971
13972 # We used to test for /lib/ld.so.1 and disable shared libraries on
13973 # powerpc, because MkLinux only supported shared libraries with the
13974 # GNU dynamic linker. Since this was broken with cross compilers,
13975 # most powerpc-linux boxes support dynamic linking these days and
13976 # people can always --disable-shared, the test was removed, and we
13977 # assume the GNU/Linux dynamic linker is in use.
13978 dynamic_linker='GNU/Linux ld.so'
13979 ;;
13980
13981 netbsd*)
13982 version_type=sunos
13983 need_lib_prefix=no
13984 need_version=no
13985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13986 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13987 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13988 dynamic_linker='NetBSD (a.out) ld.so'
13989 else
13990 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13991 soname_spec='$libname$release$shared_ext$major'
13992 dynamic_linker='NetBSD ld.elf_so'
13993 fi
13994 shlibpath_var=LD_LIBRARY_PATH
13995 shlibpath_overrides_runpath=yes
13996 hardcode_into_libs=yes
13997 ;;
13998
13999 newsos6)
14000 version_type=linux # correct to gnu/linux during the next big refactor
14001 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14002 shlibpath_var=LD_LIBRARY_PATH
14003 shlibpath_overrides_runpath=yes
14004 ;;
14005
14006 *nto* | *qnx*)
14007 version_type=qnx
14008 need_lib_prefix=no
14009 need_version=no
14010 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14011 soname_spec='$libname$release$shared_ext$major'
14012 shlibpath_var=LD_LIBRARY_PATH
14013 shlibpath_overrides_runpath=no
14014 hardcode_into_libs=yes
14015 dynamic_linker='ldqnx.so'
14016 ;;
14017
14018 openbsd* | bitrig*)
14019 version_type=sunos
14020 sys_lib_dlsearch_path_spec=/usr/lib
14021 need_lib_prefix=no
14022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14023 need_version=no
14024 else
14025 need_version=yes
14026 fi
14027 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14028 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14029 shlibpath_var=LD_LIBRARY_PATH
14030 shlibpath_overrides_runpath=yes
14031 ;;
14032
14033 os2*)
14034 libname_spec='$name'
14035 version_type=windows
14036 shrext_cmds=.dll
14037 need_version=no
14038 need_lib_prefix=no
14039 # OS/2 can only load a DLL with a base name of 8 characters or less.
14040 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14041 v=$($ECHO $release$versuffix | tr -d .-);
14042 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14043 $ECHO $n$v`$shared_ext'
14044 library_names_spec='${libname}_dll.$libext'
14045 dynamic_linker='OS/2 ld.exe'
14046 shlibpath_var=BEGINLIBPATH
14047 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14048 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14049 postinstall_cmds='base_file=`basename \$file`~
14050 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14051 dldir=$destdir/`dirname \$dlpath`~
14052 test -d \$dldir || mkdir -p \$dldir~
14053 $install_prog $dir/$dlname \$dldir/$dlname~
14054 chmod a+x \$dldir/$dlname~
14055 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14056 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14057 fi'
14058 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14059 dlpath=$dir/\$dldll~
14060 $RM \$dlpath'
14061 ;;
14062
14063 osf3* | osf4* | osf5*)
14064 version_type=osf
14065 need_lib_prefix=no
14066 need_version=no
14067 soname_spec='$libname$release$shared_ext$major'
14068 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14069 shlibpath_var=LD_LIBRARY_PATH
14070 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14071 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14072 ;;
14073
14074 rdos*)
14075 dynamic_linker=no
14076 ;;
14077
14078 solaris*)
14079 version_type=linux # correct to gnu/linux during the next big refactor
14080 need_lib_prefix=no
14081 need_version=no
14082 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14083 soname_spec='$libname$release$shared_ext$major'
14084 shlibpath_var=LD_LIBRARY_PATH
14085 shlibpath_overrides_runpath=yes
14086 hardcode_into_libs=yes
14087 # ldd complains unless libraries are executable
14088 postinstall_cmds='chmod +x $lib'
14089 ;;
14090
14091 sunos4*)
14092 version_type=sunos
14093 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14094 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14095 shlibpath_var=LD_LIBRARY_PATH
14096 shlibpath_overrides_runpath=yes
14097 if test yes = "$with_gnu_ld"; then
14098 need_lib_prefix=no
14099 fi
14100 need_version=yes
14101 ;;
14102
14103 sysv4 | sysv4.3*)
14104 version_type=linux # correct to gnu/linux during the next big refactor
14105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14106 soname_spec='$libname$release$shared_ext$major'
14107 shlibpath_var=LD_LIBRARY_PATH
14108 case $host_vendor in
14109 sni)
14110 shlibpath_overrides_runpath=no
14111 need_lib_prefix=no
14112 runpath_var=LD_RUN_PATH
14113 ;;
14114 siemens)
14115 need_lib_prefix=no
14116 ;;
14117 motorola)
14118 need_lib_prefix=no
14119 need_version=no
14120 shlibpath_overrides_runpath=no
14121 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14122 ;;
14123 esac
14124 ;;
14125
14126 sysv4*MP*)
14127 if test -d /usr/nec; then
14128 version_type=linux # correct to gnu/linux during the next big refactor
14129 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14130 soname_spec='$libname$shared_ext.$major'
14131 shlibpath_var=LD_LIBRARY_PATH
14132 fi
14133 ;;
14134
14135 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14136 version_type=sco
14137 need_lib_prefix=no
14138 need_version=no
14139 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14140 soname_spec='$libname$release$shared_ext$major'
14141 shlibpath_var=LD_LIBRARY_PATH
14142 shlibpath_overrides_runpath=yes
14143 hardcode_into_libs=yes
14144 if test yes = "$with_gnu_ld"; then
14145 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14146 else
14147 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14148 case $host_os in
14149 sco3.2v5*)
14150 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14151 ;;
14152 esac
14153 fi
14154 sys_lib_dlsearch_path_spec='/usr/lib'
14155 ;;
14156
14157 tpf*)
14158 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14159 version_type=linux # correct to gnu/linux during the next big refactor
14160 need_lib_prefix=no
14161 need_version=no
14162 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14163 shlibpath_var=LD_LIBRARY_PATH
14164 shlibpath_overrides_runpath=no
14165 hardcode_into_libs=yes
14166 ;;
14167
14168 uts4*)
14169 version_type=linux # correct to gnu/linux during the next big refactor
14170 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14171 soname_spec='$libname$release$shared_ext$major'
14172 shlibpath_var=LD_LIBRARY_PATH
14173 ;;
14174
14175 *)
14176 dynamic_linker=no
14177 ;;
14178 esac
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14180 printf "%s\n" "$dynamic_linker" >&6; }
14181 test no = "$dynamic_linker" && can_build_shared=no
14182
14183 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14184 if test yes = "$GCC"; then
14185 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14186 fi
14187
14188 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14189 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14190 fi
14191
14192 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14193 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14194 fi
14195
14196 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14197 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14198
14199 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14200 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14201
14202 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14203 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14302 printf %s "checking how to hardcode library paths into programs... " >&6; }
14303 hardcode_action=
14304 if test -n "$hardcode_libdir_flag_spec" ||
14305 test -n "$runpath_var" ||
14306 test yes = "$hardcode_automatic"; then
14307
14308 # We can hardcode non-existent directories.
14309 if test no != "$hardcode_direct" &&
14310 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14311 # have to relink, otherwise we might link with an installed library
14312 # when we should be linking with a yet-to-be-installed one
14313 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14314 test no != "$hardcode_minus_L"; then
14315 # Linking always hardcodes the temporary library directory.
14316 hardcode_action=relink
14317 else
14318 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14319 hardcode_action=immediate
14320 fi
14321 else
14322 # We cannot hardcode anything, or else we can only hardcode existing
14323 # directories.
14324 hardcode_action=unsupported
14325 fi
14326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14327 printf "%s\n" "$hardcode_action" >&6; }
14328
14329 if test relink = "$hardcode_action" ||
14330 test yes = "$inherit_rpath"; then
14331 # Fast installation is not supported
14332 enable_fast_install=no
14333 elif test yes = "$shlibpath_overrides_runpath" ||
14334 test no = "$enable_shared"; then
14335 # Fast installation is not necessary
14336 enable_fast_install=needless
14337 fi
14338
14339
14340
14341
14342
14343
14344 if test yes != "$enable_dlopen"; then
14345 enable_dlopen=unknown
14346 enable_dlopen_self=unknown
14347 enable_dlopen_self_static=unknown
14348 else
14349 lt_cv_dlopen=no
14350 lt_cv_dlopen_libs=
14351
14352 case $host_os in
14353 beos*)
14354 lt_cv_dlopen=load_add_on
14355 lt_cv_dlopen_libs=
14356 lt_cv_dlopen_self=yes
14357 ;;
14358
14359 mingw* | pw32* | cegcc*)
14360 lt_cv_dlopen=LoadLibrary
14361 lt_cv_dlopen_libs=
14362 ;;
14363
14364 cygwin*)
14365 lt_cv_dlopen=dlopen
14366 lt_cv_dlopen_libs=
14367 ;;
14368
14369 darwin*)
14370 # if libdl is installed we need to link against it
14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14372 printf %s "checking for dlopen in -ldl... " >&6; }
14373 if test ${ac_cv_lib_dl_dlopen+y}
14374 then :
14375 printf %s "(cached) " >&6
14376 else $as_nop
14377 ac_check_lib_save_LIBS=$LIBS
14378 LIBS="-ldl $LIBS"
14379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14380 /* end confdefs.h. */
14381
14382 /* Override any GCC internal prototype to avoid an error.
14383 Use char because int might match the return type of a GCC
14384 builtin and then its argument prototype would still apply. */
14385 char dlopen ();
14386 int
14387 main (void)
14388 {
14389 return dlopen ();
14390 ;
14391 return 0;
14392 }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"
14395 then :
14396 ac_cv_lib_dl_dlopen=yes
14397 else $as_nop
14398 ac_cv_lib_dl_dlopen=no
14399 fi
14400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_lib_save_LIBS
14403 fi
14404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14405 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14406 if test "x$ac_cv_lib_dl_dlopen" = xyes
14407 then :
14408 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14409 else $as_nop
14410
14411 lt_cv_dlopen=dyld
14412 lt_cv_dlopen_libs=
14413 lt_cv_dlopen_self=yes
14414
14415 fi
14416
14417 ;;
14418
14419 tpf*)
14420 # Don't try to run any link tests for TPF. We know it's impossible
14421 # because TPF is a cross-compiler, and we know how we open DSOs.
14422 lt_cv_dlopen=dlopen
14423 lt_cv_dlopen_libs=
14424 lt_cv_dlopen_self=no
14425 ;;
14426
14427 *)
14428 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14429 if test "x$ac_cv_func_shl_load" = xyes
14430 then :
14431 lt_cv_dlopen=shl_load
14432 else $as_nop
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14434 printf %s "checking for shl_load in -ldld... " >&6; }
14435 if test ${ac_cv_lib_dld_shl_load+y}
14436 then :
14437 printf %s "(cached) " >&6
14438 else $as_nop
14439 ac_check_lib_save_LIBS=$LIBS
14440 LIBS="-ldld $LIBS"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443
14444 /* Override any GCC internal prototype to avoid an error.
14445 Use char because int might match the return type of a GCC
14446 builtin and then its argument prototype would still apply. */
14447 char shl_load ();
14448 int
14449 main (void)
14450 {
14451 return shl_load ();
14452 ;
14453 return 0;
14454 }
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"
14457 then :
14458 ac_cv_lib_dld_shl_load=yes
14459 else $as_nop
14460 ac_cv_lib_dld_shl_load=no
14461 fi
14462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14463 conftest$ac_exeext conftest.$ac_ext
14464 LIBS=$ac_check_lib_save_LIBS
14465 fi
14466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14467 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
14468 if test "x$ac_cv_lib_dld_shl_load" = xyes
14469 then :
14470 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14471 else $as_nop
14472 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14473 if test "x$ac_cv_func_dlopen" = xyes
14474 then :
14475 lt_cv_dlopen=dlopen
14476 else $as_nop
14477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14478 printf %s "checking for dlopen in -ldl... " >&6; }
14479 if test ${ac_cv_lib_dl_dlopen+y}
14480 then :
14481 printf %s "(cached) " >&6
14482 else $as_nop
14483 ac_check_lib_save_LIBS=$LIBS
14484 LIBS="-ldl $LIBS"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487
14488 /* Override any GCC internal prototype to avoid an error.
14489 Use char because int might match the return type of a GCC
14490 builtin and then its argument prototype would still apply. */
14491 char dlopen ();
14492 int
14493 main (void)
14494 {
14495 return dlopen ();
14496 ;
14497 return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"
14501 then :
14502 ac_cv_lib_dl_dlopen=yes
14503 else $as_nop
14504 ac_cv_lib_dl_dlopen=no
14505 fi
14506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14507 conftest$ac_exeext conftest.$ac_ext
14508 LIBS=$ac_check_lib_save_LIBS
14509 fi
14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14511 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14512 if test "x$ac_cv_lib_dl_dlopen" = xyes
14513 then :
14514 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14515 else $as_nop
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14517 printf %s "checking for dlopen in -lsvld... " >&6; }
14518 if test ${ac_cv_lib_svld_dlopen+y}
14519 then :
14520 printf %s "(cached) " >&6
14521 else $as_nop
14522 ac_check_lib_save_LIBS=$LIBS
14523 LIBS="-lsvld $LIBS"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 char dlopen ();
14531 int
14532 main (void)
14533 {
14534 return dlopen ();
14535 ;
14536 return 0;
14537 }
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"
14540 then :
14541 ac_cv_lib_svld_dlopen=yes
14542 else $as_nop
14543 ac_cv_lib_svld_dlopen=no
14544 fi
14545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_lib_save_LIBS
14548 fi
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14550 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
14551 if test "x$ac_cv_lib_svld_dlopen" = xyes
14552 then :
14553 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14554 else $as_nop
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14556 printf %s "checking for dld_link in -ldld... " >&6; }
14557 if test ${ac_cv_lib_dld_dld_link+y}
14558 then :
14559 printf %s "(cached) " >&6
14560 else $as_nop
14561 ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-ldld $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 char dld_link ();
14570 int
14571 main (void)
14572 {
14573 return dld_link ();
14574 ;
14575 return 0;
14576 }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"
14579 then :
14580 ac_cv_lib_dld_dld_link=yes
14581 else $as_nop
14582 ac_cv_lib_dld_dld_link=no
14583 fi
14584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14585 conftest$ac_exeext conftest.$ac_ext
14586 LIBS=$ac_check_lib_save_LIBS
14587 fi
14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14589 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
14590 if test "x$ac_cv_lib_dld_dld_link" = xyes
14591 then :
14592 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14593 fi
14594
14595
14596 fi
14597
14598
14599 fi
14600
14601
14602 fi
14603
14604
14605 fi
14606
14607
14608 fi
14609
14610 ;;
14611 esac
14612
14613 if test no = "$lt_cv_dlopen"; then
14614 enable_dlopen=no
14615 else
14616 enable_dlopen=yes
14617 fi
14618
14619 case $lt_cv_dlopen in
14620 dlopen)
14621 save_CPPFLAGS=$CPPFLAGS
14622 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14623
14624 save_LDFLAGS=$LDFLAGS
14625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14626
14627 save_LIBS=$LIBS
14628 LIBS="$lt_cv_dlopen_libs $LIBS"
14629
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14631 printf %s "checking whether a program can dlopen itself... " >&6; }
14632 if test ${lt_cv_dlopen_self+y}
14633 then :
14634 printf %s "(cached) " >&6
14635 else $as_nop
14636 if test yes = "$cross_compiling"; then :
14637 lt_cv_dlopen_self=cross
14638 else
14639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14640 lt_status=$lt_dlunknown
14641 cat > conftest.$ac_ext <<_LT_EOF
14642 #line $LINENO "configure"
14643 #include "confdefs.h"
14644
14645 #if HAVE_DLFCN_H
14646 #include <dlfcn.h>
14647 #endif
14648
14649 #include <stdio.h>
14650
14651 #ifdef RTLD_GLOBAL
14652 # define LT_DLGLOBAL RTLD_GLOBAL
14653 #else
14654 # ifdef DL_GLOBAL
14655 # define LT_DLGLOBAL DL_GLOBAL
14656 # else
14657 # define LT_DLGLOBAL 0
14658 # endif
14659 #endif
14660
14661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14662 find out it does not work in some platform. */
14663 #ifndef LT_DLLAZY_OR_NOW
14664 # ifdef RTLD_LAZY
14665 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14666 # else
14667 # ifdef DL_LAZY
14668 # define LT_DLLAZY_OR_NOW DL_LAZY
14669 # else
14670 # ifdef RTLD_NOW
14671 # define LT_DLLAZY_OR_NOW RTLD_NOW
14672 # else
14673 # ifdef DL_NOW
14674 # define LT_DLLAZY_OR_NOW DL_NOW
14675 # else
14676 # define LT_DLLAZY_OR_NOW 0
14677 # endif
14678 # endif
14679 # endif
14680 # endif
14681 #endif
14682
14683 /* When -fvisibility=hidden is used, assume the code has been annotated
14684 correspondingly for the symbols needed. */
14685 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14686 int fnord () __attribute__((visibility("default")));
14687 #endif
14688
14689 int fnord () { return 42; }
14690 int main ()
14691 {
14692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14693 int status = $lt_dlunknown;
14694
14695 if (self)
14696 {
14697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14698 else
14699 {
14700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14701 else puts (dlerror ());
14702 }
14703 /* dlclose (self); */
14704 }
14705 else
14706 puts (dlerror ());
14707
14708 return status;
14709 }
14710 _LT_EOF
14711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14712 (eval $ac_link) 2>&5
14713 ac_status=$?
14714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14715 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14716 (./conftest; exit; ) >&5 2>/dev/null
14717 lt_status=$?
14718 case x$lt_status in
14719 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14720 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14721 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14722 esac
14723 else :
14724 # compilation failed
14725 lt_cv_dlopen_self=no
14726 fi
14727 fi
14728 rm -fr conftest*
14729
14730
14731 fi
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14733 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
14734
14735 if test yes = "$lt_cv_dlopen_self"; then
14736 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14738 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
14739 if test ${lt_cv_dlopen_self_static+y}
14740 then :
14741 printf %s "(cached) " >&6
14742 else $as_nop
14743 if test yes = "$cross_compiling"; then :
14744 lt_cv_dlopen_self_static=cross
14745 else
14746 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14747 lt_status=$lt_dlunknown
14748 cat > conftest.$ac_ext <<_LT_EOF
14749 #line $LINENO "configure"
14750 #include "confdefs.h"
14751
14752 #if HAVE_DLFCN_H
14753 #include <dlfcn.h>
14754 #endif
14755
14756 #include <stdio.h>
14757
14758 #ifdef RTLD_GLOBAL
14759 # define LT_DLGLOBAL RTLD_GLOBAL
14760 #else
14761 # ifdef DL_GLOBAL
14762 # define LT_DLGLOBAL DL_GLOBAL
14763 # else
14764 # define LT_DLGLOBAL 0
14765 # endif
14766 #endif
14767
14768 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14769 find out it does not work in some platform. */
14770 #ifndef LT_DLLAZY_OR_NOW
14771 # ifdef RTLD_LAZY
14772 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14773 # else
14774 # ifdef DL_LAZY
14775 # define LT_DLLAZY_OR_NOW DL_LAZY
14776 # else
14777 # ifdef RTLD_NOW
14778 # define LT_DLLAZY_OR_NOW RTLD_NOW
14779 # else
14780 # ifdef DL_NOW
14781 # define LT_DLLAZY_OR_NOW DL_NOW
14782 # else
14783 # define LT_DLLAZY_OR_NOW 0
14784 # endif
14785 # endif
14786 # endif
14787 # endif
14788 #endif
14789
14790 /* When -fvisibility=hidden is used, assume the code has been annotated
14791 correspondingly for the symbols needed. */
14792 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14793 int fnord () __attribute__((visibility("default")));
14794 #endif
14795
14796 int fnord () { return 42; }
14797 int main ()
14798 {
14799 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14800 int status = $lt_dlunknown;
14801
14802 if (self)
14803 {
14804 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14805 else
14806 {
14807 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14808 else puts (dlerror ());
14809 }
14810 /* dlclose (self); */
14811 }
14812 else
14813 puts (dlerror ());
14814
14815 return status;
14816 }
14817 _LT_EOF
14818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14819 (eval $ac_link) 2>&5
14820 ac_status=$?
14821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14822 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14823 (./conftest; exit; ) >&5 2>/dev/null
14824 lt_status=$?
14825 case x$lt_status in
14826 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14827 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14828 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14829 esac
14830 else :
14831 # compilation failed
14832 lt_cv_dlopen_self_static=no
14833 fi
14834 fi
14835 rm -fr conftest*
14836
14837
14838 fi
14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14840 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
14841 fi
14842
14843 CPPFLAGS=$save_CPPFLAGS
14844 LDFLAGS=$save_LDFLAGS
14845 LIBS=$save_LIBS
14846 ;;
14847 esac
14848
14849 case $lt_cv_dlopen_self in
14850 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14851 *) enable_dlopen_self=unknown ;;
14852 esac
14853
14854 case $lt_cv_dlopen_self_static in
14855 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14856 *) enable_dlopen_self_static=unknown ;;
14857 esac
14858 fi
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876 striplib=
14877 old_striplib=
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14879 printf %s "checking whether stripping libraries is possible... " >&6; }
14880 if test -z "$STRIP"; then
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14882 printf "%s\n" "no" >&6; }
14883 else
14884 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14885 old_striplib="$STRIP --strip-debug"
14886 striplib="$STRIP --strip-unneeded"
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14888 printf "%s\n" "yes" >&6; }
14889 else
14890 case $host_os in
14891 darwin*)
14892 # FIXME - insert some real tests, host_os isn't really good enough
14893 striplib="$STRIP -x"
14894 old_striplib="$STRIP -S"
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14896 printf "%s\n" "yes" >&6; }
14897 ;;
14898 freebsd*)
14899 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14900 old_striplib="$STRIP --strip-debug"
14901 striplib="$STRIP --strip-unneeded"
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14903 printf "%s\n" "yes" >&6; }
14904 else
14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14906 printf "%s\n" "no" >&6; }
14907 fi
14908 ;;
14909 *)
14910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14911 printf "%s\n" "no" >&6; }
14912 ;;
14913 esac
14914 fi
14915 fi
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928 # Report what library types will actually be built
14929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14930 printf %s "checking if libtool supports shared libraries... " >&6; }
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14932 printf "%s\n" "$can_build_shared" >&6; }
14933
14934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14935 printf %s "checking whether to build shared libraries... " >&6; }
14936 test no = "$can_build_shared" && enable_shared=no
14937
14938 # On AIX, shared libraries and static libraries use the same namespace, and
14939 # are all built from PIC.
14940 case $host_os in
14941 aix3*)
14942 test yes = "$enable_shared" && enable_static=no
14943 if test -n "$RANLIB"; then
14944 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14945 postinstall_cmds='$RANLIB $lib'
14946 fi
14947 ;;
14948
14949 aix[4-9]*)
14950 if test ia64 != "$host_cpu"; then
14951 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14952 yes,aix,yes) ;; # shared object as lib.so file only
14953 yes,svr4,*) ;; # shared object as lib.so archive member only
14954 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14955 esac
14956 fi
14957 ;;
14958 esac
14959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14960 printf "%s\n" "$enable_shared" >&6; }
14961
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14963 printf %s "checking whether to build static libraries... " >&6; }
14964 # Make sure either enable_shared or enable_static is yes.
14965 test yes = "$enable_shared" || enable_static=yes
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14967 printf "%s\n" "$enable_static" >&6; }
14968
14969
14970
14971
14972 fi
14973 ac_ext=c
14974 ac_cpp='$CPP $CPPFLAGS'
14975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14978
14979 CC=$lt_save_CC
14980
14981 if test -n "$CXX" && ( test no != "$CXX" &&
14982 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14983 (test g++ != "$CXX"))); then
14984 ac_ext=cpp
14985 ac_cpp='$CXXCPP $CPPFLAGS'
14986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14990 printf %s "checking how to run the C++ preprocessor... " >&6; }
14991 if test -z "$CXXCPP"; then
14992 if test ${ac_cv_prog_CXXCPP+y}
14993 then :
14994 printf %s "(cached) " >&6
14995 else $as_nop
14996 # Double quotes because $CXX needs to be expanded
14997 for CXXCPP in "$CXX -E" cpp /lib/cpp
14998 do
14999 ac_preproc_ok=false
15000 for ac_cxx_preproc_warn_flag in '' yes
15001 do
15002 # Use a header file that comes with gcc, so configuring glibc
15003 # with a fresh cross-compiler works.
15004 # On the NeXT, cc -E runs the code through the compiler's parser,
15005 # not just through cpp. "Syntax error" is here to catch this case.
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <limits.h>
15009 Syntax error
15010 _ACEOF
15011 if ac_fn_cxx_try_cpp "$LINENO"
15012 then :
15013
15014 else $as_nop
15015 # Broken: fails on valid input.
15016 continue
15017 fi
15018 rm -f conftest.err conftest.i conftest.$ac_ext
15019
15020 # OK, works on sane cases. Now check whether nonexistent headers
15021 # can be detected and how.
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15024 #include <ac_nonexistent.h>
15025 _ACEOF
15026 if ac_fn_cxx_try_cpp "$LINENO"
15027 then :
15028 # Broken: success on invalid input.
15029 continue
15030 else $as_nop
15031 # Passes both tests.
15032 ac_preproc_ok=:
15033 break
15034 fi
15035 rm -f conftest.err conftest.i conftest.$ac_ext
15036
15037 done
15038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15039 rm -f conftest.i conftest.err conftest.$ac_ext
15040 if $ac_preproc_ok
15041 then :
15042 break
15043 fi
15044
15045 done
15046 ac_cv_prog_CXXCPP=$CXXCPP
15047
15048 fi
15049 CXXCPP=$ac_cv_prog_CXXCPP
15050 else
15051 ac_cv_prog_CXXCPP=$CXXCPP
15052 fi
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15054 printf "%s\n" "$CXXCPP" >&6; }
15055 ac_preproc_ok=false
15056 for ac_cxx_preproc_warn_flag in '' yes
15057 do
15058 # Use a header file that comes with gcc, so configuring glibc
15059 # with a fresh cross-compiler works.
15060 # On the NeXT, cc -E runs the code through the compiler's parser,
15061 # not just through cpp. "Syntax error" is here to catch this case.
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #include <limits.h>
15065 Syntax error
15066 _ACEOF
15067 if ac_fn_cxx_try_cpp "$LINENO"
15068 then :
15069
15070 else $as_nop
15071 # Broken: fails on valid input.
15072 continue
15073 fi
15074 rm -f conftest.err conftest.i conftest.$ac_ext
15075
15076 # OK, works on sane cases. Now check whether nonexistent headers
15077 # can be detected and how.
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 #include <ac_nonexistent.h>
15081 _ACEOF
15082 if ac_fn_cxx_try_cpp "$LINENO"
15083 then :
15084 # Broken: success on invalid input.
15085 continue
15086 else $as_nop
15087 # Passes both tests.
15088 ac_preproc_ok=:
15089 break
15090 fi
15091 rm -f conftest.err conftest.i conftest.$ac_ext
15092
15093 done
15094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15095 rm -f conftest.i conftest.err conftest.$ac_ext
15096 if $ac_preproc_ok
15097 then :
15098
15099 else $as_nop
15100 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15101 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15102 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15103 See \`config.log' for more details" "$LINENO" 5; }
15104 fi
15105
15106 ac_ext=c
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15111
15112 else
15113 _lt_caught_CXX_error=yes
15114 fi
15115
15116 ac_ext=cpp
15117 ac_cpp='$CXXCPP $CPPFLAGS'
15118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15121
15122 archive_cmds_need_lc_CXX=no
15123 allow_undefined_flag_CXX=
15124 always_export_symbols_CXX=no
15125 archive_expsym_cmds_CXX=
15126 compiler_needs_object_CXX=no
15127 export_dynamic_flag_spec_CXX=
15128 hardcode_direct_CXX=no
15129 hardcode_direct_absolute_CXX=no
15130 hardcode_libdir_flag_spec_CXX=
15131 hardcode_libdir_separator_CXX=
15132 hardcode_minus_L_CXX=no
15133 hardcode_shlibpath_var_CXX=unsupported
15134 hardcode_automatic_CXX=no
15135 inherit_rpath_CXX=no
15136 module_cmds_CXX=
15137 module_expsym_cmds_CXX=
15138 link_all_deplibs_CXX=unknown
15139 old_archive_cmds_CXX=$old_archive_cmds
15140 reload_flag_CXX=$reload_flag
15141 reload_cmds_CXX=$reload_cmds
15142 no_undefined_flag_CXX=
15143 whole_archive_flag_spec_CXX=
15144 enable_shared_with_static_runtimes_CXX=no
15145
15146 # Source file extension for C++ test sources.
15147 ac_ext=cpp
15148
15149 # Object file extension for compiled C++ test sources.
15150 objext=o
15151 objext_CXX=$objext
15152
15153 # No sense in running all these tests if we already determined that
15154 # the CXX compiler isn't working. Some variables (like enable_shared)
15155 # are currently assumed to apply to all compilers on this platform,
15156 # and will be corrupted by setting them based on a non-working compiler.
15157 if test yes != "$_lt_caught_CXX_error"; then
15158 # Code to be used in simple compile tests
15159 lt_simple_compile_test_code="int some_variable = 0;"
15160
15161 # Code to be used in simple link tests
15162 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15163
15164 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15165
15166
15167
15168
15169
15170
15171 # If no C compiler was specified, use CC.
15172 LTCC=${LTCC-"$CC"}
15173
15174 # If no C compiler flags were specified, use CFLAGS.
15175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15176
15177 # Allow CC to be a program name with arguments.
15178 compiler=$CC
15179
15180
15181 # save warnings/boilerplate of simple test code
15182 ac_outfile=conftest.$ac_objext
15183 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15184 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15185 _lt_compiler_boilerplate=`cat conftest.err`
15186 $RM conftest*
15187
15188 ac_outfile=conftest.$ac_objext
15189 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15190 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15191 _lt_linker_boilerplate=`cat conftest.err`
15192 $RM -r conftest*
15193
15194
15195 # Allow CC to be a program name with arguments.
15196 lt_save_CC=$CC
15197 lt_save_CFLAGS=$CFLAGS
15198 lt_save_LD=$LD
15199 lt_save_GCC=$GCC
15200 GCC=$GXX
15201 lt_save_with_gnu_ld=$with_gnu_ld
15202 lt_save_path_LD=$lt_cv_path_LD
15203 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15204 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15205 else
15206 $as_unset lt_cv_prog_gnu_ld
15207 fi
15208 if test -n "${lt_cv_path_LDCXX+set}"; then
15209 lt_cv_path_LD=$lt_cv_path_LDCXX
15210 else
15211 $as_unset lt_cv_path_LD
15212 fi
15213 test -z "${LDCXX+set}" || LD=$LDCXX
15214 CC=${CXX-"c++"}
15215 CFLAGS=$CXXFLAGS
15216 compiler=$CC
15217 compiler_CXX=$CC
15218 func_cc_basename $compiler
15219 cc_basename=$func_cc_basename_result
15220
15221
15222 if test -n "$compiler"; then
15223 # We don't want -fno-exception when compiling C++ code, so set the
15224 # no_builtin_flag separately
15225 if test yes = "$GXX"; then
15226 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15227 else
15228 lt_prog_compiler_no_builtin_flag_CXX=
15229 fi
15230
15231 if test yes = "$GXX"; then
15232 # Set up default GNU C++ configuration
15233
15234
15235
15236 # Check whether --with-gnu-ld was given.
15237 if test ${with_gnu_ld+y}
15238 then :
15239 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15240 else $as_nop
15241 with_gnu_ld=no
15242 fi
15243
15244 ac_prog=ld
15245 if test yes = "$GCC"; then
15246 # Check if gcc -print-prog-name=ld gives a path.
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15248 printf %s "checking for ld used by $CC... " >&6; }
15249 case $host in
15250 *-*-mingw*)
15251 # gcc leaves a trailing carriage return, which upsets mingw
15252 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15253 *)
15254 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15255 esac
15256 case $ac_prog in
15257 # Accept absolute paths.
15258 [\\/]* | ?:[\\/]*)
15259 re_direlt='/[^/][^/]*/\.\./'
15260 # Canonicalize the pathname of ld
15261 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15262 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15263 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15264 done
15265 test -z "$LD" && LD=$ac_prog
15266 ;;
15267 "")
15268 # If it fails, then pretend we aren't using GCC.
15269 ac_prog=ld
15270 ;;
15271 *)
15272 # If it is relative, then search for the first ld in PATH.
15273 with_gnu_ld=unknown
15274 ;;
15275 esac
15276 elif test yes = "$with_gnu_ld"; then
15277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15278 printf %s "checking for GNU ld... " >&6; }
15279 else
15280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15281 printf %s "checking for non-GNU ld... " >&6; }
15282 fi
15283 if test ${lt_cv_path_LD+y}
15284 then :
15285 printf %s "(cached) " >&6
15286 else $as_nop
15287 if test -z "$LD"; then
15288 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15289 for ac_dir in $PATH; do
15290 IFS=$lt_save_ifs
15291 test -z "$ac_dir" && ac_dir=.
15292 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15293 lt_cv_path_LD=$ac_dir/$ac_prog
15294 # Check to see if the program is GNU ld. I'd rather use --version,
15295 # but apparently some variants of GNU ld only accept -v.
15296 # Break only if it was the GNU/non-GNU ld that we prefer.
15297 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15298 *GNU* | *'with BFD'*)
15299 test no != "$with_gnu_ld" && break
15300 ;;
15301 *)
15302 test yes != "$with_gnu_ld" && break
15303 ;;
15304 esac
15305 fi
15306 done
15307 IFS=$lt_save_ifs
15308 else
15309 lt_cv_path_LD=$LD # Let the user override the test with a path.
15310 fi
15311 fi
15312
15313 LD=$lt_cv_path_LD
15314 if test -n "$LD"; then
15315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15316 printf "%s\n" "$LD" >&6; }
15317 else
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15319 printf "%s\n" "no" >&6; }
15320 fi
15321 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15323 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
15324 if test ${lt_cv_prog_gnu_ld+y}
15325 then :
15326 printf %s "(cached) " >&6
15327 else $as_nop
15328 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15329 case `$LD -v 2>&1 </dev/null` in
15330 *GNU* | *'with BFD'*)
15331 lt_cv_prog_gnu_ld=yes
15332 ;;
15333 *)
15334 lt_cv_prog_gnu_ld=no
15335 ;;
15336 esac
15337 fi
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15339 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
15340 with_gnu_ld=$lt_cv_prog_gnu_ld
15341
15342
15343
15344
15345
15346
15347
15348 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15349 # archiving commands below assume that GNU ld is being used.
15350 if test yes = "$with_gnu_ld"; then
15351 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15352 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15353
15354 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15355 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15356
15357 # If archive_cmds runs LD, not CC, wlarc should be empty
15358 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15359 # investigate it a little bit more. (MM)
15360 wlarc='$wl'
15361
15362 # ancient GNU ld didn't support --whole-archive et. al.
15363 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15364 $GREP 'no-whole-archive' > /dev/null; then
15365 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15366 else
15367 whole_archive_flag_spec_CXX=
15368 fi
15369 else
15370 with_gnu_ld=no
15371 wlarc=
15372
15373 # A generic and very simple default shared library creation
15374 # command for GNU C++ for the case where it uses the native
15375 # linker, instead of GNU ld. If possible, this setting should
15376 # overridden to take advantage of the native linker features on
15377 # the platform it is being used on.
15378 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15379 fi
15380
15381 # Commands to make compiler produce verbose output that lists
15382 # what "hidden" libraries, object files and flags are used when
15383 # linking a shared library.
15384 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15385
15386 else
15387 GXX=no
15388 with_gnu_ld=no
15389 wlarc=
15390 fi
15391
15392 # PORTME: fill in a description of your system's C++ link characteristics
15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15394 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15395 ld_shlibs_CXX=yes
15396 case $host_os in
15397 aix3*)
15398 # FIXME: insert proper C++ library support
15399 ld_shlibs_CXX=no
15400 ;;
15401 aix[4-9]*)
15402 if test ia64 = "$host_cpu"; then
15403 # On IA64, the linker does run time linking by default, so we don't
15404 # have to do anything special.
15405 aix_use_runtimelinking=no
15406 exp_sym_flag='-Bexport'
15407 no_entry_flag=
15408 else
15409 aix_use_runtimelinking=no
15410
15411 # Test if we are trying to use run time linking or normal
15412 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15413 # have runtime linking enabled, and use it for executables.
15414 # For shared libraries, we enable/disable runtime linking
15415 # depending on the kind of the shared library created -
15416 # when "with_aix_soname,aix_use_runtimelinking" is:
15417 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15418 # "aix,yes" lib.so shared, rtl:yes, for executables
15419 # lib.a static archive
15420 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15421 # lib.a(lib.so.V) shared, rtl:no, for executables
15422 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15423 # lib.a(lib.so.V) shared, rtl:no
15424 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15425 # lib.a static archive
15426 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15427 for ld_flag in $LDFLAGS; do
15428 case $ld_flag in
15429 *-brtl*)
15430 aix_use_runtimelinking=yes
15431 break
15432 ;;
15433 esac
15434 done
15435 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15436 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15437 # so we don't have lib.a shared libs to link our executables.
15438 # We have to force runtime linking in this case.
15439 aix_use_runtimelinking=yes
15440 LDFLAGS="$LDFLAGS -Wl,-brtl"
15441 fi
15442 ;;
15443 esac
15444
15445 exp_sym_flag='-bexport'
15446 no_entry_flag='-bnoentry'
15447 fi
15448
15449 # When large executables or shared objects are built, AIX ld can
15450 # have problems creating the table of contents. If linking a library
15451 # or program results in "error TOC overflow" add -mminimal-toc to
15452 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15453 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15454
15455 archive_cmds_CXX=''
15456 hardcode_direct_CXX=yes
15457 hardcode_direct_absolute_CXX=yes
15458 hardcode_libdir_separator_CXX=':'
15459 link_all_deplibs_CXX=yes
15460 file_list_spec_CXX='$wl-f,'
15461 case $with_aix_soname,$aix_use_runtimelinking in
15462 aix,*) ;; # no import file
15463 svr4,* | *,yes) # use import file
15464 # The Import File defines what to hardcode.
15465 hardcode_direct_CXX=no
15466 hardcode_direct_absolute_CXX=no
15467 ;;
15468 esac
15469
15470 if test yes = "$GXX"; then
15471 case $host_os in aix4.[012]|aix4.[012].*)
15472 # We only want to do this on AIX 4.2 and lower, the check
15473 # below for broken collect2 doesn't work under 4.3+
15474 collect2name=`$CC -print-prog-name=collect2`
15475 if test -f "$collect2name" &&
15476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15477 then
15478 # We have reworked collect2
15479 :
15480 else
15481 # We have old collect2
15482 hardcode_direct_CXX=unsupported
15483 # It fails to find uninstalled libraries when the uninstalled
15484 # path is not listed in the libpath. Setting hardcode_minus_L
15485 # to unsupported forces relinking
15486 hardcode_minus_L_CXX=yes
15487 hardcode_libdir_flag_spec_CXX='-L$libdir'
15488 hardcode_libdir_separator_CXX=
15489 fi
15490 esac
15491 shared_flag='-shared'
15492 if test yes = "$aix_use_runtimelinking"; then
15493 shared_flag=$shared_flag' $wl-G'
15494 fi
15495 # Need to ensure runtime linking is disabled for the traditional
15496 # shared library, or the linker may eventually find shared libraries
15497 # /with/ Import File - we do not want to mix them.
15498 shared_flag_aix='-shared'
15499 shared_flag_svr4='-shared $wl-G'
15500 else
15501 # not using gcc
15502 if test ia64 = "$host_cpu"; then
15503 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15504 # chokes on -Wl,-G. The following line is correct:
15505 shared_flag='-G'
15506 else
15507 if test yes = "$aix_use_runtimelinking"; then
15508 shared_flag='$wl-G'
15509 else
15510 shared_flag='$wl-bM:SRE'
15511 fi
15512 shared_flag_aix='$wl-bM:SRE'
15513 shared_flag_svr4='$wl-G'
15514 fi
15515 fi
15516
15517 export_dynamic_flag_spec_CXX='$wl-bexpall'
15518 # It seems that -bexpall does not export symbols beginning with
15519 # underscore (_), so it is better to generate a list of symbols to
15520 # export.
15521 always_export_symbols_CXX=yes
15522 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15523 # Warning - without using the other runtime loading flags (-brtl),
15524 # -berok will link without error, but may produce a broken library.
15525 # The "-G" linker flag allows undefined symbols.
15526 no_undefined_flag_CXX='-bernotok'
15527 # Determine the default libpath from the value encoded in an empty
15528 # executable.
15529 if test set = "${lt_cv_aix_libpath+set}"; then
15530 aix_libpath=$lt_cv_aix_libpath
15531 else
15532 if test ${lt_cv_aix_libpath__CXX+y}
15533 then :
15534 printf %s "(cached) " >&6
15535 else $as_nop
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15538
15539 int
15540 main (void)
15541 {
15542
15543 ;
15544 return 0;
15545 }
15546 _ACEOF
15547 if ac_fn_cxx_try_link "$LINENO"
15548 then :
15549
15550 lt_aix_libpath_sed='
15551 /Import File Strings/,/^$/ {
15552 /^0/ {
15553 s/^0 *\([^ ]*\) *$/\1/
15554 p
15555 }
15556 }'
15557 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15558 # Check for a 64-bit object if we didn't find anything.
15559 if test -z "$lt_cv_aix_libpath__CXX"; then
15560 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15561 fi
15562 fi
15563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15564 conftest$ac_exeext conftest.$ac_ext
15565 if test -z "$lt_cv_aix_libpath__CXX"; then
15566 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15567 fi
15568
15569 fi
15570
15571 aix_libpath=$lt_cv_aix_libpath__CXX
15572 fi
15573
15574 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15575
15576 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
15577 else
15578 if test ia64 = "$host_cpu"; then
15579 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15580 allow_undefined_flag_CXX="-z nodefs"
15581 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
15582 else
15583 # Determine the default libpath from the value encoded in an
15584 # empty executable.
15585 if test set = "${lt_cv_aix_libpath+set}"; then
15586 aix_libpath=$lt_cv_aix_libpath
15587 else
15588 if test ${lt_cv_aix_libpath__CXX+y}
15589 then :
15590 printf %s "(cached) " >&6
15591 else $as_nop
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594
15595 int
15596 main (void)
15597 {
15598
15599 ;
15600 return 0;
15601 }
15602 _ACEOF
15603 if ac_fn_cxx_try_link "$LINENO"
15604 then :
15605
15606 lt_aix_libpath_sed='
15607 /Import File Strings/,/^$/ {
15608 /^0/ {
15609 s/^0 *\([^ ]*\) *$/\1/
15610 p
15611 }
15612 }'
15613 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15614 # Check for a 64-bit object if we didn't find anything.
15615 if test -z "$lt_cv_aix_libpath__CXX"; then
15616 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15617 fi
15618 fi
15619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15620 conftest$ac_exeext conftest.$ac_ext
15621 if test -z "$lt_cv_aix_libpath__CXX"; then
15622 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15623 fi
15624
15625 fi
15626
15627 aix_libpath=$lt_cv_aix_libpath__CXX
15628 fi
15629
15630 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15631 # Warning - without using the other run time loading flags,
15632 # -berok will link without error, but may produce a broken library.
15633 no_undefined_flag_CXX=' $wl-bernotok'
15634 allow_undefined_flag_CXX=' $wl-berok'
15635 if test yes = "$with_gnu_ld"; then
15636 # We only use this code for GNU lds that support --whole-archive.
15637 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15638 else
15639 # Exported symbols can be pulled into shared objects from archives
15640 whole_archive_flag_spec_CXX='$convenience'
15641 fi
15642 archive_cmds_need_lc_CXX=yes
15643 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15644 # -brtl affects multiple linker settings, -berok does not and is overridden later
15645 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15646 if test svr4 != "$with_aix_soname"; then
15647 # This is similar to how AIX traditionally builds its shared
15648 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15649 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
15650 fi
15651 if test aix != "$with_aix_soname"; then
15652 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
15653 else
15654 # used by -dlpreopen to get the symbols
15655 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15656 fi
15657 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15658 fi
15659 fi
15660 ;;
15661
15662 beos*)
15663 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15664 allow_undefined_flag_CXX=unsupported
15665 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15666 # support --undefined. This deserves some investigation. FIXME
15667 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15668 else
15669 ld_shlibs_CXX=no
15670 fi
15671 ;;
15672
15673 chorus*)
15674 case $cc_basename in
15675 *)
15676 # FIXME: insert proper C++ library support
15677 ld_shlibs_CXX=no
15678 ;;
15679 esac
15680 ;;
15681
15682 cygwin* | mingw* | pw32* | cegcc*)
15683 case $GXX,$cc_basename in
15684 ,cl* | no,cl* | ,icl* | no,icl*)
15685 # Native MSVC or ICC
15686 # hardcode_libdir_flag_spec is actually meaningless, as there is
15687 # no search path for DLLs.
15688 hardcode_libdir_flag_spec_CXX=' '
15689 allow_undefined_flag_CXX=unsupported
15690 always_export_symbols_CXX=yes
15691 file_list_spec_CXX='@'
15692 # Tell ltmain to make .lib files, not .a files.
15693 libext=lib
15694 # Tell ltmain to make .dll files, not .so files.
15695 shrext_cmds=.dll
15696 # FIXME: Setting linknames here is a bad hack.
15697 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15698 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15699 cp "$export_symbols" "$output_objdir/$soname.def";
15700 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15701 else
15702 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15703 fi~
15704 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15705 linknames='
15706 # The linker will not automatically build a static lib if we build a DLL.
15707 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15708 enable_shared_with_static_runtimes_CXX=yes
15709 # Don't use ranlib
15710 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15711 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15712 lt_tool_outputfile="@TOOL_OUTPUT@"~
15713 case $lt_outputfile in
15714 *.exe|*.EXE) ;;
15715 *)
15716 lt_outputfile=$lt_outputfile.exe
15717 lt_tool_outputfile=$lt_tool_outputfile.exe
15718 ;;
15719 esac~
15720 func_to_tool_file "$lt_outputfile"~
15721 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15722 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15723 $RM "$lt_outputfile.manifest";
15724 fi'
15725 ;;
15726 *)
15727 # g++
15728 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15729 # as there is no search path for DLLs.
15730 hardcode_libdir_flag_spec_CXX='-L$libdir'
15731 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15732 allow_undefined_flag_CXX=unsupported
15733 always_export_symbols_CXX=no
15734 enable_shared_with_static_runtimes_CXX=yes
15735
15736 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15737 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15738 # If the export-symbols file already is a .def file, use it as
15739 # is; otherwise, prepend EXPORTS...
15740 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15741 cp $export_symbols $output_objdir/$soname.def;
15742 else
15743 echo EXPORTS > $output_objdir/$soname.def;
15744 cat $export_symbols >> $output_objdir/$soname.def;
15745 fi~
15746 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15747 else
15748 ld_shlibs_CXX=no
15749 fi
15750 ;;
15751 esac
15752 ;;
15753 darwin* | rhapsody*)
15754
15755
15756 archive_cmds_need_lc_CXX=no
15757 hardcode_direct_CXX=no
15758 hardcode_automatic_CXX=yes
15759 hardcode_shlibpath_var_CXX=unsupported
15760 if test yes = "$lt_cv_ld_force_load"; then
15761 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15762
15763 else
15764 whole_archive_flag_spec_CXX=''
15765 fi
15766 link_all_deplibs_CXX=yes
15767 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15768 case $cc_basename in
15769 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15770 *) _lt_dar_can_shared=$GCC ;;
15771 esac
15772 if test yes = "$_lt_dar_can_shared"; then
15773 output_verbose_link_cmd=func_echo_all
15774 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15775 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15776 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
15777 module_expsym_cmds_CXX="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
15778 if test yes != "$lt_cv_apple_cc_single_mod"; then
15779 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
15780 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
15781 fi
15782
15783 else
15784 ld_shlibs_CXX=no
15785 fi
15786
15787 ;;
15788
15789 os2*)
15790 hardcode_libdir_flag_spec_CXX='-L$libdir'
15791 hardcode_minus_L_CXX=yes
15792 allow_undefined_flag_CXX=unsupported
15793 shrext_cmds=.dll
15794 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15795 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15796 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15797 $ECHO EXPORTS >> $output_objdir/$libname.def~
15798 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15799 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15800 emximp -o $lib $output_objdir/$libname.def'
15801 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15802 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15803 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15804 $ECHO EXPORTS >> $output_objdir/$libname.def~
15805 prefix_cmds="$SED"~
15806 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15807 prefix_cmds="$prefix_cmds -e 1d";
15808 fi~
15809 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15810 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15811 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15812 emximp -o $lib $output_objdir/$libname.def'
15813 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15814 enable_shared_with_static_runtimes_CXX=yes
15815 file_list_spec_CXX='@'
15816 ;;
15817
15818 dgux*)
15819 case $cc_basename in
15820 ec++*)
15821 # FIXME: insert proper C++ library support
15822 ld_shlibs_CXX=no
15823 ;;
15824 ghcx*)
15825 # Green Hills C++ Compiler
15826 # FIXME: insert proper C++ library support
15827 ld_shlibs_CXX=no
15828 ;;
15829 *)
15830 # FIXME: insert proper C++ library support
15831 ld_shlibs_CXX=no
15832 ;;
15833 esac
15834 ;;
15835
15836 freebsd2.*)
15837 # C++ shared libraries reported to be fairly broken before
15838 # switch to ELF
15839 ld_shlibs_CXX=no
15840 ;;
15841
15842 freebsd-elf*)
15843 archive_cmds_need_lc_CXX=no
15844 ;;
15845
15846 freebsd* | dragonfly* | midnightbsd*)
15847 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15848 # conventions
15849 ld_shlibs_CXX=yes
15850 ;;
15851
15852 haiku*)
15853 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15854 link_all_deplibs_CXX=yes
15855 ;;
15856
15857 hpux9*)
15858 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15859 hardcode_libdir_separator_CXX=:
15860 export_dynamic_flag_spec_CXX='$wl-E'
15861 hardcode_direct_CXX=yes
15862 hardcode_minus_L_CXX=yes # Not in the search PATH,
15863 # but as the default
15864 # location of the library.
15865
15866 case $cc_basename in
15867 CC*)
15868 # FIXME: insert proper C++ library support
15869 ld_shlibs_CXX=no
15870 ;;
15871 aCC*)
15872 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15873 # Commands to make compiler produce verbose output that lists
15874 # what "hidden" libraries, object files and flags are used when
15875 # linking a shared library.
15876 #
15877 # There doesn't appear to be a way to prevent this compiler from
15878 # explicitly linking system object files so we need to strip them
15879 # from the output so that they don't get included in the library
15880 # dependencies.
15881 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15882 ;;
15883 *)
15884 if test yes = "$GXX"; then
15885 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15886 else
15887 # FIXME: insert proper C++ library support
15888 ld_shlibs_CXX=no
15889 fi
15890 ;;
15891 esac
15892 ;;
15893
15894 hpux10*|hpux11*)
15895 if test no = "$with_gnu_ld"; then
15896 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15897 hardcode_libdir_separator_CXX=:
15898
15899 case $host_cpu in
15900 hppa*64*|ia64*)
15901 ;;
15902 *)
15903 export_dynamic_flag_spec_CXX='$wl-E'
15904 ;;
15905 esac
15906 fi
15907 case $host_cpu in
15908 hppa*64*|ia64*)
15909 hardcode_direct_CXX=no
15910 hardcode_shlibpath_var_CXX=no
15911 ;;
15912 *)
15913 hardcode_direct_CXX=yes
15914 hardcode_direct_absolute_CXX=yes
15915 hardcode_minus_L_CXX=yes # Not in the search PATH,
15916 # but as the default
15917 # location of the library.
15918 ;;
15919 esac
15920
15921 case $cc_basename in
15922 CC*)
15923 # FIXME: insert proper C++ library support
15924 ld_shlibs_CXX=no
15925 ;;
15926 aCC*)
15927 case $host_cpu in
15928 hppa*64*)
15929 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15930 ;;
15931 ia64*)
15932 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15933 ;;
15934 *)
15935 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15936 ;;
15937 esac
15938 # Commands to make compiler produce verbose output that lists
15939 # what "hidden" libraries, object files and flags are used when
15940 # linking a shared library.
15941 #
15942 # There doesn't appear to be a way to prevent this compiler from
15943 # explicitly linking system object files so we need to strip them
15944 # from the output so that they don't get included in the library
15945 # dependencies.
15946 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15947 ;;
15948 *)
15949 if test yes = "$GXX"; then
15950 if test no = "$with_gnu_ld"; then
15951 case $host_cpu in
15952 hppa*64*)
15953 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15954 ;;
15955 ia64*)
15956 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15957 ;;
15958 *)
15959 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15960 ;;
15961 esac
15962 fi
15963 else
15964 # FIXME: insert proper C++ library support
15965 ld_shlibs_CXX=no
15966 fi
15967 ;;
15968 esac
15969 ;;
15970
15971 interix[3-9]*)
15972 hardcode_direct_CXX=no
15973 hardcode_shlibpath_var_CXX=no
15974 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15975 export_dynamic_flag_spec_CXX='$wl-E'
15976 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15977 # Instead, shared libraries are loaded at an image base (0x10000000 by
15978 # default) and relocated if they conflict, which is a slow very memory
15979 # consuming and fragmenting process. To avoid this, we pick a random,
15980 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15981 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15982 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15983 archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15984 ;;
15985 irix5* | irix6*)
15986 case $cc_basename in
15987 CC*)
15988 # SGI C++
15989 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15990
15991 # Archives containing C++ object files must be created using
15992 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15993 # necessary to make sure instantiated templates are included
15994 # in the archive.
15995 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15996 ;;
15997 *)
15998 if test yes = "$GXX"; then
15999 if test no = "$with_gnu_ld"; then
16000 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
16001 else
16002 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
16003 fi
16004 fi
16005 link_all_deplibs_CXX=yes
16006 ;;
16007 esac
16008 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16009 hardcode_libdir_separator_CXX=:
16010 inherit_rpath_CXX=yes
16011 ;;
16012
16013 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16014 case $cc_basename in
16015 KCC*)
16016 # Kuck and Associates, Inc. (KAI) C++ Compiler
16017
16018 # KCC will only create a shared library if the output file
16019 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16020 # to its proper name (with version) after linking.
16021 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16022 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
16023 # Commands to make compiler produce verbose output that lists
16024 # what "hidden" libraries, object files and flags are used when
16025 # linking a shared library.
16026 #
16027 # There doesn't appear to be a way to prevent this compiler from
16028 # explicitly linking system object files so we need to strip them
16029 # from the output so that they don't get included in the library
16030 # dependencies.
16031 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16032
16033 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16034 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16035
16036 # Archives containing C++ object files must be created using
16037 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16038 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16039 ;;
16040 icpc* | ecpc* )
16041 # Intel C++
16042 with_gnu_ld=yes
16043 # version 8.0 and above of icpc choke on multiply defined symbols
16044 # if we add $predep_objects and $postdep_objects, however 7.1 and
16045 # earlier do not add the objects themselves.
16046 case `$CC -V 2>&1` in
16047 *"Version 7."*)
16048 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16049 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16050 ;;
16051 *) # Version 8.0 or newer
16052 tmp_idyn=
16053 case $host_cpu in
16054 ia64*) tmp_idyn=' -i_dynamic';;
16055 esac
16056 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16057 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16058 ;;
16059 esac
16060 archive_cmds_need_lc_CXX=no
16061 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16062 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16063 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16064 ;;
16065 pgCC* | pgcpp*)
16066 # Portland Group C++ compiler
16067 case `$CC -V` in
16068 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16069 prelink_cmds_CXX='tpldir=Template.dir~
16070 rm -rf $tpldir~
16071 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16072 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16073 old_archive_cmds_CXX='tpldir=Template.dir~
16074 rm -rf $tpldir~
16075 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16076 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16077 $RANLIB $oldlib'
16078 archive_cmds_CXX='tpldir=Template.dir~
16079 rm -rf $tpldir~
16080 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16081 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16082 archive_expsym_cmds_CXX='tpldir=Template.dir~
16083 rm -rf $tpldir~
16084 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16085 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16086 ;;
16087 *) # Version 6 and above use weak symbols
16088 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16089 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16090 ;;
16091 esac
16092
16093 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16094 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16095 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
16096 ;;
16097 cxx*)
16098 # Compaq C++
16099 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16100 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
16101
16102 runpath_var=LD_RUN_PATH
16103 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16104 hardcode_libdir_separator_CXX=:
16105
16106 # Commands to make compiler produce verbose output that lists
16107 # what "hidden" libraries, object files and flags are used when
16108 # linking a shared library.
16109 #
16110 # There doesn't appear to be a way to prevent this compiler from
16111 # explicitly linking system object files so we need to strip them
16112 # from the output so that they don't get included in the library
16113 # dependencies.
16114 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
16115 ;;
16116 xl* | mpixl* | bgxl*)
16117 # IBM XL 8.0 on PPC, with GNU ld
16118 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16119 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16120 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16121 if test yes = "$supports_anon_versioning"; then
16122 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16123 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16124 echo "local: *; };" >> $output_objdir/$libname.ver~
16125 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16126 fi
16127 ;;
16128 *)
16129 case `$CC -V 2>&1 | $SED 5q` in
16130 *Sun\ C*)
16131 # Sun C++ 5.9
16132 no_undefined_flag_CXX=' -zdefs'
16133 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16134 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
16135 hardcode_libdir_flag_spec_CXX='-R$libdir'
16136 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
16137 compiler_needs_object_CXX=yes
16138
16139 # Not sure whether something based on
16140 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16141 # would be better.
16142 output_verbose_link_cmd='func_echo_all'
16143
16144 # Archives containing C++ object files must be created using
16145 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16146 # necessary to make sure instantiated templates are included
16147 # in the archive.
16148 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16149 ;;
16150 esac
16151 ;;
16152 esac
16153 ;;
16154
16155 lynxos*)
16156 # FIXME: insert proper C++ library support
16157 ld_shlibs_CXX=no
16158 ;;
16159
16160 m88k*)
16161 # FIXME: insert proper C++ library support
16162 ld_shlibs_CXX=no
16163 ;;
16164
16165 mvs*)
16166 case $cc_basename in
16167 cxx*)
16168 # FIXME: insert proper C++ library support
16169 ld_shlibs_CXX=no
16170 ;;
16171 *)
16172 # FIXME: insert proper C++ library support
16173 ld_shlibs_CXX=no
16174 ;;
16175 esac
16176 ;;
16177
16178 netbsd*)
16179 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16180 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16181 wlarc=
16182 hardcode_libdir_flag_spec_CXX='-R$libdir'
16183 hardcode_direct_CXX=yes
16184 hardcode_shlibpath_var_CXX=no
16185 fi
16186 # Workaround some broken pre-1.5 toolchains
16187 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16188 ;;
16189
16190 *nto* | *qnx*)
16191 ld_shlibs_CXX=yes
16192 ;;
16193
16194 openbsd* | bitrig*)
16195 if test -f /usr/libexec/ld.so; then
16196 hardcode_direct_CXX=yes
16197 hardcode_shlibpath_var_CXX=no
16198 hardcode_direct_absolute_CXX=yes
16199 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16200 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16201 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16202 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16203 export_dynamic_flag_spec_CXX='$wl-E'
16204 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16205 fi
16206 output_verbose_link_cmd=func_echo_all
16207 else
16208 ld_shlibs_CXX=no
16209 fi
16210 ;;
16211
16212 osf3* | osf4* | osf5*)
16213 case $cc_basename in
16214 KCC*)
16215 # Kuck and Associates, Inc. (KAI) C++ Compiler
16216
16217 # KCC will only create a shared library if the output file
16218 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16219 # to its proper name (with version) after linking.
16220 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16221
16222 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16223 hardcode_libdir_separator_CXX=:
16224
16225 # Archives containing C++ object files must be created using
16226 # the KAI C++ compiler.
16227 case $host in
16228 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16229 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16230 esac
16231 ;;
16232 RCC*)
16233 # Rational C++ 2.4.1
16234 # FIXME: insert proper C++ library support
16235 ld_shlibs_CXX=no
16236 ;;
16237 cxx*)
16238 case $host in
16239 osf3*)
16240 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16241 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16242 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16243 ;;
16244 *)
16245 allow_undefined_flag_CXX=' -expect_unresolved \*'
16246 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16247 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16248 echo "-hidden">> $lib.exp~
16249 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
16250 $RM $lib.exp'
16251 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16252 ;;
16253 esac
16254
16255 hardcode_libdir_separator_CXX=:
16256
16257 # Commands to make compiler produce verbose output that lists
16258 # what "hidden" libraries, object files and flags are used when
16259 # linking a shared library.
16260 #
16261 # There doesn't appear to be a way to prevent this compiler from
16262 # explicitly linking system object files so we need to strip them
16263 # from the output so that they don't get included in the library
16264 # dependencies.
16265 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16266 ;;
16267 *)
16268 if test yes,no = "$GXX,$with_gnu_ld"; then
16269 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16270 case $host in
16271 osf3*)
16272 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
16273 ;;
16274 *)
16275 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
16276 ;;
16277 esac
16278
16279 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16280 hardcode_libdir_separator_CXX=:
16281
16282 # Commands to make compiler produce verbose output that lists
16283 # what "hidden" libraries, object files and flags are used when
16284 # linking a shared library.
16285 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16286
16287 else
16288 # FIXME: insert proper C++ library support
16289 ld_shlibs_CXX=no
16290 fi
16291 ;;
16292 esac
16293 ;;
16294
16295 psos*)
16296 # FIXME: insert proper C++ library support
16297 ld_shlibs_CXX=no
16298 ;;
16299
16300 sunos4*)
16301 case $cc_basename in
16302 CC*)
16303 # Sun C++ 4.x
16304 # FIXME: insert proper C++ library support
16305 ld_shlibs_CXX=no
16306 ;;
16307 lcc*)
16308 # Lucid
16309 # FIXME: insert proper C++ library support
16310 ld_shlibs_CXX=no
16311 ;;
16312 *)
16313 # FIXME: insert proper C++ library support
16314 ld_shlibs_CXX=no
16315 ;;
16316 esac
16317 ;;
16318
16319 solaris*)
16320 case $cc_basename in
16321 CC* | sunCC*)
16322 # Sun C++ 4.2, 5.x and Centerline C++
16323 archive_cmds_need_lc_CXX=yes
16324 no_undefined_flag_CXX=' -zdefs'
16325 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16326 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16327 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16328
16329 hardcode_libdir_flag_spec_CXX='-R$libdir'
16330 hardcode_shlibpath_var_CXX=no
16331 case $host_os in
16332 solaris2.[0-5] | solaris2.[0-5].*) ;;
16333 *)
16334 # The compiler driver will combine and reorder linker options,
16335 # but understands '-z linker_flag'.
16336 # Supported since Solaris 2.6 (maybe 2.5.1?)
16337 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16338 ;;
16339 esac
16340 link_all_deplibs_CXX=yes
16341
16342 output_verbose_link_cmd='func_echo_all'
16343
16344 # Archives containing C++ object files must be created using
16345 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16346 # necessary to make sure instantiated templates are included
16347 # in the archive.
16348 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16349 ;;
16350 gcx*)
16351 # Green Hills C++ Compiler
16352 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16353
16354 # The C++ compiler must be used to create the archive.
16355 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16356 ;;
16357 *)
16358 # GNU C++ compiler with Solaris linker
16359 if test yes,no = "$GXX,$with_gnu_ld"; then
16360 no_undefined_flag_CXX=' $wl-z ${wl}defs'
16361 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16362 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16363 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16364 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16365
16366 # Commands to make compiler produce verbose output that lists
16367 # what "hidden" libraries, object files and flags are used when
16368 # linking a shared library.
16369 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16370 else
16371 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16372 # platform.
16373 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16374 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16375 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16376
16377 # Commands to make compiler produce verbose output that lists
16378 # what "hidden" libraries, object files and flags are used when
16379 # linking a shared library.
16380 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16381 fi
16382
16383 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16384 case $host_os in
16385 solaris2.[0-5] | solaris2.[0-5].*) ;;
16386 *)
16387 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16388 ;;
16389 esac
16390 fi
16391 ;;
16392 esac
16393 ;;
16394
16395 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16396 no_undefined_flag_CXX='$wl-z,text'
16397 archive_cmds_need_lc_CXX=no
16398 hardcode_shlibpath_var_CXX=no
16399 runpath_var='LD_RUN_PATH'
16400
16401 case $cc_basename in
16402 CC*)
16403 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16404 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16405 ;;
16406 *)
16407 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16408 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16409 ;;
16410 esac
16411 ;;
16412
16413 sysv5* | sco3.2v5* | sco5v6*)
16414 # Note: We CANNOT use -z defs as we might desire, because we do not
16415 # link with -lc, and that would cause any symbols used from libc to
16416 # always be unresolved, which means just about no library would
16417 # ever link correctly. If we're not using GNU ld we use -z text
16418 # though, which does catch some bad symbols but isn't as heavy-handed
16419 # as -z defs.
16420 no_undefined_flag_CXX='$wl-z,text'
16421 allow_undefined_flag_CXX='$wl-z,nodefs'
16422 archive_cmds_need_lc_CXX=no
16423 hardcode_shlibpath_var_CXX=no
16424 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16425 hardcode_libdir_separator_CXX=':'
16426 link_all_deplibs_CXX=yes
16427 export_dynamic_flag_spec_CXX='$wl-Bexport'
16428 runpath_var='LD_RUN_PATH'
16429
16430 case $cc_basename in
16431 CC*)
16432 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16433 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16434 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16435 '"$old_archive_cmds_CXX"
16436 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16437 '"$reload_cmds_CXX"
16438 ;;
16439 *)
16440 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16441 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16442 ;;
16443 esac
16444 ;;
16445
16446 tandem*)
16447 case $cc_basename in
16448 NCC*)
16449 # NonStop-UX NCC 3.20
16450 # FIXME: insert proper C++ library support
16451 ld_shlibs_CXX=no
16452 ;;
16453 *)
16454 # FIXME: insert proper C++ library support
16455 ld_shlibs_CXX=no
16456 ;;
16457 esac
16458 ;;
16459
16460 vxworks*)
16461 # FIXME: insert proper C++ library support
16462 ld_shlibs_CXX=no
16463 ;;
16464
16465 *)
16466 # FIXME: insert proper C++ library support
16467 ld_shlibs_CXX=no
16468 ;;
16469 esac
16470
16471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16472 printf "%s\n" "$ld_shlibs_CXX" >&6; }
16473 test no = "$ld_shlibs_CXX" && can_build_shared=no
16474
16475 GCC_CXX=$GXX
16476 LD_CXX=$LD
16477
16478 ## CAVEAT EMPTOR:
16479 ## There is no encapsulation within the following macros, do not change
16480 ## the running order or otherwise move them around unless you know exactly
16481 ## what you are doing...
16482 # Dependencies to place before and after the object being linked:
16483 predep_objects_CXX=
16484 postdep_objects_CXX=
16485 predeps_CXX=
16486 postdeps_CXX=
16487 compiler_lib_search_path_CXX=
16488
16489 cat > conftest.$ac_ext <<_LT_EOF
16490 class Foo
16491 {
16492 public:
16493 Foo (void) { a = 0; }
16494 private:
16495 int a;
16496 };
16497 _LT_EOF
16498
16499
16500 _lt_libdeps_save_CFLAGS=$CFLAGS
16501 case "$CC $CFLAGS " in #(
16502 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16503 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16504 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16505 esac
16506
16507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16508 (eval $ac_compile) 2>&5
16509 ac_status=$?
16510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16511 test $ac_status = 0; }; then
16512 # Parse the compiler output and extract the necessary
16513 # objects, libraries and library flags.
16514
16515 # Sentinel used to keep track of whether or not we are before
16516 # the conftest object file.
16517 pre_test_object_deps_done=no
16518
16519 for p in `eval "$output_verbose_link_cmd"`; do
16520 case $prev$p in
16521
16522 -L* | -R* | -l*)
16523 # Some compilers place space between "-{L,R}" and the path.
16524 # Remove the space.
16525 if test x-L = "$p" ||
16526 test x-R = "$p"; then
16527 prev=$p
16528 continue
16529 fi
16530
16531 # Expand the sysroot to ease extracting the directories later.
16532 if test -z "$prev"; then
16533 case $p in
16534 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16535 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16536 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16537 esac
16538 fi
16539 case $p in
16540 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16541 esac
16542 if test no = "$pre_test_object_deps_done"; then
16543 case $prev in
16544 -L | -R)
16545 # Internal compiler library paths should come after those
16546 # provided the user. The postdeps already come after the
16547 # user supplied libs so there is no need to process them.
16548 if test -z "$compiler_lib_search_path_CXX"; then
16549 compiler_lib_search_path_CXX=$prev$p
16550 else
16551 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16552 fi
16553 ;;
16554 # The "-l" case would never come before the object being
16555 # linked, so don't bother handling this case.
16556 esac
16557 else
16558 if test -z "$postdeps_CXX"; then
16559 postdeps_CXX=$prev$p
16560 else
16561 postdeps_CXX="${postdeps_CXX} $prev$p"
16562 fi
16563 fi
16564 prev=
16565 ;;
16566
16567 *.lto.$objext) ;; # Ignore GCC LTO objects
16568 *.$objext)
16569 # This assumes that the test object file only shows up
16570 # once in the compiler output.
16571 if test "$p" = "conftest.$objext"; then
16572 pre_test_object_deps_done=yes
16573 continue
16574 fi
16575
16576 if test no = "$pre_test_object_deps_done"; then
16577 if test -z "$predep_objects_CXX"; then
16578 predep_objects_CXX=$p
16579 else
16580 predep_objects_CXX="$predep_objects_CXX $p"
16581 fi
16582 else
16583 if test -z "$postdep_objects_CXX"; then
16584 postdep_objects_CXX=$p
16585 else
16586 postdep_objects_CXX="$postdep_objects_CXX $p"
16587 fi
16588 fi
16589 ;;
16590
16591 *) ;; # Ignore the rest.
16592
16593 esac
16594 done
16595
16596 # Clean up.
16597 rm -f a.out a.exe
16598 else
16599 echo "libtool.m4: error: problem compiling CXX test program"
16600 fi
16601
16602 $RM -f confest.$objext
16603 CFLAGS=$_lt_libdeps_save_CFLAGS
16604
16605 # PORTME: override above test on systems where it is broken
16606 case $host_os in
16607 interix[3-9]*)
16608 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16609 # hack all around it, let's just trust "g++" to DTRT.
16610 predep_objects_CXX=
16611 postdep_objects_CXX=
16612 postdeps_CXX=
16613 ;;
16614 esac
16615
16616
16617 case " $postdeps_CXX " in
16618 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16619 esac
16620 compiler_lib_search_dirs_CXX=
16621 if test -n "${compiler_lib_search_path_CXX}"; then
16622 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16623 fi
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655 lt_prog_compiler_wl_CXX=
16656 lt_prog_compiler_pic_CXX=
16657 lt_prog_compiler_static_CXX=
16658
16659
16660 # C++ specific cases for pic, static, wl, etc.
16661 if test yes = "$GXX"; then
16662 lt_prog_compiler_wl_CXX='-Wl,'
16663 lt_prog_compiler_static_CXX='-static'
16664
16665 case $host_os in
16666 aix*)
16667 # All AIX code is PIC.
16668 if test ia64 = "$host_cpu"; then
16669 # AIX 5 now supports IA64 processor
16670 lt_prog_compiler_static_CXX='-Bstatic'
16671 fi
16672 lt_prog_compiler_pic_CXX='-fPIC'
16673 ;;
16674
16675 amigaos*)
16676 case $host_cpu in
16677 powerpc)
16678 # see comment about AmigaOS4 .so support
16679 lt_prog_compiler_pic_CXX='-fPIC'
16680 ;;
16681 m68k)
16682 # FIXME: we need at least 68020 code to build shared libraries, but
16683 # adding the '-m68020' flag to GCC prevents building anything better,
16684 # like '-m68040'.
16685 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16686 ;;
16687 esac
16688 ;;
16689
16690 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16691 # PIC is the default for these OSes.
16692 ;;
16693 mingw* | cygwin* | os2* | pw32* | cegcc*)
16694 # This hack is so that the source file can tell whether it is being
16695 # built for inclusion in a dll (and should export symbols for example).
16696 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16697 # (--disable-auto-import) libraries
16698 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16699 case $host_os in
16700 os2*)
16701 lt_prog_compiler_static_CXX='$wl-static'
16702 ;;
16703 esac
16704 ;;
16705 darwin* | rhapsody*)
16706 # PIC is the default on this platform
16707 # Common symbols not allowed in MH_DYLIB files
16708 lt_prog_compiler_pic_CXX='-fno-common'
16709 ;;
16710 *djgpp*)
16711 # DJGPP does not support shared libraries at all
16712 lt_prog_compiler_pic_CXX=
16713 ;;
16714 haiku*)
16715 # PIC is the default for Haiku.
16716 # The "-static" flag exists, but is broken.
16717 lt_prog_compiler_static_CXX=
16718 ;;
16719 interix[3-9]*)
16720 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16721 # Instead, we relocate shared libraries at runtime.
16722 ;;
16723 sysv4*MP*)
16724 if test -d /usr/nec; then
16725 lt_prog_compiler_pic_CXX=-Kconform_pic
16726 fi
16727 ;;
16728 hpux*)
16729 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16730 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16731 # sets the default TLS model and affects inlining.
16732 case $host_cpu in
16733 hppa*64*)
16734 ;;
16735 *)
16736 lt_prog_compiler_pic_CXX='-fPIC'
16737 ;;
16738 esac
16739 ;;
16740 *qnx* | *nto*)
16741 # QNX uses GNU C++, but need to define -shared option too, otherwise
16742 # it will coredump.
16743 lt_prog_compiler_pic_CXX='-fPIC -shared'
16744 ;;
16745 *)
16746 lt_prog_compiler_pic_CXX='-fPIC'
16747 ;;
16748 esac
16749 else
16750 case $host_os in
16751 aix[4-9]*)
16752 # All AIX code is PIC.
16753 if test ia64 = "$host_cpu"; then
16754 # AIX 5 now supports IA64 processor
16755 lt_prog_compiler_static_CXX='-Bstatic'
16756 else
16757 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16758 fi
16759 ;;
16760 chorus*)
16761 case $cc_basename in
16762 cxch68*)
16763 # Green Hills C++ Compiler
16764 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16765 ;;
16766 esac
16767 ;;
16768 mingw* | cygwin* | os2* | pw32* | cegcc*)
16769 # This hack is so that the source file can tell whether it is being
16770 # built for inclusion in a dll (and should export symbols for example).
16771 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16772 ;;
16773 dgux*)
16774 case $cc_basename in
16775 ec++*)
16776 lt_prog_compiler_pic_CXX='-KPIC'
16777 ;;
16778 ghcx*)
16779 # Green Hills C++ Compiler
16780 lt_prog_compiler_pic_CXX='-pic'
16781 ;;
16782 *)
16783 ;;
16784 esac
16785 ;;
16786 freebsd* | dragonfly* | midnightbsd*)
16787 # FreeBSD uses GNU C++
16788 ;;
16789 hpux9* | hpux10* | hpux11*)
16790 case $cc_basename in
16791 CC*)
16792 lt_prog_compiler_wl_CXX='-Wl,'
16793 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16794 if test ia64 != "$host_cpu"; then
16795 lt_prog_compiler_pic_CXX='+Z'
16796 fi
16797 ;;
16798 aCC*)
16799 lt_prog_compiler_wl_CXX='-Wl,'
16800 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16801 case $host_cpu in
16802 hppa*64*|ia64*)
16803 # +Z the default
16804 ;;
16805 *)
16806 lt_prog_compiler_pic_CXX='+Z'
16807 ;;
16808 esac
16809 ;;
16810 *)
16811 ;;
16812 esac
16813 ;;
16814 interix*)
16815 # This is c89, which is MS Visual C++ (no shared libs)
16816 # Anyone wants to do a port?
16817 ;;
16818 irix5* | irix6* | nonstopux*)
16819 case $cc_basename in
16820 CC*)
16821 lt_prog_compiler_wl_CXX='-Wl,'
16822 lt_prog_compiler_static_CXX='-non_shared'
16823 # CC pic flag -KPIC is the default.
16824 ;;
16825 *)
16826 ;;
16827 esac
16828 ;;
16829 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16830 case $cc_basename in
16831 KCC*)
16832 # KAI C++ Compiler
16833 lt_prog_compiler_wl_CXX='--backend -Wl,'
16834 lt_prog_compiler_pic_CXX='-fPIC'
16835 ;;
16836 ecpc* )
16837 # old Intel C++ for x86_64, which still supported -KPIC.
16838 lt_prog_compiler_wl_CXX='-Wl,'
16839 lt_prog_compiler_pic_CXX='-KPIC'
16840 lt_prog_compiler_static_CXX='-static'
16841 ;;
16842 icpc* )
16843 # Intel C++, used to be incompatible with GCC.
16844 # ICC 10 doesn't accept -KPIC any more.
16845 lt_prog_compiler_wl_CXX='-Wl,'
16846 lt_prog_compiler_pic_CXX='-fPIC'
16847 lt_prog_compiler_static_CXX='-static'
16848 ;;
16849 pgCC* | pgcpp*)
16850 # Portland Group C++ compiler
16851 lt_prog_compiler_wl_CXX='-Wl,'
16852 lt_prog_compiler_pic_CXX='-fpic'
16853 lt_prog_compiler_static_CXX='-Bstatic'
16854 ;;
16855 cxx*)
16856 # Compaq C++
16857 # Make sure the PIC flag is empty. It appears that all Alpha
16858 # Linux and Compaq Tru64 Unix objects are PIC.
16859 lt_prog_compiler_pic_CXX=
16860 lt_prog_compiler_static_CXX='-non_shared'
16861 ;;
16862 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16863 # IBM XL 8.0, 9.0 on PPC and BlueGene
16864 lt_prog_compiler_wl_CXX='-Wl,'
16865 lt_prog_compiler_pic_CXX='-qpic'
16866 lt_prog_compiler_static_CXX='-qstaticlink'
16867 ;;
16868 *)
16869 case `$CC -V 2>&1 | $SED 5q` in
16870 *Sun\ C*)
16871 # Sun C++ 5.9
16872 lt_prog_compiler_pic_CXX='-KPIC'
16873 lt_prog_compiler_static_CXX='-Bstatic'
16874 lt_prog_compiler_wl_CXX='-Qoption ld '
16875 ;;
16876 esac
16877 ;;
16878 esac
16879 ;;
16880 lynxos*)
16881 ;;
16882 m88k*)
16883 ;;
16884 mvs*)
16885 case $cc_basename in
16886 cxx*)
16887 lt_prog_compiler_pic_CXX='-W c,exportall'
16888 ;;
16889 *)
16890 ;;
16891 esac
16892 ;;
16893 netbsd*)
16894 ;;
16895 *qnx* | *nto*)
16896 # QNX uses GNU C++, but need to define -shared option too, otherwise
16897 # it will coredump.
16898 lt_prog_compiler_pic_CXX='-fPIC -shared'
16899 ;;
16900 osf3* | osf4* | osf5*)
16901 case $cc_basename in
16902 KCC*)
16903 lt_prog_compiler_wl_CXX='--backend -Wl,'
16904 ;;
16905 RCC*)
16906 # Rational C++ 2.4.1
16907 lt_prog_compiler_pic_CXX='-pic'
16908 ;;
16909 cxx*)
16910 # Digital/Compaq C++
16911 lt_prog_compiler_wl_CXX='-Wl,'
16912 # Make sure the PIC flag is empty. It appears that all Alpha
16913 # Linux and Compaq Tru64 Unix objects are PIC.
16914 lt_prog_compiler_pic_CXX=
16915 lt_prog_compiler_static_CXX='-non_shared'
16916 ;;
16917 *)
16918 ;;
16919 esac
16920 ;;
16921 psos*)
16922 ;;
16923 solaris*)
16924 case $cc_basename in
16925 CC* | sunCC*)
16926 # Sun C++ 4.2, 5.x and Centerline C++
16927 lt_prog_compiler_pic_CXX='-KPIC'
16928 lt_prog_compiler_static_CXX='-Bstatic'
16929 lt_prog_compiler_wl_CXX='-Qoption ld '
16930 ;;
16931 gcx*)
16932 # Green Hills C++ Compiler
16933 lt_prog_compiler_pic_CXX='-PIC'
16934 ;;
16935 *)
16936 ;;
16937 esac
16938 ;;
16939 sunos4*)
16940 case $cc_basename in
16941 CC*)
16942 # Sun C++ 4.x
16943 lt_prog_compiler_pic_CXX='-pic'
16944 lt_prog_compiler_static_CXX='-Bstatic'
16945 ;;
16946 lcc*)
16947 # Lucid
16948 lt_prog_compiler_pic_CXX='-pic'
16949 ;;
16950 *)
16951 ;;
16952 esac
16953 ;;
16954 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16955 case $cc_basename in
16956 CC*)
16957 lt_prog_compiler_wl_CXX='-Wl,'
16958 lt_prog_compiler_pic_CXX='-KPIC'
16959 lt_prog_compiler_static_CXX='-Bstatic'
16960 ;;
16961 esac
16962 ;;
16963 tandem*)
16964 case $cc_basename in
16965 NCC*)
16966 # NonStop-UX NCC 3.20
16967 lt_prog_compiler_pic_CXX='-KPIC'
16968 ;;
16969 *)
16970 ;;
16971 esac
16972 ;;
16973 vxworks*)
16974 ;;
16975 *)
16976 lt_prog_compiler_can_build_shared_CXX=no
16977 ;;
16978 esac
16979 fi
16980
16981 case $host_os in
16982 # For platforms that do not support PIC, -DPIC is meaningless:
16983 *djgpp*)
16984 lt_prog_compiler_pic_CXX=
16985 ;;
16986 *)
16987 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16988 ;;
16989 esac
16990
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16992 printf %s "checking for $compiler option to produce PIC... " >&6; }
16993 if test ${lt_cv_prog_compiler_pic_CXX+y}
16994 then :
16995 printf %s "(cached) " >&6
16996 else $as_nop
16997 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16998 fi
16999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17000 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
17001 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17002
17003 #
17004 # Check to make sure the PIC flag actually works.
17005 #
17006 if test -n "$lt_prog_compiler_pic_CXX"; then
17007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17008 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17009 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
17010 then :
17011 printf %s "(cached) " >&6
17012 else $as_nop
17013 lt_cv_prog_compiler_pic_works_CXX=no
17014 ac_outfile=conftest.$ac_objext
17015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17016 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17017 # Insert the option either (1) after the last *FLAGS variable, or
17018 # (2) before a word containing "conftest.", or (3) at the end.
17019 # Note that $ac_compile itself does not contain backslashes and begins
17020 # with a dollar sign (not a hyphen), so the echo should work correctly.
17021 # The option is referenced via a variable to avoid confusing sed.
17022 lt_compile=`echo "$ac_compile" | $SED \
17023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17025 -e 's:$: $lt_compiler_flag:'`
17026 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17027 (eval "$lt_compile" 2>conftest.err)
17028 ac_status=$?
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 if (exit $ac_status) && test -s "$ac_outfile"; then
17032 # The compiler can only warn and ignore the option if not recognized
17033 # So say no if there are warnings other than the usual output.
17034 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17035 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17036 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17037 lt_cv_prog_compiler_pic_works_CXX=yes
17038 fi
17039 fi
17040 $RM conftest*
17041
17042 fi
17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17044 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17045
17046 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17047 case $lt_prog_compiler_pic_CXX in
17048 "" | " "*) ;;
17049 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17050 esac
17051 else
17052 lt_prog_compiler_pic_CXX=
17053 lt_prog_compiler_can_build_shared_CXX=no
17054 fi
17055
17056 fi
17057
17058
17059
17060
17061
17062 #
17063 # Check to make sure the static flag actually works.
17064 #
17065 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17067 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17068 if test ${lt_cv_prog_compiler_static_works_CXX+y}
17069 then :
17070 printf %s "(cached) " >&6
17071 else $as_nop
17072 lt_cv_prog_compiler_static_works_CXX=no
17073 save_LDFLAGS=$LDFLAGS
17074 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17075 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17076 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17077 # The linker can only warn and ignore the option if not recognized
17078 # So say no if there are warnings
17079 if test -s conftest.err; then
17080 # Append any errors to the config.log.
17081 cat conftest.err 1>&5
17082 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17083 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17084 if diff conftest.exp conftest.er2 >/dev/null; then
17085 lt_cv_prog_compiler_static_works_CXX=yes
17086 fi
17087 else
17088 lt_cv_prog_compiler_static_works_CXX=yes
17089 fi
17090 fi
17091 $RM -r conftest*
17092 LDFLAGS=$save_LDFLAGS
17093
17094 fi
17095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17096 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17097
17098 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17099 :
17100 else
17101 lt_prog_compiler_static_CXX=
17102 fi
17103
17104
17105
17106
17107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17108 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17109 if test ${lt_cv_prog_compiler_c_o_CXX+y}
17110 then :
17111 printf %s "(cached) " >&6
17112 else $as_nop
17113 lt_cv_prog_compiler_c_o_CXX=no
17114 $RM -r conftest 2>/dev/null
17115 mkdir conftest
17116 cd conftest
17117 mkdir out
17118 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17119
17120 lt_compiler_flag="-o out/conftest2.$ac_objext"
17121 # Insert the option either (1) after the last *FLAGS variable, or
17122 # (2) before a word containing "conftest.", or (3) at the end.
17123 # Note that $ac_compile itself does not contain backslashes and begins
17124 # with a dollar sign (not a hyphen), so the echo should work correctly.
17125 lt_compile=`echo "$ac_compile" | $SED \
17126 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17128 -e 's:$: $lt_compiler_flag:'`
17129 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17130 (eval "$lt_compile" 2>out/conftest.err)
17131 ac_status=$?
17132 cat out/conftest.err >&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17135 then
17136 # The compiler can only warn and ignore the option if not recognized
17137 # So say no if there are warnings
17138 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17139 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17140 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17141 lt_cv_prog_compiler_c_o_CXX=yes
17142 fi
17143 fi
17144 chmod u+w . 2>&5
17145 $RM conftest*
17146 # SGI C++ compiler will create directory out/ii_files/ for
17147 # template instantiation
17148 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17149 $RM out/* && rmdir out
17150 cd ..
17151 $RM -r conftest
17152 $RM conftest*
17153
17154 fi
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17156 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17157
17158
17159
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17161 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17162 if test ${lt_cv_prog_compiler_c_o_CXX+y}
17163 then :
17164 printf %s "(cached) " >&6
17165 else $as_nop
17166 lt_cv_prog_compiler_c_o_CXX=no
17167 $RM -r conftest 2>/dev/null
17168 mkdir conftest
17169 cd conftest
17170 mkdir out
17171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17172
17173 lt_compiler_flag="-o out/conftest2.$ac_objext"
17174 # Insert the option either (1) after the last *FLAGS variable, or
17175 # (2) before a word containing "conftest.", or (3) at the end.
17176 # Note that $ac_compile itself does not contain backslashes and begins
17177 # with a dollar sign (not a hyphen), so the echo should work correctly.
17178 lt_compile=`echo "$ac_compile" | $SED \
17179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17181 -e 's:$: $lt_compiler_flag:'`
17182 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17183 (eval "$lt_compile" 2>out/conftest.err)
17184 ac_status=$?
17185 cat out/conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17188 then
17189 # The compiler can only warn and ignore the option if not recognized
17190 # So say no if there are warnings
17191 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17192 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17193 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17194 lt_cv_prog_compiler_c_o_CXX=yes
17195 fi
17196 fi
17197 chmod u+w . 2>&5
17198 $RM conftest*
17199 # SGI C++ compiler will create directory out/ii_files/ for
17200 # template instantiation
17201 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17202 $RM out/* && rmdir out
17203 cd ..
17204 $RM -r conftest
17205 $RM conftest*
17206
17207 fi
17208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17209 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17210
17211
17212
17213
17214 hard_links=nottested
17215 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17216 # do not overwrite the value of need_locks provided by the user
17217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17218 printf %s "checking if we can lock with hard links... " >&6; }
17219 hard_links=yes
17220 $RM conftest*
17221 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17222 touch conftest.a
17223 ln conftest.a conftest.b 2>&5 || hard_links=no
17224 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17226 printf "%s\n" "$hard_links" >&6; }
17227 if test no = "$hard_links"; then
17228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17229 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17230 need_locks=warn
17231 fi
17232 else
17233 need_locks=no
17234 fi
17235
17236
17237
17238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17239 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17240
17241 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17242 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17243 case $host_os in
17244 aix[4-9]*)
17245 # If we're using GNU nm, then we don't want the "-C" option.
17246 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17247 # Without the "-l" option, or with the "-B" option, AIX nm treats
17248 # weak defined symbols like other global defined symbols, whereas
17249 # GNU nm marks them as "W".
17250 # While the 'weak' keyword is ignored in the Export File, we need
17251 # it in the Import File for the 'aix-soname' feature, so we have
17252 # to replace the "-B" option with "-P" for AIX nm.
17253 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17254 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
17255 else
17256 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
17257 fi
17258 ;;
17259 pw32*)
17260 export_symbols_cmds_CXX=$ltdll_cmds
17261 ;;
17262 cygwin* | mingw* | cegcc*)
17263 case $cc_basename in
17264 cl* | icl*)
17265 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17266 ;;
17267 *)
17268 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17269 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17270 ;;
17271 esac
17272 ;;
17273 *)
17274 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17275 ;;
17276 esac
17277
17278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17279 printf "%s\n" "$ld_shlibs_CXX" >&6; }
17280 test no = "$ld_shlibs_CXX" && can_build_shared=no
17281
17282 with_gnu_ld_CXX=$with_gnu_ld
17283
17284
17285
17286
17287
17288
17289 #
17290 # Do we need to explicitly link libc?
17291 #
17292 case "x$archive_cmds_need_lc_CXX" in
17293 x|xyes)
17294 # Assume -lc should be added
17295 archive_cmds_need_lc_CXX=yes
17296
17297 if test yes,yes = "$GCC,$enable_shared"; then
17298 case $archive_cmds_CXX in
17299 *'~'*)
17300 # FIXME: we may have to deal with multi-command sequences.
17301 ;;
17302 '$CC '*)
17303 # Test whether the compiler implicitly links with -lc since on some
17304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17305 # to ld, don't add -lc before -lgcc.
17306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17307 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
17308 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
17309 then :
17310 printf %s "(cached) " >&6
17311 else $as_nop
17312 $RM conftest*
17313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17314
17315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17316 (eval $ac_compile) 2>&5
17317 ac_status=$?
17318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17319 test $ac_status = 0; } 2>conftest.err; then
17320 soname=conftest
17321 lib=conftest
17322 libobjs=conftest.$ac_objext
17323 deplibs=
17324 wl=$lt_prog_compiler_wl_CXX
17325 pic_flag=$lt_prog_compiler_pic_CXX
17326 compiler_flags=-v
17327 linker_flags=-v
17328 verstring=
17329 output_objdir=.
17330 libname=conftest
17331 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17332 allow_undefined_flag_CXX=
17333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17334 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17335 ac_status=$?
17336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17337 test $ac_status = 0; }
17338 then
17339 lt_cv_archive_cmds_need_lc_CXX=no
17340 else
17341 lt_cv_archive_cmds_need_lc_CXX=yes
17342 fi
17343 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17344 else
17345 cat conftest.err 1>&5
17346 fi
17347 $RM conftest*
17348
17349 fi
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17351 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17352 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17353 ;;
17354 esac
17355 fi
17356 ;;
17357 esac
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17421 printf %s "checking dynamic linker characteristics... " >&6; }
17422
17423 library_names_spec=
17424 libname_spec='lib$name'
17425 soname_spec=
17426 shrext_cmds=.so
17427 postinstall_cmds=
17428 postuninstall_cmds=
17429 finish_cmds=
17430 finish_eval=
17431 shlibpath_var=
17432 shlibpath_overrides_runpath=unknown
17433 version_type=none
17434 dynamic_linker="$host_os ld.so"
17435 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17436 need_lib_prefix=unknown
17437 hardcode_into_libs=no
17438
17439 # when you set need_version to no, make sure it does not cause -set_version
17440 # flags to be left without arguments
17441 need_version=unknown
17442
17443
17444
17445 case $host_os in
17446 aix3*)
17447 version_type=linux # correct to gnu/linux during the next big refactor
17448 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17449 shlibpath_var=LIBPATH
17450
17451 # AIX 3 has no versioning support, so we append a major version to the name.
17452 soname_spec='$libname$release$shared_ext$major'
17453 ;;
17454
17455 aix[4-9]*)
17456 version_type=linux # correct to gnu/linux during the next big refactor
17457 need_lib_prefix=no
17458 need_version=no
17459 hardcode_into_libs=yes
17460 if test ia64 = "$host_cpu"; then
17461 # AIX 5 supports IA64
17462 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17463 shlibpath_var=LD_LIBRARY_PATH
17464 else
17465 # With GCC up to 2.95.x, collect2 would create an import file
17466 # for dependence libraries. The import file would start with
17467 # the line '#! .'. This would cause the generated library to
17468 # depend on '.', always an invalid library. This was fixed in
17469 # development snapshots of GCC prior to 3.0.
17470 case $host_os in
17471 aix4 | aix4.[01] | aix4.[01].*)
17472 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17473 echo ' yes '
17474 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17475 :
17476 else
17477 can_build_shared=no
17478 fi
17479 ;;
17480 esac
17481 # Using Import Files as archive members, it is possible to support
17482 # filename-based versioning of shared library archives on AIX. While
17483 # this would work for both with and without runtime linking, it will
17484 # prevent static linking of such archives. So we do filename-based
17485 # shared library versioning with .so extension only, which is used
17486 # when both runtime linking and shared linking is enabled.
17487 # Unfortunately, runtime linking may impact performance, so we do
17488 # not want this to be the default eventually. Also, we use the
17489 # versioned .so libs for executables only if there is the -brtl
17490 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17491 # To allow for filename-based versioning support, we need to create
17492 # libNAME.so.V as an archive file, containing:
17493 # *) an Import File, referring to the versioned filename of the
17494 # archive as well as the shared archive member, telling the
17495 # bitwidth (32 or 64) of that shared object, and providing the
17496 # list of exported symbols of that shared object, eventually
17497 # decorated with the 'weak' keyword
17498 # *) the shared object with the F_LOADONLY flag set, to really avoid
17499 # it being seen by the linker.
17500 # At run time we better use the real file rather than another symlink,
17501 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17502
17503 case $with_aix_soname,$aix_use_runtimelinking in
17504 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17505 # soname into executable. Probably we can add versioning support to
17506 # collect2, so additional links can be useful in future.
17507 aix,yes) # traditional libtool
17508 dynamic_linker='AIX unversionable lib.so'
17509 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17510 # instead of lib<name>.a to let people know that these are not
17511 # typical AIX shared libraries.
17512 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17513 ;;
17514 aix,no) # traditional AIX only
17515 dynamic_linker='AIX lib.a(lib.so.V)'
17516 # We preserve .a as extension for shared libraries through AIX4.2
17517 # and later when we are not doing run time linking.
17518 library_names_spec='$libname$release.a $libname.a'
17519 soname_spec='$libname$release$shared_ext$major'
17520 ;;
17521 svr4,*) # full svr4 only
17522 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17523 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17524 # We do not specify a path in Import Files, so LIBPATH fires.
17525 shlibpath_overrides_runpath=yes
17526 ;;
17527 *,yes) # both, prefer svr4
17528 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17529 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17530 # unpreferred sharedlib libNAME.a needs extra handling
17531 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
17532 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
17533 # We do not specify a path in Import Files, so LIBPATH fires.
17534 shlibpath_overrides_runpath=yes
17535 ;;
17536 *,no) # both, prefer aix
17537 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17538 library_names_spec='$libname$release.a $libname.a'
17539 soname_spec='$libname$release$shared_ext$major'
17540 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17541 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
17542 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
17543 ;;
17544 esac
17545 shlibpath_var=LIBPATH
17546 fi
17547 ;;
17548
17549 amigaos*)
17550 case $host_cpu in
17551 powerpc)
17552 # Since July 2007 AmigaOS4 officially supports .so libraries.
17553 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17555 ;;
17556 m68k)
17557 library_names_spec='$libname.ixlibrary $libname.a'
17558 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17559 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17560 ;;
17561 esac
17562 ;;
17563
17564 beos*)
17565 library_names_spec='$libname$shared_ext'
17566 dynamic_linker="$host_os ld.so"
17567 shlibpath_var=LIBRARY_PATH
17568 ;;
17569
17570 bsdi[45]*)
17571 version_type=linux # correct to gnu/linux during the next big refactor
17572 need_version=no
17573 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17574 soname_spec='$libname$release$shared_ext$major'
17575 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17576 shlibpath_var=LD_LIBRARY_PATH
17577 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17578 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17579 # the default ld.so.conf also contains /usr/contrib/lib and
17580 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17581 # libtool to hard-code these into programs
17582 ;;
17583
17584 cygwin* | mingw* | pw32* | cegcc*)
17585 version_type=windows
17586 shrext_cmds=.dll
17587 need_version=no
17588 need_lib_prefix=no
17589
17590 case $GCC,$cc_basename in
17591 yes,*)
17592 # gcc
17593 library_names_spec='$libname.dll.a'
17594 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17595 postinstall_cmds='base_file=`basename \$file`~
17596 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17597 dldir=$destdir/`dirname \$dlpath`~
17598 test -d \$dldir || mkdir -p \$dldir~
17599 $install_prog $dir/$dlname \$dldir/$dlname~
17600 chmod a+x \$dldir/$dlname~
17601 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17602 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17603 fi'
17604 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17605 dlpath=$dir/\$dldll~
17606 $RM \$dlpath'
17607 shlibpath_overrides_runpath=yes
17608
17609 case $host_os in
17610 cygwin*)
17611 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17612 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17613
17614 ;;
17615 mingw* | cegcc*)
17616 # MinGW DLLs use traditional 'lib' prefix
17617 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17618 ;;
17619 pw32*)
17620 # pw32 DLLs use 'pw' prefix rather than 'lib'
17621 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17622 ;;
17623 esac
17624 dynamic_linker='Win32 ld.exe'
17625 ;;
17626
17627 *,cl* | *,icl*)
17628 # Native MSVC or ICC
17629 libname_spec='$name'
17630 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17631 library_names_spec='$libname.dll.lib'
17632
17633 case $build_os in
17634 mingw*)
17635 sys_lib_search_path_spec=
17636 lt_save_ifs=$IFS
17637 IFS=';'
17638 for lt_path in $LIB
17639 do
17640 IFS=$lt_save_ifs
17641 # Let DOS variable expansion print the short 8.3 style file name.
17642 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17643 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17644 done
17645 IFS=$lt_save_ifs
17646 # Convert to MSYS style.
17647 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17648 ;;
17649 cygwin*)
17650 # Convert to unix form, then to dos form, then back to unix form
17651 # but this time dos style (no spaces!) so that the unix form looks
17652 # like /cygdrive/c/PROGRA~1:/cygdr...
17653 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17654 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17655 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17656 ;;
17657 *)
17658 sys_lib_search_path_spec=$LIB
17659 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17660 # It is most probably a Windows format PATH.
17661 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17662 else
17663 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17664 fi
17665 # FIXME: find the short name or the path components, as spaces are
17666 # common. (e.g. "Program Files" -> "PROGRA~1")
17667 ;;
17668 esac
17669
17670 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17671 postinstall_cmds='base_file=`basename \$file`~
17672 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17673 dldir=$destdir/`dirname \$dlpath`~
17674 test -d \$dldir || mkdir -p \$dldir~
17675 $install_prog $dir/$dlname \$dldir/$dlname'
17676 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17677 dlpath=$dir/\$dldll~
17678 $RM \$dlpath'
17679 shlibpath_overrides_runpath=yes
17680 dynamic_linker='Win32 link.exe'
17681 ;;
17682
17683 *)
17684 # Assume MSVC and ICC wrapper
17685 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17686 dynamic_linker='Win32 ld.exe'
17687 ;;
17688 esac
17689 # FIXME: first we should search . and the directory the executable is in
17690 shlibpath_var=PATH
17691 ;;
17692
17693 darwin* | rhapsody*)
17694 dynamic_linker="$host_os dyld"
17695 version_type=darwin
17696 need_lib_prefix=no
17697 need_version=no
17698 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17699 soname_spec='$libname$release$major$shared_ext'
17700 shlibpath_overrides_runpath=yes
17701 shlibpath_var=DYLD_LIBRARY_PATH
17702 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17703
17704 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17705 ;;
17706
17707 dgux*)
17708 version_type=linux # correct to gnu/linux during the next big refactor
17709 need_lib_prefix=no
17710 need_version=no
17711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17712 soname_spec='$libname$release$shared_ext$major'
17713 shlibpath_var=LD_LIBRARY_PATH
17714 ;;
17715
17716 freebsd* | dragonfly* | midnightbsd*)
17717 # DragonFly does not have aout. When/if they implement a new
17718 # versioning mechanism, adjust this.
17719 if test -x /usr/bin/objformat; then
17720 objformat=`/usr/bin/objformat`
17721 else
17722 case $host_os in
17723 freebsd[23].*) objformat=aout ;;
17724 *) objformat=elf ;;
17725 esac
17726 fi
17727 version_type=freebsd-$objformat
17728 case $version_type in
17729 freebsd-elf*)
17730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17731 soname_spec='$libname$release$shared_ext$major'
17732 need_version=no
17733 need_lib_prefix=no
17734 ;;
17735 freebsd-*)
17736 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17737 need_version=yes
17738 ;;
17739 esac
17740 shlibpath_var=LD_LIBRARY_PATH
17741 case $host_os in
17742 freebsd2.*)
17743 shlibpath_overrides_runpath=yes
17744 ;;
17745 freebsd3.[01]* | freebsdelf3.[01]*)
17746 shlibpath_overrides_runpath=yes
17747 hardcode_into_libs=yes
17748 ;;
17749 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17750 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17751 shlibpath_overrides_runpath=no
17752 hardcode_into_libs=yes
17753 ;;
17754 *) # from 4.6 on, and DragonFly
17755 shlibpath_overrides_runpath=yes
17756 hardcode_into_libs=yes
17757 ;;
17758 esac
17759 ;;
17760
17761 haiku*)
17762 version_type=linux # correct to gnu/linux during the next big refactor
17763 need_lib_prefix=no
17764 need_version=no
17765 dynamic_linker="$host_os runtime_loader"
17766 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17767 soname_spec='$libname$release$shared_ext$major'
17768 shlibpath_var=LIBRARY_PATH
17769 shlibpath_overrides_runpath=no
17770 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17771 hardcode_into_libs=yes
17772 ;;
17773
17774 hpux9* | hpux10* | hpux11*)
17775 # Give a soname corresponding to the major version so that dld.sl refuses to
17776 # link against other versions.
17777 version_type=sunos
17778 need_lib_prefix=no
17779 need_version=no
17780 case $host_cpu in
17781 ia64*)
17782 shrext_cmds='.so'
17783 hardcode_into_libs=yes
17784 dynamic_linker="$host_os dld.so"
17785 shlibpath_var=LD_LIBRARY_PATH
17786 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17788 soname_spec='$libname$release$shared_ext$major'
17789 if test 32 = "$HPUX_IA64_MODE"; then
17790 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17791 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17792 else
17793 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17794 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17795 fi
17796 ;;
17797 hppa*64*)
17798 shrext_cmds='.sl'
17799 hardcode_into_libs=yes
17800 dynamic_linker="$host_os dld.sl"
17801 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17803 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17804 soname_spec='$libname$release$shared_ext$major'
17805 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17806 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17807 ;;
17808 *)
17809 shrext_cmds='.sl'
17810 dynamic_linker="$host_os dld.sl"
17811 shlibpath_var=SHLIB_PATH
17812 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17813 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17814 soname_spec='$libname$release$shared_ext$major'
17815 ;;
17816 esac
17817 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17818 postinstall_cmds='chmod 555 $lib'
17819 # or fails outright, so override atomically:
17820 install_override_mode=555
17821 ;;
17822
17823 interix[3-9]*)
17824 version_type=linux # correct to gnu/linux during the next big refactor
17825 need_lib_prefix=no
17826 need_version=no
17827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17828 soname_spec='$libname$release$shared_ext$major'
17829 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17830 shlibpath_var=LD_LIBRARY_PATH
17831 shlibpath_overrides_runpath=no
17832 hardcode_into_libs=yes
17833 ;;
17834
17835 irix5* | irix6* | nonstopux*)
17836 case $host_os in
17837 nonstopux*) version_type=nonstopux ;;
17838 *)
17839 if test yes = "$lt_cv_prog_gnu_ld"; then
17840 version_type=linux # correct to gnu/linux during the next big refactor
17841 else
17842 version_type=irix
17843 fi ;;
17844 esac
17845 need_lib_prefix=no
17846 need_version=no
17847 soname_spec='$libname$release$shared_ext$major'
17848 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17849 case $host_os in
17850 irix5* | nonstopux*)
17851 libsuff= shlibsuff=
17852 ;;
17853 *)
17854 case $LD in # libtool.m4 will add one of these switches to LD
17855 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17856 libsuff= shlibsuff= libmagic=32-bit;;
17857 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17858 libsuff=32 shlibsuff=N32 libmagic=N32;;
17859 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17860 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17861 *) libsuff= shlibsuff= libmagic=never-match;;
17862 esac
17863 ;;
17864 esac
17865 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17866 shlibpath_overrides_runpath=no
17867 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17868 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17869 hardcode_into_libs=yes
17870 ;;
17871
17872 # No shared lib support for Linux oldld, aout, or coff.
17873 linux*oldld* | linux*aout* | linux*coff*)
17874 dynamic_linker=no
17875 ;;
17876
17877 linux*android*)
17878 version_type=none # Android doesn't support versioned libraries.
17879 need_lib_prefix=no
17880 need_version=no
17881 library_names_spec='$libname$release$shared_ext'
17882 soname_spec='$libname$release$shared_ext'
17883 finish_cmds=
17884 shlibpath_var=LD_LIBRARY_PATH
17885 shlibpath_overrides_runpath=yes
17886
17887 # This implies no fast_install, which is unacceptable.
17888 # Some rework will be needed to allow for fast_install
17889 # before this can be enabled.
17890 hardcode_into_libs=yes
17891
17892 dynamic_linker='Android linker'
17893 # Don't embed -rpath directories since the linker doesn't support them.
17894 hardcode_libdir_flag_spec_CXX='-L$libdir'
17895 ;;
17896
17897 # This must be glibc/ELF.
17898 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17899 version_type=linux # correct to gnu/linux during the next big refactor
17900 need_lib_prefix=no
17901 need_version=no
17902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17903 soname_spec='$libname$release$shared_ext$major'
17904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17905 shlibpath_var=LD_LIBRARY_PATH
17906 shlibpath_overrides_runpath=no
17907
17908 # Some binutils ld are patched to set DT_RUNPATH
17909 if test ${lt_cv_shlibpath_overrides_runpath+y}
17910 then :
17911 printf %s "(cached) " >&6
17912 else $as_nop
17913 lt_cv_shlibpath_overrides_runpath=no
17914 save_LDFLAGS=$LDFLAGS
17915 save_libdir=$libdir
17916 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17917 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920
17921 int
17922 main (void)
17923 {
17924
17925 ;
17926 return 0;
17927 }
17928 _ACEOF
17929 if ac_fn_cxx_try_link "$LINENO"
17930 then :
17931 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
17932 then :
17933 lt_cv_shlibpath_overrides_runpath=yes
17934 fi
17935 fi
17936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17937 conftest$ac_exeext conftest.$ac_ext
17938 LDFLAGS=$save_LDFLAGS
17939 libdir=$save_libdir
17940
17941 fi
17942
17943 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17944
17945 # This implies no fast_install, which is unacceptable.
17946 # Some rework will be needed to allow for fast_install
17947 # before this can be enabled.
17948 hardcode_into_libs=yes
17949
17950 # Add ABI-specific directories to the system library path.
17951 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17952
17953 # Ideally, we could use ldconfig to report *all* directores which are
17954 # searched for libraries, however this is still not possible. Aside from not
17955 # being certain /sbin/ldconfig is available, command
17956 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17957 # even though it is searched at run-time. Try to do the best guess by
17958 # appending ld.so.conf contents (and includes) to the search path.
17959 if test -f /etc/ld.so.conf; then
17960 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
17961 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17962 fi
17963
17964 # We used to test for /lib/ld.so.1 and disable shared libraries on
17965 # powerpc, because MkLinux only supported shared libraries with the
17966 # GNU dynamic linker. Since this was broken with cross compilers,
17967 # most powerpc-linux boxes support dynamic linking these days and
17968 # people can always --disable-shared, the test was removed, and we
17969 # assume the GNU/Linux dynamic linker is in use.
17970 dynamic_linker='GNU/Linux ld.so'
17971 ;;
17972
17973 netbsd*)
17974 version_type=sunos
17975 need_lib_prefix=no
17976 need_version=no
17977 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17978 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17979 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17980 dynamic_linker='NetBSD (a.out) ld.so'
17981 else
17982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17983 soname_spec='$libname$release$shared_ext$major'
17984 dynamic_linker='NetBSD ld.elf_so'
17985 fi
17986 shlibpath_var=LD_LIBRARY_PATH
17987 shlibpath_overrides_runpath=yes
17988 hardcode_into_libs=yes
17989 ;;
17990
17991 newsos6)
17992 version_type=linux # correct to gnu/linux during the next big refactor
17993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17994 shlibpath_var=LD_LIBRARY_PATH
17995 shlibpath_overrides_runpath=yes
17996 ;;
17997
17998 *nto* | *qnx*)
17999 version_type=qnx
18000 need_lib_prefix=no
18001 need_version=no
18002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18003 soname_spec='$libname$release$shared_ext$major'
18004 shlibpath_var=LD_LIBRARY_PATH
18005 shlibpath_overrides_runpath=no
18006 hardcode_into_libs=yes
18007 dynamic_linker='ldqnx.so'
18008 ;;
18009
18010 openbsd* | bitrig*)
18011 version_type=sunos
18012 sys_lib_dlsearch_path_spec=/usr/lib
18013 need_lib_prefix=no
18014 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18015 need_version=no
18016 else
18017 need_version=yes
18018 fi
18019 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18020 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18021 shlibpath_var=LD_LIBRARY_PATH
18022 shlibpath_overrides_runpath=yes
18023 ;;
18024
18025 os2*)
18026 libname_spec='$name'
18027 version_type=windows
18028 shrext_cmds=.dll
18029 need_version=no
18030 need_lib_prefix=no
18031 # OS/2 can only load a DLL with a base name of 8 characters or less.
18032 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18033 v=$($ECHO $release$versuffix | tr -d .-);
18034 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18035 $ECHO $n$v`$shared_ext'
18036 library_names_spec='${libname}_dll.$libext'
18037 dynamic_linker='OS/2 ld.exe'
18038 shlibpath_var=BEGINLIBPATH
18039 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18040 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18041 postinstall_cmds='base_file=`basename \$file`~
18042 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18043 dldir=$destdir/`dirname \$dlpath`~
18044 test -d \$dldir || mkdir -p \$dldir~
18045 $install_prog $dir/$dlname \$dldir/$dlname~
18046 chmod a+x \$dldir/$dlname~
18047 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18048 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18049 fi'
18050 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18051 dlpath=$dir/\$dldll~
18052 $RM \$dlpath'
18053 ;;
18054
18055 osf3* | osf4* | osf5*)
18056 version_type=osf
18057 need_lib_prefix=no
18058 need_version=no
18059 soname_spec='$libname$release$shared_ext$major'
18060 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18061 shlibpath_var=LD_LIBRARY_PATH
18062 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18063 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18064 ;;
18065
18066 rdos*)
18067 dynamic_linker=no
18068 ;;
18069
18070 solaris*)
18071 version_type=linux # correct to gnu/linux during the next big refactor
18072 need_lib_prefix=no
18073 need_version=no
18074 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18075 soname_spec='$libname$release$shared_ext$major'
18076 shlibpath_var=LD_LIBRARY_PATH
18077 shlibpath_overrides_runpath=yes
18078 hardcode_into_libs=yes
18079 # ldd complains unless libraries are executable
18080 postinstall_cmds='chmod +x $lib'
18081 ;;
18082
18083 sunos4*)
18084 version_type=sunos
18085 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18086 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18087 shlibpath_var=LD_LIBRARY_PATH
18088 shlibpath_overrides_runpath=yes
18089 if test yes = "$with_gnu_ld"; then
18090 need_lib_prefix=no
18091 fi
18092 need_version=yes
18093 ;;
18094
18095 sysv4 | sysv4.3*)
18096 version_type=linux # correct to gnu/linux during the next big refactor
18097 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18098 soname_spec='$libname$release$shared_ext$major'
18099 shlibpath_var=LD_LIBRARY_PATH
18100 case $host_vendor in
18101 sni)
18102 shlibpath_overrides_runpath=no
18103 need_lib_prefix=no
18104 runpath_var=LD_RUN_PATH
18105 ;;
18106 siemens)
18107 need_lib_prefix=no
18108 ;;
18109 motorola)
18110 need_lib_prefix=no
18111 need_version=no
18112 shlibpath_overrides_runpath=no
18113 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18114 ;;
18115 esac
18116 ;;
18117
18118 sysv4*MP*)
18119 if test -d /usr/nec; then
18120 version_type=linux # correct to gnu/linux during the next big refactor
18121 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18122 soname_spec='$libname$shared_ext.$major'
18123 shlibpath_var=LD_LIBRARY_PATH
18124 fi
18125 ;;
18126
18127 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18128 version_type=sco
18129 need_lib_prefix=no
18130 need_version=no
18131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18132 soname_spec='$libname$release$shared_ext$major'
18133 shlibpath_var=LD_LIBRARY_PATH
18134 shlibpath_overrides_runpath=yes
18135 hardcode_into_libs=yes
18136 if test yes = "$with_gnu_ld"; then
18137 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18138 else
18139 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18140 case $host_os in
18141 sco3.2v5*)
18142 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18143 ;;
18144 esac
18145 fi
18146 sys_lib_dlsearch_path_spec='/usr/lib'
18147 ;;
18148
18149 tpf*)
18150 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18151 version_type=linux # correct to gnu/linux during the next big refactor
18152 need_lib_prefix=no
18153 need_version=no
18154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18155 shlibpath_var=LD_LIBRARY_PATH
18156 shlibpath_overrides_runpath=no
18157 hardcode_into_libs=yes
18158 ;;
18159
18160 uts4*)
18161 version_type=linux # correct to gnu/linux during the next big refactor
18162 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18163 soname_spec='$libname$release$shared_ext$major'
18164 shlibpath_var=LD_LIBRARY_PATH
18165 ;;
18166
18167 *)
18168 dynamic_linker=no
18169 ;;
18170 esac
18171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18172 printf "%s\n" "$dynamic_linker" >&6; }
18173 test no = "$dynamic_linker" && can_build_shared=no
18174
18175 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18176 if test yes = "$GCC"; then
18177 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18178 fi
18179
18180 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18181 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18182 fi
18183
18184 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18185 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18186 fi
18187
18188 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18189 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18190
18191 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18192 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18193
18194 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18195 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18237 printf %s "checking how to hardcode library paths into programs... " >&6; }
18238 hardcode_action_CXX=
18239 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18240 test -n "$runpath_var_CXX" ||
18241 test yes = "$hardcode_automatic_CXX"; then
18242
18243 # We can hardcode non-existent directories.
18244 if test no != "$hardcode_direct_CXX" &&
18245 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18246 # have to relink, otherwise we might link with an installed library
18247 # when we should be linking with a yet-to-be-installed one
18248 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18249 test no != "$hardcode_minus_L_CXX"; then
18250 # Linking always hardcodes the temporary library directory.
18251 hardcode_action_CXX=relink
18252 else
18253 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18254 hardcode_action_CXX=immediate
18255 fi
18256 else
18257 # We cannot hardcode anything, or else we can only hardcode existing
18258 # directories.
18259 hardcode_action_CXX=unsupported
18260 fi
18261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18262 printf "%s\n" "$hardcode_action_CXX" >&6; }
18263
18264 if test relink = "$hardcode_action_CXX" ||
18265 test yes = "$inherit_rpath_CXX"; then
18266 # Fast installation is not supported
18267 enable_fast_install=no
18268 elif test yes = "$shlibpath_overrides_runpath" ||
18269 test no = "$enable_shared"; then
18270 # Fast installation is not necessary
18271 enable_fast_install=needless
18272 fi
18273
18274
18275
18276
18277
18278
18279
18280 fi # test -n "$compiler"
18281
18282 CC=$lt_save_CC
18283 CFLAGS=$lt_save_CFLAGS
18284 LDCXX=$LD
18285 LD=$lt_save_LD
18286 GCC=$lt_save_GCC
18287 with_gnu_ld=$lt_save_with_gnu_ld
18288 lt_cv_path_LDCXX=$lt_cv_path_LD
18289 lt_cv_path_LD=$lt_save_path_LD
18290 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18291 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18292 fi # test yes != "$_lt_caught_CXX_error"
18293
18294 ac_ext=c
18295 ac_cpp='$CPP $CPPFLAGS'
18296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314 ac_config_commands="$ac_config_commands libtool"
18315
18316
18317
18318
18319 # Only expand once:
18320
18321
18322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
18323 printf %s "checking for a sed that does not truncate output... " >&6; }
18324 if test ${ac_cv_path_SED+y}
18325 then :
18326 printf %s "(cached) " >&6
18327 else $as_nop
18328 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
18329 for ac_i in 1 2 3 4 5 6 7; do
18330 ac_script="$ac_script$as_nl$ac_script"
18331 done
18332 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
18333 { ac_script=; unset ac_script;}
18334 if test -z "$SED"; then
18335 ac_path_SED_found=false
18336 # Loop through the user's path and test for each of PROGNAME-LIST
18337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18338 for as_dir in $PATH
18339 do
18340 IFS=$as_save_IFS
18341 case $as_dir in #(((
18342 '') as_dir=./ ;;
18343 */) ;;
18344 *) as_dir=$as_dir/ ;;
18345 esac
18346 for ac_prog in sed gsed
18347 do
18348 for ac_exec_ext in '' $ac_executable_extensions; do
18349 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
18350 as_fn_executable_p "$ac_path_SED" || continue
18351 # Check for GNU ac_path_SED and select it if it is found.
18352 # Check for GNU $ac_path_SED
18353 case `"$ac_path_SED" --version 2>&1` in
18354 *GNU*)
18355 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
18356 *)
18357 ac_count=0
18358 printf %s 0123456789 >"conftest.in"
18359 while :
18360 do
18361 cat "conftest.in" "conftest.in" >"conftest.tmp"
18362 mv "conftest.tmp" "conftest.in"
18363 cp "conftest.in" "conftest.nl"
18364 printf "%s\n" '' >> "conftest.nl"
18365 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
18366 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18367 as_fn_arith $ac_count + 1 && ac_count=$as_val
18368 if test $ac_count -gt ${ac_path_SED_max-0}; then
18369 # Best one so far, save it but keep looking for a better one
18370 ac_cv_path_SED="$ac_path_SED"
18371 ac_path_SED_max=$ac_count
18372 fi
18373 # 10*(2^10) chars as input seems more than enough
18374 test $ac_count -gt 10 && break
18375 done
18376 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18377 esac
18378
18379 $ac_path_SED_found && break 3
18380 done
18381 done
18382 done
18383 IFS=$as_save_IFS
18384 if test -z "$ac_cv_path_SED"; then
18385 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
18386 fi
18387 else
18388 ac_cv_path_SED=$SED
18389 fi
18390
18391 fi
18392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
18393 printf "%s\n" "$ac_cv_path_SED" >&6; }
18394 SED="$ac_cv_path_SED"
18395 rm -f conftest.sed
18396
18397
18398 # check ibus
18399
18400
18401
18402
18403
18404
18405
18406 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18407 if test -n "$ac_tool_prefix"; then
18408 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18409 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18411 printf %s "checking for $ac_word... " >&6; }
18412 if test ${ac_cv_path_PKG_CONFIG+y}
18413 then :
18414 printf %s "(cached) " >&6
18415 else $as_nop
18416 case $PKG_CONFIG in
18417 [\\/]* | ?:[\\/]*)
18418 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18419 ;;
18420 *)
18421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18422 for as_dir in $PATH
18423 do
18424 IFS=$as_save_IFS
18425 case $as_dir in #(((
18426 '') as_dir=./ ;;
18427 */) ;;
18428 *) as_dir=$as_dir/ ;;
18429 esac
18430 for ac_exec_ext in '' $ac_executable_extensions; do
18431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18432 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18434 break 2
18435 fi
18436 done
18437 done
18438 IFS=$as_save_IFS
18439
18440 ;;
18441 esac
18442 fi
18443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18444 if test -n "$PKG_CONFIG"; then
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18446 printf "%s\n" "$PKG_CONFIG" >&6; }
18447 else
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 printf "%s\n" "no" >&6; }
18450 fi
18451
18452
18453 fi
18454 if test -z "$ac_cv_path_PKG_CONFIG"; then
18455 ac_pt_PKG_CONFIG=$PKG_CONFIG
18456 # Extract the first word of "pkg-config", so it can be a program name with args.
18457 set dummy pkg-config; ac_word=$2
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18459 printf %s "checking for $ac_word... " >&6; }
18460 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
18461 then :
18462 printf %s "(cached) " >&6
18463 else $as_nop
18464 case $ac_pt_PKG_CONFIG in
18465 [\\/]* | ?:[\\/]*)
18466 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18467 ;;
18468 *)
18469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18470 for as_dir in $PATH
18471 do
18472 IFS=$as_save_IFS
18473 case $as_dir in #(((
18474 '') as_dir=./ ;;
18475 */) ;;
18476 *) as_dir=$as_dir/ ;;
18477 esac
18478 for ac_exec_ext in '' $ac_executable_extensions; do
18479 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18480 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
18481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18482 break 2
18483 fi
18484 done
18485 done
18486 IFS=$as_save_IFS
18487
18488 ;;
18489 esac
18490 fi
18491 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18492 if test -n "$ac_pt_PKG_CONFIG"; then
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18494 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
18495 else
18496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18497 printf "%s\n" "no" >&6; }
18498 fi
18499
18500 if test "x$ac_pt_PKG_CONFIG" = x; then
18501 PKG_CONFIG=""
18502 else
18503 case $cross_compiling:$ac_tool_warned in
18504 yes:)
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18506 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18507 ac_tool_warned=yes ;;
18508 esac
18509 PKG_CONFIG=$ac_pt_PKG_CONFIG
18510 fi
18511 else
18512 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18513 fi
18514
18515 fi
18516 if test -n "$PKG_CONFIG"; then
18517 _pkg_min_version=0.9.0
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18519 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18520 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18522 printf "%s\n" "yes" >&6; }
18523 else
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18525 printf "%s\n" "no" >&6; }
18526 PKG_CONFIG=""
18527 fi
18528 fi
18529
18530 pkg_failed=no
18531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
18532 printf %s "checking for IBUS... " >&6; }
18533
18534 if test -n "$IBUS_CFLAGS"; then
18535 pkg_cv_IBUS_CFLAGS="$IBUS_CFLAGS"
18536 elif test -n "$PKG_CONFIG"; then
18537 if test -n "$PKG_CONFIG" && \
18538 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18539 ibus-1.0 >= 1.5.11
18540 \""; } >&5
18541 ($PKG_CONFIG --exists --print-errors "
18542 ibus-1.0 >= 1.5.11
18543 ") 2>&5
18544 ac_status=$?
18545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18546 test $ac_status = 0; }; then
18547 pkg_cv_IBUS_CFLAGS=`$PKG_CONFIG --cflags "
18548 ibus-1.0 >= 1.5.11
18549 " 2>/dev/null`
18550 test "x$?" != "x0" && pkg_failed=yes
18551 else
18552 pkg_failed=yes
18553 fi
18554 else
18555 pkg_failed=untried
18556 fi
18557 if test -n "$IBUS_LIBS"; then
18558 pkg_cv_IBUS_LIBS="$IBUS_LIBS"
18559 elif test -n "$PKG_CONFIG"; then
18560 if test -n "$PKG_CONFIG" && \
18561 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18562 ibus-1.0 >= 1.5.11
18563 \""; } >&5
18564 ($PKG_CONFIG --exists --print-errors "
18565 ibus-1.0 >= 1.5.11
18566 ") 2>&5
18567 ac_status=$?
18568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18569 test $ac_status = 0; }; then
18570 pkg_cv_IBUS_LIBS=`$PKG_CONFIG --libs "
18571 ibus-1.0 >= 1.5.11
18572 " 2>/dev/null`
18573 test "x$?" != "x0" && pkg_failed=yes
18574 else
18575 pkg_failed=yes
18576 fi
18577 else
18578 pkg_failed=untried
18579 fi
18580
18581
18582
18583 if test $pkg_failed = yes; then
18584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18585 printf "%s\n" "no" >&6; }
18586
18587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18588 _pkg_short_errors_supported=yes
18589 else
18590 _pkg_short_errors_supported=no
18591 fi
18592 if test $_pkg_short_errors_supported = yes; then
18593 IBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
18594 ibus-1.0 >= 1.5.11
18595 " 2>&1`
18596 else
18597 IBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
18598 ibus-1.0 >= 1.5.11
18599 " 2>&1`
18600 fi
18601 # Put the nasty error message in config.log where it belongs
18602 echo "$IBUS_PKG_ERRORS" >&5
18603
18604 as_fn_error $? "Package requirements (
18605 ibus-1.0 >= 1.5.11
18606 ) were not met:
18607
18608 $IBUS_PKG_ERRORS
18609
18610 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18611 installed software in a non-standard prefix.
18612
18613 Alternatively, you may set the environment variables IBUS_CFLAGS
18614 and IBUS_LIBS to avoid the need to call pkg-config.
18615 See the pkg-config man page for more details." "$LINENO" 5
18616 elif test $pkg_failed = untried; then
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18618 printf "%s\n" "no" >&6; }
18619 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18620 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18621 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18622 is in your PATH or set the PKG_CONFIG environment variable to the full
18623 path to pkg-config.
18624
18625 Alternatively, you may set the environment variables IBUS_CFLAGS
18626 and IBUS_LIBS to avoid the need to call pkg-config.
18627 See the pkg-config man page for more details.
18628
18629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18630 See \`config.log' for more details" "$LINENO" 5; }
18631 else
18632 IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
18633 IBUS_LIBS=$pkg_cv_IBUS_LIBS
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18635 printf "%s\n" "yes" >&6; }
18636
18637 fi
18638
18639 # check sqlite
18640
18641 pkg_failed=no
18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
18643 printf %s "checking for SQLITE... " >&6; }
18644
18645 if test -n "$SQLITE_CFLAGS"; then
18646 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
18647 elif test -n "$PKG_CONFIG"; then
18648 if test -n "$PKG_CONFIG" && \
18649 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18650 sqlite3
18651 \""; } >&5
18652 ($PKG_CONFIG --exists --print-errors "
18653 sqlite3
18654 ") 2>&5
18655 ac_status=$?
18656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18657 test $ac_status = 0; }; then
18658 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "
18659 sqlite3
18660 " 2>/dev/null`
18661 test "x$?" != "x0" && pkg_failed=yes
18662 else
18663 pkg_failed=yes
18664 fi
18665 else
18666 pkg_failed=untried
18667 fi
18668 if test -n "$SQLITE_LIBS"; then
18669 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
18670 elif test -n "$PKG_CONFIG"; then
18671 if test -n "$PKG_CONFIG" && \
18672 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18673 sqlite3
18674 \""; } >&5
18675 ($PKG_CONFIG --exists --print-errors "
18676 sqlite3
18677 ") 2>&5
18678 ac_status=$?
18679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18680 test $ac_status = 0; }; then
18681 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "
18682 sqlite3
18683 " 2>/dev/null`
18684 test "x$?" != "x0" && pkg_failed=yes
18685 else
18686 pkg_failed=yes
18687 fi
18688 else
18689 pkg_failed=untried
18690 fi
18691
18692
18693
18694 if test $pkg_failed = yes; then
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 printf "%s\n" "no" >&6; }
18697
18698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18699 _pkg_short_errors_supported=yes
18700 else
18701 _pkg_short_errors_supported=no
18702 fi
18703 if test $_pkg_short_errors_supported = yes; then
18704 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
18705 sqlite3
18706 " 2>&1`
18707 else
18708 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
18709 sqlite3
18710 " 2>&1`
18711 fi
18712 # Put the nasty error message in config.log where it belongs
18713 echo "$SQLITE_PKG_ERRORS" >&5
18714
18715 as_fn_error $? "Package requirements (
18716 sqlite3
18717 ) were not met:
18718
18719 $SQLITE_PKG_ERRORS
18720
18721 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18722 installed software in a non-standard prefix.
18723
18724 Alternatively, you may set the environment variables SQLITE_CFLAGS
18725 and SQLITE_LIBS to avoid the need to call pkg-config.
18726 See the pkg-config man page for more details." "$LINENO" 5
18727 elif test $pkg_failed = untried; then
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18729 printf "%s\n" "no" >&6; }
18730 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18731 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18732 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18733 is in your PATH or set the PKG_CONFIG environment variable to the full
18734 path to pkg-config.
18735
18736 Alternatively, you may set the environment variables SQLITE_CFLAGS
18737 and SQLITE_LIBS to avoid the need to call pkg-config.
18738 See the pkg-config man page for more details.
18739
18740 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18741 See \`config.log' for more details" "$LINENO" 5; }
18742 else
18743 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
18744 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18746 printf "%s\n" "yes" >&6; }
18747
18748 fi
18749
18750 # Extract the first word of "sqlite3", so it can be a program name with args.
18751 set dummy sqlite3; ac_word=$2
18752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18753 printf %s "checking for $ac_word... " >&6; }
18754 if test ${ac_cv_path_SQLITE3+y}
18755 then :
18756 printf %s "(cached) " >&6
18757 else $as_nop
18758 case $SQLITE3 in
18759 [\\/]* | ?:[\\/]*)
18760 ac_cv_path_SQLITE3="$SQLITE3" # Let the user override the test with a path.
18761 ;;
18762 *)
18763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18764 for as_dir in $PATH
18765 do
18766 IFS=$as_save_IFS
18767 case $as_dir in #(((
18768 '') as_dir=./ ;;
18769 */) ;;
18770 *) as_dir=$as_dir/ ;;
18771 esac
18772 for ac_exec_ext in '' $ac_executable_extensions; do
18773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18774 ac_cv_path_SQLITE3="$as_dir$ac_word$ac_exec_ext"
18775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18776 break 2
18777 fi
18778 done
18779 done
18780 IFS=$as_save_IFS
18781
18782 ;;
18783 esac
18784 fi
18785 SQLITE3=$ac_cv_path_SQLITE3
18786 if test -n "$SQLITE3"; then
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SQLITE3" >&5
18788 printf "%s\n" "$SQLITE3" >&6; }
18789 else
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18791 printf "%s\n" "no" >&6; }
18792 fi
18793
18794
18795 if test -z "$SQLITE3"; then
18796 as_fn_error $? "could not find sqlite3 tool." "$LINENO" 5
18797 fi
18798
18799
18800 pkg_failed=no
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBPINYIN" >&5
18802 printf %s "checking for LIBPINYIN... " >&6; }
18803
18804 if test -n "$LIBPINYIN_CFLAGS"; then
18805 pkg_cv_LIBPINYIN_CFLAGS="$LIBPINYIN_CFLAGS"
18806 elif test -n "$PKG_CONFIG"; then
18807 if test -n "$PKG_CONFIG" && \
18808 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18809 libpinyin >= 2.7.91
18810 \""; } >&5
18811 ($PKG_CONFIG --exists --print-errors "
18812 libpinyin >= 2.7.91
18813 ") 2>&5
18814 ac_status=$?
18815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18816 test $ac_status = 0; }; then
18817 pkg_cv_LIBPINYIN_CFLAGS=`$PKG_CONFIG --cflags "
18818 libpinyin >= 2.7.91
18819 " 2>/dev/null`
18820 test "x$?" != "x0" && pkg_failed=yes
18821 else
18822 pkg_failed=yes
18823 fi
18824 else
18825 pkg_failed=untried
18826 fi
18827 if test -n "$LIBPINYIN_LIBS"; then
18828 pkg_cv_LIBPINYIN_LIBS="$LIBPINYIN_LIBS"
18829 elif test -n "$PKG_CONFIG"; then
18830 if test -n "$PKG_CONFIG" && \
18831 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
18832 libpinyin >= 2.7.91
18833 \""; } >&5
18834 ($PKG_CONFIG --exists --print-errors "
18835 libpinyin >= 2.7.91
18836 ") 2>&5
18837 ac_status=$?
18838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18839 test $ac_status = 0; }; then
18840 pkg_cv_LIBPINYIN_LIBS=`$PKG_CONFIG --libs "
18841 libpinyin >= 2.7.91
18842 " 2>/dev/null`
18843 test "x$?" != "x0" && pkg_failed=yes
18844 else
18845 pkg_failed=yes
18846 fi
18847 else
18848 pkg_failed=untried
18849 fi
18850
18851
18852
18853 if test $pkg_failed = yes; then
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18855 printf "%s\n" "no" >&6; }
18856
18857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18858 _pkg_short_errors_supported=yes
18859 else
18860 _pkg_short_errors_supported=no
18861 fi
18862 if test $_pkg_short_errors_supported = yes; then
18863 LIBPINYIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
18864 libpinyin >= 2.7.91
18865 " 2>&1`
18866 else
18867 LIBPINYIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
18868 libpinyin >= 2.7.91
18869 " 2>&1`
18870 fi
18871 # Put the nasty error message in config.log where it belongs
18872 echo "$LIBPINYIN_PKG_ERRORS" >&5
18873
18874 as_fn_error $? "Package requirements (
18875 libpinyin >= 2.7.91
18876 ) were not met:
18877
18878 $LIBPINYIN_PKG_ERRORS
18879
18880 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18881 installed software in a non-standard prefix.
18882
18883 Alternatively, you may set the environment variables LIBPINYIN_CFLAGS
18884 and LIBPINYIN_LIBS to avoid the need to call pkg-config.
18885 See the pkg-config man page for more details." "$LINENO" 5
18886 elif test $pkg_failed = untried; then
18887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18888 printf "%s\n" "no" >&6; }
18889 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18890 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18891 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18892 is in your PATH or set the PKG_CONFIG environment variable to the full
18893 path to pkg-config.
18894
18895 Alternatively, you may set the environment variables LIBPINYIN_CFLAGS
18896 and LIBPINYIN_LIBS to avoid the need to call pkg-config.
18897 See the pkg-config man page for more details.
18898
18899 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18900 See \`config.log' for more details" "$LINENO" 5; }
18901 else
18902 LIBPINYIN_CFLAGS=$pkg_cv_LIBPINYIN_CFLAGS
18903 LIBPINYIN_LIBS=$pkg_cv_LIBPINYIN_LIBS
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18905 printf "%s\n" "yes" >&6; }
18906 enable_libpinyin=yes
18907 fi
18908
18909 LIBPINYIN_DATADIR=`$PKG_CONFIG --variable=pkgdatadir libpinyin`
18910
18911
18912
18913 # check if ibus_config_get_values, which is available in ibus-1.3.99+ (git master)
18914 save_CFLAGS="$CFLAGS"
18915 save_LIBS="$LIBS"
18916 CFLAGS="$CFLAGS $IBUS_CFLAGS"
18917 LIBS="$LIBS $IBUS_LIBS"
18918 ac_fn_c_check_func "$LINENO" "ibus_config_get_values" "ac_cv_func_ibus_config_get_values"
18919 if test "x$ac_cv_func_ibus_config_get_values" = xyes
18920 then :
18921 printf "%s\n" "#define HAVE_IBUS_CONFIG_GET_VALUES 1" >>confdefs.h
18922
18923 fi
18924
18925 CFLAGS="$save_CFLAGS"
18926 LIBS="$save_LIBS"
18927
18928
18929 # check env
18930 # Extract the first word of "env", so it can be a program name with args.
18931 set dummy env; ac_word=$2
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18933 printf %s "checking for $ac_word... " >&6; }
18934 if test ${ac_cv_path_ENV+y}
18935 then :
18936 printf %s "(cached) " >&6
18937 else $as_nop
18938 case $ENV in
18939 [\\/]* | ?:[\\/]*)
18940 ac_cv_path_ENV="$ENV" # Let the user override the test with a path.
18941 ;;
18942 *)
18943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18944 for as_dir in $PATH
18945 do
18946 IFS=$as_save_IFS
18947 case $as_dir in #(((
18948 '') as_dir=./ ;;
18949 */) ;;
18950 *) as_dir=$as_dir/ ;;
18951 esac
18952 for ac_exec_ext in '' $ac_executable_extensions; do
18953 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18954 ac_cv_path_ENV="$as_dir$ac_word$ac_exec_ext"
18955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18956 break 2
18957 fi
18958 done
18959 done
18960 IFS=$as_save_IFS
18961
18962 ;;
18963 esac
18964 fi
18965 ENV=$ac_cv_path_ENV
18966 if test -n "$ENV"; then
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENV" >&5
18968 printf "%s\n" "$ENV" >&6; }
18969 else
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18971 printf "%s\n" "no" >&6; }
18972 fi
18973
18974
18975
18976
18977 # check python
18978
18979
18980
18981
18982
18983
18984 if test -n "$PYTHON"; then
18985 # If the user set $PYTHON, use it and don't search something else.
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.7" >&5
18987 printf %s "checking whether $PYTHON version is >= 3.7... " >&6; }
18988 prog="import sys
18989 # split strings by '.' and convert to numeric. Append some zeros
18990 # because we need at least 4 digits for the hex conversion.
18991 # map returns an iterator in Python 3.0 and a list in 2.x
18992 minver = list(map(int, '3.7'.split('.'))) + [0, 0, 0]
18993 minverhex = 0
18994 # xrange is not present in Python 3.0 and range returns an iterator
18995 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
18996 sys.exit(sys.hexversion < minverhex)"
18997 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
18998 ($PYTHON -c "$prog") >&5 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }
19002 then :
19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19004 printf "%s\n" "yes" >&6; }
19005 else $as_nop
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19007 printf "%s\n" "no" >&6; }
19008 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
19009 fi
19010 am_display_PYTHON=$PYTHON
19011 else
19012 # Otherwise, try each interpreter until we find one that satisfies
19013 # VERSION.
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.7" >&5
19015 printf %s "checking for a Python interpreter with version >= 3.7... " >&6; }
19016 if test ${am_cv_pathless_PYTHON+y}
19017 then :
19018 printf %s "(cached) " >&6
19019 else $as_nop
19020
19021 for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
19022 test "$am_cv_pathless_PYTHON" = none && break
19023 prog="import sys
19024 # split strings by '.' and convert to numeric. Append some zeros
19025 # because we need at least 4 digits for the hex conversion.
19026 # map returns an iterator in Python 3.0 and a list in 2.x
19027 minver = list(map(int, '3.7'.split('.'))) + [0, 0, 0]
19028 minverhex = 0
19029 # xrange is not present in Python 3.0 and range returns an iterator
19030 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
19031 sys.exit(sys.hexversion < minverhex)"
19032 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
19033 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }
19037 then :
19038 break
19039 fi
19040 done
19041 fi
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
19043 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
19044 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
19045 if test "$am_cv_pathless_PYTHON" = none; then
19046 PYTHON=:
19047 else
19048 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
19049 set dummy $am_cv_pathless_PYTHON; ac_word=$2
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19051 printf %s "checking for $ac_word... " >&6; }
19052 if test ${ac_cv_path_PYTHON+y}
19053 then :
19054 printf %s "(cached) " >&6
19055 else $as_nop
19056 case $PYTHON in
19057 [\\/]* | ?:[\\/]*)
19058 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19059 ;;
19060 *)
19061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19062 for as_dir in $PATH
19063 do
19064 IFS=$as_save_IFS
19065 case $as_dir in #(((
19066 '') as_dir=./ ;;
19067 */) ;;
19068 *) as_dir=$as_dir/ ;;
19069 esac
19070 for ac_exec_ext in '' $ac_executable_extensions; do
19071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19072 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
19073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19074 break 2
19075 fi
19076 done
19077 done
19078 IFS=$as_save_IFS
19079
19080 ;;
19081 esac
19082 fi
19083 PYTHON=$ac_cv_path_PYTHON
19084 if test -n "$PYTHON"; then
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
19086 printf "%s\n" "$PYTHON" >&6; }
19087 else
19088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19089 printf "%s\n" "no" >&6; }
19090 fi
19091
19092
19093 fi
19094 am_display_PYTHON=$am_cv_pathless_PYTHON
19095 fi
19096
19097
19098 if test "$PYTHON" = :; then
19099 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
19100 else
19101
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
19103 printf %s "checking for $am_display_PYTHON version... " >&6; }
19104 if test ${am_cv_python_version+y}
19105 then :
19106 printf %s "(cached) " >&6
19107 else $as_nop
19108 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
19109 fi
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
19111 printf "%s\n" "$am_cv_python_version" >&6; }
19112 PYTHON_VERSION=$am_cv_python_version
19113
19114
19115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
19116 printf %s "checking for $am_display_PYTHON platform... " >&6; }
19117 if test ${am_cv_python_platform+y}
19118 then :
19119 printf %s "(cached) " >&6
19120 else $as_nop
19121 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
19122 fi
19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
19124 printf "%s\n" "$am_cv_python_platform" >&6; }
19125 PYTHON_PLATFORM=$am_cv_python_platform
19126
19127
19128 if test "x$prefix" = xNONE; then
19129 am__usable_prefix=$ac_default_prefix
19130 else
19131 am__usable_prefix=$prefix
19132 fi
19133
19134 # Allow user to request using sys.* values from Python,
19135 # instead of the GNU $prefix values.
19136
19137 # Check whether --with-python-sys-prefix was given.
19138 if test ${with_python_sys_prefix+y}
19139 then :
19140 withval=$with_python_sys_prefix; am_use_python_sys=:
19141 else $as_nop
19142 am_use_python_sys=false
19143 fi
19144
19145
19146 # Allow user to override whatever the default Python prefix is.
19147
19148 # Check whether --with-python_prefix was given.
19149 if test ${with_python_prefix+y}
19150 then :
19151 withval=$with_python_prefix; am_python_prefix_subst=$withval
19152 am_cv_python_prefix=$withval
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
19154 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
19156 printf "%s\n" "$am_cv_python_prefix" >&6; }
19157 else $as_nop
19158
19159 if $am_use_python_sys; then
19160 # using python sys.prefix value, not GNU
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
19162 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
19163 if test ${am_cv_python_prefix+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
19168 fi
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
19170 printf "%s\n" "$am_cv_python_prefix" >&6; }
19171
19172 case $am_cv_python_prefix in
19173 $am__usable_prefix*)
19174 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
19175 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
19176 ;;
19177 *)
19178 am_python_prefix_subst=$am_cv_python_prefix
19179 ;;
19180 esac
19181 else # using GNU prefix value, not python sys.prefix
19182 am_python_prefix_subst='${prefix}'
19183 am_python_prefix=$am_python_prefix_subst
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
19185 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
19187 printf "%s\n" "$am_python_prefix" >&6; }
19188 fi
19189 fi
19190
19191 # Substituting python_prefix_subst value.
19192 PYTHON_PREFIX=$am_python_prefix_subst
19193
19194
19195 # emacs-page Now do it all over again for Python exec_prefix, but with yet
19196 # another conditional: fall back to regular prefix if that was specified.
19197
19198 # Check whether --with-python_exec_prefix was given.
19199 if test ${with_python_exec_prefix+y}
19200 then :
19201 withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
19202 am_cv_python_exec_prefix=$withval
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
19204 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
19206 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
19207 else $as_nop
19208
19209 # no explicit --with-python_exec_prefix, but if
19210 # --with-python_prefix was given, use its value for python_exec_prefix too.
19211 if test -n "$with_python_prefix"
19212 then :
19213 am_python_exec_prefix_subst=$with_python_prefix
19214 am_cv_python_exec_prefix=$with_python_prefix
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
19216 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
19218 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
19219 else $as_nop
19220
19221 # Set am__usable_exec_prefix whether using GNU or Python values,
19222 # since we use that variable for pyexecdir.
19223 if test "x$exec_prefix" = xNONE; then
19224 am__usable_exec_prefix=$am__usable_prefix
19225 else
19226 am__usable_exec_prefix=$exec_prefix
19227 fi
19228 #
19229 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
19231 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
19232 if test ${am_cv_python_exec_prefix+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
19237 fi
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
19239 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
19240 case $am_cv_python_exec_prefix in
19241 $am__usable_exec_prefix*)
19242 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
19243 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
19244 ;;
19245 *)
19246 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
19247 ;;
19248 esac
19249 else # using GNU $exec_prefix, not python sys.exec_prefix
19250 am_python_exec_prefix_subst='${exec_prefix}'
19251 am_python_exec_prefix=$am_python_exec_prefix_subst
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
19253 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
19255 printf "%s\n" "$am_python_exec_prefix" >&6; }
19256 fi
19257 fi
19258 fi
19259
19260 # Substituting python_exec_prefix_subst.
19261 PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
19262
19263
19264 # Factor out some code duplication into this shell variable.
19265 am_python_setup_sysconfig="\
19266 import sys
19267 # Prefer sysconfig over distutils.sysconfig, for better compatibility
19268 # with python 3.x. See automake bug#10227.
19269 try:
19270 import sysconfig
19271 except ImportError:
19272 can_use_sysconfig = 0
19273 else:
19274 can_use_sysconfig = 1
19275 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
19276 # <https://github.com/pypa/virtualenv/issues/118>
19277 try:
19278 from platform import python_implementation
19279 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
19280 can_use_sysconfig = 0
19281 except ImportError:
19282 pass"
19283
19284
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
19286 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
19287 if test ${am_cv_python_pythondir+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 if test "x$am_cv_python_prefix" = x; then
19292 am_py_prefix=$am__usable_prefix
19293 else
19294 am_py_prefix=$am_cv_python_prefix
19295 fi
19296 am_cv_python_pythondir=`$PYTHON -c "
19297 $am_python_setup_sysconfig
19298 if can_use_sysconfig:
19299 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
19300 else:
19301 from distutils import sysconfig
19302 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
19303 sys.stdout.write(sitedir)"`
19304 #
19305 case $am_cv_python_pythondir in
19306 $am_py_prefix*)
19307 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
19308 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
19309 ;;
19310 *)
19311 case $am_py_prefix in
19312 /usr|/System*) ;;
19313 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
19314 ;;
19315 esac
19316 ;;
19317 esac
19318
19319 fi
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
19321 printf "%s\n" "$am_cv_python_pythondir" >&6; }
19322 pythondir=$am_cv_python_pythondir
19323
19324
19325 pkgpythondir=\${pythondir}/$PACKAGE
19326
19327
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
19329 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
19330 if test ${am_cv_python_pyexecdir+y}
19331 then :
19332 printf %s "(cached) " >&6
19333 else $as_nop
19334 if test "x$am_cv_python_exec_prefix" = x; then
19335 am_py_exec_prefix=$am__usable_exec_prefix
19336 else
19337 am_py_exec_prefix=$am_cv_python_exec_prefix
19338 fi
19339 am_cv_python_pyexecdir=`$PYTHON -c "
19340 $am_python_setup_sysconfig
19341 if can_use_sysconfig:
19342 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
19343 else:
19344 from distutils import sysconfig
19345 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
19346 sys.stdout.write(sitedir)"`
19347 #
19348 case $am_cv_python_pyexecdir in
19349 $am_py_exec_prefix*)
19350 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
19351 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
19352 ;;
19353 *)
19354 case $am_py_exec_prefix in
19355 /usr|/System*) ;;
19356 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
19357 ;;
19358 esac
19359 ;;
19360 esac
19361
19362 fi
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
19364 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
19365 pyexecdir=$am_cv_python_pyexecdir
19366
19367
19368 pkgpyexecdir=\${pyexecdir}/$PACKAGE
19369
19370
19371
19372 fi
19373
19374
19375 # check icon_prop_key in IBus.EngineDesc
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IBus.EngineDesc has get_icon_prop_key" >&5
19377 printf %s "checking if IBus.EngineDesc has get_icon_prop_key... " >&6; }
19378 ICON_PROP_KEY_TEST="import gi
19379 gi.require_version('IBus', '1.0')
19380 from gi.repository import IBus
19381 exit(not hasattr(IBus.EngineDesc, 'get_icon_prop_key'))
19382 "
19383 $PYTHON -c "$ICON_PROP_KEY_TEST"
19384 if test $? -eq 0; then
19385 ICON_PROP_KEY_XML="<icon_prop_key>InputMode</icon_prop_key>"
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19387 printf "%s\n" "yes" >&6; }
19388 else
19389 ICON_PROP_KEY_XML="<!-- <icon_prop_key>InputMode</icon_prop_key> -->"
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ibus 1.5.11 or later supports icon-prop-key in IBus.EngineDesc" >&5
19391 printf "%s\n" "ibus 1.5.11 or later supports icon-prop-key in IBus.EngineDesc" >&6; }
19392 fi
19393
19394
19395 # --enable-boost
19396 # Check whether --enable-boost was given.
19397 if test ${enable_boost+y}
19398 then :
19399 enableval=$enable_boost; enable_boost=$enableval
19400 else $as_nop
19401 enable_boost=no
19402
19403 fi
19404
19405 if test x"$enable_boost" = x"yes"; then
19406 # check boost
19407
19408 echo "$as_me: this is boost.m4 serial 26" >&5
19409 boost_save_IFS=$IFS
19410 boost_version_req=1.39
19411 IFS=.
19412 set x $boost_version_req 0 0 0
19413 IFS=$boost_save_IFS
19414 shift
19415 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
19416 boost_version_req_string=$1.$2.$3
19417
19418 # Check whether --with-boost was given.
19419 if test ${with_boost+y}
19420 then :
19421 withval=$with_boost;
19422 fi
19423 # If BOOST_ROOT is set and the user has not provided a value to
19424 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
19425 if test x"$BOOST_ROOT" != x; then
19426 if test x"$with_boost" = x; then
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
19428 printf "%s\n" "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
19429 with_boost=$BOOST_ROOT
19430 else
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
19432 printf "%s\n" "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
19433 fi
19434 fi
19435 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
19436 boost_save_CPPFLAGS=$CPPFLAGS
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
19438 printf %s "checking for Boost headers version >= $boost_version_req_string... " >&6; }
19439 if test ${boost_cv_inc_path+y}
19440 then :
19441 printf %s "(cached) " >&6
19442 else $as_nop
19443 boost_cv_inc_path=no
19444 ac_ext=cpp
19445 ac_cpp='$CXXCPP $CPPFLAGS'
19446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451 #include <boost/version.hpp>
19452 #if !defined BOOST_VERSION
19453 # error BOOST_VERSION is not defined
19454 #elif BOOST_VERSION < $boost_version_req
19455 # error Boost headers version < $boost_version_req
19456 #endif
19457
19458 int
19459 main (void)
19460 {
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 # If the user provided a value to --with-boost, use it and only it.
19467 case $with_boost in #(
19468 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
19469 /usr/include C:/Boost/include;; #(
19470 *) set x "$with_boost/include" "$with_boost";;
19471 esac
19472 shift
19473 for boost_dir
19474 do
19475 # Without --layout=system, Boost (or at least some versions) installs
19476 # itself in <prefix>/include/boost-<version>. This inner loop helps to
19477 # find headers in such directories.
19478 #
19479 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
19480 # order followed by ${boost_dir}. The final '.' is a sentinel for
19481 # searching $boost_dir" itself. Entries are whitespace separated.
19482 #
19483 # I didn't indent this loop on purpose (to avoid over-indented code)
19484 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
19485 && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
19486 && echo .`
19487 for boost_inc in $boost_layout_system_search_list
19488 do
19489 if test x"$boost_inc" != x.; then
19490 boost_inc="$boost_dir/$boost_inc"
19491 else
19492 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
19493 fi
19494 if test x"$boost_inc" != x; then
19495 # We are going to check whether the version of Boost installed
19496 # in $boost_inc is usable by running a compilation that
19497 # #includes it. But if we pass a -I/some/path in which Boost
19498 # is not installed, the compiler will just skip this -I and
19499 # use other locations (either from CPPFLAGS, or from its list
19500 # of system include directories). As a result we would use
19501 # header installed on the machine instead of the /some/path
19502 # specified by the user. So in that precise case (trying
19503 # $boost_inc), make sure the version.hpp exists.
19504 #
19505 # Use test -e as there can be symlinks.
19506 test -e "$boost_inc/boost/version.hpp" || continue
19507 CPPFLAGS="$CPPFLAGS -I$boost_inc"
19508 fi
19509 if ac_fn_cxx_try_compile "$LINENO"
19510 then :
19511 boost_cv_inc_path=yes
19512 else $as_nop
19513 boost_cv_version=no
19514 fi
19515 rm -f core conftest.err conftest.$ac_objext conftest.beam
19516 if test x"$boost_cv_inc_path" = xyes; then
19517 if test x"$boost_inc" != x; then
19518 boost_cv_inc_path=$boost_inc
19519 fi
19520 break 2
19521 fi
19522 done
19523 done
19524 ac_ext=c
19525 ac_cpp='$CPP $CPPFLAGS'
19526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19529
19530 fi
19531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
19532 printf "%s\n" "$boost_cv_inc_path" >&6; }
19533 case $boost_cv_inc_path in #(
19534 no)
19535 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
19536 as_fn_error $? "$boost_errmsg" "$LINENO" 5
19537
19538 ;;#(
19539 yes)
19540 BOOST_CPPFLAGS=
19541 ;;#(
19542 *)
19543 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
19544 ;;
19545 esac
19546 if test x"$boost_cv_inc_path" != xno; then
19547
19548 printf "%s\n" "#define HAVE_BOOST 1" >>confdefs.h
19549
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
19551 printf %s "checking for Boost's header version... " >&6; }
19552 if test ${boost_cv_lib_version+y}
19553 then :
19554 printf %s "(cached) " >&6
19555 else $as_nop
19556 ac_ext=cpp
19557 ac_cpp='$CXXCPP $CPPFLAGS'
19558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <boost/version.hpp>
19564 boost-lib-version = BOOST_LIB_VERSION
19565 _ACEOF
19566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19567 grep -v '#' |
19568 grep -v '^[[:space:]]*$' |
19569 tr -d '\r' |
19570 tr -s '\n' ' ' |
19571 $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1
19572 then :
19573 boost_cv_lib_version=`cat conftest.i`
19574 fi
19575 rm -rf conftest*
19576 ac_ext=c
19577 ac_cpp='$CPP $CPPFLAGS'
19578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19581
19582 fi
19583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
19584 printf "%s\n" "$boost_cv_lib_version" >&6; }
19585 # e.g. "134" for 1_34_1 or "135" for 1_35
19586 boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
19587 case $boost_major_version in #(
19588 '' | *[!0-9]*)
19589 as_fn_error $? "invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
19590 ;;
19591 esac
19592 fi
19593 CPPFLAGS=$boost_save_CPPFLAGS
19594
19595 if test x"$boost_cv_inc_path" = xno; then
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/bind.hpp" >&5
19597 printf "%s\n" "$as_me: Boost not available, not searching for boost/bind.hpp" >&6;}
19598 else
19599 ac_ext=cpp
19600 ac_cpp='$CXXCPP $CPPFLAGS'
19601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19604 boost_save_CPPFLAGS=$CPPFLAGS
19605 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
19606 ac_fn_cxx_check_header_compile "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
19607 if test "x$ac_cv_header_boost_bind_hpp" = xyes
19608 then :
19609
19610 printf "%s\n" "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
19611
19612 else $as_nop
19613 as_fn_error $? "cannot find boost/bind.hpp" "$LINENO" 5
19614 fi
19615
19616 CPPFLAGS=$boost_save_CPPFLAGS
19617 ac_ext=c
19618 ac_cpp='$CPP $CPPFLAGS'
19619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19622 fi
19623
19624 if test x"$boost_cv_inc_path" = xno; then
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/signals2.hpp" >&5
19626 printf "%s\n" "$as_me: Boost not available, not searching for boost/signals2.hpp" >&6;}
19627 else
19628 ac_ext=cpp
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19633 boost_save_CPPFLAGS=$CPPFLAGS
19634 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
19635 ac_fn_cxx_check_header_compile "$LINENO" "boost/signals2.hpp" "ac_cv_header_boost_signals2_hpp" "$ac_includes_default"
19636 if test "x$ac_cv_header_boost_signals2_hpp" = xyes
19637 then :
19638
19639 printf "%s\n" "#define HAVE_BOOST_SIGNALS2_HPP 1" >>confdefs.h
19640
19641 else $as_nop
19642 as_fn_error $? "cannot find boost/signals2.hpp" "$LINENO" 5
19643 fi
19644
19645 CPPFLAGS=$boost_save_CPPFLAGS
19646 ac_ext=c
19647 ac_cpp='$CPP $CPPFLAGS'
19648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19651 fi
19652
19653 fi
19654 if test x"$enable_boost" = x"yes"; then
19655 HAVE_BOOST_TRUE=
19656 HAVE_BOOST_FALSE='#'
19657 else
19658 HAVE_BOOST_TRUE='#'
19659 HAVE_BOOST_FALSE=
19660 fi
19661
19662
19663 # --enable-opencc
19664 # Check whether --enable-opencc was given.
19665 if test ${enable_opencc+y}
19666 then :
19667 enableval=$enable_opencc; enable_opencc=$enableval
19668 else $as_nop
19669 enable_opencc=no
19670
19671 fi
19672
19673 if test x"$enable_opencc" = x"yes"; then
19674 # check opencc
19675
19676 pkg_failed=no
19677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENCC" >&5
19678 printf %s "checking for OPENCC... " >&6; }
19679
19680 if test -n "$OPENCC_CFLAGS"; then
19681 pkg_cv_OPENCC_CFLAGS="$OPENCC_CFLAGS"
19682 elif test -n "$PKG_CONFIG"; then
19683 if test -n "$PKG_CONFIG" && \
19684 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencc >= 1.0.0\""; } >&5
19685 ($PKG_CONFIG --exists --print-errors "opencc >= 1.0.0") 2>&5
19686 ac_status=$?
19687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19688 test $ac_status = 0; }; then
19689 pkg_cv_OPENCC_CFLAGS=`$PKG_CONFIG --cflags "opencc >= 1.0.0" 2>/dev/null`
19690 test "x$?" != "x0" && pkg_failed=yes
19691 else
19692 pkg_failed=yes
19693 fi
19694 else
19695 pkg_failed=untried
19696 fi
19697 if test -n "$OPENCC_LIBS"; then
19698 pkg_cv_OPENCC_LIBS="$OPENCC_LIBS"
19699 elif test -n "$PKG_CONFIG"; then
19700 if test -n "$PKG_CONFIG" && \
19701 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencc >= 1.0.0\""; } >&5
19702 ($PKG_CONFIG --exists --print-errors "opencc >= 1.0.0") 2>&5
19703 ac_status=$?
19704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19705 test $ac_status = 0; }; then
19706 pkg_cv_OPENCC_LIBS=`$PKG_CONFIG --libs "opencc >= 1.0.0" 2>/dev/null`
19707 test "x$?" != "x0" && pkg_failed=yes
19708 else
19709 pkg_failed=yes
19710 fi
19711 else
19712 pkg_failed=untried
19713 fi
19714
19715
19716
19717 if test $pkg_failed = yes; then
19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19719 printf "%s\n" "no" >&6; }
19720
19721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19722 _pkg_short_errors_supported=yes
19723 else
19724 _pkg_short_errors_supported=no
19725 fi
19726 if test $_pkg_short_errors_supported = yes; then
19727 OPENCC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "opencc >= 1.0.0" 2>&1`
19728 else
19729 OPENCC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "opencc >= 1.0.0" 2>&1`
19730 fi
19731 # Put the nasty error message in config.log where it belongs
19732 echo "$OPENCC_PKG_ERRORS" >&5
19733
19734 as_fn_error $? "Package requirements (opencc >= 1.0.0) were not met:
19735
19736 $OPENCC_PKG_ERRORS
19737
19738 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19739 installed software in a non-standard prefix.
19740
19741 Alternatively, you may set the environment variables OPENCC_CFLAGS
19742 and OPENCC_LIBS to avoid the need to call pkg-config.
19743 See the pkg-config man page for more details." "$LINENO" 5
19744 elif test $pkg_failed = untried; then
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19746 printf "%s\n" "no" >&6; }
19747 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19748 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19749 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19750 is in your PATH or set the PKG_CONFIG environment variable to the full
19751 path to pkg-config.
19752
19753 Alternatively, you may set the environment variables OPENCC_CFLAGS
19754 and OPENCC_LIBS to avoid the need to call pkg-config.
19755 See the pkg-config man page for more details.
19756
19757 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19758 See \`config.log' for more details" "$LINENO" 5; }
19759 else
19760 OPENCC_CFLAGS=$pkg_cv_OPENCC_CFLAGS
19761 OPENCC_LIBS=$pkg_cv_OPENCC_LIBS
19762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19763 printf "%s\n" "yes" >&6; }
19764
19765
19766 printf "%s\n" "#define HAVE_OPENCC 1" >>confdefs.h
19767
19768
19769 fi
19770 fi
19771
19772 # define GETTEXT_* variables
19773 GETTEXT_PACKAGE=ibus-libpinyin
19774
19775
19776 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
19777
19778
19779
19780
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
19782 printf %s "checking whether NLS is requested... " >&6; }
19783 # Check whether --enable-nls was given.
19784 if test ${enable_nls+y}
19785 then :
19786 enableval=$enable_nls; USE_NLS=$enableval
19787 else $as_nop
19788 USE_NLS=yes
19789 fi
19790
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19792 printf "%s\n" "$USE_NLS" >&6; }
19793
19794
19795
19796
19797 GETTEXT_MACRO_VERSION=0.19
19798
19799
19800
19801
19802 # Prepare PATH_SEPARATOR.
19803 # The user is always right.
19804 if test "${PATH_SEPARATOR+set}" != set; then
19805 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19806 # contains only /bin. Note that ksh looks also at the FPATH variable,
19807 # so we have to set that as well for the test.
19808 PATH_SEPARATOR=:
19809 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19810 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19811 || PATH_SEPARATOR=';'
19812 }
19813 fi
19814
19815 # Find out how to test for executable files. Don't use a zero-byte file,
19816 # as systems may use methods other than mode bits to determine executability.
19817 cat >conf$$.file <<_ASEOF
19818 #! /bin/sh
19819 exit 0
19820 _ASEOF
19821 chmod +x conf$$.file
19822 if test -x conf$$.file >/dev/null 2>&1; then
19823 ac_executable_p="test -x"
19824 else
19825 ac_executable_p="test -f"
19826 fi
19827 rm -f conf$$.file
19828
19829 # Extract the first word of "msgfmt", so it can be a program name with args.
19830 set dummy msgfmt; ac_word=$2
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19832 printf %s "checking for $ac_word... " >&6; }
19833 if test ${ac_cv_path_MSGFMT+y}
19834 then :
19835 printf %s "(cached) " >&6
19836 else $as_nop
19837 case "$MSGFMT" in
19838 [\\/]* | ?:[\\/]*)
19839 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19840 ;;
19841 *)
19842 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
19843 for ac_dir in $PATH; do
19844 IFS="$ac_save_IFS"
19845 test -z "$ac_dir" && ac_dir=.
19846 for ac_exec_ext in '' $ac_executable_extensions; do
19847 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
19848 echo "$as_me: trying $ac_dir/$ac_word..." >&5
19849 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
19850 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
19851 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
19852 break 2
19853 fi
19854 fi
19855 done
19856 done
19857 IFS="$ac_save_IFS"
19858 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
19859 ;;
19860 esac
19861 fi
19862 MSGFMT="$ac_cv_path_MSGFMT"
19863 if test "$MSGFMT" != ":"; then
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19865 printf "%s\n" "$MSGFMT" >&6; }
19866 else
19867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19868 printf "%s\n" "no" >&6; }
19869 fi
19870
19871 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19872 set dummy gmsgfmt; ac_word=$2
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19874 printf %s "checking for $ac_word... " >&6; }
19875 if test ${ac_cv_path_GMSGFMT+y}
19876 then :
19877 printf %s "(cached) " >&6
19878 else $as_nop
19879 case $GMSGFMT in
19880 [\\/]* | ?:[\\/]*)
19881 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19882 ;;
19883 *)
19884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19885 for as_dir in $PATH
19886 do
19887 IFS=$as_save_IFS
19888 case $as_dir in #(((
19889 '') as_dir=./ ;;
19890 */) ;;
19891 *) as_dir=$as_dir/ ;;
19892 esac
19893 for ac_exec_ext in '' $ac_executable_extensions; do
19894 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19895 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
19896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19897 break 2
19898 fi
19899 done
19900 done
19901 IFS=$as_save_IFS
19902
19903 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19904 ;;
19905 esac
19906 fi
19907 GMSGFMT=$ac_cv_path_GMSGFMT
19908 if test -n "$GMSGFMT"; then
19909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19910 printf "%s\n" "$GMSGFMT" >&6; }
19911 else
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19913 printf "%s\n" "no" >&6; }
19914 fi
19915
19916
19917
19918 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
19919 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
19920 *) MSGFMT_015=$MSGFMT ;;
19921 esac
19922
19923 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
19924 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
19925 *) GMSGFMT_015=$GMSGFMT ;;
19926 esac
19927
19928
19929
19930 # Prepare PATH_SEPARATOR.
19931 # The user is always right.
19932 if test "${PATH_SEPARATOR+set}" != set; then
19933 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19934 # contains only /bin. Note that ksh looks also at the FPATH variable,
19935 # so we have to set that as well for the test.
19936 PATH_SEPARATOR=:
19937 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19938 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19939 || PATH_SEPARATOR=';'
19940 }
19941 fi
19942
19943 # Find out how to test for executable files. Don't use a zero-byte file,
19944 # as systems may use methods other than mode bits to determine executability.
19945 cat >conf$$.file <<_ASEOF
19946 #! /bin/sh
19947 exit 0
19948 _ASEOF
19949 chmod +x conf$$.file
19950 if test -x conf$$.file >/dev/null 2>&1; then
19951 ac_executable_p="test -x"
19952 else
19953 ac_executable_p="test -f"
19954 fi
19955 rm -f conf$$.file
19956
19957 # Extract the first word of "xgettext", so it can be a program name with args.
19958 set dummy xgettext; ac_word=$2
19959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19960 printf %s "checking for $ac_word... " >&6; }
19961 if test ${ac_cv_path_XGETTEXT+y}
19962 then :
19963 printf %s "(cached) " >&6
19964 else $as_nop
19965 case "$XGETTEXT" in
19966 [\\/]* | ?:[\\/]*)
19967 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19968 ;;
19969 *)
19970 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
19971 for ac_dir in $PATH; do
19972 IFS="$ac_save_IFS"
19973 test -z "$ac_dir" && ac_dir=.
19974 for ac_exec_ext in '' $ac_executable_extensions; do
19975 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
19976 echo "$as_me: trying $ac_dir/$ac_word..." >&5
19977 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
19978 (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
19979 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
19980 break 2
19981 fi
19982 fi
19983 done
19984 done
19985 IFS="$ac_save_IFS"
19986 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
19987 ;;
19988 esac
19989 fi
19990 XGETTEXT="$ac_cv_path_XGETTEXT"
19991 if test "$XGETTEXT" != ":"; then
19992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19993 printf "%s\n" "$XGETTEXT" >&6; }
19994 else
19995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19996 printf "%s\n" "no" >&6; }
19997 fi
19998
19999 rm -f messages.po
20000
20001 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
20002 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
20003 *) XGETTEXT_015=$XGETTEXT ;;
20004 esac
20005
20006
20007
20008 # Prepare PATH_SEPARATOR.
20009 # The user is always right.
20010 if test "${PATH_SEPARATOR+set}" != set; then
20011 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20012 # contains only /bin. Note that ksh looks also at the FPATH variable,
20013 # so we have to set that as well for the test.
20014 PATH_SEPARATOR=:
20015 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
20016 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
20017 || PATH_SEPARATOR=';'
20018 }
20019 fi
20020
20021 # Find out how to test for executable files. Don't use a zero-byte file,
20022 # as systems may use methods other than mode bits to determine executability.
20023 cat >conf$$.file <<_ASEOF
20024 #! /bin/sh
20025 exit 0
20026 _ASEOF
20027 chmod +x conf$$.file
20028 if test -x conf$$.file >/dev/null 2>&1; then
20029 ac_executable_p="test -x"
20030 else
20031 ac_executable_p="test -f"
20032 fi
20033 rm -f conf$$.file
20034
20035 # Extract the first word of "msgmerge", so it can be a program name with args.
20036 set dummy msgmerge; ac_word=$2
20037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20038 printf %s "checking for $ac_word... " >&6; }
20039 if test ${ac_cv_path_MSGMERGE+y}
20040 then :
20041 printf %s "(cached) " >&6
20042 else $as_nop
20043 case "$MSGMERGE" in
20044 [\\/]* | ?:[\\/]*)
20045 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
20046 ;;
20047 *)
20048 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20049 for ac_dir in $PATH; do
20050 IFS="$ac_save_IFS"
20051 test -z "$ac_dir" && ac_dir=.
20052 for ac_exec_ext in '' $ac_executable_extensions; do
20053 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20054 echo "$as_me: trying $ac_dir/$ac_word..." >&5
20055 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
20056 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
20057 break 2
20058 fi
20059 fi
20060 done
20061 done
20062 IFS="$ac_save_IFS"
20063 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
20064 ;;
20065 esac
20066 fi
20067 MSGMERGE="$ac_cv_path_MSGMERGE"
20068 if test "$MSGMERGE" != ":"; then
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
20070 printf "%s\n" "$MSGMERGE" >&6; }
20071 else
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20073 printf "%s\n" "no" >&6; }
20074 fi
20075
20076
20077 test -n "$localedir" || localedir='${datadir}/locale'
20078
20079
20080 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
20081
20082
20083 ac_config_commands="$ac_config_commands po-directories"
20084
20085
20086
20087 if test "X$prefix" = "XNONE"; then
20088 acl_final_prefix="$ac_default_prefix"
20089 else
20090 acl_final_prefix="$prefix"
20091 fi
20092 if test "X$exec_prefix" = "XNONE"; then
20093 acl_final_exec_prefix='${prefix}'
20094 else
20095 acl_final_exec_prefix="$exec_prefix"
20096 fi
20097 acl_save_prefix="$prefix"
20098 prefix="$acl_final_prefix"
20099 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
20100 prefix="$acl_save_prefix"
20101
20102
20103
20104 # Check whether --with-gnu-ld was given.
20105 if test ${with_gnu_ld+y}
20106 then :
20107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20108 else $as_nop
20109 with_gnu_ld=no
20110 fi
20111
20112 # Prepare PATH_SEPARATOR.
20113 # The user is always right.
20114 if test "${PATH_SEPARATOR+set}" != set; then
20115 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20116 # contains only /bin. Note that ksh looks also at the FPATH variable,
20117 # so we have to set that as well for the test.
20118 PATH_SEPARATOR=:
20119 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
20120 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
20121 || PATH_SEPARATOR=';'
20122 }
20123 fi
20124
20125 ac_prog=ld
20126 if test "$GCC" = yes; then
20127 # Check if gcc -print-prog-name=ld gives a path.
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20129 printf %s "checking for ld used by $CC... " >&6; }
20130 case $host in
20131 *-*-mingw*)
20132 # gcc leaves a trailing carriage return which upsets mingw
20133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20134 *)
20135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20136 esac
20137 case $ac_prog in
20138 # Accept absolute paths.
20139 [\\/]* | ?:[\\/]*)
20140 re_direlt='/[^/][^/]*/\.\./'
20141 # Canonicalize the pathname of ld
20142 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
20143 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
20144 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
20145 done
20146 test -z "$LD" && LD="$ac_prog"
20147 ;;
20148 "")
20149 # If it fails, then pretend we aren't using GCC.
20150 ac_prog=ld
20151 ;;
20152 *)
20153 # If it is relative, then search for the first ld in PATH.
20154 with_gnu_ld=unknown
20155 ;;
20156 esac
20157 elif test "$with_gnu_ld" = yes; then
20158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20159 printf %s "checking for GNU ld... " >&6; }
20160 else
20161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20162 printf %s "checking for non-GNU ld... " >&6; }
20163 fi
20164 if test ${acl_cv_path_LD+y}
20165 then :
20166 printf %s "(cached) " >&6
20167 else $as_nop
20168 if test -z "$LD"; then
20169 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20170 for ac_dir in $PATH; do
20171 IFS="$acl_save_ifs"
20172 test -z "$ac_dir" && ac_dir=.
20173 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20174 acl_cv_path_LD="$ac_dir/$ac_prog"
20175 # Check to see if the program is GNU ld. I'd rather use --version,
20176 # but apparently some variants of GNU ld only accept -v.
20177 # Break only if it was the GNU/non-GNU ld that we prefer.
20178 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20179 *GNU* | *'with BFD'*)
20180 test "$with_gnu_ld" != no && break
20181 ;;
20182 *)
20183 test "$with_gnu_ld" != yes && break
20184 ;;
20185 esac
20186 fi
20187 done
20188 IFS="$acl_save_ifs"
20189 else
20190 acl_cv_path_LD="$LD" # Let the user override the test with a path.
20191 fi
20192 fi
20193
20194 LD="$acl_cv_path_LD"
20195 if test -n "$LD"; then
20196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20197 printf "%s\n" "$LD" >&6; }
20198 else
20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20200 printf "%s\n" "no" >&6; }
20201 fi
20202 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
20203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20204 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
20205 if test ${acl_cv_prog_gnu_ld+y}
20206 then :
20207 printf %s "(cached) " >&6
20208 else $as_nop
20209 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20210 case `$LD -v 2>&1 </dev/null` in
20211 *GNU* | *'with BFD'*)
20212 acl_cv_prog_gnu_ld=yes
20213 ;;
20214 *)
20215 acl_cv_prog_gnu_ld=no
20216 ;;
20217 esac
20218 fi
20219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20220 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
20221 with_gnu_ld=$acl_cv_prog_gnu_ld
20222
20223
20224
20225
20226
20227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20228 printf %s "checking for shared library run path origin... " >&6; }
20229 if test ${acl_cv_rpath+y}
20230 then :
20231 printf %s "(cached) " >&6
20232 else $as_nop
20233
20234 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
20235 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20236 . ./conftest.sh
20237 rm -f ./conftest.sh
20238 acl_cv_rpath=done
20239
20240 fi
20241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20242 printf "%s\n" "$acl_cv_rpath" >&6; }
20243 wl="$acl_cv_wl"
20244 acl_libext="$acl_cv_libext"
20245 acl_shlibext="$acl_cv_shlibext"
20246 acl_libname_spec="$acl_cv_libname_spec"
20247 acl_library_names_spec="$acl_cv_library_names_spec"
20248 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
20249 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
20250 acl_hardcode_direct="$acl_cv_hardcode_direct"
20251 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
20252 # Check whether --enable-rpath was given.
20253 if test ${enable_rpath+y}
20254 then :
20255 enableval=$enable_rpath; :
20256 else $as_nop
20257 enable_rpath=yes
20258 fi
20259
20260
20261 ac_ext=c
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
20267 printf %s "checking how to run the C preprocessor... " >&6; }
20268 # On Suns, sometimes $CPP names a directory.
20269 if test -n "$CPP" && test -d "$CPP"; then
20270 CPP=
20271 fi
20272 if test -z "$CPP"; then
20273 if test ${ac_cv_prog_CPP+y}
20274 then :
20275 printf %s "(cached) " >&6
20276 else $as_nop
20277 # Double quotes because $CC needs to be expanded
20278 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
20279 do
20280 ac_preproc_ok=false
20281 for ac_c_preproc_warn_flag in '' yes
20282 do
20283 # Use a header file that comes with gcc, so configuring glibc
20284 # with a fresh cross-compiler works.
20285 # On the NeXT, cc -E runs the code through the compiler's parser,
20286 # not just through cpp. "Syntax error" is here to catch this case.
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20289 #include <limits.h>
20290 Syntax error
20291 _ACEOF
20292 if ac_fn_c_try_cpp "$LINENO"
20293 then :
20294
20295 else $as_nop
20296 # Broken: fails on valid input.
20297 continue
20298 fi
20299 rm -f conftest.err conftest.i conftest.$ac_ext
20300
20301 # OK, works on sane cases. Now check whether nonexistent headers
20302 # can be detected and how.
20303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20304 /* end confdefs.h. */
20305 #include <ac_nonexistent.h>
20306 _ACEOF
20307 if ac_fn_c_try_cpp "$LINENO"
20308 then :
20309 # Broken: success on invalid input.
20310 continue
20311 else $as_nop
20312 # Passes both tests.
20313 ac_preproc_ok=:
20314 break
20315 fi
20316 rm -f conftest.err conftest.i conftest.$ac_ext
20317
20318 done
20319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20320 rm -f conftest.i conftest.err conftest.$ac_ext
20321 if $ac_preproc_ok
20322 then :
20323 break
20324 fi
20325
20326 done
20327 ac_cv_prog_CPP=$CPP
20328
20329 fi
20330 CPP=$ac_cv_prog_CPP
20331 else
20332 ac_cv_prog_CPP=$CPP
20333 fi
20334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
20335 printf "%s\n" "$CPP" >&6; }
20336 ac_preproc_ok=false
20337 for ac_c_preproc_warn_flag in '' yes
20338 do
20339 # Use a header file that comes with gcc, so configuring glibc
20340 # with a fresh cross-compiler works.
20341 # On the NeXT, cc -E runs the code through the compiler's parser,
20342 # not just through cpp. "Syntax error" is here to catch this case.
20343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20345 #include <limits.h>
20346 Syntax error
20347 _ACEOF
20348 if ac_fn_c_try_cpp "$LINENO"
20349 then :
20350
20351 else $as_nop
20352 # Broken: fails on valid input.
20353 continue
20354 fi
20355 rm -f conftest.err conftest.i conftest.$ac_ext
20356
20357 # OK, works on sane cases. Now check whether nonexistent headers
20358 # can be detected and how.
20359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <ac_nonexistent.h>
20362 _ACEOF
20363 if ac_fn_c_try_cpp "$LINENO"
20364 then :
20365 # Broken: success on invalid input.
20366 continue
20367 else $as_nop
20368 # Passes both tests.
20369 ac_preproc_ok=:
20370 break
20371 fi
20372 rm -f conftest.err conftest.i conftest.$ac_ext
20373
20374 done
20375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20376 rm -f conftest.i conftest.err conftest.$ac_ext
20377 if $ac_preproc_ok
20378 then :
20379
20380 else $as_nop
20381 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20382 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
20383 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
20384 See \`config.log' for more details" "$LINENO" 5; }
20385 fi
20386
20387 ac_ext=c
20388 ac_cpp='$CPP $CPPFLAGS'
20389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20392
20393
20394
20395
20396 acl_libdirstem=lib
20397 acl_libdirstem2=
20398 case "$host_os" in
20399 solaris*)
20400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20401 printf %s "checking for 64-bit host... " >&6; }
20402 if test ${gl_cv_solaris_64bit+y}
20403 then :
20404 printf %s "(cached) " >&6
20405 else $as_nop
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408
20409 #ifdef _LP64
20410 sixtyfour bits
20411 #endif
20412
20413 _ACEOF
20414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20415 $EGREP "sixtyfour bits" >/dev/null 2>&1
20416 then :
20417 gl_cv_solaris_64bit=yes
20418 else $as_nop
20419 gl_cv_solaris_64bit=no
20420 fi
20421 rm -rf conftest*
20422
20423
20424 fi
20425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20426 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
20427 if test $gl_cv_solaris_64bit = yes; then
20428 acl_libdirstem=lib/64
20429 case "$host_cpu" in
20430 sparc*) acl_libdirstem2=lib/sparcv9 ;;
20431 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
20432 esac
20433 fi
20434 ;;
20435 *)
20436 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20437 if test -n "$searchpath"; then
20438 acl_save_IFS="${IFS= }"; IFS=":"
20439 for searchdir in $searchpath; do
20440 if test -d "$searchdir"; then
20441 case "$searchdir" in
20442 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
20443 */../ | */.. )
20444 # Better ignore directories of this form. They are misleading.
20445 ;;
20446 *) searchdir=`cd "$searchdir" && pwd`
20447 case "$searchdir" in
20448 */lib64 ) acl_libdirstem=lib64 ;;
20449 esac ;;
20450 esac
20451 fi
20452 done
20453 IFS="$acl_save_IFS"
20454 fi
20455 ;;
20456 esac
20457 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470 use_additional=yes
20471
20472 acl_save_prefix="$prefix"
20473 prefix="$acl_final_prefix"
20474 acl_save_exec_prefix="$exec_prefix"
20475 exec_prefix="$acl_final_exec_prefix"
20476
20477 eval additional_includedir=\"$includedir\"
20478 eval additional_libdir=\"$libdir\"
20479
20480 exec_prefix="$acl_save_exec_prefix"
20481 prefix="$acl_save_prefix"
20482
20483
20484 # Check whether --with-libiconv-prefix was given.
20485 if test ${with_libiconv_prefix+y}
20486 then :
20487 withval=$with_libiconv_prefix;
20488 if test "X$withval" = "Xno"; then
20489 use_additional=no
20490 else
20491 if test "X$withval" = "X"; then
20492
20493 acl_save_prefix="$prefix"
20494 prefix="$acl_final_prefix"
20495 acl_save_exec_prefix="$exec_prefix"
20496 exec_prefix="$acl_final_exec_prefix"
20497
20498 eval additional_includedir=\"$includedir\"
20499 eval additional_libdir=\"$libdir\"
20500
20501 exec_prefix="$acl_save_exec_prefix"
20502 prefix="$acl_save_prefix"
20503
20504 else
20505 additional_includedir="$withval/include"
20506 additional_libdir="$withval/$acl_libdirstem"
20507 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20508 && ! test -d "$withval/$acl_libdirstem"; then
20509 additional_libdir="$withval/$acl_libdirstem2"
20510 fi
20511 fi
20512 fi
20513
20514 fi
20515
20516 LIBICONV=
20517 LTLIBICONV=
20518 INCICONV=
20519 LIBICONV_PREFIX=
20520 HAVE_LIBICONV=
20521 rpathdirs=
20522 ltrpathdirs=
20523 names_already_handled=
20524 names_next_round='iconv '
20525 while test -n "$names_next_round"; do
20526 names_this_round="$names_next_round"
20527 names_next_round=
20528 for name in $names_this_round; do
20529 already_handled=
20530 for n in $names_already_handled; do
20531 if test "$n" = "$name"; then
20532 already_handled=yes
20533 break
20534 fi
20535 done
20536 if test -z "$already_handled"; then
20537 names_already_handled="$names_already_handled $name"
20538 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20539 eval value=\"\$HAVE_LIB$uppername\"
20540 if test -n "$value"; then
20541 if test "$value" = yes; then
20542 eval value=\"\$LIB$uppername\"
20543 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
20544 eval value=\"\$LTLIB$uppername\"
20545 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
20546 else
20547 :
20548 fi
20549 else
20550 found_dir=
20551 found_la=
20552 found_so=
20553 found_a=
20554 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
20555 if test -n "$acl_shlibext"; then
20556 shrext=".$acl_shlibext" # typically: shrext=.so
20557 else
20558 shrext=
20559 fi
20560 if test $use_additional = yes; then
20561 dir="$additional_libdir"
20562 if test -n "$acl_shlibext"; then
20563 if test -f "$dir/$libname$shrext"; then
20564 found_dir="$dir"
20565 found_so="$dir/$libname$shrext"
20566 else
20567 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20568 ver=`(cd "$dir" && \
20569 for f in "$libname$shrext".*; do echo "$f"; done \
20570 | sed -e "s,^$libname$shrext\\\\.,," \
20571 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20572 | sed 1q ) 2>/dev/null`
20573 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20574 found_dir="$dir"
20575 found_so="$dir/$libname$shrext.$ver"
20576 fi
20577 else
20578 eval library_names=\"$acl_library_names_spec\"
20579 for f in $library_names; do
20580 if test -f "$dir/$f"; then
20581 found_dir="$dir"
20582 found_so="$dir/$f"
20583 break
20584 fi
20585 done
20586 fi
20587 fi
20588 fi
20589 if test "X$found_dir" = "X"; then
20590 if test -f "$dir/$libname.$acl_libext"; then
20591 found_dir="$dir"
20592 found_a="$dir/$libname.$acl_libext"
20593 fi
20594 fi
20595 if test "X$found_dir" != "X"; then
20596 if test -f "$dir/$libname.la"; then
20597 found_la="$dir/$libname.la"
20598 fi
20599 fi
20600 fi
20601 if test "X$found_dir" = "X"; then
20602 for x in $LDFLAGS $LTLIBICONV; do
20603
20604 acl_save_prefix="$prefix"
20605 prefix="$acl_final_prefix"
20606 acl_save_exec_prefix="$exec_prefix"
20607 exec_prefix="$acl_final_exec_prefix"
20608 eval x=\"$x\"
20609 exec_prefix="$acl_save_exec_prefix"
20610 prefix="$acl_save_prefix"
20611
20612 case "$x" in
20613 -L*)
20614 dir=`echo "X$x" | sed -e 's/^X-L//'`
20615 if test -n "$acl_shlibext"; then
20616 if test -f "$dir/$libname$shrext"; then
20617 found_dir="$dir"
20618 found_so="$dir/$libname$shrext"
20619 else
20620 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20621 ver=`(cd "$dir" && \
20622 for f in "$libname$shrext".*; do echo "$f"; done \
20623 | sed -e "s,^$libname$shrext\\\\.,," \
20624 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20625 | sed 1q ) 2>/dev/null`
20626 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20627 found_dir="$dir"
20628 found_so="$dir/$libname$shrext.$ver"
20629 fi
20630 else
20631 eval library_names=\"$acl_library_names_spec\"
20632 for f in $library_names; do
20633 if test -f "$dir/$f"; then
20634 found_dir="$dir"
20635 found_so="$dir/$f"
20636 break
20637 fi
20638 done
20639 fi
20640 fi
20641 fi
20642 if test "X$found_dir" = "X"; then
20643 if test -f "$dir/$libname.$acl_libext"; then
20644 found_dir="$dir"
20645 found_a="$dir/$libname.$acl_libext"
20646 fi
20647 fi
20648 if test "X$found_dir" != "X"; then
20649 if test -f "$dir/$libname.la"; then
20650 found_la="$dir/$libname.la"
20651 fi
20652 fi
20653 ;;
20654 esac
20655 if test "X$found_dir" != "X"; then
20656 break
20657 fi
20658 done
20659 fi
20660 if test "X$found_dir" != "X"; then
20661 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20662 if test "X$found_so" != "X"; then
20663 if test "$enable_rpath" = no \
20664 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20665 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20666 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20667 else
20668 haveit=
20669 for x in $ltrpathdirs; do
20670 if test "X$x" = "X$found_dir"; then
20671 haveit=yes
20672 break
20673 fi
20674 done
20675 if test -z "$haveit"; then
20676 ltrpathdirs="$ltrpathdirs $found_dir"
20677 fi
20678 if test "$acl_hardcode_direct" = yes; then
20679 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20680 else
20681 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
20682 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20683 haveit=
20684 for x in $rpathdirs; do
20685 if test "X$x" = "X$found_dir"; then
20686 haveit=yes
20687 break
20688 fi
20689 done
20690 if test -z "$haveit"; then
20691 rpathdirs="$rpathdirs $found_dir"
20692 fi
20693 else
20694 haveit=
20695 for x in $LDFLAGS $LIBICONV; do
20696
20697 acl_save_prefix="$prefix"
20698 prefix="$acl_final_prefix"
20699 acl_save_exec_prefix="$exec_prefix"
20700 exec_prefix="$acl_final_exec_prefix"
20701 eval x=\"$x\"
20702 exec_prefix="$acl_save_exec_prefix"
20703 prefix="$acl_save_prefix"
20704
20705 if test "X$x" = "X-L$found_dir"; then
20706 haveit=yes
20707 break
20708 fi
20709 done
20710 if test -z "$haveit"; then
20711 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20712 fi
20713 if test "$acl_hardcode_minus_L" != no; then
20714 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20715 else
20716 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20717 fi
20718 fi
20719 fi
20720 fi
20721 else
20722 if test "X$found_a" != "X"; then
20723 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
20724 else
20725 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20726 fi
20727 fi
20728 additional_includedir=
20729 case "$found_dir" in
20730 */$acl_libdirstem | */$acl_libdirstem/)
20731 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20732 if test "$name" = 'iconv'; then
20733 LIBICONV_PREFIX="$basedir"
20734 fi
20735 additional_includedir="$basedir/include"
20736 ;;
20737 */$acl_libdirstem2 | */$acl_libdirstem2/)
20738 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20739 if test "$name" = 'iconv'; then
20740 LIBICONV_PREFIX="$basedir"
20741 fi
20742 additional_includedir="$basedir/include"
20743 ;;
20744 esac
20745 if test "X$additional_includedir" != "X"; then
20746 if test "X$additional_includedir" != "X/usr/include"; then
20747 haveit=
20748 if test "X$additional_includedir" = "X/usr/local/include"; then
20749 if test -n "$GCC"; then
20750 case $host_os in
20751 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20752 esac
20753 fi
20754 fi
20755 if test -z "$haveit"; then
20756 for x in $CPPFLAGS $INCICONV; do
20757
20758 acl_save_prefix="$prefix"
20759 prefix="$acl_final_prefix"
20760 acl_save_exec_prefix="$exec_prefix"
20761 exec_prefix="$acl_final_exec_prefix"
20762 eval x=\"$x\"
20763 exec_prefix="$acl_save_exec_prefix"
20764 prefix="$acl_save_prefix"
20765
20766 if test "X$x" = "X-I$additional_includedir"; then
20767 haveit=yes
20768 break
20769 fi
20770 done
20771 if test -z "$haveit"; then
20772 if test -d "$additional_includedir"; then
20773 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20774 fi
20775 fi
20776 fi
20777 fi
20778 fi
20779 if test -n "$found_la"; then
20780 save_libdir="$libdir"
20781 case "$found_la" in
20782 */* | *\\*) . "$found_la" ;;
20783 *) . "./$found_la" ;;
20784 esac
20785 libdir="$save_libdir"
20786 for dep in $dependency_libs; do
20787 case "$dep" in
20788 -L*)
20789 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
20790 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20791 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20792 haveit=
20793 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20794 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20795 if test -n "$GCC"; then
20796 case $host_os in
20797 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20798 esac
20799 fi
20800 fi
20801 if test -z "$haveit"; then
20802 haveit=
20803 for x in $LDFLAGS $LIBICONV; do
20804
20805 acl_save_prefix="$prefix"
20806 prefix="$acl_final_prefix"
20807 acl_save_exec_prefix="$exec_prefix"
20808 exec_prefix="$acl_final_exec_prefix"
20809 eval x=\"$x\"
20810 exec_prefix="$acl_save_exec_prefix"
20811 prefix="$acl_save_prefix"
20812
20813 if test "X$x" = "X-L$additional_libdir"; then
20814 haveit=yes
20815 break
20816 fi
20817 done
20818 if test -z "$haveit"; then
20819 if test -d "$additional_libdir"; then
20820 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20821 fi
20822 fi
20823 haveit=
20824 for x in $LDFLAGS $LTLIBICONV; do
20825
20826 acl_save_prefix="$prefix"
20827 prefix="$acl_final_prefix"
20828 acl_save_exec_prefix="$exec_prefix"
20829 exec_prefix="$acl_final_exec_prefix"
20830 eval x=\"$x\"
20831 exec_prefix="$acl_save_exec_prefix"
20832 prefix="$acl_save_prefix"
20833
20834 if test "X$x" = "X-L$additional_libdir"; then
20835 haveit=yes
20836 break
20837 fi
20838 done
20839 if test -z "$haveit"; then
20840 if test -d "$additional_libdir"; then
20841 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20842 fi
20843 fi
20844 fi
20845 fi
20846 ;;
20847 -R*)
20848 dir=`echo "X$dep" | sed -e 's/^X-R//'`
20849 if test "$enable_rpath" != no; then
20850 haveit=
20851 for x in $rpathdirs; do
20852 if test "X$x" = "X$dir"; then
20853 haveit=yes
20854 break
20855 fi
20856 done
20857 if test -z "$haveit"; then
20858 rpathdirs="$rpathdirs $dir"
20859 fi
20860 haveit=
20861 for x in $ltrpathdirs; do
20862 if test "X$x" = "X$dir"; then
20863 haveit=yes
20864 break
20865 fi
20866 done
20867 if test -z "$haveit"; then
20868 ltrpathdirs="$ltrpathdirs $dir"
20869 fi
20870 fi
20871 ;;
20872 -l*)
20873 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20874 ;;
20875 *.la)
20876 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20877 ;;
20878 *)
20879 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
20880 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20881 ;;
20882 esac
20883 done
20884 fi
20885 else
20886 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20887 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20888 fi
20889 fi
20890 fi
20891 done
20892 done
20893 if test "X$rpathdirs" != "X"; then
20894 if test -n "$acl_hardcode_libdir_separator"; then
20895 alldirs=
20896 for found_dir in $rpathdirs; do
20897 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20898 done
20899 acl_save_libdir="$libdir"
20900 libdir="$alldirs"
20901 eval flag=\"$acl_hardcode_libdir_flag_spec\"
20902 libdir="$acl_save_libdir"
20903 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20904 else
20905 for found_dir in $rpathdirs; do
20906 acl_save_libdir="$libdir"
20907 libdir="$found_dir"
20908 eval flag=\"$acl_hardcode_libdir_flag_spec\"
20909 libdir="$acl_save_libdir"
20910 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20911 done
20912 fi
20913 fi
20914 if test "X$ltrpathdirs" != "X"; then
20915 for found_dir in $ltrpathdirs; do
20916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20917 done
20918 fi
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
20951 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
20952 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
20953 then :
20954 printf %s "(cached) " >&6
20955 else $as_nop
20956 gt_save_LIBS="$LIBS"
20957 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20960 #include <CoreFoundation/CFPreferences.h>
20961 int
20962 main (void)
20963 {
20964 CFPreferencesCopyAppValue(NULL, NULL)
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 if ac_fn_c_try_link "$LINENO"
20970 then :
20971 gt_cv_func_CFPreferencesCopyAppValue=yes
20972 else $as_nop
20973 gt_cv_func_CFPreferencesCopyAppValue=no
20974 fi
20975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20976 conftest$ac_exeext conftest.$ac_ext
20977 LIBS="$gt_save_LIBS"
20978 fi
20979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
20980 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
20981 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
20982
20983 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
20984
20985 fi
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
20987 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
20988 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
20989 then :
20990 printf %s "(cached) " >&6
20991 else $as_nop
20992 gt_save_LIBS="$LIBS"
20993 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #include <CoreFoundation/CFLocale.h>
20997 int
20998 main (void)
20999 {
21000 CFLocaleCopyCurrent();
21001 ;
21002 return 0;
21003 }
21004 _ACEOF
21005 if ac_fn_c_try_link "$LINENO"
21006 then :
21007 gt_cv_func_CFLocaleCopyCurrent=yes
21008 else $as_nop
21009 gt_cv_func_CFLocaleCopyCurrent=no
21010 fi
21011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21012 conftest$ac_exeext conftest.$ac_ext
21013 LIBS="$gt_save_LIBS"
21014 fi
21015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
21016 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
21017 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
21018
21019 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
21020
21021 fi
21022 INTL_MACOSX_LIBS=
21023 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
21024 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
21025 fi
21026
21027
21028
21029
21030
21031
21032 LIBINTL=
21033 LTLIBINTL=
21034 POSUB=
21035
21036 case " $gt_needs " in
21037 *" need-formatstring-macros "*) gt_api_version=3 ;;
21038 *" need-ngettext "*) gt_api_version=2 ;;
21039 *) gt_api_version=1 ;;
21040 esac
21041 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
21042 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
21043
21044 if test "$USE_NLS" = "yes"; then
21045 gt_use_preinstalled_gnugettext=no
21046
21047
21048 if test $gt_api_version -ge 3; then
21049 gt_revision_test_code='
21050 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
21051 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
21052 #endif
21053 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
21054 '
21055 else
21056 gt_revision_test_code=
21057 fi
21058 if test $gt_api_version -ge 2; then
21059 gt_expression_test_code=' + * ngettext ("", "", 0)'
21060 else
21061 gt_expression_test_code=
21062 fi
21063
21064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
21065 printf %s "checking for GNU gettext in libc... " >&6; }
21066 if eval test \${$gt_func_gnugettext_libc+y}
21067 then :
21068 printf %s "(cached) " >&6
21069 else $as_nop
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072
21073 #include <libintl.h>
21074 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
21075 extern int _nl_msg_cat_cntr;
21076 extern int *_nl_domain_bindings;
21077 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
21078 #else
21079 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
21080 #endif
21081 $gt_revision_test_code
21082
21083 int
21084 main (void)
21085 {
21086
21087 bindtextdomain ("", "");
21088 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
21089
21090 ;
21091 return 0;
21092 }
21093 _ACEOF
21094 if ac_fn_c_try_link "$LINENO"
21095 then :
21096 eval "$gt_func_gnugettext_libc=yes"
21097 else $as_nop
21098 eval "$gt_func_gnugettext_libc=no"
21099 fi
21100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21101 conftest$ac_exeext conftest.$ac_ext
21102 fi
21103 eval ac_res=\$$gt_func_gnugettext_libc
21104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21105 printf "%s\n" "$ac_res" >&6; }
21106
21107 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
21108
21109
21110
21111
21112
21113 am_save_CPPFLAGS="$CPPFLAGS"
21114
21115 for element in $INCICONV; do
21116 haveit=
21117 for x in $CPPFLAGS; do
21118
21119 acl_save_prefix="$prefix"
21120 prefix="$acl_final_prefix"
21121 acl_save_exec_prefix="$exec_prefix"
21122 exec_prefix="$acl_final_exec_prefix"
21123 eval x=\"$x\"
21124 exec_prefix="$acl_save_exec_prefix"
21125 prefix="$acl_save_prefix"
21126
21127 if test "X$x" = "X$element"; then
21128 haveit=yes
21129 break
21130 fi
21131 done
21132 if test -z "$haveit"; then
21133 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21134 fi
21135 done
21136
21137
21138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21139 printf %s "checking for iconv... " >&6; }
21140 if test ${am_cv_func_iconv+y}
21141 then :
21142 printf %s "(cached) " >&6
21143 else $as_nop
21144
21145 am_cv_func_iconv="no, consider installing GNU libiconv"
21146 am_cv_lib_iconv=no
21147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21148 /* end confdefs.h. */
21149
21150 #include <stdlib.h>
21151 #include <iconv.h>
21152
21153 int
21154 main (void)
21155 {
21156 iconv_t cd = iconv_open("","");
21157 iconv(cd,NULL,NULL,NULL,NULL);
21158 iconv_close(cd);
21159 ;
21160 return 0;
21161 }
21162 _ACEOF
21163 if ac_fn_c_try_link "$LINENO"
21164 then :
21165 am_cv_func_iconv=yes
21166 fi
21167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21168 conftest$ac_exeext conftest.$ac_ext
21169 if test "$am_cv_func_iconv" != yes; then
21170 am_save_LIBS="$LIBS"
21171 LIBS="$LIBS $LIBICONV"
21172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21173 /* end confdefs.h. */
21174
21175 #include <stdlib.h>
21176 #include <iconv.h>
21177
21178 int
21179 main (void)
21180 {
21181 iconv_t cd = iconv_open("","");
21182 iconv(cd,NULL,NULL,NULL,NULL);
21183 iconv_close(cd);
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_c_try_link "$LINENO"
21189 then :
21190 am_cv_lib_iconv=yes
21191 am_cv_func_iconv=yes
21192 fi
21193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21194 conftest$ac_exeext conftest.$ac_ext
21195 LIBS="$am_save_LIBS"
21196 fi
21197
21198 fi
21199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21200 printf "%s\n" "$am_cv_func_iconv" >&6; }
21201 if test "$am_cv_func_iconv" = yes; then
21202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
21203 printf %s "checking for working iconv... " >&6; }
21204 if test ${am_cv_func_iconv_works+y}
21205 then :
21206 printf %s "(cached) " >&6
21207 else $as_nop
21208
21209 am_save_LIBS="$LIBS"
21210 if test $am_cv_lib_iconv = yes; then
21211 LIBS="$LIBS $LIBICONV"
21212 fi
21213 am_cv_func_iconv_works=no
21214 for ac_iconv_const in '' 'const'; do
21215 if test "$cross_compiling" = yes
21216 then :
21217 case "$host_os" in
21218 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
21219 *) am_cv_func_iconv_works="guessing yes" ;;
21220 esac
21221 else $as_nop
21222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21223 /* end confdefs.h. */
21224
21225 #include <iconv.h>
21226 #include <string.h>
21227
21228 #ifndef ICONV_CONST
21229 # define ICONV_CONST $ac_iconv_const
21230 #endif
21231
21232 int
21233 main (void)
21234 {
21235 int result = 0;
21236 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
21237 returns. */
21238 {
21239 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
21240 if (cd_utf8_to_88591 != (iconv_t)(-1))
21241 {
21242 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
21243 char buf[10];
21244 ICONV_CONST char *inptr = input;
21245 size_t inbytesleft = strlen (input);
21246 char *outptr = buf;
21247 size_t outbytesleft = sizeof (buf);
21248 size_t res = iconv (cd_utf8_to_88591,
21249 &inptr, &inbytesleft,
21250 &outptr, &outbytesleft);
21251 if (res == 0)
21252 result |= 1;
21253 iconv_close (cd_utf8_to_88591);
21254 }
21255 }
21256 /* Test against Solaris 10 bug: Failures are not distinguishable from
21257 successful returns. */
21258 {
21259 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
21260 if (cd_ascii_to_88591 != (iconv_t)(-1))
21261 {
21262 static ICONV_CONST char input[] = "\263";
21263 char buf[10];
21264 ICONV_CONST char *inptr = input;
21265 size_t inbytesleft = strlen (input);
21266 char *outptr = buf;
21267 size_t outbytesleft = sizeof (buf);
21268 size_t res = iconv (cd_ascii_to_88591,
21269 &inptr, &inbytesleft,
21270 &outptr, &outbytesleft);
21271 if (res == 0)
21272 result |= 2;
21273 iconv_close (cd_ascii_to_88591);
21274 }
21275 }
21276 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
21277 {
21278 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
21279 if (cd_88591_to_utf8 != (iconv_t)(-1))
21280 {
21281 static ICONV_CONST char input[] = "\304";
21282 static char buf[2] = { (char)0xDE, (char)0xAD };
21283 ICONV_CONST char *inptr = input;
21284 size_t inbytesleft = 1;
21285 char *outptr = buf;
21286 size_t outbytesleft = 1;
21287 size_t res = iconv (cd_88591_to_utf8,
21288 &inptr, &inbytesleft,
21289 &outptr, &outbytesleft);
21290 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
21291 result |= 4;
21292 iconv_close (cd_88591_to_utf8);
21293 }
21294 }
21295 #if 0 /* This bug could be worked around by the caller. */
21296 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
21297 {
21298 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
21299 if (cd_88591_to_utf8 != (iconv_t)(-1))
21300 {
21301 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
21302 char buf[50];
21303 ICONV_CONST char *inptr = input;
21304 size_t inbytesleft = strlen (input);
21305 char *outptr = buf;
21306 size_t outbytesleft = sizeof (buf);
21307 size_t res = iconv (cd_88591_to_utf8,
21308 &inptr, &inbytesleft,
21309 &outptr, &outbytesleft);
21310 if ((int)res > 0)
21311 result |= 8;
21312 iconv_close (cd_88591_to_utf8);
21313 }
21314 }
21315 #endif
21316 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
21317 provided. */
21318 if (/* Try standardized names. */
21319 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
21320 /* Try IRIX, OSF/1 names. */
21321 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
21322 /* Try AIX names. */
21323 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
21324 /* Try HP-UX names. */
21325 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
21326 result |= 16;
21327 return result;
21328
21329 ;
21330 return 0;
21331 }
21332 _ACEOF
21333 if ac_fn_c_try_run "$LINENO"
21334 then :
21335 am_cv_func_iconv_works=yes
21336 fi
21337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21338 conftest.$ac_objext conftest.beam conftest.$ac_ext
21339 fi
21340
21341 test "$am_cv_func_iconv_works" = no || break
21342 done
21343 LIBS="$am_save_LIBS"
21344
21345 fi
21346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
21347 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
21348 case "$am_cv_func_iconv_works" in
21349 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
21350 *) am_func_iconv=yes ;;
21351 esac
21352 else
21353 am_func_iconv=no am_cv_lib_iconv=no
21354 fi
21355 if test "$am_func_iconv" = yes; then
21356
21357 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
21358
21359 fi
21360 if test "$am_cv_lib_iconv" = yes; then
21361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21362 printf %s "checking how to link with libiconv... " >&6; }
21363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21364 printf "%s\n" "$LIBICONV" >&6; }
21365 else
21366 CPPFLAGS="$am_save_CPPFLAGS"
21367 LIBICONV=
21368 LTLIBICONV=
21369 fi
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381 use_additional=yes
21382
21383 acl_save_prefix="$prefix"
21384 prefix="$acl_final_prefix"
21385 acl_save_exec_prefix="$exec_prefix"
21386 exec_prefix="$acl_final_exec_prefix"
21387
21388 eval additional_includedir=\"$includedir\"
21389 eval additional_libdir=\"$libdir\"
21390
21391 exec_prefix="$acl_save_exec_prefix"
21392 prefix="$acl_save_prefix"
21393
21394
21395 # Check whether --with-libintl-prefix was given.
21396 if test ${with_libintl_prefix+y}
21397 then :
21398 withval=$with_libintl_prefix;
21399 if test "X$withval" = "Xno"; then
21400 use_additional=no
21401 else
21402 if test "X$withval" = "X"; then
21403
21404 acl_save_prefix="$prefix"
21405 prefix="$acl_final_prefix"
21406 acl_save_exec_prefix="$exec_prefix"
21407 exec_prefix="$acl_final_exec_prefix"
21408
21409 eval additional_includedir=\"$includedir\"
21410 eval additional_libdir=\"$libdir\"
21411
21412 exec_prefix="$acl_save_exec_prefix"
21413 prefix="$acl_save_prefix"
21414
21415 else
21416 additional_includedir="$withval/include"
21417 additional_libdir="$withval/$acl_libdirstem"
21418 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21419 && ! test -d "$withval/$acl_libdirstem"; then
21420 additional_libdir="$withval/$acl_libdirstem2"
21421 fi
21422 fi
21423 fi
21424
21425 fi
21426
21427 LIBINTL=
21428 LTLIBINTL=
21429 INCINTL=
21430 LIBINTL_PREFIX=
21431 HAVE_LIBINTL=
21432 rpathdirs=
21433 ltrpathdirs=
21434 names_already_handled=
21435 names_next_round='intl '
21436 while test -n "$names_next_round"; do
21437 names_this_round="$names_next_round"
21438 names_next_round=
21439 for name in $names_this_round; do
21440 already_handled=
21441 for n in $names_already_handled; do
21442 if test "$n" = "$name"; then
21443 already_handled=yes
21444 break
21445 fi
21446 done
21447 if test -z "$already_handled"; then
21448 names_already_handled="$names_already_handled $name"
21449 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21450 eval value=\"\$HAVE_LIB$uppername\"
21451 if test -n "$value"; then
21452 if test "$value" = yes; then
21453 eval value=\"\$LIB$uppername\"
21454 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
21455 eval value=\"\$LTLIB$uppername\"
21456 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
21457 else
21458 :
21459 fi
21460 else
21461 found_dir=
21462 found_la=
21463 found_so=
21464 found_a=
21465 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
21466 if test -n "$acl_shlibext"; then
21467 shrext=".$acl_shlibext" # typically: shrext=.so
21468 else
21469 shrext=
21470 fi
21471 if test $use_additional = yes; then
21472 dir="$additional_libdir"
21473 if test -n "$acl_shlibext"; then
21474 if test -f "$dir/$libname$shrext"; then
21475 found_dir="$dir"
21476 found_so="$dir/$libname$shrext"
21477 else
21478 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21479 ver=`(cd "$dir" && \
21480 for f in "$libname$shrext".*; do echo "$f"; done \
21481 | sed -e "s,^$libname$shrext\\\\.,," \
21482 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21483 | sed 1q ) 2>/dev/null`
21484 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21485 found_dir="$dir"
21486 found_so="$dir/$libname$shrext.$ver"
21487 fi
21488 else
21489 eval library_names=\"$acl_library_names_spec\"
21490 for f in $library_names; do
21491 if test -f "$dir/$f"; then
21492 found_dir="$dir"
21493 found_so="$dir/$f"
21494 break
21495 fi
21496 done
21497 fi
21498 fi
21499 fi
21500 if test "X$found_dir" = "X"; then
21501 if test -f "$dir/$libname.$acl_libext"; then
21502 found_dir="$dir"
21503 found_a="$dir/$libname.$acl_libext"
21504 fi
21505 fi
21506 if test "X$found_dir" != "X"; then
21507 if test -f "$dir/$libname.la"; then
21508 found_la="$dir/$libname.la"
21509 fi
21510 fi
21511 fi
21512 if test "X$found_dir" = "X"; then
21513 for x in $LDFLAGS $LTLIBINTL; do
21514
21515 acl_save_prefix="$prefix"
21516 prefix="$acl_final_prefix"
21517 acl_save_exec_prefix="$exec_prefix"
21518 exec_prefix="$acl_final_exec_prefix"
21519 eval x=\"$x\"
21520 exec_prefix="$acl_save_exec_prefix"
21521 prefix="$acl_save_prefix"
21522
21523 case "$x" in
21524 -L*)
21525 dir=`echo "X$x" | sed -e 's/^X-L//'`
21526 if test -n "$acl_shlibext"; then
21527 if test -f "$dir/$libname$shrext"; then
21528 found_dir="$dir"
21529 found_so="$dir/$libname$shrext"
21530 else
21531 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21532 ver=`(cd "$dir" && \
21533 for f in "$libname$shrext".*; do echo "$f"; done \
21534 | sed -e "s,^$libname$shrext\\\\.,," \
21535 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21536 | sed 1q ) 2>/dev/null`
21537 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21538 found_dir="$dir"
21539 found_so="$dir/$libname$shrext.$ver"
21540 fi
21541 else
21542 eval library_names=\"$acl_library_names_spec\"
21543 for f in $library_names; do
21544 if test -f "$dir/$f"; then
21545 found_dir="$dir"
21546 found_so="$dir/$f"
21547 break
21548 fi
21549 done
21550 fi
21551 fi
21552 fi
21553 if test "X$found_dir" = "X"; then
21554 if test -f "$dir/$libname.$acl_libext"; then
21555 found_dir="$dir"
21556 found_a="$dir/$libname.$acl_libext"
21557 fi
21558 fi
21559 if test "X$found_dir" != "X"; then
21560 if test -f "$dir/$libname.la"; then
21561 found_la="$dir/$libname.la"
21562 fi
21563 fi
21564 ;;
21565 esac
21566 if test "X$found_dir" != "X"; then
21567 break
21568 fi
21569 done
21570 fi
21571 if test "X$found_dir" != "X"; then
21572 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
21573 if test "X$found_so" != "X"; then
21574 if test "$enable_rpath" = no \
21575 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21576 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21577 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
21578 else
21579 haveit=
21580 for x in $ltrpathdirs; do
21581 if test "X$x" = "X$found_dir"; then
21582 haveit=yes
21583 break
21584 fi
21585 done
21586 if test -z "$haveit"; then
21587 ltrpathdirs="$ltrpathdirs $found_dir"
21588 fi
21589 if test "$acl_hardcode_direct" = yes; then
21590 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
21591 else
21592 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
21593 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
21594 haveit=
21595 for x in $rpathdirs; do
21596 if test "X$x" = "X$found_dir"; then
21597 haveit=yes
21598 break
21599 fi
21600 done
21601 if test -z "$haveit"; then
21602 rpathdirs="$rpathdirs $found_dir"
21603 fi
21604 else
21605 haveit=
21606 for x in $LDFLAGS $LIBINTL; do
21607
21608 acl_save_prefix="$prefix"
21609 prefix="$acl_final_prefix"
21610 acl_save_exec_prefix="$exec_prefix"
21611 exec_prefix="$acl_final_exec_prefix"
21612 eval x=\"$x\"
21613 exec_prefix="$acl_save_exec_prefix"
21614 prefix="$acl_save_prefix"
21615
21616 if test "X$x" = "X-L$found_dir"; then
21617 haveit=yes
21618 break
21619 fi
21620 done
21621 if test -z "$haveit"; then
21622 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
21623 fi
21624 if test "$acl_hardcode_minus_L" != no; then
21625 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
21626 else
21627 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
21628 fi
21629 fi
21630 fi
21631 fi
21632 else
21633 if test "X$found_a" != "X"; then
21634 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
21635 else
21636 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
21637 fi
21638 fi
21639 additional_includedir=
21640 case "$found_dir" in
21641 */$acl_libdirstem | */$acl_libdirstem/)
21642 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21643 if test "$name" = 'intl'; then
21644 LIBINTL_PREFIX="$basedir"
21645 fi
21646 additional_includedir="$basedir/include"
21647 ;;
21648 */$acl_libdirstem2 | */$acl_libdirstem2/)
21649 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21650 if test "$name" = 'intl'; then
21651 LIBINTL_PREFIX="$basedir"
21652 fi
21653 additional_includedir="$basedir/include"
21654 ;;
21655 esac
21656 if test "X$additional_includedir" != "X"; then
21657 if test "X$additional_includedir" != "X/usr/include"; then
21658 haveit=
21659 if test "X$additional_includedir" = "X/usr/local/include"; then
21660 if test -n "$GCC"; then
21661 case $host_os in
21662 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
21663 esac
21664 fi
21665 fi
21666 if test -z "$haveit"; then
21667 for x in $CPPFLAGS $INCINTL; do
21668
21669 acl_save_prefix="$prefix"
21670 prefix="$acl_final_prefix"
21671 acl_save_exec_prefix="$exec_prefix"
21672 exec_prefix="$acl_final_exec_prefix"
21673 eval x=\"$x\"
21674 exec_prefix="$acl_save_exec_prefix"
21675 prefix="$acl_save_prefix"
21676
21677 if test "X$x" = "X-I$additional_includedir"; then
21678 haveit=yes
21679 break
21680 fi
21681 done
21682 if test -z "$haveit"; then
21683 if test -d "$additional_includedir"; then
21684 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
21685 fi
21686 fi
21687 fi
21688 fi
21689 fi
21690 if test -n "$found_la"; then
21691 save_libdir="$libdir"
21692 case "$found_la" in
21693 */* | *\\*) . "$found_la" ;;
21694 *) . "./$found_la" ;;
21695 esac
21696 libdir="$save_libdir"
21697 for dep in $dependency_libs; do
21698 case "$dep" in
21699 -L*)
21700 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
21701 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21702 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21703 haveit=
21704 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21705 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21706 if test -n "$GCC"; then
21707 case $host_os in
21708 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
21709 esac
21710 fi
21711 fi
21712 if test -z "$haveit"; then
21713 haveit=
21714 for x in $LDFLAGS $LIBINTL; do
21715
21716 acl_save_prefix="$prefix"
21717 prefix="$acl_final_prefix"
21718 acl_save_exec_prefix="$exec_prefix"
21719 exec_prefix="$acl_final_exec_prefix"
21720 eval x=\"$x\"
21721 exec_prefix="$acl_save_exec_prefix"
21722 prefix="$acl_save_prefix"
21723
21724 if test "X$x" = "X-L$additional_libdir"; then
21725 haveit=yes
21726 break
21727 fi
21728 done
21729 if test -z "$haveit"; then
21730 if test -d "$additional_libdir"; then
21731 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
21732 fi
21733 fi
21734 haveit=
21735 for x in $LDFLAGS $LTLIBINTL; do
21736
21737 acl_save_prefix="$prefix"
21738 prefix="$acl_final_prefix"
21739 acl_save_exec_prefix="$exec_prefix"
21740 exec_prefix="$acl_final_exec_prefix"
21741 eval x=\"$x\"
21742 exec_prefix="$acl_save_exec_prefix"
21743 prefix="$acl_save_prefix"
21744
21745 if test "X$x" = "X-L$additional_libdir"; then
21746 haveit=yes
21747 break
21748 fi
21749 done
21750 if test -z "$haveit"; then
21751 if test -d "$additional_libdir"; then
21752 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
21753 fi
21754 fi
21755 fi
21756 fi
21757 ;;
21758 -R*)
21759 dir=`echo "X$dep" | sed -e 's/^X-R//'`
21760 if test "$enable_rpath" != no; then
21761 haveit=
21762 for x in $rpathdirs; do
21763 if test "X$x" = "X$dir"; then
21764 haveit=yes
21765 break
21766 fi
21767 done
21768 if test -z "$haveit"; then
21769 rpathdirs="$rpathdirs $dir"
21770 fi
21771 haveit=
21772 for x in $ltrpathdirs; do
21773 if test "X$x" = "X$dir"; then
21774 haveit=yes
21775 break
21776 fi
21777 done
21778 if test -z "$haveit"; then
21779 ltrpathdirs="$ltrpathdirs $dir"
21780 fi
21781 fi
21782 ;;
21783 -l*)
21784 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21785 ;;
21786 *.la)
21787 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21788 ;;
21789 *)
21790 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
21791 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
21792 ;;
21793 esac
21794 done
21795 fi
21796 else
21797 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
21798 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
21799 fi
21800 fi
21801 fi
21802 done
21803 done
21804 if test "X$rpathdirs" != "X"; then
21805 if test -n "$acl_hardcode_libdir_separator"; then
21806 alldirs=
21807 for found_dir in $rpathdirs; do
21808 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21809 done
21810 acl_save_libdir="$libdir"
21811 libdir="$alldirs"
21812 eval flag=\"$acl_hardcode_libdir_flag_spec\"
21813 libdir="$acl_save_libdir"
21814 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
21815 else
21816 for found_dir in $rpathdirs; do
21817 acl_save_libdir="$libdir"
21818 libdir="$found_dir"
21819 eval flag=\"$acl_hardcode_libdir_flag_spec\"
21820 libdir="$acl_save_libdir"
21821 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
21822 done
21823 fi
21824 fi
21825 if test "X$ltrpathdirs" != "X"; then
21826 for found_dir in $ltrpathdirs; do
21827 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
21828 done
21829 fi
21830
21831
21832
21833
21834
21835
21836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
21837 printf %s "checking for GNU gettext in libintl... " >&6; }
21838 if eval test \${$gt_func_gnugettext_libintl+y}
21839 then :
21840 printf %s "(cached) " >&6
21841 else $as_nop
21842 gt_save_CPPFLAGS="$CPPFLAGS"
21843 CPPFLAGS="$CPPFLAGS $INCINTL"
21844 gt_save_LIBS="$LIBS"
21845 LIBS="$LIBS $LIBINTL"
21846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21847 /* end confdefs.h. */
21848
21849 #include <libintl.h>
21850 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
21851 extern int _nl_msg_cat_cntr;
21852 extern
21853 #ifdef __cplusplus
21854 "C"
21855 #endif
21856 const char *_nl_expand_alias (const char *);
21857 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
21858 #else
21859 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
21860 #endif
21861 $gt_revision_test_code
21862
21863 int
21864 main (void)
21865 {
21866
21867 bindtextdomain ("", "");
21868 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 if ac_fn_c_try_link "$LINENO"
21875 then :
21876 eval "$gt_func_gnugettext_libintl=yes"
21877 else $as_nop
21878 eval "$gt_func_gnugettext_libintl=no"
21879 fi
21880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21881 conftest$ac_exeext conftest.$ac_ext
21882 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
21883 LIBS="$LIBS $LIBICONV"
21884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21885 /* end confdefs.h. */
21886
21887 #include <libintl.h>
21888 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
21889 extern int _nl_msg_cat_cntr;
21890 extern
21891 #ifdef __cplusplus
21892 "C"
21893 #endif
21894 const char *_nl_expand_alias (const char *);
21895 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
21896 #else
21897 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
21898 #endif
21899 $gt_revision_test_code
21900
21901 int
21902 main (void)
21903 {
21904
21905 bindtextdomain ("", "");
21906 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 if ac_fn_c_try_link "$LINENO"
21913 then :
21914 LIBINTL="$LIBINTL $LIBICONV"
21915 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
21916 eval "$gt_func_gnugettext_libintl=yes"
21917
21918 fi
21919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21920 conftest$ac_exeext conftest.$ac_ext
21921 fi
21922 CPPFLAGS="$gt_save_CPPFLAGS"
21923 LIBS="$gt_save_LIBS"
21924 fi
21925 eval ac_res=\$$gt_func_gnugettext_libintl
21926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21927 printf "%s\n" "$ac_res" >&6; }
21928 fi
21929
21930 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
21931 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
21932 && test "$PACKAGE" != gettext-runtime \
21933 && test "$PACKAGE" != gettext-tools; }; then
21934 gt_use_preinstalled_gnugettext=yes
21935 else
21936 LIBINTL=
21937 LTLIBINTL=
21938 INCINTL=
21939 fi
21940
21941
21942
21943 if test -n "$INTL_MACOSX_LIBS"; then
21944 if test "$gt_use_preinstalled_gnugettext" = "yes" \
21945 || test "$nls_cv_use_gnu_gettext" = "yes"; then
21946 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
21947 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
21948 fi
21949 fi
21950
21951 if test "$gt_use_preinstalled_gnugettext" = "yes" \
21952 || test "$nls_cv_use_gnu_gettext" = "yes"; then
21953
21954 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
21955
21956 else
21957 USE_NLS=no
21958 fi
21959 fi
21960
21961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
21962 printf %s "checking whether to use NLS... " >&6; }
21963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
21964 printf "%s\n" "$USE_NLS" >&6; }
21965 if test "$USE_NLS" = "yes"; then
21966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
21967 printf %s "checking where the gettext function comes from... " >&6; }
21968 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
21969 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
21970 gt_source="external libintl"
21971 else
21972 gt_source="libc"
21973 fi
21974 else
21975 gt_source="included intl directory"
21976 fi
21977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
21978 printf "%s\n" "$gt_source" >&6; }
21979 fi
21980
21981 if test "$USE_NLS" = "yes"; then
21982
21983 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
21984 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
21985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
21986 printf %s "checking how to link with libintl... " >&6; }
21987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
21988 printf "%s\n" "$LIBINTL" >&6; }
21989
21990 for element in $INCINTL; do
21991 haveit=
21992 for x in $CPPFLAGS; do
21993
21994 acl_save_prefix="$prefix"
21995 prefix="$acl_final_prefix"
21996 acl_save_exec_prefix="$exec_prefix"
21997 exec_prefix="$acl_final_exec_prefix"
21998 eval x=\"$x\"
21999 exec_prefix="$acl_save_exec_prefix"
22000 prefix="$acl_save_prefix"
22001
22002 if test "X$x" = "X$element"; then
22003 haveit=yes
22004 break
22005 fi
22006 done
22007 if test -z "$haveit"; then
22008 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
22009 fi
22010 done
22011
22012 fi
22013
22014
22015 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
22016
22017
22018 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
22019
22020 fi
22021
22022 POSUB=po
22023 fi
22024
22025
22026
22027 INTLLIBS="$LIBINTL"
22028
22029
22030
22031
22032
22033
22034
22035 # Checks for GSettings.
22036
22037 pkg_failed=no
22038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GIO2" >&5
22039 printf %s "checking for GIO2... " >&6; }
22040
22041 if test -n "$GIO2_CFLAGS"; then
22042 pkg_cv_GIO2_CFLAGS="$GIO2_CFLAGS"
22043 elif test -n "$PKG_CONFIG"; then
22044 if test -n "$PKG_CONFIG" && \
22045 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.0\""; } >&5
22046 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.0") 2>&5
22047 ac_status=$?
22048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22049 test $ac_status = 0; }; then
22050 pkg_cv_GIO2_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26.0" 2>/dev/null`
22051 test "x$?" != "x0" && pkg_failed=yes
22052 else
22053 pkg_failed=yes
22054 fi
22055 else
22056 pkg_failed=untried
22057 fi
22058 if test -n "$GIO2_LIBS"; then
22059 pkg_cv_GIO2_LIBS="$GIO2_LIBS"
22060 elif test -n "$PKG_CONFIG"; then
22061 if test -n "$PKG_CONFIG" && \
22062 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26.0\""; } >&5
22063 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26.0") 2>&5
22064 ac_status=$?
22065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22066 test $ac_status = 0; }; then
22067 pkg_cv_GIO2_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26.0" 2>/dev/null`
22068 test "x$?" != "x0" && pkg_failed=yes
22069 else
22070 pkg_failed=yes
22071 fi
22072 else
22073 pkg_failed=untried
22074 fi
22075
22076
22077
22078 if test $pkg_failed = yes; then
22079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22080 printf "%s\n" "no" >&6; }
22081
22082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22083 _pkg_short_errors_supported=yes
22084 else
22085 _pkg_short_errors_supported=no
22086 fi
22087 if test $_pkg_short_errors_supported = yes; then
22088 GIO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26.0" 2>&1`
22089 else
22090 GIO2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26.0" 2>&1`
22091 fi
22092 # Put the nasty error message in config.log where it belongs
22093 echo "$GIO2_PKG_ERRORS" >&5
22094
22095 as_fn_error $? "Package requirements (gio-2.0 >= 2.26.0) were not met:
22096
22097 $GIO2_PKG_ERRORS
22098
22099 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22100 installed software in a non-standard prefix.
22101
22102 Alternatively, you may set the environment variables GIO2_CFLAGS
22103 and GIO2_LIBS to avoid the need to call pkg-config.
22104 See the pkg-config man page for more details." "$LINENO" 5
22105 elif test $pkg_failed = untried; then
22106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22107 printf "%s\n" "no" >&6; }
22108 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22110 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22111 is in your PATH or set the PKG_CONFIG environment variable to the full
22112 path to pkg-config.
22113
22114 Alternatively, you may set the environment variables GIO2_CFLAGS
22115 and GIO2_LIBS to avoid the need to call pkg-config.
22116 See the pkg-config man page for more details.
22117
22118 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22119 See \`config.log' for more details" "$LINENO" 5; }
22120 else
22121 GIO2_CFLAGS=$pkg_cv_GIO2_CFLAGS
22122 GIO2_LIBS=$pkg_cv_GIO2_LIBS
22123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22124 printf "%s\n" "yes" >&6; }
22125
22126 fi
22127
22128
22129
22130
22131
22132 # Check whether --enable-schemas-compile was given.
22133 if test ${enable_schemas_compile+y}
22134 then :
22135 enableval=$enable_schemas_compile; case ${enableval} in
22136 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
22137 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
22138 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
22139 esac
22140 fi
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22151 if test -n "$ac_tool_prefix"; then
22152 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22153 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22155 printf %s "checking for $ac_word... " >&6; }
22156 if test ${ac_cv_path_PKG_CONFIG+y}
22157 then :
22158 printf %s "(cached) " >&6
22159 else $as_nop
22160 case $PKG_CONFIG in
22161 [\\/]* | ?:[\\/]*)
22162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22163 ;;
22164 *)
22165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22166 for as_dir in $PATH
22167 do
22168 IFS=$as_save_IFS
22169 case $as_dir in #(((
22170 '') as_dir=./ ;;
22171 */) ;;
22172 *) as_dir=$as_dir/ ;;
22173 esac
22174 for ac_exec_ext in '' $ac_executable_extensions; do
22175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22176 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22178 break 2
22179 fi
22180 done
22181 done
22182 IFS=$as_save_IFS
22183
22184 ;;
22185 esac
22186 fi
22187 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22188 if test -n "$PKG_CONFIG"; then
22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22190 printf "%s\n" "$PKG_CONFIG" >&6; }
22191 else
22192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22193 printf "%s\n" "no" >&6; }
22194 fi
22195
22196
22197 fi
22198 if test -z "$ac_cv_path_PKG_CONFIG"; then
22199 ac_pt_PKG_CONFIG=$PKG_CONFIG
22200 # Extract the first word of "pkg-config", so it can be a program name with args.
22201 set dummy pkg-config; ac_word=$2
22202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22203 printf %s "checking for $ac_word... " >&6; }
22204 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
22205 then :
22206 printf %s "(cached) " >&6
22207 else $as_nop
22208 case $ac_pt_PKG_CONFIG in
22209 [\\/]* | ?:[\\/]*)
22210 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22211 ;;
22212 *)
22213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22214 for as_dir in $PATH
22215 do
22216 IFS=$as_save_IFS
22217 case $as_dir in #(((
22218 '') as_dir=./ ;;
22219 */) ;;
22220 *) as_dir=$as_dir/ ;;
22221 esac
22222 for ac_exec_ext in '' $ac_executable_extensions; do
22223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22224 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
22225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22226 break 2
22227 fi
22228 done
22229 done
22230 IFS=$as_save_IFS
22231
22232 ;;
22233 esac
22234 fi
22235 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22236 if test -n "$ac_pt_PKG_CONFIG"; then
22237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22238 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
22239 else
22240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22241 printf "%s\n" "no" >&6; }
22242 fi
22243
22244 if test "x$ac_pt_PKG_CONFIG" = x; then
22245 PKG_CONFIG=""
22246 else
22247 case $cross_compiling:$ac_tool_warned in
22248 yes:)
22249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22250 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22251 ac_tool_warned=yes ;;
22252 esac
22253 PKG_CONFIG=$ac_pt_PKG_CONFIG
22254 fi
22255 else
22256 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22257 fi
22258
22259 fi
22260 if test -n "$PKG_CONFIG"; then
22261 _pkg_min_version=0.16
22262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22263 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22264 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22266 printf "%s\n" "yes" >&6; }
22267 else
22268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22269 printf "%s\n" "no" >&6; }
22270 PKG_CONFIG=""
22271 fi
22272 fi
22273 gsettingsschemadir=${datadir}/glib-2.0/schemas
22274
22275 if test x$cross_compiling != xyes
22276 then :
22277
22278 if test -n "$GLIB_COMPILE_SCHEMAS"; then
22279 pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
22280 elif test -n "$PKG_CONFIG"; then
22281 if test -n "$PKG_CONFIG" && \
22282 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
22283 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
22284 ac_status=$?
22285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22286 test $ac_status = 0; }; then
22287 pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
22288 test "x$?" != "x0" && pkg_failed=yes
22289 else
22290 pkg_failed=yes
22291 fi
22292 else
22293 pkg_failed=untried
22294 fi
22295 GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
22296
22297 if test "x$GLIB_COMPILE_SCHEMAS" = x""
22298 then :
22299
22300 fi
22301 else $as_nop
22302 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
22303 set dummy glib-compile-schemas; ac_word=$2
22304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22305 printf %s "checking for $ac_word... " >&6; }
22306 if test ${ac_cv_path_GLIB_COMPILE_SCHEMAS+y}
22307 then :
22308 printf %s "(cached) " >&6
22309 else $as_nop
22310 case $GLIB_COMPILE_SCHEMAS in
22311 [\\/]* | ?:[\\/]*)
22312 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
22313 ;;
22314 *)
22315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22316 for as_dir in $PATH
22317 do
22318 IFS=$as_save_IFS
22319 case $as_dir in #(((
22320 '') as_dir=./ ;;
22321 */) ;;
22322 *) as_dir=$as_dir/ ;;
22323 esac
22324 for ac_exec_ext in '' $ac_executable_extensions; do
22325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22326 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir$ac_word$ac_exec_ext"
22327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22328 break 2
22329 fi
22330 done
22331 done
22332 IFS=$as_save_IFS
22333
22334 ;;
22335 esac
22336 fi
22337 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
22338 if test -n "$GLIB_COMPILE_SCHEMAS"; then
22339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
22340 printf "%s\n" "$GLIB_COMPILE_SCHEMAS" >&6; }
22341 else
22342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22343 printf "%s\n" "no" >&6; }
22344 fi
22345
22346
22347 fi
22348
22349 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
22350 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
22351 else
22352 :
22353 fi
22354
22355 GSETTINGS_RULES='
22356 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
22357
22358 mostlyclean-am: clean-gsettings-schemas
22359
22360 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
22361
22362 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
22363 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
22364
22365 all-am: $(gsettings_SCHEMAS:.xml=.valid)
22366 uninstall-am: uninstall-gsettings-schemas
22367 install-data-am: install-gsettings-schemas
22368
22369 .SECONDARY: $(gsettings_SCHEMAS)
22370
22371 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
22372 @$(NORMAL_INSTALL)
22373 if test -n "$^"; then \
22374 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
22375 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
22376 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
22377 fi
22378
22379 uninstall-gsettings-schemas:
22380 @$(NORMAL_UNINSTALL)
22381 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
22382 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
22383 test -n "$$files" || exit 0; \
22384 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
22385 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
22386 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
22387
22388 clean-gsettings-schemas:
22389 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
22390
22391 ifdef gsettings_ENUM_NAMESPACE
22392 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
22393 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
22394 endif
22395 '
22396
22397
22398
22399
22400
22401
22402
22403 # --disable-lua-extension
22404 # Check whether --enable-lua-extension was given.
22405 if test ${enable_lua_extension+y}
22406 then :
22407 enableval=$enable_lua_extension; enable_lua_extension=$enableval
22408 else $as_nop
22409 enable_lua_extension=yes
22410
22411 fi
22412
22413
22414 # check lua
22415
22416 pkg_failed=no
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
22418 printf %s "checking for LUA... " >&6; }
22419
22420 if test -n "$LUA_CFLAGS"; then
22421 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
22422 elif test -n "$PKG_CONFIG"; then
22423 if test -n "$PKG_CONFIG" && \
22424 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
22425 lua >= 5.1
22426 \""; } >&5
22427 ($PKG_CONFIG --exists --print-errors "
22428 lua >= 5.1
22429 ") 2>&5
22430 ac_status=$?
22431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22432 test $ac_status = 0; }; then
22433 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "
22434 lua >= 5.1
22435 " 2>/dev/null`
22436 test "x$?" != "x0" && pkg_failed=yes
22437 else
22438 pkg_failed=yes
22439 fi
22440 else
22441 pkg_failed=untried
22442 fi
22443 if test -n "$LUA_LIBS"; then
22444 pkg_cv_LUA_LIBS="$LUA_LIBS"
22445 elif test -n "$PKG_CONFIG"; then
22446 if test -n "$PKG_CONFIG" && \
22447 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
22448 lua >= 5.1
22449 \""; } >&5
22450 ($PKG_CONFIG --exists --print-errors "
22451 lua >= 5.1
22452 ") 2>&5
22453 ac_status=$?
22454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22455 test $ac_status = 0; }; then
22456 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "
22457 lua >= 5.1
22458 " 2>/dev/null`
22459 test "x$?" != "x0" && pkg_failed=yes
22460 else
22461 pkg_failed=yes
22462 fi
22463 else
22464 pkg_failed=untried
22465 fi
22466
22467
22468
22469 if test $pkg_failed = yes; then
22470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22471 printf "%s\n" "no" >&6; }
22472
22473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22474 _pkg_short_errors_supported=yes
22475 else
22476 _pkg_short_errors_supported=no
22477 fi
22478 if test $_pkg_short_errors_supported = yes; then
22479 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
22480 lua >= 5.1
22481 " 2>&1`
22482 else
22483 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
22484 lua >= 5.1
22485 " 2>&1`
22486 fi
22487 # Put the nasty error message in config.log where it belongs
22488 echo "$LUA_PKG_ERRORS" >&5
22489
22490 has_lua_extension=no
22491
22492 elif test $pkg_failed = untried; then
22493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22494 printf "%s\n" "no" >&6; }
22495 has_lua_extension=no
22496
22497 else
22498 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
22499 LUA_LIBS=$pkg_cv_LUA_LIBS
22500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22501 printf "%s\n" "yes" >&6; }
22502
22503 fi
22504
22505 if test x"$has_lua_extension" = x"no";
22506 then
22507
22508 pkg_failed=no
22509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
22510 printf %s "checking for LUA... " >&6; }
22511
22512 if test -n "$LUA_CFLAGS"; then
22513 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
22514 elif test -n "$PKG_CONFIG"; then
22515 if test -n "$PKG_CONFIG" && \
22516 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
22517 lua5.1
22518 \""; } >&5
22519 ($PKG_CONFIG --exists --print-errors "
22520 lua5.1
22521 ") 2>&5
22522 ac_status=$?
22523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22524 test $ac_status = 0; }; then
22525 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "
22526 lua5.1
22527 " 2>/dev/null`
22528 test "x$?" != "x0" && pkg_failed=yes
22529 else
22530 pkg_failed=yes
22531 fi
22532 else
22533 pkg_failed=untried
22534 fi
22535 if test -n "$LUA_LIBS"; then
22536 pkg_cv_LUA_LIBS="$LUA_LIBS"
22537 elif test -n "$PKG_CONFIG"; then
22538 if test -n "$PKG_CONFIG" && \
22539 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
22540 lua5.1
22541 \""; } >&5
22542 ($PKG_CONFIG --exists --print-errors "
22543 lua5.1
22544 ") 2>&5
22545 ac_status=$?
22546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22547 test $ac_status = 0; }; then
22548 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "
22549 lua5.1
22550 " 2>/dev/null`
22551 test "x$?" != "x0" && pkg_failed=yes
22552 else
22553 pkg_failed=yes
22554 fi
22555 else
22556 pkg_failed=untried
22557 fi
22558
22559
22560
22561 if test $pkg_failed = yes; then
22562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22563 printf "%s\n" "no" >&6; }
22564
22565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22566 _pkg_short_errors_supported=yes
22567 else
22568 _pkg_short_errors_supported=no
22569 fi
22570 if test $_pkg_short_errors_supported = yes; then
22571 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
22572 lua5.1
22573 " 2>&1`
22574 else
22575 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
22576 lua5.1
22577 " 2>&1`
22578 fi
22579 # Put the nasty error message in config.log where it belongs
22580 echo "$LUA_PKG_ERRORS" >&5
22581
22582 enable_lua_extension=no
22583
22584 elif test $pkg_failed = untried; then
22585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22586 printf "%s\n" "no" >&6; }
22587 enable_lua_extension=no
22588
22589 else
22590 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
22591 LUA_LIBS=$pkg_cv_LUA_LIBS
22592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22593 printf "%s\n" "yes" >&6; }
22594
22595 fi;
22596 fi
22597
22598 if test x"$enable_lua_extension" = x"yes"; then
22599 IBUS_BUILD_LUA_EXTENSION_TRUE=
22600 IBUS_BUILD_LUA_EXTENSION_FALSE='#'
22601 else
22602 IBUS_BUILD_LUA_EXTENSION_TRUE='#'
22603 IBUS_BUILD_LUA_EXTENSION_FALSE=
22604 fi
22605
22606
22607 # --enable-cloud-input-mode
22608 CLOUD_INPUT_MODE="False"
22609 # Check whether --enable-cloud-input-mode was given.
22610 if test ${enable_cloud_input_mode+y}
22611 then :
22612 enableval=$enable_cloud_input_mode; enable_cloud_input_mode=$enableval
22613 else $as_nop
22614 enable_cloud_input_mode=no
22615
22616 fi
22617
22618 if test x"$enable_cloud_input_mode" = x"yes"; then
22619 # check soup
22620
22621 pkg_failed=no
22622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
22623 printf %s "checking for LIBSOUP... " >&6; }
22624
22625 if test -n "$LIBSOUP_CFLAGS"; then
22626 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
22627 elif test -n "$PKG_CONFIG"; then
22628 if test -n "$PKG_CONFIG" && \
22629 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
22630 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
22631 ac_status=$?
22632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22633 test $ac_status = 0; }; then
22634 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
22635 test "x$?" != "x0" && pkg_failed=yes
22636 else
22637 pkg_failed=yes
22638 fi
22639 else
22640 pkg_failed=untried
22641 fi
22642 if test -n "$LIBSOUP_LIBS"; then
22643 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
22644 elif test -n "$PKG_CONFIG"; then
22645 if test -n "$PKG_CONFIG" && \
22646 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
22647 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
22648 ac_status=$?
22649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22650 test $ac_status = 0; }; then
22651 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
22652 test "x$?" != "x0" && pkg_failed=yes
22653 else
22654 pkg_failed=yes
22655 fi
22656 else
22657 pkg_failed=untried
22658 fi
22659
22660
22661
22662 if test $pkg_failed = yes; then
22663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22664 printf "%s\n" "no" >&6; }
22665
22666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22667 _pkg_short_errors_supported=yes
22668 else
22669 _pkg_short_errors_supported=no
22670 fi
22671 if test $_pkg_short_errors_supported = yes; then
22672 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.26" 2>&1`
22673 else
22674 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.26" 2>&1`
22675 fi
22676 # Put the nasty error message in config.log where it belongs
22677 echo "$LIBSOUP_PKG_ERRORS" >&5
22678
22679 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.26) were not met:
22680
22681 $LIBSOUP_PKG_ERRORS
22682
22683 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22684 installed software in a non-standard prefix.
22685
22686 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
22687 and LIBSOUP_LIBS to avoid the need to call pkg-config.
22688 See the pkg-config man page for more details." "$LINENO" 5
22689 elif test $pkg_failed = untried; then
22690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22691 printf "%s\n" "no" >&6; }
22692 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22693 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22694 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22695 is in your PATH or set the PKG_CONFIG environment variable to the full
22696 path to pkg-config.
22697
22698 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
22699 and LIBSOUP_LIBS to avoid the need to call pkg-config.
22700 See the pkg-config man page for more details.
22701
22702 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22703 See \`config.log' for more details" "$LINENO" 5; }
22704 else
22705 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
22706 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
22707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22708 printf "%s\n" "yes" >&6; }
22709
22710 fi
22711
22712
22713
22714 # check json-glib
22715
22716 pkg_failed=no
22717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JSONGLIB" >&5
22718 printf %s "checking for JSONGLIB... " >&6; }
22719
22720 if test -n "$JSONGLIB_CFLAGS"; then
22721 pkg_cv_JSONGLIB_CFLAGS="$JSONGLIB_CFLAGS"
22722 elif test -n "$PKG_CONFIG"; then
22723 if test -n "$PKG_CONFIG" && \
22724 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= 1.0\""; } >&5
22725 ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= 1.0") 2>&5
22726 ac_status=$?
22727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22728 test $ac_status = 0; }; then
22729 pkg_cv_JSONGLIB_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0 >= 1.0" 2>/dev/null`
22730 test "x$?" != "x0" && pkg_failed=yes
22731 else
22732 pkg_failed=yes
22733 fi
22734 else
22735 pkg_failed=untried
22736 fi
22737 if test -n "$JSONGLIB_LIBS"; then
22738 pkg_cv_JSONGLIB_LIBS="$JSONGLIB_LIBS"
22739 elif test -n "$PKG_CONFIG"; then
22740 if test -n "$PKG_CONFIG" && \
22741 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= 1.0\""; } >&5
22742 ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= 1.0") 2>&5
22743 ac_status=$?
22744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22745 test $ac_status = 0; }; then
22746 pkg_cv_JSONGLIB_LIBS=`$PKG_CONFIG --libs "json-glib-1.0 >= 1.0" 2>/dev/null`
22747 test "x$?" != "x0" && pkg_failed=yes
22748 else
22749 pkg_failed=yes
22750 fi
22751 else
22752 pkg_failed=untried
22753 fi
22754
22755
22756
22757 if test $pkg_failed = yes; then
22758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22759 printf "%s\n" "no" >&6; }
22760
22761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22762 _pkg_short_errors_supported=yes
22763 else
22764 _pkg_short_errors_supported=no
22765 fi
22766 if test $_pkg_short_errors_supported = yes; then
22767 JSONGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-glib-1.0 >= 1.0" 2>&1`
22768 else
22769 JSONGLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-glib-1.0 >= 1.0" 2>&1`
22770 fi
22771 # Put the nasty error message in config.log where it belongs
22772 echo "$JSONGLIB_PKG_ERRORS" >&5
22773
22774 as_fn_error $? "Package requirements (json-glib-1.0 >= 1.0) were not met:
22775
22776 $JSONGLIB_PKG_ERRORS
22777
22778 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22779 installed software in a non-standard prefix.
22780
22781 Alternatively, you may set the environment variables JSONGLIB_CFLAGS
22782 and JSONGLIB_LIBS to avoid the need to call pkg-config.
22783 See the pkg-config man page for more details." "$LINENO" 5
22784 elif test $pkg_failed = untried; then
22785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22786 printf "%s\n" "no" >&6; }
22787 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22788 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22789 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22790 is in your PATH or set the PKG_CONFIG environment variable to the full
22791 path to pkg-config.
22792
22793 Alternatively, you may set the environment variables JSONGLIB_CFLAGS
22794 and JSONGLIB_LIBS to avoid the need to call pkg-config.
22795 See the pkg-config man page for more details.
22796
22797 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22798 See \`config.log' for more details" "$LINENO" 5; }
22799 else
22800 JSONGLIB_CFLAGS=$pkg_cv_JSONGLIB_CFLAGS
22801 JSONGLIB_LIBS=$pkg_cv_JSONGLIB_LIBS
22802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22803 printf "%s\n" "yes" >&6; }
22804
22805 fi
22806
22807
22808
22809 CLOUD_INPUT_MODE="True"
22810 fi
22811 if test x"$enable_cloud_input_mode" = x"yes"; then
22812 ENABLE_CLOUD_INPUT_MODE_TRUE=
22813 ENABLE_CLOUD_INPUT_MODE_FALSE='#'
22814 else
22815 ENABLE_CLOUD_INPUT_MODE_TRUE='#'
22816 ENABLE_CLOUD_INPUT_MODE_FALSE=
22817 fi
22818
22819
22820
22821 # --disable-english-input-mode
22822 # Check whether --enable-english-input-mode was given.
22823 if test ${enable_english_input_mode+y}
22824 then :
22825 enableval=$enable_english_input_mode; enable_english_input_mode=$enableval
22826 else $as_nop
22827 enable_english_input_mode=yes
22828
22829 fi
22830
22831
22832 if test x"$enable_english_input_mode" = x"yes"; then
22833 IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE=
22834 IBUS_BUILD_ENGLISH_INPUT_MODE_FALSE='#'
22835 else
22836 IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE='#'
22837 IBUS_BUILD_ENGLISH_INPUT_MODE_FALSE=
22838 fi
22839
22840
22841 # --disable-table-input-mode
22842 # Check whether --enable-table-input-mode was given.
22843 if test ${enable_table_input_mode+y}
22844 then :
22845 enableval=$enable_table_input_mode; enable_table_input_mode=$enableval
22846 else $as_nop
22847 enable_table_input_mode=yes
22848
22849 fi
22850
22851
22852 if test x"$enable_table_input_mode" = x"yes"; then
22853 IBUS_BUILD_TABLE_INPUT_MODE_TRUE=
22854 IBUS_BUILD_TABLE_INPUT_MODE_FALSE='#'
22855 else
22856 IBUS_BUILD_TABLE_INPUT_MODE_TRUE='#'
22857 IBUS_BUILD_TABLE_INPUT_MODE_FALSE=
22858 fi
22859
22860
22861 # OUTPUT files
22862 ac_config_files="$ac_config_files po/Makefile.in Makefile ibus-libpinyin.spec lua/Makefile scripts/Makefile src/Makefile src/libpinyin.xml.in setup/Makefile setup/ibus-setup-libpinyin setup/config.py data/Makefile data/icons/Makefile m4/Makefile"
22863
22864
22865 cat >confcache <<\_ACEOF
22866 # This file is a shell script that caches the results of configure
22867 # tests run on this system so they can be shared between configure
22868 # scripts and configure runs, see configure's option --config-cache.
22869 # It is not useful on other systems. If it contains results you don't
22870 # want to keep, you may remove or edit it.
22871 #
22872 # config.status only pays attention to the cache file if you give it
22873 # the --recheck option to rerun configure.
22874 #
22875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22877 # following values.
22878
22879 _ACEOF
22880
22881 # The following way of writing the cache mishandles newlines in values,
22882 # but we know of no workaround that is simple, portable, and efficient.
22883 # So, we kill variables containing newlines.
22884 # Ultrix sh set writes to stderr and can't be redirected directly,
22885 # and sets the high bit in the cache file unless we assign to the vars.
22886 (
22887 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22888 eval ac_val=\$$ac_var
22889 case $ac_val in #(
22890 *${as_nl}*)
22891 case $ac_var in #(
22892 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22893 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22894 esac
22895 case $ac_var in #(
22896 _ | IFS | as_nl) ;; #(
22897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22898 *) { eval $ac_var=; unset $ac_var;} ;;
22899 esac ;;
22900 esac
22901 done
22902
22903 (set) 2>&1 |
22904 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22905 *${as_nl}ac_space=\ *)
22906 # `set' does not quote correctly, so add quotes: double-quote
22907 # substitution turns \\\\ into \\, and sed turns \\ into \.
22908 sed -n \
22909 "s/'/'\\\\''/g;
22910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22911 ;; #(
22912 *)
22913 # `set' quotes correctly as required by POSIX, so do not add quotes.
22914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22915 ;;
22916 esac |
22917 sort
22918 ) |
22919 sed '
22920 /^ac_cv_env_/b end
22921 t clear
22922 :clear
22923 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22924 t end
22925 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22926 :end' >>confcache
22927 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22928 if test -w "$cache_file"; then
22929 if test "x$cache_file" != "x/dev/null"; then
22930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22931 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22932 if test ! -f "$cache_file" || test -h "$cache_file"; then
22933 cat confcache >"$cache_file"
22934 else
22935 case $cache_file in #(
22936 */* | ?:*)
22937 mv -f confcache "$cache_file"$$ &&
22938 mv -f "$cache_file"$$ "$cache_file" ;; #(
22939 *)
22940 mv -f confcache "$cache_file" ;;
22941 esac
22942 fi
22943 fi
22944 else
22945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22946 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22947 fi
22948 fi
22949 rm -f confcache
22950
22951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22952 # Let make expand exec_prefix.
22953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22954
22955 DEFS=-DHAVE_CONFIG_H
22956
22957 ac_libobjs=
22958 ac_ltlibobjs=
22959 U=
22960 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22961 # 1. Remove the extension, and $U if already installed.
22962 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22963 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22965 # will be set to the directory where LIBOBJS objects are built.
22966 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22967 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22968 done
22969 LIBOBJS=$ac_libobjs
22970
22971 LTLIBOBJS=$ac_ltlibobjs
22972
22973
22974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22975 printf %s "checking that generated files are newer than configure... " >&6; }
22976 if test -n "$am_sleep_pid"; then
22977 # Hide warnings about reused PIDs.
22978 wait $am_sleep_pid 2>/dev/null
22979 fi
22980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
22981 printf "%s\n" "done" >&6; }
22982 if test -n "$EXEEXT"; then
22983 am__EXEEXT_TRUE=
22984 am__EXEEXT_FALSE='#'
22985 else
22986 am__EXEEXT_TRUE='#'
22987 am__EXEEXT_FALSE=
22988 fi
22989
22990 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22991 as_fn_error $? "conditional \"AMDEP\" was never defined.
22992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22993 fi
22994 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22995 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22997 fi
22998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22999 printf %s "checking that generated files are newer than configure... " >&6; }
23000 if test -n "$am_sleep_pid"; then
23001 # Hide warnings about reused PIDs.
23002 wait $am_sleep_pid 2>/dev/null
23003 fi
23004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
23005 printf "%s\n" "done" >&6; }
23006 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23007 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
23008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23009 fi
23010 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23011 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23013 fi
23014 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23015 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
23016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23017 fi
23018 if test -z "${HAVE_BOOST_TRUE}" && test -z "${HAVE_BOOST_FALSE}"; then
23019 as_fn_error $? "conditional \"HAVE_BOOST\" was never defined.
23020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23021 fi
23022 if test -z "${IBUS_BUILD_LUA_EXTENSION_TRUE}" && test -z "${IBUS_BUILD_LUA_EXTENSION_FALSE}"; then
23023 as_fn_error $? "conditional \"IBUS_BUILD_LUA_EXTENSION\" was never defined.
23024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23025 fi
23026 if test -z "${ENABLE_CLOUD_INPUT_MODE_TRUE}" && test -z "${ENABLE_CLOUD_INPUT_MODE_FALSE}"; then
23027 as_fn_error $? "conditional \"ENABLE_CLOUD_INPUT_MODE\" was never defined.
23028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23029 fi
23030 if test -z "${IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE}" && test -z "${IBUS_BUILD_ENGLISH_INPUT_MODE_FALSE}"; then
23031 as_fn_error $? "conditional \"IBUS_BUILD_ENGLISH_INPUT_MODE\" was never defined.
23032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23033 fi
23034 if test -z "${IBUS_BUILD_TABLE_INPUT_MODE_TRUE}" && test -z "${IBUS_BUILD_TABLE_INPUT_MODE_FALSE}"; then
23035 as_fn_error $? "conditional \"IBUS_BUILD_TABLE_INPUT_MODE\" was never defined.
23036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23037 fi
23038
23039 : "${CONFIG_STATUS=./config.status}"
23040 ac_write_fail=0
23041 ac_clean_files_save=$ac_clean_files
23042 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23044 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23045 as_write_fail=0
23046 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23047 #! $SHELL
23048 # Generated by $as_me.
23049 # Run this file to recreate the current configuration.
23050 # Compiler output produced by configure, useful for debugging
23051 # configure, is in config.log if it exists.
23052
23053 debug=false
23054 ac_cs_recheck=false
23055 ac_cs_silent=false
23056
23057 SHELL=\${CONFIG_SHELL-$SHELL}
23058 export SHELL
23059 _ASEOF
23060 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23061 ## -------------------- ##
23062 ## M4sh Initialization. ##
23063 ## -------------------- ##
23064
23065 # Be more Bourne compatible
23066 DUALCASE=1; export DUALCASE # for MKS sh
23067 as_nop=:
23068 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23069 then :
23070 emulate sh
23071 NULLCMD=:
23072 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23073 # is contrary to our usage. Disable this feature.
23074 alias -g '${1+"$@"}'='"$@"'
23075 setopt NO_GLOB_SUBST
23076 else $as_nop
23077 case `(set -o) 2>/dev/null` in #(
23078 *posix*) :
23079 set -o posix ;; #(
23080 *) :
23081 ;;
23082 esac
23083 fi
23084
23085
23086
23087 # Reset variables that may have inherited troublesome values from
23088 # the environment.
23089
23090 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23091 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23092 # side effect of setting IFS to empty, thus disabling word splitting.)
23093 # Quoting is to prevent editors from complaining about space-tab.
23094 as_nl='
23095 '
23096 export as_nl
23097 IFS=" "" $as_nl"
23098
23099 PS1='$ '
23100 PS2='> '
23101 PS4='+ '
23102
23103 # Ensure predictable behavior from utilities with locale-dependent output.
23104 LC_ALL=C
23105 export LC_ALL
23106 LANGUAGE=C
23107 export LANGUAGE
23108
23109 # We cannot yet rely on "unset" to work, but we need these variables
23110 # to be unset--not just set to an empty or harmless value--now, to
23111 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23112 # also avoids known problems related to "unset" and subshell syntax
23113 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23114 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23115 do eval test \${$as_var+y} \
23116 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23117 done
23118
23119 # Ensure that fds 0, 1, and 2 are open.
23120 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23121 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23122 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23123
23124 # The user is always right.
23125 if ${PATH_SEPARATOR+false} :; then
23126 PATH_SEPARATOR=:
23127 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23128 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23129 PATH_SEPARATOR=';'
23130 }
23131 fi
23132
23133
23134 # Find who we are. Look in the path if we contain no directory separator.
23135 as_myself=
23136 case $0 in #((
23137 *[\\/]* ) as_myself=$0 ;;
23138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23139 for as_dir in $PATH
23140 do
23141 IFS=$as_save_IFS
23142 case $as_dir in #(((
23143 '') as_dir=./ ;;
23144 */) ;;
23145 *) as_dir=$as_dir/ ;;
23146 esac
23147 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23148 done
23149 IFS=$as_save_IFS
23150
23151 ;;
23152 esac
23153 # We did not find ourselves, most probably we were run as `sh COMMAND'
23154 # in which case we are not to be found in the path.
23155 if test "x$as_myself" = x; then
23156 as_myself=$0
23157 fi
23158 if test ! -f "$as_myself"; then
23159 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23160 exit 1
23161 fi
23162
23163
23164
23165 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23166 # ----------------------------------------
23167 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23168 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23169 # script with STATUS, using 1 if that was 0.
23170 as_fn_error ()
23171 {
23172 as_status=$1; test $as_status -eq 0 && as_status=1
23173 if test "$4"; then
23174 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23176 fi
23177 printf "%s\n" "$as_me: error: $2" >&2
23178 as_fn_exit $as_status
23179 } # as_fn_error
23180
23181
23182
23183 # as_fn_set_status STATUS
23184 # -----------------------
23185 # Set $? to STATUS, without forking.
23186 as_fn_set_status ()
23187 {
23188 return $1
23189 } # as_fn_set_status
23190
23191 # as_fn_exit STATUS
23192 # -----------------
23193 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23194 as_fn_exit ()
23195 {
23196 set +e
23197 as_fn_set_status $1
23198 exit $1
23199 } # as_fn_exit
23200
23201 # as_fn_unset VAR
23202 # ---------------
23203 # Portably unset VAR.
23204 as_fn_unset ()
23205 {
23206 { eval $1=; unset $1;}
23207 }
23208 as_unset=as_fn_unset
23209
23210 # as_fn_append VAR VALUE
23211 # ----------------------
23212 # Append the text in VALUE to the end of the definition contained in VAR. Take
23213 # advantage of any shell optimizations that allow amortized linear growth over
23214 # repeated appends, instead of the typical quadratic growth present in naive
23215 # implementations.
23216 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23217 then :
23218 eval 'as_fn_append ()
23219 {
23220 eval $1+=\$2
23221 }'
23222 else $as_nop
23223 as_fn_append ()
23224 {
23225 eval $1=\$$1\$2
23226 }
23227 fi # as_fn_append
23228
23229 # as_fn_arith ARG...
23230 # ------------------
23231 # Perform arithmetic evaluation on the ARGs, and store the result in the
23232 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23233 # must be portable across $(()) and expr.
23234 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23235 then :
23236 eval 'as_fn_arith ()
23237 {
23238 as_val=$(( $* ))
23239 }'
23240 else $as_nop
23241 as_fn_arith ()
23242 {
23243 as_val=`expr "$@" || test $? -eq 1`
23244 }
23245 fi # as_fn_arith
23246
23247
23248 if expr a : '\(a\)' >/dev/null 2>&1 &&
23249 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23250 as_expr=expr
23251 else
23252 as_expr=false
23253 fi
23254
23255 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23256 as_basename=basename
23257 else
23258 as_basename=false
23259 fi
23260
23261 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23262 as_dirname=dirname
23263 else
23264 as_dirname=false
23265 fi
23266
23267 as_me=`$as_basename -- "$0" ||
23268 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23269 X"$0" : 'X\(//\)$' \| \
23270 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23271 printf "%s\n" X/"$0" |
23272 sed '/^.*\/\([^/][^/]*\)\/*$/{
23273 s//\1/
23274 q
23275 }
23276 /^X\/\(\/\/\)$/{
23277 s//\1/
23278 q
23279 }
23280 /^X\/\(\/\).*/{
23281 s//\1/
23282 q
23283 }
23284 s/.*/./; q'`
23285
23286 # Avoid depending upon Character Ranges.
23287 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23288 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23289 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23290 as_cr_digits='0123456789'
23291 as_cr_alnum=$as_cr_Letters$as_cr_digits
23292
23293
23294 # Determine whether it's possible to make 'echo' print without a newline.
23295 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23296 # for compatibility with existing Makefiles.
23297 ECHO_C= ECHO_N= ECHO_T=
23298 case `echo -n x` in #(((((
23299 -n*)
23300 case `echo 'xy\c'` in
23301 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23302 xy) ECHO_C='\c';;
23303 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23304 ECHO_T=' ';;
23305 esac;;
23306 *)
23307 ECHO_N='-n';;
23308 esac
23309
23310 # For backward compatibility with old third-party macros, we provide
23311 # the shell variables $as_echo and $as_echo_n. New code should use
23312 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23313 as_echo='printf %s\n'
23314 as_echo_n='printf %s'
23315
23316 rm -f conf$$ conf$$.exe conf$$.file
23317 if test -d conf$$.dir; then
23318 rm -f conf$$.dir/conf$$.file
23319 else
23320 rm -f conf$$.dir
23321 mkdir conf$$.dir 2>/dev/null
23322 fi
23323 if (echo >conf$$.file) 2>/dev/null; then
23324 if ln -s conf$$.file conf$$ 2>/dev/null; then
23325 as_ln_s='ln -s'
23326 # ... but there are two gotchas:
23327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23329 # In both cases, we have to default to `cp -pR'.
23330 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23331 as_ln_s='cp -pR'
23332 elif ln conf$$.file conf$$ 2>/dev/null; then
23333 as_ln_s=ln
23334 else
23335 as_ln_s='cp -pR'
23336 fi
23337 else
23338 as_ln_s='cp -pR'
23339 fi
23340 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23341 rmdir conf$$.dir 2>/dev/null
23342
23343
23344 # as_fn_mkdir_p
23345 # -------------
23346 # Create "$as_dir" as a directory, including parents if necessary.
23347 as_fn_mkdir_p ()
23348 {
23349
23350 case $as_dir in #(
23351 -*) as_dir=./$as_dir;;
23352 esac
23353 test -d "$as_dir" || eval $as_mkdir_p || {
23354 as_dirs=
23355 while :; do
23356 case $as_dir in #(
23357 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23358 *) as_qdir=$as_dir;;
23359 esac
23360 as_dirs="'$as_qdir' $as_dirs"
23361 as_dir=`$as_dirname -- "$as_dir" ||
23362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23363 X"$as_dir" : 'X\(//\)[^/]' \| \
23364 X"$as_dir" : 'X\(//\)$' \| \
23365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23366 printf "%s\n" X"$as_dir" |
23367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23368 s//\1/
23369 q
23370 }
23371 /^X\(\/\/\)[^/].*/{
23372 s//\1/
23373 q
23374 }
23375 /^X\(\/\/\)$/{
23376 s//\1/
23377 q
23378 }
23379 /^X\(\/\).*/{
23380 s//\1/
23381 q
23382 }
23383 s/.*/./; q'`
23384 test -d "$as_dir" && break
23385 done
23386 test -z "$as_dirs" || eval "mkdir $as_dirs"
23387 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23388
23389
23390 } # as_fn_mkdir_p
23391 if mkdir -p . 2>/dev/null; then
23392 as_mkdir_p='mkdir -p "$as_dir"'
23393 else
23394 test -d ./-p && rmdir ./-p
23395 as_mkdir_p=false
23396 fi
23397
23398
23399 # as_fn_executable_p FILE
23400 # -----------------------
23401 # Test if FILE is an executable regular file.
23402 as_fn_executable_p ()
23403 {
23404 test -f "$1" && test -x "$1"
23405 } # as_fn_executable_p
23406 as_test_x='test -x'
23407 as_executable_p=as_fn_executable_p
23408
23409 # Sed expression to map a string onto a valid CPP name.
23410 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23411
23412 # Sed expression to map a string onto a valid variable name.
23413 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23414
23415
23416 exec 6>&1
23417 ## ----------------------------------- ##
23418 ## Main body of $CONFIG_STATUS script. ##
23419 ## ----------------------------------- ##
23420 _ASEOF
23421 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23422
23423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23424 # Save the log message, to keep $0 and so on meaningful, and to
23425 # report actual input values of CONFIG_FILES etc. instead of their
23426 # values after options handling.
23427 ac_log="
23428 This file was extended by ibus-libpinyin $as_me 1.14.91, which was
23429 generated by GNU Autoconf 2.71. Invocation command line was
23430
23431 CONFIG_FILES = $CONFIG_FILES
23432 CONFIG_HEADERS = $CONFIG_HEADERS
23433 CONFIG_LINKS = $CONFIG_LINKS
23434 CONFIG_COMMANDS = $CONFIG_COMMANDS
23435 $ $0 $@
23436
23437 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23438 "
23439
23440 _ACEOF
23441
23442 case $ac_config_files in *"
23443 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23444 esac
23445
23446 case $ac_config_headers in *"
23447 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23448 esac
23449
23450
23451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23452 # Files that config.status was made for.
23453 config_files="$ac_config_files"
23454 config_headers="$ac_config_headers"
23455 config_commands="$ac_config_commands"
23456
23457 _ACEOF
23458
23459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23460 ac_cs_usage="\
23461 \`$as_me' instantiates files and other configuration actions
23462 from templates according to the current configuration. Unless the files
23463 and actions are specified as TAGs, all are instantiated by default.
23464
23465 Usage: $0 [OPTION]... [TAG]...
23466
23467 -h, --help print this help, then exit
23468 -V, --version print version number and configuration settings, then exit
23469 --config print configuration, then exit
23470 -q, --quiet, --silent
23471 do not print progress messages
23472 -d, --debug don't remove temporary files
23473 --recheck update $as_me by reconfiguring in the same conditions
23474 --file=FILE[:TEMPLATE]
23475 instantiate the configuration file FILE
23476 --header=FILE[:TEMPLATE]
23477 instantiate the configuration header FILE
23478
23479 Configuration files:
23480 $config_files
23481
23482 Configuration headers:
23483 $config_headers
23484
23485 Configuration commands:
23486 $config_commands
23487
23488 Report bugs to <https://github.com/libpinyin/ibus-libpinyin/issues/new>."
23489
23490 _ACEOF
23491 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23492 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23494 ac_cs_config='$ac_cs_config_escaped'
23495 ac_cs_version="\\
23496 ibus-libpinyin config.status 1.14.91
23497 configured by $0, generated by GNU Autoconf 2.71,
23498 with options \\"\$ac_cs_config\\"
23499
23500 Copyright (C) 2021 Free Software Foundation, Inc.
23501 This config.status script is free software; the Free Software Foundation
23502 gives unlimited permission to copy, distribute and modify it."
23503
23504 ac_pwd='$ac_pwd'
23505 srcdir='$srcdir'
23506 INSTALL='$INSTALL'
23507 MKDIR_P='$MKDIR_P'
23508 AWK='$AWK'
23509 test -n "\$AWK" || AWK=awk
23510 _ACEOF
23511
23512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23513 # The default lists apply if the user does not specify any file.
23514 ac_need_defaults=:
23515 while test $# != 0
23516 do
23517 case $1 in
23518 --*=?*)
23519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23521 ac_shift=:
23522 ;;
23523 --*=)
23524 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23525 ac_optarg=
23526 ac_shift=:
23527 ;;
23528 *)
23529 ac_option=$1
23530 ac_optarg=$2
23531 ac_shift=shift
23532 ;;
23533 esac
23534
23535 case $ac_option in
23536 # Handling of the options.
23537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23538 ac_cs_recheck=: ;;
23539 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23540 printf "%s\n" "$ac_cs_version"; exit ;;
23541 --config | --confi | --conf | --con | --co | --c )
23542 printf "%s\n" "$ac_cs_config"; exit ;;
23543 --debug | --debu | --deb | --de | --d | -d )
23544 debug=: ;;
23545 --file | --fil | --fi | --f )
23546 $ac_shift
23547 case $ac_optarg in
23548 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23549 '') as_fn_error $? "missing file argument" ;;
23550 esac
23551 as_fn_append CONFIG_FILES " '$ac_optarg'"
23552 ac_need_defaults=false;;
23553 --header | --heade | --head | --hea )
23554 $ac_shift
23555 case $ac_optarg in
23556 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23557 esac
23558 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23559 ac_need_defaults=false;;
23560 --he | --h)
23561 # Conflict between --help and --header
23562 as_fn_error $? "ambiguous option: \`$1'
23563 Try \`$0 --help' for more information.";;
23564 --help | --hel | -h )
23565 printf "%s\n" "$ac_cs_usage"; exit ;;
23566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23567 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23568 ac_cs_silent=: ;;
23569
23570 # This is an error.
23571 -*) as_fn_error $? "unrecognized option: \`$1'
23572 Try \`$0 --help' for more information." ;;
23573
23574 *) as_fn_append ac_config_targets " $1"
23575 ac_need_defaults=false ;;
23576
23577 esac
23578 shift
23579 done
23580
23581 ac_configure_extra_args=
23582
23583 if $ac_cs_silent; then
23584 exec 6>/dev/null
23585 ac_configure_extra_args="$ac_configure_extra_args --silent"
23586 fi
23587
23588 _ACEOF
23589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23590 if \$ac_cs_recheck; then
23591 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23592 shift
23593 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23594 CONFIG_SHELL='$SHELL'
23595 export CONFIG_SHELL
23596 exec "\$@"
23597 fi
23598
23599 _ACEOF
23600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23601 exec 5>>config.log
23602 {
23603 echo
23604 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23605 ## Running $as_me. ##
23606 _ASBOX
23607 printf "%s\n" "$ac_log"
23608 } >&5
23609
23610 _ACEOF
23611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23612 #
23613 # INIT-COMMANDS
23614 #
23615 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
23616
23617
23618 # The HP-UX ksh and POSIX shell print the target directory to stdout
23619 # if CDPATH is set.
23620 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23621
23622 sed_quote_subst='$sed_quote_subst'
23623 double_quote_subst='$double_quote_subst'
23624 delay_variable_subst='$delay_variable_subst'
23625 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23626 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23627 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23628 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23629 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23630 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23631 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23632 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23633 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23634 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23635 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23636 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23637 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23638 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23639 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23640 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23641 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23642 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23643 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23644 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23645 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23646 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23647 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23648 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23649 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23650 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23651 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23652 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23653 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23654 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23655 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23656 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23657 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23658 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23659 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
23660 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23661 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23662 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23663 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23664 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23665 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23666 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23667 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23668 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
23669 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23670 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23671 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23672 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23673 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23674 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23675 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23676 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23677 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23678 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23679 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23680 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23681 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23682 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23683 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23684 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23685 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
23686 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23687 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23688 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23689 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23690 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23691 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23692 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23693 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23694 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23695 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23696 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23697 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23698 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23699 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23700 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23701 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23702 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23703 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23704 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23705 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23706 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23707 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23708 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23709 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23710 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23711 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23712 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23713 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23714 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23715 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23716 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23717 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23718 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23719 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23720 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23721 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23722 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23723 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23724 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23725 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23726 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23727 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23728 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23729 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23730 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23731 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23732 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23733 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23734 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23735 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23736 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23737 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23738 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23739 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23740 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23741 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23742 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23743 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23744 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23745 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23746 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23747 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23748 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23749 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23750 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23751 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23752 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23753 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23754 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23755 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23756 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23757 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23758 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23759 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23760 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23761 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23762 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23763 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23764 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23765 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23766 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23767 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23768 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23769 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23770 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23771 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23772 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23773 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23774 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23775 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23776 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23777 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23778 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23779 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23780 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23781 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23782 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23783 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23784 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23785 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23786 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23787 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23788 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23789 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23790 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23791 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23792 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23793 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23794 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23795 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23796 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23797 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23798 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23799 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23800 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23801 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23802 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23803 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23804 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23805 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23806 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23807 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23808 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23809 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23810 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23811 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23812 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23813 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23814 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23815 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23816
23817 LTCC='$LTCC'
23818 LTCFLAGS='$LTCFLAGS'
23819 compiler='$compiler_DEFAULT'
23820
23821 # A function that is used when there is no print builtin or printf.
23822 func_fallback_echo ()
23823 {
23824 eval 'cat <<_LTECHO_EOF
23825 \$1
23826 _LTECHO_EOF'
23827 }
23828
23829 # Quote evaled strings.
23830 for var in SHELL \
23831 ECHO \
23832 PATH_SEPARATOR \
23833 SED \
23834 GREP \
23835 EGREP \
23836 FGREP \
23837 LD \
23838 NM \
23839 LN_S \
23840 lt_SP2NL \
23841 lt_NL2SP \
23842 reload_flag \
23843 FILECMD \
23844 OBJDUMP \
23845 deplibs_check_method \
23846 file_magic_cmd \
23847 file_magic_glob \
23848 want_nocaseglob \
23849 DLLTOOL \
23850 sharedlib_from_linklib_cmd \
23851 AR \
23852 archiver_list_spec \
23853 STRIP \
23854 RANLIB \
23855 CC \
23856 CFLAGS \
23857 compiler \
23858 lt_cv_sys_global_symbol_pipe \
23859 lt_cv_sys_global_symbol_to_cdecl \
23860 lt_cv_sys_global_symbol_to_import \
23861 lt_cv_sys_global_symbol_to_c_name_address \
23862 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23863 lt_cv_nm_interface \
23864 nm_file_list_spec \
23865 lt_cv_truncate_bin \
23866 lt_prog_compiler_no_builtin_flag \
23867 lt_prog_compiler_pic \
23868 lt_prog_compiler_wl \
23869 lt_prog_compiler_static \
23870 lt_cv_prog_compiler_c_o \
23871 need_locks \
23872 MANIFEST_TOOL \
23873 DSYMUTIL \
23874 NMEDIT \
23875 LIPO \
23876 OTOOL \
23877 OTOOL64 \
23878 shrext_cmds \
23879 export_dynamic_flag_spec \
23880 whole_archive_flag_spec \
23881 compiler_needs_object \
23882 with_gnu_ld \
23883 allow_undefined_flag \
23884 no_undefined_flag \
23885 hardcode_libdir_flag_spec \
23886 hardcode_libdir_separator \
23887 exclude_expsyms \
23888 include_expsyms \
23889 file_list_spec \
23890 variables_saved_for_relink \
23891 libname_spec \
23892 library_names_spec \
23893 soname_spec \
23894 install_override_mode \
23895 finish_eval \
23896 old_striplib \
23897 striplib \
23898 compiler_lib_search_dirs \
23899 predep_objects \
23900 postdep_objects \
23901 predeps \
23902 postdeps \
23903 compiler_lib_search_path \
23904 LD_CXX \
23905 reload_flag_CXX \
23906 compiler_CXX \
23907 lt_prog_compiler_no_builtin_flag_CXX \
23908 lt_prog_compiler_pic_CXX \
23909 lt_prog_compiler_wl_CXX \
23910 lt_prog_compiler_static_CXX \
23911 lt_cv_prog_compiler_c_o_CXX \
23912 export_dynamic_flag_spec_CXX \
23913 whole_archive_flag_spec_CXX \
23914 compiler_needs_object_CXX \
23915 with_gnu_ld_CXX \
23916 allow_undefined_flag_CXX \
23917 no_undefined_flag_CXX \
23918 hardcode_libdir_flag_spec_CXX \
23919 hardcode_libdir_separator_CXX \
23920 exclude_expsyms_CXX \
23921 include_expsyms_CXX \
23922 file_list_spec_CXX \
23923 compiler_lib_search_dirs_CXX \
23924 predep_objects_CXX \
23925 postdep_objects_CXX \
23926 predeps_CXX \
23927 postdeps_CXX \
23928 compiler_lib_search_path_CXX; do
23929 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23930 *[\\\\\\\`\\"\\\$]*)
23931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23932 ;;
23933 *)
23934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23935 ;;
23936 esac
23937 done
23938
23939 # Double-quote double-evaled strings.
23940 for var in reload_cmds \
23941 old_postinstall_cmds \
23942 old_postuninstall_cmds \
23943 old_archive_cmds \
23944 extract_expsyms_cmds \
23945 old_archive_from_new_cmds \
23946 old_archive_from_expsyms_cmds \
23947 archive_cmds \
23948 archive_expsym_cmds \
23949 module_cmds \
23950 module_expsym_cmds \
23951 export_symbols_cmds \
23952 prelink_cmds \
23953 postlink_cmds \
23954 postinstall_cmds \
23955 postuninstall_cmds \
23956 finish_cmds \
23957 sys_lib_search_path_spec \
23958 configure_time_dlsearch_path \
23959 configure_time_lt_sys_library_path \
23960 reload_cmds_CXX \
23961 old_archive_cmds_CXX \
23962 old_archive_from_new_cmds_CXX \
23963 old_archive_from_expsyms_cmds_CXX \
23964 archive_cmds_CXX \
23965 archive_expsym_cmds_CXX \
23966 module_cmds_CXX \
23967 module_expsym_cmds_CXX \
23968 export_symbols_cmds_CXX \
23969 prelink_cmds_CXX \
23970 postlink_cmds_CXX; do
23971 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23972 *[\\\\\\\`\\"\\\$]*)
23973 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23974 ;;
23975 *)
23976 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23977 ;;
23978 esac
23979 done
23980
23981 ac_aux_dir='$ac_aux_dir'
23982
23983 # See if we are running on zsh, and set the options that allow our
23984 # commands through without removal of \ escapes INIT.
23985 if test -n "\${ZSH_VERSION+set}"; then
23986 setopt NO_GLOB_SUBST
23987 fi
23988
23989
23990 PACKAGE='$PACKAGE'
23991 VERSION='$VERSION'
23992 RM='$RM'
23993 ofile='$ofile'
23994
23995
23996
23997
23998
23999 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
24000 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
24001 # from automake < 1.5.
24002 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
24003 # Capture the value of LINGUAS because we need it to compute CATALOGS.
24004 LINGUAS="${LINGUAS-%UNSET%}"
24005
24006
24007 _ACEOF
24008
24009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24010
24011 # Handling of arguments.
24012 for ac_config_target in $ac_config_targets
24013 do
24014 case $ac_config_target in
24015 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24016 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24017 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24018 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
24019 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24020 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24021 "ibus-libpinyin.spec") CONFIG_FILES="$CONFIG_FILES ibus-libpinyin.spec" ;;
24022 "lua/Makefile") CONFIG_FILES="$CONFIG_FILES lua/Makefile" ;;
24023 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
24024 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24025 "src/libpinyin.xml.in") CONFIG_FILES="$CONFIG_FILES src/libpinyin.xml.in" ;;
24026 "setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;;
24027 "setup/ibus-setup-libpinyin") CONFIG_FILES="$CONFIG_FILES setup/ibus-setup-libpinyin" ;;
24028 "setup/config.py") CONFIG_FILES="$CONFIG_FILES setup/config.py" ;;
24029 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
24030 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
24031 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
24032
24033 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24034 esac
24035 done
24036
24037
24038 # If the user did not use the arguments to specify the items to instantiate,
24039 # then the envvar interface is used. Set only those that are not.
24040 # We use the long form for the default assignment because of an extremely
24041 # bizarre bug on SunOS 4.1.3.
24042 if $ac_need_defaults; then
24043 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
24044 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24045 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24046 fi
24047
24048 # Have a temporary directory for convenience. Make it in the build tree
24049 # simply because there is no reason against having it here, and in addition,
24050 # creating and moving files from /tmp can sometimes cause problems.
24051 # Hook for its removal unless debugging.
24052 # Note that there is a small window in which the directory will not be cleaned:
24053 # after its creation but before its name has been assigned to `$tmp'.
24054 $debug ||
24055 {
24056 tmp= ac_tmp=
24057 trap 'exit_status=$?
24058 : "${ac_tmp:=$tmp}"
24059 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24060 ' 0
24061 trap 'as_fn_exit 1' 1 2 13 15
24062 }
24063 # Create a (secure) tmp directory for tmp files.
24064
24065 {
24066 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24067 test -d "$tmp"
24068 } ||
24069 {
24070 tmp=./conf$$-$RANDOM
24071 (umask 077 && mkdir "$tmp")
24072 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24073 ac_tmp=$tmp
24074
24075 # Set up the scripts for CONFIG_FILES section.
24076 # No need to generate them if there are no CONFIG_FILES.
24077 # This happens for instance with `./config.status config.h'.
24078 if test -n "$CONFIG_FILES"; then
24079
24080
24081 ac_cr=`echo X | tr X '\015'`
24082 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24083 # But we know of no other shell where ac_cr would be empty at this
24084 # point, so we can use a bashism as a fallback.
24085 if test "x$ac_cr" = x; then
24086 eval ac_cr=\$\'\\r\'
24087 fi
24088 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24089 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24090 ac_cs_awk_cr='\\r'
24091 else
24092 ac_cs_awk_cr=$ac_cr
24093 fi
24094
24095 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24096 _ACEOF
24097
24098
24099 {
24100 echo "cat >conf$$subs.awk <<_ACEOF" &&
24101 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24102 echo "_ACEOF"
24103 } >conf$$subs.sh ||
24104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24105 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24106 ac_delim='%!_!# '
24107 for ac_last_try in false false false false false :; do
24108 . ./conf$$subs.sh ||
24109 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24110
24111 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24112 if test $ac_delim_n = $ac_delim_num; then
24113 break
24114 elif $ac_last_try; then
24115 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24116 else
24117 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24118 fi
24119 done
24120 rm -f conf$$subs.sh
24121
24122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24123 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24124 _ACEOF
24125 sed -n '
24126 h
24127 s/^/S["/; s/!.*/"]=/
24128 p
24129 g
24130 s/^[^!]*!//
24131 :repl
24132 t repl
24133 s/'"$ac_delim"'$//
24134 t delim
24135 :nl
24136 h
24137 s/\(.\{148\}\)..*/\1/
24138 t more1
24139 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24140 p
24141 n
24142 b repl
24143 :more1
24144 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24145 p
24146 g
24147 s/.\{148\}//
24148 t nl
24149 :delim
24150 h
24151 s/\(.\{148\}\)..*/\1/
24152 t more2
24153 s/["\\]/\\&/g; s/^/"/; s/$/"/
24154 p
24155 b
24156 :more2
24157 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24158 p
24159 g
24160 s/.\{148\}//
24161 t delim
24162 ' <conf$$subs.awk | sed '
24163 /^[^""]/{
24164 N
24165 s/\n//
24166 }
24167 ' >>$CONFIG_STATUS || ac_write_fail=1
24168 rm -f conf$$subs.awk
24169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24170 _ACAWK
24171 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24172 for (key in S) S_is_set[key] = 1
24173 FS = ""
24174
24175 }
24176 {
24177 line = $ 0
24178 nfields = split(line, field, "@")
24179 substed = 0
24180 len = length(field[1])
24181 for (i = 2; i < nfields; i++) {
24182 key = field[i]
24183 keylen = length(key)
24184 if (S_is_set[key]) {
24185 value = S[key]
24186 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24187 len += length(value) + length(field[++i])
24188 substed = 1
24189 } else
24190 len += 1 + keylen
24191 }
24192
24193 print line
24194 }
24195
24196 _ACAWK
24197 _ACEOF
24198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24199 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24200 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24201 else
24202 cat
24203 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24204 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24205 _ACEOF
24206
24207 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24208 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24209 # trailing colons and then remove the whole line if VPATH becomes empty
24210 # (actually we leave an empty line to preserve line numbers).
24211 if test "x$srcdir" = x.; then
24212 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24213 h
24214 s///
24215 s/^/:/
24216 s/[ ]*$/:/
24217 s/:\$(srcdir):/:/g
24218 s/:\${srcdir}:/:/g
24219 s/:@srcdir@:/:/g
24220 s/^:*//
24221 s/:*$//
24222 x
24223 s/\(=[ ]*\).*/\1/
24224 G
24225 s/\n//
24226 s/^[^=]*=[ ]*$//
24227 }'
24228 fi
24229
24230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24231 fi # test -n "$CONFIG_FILES"
24232
24233 # Set up the scripts for CONFIG_HEADERS section.
24234 # No need to generate them if there are no CONFIG_HEADERS.
24235 # This happens for instance with `./config.status Makefile'.
24236 if test -n "$CONFIG_HEADERS"; then
24237 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24238 BEGIN {
24239 _ACEOF
24240
24241 # Transform confdefs.h into an awk script `defines.awk', embedded as
24242 # here-document in config.status, that substitutes the proper values into
24243 # config.h.in to produce config.h.
24244
24245 # Create a delimiter string that does not exist in confdefs.h, to ease
24246 # handling of long lines.
24247 ac_delim='%!_!# '
24248 for ac_last_try in false false :; do
24249 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24250 if test -z "$ac_tt"; then
24251 break
24252 elif $ac_last_try; then
24253 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24254 else
24255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24256 fi
24257 done
24258
24259 # For the awk script, D is an array of macro values keyed by name,
24260 # likewise P contains macro parameters if any. Preserve backslash
24261 # newline sequences.
24262
24263 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24264 sed -n '
24265 s/.\{148\}/&'"$ac_delim"'/g
24266 t rset
24267 :rset
24268 s/^[ ]*#[ ]*define[ ][ ]*/ /
24269 t def
24270 d
24271 :def
24272 s/\\$//
24273 t bsnl
24274 s/["\\]/\\&/g
24275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24276 D["\1"]=" \3"/p
24277 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24278 d
24279 :bsnl
24280 s/["\\]/\\&/g
24281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24282 D["\1"]=" \3\\\\\\n"\\/p
24283 t cont
24284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24285 t cont
24286 d
24287 :cont
24288 n
24289 s/.\{148\}/&'"$ac_delim"'/g
24290 t clear
24291 :clear
24292 s/\\$//
24293 t bsnlc
24294 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24295 d
24296 :bsnlc
24297 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24298 b cont
24299 ' <confdefs.h | sed '
24300 s/'"$ac_delim"'/"\\\
24301 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24302
24303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24304 for (key in D) D_is_set[key] = 1
24305 FS = ""
24306 }
24307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24308 line = \$ 0
24309 split(line, arg, " ")
24310 if (arg[1] == "#") {
24311 defundef = arg[2]
24312 mac1 = arg[3]
24313 } else {
24314 defundef = substr(arg[1], 2)
24315 mac1 = arg[2]
24316 }
24317 split(mac1, mac2, "(") #)
24318 macro = mac2[1]
24319 prefix = substr(line, 1, index(line, defundef) - 1)
24320 if (D_is_set[macro]) {
24321 # Preserve the white space surrounding the "#".
24322 print prefix "define", macro P[macro] D[macro]
24323 next
24324 } else {
24325 # Replace #undef with comments. This is necessary, for example,
24326 # in the case of _POSIX_SOURCE, which is predefined and required
24327 # on some systems where configure will not decide to define it.
24328 if (defundef == "undef") {
24329 print "/*", prefix defundef, macro, "*/"
24330 next
24331 }
24332 }
24333 }
24334 { print }
24335 _ACAWK
24336 _ACEOF
24337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24338 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24339 fi # test -n "$CONFIG_HEADERS"
24340
24341
24342 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24343 shift
24344 for ac_tag
24345 do
24346 case $ac_tag in
24347 :[FHLC]) ac_mode=$ac_tag; continue;;
24348 esac
24349 case $ac_mode$ac_tag in
24350 :[FHL]*:*);;
24351 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24352 :[FH]-) ac_tag=-:-;;
24353 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24354 esac
24355 ac_save_IFS=$IFS
24356 IFS=:
24357 set x $ac_tag
24358 IFS=$ac_save_IFS
24359 shift
24360 ac_file=$1
24361 shift
24362
24363 case $ac_mode in
24364 :L) ac_source=$1;;
24365 :[FH])
24366 ac_file_inputs=
24367 for ac_f
24368 do
24369 case $ac_f in
24370 -) ac_f="$ac_tmp/stdin";;
24371 *) # Look for the file first in the build tree, then in the source tree
24372 # (if the path is not absolute). The absolute path cannot be DOS-style,
24373 # because $ac_f cannot contain `:'.
24374 test -f "$ac_f" ||
24375 case $ac_f in
24376 [\\/$]*) false;;
24377 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24378 esac ||
24379 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24380 esac
24381 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24382 as_fn_append ac_file_inputs " '$ac_f'"
24383 done
24384
24385 # Let's still pretend it is `configure' which instantiates (i.e., don't
24386 # use $as_me), people would be surprised to read:
24387 # /* config.h. Generated by config.status. */
24388 configure_input='Generated from '`
24389 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24390 `' by configure.'
24391 if test x"$ac_file" != x-; then
24392 configure_input="$ac_file. $configure_input"
24393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24394 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24395 fi
24396 # Neutralize special characters interpreted by sed in replacement strings.
24397 case $configure_input in #(
24398 *\&* | *\|* | *\\* )
24399 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24400 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24401 *) ac_sed_conf_input=$configure_input;;
24402 esac
24403
24404 case $ac_tag in
24405 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24407 esac
24408 ;;
24409 esac
24410
24411 ac_dir=`$as_dirname -- "$ac_file" ||
24412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24413 X"$ac_file" : 'X\(//\)[^/]' \| \
24414 X"$ac_file" : 'X\(//\)$' \| \
24415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24416 printf "%s\n" X"$ac_file" |
24417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24418 s//\1/
24419 q
24420 }
24421 /^X\(\/\/\)[^/].*/{
24422 s//\1/
24423 q
24424 }
24425 /^X\(\/\/\)$/{
24426 s//\1/
24427 q
24428 }
24429 /^X\(\/\).*/{
24430 s//\1/
24431 q
24432 }
24433 s/.*/./; q'`
24434 as_dir="$ac_dir"; as_fn_mkdir_p
24435 ac_builddir=.
24436
24437 case "$ac_dir" in
24438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24439 *)
24440 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24441 # A ".." for each directory in $ac_dir_suffix.
24442 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24443 case $ac_top_builddir_sub in
24444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24446 esac ;;
24447 esac
24448 ac_abs_top_builddir=$ac_pwd
24449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24450 # for backward compatibility:
24451 ac_top_builddir=$ac_top_build_prefix
24452
24453 case $srcdir in
24454 .) # We are building in place.
24455 ac_srcdir=.
24456 ac_top_srcdir=$ac_top_builddir_sub
24457 ac_abs_top_srcdir=$ac_pwd ;;
24458 [\\/]* | ?:[\\/]* ) # Absolute name.
24459 ac_srcdir=$srcdir$ac_dir_suffix;
24460 ac_top_srcdir=$srcdir
24461 ac_abs_top_srcdir=$srcdir ;;
24462 *) # Relative name.
24463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24464 ac_top_srcdir=$ac_top_build_prefix$srcdir
24465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24466 esac
24467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24468
24469
24470 case $ac_mode in
24471 :F)
24472 #
24473 # CONFIG_FILE
24474 #
24475
24476 case $INSTALL in
24477 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24478 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24479 esac
24480 ac_MKDIR_P=$MKDIR_P
24481 case $MKDIR_P in
24482 [\\/$]* | ?:[\\/]* ) ;;
24483 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24484 esac
24485 _ACEOF
24486
24487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24488 # If the template does not know about datarootdir, expand it.
24489 # FIXME: This hack should be removed a few years after 2.60.
24490 ac_datarootdir_hack=; ac_datarootdir_seen=
24491 ac_sed_dataroot='
24492 /datarootdir/ {
24493 p
24494 q
24495 }
24496 /@datadir@/p
24497 /@docdir@/p
24498 /@infodir@/p
24499 /@localedir@/p
24500 /@mandir@/p'
24501 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24502 *datarootdir*) ac_datarootdir_seen=yes;;
24503 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24505 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24506 _ACEOF
24507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24508 ac_datarootdir_hack='
24509 s&@datadir@&$datadir&g
24510 s&@docdir@&$docdir&g
24511 s&@infodir@&$infodir&g
24512 s&@localedir@&$localedir&g
24513 s&@mandir@&$mandir&g
24514 s&\\\${datarootdir}&$datarootdir&g' ;;
24515 esac
24516 _ACEOF
24517
24518 # Neutralize VPATH when `$srcdir' = `.'.
24519 # Shell code in configure.ac might set extrasub.
24520 # FIXME: do we really want to maintain this feature?
24521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24522 ac_sed_extra="$ac_vpsub
24523 $extrasub
24524 _ACEOF
24525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24526 :t
24527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24528 s|@configure_input@|$ac_sed_conf_input|;t t
24529 s&@top_builddir@&$ac_top_builddir_sub&;t t
24530 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24531 s&@srcdir@&$ac_srcdir&;t t
24532 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24533 s&@top_srcdir@&$ac_top_srcdir&;t t
24534 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24535 s&@builddir@&$ac_builddir&;t t
24536 s&@abs_builddir@&$ac_abs_builddir&;t t
24537 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24538 s&@INSTALL@&$ac_INSTALL&;t t
24539 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24540 $ac_datarootdir_hack
24541 "
24542 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24543 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24544
24545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24546 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24548 "$ac_tmp/out"`; test -z "$ac_out"; } &&
24549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24550 which seems to be undefined. Please make sure it is defined" >&5
24551 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24552 which seems to be undefined. Please make sure it is defined" >&2;}
24553
24554 rm -f "$ac_tmp/stdin"
24555 case $ac_file in
24556 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24557 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24558 esac \
24559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24560 ;;
24561 :H)
24562 #
24563 # CONFIG_HEADER
24564 #
24565 if test x"$ac_file" != x-; then
24566 {
24567 printf "%s\n" "/* $configure_input */" >&1 \
24568 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24569 } >"$ac_tmp/config.h" \
24570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24571 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24573 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24574 else
24575 rm -f "$ac_file"
24576 mv "$ac_tmp/config.h" "$ac_file" \
24577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24578 fi
24579 else
24580 printf "%s\n" "/* $configure_input */" >&1 \
24581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24582 || as_fn_error $? "could not create -" "$LINENO" 5
24583 fi
24584 # Compute "$ac_file"'s index in $config_headers.
24585 _am_arg="$ac_file"
24586 _am_stamp_count=1
24587 for _am_header in $config_headers :; do
24588 case $_am_header in
24589 $_am_arg | $_am_arg:* )
24590 break ;;
24591 * )
24592 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24593 esac
24594 done
24595 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24596 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24597 X"$_am_arg" : 'X\(//\)[^/]' \| \
24598 X"$_am_arg" : 'X\(//\)$' \| \
24599 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24600 printf "%s\n" X"$_am_arg" |
24601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24602 s//\1/
24603 q
24604 }
24605 /^X\(\/\/\)[^/].*/{
24606 s//\1/
24607 q
24608 }
24609 /^X\(\/\/\)$/{
24610 s//\1/
24611 q
24612 }
24613 /^X\(\/\).*/{
24614 s//\1/
24615 q
24616 }
24617 s/.*/./; q'`/stamp-h$_am_stamp_count
24618 ;;
24619
24620 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24621 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24622 ;;
24623 esac
24624
24625
24626 case $ac_file$ac_mode in
24627 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24628 # Older Autoconf quotes --file arguments for eval, but not when files
24629 # are listed without --file. Let's play safe and only enable the eval
24630 # if we detect the quoting.
24631 # TODO: see whether this extra hack can be removed once we start
24632 # requiring Autoconf 2.70 or later.
24633 case $CONFIG_FILES in #(
24634 *\'*) :
24635 eval set x "$CONFIG_FILES" ;; #(
24636 *) :
24637 set x $CONFIG_FILES ;; #(
24638 *) :
24639 ;;
24640 esac
24641 shift
24642 # Used to flag and report bootstrapping failures.
24643 am_rc=0
24644 for am_mf
24645 do
24646 # Strip MF so we end up with the name of the file.
24647 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
24648 # Check whether this is an Automake generated Makefile which includes
24649 # dependency-tracking related rules and includes.
24650 # Grep'ing the whole file directly is not great: AIX grep has a line
24651 # limit of 2048, but all sed's we know have understand at least 4000.
24652 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
24653 || continue
24654 am_dirpart=`$as_dirname -- "$am_mf" ||
24655 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24656 X"$am_mf" : 'X\(//\)[^/]' \| \
24657 X"$am_mf" : 'X\(//\)$' \| \
24658 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24659 printf "%s\n" X"$am_mf" |
24660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24661 s//\1/
24662 q
24663 }
24664 /^X\(\/\/\)[^/].*/{
24665 s//\1/
24666 q
24667 }
24668 /^X\(\/\/\)$/{
24669 s//\1/
24670 q
24671 }
24672 /^X\(\/\).*/{
24673 s//\1/
24674 q
24675 }
24676 s/.*/./; q'`
24677 am_filepart=`$as_basename -- "$am_mf" ||
24678 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
24679 X"$am_mf" : 'X\(//\)$' \| \
24680 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
24681 printf "%s\n" X/"$am_mf" |
24682 sed '/^.*\/\([^/][^/]*\)\/*$/{
24683 s//\1/
24684 q
24685 }
24686 /^X\/\(\/\/\)$/{
24687 s//\1/
24688 q
24689 }
24690 /^X\/\(\/\).*/{
24691 s//\1/
24692 q
24693 }
24694 s/.*/./; q'`
24695 { echo "$as_me:$LINENO: cd "$am_dirpart" \
24696 && sed -e '/# am--include-marker/d' "$am_filepart" \
24697 | $MAKE -f - am--depfiles" >&5
24698 (cd "$am_dirpart" \
24699 && sed -e '/# am--include-marker/d' "$am_filepart" \
24700 | $MAKE -f - am--depfiles) >&5 2>&5
24701 ac_status=$?
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } || am_rc=$?
24704 done
24705 if test $am_rc -ne 0; then
24706 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24707 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24708 as_fn_error $? "Something went wrong bootstrapping makefile fragments
24709 for automatic dependency tracking. If GNU make was not used, consider
24710 re-running the configure script with MAKE=\"gmake\" (or whatever is
24711 necessary). You can also try re-running configure with the
24712 '--disable-dependency-tracking' option to at least be able to build
24713 the package (albeit without support for automatic dependency tracking).
24714 See \`config.log' for more details" "$LINENO" 5; }
24715 fi
24716 { am_dirpart=; unset am_dirpart;}
24717 { am_filepart=; unset am_filepart;}
24718 { am_mf=; unset am_mf;}
24719 { am_rc=; unset am_rc;}
24720 rm -f conftest-deps.mk
24721 }
24722 ;;
24723 "libtool":C)
24724
24725 # See if we are running on zsh, and set the options that allow our
24726 # commands through without removal of \ escapes.
24727 if test -n "${ZSH_VERSION+set}"; then
24728 setopt NO_GLOB_SUBST
24729 fi
24730
24731 cfgfile=${ofile}T
24732 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24733 $RM "$cfgfile"
24734
24735 cat <<_LT_EOF >> "$cfgfile"
24736 #! $SHELL
24737 # Generated automatically by $as_me ($PACKAGE) $VERSION
24738 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24739 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24740
24741 # Provide generalized library-building support services.
24742 # Written by Gordon Matzigkeit, 1996
24743
24744 # Copyright (C) 2014 Free Software Foundation, Inc.
24745 # This is free software; see the source for copying conditions. There is NO
24746 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24747
24748 # GNU Libtool is free software; you can redistribute it and/or modify
24749 # it under the terms of the GNU General Public License as published by
24750 # the Free Software Foundation; either version 2 of of the License, or
24751 # (at your option) any later version.
24752 #
24753 # As a special exception to the GNU General Public License, if you
24754 # distribute this file as part of a program or library that is built
24755 # using GNU Libtool, you may include this file under the same
24756 # distribution terms that you use for the rest of that program.
24757 #
24758 # GNU Libtool is distributed in the hope that it will be useful, but
24759 # WITHOUT ANY WARRANTY; without even the implied warranty of
24760 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24761 # GNU General Public License for more details.
24762 #
24763 # You should have received a copy of the GNU General Public License
24764 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24765
24766
24767 # The names of the tagged configurations supported by this script.
24768 available_tags='CXX '
24769
24770 # Configured defaults for sys_lib_dlsearch_path munging.
24771 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24772
24773 # ### BEGIN LIBTOOL CONFIG
24774
24775 # Whether or not to build static libraries.
24776 build_old_libs=$enable_static
24777
24778 # Which release of libtool.m4 was used?
24779 macro_version=$macro_version
24780 macro_revision=$macro_revision
24781
24782 # Whether or not to build shared libraries.
24783 build_libtool_libs=$enable_shared
24784
24785 # What type of objects to build.
24786 pic_mode=$pic_mode
24787
24788 # Whether or not to optimize for fast installation.
24789 fast_install=$enable_fast_install
24790
24791 # Shared archive member basename,for filename based shared library versioning on AIX.
24792 shared_archive_member_spec=$shared_archive_member_spec
24793
24794 # Shell to use when invoking shell scripts.
24795 SHELL=$lt_SHELL
24796
24797 # An echo program that protects backslashes.
24798 ECHO=$lt_ECHO
24799
24800 # The PATH separator for the build system.
24801 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24802
24803 # The host system.
24804 host_alias=$host_alias
24805 host=$host
24806 host_os=$host_os
24807
24808 # The build system.
24809 build_alias=$build_alias
24810 build=$build
24811 build_os=$build_os
24812
24813 # A sed program that does not truncate output.
24814 SED=$lt_SED
24815
24816 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24817 Xsed="\$SED -e 1s/^X//"
24818
24819 # A grep program that handles long lines.
24820 GREP=$lt_GREP
24821
24822 # An ERE matcher.
24823 EGREP=$lt_EGREP
24824
24825 # A literal string matcher.
24826 FGREP=$lt_FGREP
24827
24828 # A BSD- or MS-compatible name lister.
24829 NM=$lt_NM
24830
24831 # Whether we need soft or hard links.
24832 LN_S=$lt_LN_S
24833
24834 # What is the maximum length of a command?
24835 max_cmd_len=$max_cmd_len
24836
24837 # Object file suffix (normally "o").
24838 objext=$ac_objext
24839
24840 # Executable file suffix (normally "").
24841 exeext=$exeext
24842
24843 # whether the shell understands "unset".
24844 lt_unset=$lt_unset
24845
24846 # turn spaces into newlines.
24847 SP2NL=$lt_lt_SP2NL
24848
24849 # turn newlines into spaces.
24850 NL2SP=$lt_lt_NL2SP
24851
24852 # convert \$build file names to \$host format.
24853 to_host_file_cmd=$lt_cv_to_host_file_cmd
24854
24855 # convert \$build files to toolchain format.
24856 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24857
24858 # A file(cmd) program that detects file types.
24859 FILECMD=$lt_FILECMD
24860
24861 # An object symbol dumper.
24862 OBJDUMP=$lt_OBJDUMP
24863
24864 # Method to check whether dependent libraries are shared objects.
24865 deplibs_check_method=$lt_deplibs_check_method
24866
24867 # Command to use when deplibs_check_method = "file_magic".
24868 file_magic_cmd=$lt_file_magic_cmd
24869
24870 # How to find potential files when deplibs_check_method = "file_magic".
24871 file_magic_glob=$lt_file_magic_glob
24872
24873 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24874 want_nocaseglob=$lt_want_nocaseglob
24875
24876 # DLL creation program.
24877 DLLTOOL=$lt_DLLTOOL
24878
24879 # Command to associate shared and link libraries.
24880 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24881
24882 # The archiver.
24883 AR=$lt_AR
24884
24885 # Flags to create an archive (by configure).
24886 lt_ar_flags=$lt_ar_flags
24887
24888 # Flags to create an archive.
24889 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
24890
24891 # How to feed a file listing to the archiver.
24892 archiver_list_spec=$lt_archiver_list_spec
24893
24894 # A symbol stripping program.
24895 STRIP=$lt_STRIP
24896
24897 # Commands used to install an old-style archive.
24898 RANLIB=$lt_RANLIB
24899 old_postinstall_cmds=$lt_old_postinstall_cmds
24900 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24901
24902 # Whether to use a lock for old archive extraction.
24903 lock_old_archive_extraction=$lock_old_archive_extraction
24904
24905 # A C compiler.
24906 LTCC=$lt_CC
24907
24908 # LTCC compiler flags.
24909 LTCFLAGS=$lt_CFLAGS
24910
24911 # Take the output of nm and produce a listing of raw symbols and C names.
24912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24913
24914 # Transform the output of nm in a proper C declaration.
24915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24916
24917 # Transform the output of nm into a list of symbols to manually relocate.
24918 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24919
24920 # Transform the output of nm in a C name address pair.
24921 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24922
24923 # Transform the output of nm in a C name address pair when lib prefix is needed.
24924 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24925
24926 # The name lister interface.
24927 nm_interface=$lt_lt_cv_nm_interface
24928
24929 # Specify filename containing input files for \$NM.
24930 nm_file_list_spec=$lt_nm_file_list_spec
24931
24932 # The root where to search for dependent libraries,and where our libraries should be installed.
24933 lt_sysroot=$lt_sysroot
24934
24935 # Command to truncate a binary pipe.
24936 lt_truncate_bin=$lt_lt_cv_truncate_bin
24937
24938 # The name of the directory that contains temporary libtool files.
24939 objdir=$objdir
24940
24941 # Used to examine libraries when file_magic_cmd begins with "file".
24942 MAGIC_CMD=$MAGIC_CMD
24943
24944 # Must we lock files when doing compilation?
24945 need_locks=$lt_need_locks
24946
24947 # Manifest tool.
24948 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24949
24950 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24951 DSYMUTIL=$lt_DSYMUTIL
24952
24953 # Tool to change global to local symbols on Mac OS X.
24954 NMEDIT=$lt_NMEDIT
24955
24956 # Tool to manipulate fat objects and archives on Mac OS X.
24957 LIPO=$lt_LIPO
24958
24959 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24960 OTOOL=$lt_OTOOL
24961
24962 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24963 OTOOL64=$lt_OTOOL64
24964
24965 # Old archive suffix (normally "a").
24966 libext=$libext
24967
24968 # Shared library suffix (normally ".so").
24969 shrext_cmds=$lt_shrext_cmds
24970
24971 # The commands to extract the exported symbol list from a shared archive.
24972 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24973
24974 # Variables whose values should be saved in libtool wrapper scripts and
24975 # restored at link time.
24976 variables_saved_for_relink=$lt_variables_saved_for_relink
24977
24978 # Do we need the "lib" prefix for modules?
24979 need_lib_prefix=$need_lib_prefix
24980
24981 # Do we need a version for libraries?
24982 need_version=$need_version
24983
24984 # Library versioning type.
24985 version_type=$version_type
24986
24987 # Shared library runtime path variable.
24988 runpath_var=$runpath_var
24989
24990 # Shared library path variable.
24991 shlibpath_var=$shlibpath_var
24992
24993 # Is shlibpath searched before the hard-coded library search path?
24994 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24995
24996 # Format of library name prefix.
24997 libname_spec=$lt_libname_spec
24998
24999 # List of archive names. First name is the real one, the rest are links.
25000 # The last name is the one that the linker finds with -lNAME
25001 library_names_spec=$lt_library_names_spec
25002
25003 # The coded name of the library, if different from the real name.
25004 soname_spec=$lt_soname_spec
25005
25006 # Permission mode override for installation of shared libraries.
25007 install_override_mode=$lt_install_override_mode
25008
25009 # Command to use after installation of a shared archive.
25010 postinstall_cmds=$lt_postinstall_cmds
25011
25012 # Command to use after uninstallation of a shared archive.
25013 postuninstall_cmds=$lt_postuninstall_cmds
25014
25015 # Commands used to finish a libtool library installation in a directory.
25016 finish_cmds=$lt_finish_cmds
25017
25018 # As "finish_cmds", except a single script fragment to be evaled but
25019 # not shown.
25020 finish_eval=$lt_finish_eval
25021
25022 # Whether we should hardcode library paths into libraries.
25023 hardcode_into_libs=$hardcode_into_libs
25024
25025 # Compile-time system search path for libraries.
25026 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25027
25028 # Detected run-time system search path for libraries.
25029 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
25030
25031 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
25032 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
25033
25034 # Whether dlopen is supported.
25035 dlopen_support=$enable_dlopen
25036
25037 # Whether dlopen of programs is supported.
25038 dlopen_self=$enable_dlopen_self
25039
25040 # Whether dlopen of statically linked programs is supported.
25041 dlopen_self_static=$enable_dlopen_self_static
25042
25043 # Commands to strip libraries.
25044 old_striplib=$lt_old_striplib
25045 striplib=$lt_striplib
25046
25047
25048 # The linker used to build libraries.
25049 LD=$lt_LD
25050
25051 # How to create reloadable object files.
25052 reload_flag=$lt_reload_flag
25053 reload_cmds=$lt_reload_cmds
25054
25055 # Commands used to build an old-style archive.
25056 old_archive_cmds=$lt_old_archive_cmds
25057
25058 # A language specific compiler.
25059 CC=$lt_compiler
25060
25061 # Is the compiler the GNU compiler?
25062 with_gcc=$GCC
25063
25064 # Compiler flag to turn off builtin functions.
25065 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25066
25067 # Additional compiler flags for building library objects.
25068 pic_flag=$lt_lt_prog_compiler_pic
25069
25070 # How to pass a linker flag through the compiler.
25071 wl=$lt_lt_prog_compiler_wl
25072
25073 # Compiler flag to prevent dynamic linking.
25074 link_static_flag=$lt_lt_prog_compiler_static
25075
25076 # Does compiler simultaneously support -c and -o options?
25077 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25078
25079 # Whether or not to add -lc for building shared libraries.
25080 build_libtool_need_lc=$archive_cmds_need_lc
25081
25082 # Whether or not to disallow shared libs when runtime libs are static.
25083 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25084
25085 # Compiler flag to allow reflexive dlopens.
25086 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25087
25088 # Compiler flag to generate shared objects directly from archives.
25089 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25090
25091 # Whether the compiler copes with passing no objects directly.
25092 compiler_needs_object=$lt_compiler_needs_object
25093
25094 # Create an old-style archive from a shared archive.
25095 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25096
25097 # Create a temporary old-style archive to link instead of a shared archive.
25098 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25099
25100 # Commands used to build a shared archive.
25101 archive_cmds=$lt_archive_cmds
25102 archive_expsym_cmds=$lt_archive_expsym_cmds
25103
25104 # Commands used to build a loadable module if different from building
25105 # a shared archive.
25106 module_cmds=$lt_module_cmds
25107 module_expsym_cmds=$lt_module_expsym_cmds
25108
25109 # Whether we are building with GNU ld or not.
25110 with_gnu_ld=$lt_with_gnu_ld
25111
25112 # Flag that allows shared libraries with undefined symbols to be built.
25113 allow_undefined_flag=$lt_allow_undefined_flag
25114
25115 # Flag that enforces no undefined symbols.
25116 no_undefined_flag=$lt_no_undefined_flag
25117
25118 # Flag to hardcode \$libdir into a binary during linking.
25119 # This must work even if \$libdir does not exist
25120 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25121
25122 # Whether we need a single "-rpath" flag with a separated argument.
25123 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25124
25125 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25126 # DIR into the resulting binary.
25127 hardcode_direct=$hardcode_direct
25128
25129 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25130 # DIR into the resulting binary and the resulting library dependency is
25131 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25132 # library is relocated.
25133 hardcode_direct_absolute=$hardcode_direct_absolute
25134
25135 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25136 # into the resulting binary.
25137 hardcode_minus_L=$hardcode_minus_L
25138
25139 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25140 # into the resulting binary.
25141 hardcode_shlibpath_var=$hardcode_shlibpath_var
25142
25143 # Set to "yes" if building a shared library automatically hardcodes DIR
25144 # into the library and all subsequent libraries and executables linked
25145 # against it.
25146 hardcode_automatic=$hardcode_automatic
25147
25148 # Set to yes if linker adds runtime paths of dependent libraries
25149 # to runtime path list.
25150 inherit_rpath=$inherit_rpath
25151
25152 # Whether libtool must link a program against all its dependency libraries.
25153 link_all_deplibs=$link_all_deplibs
25154
25155 # Set to "yes" if exported symbols are required.
25156 always_export_symbols=$always_export_symbols
25157
25158 # The commands to list exported symbols.
25159 export_symbols_cmds=$lt_export_symbols_cmds
25160
25161 # Symbols that should not be listed in the preloaded symbols.
25162 exclude_expsyms=$lt_exclude_expsyms
25163
25164 # Symbols that must always be exported.
25165 include_expsyms=$lt_include_expsyms
25166
25167 # Commands necessary for linking programs (against libraries) with templates.
25168 prelink_cmds=$lt_prelink_cmds
25169
25170 # Commands necessary for finishing linking programs.
25171 postlink_cmds=$lt_postlink_cmds
25172
25173 # Specify filename containing input files.
25174 file_list_spec=$lt_file_list_spec
25175
25176 # How to hardcode a shared library path into an executable.
25177 hardcode_action=$hardcode_action
25178
25179 # The directories searched by this compiler when creating a shared library.
25180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25181
25182 # Dependencies to place before and after the objects being linked to
25183 # create a shared library.
25184 predep_objects=$lt_predep_objects
25185 postdep_objects=$lt_postdep_objects
25186 predeps=$lt_predeps
25187 postdeps=$lt_postdeps
25188
25189 # The library search path used internally by the compiler when linking
25190 # a shared library.
25191 compiler_lib_search_path=$lt_compiler_lib_search_path
25192
25193 # ### END LIBTOOL CONFIG
25194
25195 _LT_EOF
25196
25197 cat <<'_LT_EOF' >> "$cfgfile"
25198
25199 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
25200
25201 # func_munge_path_list VARIABLE PATH
25202 # -----------------------------------
25203 # VARIABLE is name of variable containing _space_ separated list of
25204 # directories to be munged by the contents of PATH, which is string
25205 # having a format:
25206 # "DIR[:DIR]:"
25207 # string "DIR[ DIR]" will be prepended to VARIABLE
25208 # ":DIR[:DIR]"
25209 # string "DIR[ DIR]" will be appended to VARIABLE
25210 # "DIRP[:DIRP]::[DIRA:]DIRA"
25211 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
25212 # "DIRA[ DIRA]" will be appended to VARIABLE
25213 # "DIR[:DIR]"
25214 # VARIABLE will be replaced by "DIR[ DIR]"
25215 func_munge_path_list ()
25216 {
25217 case x$2 in
25218 x)
25219 ;;
25220 *:)
25221 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
25222 ;;
25223 x:*)
25224 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
25225 ;;
25226 *::*)
25227 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
25228 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
25229 ;;
25230 *)
25231 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
25232 ;;
25233 esac
25234 }
25235
25236
25237 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
25238 func_cc_basename ()
25239 {
25240 for cc_temp in $*""; do
25241 case $cc_temp in
25242 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25243 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25244 \-*) ;;
25245 *) break;;
25246 esac
25247 done
25248 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
25249 }
25250
25251
25252 # ### END FUNCTIONS SHARED WITH CONFIGURE
25253
25254 _LT_EOF
25255
25256 case $host_os in
25257 aix3*)
25258 cat <<\_LT_EOF >> "$cfgfile"
25259 # AIX sometimes has problems with the GCC collect2 program. For some
25260 # reason, if we set the COLLECT_NAMES environment variable, the problems
25261 # vanish in a puff of smoke.
25262 if test set != "${COLLECT_NAMES+set}"; then
25263 COLLECT_NAMES=
25264 export COLLECT_NAMES
25265 fi
25266 _LT_EOF
25267 ;;
25268 esac
25269
25270
25271
25272 ltmain=$ac_aux_dir/ltmain.sh
25273
25274
25275 # We use sed instead of cat because bash on DJGPP gets confused if
25276 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25277 # text mode, it properly converts lines to CR/LF. This bash problem
25278 # is reportedly fixed, but why not run on old versions too?
25279 $SED '$q' "$ltmain" >> "$cfgfile" \
25280 || (rm -f "$cfgfile"; exit 1)
25281
25282 mv -f "$cfgfile" "$ofile" ||
25283 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25284 chmod +x "$ofile"
25285
25286
25287 cat <<_LT_EOF >> "$ofile"
25288
25289 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25290
25291 # The linker used to build libraries.
25292 LD=$lt_LD_CXX
25293
25294 # How to create reloadable object files.
25295 reload_flag=$lt_reload_flag_CXX
25296 reload_cmds=$lt_reload_cmds_CXX
25297
25298 # Commands used to build an old-style archive.
25299 old_archive_cmds=$lt_old_archive_cmds_CXX
25300
25301 # A language specific compiler.
25302 CC=$lt_compiler_CXX
25303
25304 # Is the compiler the GNU compiler?
25305 with_gcc=$GCC_CXX
25306
25307 # Compiler flag to turn off builtin functions.
25308 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25309
25310 # Additional compiler flags for building library objects.
25311 pic_flag=$lt_lt_prog_compiler_pic_CXX
25312
25313 # How to pass a linker flag through the compiler.
25314 wl=$lt_lt_prog_compiler_wl_CXX
25315
25316 # Compiler flag to prevent dynamic linking.
25317 link_static_flag=$lt_lt_prog_compiler_static_CXX
25318
25319 # Does compiler simultaneously support -c and -o options?
25320 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25321
25322 # Whether or not to add -lc for building shared libraries.
25323 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25324
25325 # Whether or not to disallow shared libs when runtime libs are static.
25326 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25327
25328 # Compiler flag to allow reflexive dlopens.
25329 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25330
25331 # Compiler flag to generate shared objects directly from archives.
25332 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25333
25334 # Whether the compiler copes with passing no objects directly.
25335 compiler_needs_object=$lt_compiler_needs_object_CXX
25336
25337 # Create an old-style archive from a shared archive.
25338 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25339
25340 # Create a temporary old-style archive to link instead of a shared archive.
25341 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25342
25343 # Commands used to build a shared archive.
25344 archive_cmds=$lt_archive_cmds_CXX
25345 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25346
25347 # Commands used to build a loadable module if different from building
25348 # a shared archive.
25349 module_cmds=$lt_module_cmds_CXX
25350 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25351
25352 # Whether we are building with GNU ld or not.
25353 with_gnu_ld=$lt_with_gnu_ld_CXX
25354
25355 # Flag that allows shared libraries with undefined symbols to be built.
25356 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25357
25358 # Flag that enforces no undefined symbols.
25359 no_undefined_flag=$lt_no_undefined_flag_CXX
25360
25361 # Flag to hardcode \$libdir into a binary during linking.
25362 # This must work even if \$libdir does not exist
25363 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25364
25365 # Whether we need a single "-rpath" flag with a separated argument.
25366 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25367
25368 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25369 # DIR into the resulting binary.
25370 hardcode_direct=$hardcode_direct_CXX
25371
25372 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25373 # DIR into the resulting binary and the resulting library dependency is
25374 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25375 # library is relocated.
25376 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25377
25378 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25379 # into the resulting binary.
25380 hardcode_minus_L=$hardcode_minus_L_CXX
25381
25382 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25383 # into the resulting binary.
25384 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25385
25386 # Set to "yes" if building a shared library automatically hardcodes DIR
25387 # into the library and all subsequent libraries and executables linked
25388 # against it.
25389 hardcode_automatic=$hardcode_automatic_CXX
25390
25391 # Set to yes if linker adds runtime paths of dependent libraries
25392 # to runtime path list.
25393 inherit_rpath=$inherit_rpath_CXX
25394
25395 # Whether libtool must link a program against all its dependency libraries.
25396 link_all_deplibs=$link_all_deplibs_CXX
25397
25398 # Set to "yes" if exported symbols are required.
25399 always_export_symbols=$always_export_symbols_CXX
25400
25401 # The commands to list exported symbols.
25402 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25403
25404 # Symbols that should not be listed in the preloaded symbols.
25405 exclude_expsyms=$lt_exclude_expsyms_CXX
25406
25407 # Symbols that must always be exported.
25408 include_expsyms=$lt_include_expsyms_CXX
25409
25410 # Commands necessary for linking programs (against libraries) with templates.
25411 prelink_cmds=$lt_prelink_cmds_CXX
25412
25413 # Commands necessary for finishing linking programs.
25414 postlink_cmds=$lt_postlink_cmds_CXX
25415
25416 # Specify filename containing input files.
25417 file_list_spec=$lt_file_list_spec_CXX
25418
25419 # How to hardcode a shared library path into an executable.
25420 hardcode_action=$hardcode_action_CXX
25421
25422 # The directories searched by this compiler when creating a shared library.
25423 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25424
25425 # Dependencies to place before and after the objects being linked to
25426 # create a shared library.
25427 predep_objects=$lt_predep_objects_CXX
25428 postdep_objects=$lt_postdep_objects_CXX
25429 predeps=$lt_predeps_CXX
25430 postdeps=$lt_postdeps_CXX
25431
25432 # The library search path used internally by the compiler when linking
25433 # a shared library.
25434 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25435
25436 # ### END LIBTOOL TAG CONFIG: CXX
25437 _LT_EOF
25438
25439 ;;
25440 "po-directories":C)
25441 for ac_file in $CONFIG_FILES; do
25442 # Support "outfile[:infile[:infile...]]"
25443 case "$ac_file" in
25444 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25445 esac
25446 # PO directories have a Makefile.in generated from Makefile.in.in.
25447 case "$ac_file" in */Makefile.in)
25448 # Adjust a relative srcdir.
25449 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
25450 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
25451 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
25452 # In autoconf-2.13 it is called $ac_given_srcdir.
25453 # In autoconf-2.50 it is called $srcdir.
25454 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
25455 case "$ac_given_srcdir" in
25456 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
25457 /*) top_srcdir="$ac_given_srcdir" ;;
25458 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
25459 esac
25460 # Treat a directory as a PO directory if and only if it has a
25461 # POTFILES.in file. This allows packages to have multiple PO
25462 # directories under different names or in different locations.
25463 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
25464 rm -f "$ac_dir/POTFILES"
25465 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
25466 gt_tab=`printf '\t'`
25467 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"
25468 POMAKEFILEDEPS="POTFILES.in"
25469 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
25470 # on $ac_dir but don't depend on user-specified configuration
25471 # parameters.
25472 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
25473 # The LINGUAS file contains the set of available languages.
25474 if test -n "$OBSOLETE_ALL_LINGUAS"; then
25475 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
25476 fi
25477 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
25478 # Hide the ALL_LINGUAS assignment from automake < 1.5.
25479 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
25480 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
25481 else
25482 # The set of available languages was given in configure.in.
25483 # Hide the ALL_LINGUAS assignment from automake < 1.5.
25484 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
25485 fi
25486 # Compute POFILES
25487 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
25488 # Compute UPDATEPOFILES
25489 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
25490 # Compute DUMMYPOFILES
25491 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
25492 # Compute GMOFILES
25493 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
25494 case "$ac_given_srcdir" in
25495 .) srcdirpre= ;;
25496 *) srcdirpre='$(srcdir)/' ;;
25497 esac
25498 POFILES=
25499 UPDATEPOFILES=
25500 DUMMYPOFILES=
25501 GMOFILES=
25502 for lang in $ALL_LINGUAS; do
25503 POFILES="$POFILES $srcdirpre$lang.po"
25504 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
25505 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
25506 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25507 done
25508 # CATALOGS depends on both $ac_dir and the user's LINGUAS
25509 # environment variable.
25510 INST_LINGUAS=
25511 if test -n "$ALL_LINGUAS"; then
25512 for presentlang in $ALL_LINGUAS; do
25513 useit=no
25514 if test "%UNSET%" != "$LINGUAS"; then
25515 desiredlanguages="$LINGUAS"
25516 else
25517 desiredlanguages="$ALL_LINGUAS"
25518 fi
25519 for desiredlang in $desiredlanguages; do
25520 # Use the presentlang catalog if desiredlang is
25521 # a. equal to presentlang, or
25522 # b. a variant of presentlang (because in this case,
25523 # presentlang can be used as a fallback for messages
25524 # which are not translated in the desiredlang catalog).
25525 case "$desiredlang" in
25526 "$presentlang"*) useit=yes;;
25527 esac
25528 done
25529 if test $useit = yes; then
25530 INST_LINGUAS="$INST_LINGUAS $presentlang"
25531 fi
25532 done
25533 fi
25534 CATALOGS=
25535 if test -n "$INST_LINGUAS"; then
25536 for lang in $INST_LINGUAS; do
25537 CATALOGS="$CATALOGS $lang.gmo"
25538 done
25539 fi
25540 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
25541 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"
25542 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
25543 if test -f "$f"; then
25544 case "$f" in
25545 *.orig | *.bak | *~) ;;
25546 *) cat "$f" >> "$ac_dir/Makefile" ;;
25547 esac
25548 fi
25549 done
25550 fi
25551 ;;
25552 esac
25553 done ;;
25554
25555 esac
25556 done # for ac_tag
25557
25558
25559 as_fn_exit 0
25560 _ACEOF
25561 ac_clean_files=$ac_clean_files_save
25562
25563 test $ac_write_fail = 0 ||
25564 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
25565
25566
25567 # configure is writing to config.log, and then calls config.status.
25568 # config.status does its own redirection, appending to config.log.
25569 # Unfortunately, on DOS this fails, as config.log is still kept open
25570 # by configure, so config.status won't be able to write to it; its
25571 # output is simply discarded. So we exec the FD to /dev/null,
25572 # effectively closing config.log, so it can be properly (re)opened and
25573 # appended to by config.status. When coming back to configure, we
25574 # need to make the FD available again.
25575 if test "$no_create" != yes; then
25576 ac_cs_success=:
25577 ac_config_status_args=
25578 test "$silent" = yes &&
25579 ac_config_status_args="$ac_config_status_args --quiet"
25580 exec 5>/dev/null
25581 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25582 exec 5>>config.log
25583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25584 # would make configure fail if this is the last instruction.
25585 $ac_cs_success || as_fn_exit 1
25586 fi
25587 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25589 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25590 fi
25591
25592
25593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
25594 Build options:
25595 Version $VERSION
25596 Install prefix $prefix
25597 Use boost $enable_boost
25598 Use opencc $enable_opencc
25599 Use libpinyin $enable_libpinyin
25600 Build lua extension $enable_lua_extension
25601 Build cloud input mode $enable_cloud_input_mode
25602 Build table input mode $enable_table_input_mode
25603 Build english input mode $enable_english_input_mode
25604 " >&5
25605 printf "%s\n" "
25606 Build options:
25607 Version $VERSION
25608 Install prefix $prefix
25609 Use boost $enable_boost
25610 Use opencc $enable_opencc
25611 Use libpinyin $enable_libpinyin
25612 Build lua extension $enable_lua_extension
25613 Build cloud input mode $enable_cloud_input_mode
25614 Build table input mode $enable_table_input_mode
25615 Build english input mode $enable_english_input_mode
25616 " >&6; }
25617
2020 # if not 1, append datestamp to the version number.
2121 m4_define([ibus_released], [1])
2222 m4_define([ibus_major_version], [1])
23 m4_define([ibus_minor_version], [13])
24 m4_define([ibus_micro_version], [0])
23 m4_define([ibus_minor_version], [14])
24 m4_define([ibus_micro_version], [91])
2525 m4_define(ibus_maybe_datestamp,
2626 m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
2727
6666 fi
6767
6868 PKG_CHECK_MODULES(LIBPINYIN, [
69 libpinyin >= 2.2.1
69 libpinyin >= 2.7.91
7070 ], [enable_libpinyin=yes])
7171
7272 LIBPINYIN_DATADIR=`$PKG_CONFIG --variable=pkgdatadir libpinyin`
+0
-2
data/.gitignore less more
0 db
1 stamp-db
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22
23 VPATH = @srcdir@
24 am__is_gnu_make = { \
25 if test -z '$(MAKELEVEL)'; then \
26 false; \
27 elif test -n '$(MAKE_HOST)'; then \
28 true; \
29 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
30 true; \
31 else \
32 false; \
33 fi; \
34 }
35 am__make_running_with_option = \
36 case $${target_option-} in \
37 ?) ;; \
38 *) echo "am__make_running_with_option: internal error: invalid" \
39 "target option '$${target_option-}' specified" >&2; \
40 exit 1;; \
41 esac; \
42 has_opt=no; \
43 sane_makeflags=$$MAKEFLAGS; \
44 if $(am__is_gnu_make); then \
45 sane_makeflags=$$MFLAGS; \
46 else \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 bs=\\; \
50 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
51 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
52 esac; \
53 fi; \
54 skip_next=no; \
55 strip_trailopt () \
56 { \
57 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
58 }; \
59 for flg in $$sane_makeflags; do \
60 test $$skip_next = yes && { skip_next=no; continue; }; \
61 case $$flg in \
62 *=*|--*) continue;; \
63 -*I) strip_trailopt 'I'; skip_next=yes;; \
64 -*I?*) strip_trailopt 'I';; \
65 -*O) strip_trailopt 'O'; skip_next=yes;; \
66 -*O?*) strip_trailopt 'O';; \
67 -*l) strip_trailopt 'l'; skip_next=yes;; \
68 -*l?*) strip_trailopt 'l';; \
69 -[dEDm]) skip_next=yes;; \
70 -[JT]) skip_next=yes;; \
71 esac; \
72 case $$flg in \
73 *$$target_option*) has_opt=yes; break;; \
74 esac; \
75 done; \
76 test $$has_opt = yes
77 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
78 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
79 pkgdatadir = $(datadir)/@PACKAGE@
80 pkgincludedir = $(includedir)/@PACKAGE@
81 pkglibdir = $(libdir)/@PACKAGE@
82 pkglibexecdir = $(libexecdir)/@PACKAGE@
83 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
84 install_sh_DATA = $(install_sh) -c -m 644
85 install_sh_PROGRAM = $(install_sh) -c
86 install_sh_SCRIPT = $(install_sh) -c
87 INSTALL_HEADER = $(INSTALL_DATA)
88 transform = $(program_transform_name)
89 NORMAL_INSTALL = :
90 PRE_INSTALL = :
91 POST_INSTALL = :
92 NORMAL_UNINSTALL = :
93 PRE_UNINSTALL = :
94 POST_UNINSTALL = :
95 build_triplet = @build@
96 host_triplet = @host@
97 subdir = data
98 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
99 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
100 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
101 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
102 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
103 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
104 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
105 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
106 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
107 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
108 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
109 $(ACLOCAL_M4)
110 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
111 mkinstalldirs = $(install_sh) -d
112 CONFIG_HEADER = $(top_builddir)/config.h
113 CONFIG_CLEAN_FILES =
114 CONFIG_CLEAN_VPATH_FILES =
115 AM_V_P = $(am__v_P_@AM_V@)
116 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
117 am__v_P_0 = false
118 am__v_P_1 = :
119 AM_V_GEN = $(am__v_GEN_@AM_V@)
120 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
121 am__v_GEN_0 = @echo " GEN " $@;
122 am__v_GEN_1 =
123 AM_V_at = $(am__v_at_@AM_V@)
124 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
125 am__v_at_0 = @
126 am__v_at_1 =
127 SOURCES =
128 DIST_SOURCES =
129 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
130 ctags-recursive dvi-recursive html-recursive info-recursive \
131 install-data-recursive install-dvi-recursive \
132 install-exec-recursive install-html-recursive \
133 install-info-recursive install-pdf-recursive \
134 install-ps-recursive install-recursive installcheck-recursive \
135 installdirs-recursive pdf-recursive ps-recursive \
136 tags-recursive uninstall-recursive
137 am__can_run_installinfo = \
138 case $$AM_UPDATE_INFO_DIR in \
139 n|no|NO) false;; \
140 *) (install-info --version) >/dev/null 2>&1;; \
141 esac
142 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
143 am__vpath_adj = case $$p in \
144 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
145 *) f=$$p;; \
146 esac;
147 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
148 am__install_max = 40
149 am__nobase_strip_setup = \
150 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
151 am__nobase_strip = \
152 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
153 am__nobase_list = $(am__nobase_strip_setup); \
154 for p in $$list; do echo "$$p $$p"; done | \
155 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
156 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
157 if (++n[$$2] == $(am__install_max)) \
158 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
159 END { for (dir in files) print dir, files[dir] }'
160 am__base_list = \
161 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
162 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
163 am__uninstall_files_from_dir = { \
164 test -z "$$files" \
165 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
166 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
167 $(am__cd) "$$dir" && rm -f $$files; }; \
168 }
169 am__installdirs = "$(DESTDIR)$(appdatadir)" \
170 "$(DESTDIR)$(auxiliary_dbdir)" "$(DESTDIR)$(desktopdir)" \
171 "$(DESTDIR)$(networkdir)"
172 DATA = $(appdata_DATA) $(auxiliary_db_DATA) $(desktop_DATA) \
173 $(network_DATA)
174 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
175 distclean-recursive maintainer-clean-recursive
176 am__recursive_targets = \
177 $(RECURSIVE_TARGETS) \
178 $(RECURSIVE_CLEAN_TARGETS) \
179 $(am__extra_recursive_targets)
180 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
181 distdir distdir-am
182 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
183 # Read a list of newline-separated strings from the standard input,
184 # and print each of them once, without duplicates. Input order is
185 # *not* preserved.
186 am__uniquify_input = $(AWK) '\
187 BEGIN { nonempty = 0; } \
188 { items[$$0] = 1; nonempty = 1; } \
189 END { if (nonempty) { for (i in items) print i; }; } \
190 '
191 # Make sure the list of sources is unique. This is necessary because,
192 # e.g., the same source file might be shared among _SOURCES variables
193 # for different programs/libraries.
194 am__define_uniq_tagged_files = \
195 list='$(am__tagged_files)'; \
196 unique=`for i in $$list; do \
197 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
198 done | $(am__uniquify_input)`
199 DIST_SUBDIRS = $(SUBDIRS)
200 am__DIST_COMMON = $(srcdir)/Makefile.in
201 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
202 am__relativize = \
203 dir0=`pwd`; \
204 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
205 sed_rest='s,^[^/]*/*,,'; \
206 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
207 sed_butlast='s,/*[^/]*$$,,'; \
208 while test -n "$$dir1"; do \
209 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
210 if test "$$first" != "."; then \
211 if test "$$first" = ".."; then \
212 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
213 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
214 else \
215 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
216 if test "$$first2" = "$$first"; then \
217 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
218 else \
219 dir2="../$$dir2"; \
220 fi; \
221 dir0="$$dir0"/"$$first"; \
222 fi; \
223 fi; \
224 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
225 done; \
226 reldir="$$dir2"
227 ACLOCAL = @ACLOCAL@
228 AMTAR = @AMTAR@
229 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
230 AR = @AR@
231 AUTOCONF = @AUTOCONF@
232 AUTOHEADER = @AUTOHEADER@
233 AUTOMAKE = @AUTOMAKE@
234 AWK = @AWK@
235 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
236 BOOST_ROOT = @BOOST_ROOT@
237 CC = @CC@
238 CCDEPMODE = @CCDEPMODE@
239 CFLAGS = @CFLAGS@
240 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
241 CPP = @CPP@
242 CPPFLAGS = @CPPFLAGS@
243 CSCOPE = @CSCOPE@
244 CTAGS = @CTAGS@
245 CXX = @CXX@
246 CXXCPP = @CXXCPP@
247 CXXDEPMODE = @CXXDEPMODE@
248 CXXFLAGS = @CXXFLAGS@
249 CYGPATH_W = @CYGPATH_W@
250 DEFS = @DEFS@
251 DEPDIR = @DEPDIR@
252 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
253 DLLTOOL = @DLLTOOL@
254 DSYMUTIL = @DSYMUTIL@
255 DUMPBIN = @DUMPBIN@
256 ECHO_C = @ECHO_C@
257 ECHO_N = @ECHO_N@
258 ECHO_T = @ECHO_T@
259 EGREP = @EGREP@
260 ENV = @ENV@
261 ETAGS = @ETAGS@
262 EXEEXT = @EXEEXT@
263 FGREP = @FGREP@
264 FILECMD = @FILECMD@
265 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
266 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
267 GIO2_CFLAGS = @GIO2_CFLAGS@
268 GIO2_LIBS = @GIO2_LIBS@
269 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
270 GMSGFMT = @GMSGFMT@
271 GMSGFMT_015 = @GMSGFMT_015@
272 GREP = @GREP@
273 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
274 IBUS_CFLAGS = @IBUS_CFLAGS@
275 IBUS_LIBS = @IBUS_LIBS@
276 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
277 INSTALL = @INSTALL@
278 INSTALL_DATA = @INSTALL_DATA@
279 INSTALL_PROGRAM = @INSTALL_PROGRAM@
280 INSTALL_SCRIPT = @INSTALL_SCRIPT@
281 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
282 INTLLIBS = @INTLLIBS@
283 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
284 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
285 JSONGLIB_LIBS = @JSONGLIB_LIBS@
286 LD = @LD@
287 LDFLAGS = @LDFLAGS@
288 LIBICONV = @LIBICONV@
289 LIBINTL = @LIBINTL@
290 LIBOBJS = @LIBOBJS@
291 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
292 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
293 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
294 LIBS = @LIBS@
295 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
296 LIBSOUP_LIBS = @LIBSOUP_LIBS@
297 LIBTOOL = @LIBTOOL@
298 LIPO = @LIPO@
299 LN_S = @LN_S@
300 LTLIBICONV = @LTLIBICONV@
301 LTLIBINTL = @LTLIBINTL@
302 LTLIBOBJS = @LTLIBOBJS@
303 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
304 LUA_CFLAGS = @LUA_CFLAGS@
305 LUA_LIBS = @LUA_LIBS@
306 MAINT = @MAINT@
307 MAKEINFO = @MAKEINFO@
308 MANIFEST_TOOL = @MANIFEST_TOOL@
309 MKDIR_P = @MKDIR_P@
310 MSGFMT = @MSGFMT@
311 MSGFMT_015 = @MSGFMT_015@
312 MSGMERGE = @MSGMERGE@
313 NM = @NM@
314 NMEDIT = @NMEDIT@
315 OBJDUMP = @OBJDUMP@
316 OBJEXT = @OBJEXT@
317 OPENCC_CFLAGS = @OPENCC_CFLAGS@
318 OPENCC_LIBS = @OPENCC_LIBS@
319 OTOOL = @OTOOL@
320 OTOOL64 = @OTOOL64@
321 PACKAGE = @PACKAGE@
322 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
323 PACKAGE_NAME = @PACKAGE_NAME@
324 PACKAGE_STRING = @PACKAGE_STRING@
325 PACKAGE_TARNAME = @PACKAGE_TARNAME@
326 PACKAGE_URL = @PACKAGE_URL@
327 PACKAGE_VERSION = @PACKAGE_VERSION@
328 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
329 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
330 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
331 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
332 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
333 PATH_SEPARATOR = @PATH_SEPARATOR@
334 PKG_CONFIG = @PKG_CONFIG@
335 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
336 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
337 POSUB = @POSUB@
338 PYTHON = @PYTHON@
339 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
340 PYTHON_PLATFORM = @PYTHON_PLATFORM@
341 PYTHON_PREFIX = @PYTHON_PREFIX@
342 PYTHON_VERSION = @PYTHON_VERSION@
343 RANLIB = @RANLIB@
344 SED = @SED@
345 SET_MAKE = @SET_MAKE@
346 SHELL = @SHELL@
347 SQLITE3 = @SQLITE3@
348 SQLITE_CFLAGS = @SQLITE_CFLAGS@
349 SQLITE_LIBS = @SQLITE_LIBS@
350 STRIP = @STRIP@
351 USE_NLS = @USE_NLS@
352 VERSION = @VERSION@
353 XGETTEXT = @XGETTEXT@
354 XGETTEXT_015 = @XGETTEXT_015@
355 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
356 abs_builddir = @abs_builddir@
357 abs_srcdir = @abs_srcdir@
358 abs_top_builddir = @abs_top_builddir@
359 abs_top_srcdir = @abs_top_srcdir@
360 ac_ct_AR = @ac_ct_AR@
361 ac_ct_CC = @ac_ct_CC@
362 ac_ct_CXX = @ac_ct_CXX@
363 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
364 am__include = @am__include@
365 am__leading_dot = @am__leading_dot@
366 am__quote = @am__quote@
367 am__tar = @am__tar@
368 am__untar = @am__untar@
369 bindir = @bindir@
370 build = @build@
371 build_alias = @build_alias@
372 build_cpu = @build_cpu@
373 build_os = @build_os@
374 build_vendor = @build_vendor@
375 builddir = @builddir@
376 datadir = @datadir@
377 datarootdir = @datarootdir@
378 docdir = @docdir@
379 dvidir = @dvidir@
380 exec_prefix = @exec_prefix@
381 gsettingsschemadir = @gsettingsschemadir@
382 host = @host@
383 host_alias = @host_alias@
384 host_cpu = @host_cpu@
385 host_os = @host_os@
386 host_vendor = @host_vendor@
387 htmldir = @htmldir@
388 includedir = @includedir@
389 infodir = @infodir@
390 install_sh = @install_sh@
391 libdir = @libdir@
392 libexecdir = @libexecdir@
393 localedir = @localedir@
394 localstatedir = @localstatedir@
395 mandir = @mandir@
396 mkdir_p = @mkdir_p@
397 oldincludedir = @oldincludedir@
398 pdfdir = @pdfdir@
399 pkgpyexecdir = @pkgpyexecdir@
400 pkgpythondir = @pkgpythondir@
401 prefix = @prefix@
402 program_transform_name = @program_transform_name@
403 psdir = @psdir@
404 pyexecdir = @pyexecdir@
405 pythondir = @pythondir@
406 runstatedir = @runstatedir@
407 sbindir = @sbindir@
408 sharedstatedir = @sharedstatedir@
409 srcdir = @srcdir@
410 sysconfdir = @sysconfdir@
411 target_alias = @target_alias@
412 top_build_prefix = @top_build_prefix@
413 top_builddir = @top_builddir@
414 top_srcdir = @top_srcdir@
415 WORDLIST = wordlist
416 ENGLISH_AWK = english.awk
417 ENGLISH_DB = english.db
418 TABLE = strokes
419 TABLE_AWK = table.awk
420 TABLE_DB = table.db
421 network_DATA = network.txt
422 networkdir = $(pkgdatadir)
423 APPDATA_XML = libpinyin.appdata.xml
424 gsettings_SCHEMAS = com.github.libpinyin.ibus-libpinyin.gschema.xml
425 SUBDIRS = \
426 icons \
427 $(NULL)
428
429 auxiliary_db_DATA = \
430 $(ENGLISH_DB) \
431 $(TABLE_DB) \
432 $(NULL)
433
434 auxiliary_dbdir = $(pkgdatadir)/db
435 appdatadir = @datadir@/metainfo
436 appdata_DATA = $(APPDATA_XML)
437 desktop_in_files = \
438 ibus-setup-libbopomofo.desktop.in \
439 ibus-setup-libpinyin.desktop.in \
440 $(NULL)
441
442 desktop_files = $(desktop_in_files:.desktop.in=.desktop)
443 desktopdir = $(datadir)/applications
444 desktop_DATA = $(desktop_files)
445 EXTRA_DIST = \
446 $(desktop_in_files) \
447 $(WORDLIST) \
448 $(ENGLISH_AWK) \
449 $(TABLE) \
450 $(TABLE_AWK) \
451 $(network_DATA) \
452 $(APPDATA_XML) \
453 $(gsettings_SCHEMAS) \
454 $(NULL)
455
456 CLEANFILES = \
457 $(ENGLISH_DB) \
458 $(TABLE_DB) \
459 $(desktop_DATA) \
460 $(NULL)
461
462 all: all-recursive
463
464 .SUFFIXES:
465 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
466 @for dep in $?; do \
467 case '$(am__configure_deps)' in \
468 *$$dep*) \
469 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
470 && { if test -f $@; then exit 0; else break; fi; }; \
471 exit 1;; \
472 esac; \
473 done; \
474 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
475 $(am__cd) $(top_srcdir) && \
476 $(AUTOMAKE) --gnu data/Makefile
477 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
478 @case '$?' in \
479 *config.status*) \
480 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
481 *) \
482 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
483 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
484 esac;
485
486 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
487 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
488
489 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
490 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
491 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
492 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
493 $(am__aclocal_m4_deps):
494
495 mostlyclean-libtool:
496 -rm -f *.lo
497
498 clean-libtool:
499 -rm -rf .libs _libs
500 install-appdataDATA: $(appdata_DATA)
501 @$(NORMAL_INSTALL)
502 @list='$(appdata_DATA)'; test -n "$(appdatadir)" || list=; \
503 if test -n "$$list"; then \
504 echo " $(MKDIR_P) '$(DESTDIR)$(appdatadir)'"; \
505 $(MKDIR_P) "$(DESTDIR)$(appdatadir)" || exit 1; \
506 fi; \
507 for p in $$list; do \
508 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
509 echo "$$d$$p"; \
510 done | $(am__base_list) | \
511 while read files; do \
512 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appdatadir)'"; \
513 $(INSTALL_DATA) $$files "$(DESTDIR)$(appdatadir)" || exit $$?; \
514 done
515
516 uninstall-appdataDATA:
517 @$(NORMAL_UNINSTALL)
518 @list='$(appdata_DATA)'; test -n "$(appdatadir)" || list=; \
519 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
520 dir='$(DESTDIR)$(appdatadir)'; $(am__uninstall_files_from_dir)
521 install-auxiliary_dbDATA: $(auxiliary_db_DATA)
522 @$(NORMAL_INSTALL)
523 @list='$(auxiliary_db_DATA)'; test -n "$(auxiliary_dbdir)" || list=; \
524 if test -n "$$list"; then \
525 echo " $(MKDIR_P) '$(DESTDIR)$(auxiliary_dbdir)'"; \
526 $(MKDIR_P) "$(DESTDIR)$(auxiliary_dbdir)" || exit 1; \
527 fi; \
528 for p in $$list; do \
529 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
530 echo "$$d$$p"; \
531 done | $(am__base_list) | \
532 while read files; do \
533 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(auxiliary_dbdir)'"; \
534 $(INSTALL_DATA) $$files "$(DESTDIR)$(auxiliary_dbdir)" || exit $$?; \
535 done
536
537 uninstall-auxiliary_dbDATA:
538 @$(NORMAL_UNINSTALL)
539 @list='$(auxiliary_db_DATA)'; test -n "$(auxiliary_dbdir)" || list=; \
540 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
541 dir='$(DESTDIR)$(auxiliary_dbdir)'; $(am__uninstall_files_from_dir)
542 install-desktopDATA: $(desktop_DATA)
543 @$(NORMAL_INSTALL)
544 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
545 if test -n "$$list"; then \
546 echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \
547 $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \
548 fi; \
549 for p in $$list; do \
550 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
551 echo "$$d$$p"; \
552 done | $(am__base_list) | \
553 while read files; do \
554 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
555 $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
556 done
557
558 uninstall-desktopDATA:
559 @$(NORMAL_UNINSTALL)
560 @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
561 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
562 dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir)
563 install-networkDATA: $(network_DATA)
564 @$(NORMAL_INSTALL)
565 @list='$(network_DATA)'; test -n "$(networkdir)" || list=; \
566 if test -n "$$list"; then \
567 echo " $(MKDIR_P) '$(DESTDIR)$(networkdir)'"; \
568 $(MKDIR_P) "$(DESTDIR)$(networkdir)" || exit 1; \
569 fi; \
570 for p in $$list; do \
571 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
572 echo "$$d$$p"; \
573 done | $(am__base_list) | \
574 while read files; do \
575 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(networkdir)'"; \
576 $(INSTALL_DATA) $$files "$(DESTDIR)$(networkdir)" || exit $$?; \
577 done
578
579 uninstall-networkDATA:
580 @$(NORMAL_UNINSTALL)
581 @list='$(network_DATA)'; test -n "$(networkdir)" || list=; \
582 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
583 dir='$(DESTDIR)$(networkdir)'; $(am__uninstall_files_from_dir)
584
585 # This directory's subdirectories are mostly independent; you can cd
586 # into them and run 'make' without going through this Makefile.
587 # To change the values of 'make' variables: instead of editing Makefiles,
588 # (1) if the variable is set in 'config.status', edit 'config.status'
589 # (which will cause the Makefiles to be regenerated when you run 'make');
590 # (2) otherwise, pass the desired values on the 'make' command line.
591 $(am__recursive_targets):
592 @fail=; \
593 if $(am__make_keepgoing); then \
594 failcom='fail=yes'; \
595 else \
596 failcom='exit 1'; \
597 fi; \
598 dot_seen=no; \
599 target=`echo $@ | sed s/-recursive//`; \
600 case "$@" in \
601 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
602 *) list='$(SUBDIRS)' ;; \
603 esac; \
604 for subdir in $$list; do \
605 echo "Making $$target in $$subdir"; \
606 if test "$$subdir" = "."; then \
607 dot_seen=yes; \
608 local_target="$$target-am"; \
609 else \
610 local_target="$$target"; \
611 fi; \
612 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
613 || eval $$failcom; \
614 done; \
615 if test "$$dot_seen" = "no"; then \
616 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
617 fi; test -z "$$fail"
618
619 ID: $(am__tagged_files)
620 $(am__define_uniq_tagged_files); mkid -fID $$unique
621 tags: tags-recursive
622 TAGS: tags
623
624 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
625 set x; \
626 here=`pwd`; \
627 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
628 include_option=--etags-include; \
629 empty_fix=.; \
630 else \
631 include_option=--include; \
632 empty_fix=; \
633 fi; \
634 list='$(SUBDIRS)'; for subdir in $$list; do \
635 if test "$$subdir" = .; then :; else \
636 test ! -f $$subdir/TAGS || \
637 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
638 fi; \
639 done; \
640 $(am__define_uniq_tagged_files); \
641 shift; \
642 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
643 test -n "$$unique" || unique=$$empty_fix; \
644 if test $$# -gt 0; then \
645 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
646 "$$@" $$unique; \
647 else \
648 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
649 $$unique; \
650 fi; \
651 fi
652 ctags: ctags-recursive
653
654 CTAGS: ctags
655 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
656 $(am__define_uniq_tagged_files); \
657 test -z "$(CTAGS_ARGS)$$unique" \
658 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
659 $$unique
660
661 GTAGS:
662 here=`$(am__cd) $(top_builddir) && pwd` \
663 && $(am__cd) $(top_srcdir) \
664 && gtags -i $(GTAGS_ARGS) "$$here"
665 cscopelist: cscopelist-recursive
666
667 cscopelist-am: $(am__tagged_files)
668 list='$(am__tagged_files)'; \
669 case "$(srcdir)" in \
670 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
671 *) sdir=$(subdir)/$(srcdir) ;; \
672 esac; \
673 for i in $$list; do \
674 if test -f "$$i"; then \
675 echo "$(subdir)/$$i"; \
676 else \
677 echo "$$sdir/$$i"; \
678 fi; \
679 done >> $(top_builddir)/cscope.files
680
681 distclean-tags:
682 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
683 distdir: $(BUILT_SOURCES)
684 $(MAKE) $(AM_MAKEFLAGS) distdir-am
685
686 distdir-am: $(DISTFILES)
687 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
688 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
689 list='$(DISTFILES)'; \
690 dist_files=`for file in $$list; do echo $$file; done | \
691 sed -e "s|^$$srcdirstrip/||;t" \
692 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
693 case $$dist_files in \
694 */*) $(MKDIR_P) `echo "$$dist_files" | \
695 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
696 sort -u` ;; \
697 esac; \
698 for file in $$dist_files; do \
699 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
700 if test -d $$d/$$file; then \
701 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
702 if test -d "$(distdir)/$$file"; then \
703 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
704 fi; \
705 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
706 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
707 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
708 fi; \
709 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
710 else \
711 test -f "$(distdir)/$$file" \
712 || cp -p $$d/$$file "$(distdir)/$$file" \
713 || exit 1; \
714 fi; \
715 done
716 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
717 if test "$$subdir" = .; then :; else \
718 $(am__make_dryrun) \
719 || test -d "$(distdir)/$$subdir" \
720 || $(MKDIR_P) "$(distdir)/$$subdir" \
721 || exit 1; \
722 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
723 $(am__relativize); \
724 new_distdir=$$reldir; \
725 dir1=$$subdir; dir2="$(top_distdir)"; \
726 $(am__relativize); \
727 new_top_distdir=$$reldir; \
728 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
729 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
730 ($(am__cd) $$subdir && \
731 $(MAKE) $(AM_MAKEFLAGS) \
732 top_distdir="$$new_top_distdir" \
733 distdir="$$new_distdir" \
734 am__remove_distdir=: \
735 am__skip_length_check=: \
736 am__skip_mode_fix=: \
737 distdir) \
738 || exit 1; \
739 fi; \
740 done
741 check-am: all-am
742 check: check-recursive
743 all-am: Makefile $(DATA)
744 installdirs: installdirs-recursive
745 installdirs-am:
746 for dir in "$(DESTDIR)$(appdatadir)" "$(DESTDIR)$(auxiliary_dbdir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(networkdir)"; do \
747 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
748 done
749 install: install-recursive
750 install-exec: install-exec-recursive
751 install-data: install-data-recursive
752 uninstall: uninstall-recursive
753
754 install-am: all-am
755 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
756
757 installcheck: installcheck-recursive
758 install-strip:
759 if test -z '$(STRIP)'; then \
760 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
761 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
762 install; \
763 else \
764 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
765 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
766 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
767 fi
768 mostlyclean-generic:
769
770 clean-generic:
771 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
772
773 distclean-generic:
774 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
775 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
776
777 maintainer-clean-generic:
778 @echo "This command is intended for maintainers to use"
779 @echo "it deletes files that may require special tools to rebuild."
780 clean: clean-recursive
781
782 clean-am: clean-generic clean-libtool mostlyclean-am
783
784 distclean: distclean-recursive
785 -rm -f Makefile
786 distclean-am: clean-am distclean-generic distclean-tags
787
788 dvi: dvi-recursive
789
790 dvi-am:
791
792 html: html-recursive
793
794 html-am:
795
796 info: info-recursive
797
798 info-am:
799
800 install-data-am: install-appdataDATA install-auxiliary_dbDATA \
801 install-desktopDATA install-networkDATA
802
803 install-dvi: install-dvi-recursive
804
805 install-dvi-am:
806
807 install-exec-am:
808
809 install-html: install-html-recursive
810
811 install-html-am:
812
813 install-info: install-info-recursive
814
815 install-info-am:
816
817 install-man:
818
819 install-pdf: install-pdf-recursive
820
821 install-pdf-am:
822
823 install-ps: install-ps-recursive
824
825 install-ps-am:
826
827 installcheck-am:
828
829 maintainer-clean: maintainer-clean-recursive
830 -rm -f Makefile
831 maintainer-clean-am: distclean-am maintainer-clean-generic
832
833 mostlyclean: mostlyclean-recursive
834
835 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
836
837 pdf: pdf-recursive
838
839 pdf-am:
840
841 ps: ps-recursive
842
843 ps-am:
844
845 uninstall-am: uninstall-appdataDATA uninstall-auxiliary_dbDATA \
846 uninstall-desktopDATA uninstall-networkDATA
847
848 .MAKE: $(am__recursive_targets) install-am install-strip
849
850 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
851 check-am clean clean-generic clean-libtool cscopelist-am ctags \
852 ctags-am distclean distclean-generic distclean-libtool \
853 distclean-tags distdir dvi dvi-am html html-am info info-am \
854 install install-am install-appdataDATA \
855 install-auxiliary_dbDATA install-data install-data-am \
856 install-desktopDATA install-dvi install-dvi-am install-exec \
857 install-exec-am install-html install-html-am install-info \
858 install-info-am install-man install-networkDATA install-pdf \
859 install-pdf-am install-ps install-ps-am install-strip \
860 installcheck installcheck-am installdirs installdirs-am \
861 maintainer-clean maintainer-clean-generic mostlyclean \
862 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
863 tags tags-am uninstall uninstall-am uninstall-appdataDATA \
864 uninstall-auxiliary_dbDATA uninstall-desktopDATA \
865 uninstall-networkDATA
866
867 .PRECIOUS: Makefile
868
869
870 @GSETTINGS_RULES@
871
872 $(ENGLISH_DB): $(WORDLIST) $(ENGLISH_AWK)
873 $(AM_V_GEN) \
874 $(RM) $@; \
875 $(AWK) -f $(srcdir)/$(ENGLISH_AWK) $(srcdir)/$(WORDLIST) | @SQLITE3@ $@ || \
876 ( $(RM) $@ ; exit 1 )
877
878 $(TABLE_DB): $(TABLE) $(TABLE_AWK)
879 $(AM_V_GEN) \
880 $(RM) $@; \
881 $(AWK) -f $(srcdir)/$(TABLE_AWK) $(srcdir)/$(TABLE) | @SQLITE3@ $@ || \
882 ( $(RM) $@ ; exit 1 )
883
884 %.desktop: %.desktop.in
885 $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@.tmp
886 sed -e 's|@libexecdir[@]|$(libexecdir)|g' \
887 -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' $@.tmp > $@
888 rm $@.tmp
889
890 # Tell versions [3.59,3.63) of GNU make to not export all variables.
891 # Otherwise a system limit (for SysV at least) may be exceeded.
892 .NOEXPORT:
+0
-55
data/db/android/Makefile.am less more
0 # vim:set noet ts=4:
1 #
2 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
3 #
4 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
5 #
6 ## This program is free software: you can redistribute it and/or modify
7 ## it 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,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU 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 create_scripts = \
20 create_db.py \
21 id.py \
22 pydict.py \
23 valid_hanzi.py \
24 $(NULL)
25 data_files = \
26 README \
27 rawdict_utf16_65105_freq.txt \
28 $(NULL)
29
30 if IBUS_BUILD_DB_ANDROID
31 main_db_DATA = \
32 android.db \
33 $(NULL)
34 main_dbdir = $(pkgdatadir)/db
35 endif
36
37 android.db: $(android_raw_data) $(create_scripts)
38 $(AM_V_GEN) \
39 $(RM) $@; \
40 $(srcdir)/create_db.py $(srcdir)/rawdict_utf16_65105_freq.txt | @SQLITE3@ $@ || \
41 ( $(RM) $@ ; exit 1 )
42
43 EXTRA_DIST = \
44 $(data_files) \
45 $(create_scripts) \
46 $(NULL)
47
48 CLEANFILES = \
49 $(main_db_DATA) \
50 $(NULL)
51
52 DISTCLEANFILES = \
53 $(NULL)
54
+0
-2
data/db/android/README less more
0 The data is from android open source project.
1 https://android.googlesource.com/platform/packages/inputmethods/PinyinIME
+0
-11
data/db/android/create_valid_hanzi.py less more
0 def get_validate_hanzi():
1 with open("valid_utf16.txt", encoding="utf16") as file:
2 return set(file.read())
3
4
5 if __name__ == "__main__":
6 hanzi = get_validate_hanzi()
7 print("valid_hanzi = set([")
8 for c in sorted(hanzi):
9 print(f' u"{c}",')
10 print("])")
data/db/android/rawdict_utf16_65105_freq.txt less more
Binary diff not shown
+0
-16468
data/db/android/valid_hanzi.py less more
0 valid_hanzi = set([
1 u"〇",
2 u"一",
3 u"丁",
4 u"七",
5 u"万",
6 u"丈",
7 u"三",
8 u"上",
9 u"下",
10 u"丌",
11 u"不",
12 u"与",
13 u"丏",
14 u"丐",
15 u"丑",
16 u"专",
17 u"且",
18 u"丕",
19 u"世",
20 u"丗",
21 u"丘",
22 u"丙",
23 u"业",
24 u"丛",
25 u"东",
26 u"丝",
27 u"丞",
28 u"丟",
29 u"両",
30 u"丢",
31 u"两",
32 u"严",
33 u"並",
34 u"丧",
35 u"丨",
36 u"个",
37 u"丫",
38 u"丬",
39 u"中",
40 u"丮",
41 u"丰",
42 u"丱",
43 u"串",
44 u"丳",
45 u"临",
46 u"丶",
47 u"丸",
48 u"丹",
49 u"为",
50 u"主",
51 u"丼",
52 u"丽",
53 u"举",
54 u"丿",
55 u"乂",
56 u"乃",
57 u"久",
58 u"乇",
59 u"么",
60 u"义",
61 u"之",
62 u"乌",
63 u"乍",
64 u"乎",
65 u"乏",
66 u"乐",
67 u"乒",
68 u"乓",
69 u"乔",
70 u"乕",
71 u"乖",
72 u"乗",
73 u"乘",
74 u"乙",
75 u"乜",
76 u"九",
77 u"乞",
78 u"也",
79 u"习",
80 u"乡",
81 u"乢",
82 u"书",
83 u"乩",
84 u"买",
85 u"乱",
86 u"乳",
87 u"乷",
88 u"乾",
89 u"乿",
90 u"亀",
91 u"亂",
92 u"亃",
93 u"亄",
94 u"亅",
95 u"了",
96 u"予",
97 u"争",
98 u"亊",
99 u"事",
100 u"二",
101 u"亍",
102 u"于",
103 u"亏",
104 u"亐",
105 u"云",
106 u"互",
107 u"亓",
108 u"五",
109 u"井",
110 u"亘",
111 u"亙",
112 u"亚",
113 u"些",
114 u"亜",
115 u"亞",
116 u"亟",
117 u"亠",
118 u"亡",
119 u"亢",
120 u"交",
121 u"亥",
122 u"亦",
123 u"产",
124 u"亨",
125 u"亩",
126 u"享",
127 u"京",
128 u"亭",
129 u"亮",
130 u"亰",
131 u"亲",
132 u"亳",
133 u"亵",
134 u"亶",
135 u"亹",
136 u"人",
137 u"亻",
138 u"亼",
139 u"亿",
140 u"什",
141 u"仁",
142 u"仂",
143 u"仃",
144 u"仄",
145 u"仅",
146 u"仆",
147 u"仇",
148 u"仈",
149 u"仉",
150 u"今",
151 u"介",
152 u"仍",
153 u"从",
154 u"仏",
155 u"仑",
156 u"仓",
157 u"仔",
158 u"仕",
159 u"他",
160 u"仗",
161 u"付",
162 u"仙",
163 u"仚",
164 u"仜",
165 u"仝",
166 u"仞",
167 u"仟",
168 u"仡",
169 u"代",
170 u"令",
171 u"以",
172 u"仨",
173 u"仩",
174 u"仪",
175 u"仫",
176 u"们",
177 u"仭",
178 u"仮",
179 u"仰",
180 u"仱",
181 u"仲",
182 u"仳",
183 u"仴",
184 u"仵",
185 u"件",
186 u"价",
187 u"任",
188 u"仼",
189 u"份",
190 u"仿",
191 u"伀",
192 u"企",
193 u"伂",
194 u"伃",
195 u"伄",
196 u"伅",
197 u"伈",
198 u"伉",
199 u"伊",
200 u"伋",
201 u"伍",
202 u"伎",
203 u"伏",
204 u"伐",
205 u"休",
206 u"伒",
207 u"伓",
208 u"伔",
209 u"伕",
210 u"众",
211 u"优",
212 u"伙",
213 u"会",
214 u"伛",
215 u"伜",
216 u"伝",
217 u"伞",
218 u"伟",
219 u"传",
220 u"伢",
221 u"伤",
222 u"伥",
223 u"伦",
224 u"伧",
225 u"伪",
226 u"伫",
227 u"伬",
228 u"伭",
229 u"伯",
230 u"估",
231 u"伲",
232 u"伳",
233 u"伴",
234 u"伶",
235 u"伸",
236 u"伹",
237 u"伺",
238 u"伻",
239 u"似",
240 u"伽",
241 u"伾",
242 u"伿",
243 u"佁",
244 u"佃",
245 u"但",
246 u"佇",
247 u"佈",
248 u"佉",
249 u"佌",
250 u"位",
251 u"低",
252 u"住",
253 u"佐",
254 u"佑",
255 u"佒",
256 u"体",
257 u"佔",
258 u"何",
259 u"佖",
260 u"佗",
261 u"佘",
262 u"余",
263 u"佚",
264 u"佛",
265 u"作",
266 u"佝",
267 u"佞",
268 u"佟",
269 u"你",
270 u"佡",
271 u"佢",
272 u"佣",
273 u"佤",
274 u"佥",
275 u"佧",
276 u"佩",
277 u"佪",
278 u"佫",
279 u"佬",
280 u"佮",
281 u"佯",
282 u"佰",
283 u"佳",
284 u"佴",
285 u"併",
286 u"佶",
287 u"佷",
288 u"佸",
289 u"佹",
290 u"佺",
291 u"佻",
292 u"佼",
293 u"佽",
294 u"佾",
295 u"使",
296 u"侀",
297 u"侁",
298 u"侂",
299 u"侃",
300 u"侄",
301 u"侅",
302 u"來",
303 u"侇",
304 u"侈",
305 u"侉",
306 u"侊",
307 u"例",
308 u"侍",
309 u"侏",
310 u"侐",
311 u"侑",
312 u"侒",
313 u"侔",
314 u"侕",
315 u"侖",
316 u"侗",
317 u"侘",
318 u"侚",
319 u"供",
320 u"侜",
321 u"依",
322 u"侞",
323 u"侠",
324 u"価",
325 u"侣",
326 u"侥",
327 u"侦",
328 u"侧",
329 u"侨",
330 u"侩",
331 u"侪",
332 u"侫",
333 u"侬",
334 u"侭",
335 u"侮",
336 u"侯",
337 u"侲",
338 u"侳",
339 u"侵",
340 u"侶",
341 u"侷",
342 u"侹",
343 u"侺",
344 u"侻",
345 u"便",
346 u"俀",
347 u"俁",
348 u"係",
349 u"促",
350 u"俄",
351 u"俅",
352 u"俇",
353 u"俉",
354 u"俊",
355 u"俋",
356 u"俍",
357 u"俎",
358 u"俏",
359 u"俐",
360 u"俑",
361 u"俓",
362 u"俔",
363 u"俖",
364 u"俗",
365 u"俘",
366 u"俙",
367 u"俚",
368 u"俛",
369 u"俜",
370 u"保",
371 u"俞",
372 u"俟",
373 u"俠",
374 u"信",
375 u"俣",
376 u"俤",
377 u"俥",
378 u"俦",
379 u"俨",
380 u"俩",
381 u"俪",
382 u"俬",
383 u"俭",
384 u"修",
385 u"俯",
386 u"俱",
387 u"俳",
388 u"俴",
389 u"俵",
390 u"俶",
391 u"俷",
392 u"俸",
393 u"俺",
394 u"俾",
395 u"俿",
396 u"倀",
397 u"倂",
398 u"倅",
399 u"倆",
400 u"倇",
401 u"倉",
402 u"個",
403 u"倌",
404 u"倍",
405 u"倎",
406 u"倏",
407 u"們",
408 u"倒",
409 u"倓",
410 u"倔",
411 u"倕",
412 u"倖",
413 u"倗",
414 u"倘",
415 u"候",
416 u"倚",
417 u"倛",
418 u"倜",
419 u"倞",
420 u"借",
421 u"倠",
422 u"倡",
423 u"倢",
424 u"倣",
425 u"値",
426 u"倥",
427 u"倦",
428 u"倧",
429 u"倨",
430 u"倩",
431 u"倪",
432 u"倫",
433 u"倬",
434 u"倭",
435 u"倮",
436 u"倯",
437 u"倰",
438 u"倱",
439 u"倳",
440 u"倵",
441 u"倶",
442 u"倷",
443 u"倹",
444 u"债",
445 u"倻",
446 u"值",
447 u"倾",
448 u"偀",
449 u"偁",
450 u"偂",
451 u"偃",
452 u"偅",
453 u"偆",
454 u"假",
455 u"偈",
456 u"偉",
457 u"偊",
458 u"偋",
459 u"偌",
460 u"偍",
461 u"偎",
462 u"偏",
463 u"偐",
464 u"偑",
465 u"偓",
466 u"偕",
467 u"偖",
468 u"偗",
469 u"做",
470 u"偛",
471 u"停",
472 u"偝",
473 u"偞",
474 u"偟",
475 u"偠",
476 u"偡",
477 u"偢",
478 u"偣",
479 u"偤",
480 u"健",
481 u"偨",
482 u"偩",
483 u"偪",
484 u"偫",
485 u"偬",
486 u"偭",
487 u"偮",
488 u"偯",
489 u"偰",
490 u"偲",
491 u"偳",
492 u"側",
493 u"偵",
494 u"偶",
495 u"偷",
496 u"偸",
497 u"偺",
498 u"偻",
499 u"偽",
500 u"偾",
501 u"偿",
502 u"傀",
503 u"傂",
504 u"傃",
505 u"傅",
506 u"傇",
507 u"傈",
508 u"傋",
509 u"傌",
510 u"傍",
511 u"傎",
512 u"傑",
513 u"傒",
514 u"傔",
515 u"傕",
516 u"傖",
517 u"傘",
518 u"備",
519 u"傚",
520 u"傛",
521 u"傜",
522 u"傝",
523 u"傞",
524 u"傢",
525 u"傣",
526 u"傥",
527 u"傧",
528 u"储",
529 u"傩",
530 u"催",
531 u"傭",
532 u"傮",
533 u"傯",
534 u"傰",
535 u"傱",
536 u"傲",
537 u"傳",
538 u"傴",
539 u"債",
540 u"傶",
541 u"傷",
542 u"傸",
543 u"傺",
544 u"傻",
545 u"傽",
546 u"傾",
547 u"傿",
548 u"僁",
549 u"僂",
550 u"僄",
551 u"僅",
552 u"僆",
553 u"僇",
554 u"僈",
555 u"僉",
556 u"僊",
557 u"僋",
558 u"働",
559 u"僎",
560 u"像",
561 u"僑",
562 u"僓",
563 u"僔",
564 u"僕",
565 u"僖",
566 u"僗",
567 u"僘",
568 u"僚",
569 u"僛",
570 u"僝",
571 u"僞",
572 u"僠",
573 u"僣",
574 u"僤",
575 u"僥",
576 u"僦",
577 u"僧",
578 u"僨",
579 u"僩",
580 u"僪",
581 u"僬",
582 u"僭",
583 u"僮",
584 u"僯",
585 u"僰",
586 u"僱",
587 u"僳",
588 u"僴",
589 u"僵",
590 u"僶",
591 u"僸",
592 u"價",
593 u"僻",
594 u"僽",
595 u"僾",
596 u"僿",
597 u"儀",
598 u"儁",
599 u"儂",
600 u"儃",
601 u"億",
602 u"儅",
603 u"儆",
604 u"儇",
605 u"儈",
606 u"儉",
607 u"儊",
608 u"儋",
609 u"儌",
610 u"儐",
611 u"儑",
612 u"儒",
613 u"儓",
614 u"儔",
615 u"儕",
616 u"儖",
617 u"儗",
618 u"儘",
619 u"儚",
620 u"儜",
621 u"償",
622 u"儠",
623 u"儡",
624 u"儢",
625 u"儤",
626 u"儥",
627 u"儦",
628 u"儩",
629 u"優",
630 u"儭",
631 u"儮",
632 u"儰",
633 u"儱",
634 u"儲",
635 u"儳",
636 u"儴",
637 u"儵",
638 u"儷",
639 u"儸",
640 u"儹",
641 u"儺",
642 u"儻",
643 u"儼",
644 u"儽",
645 u"儿",
646 u"兀",
647 u"允",
648 u"元",
649 u"兄",
650 u"充",
651 u"兆",
652 u"兇",
653 u"先",
654 u"光",
655 u"兊",
656 u"克",
657 u"兌",
658 u"免",
659 u"兎",
660 u"児",
661 u"兑",
662 u"兒",
663 u"兔",
664 u"兕",
665 u"兖",
666 u"兗",
667 u"党",
668 u"兜",
669 u"兟",
670 u"兢",
671 u"兤",
672 u"入",
673 u"內",
674 u"全",
675 u"兩",
676 u"兪",
677 u"八",
678 u"公",
679 u"六",
680 u"兮",
681 u"兰",
682 u"共",
683 u"关",
684 u"兴",
685 u"兵",
686 u"其",
687 u"具",
688 u"典",
689 u"兹",
690 u"养",
691 u"兼",
692 u"兽",
693 u"冀",
694 u"冁",
695 u"冂",
696 u"内",
697 u"円",
698 u"冇",
699 u"冈",
700 u"冉",
701 u"冊",
702 u"册",
703 u"再",
704 u"冏",
705 u"冐",
706 u"冑",
707 u"冒",
708 u"冓",
709 u"冔",
710 u"冕",
711 u"冗",
712 u"冘",
713 u"写",
714 u"军",
715 u"农",
716 u"冝",
717 u"冞",
718 u"冠",
719 u"冢",
720 u"冤",
721 u"冥",
722 u"冦",
723 u"冨",
724 u"冩",
725 u"冪",
726 u"冬",
727 u"冯",
728 u"冰",
729 u"冱",
730 u"冲",
731 u"决",
732 u"冴",
733 u"况",
734 u"冶",
735 u"冷",
736 u"冹",
737 u"冻",
738 u"冼",
739 u"冽",
740 u"冾",
741 u"净",
742 u"凄",
743 u"凅",
744 u"准",
745 u"凇",
746 u"凈",
747 u"凉",
748 u"凊",
749 u"凋",
750 u"凌",
751 u"凍",
752 u"凎",
753 u"减",
754 u"凐",
755 u"凑",
756 u"凔",
757 u"凖",
758 u"凗",
759 u"凘",
760 u"凛",
761 u"凜",
762 u"凝",
763 u"凞",
764 u"几",
765 u"凡",
766 u"凤",
767 u"処",
768 u"凧",
769 u"凩",
770 u"凪",
771 u"凫",
772 u"凬",
773 u"凭",
774 u"凯",
775 u"凰",
776 u"凱",
777 u"凳",
778 u"凶",
779 u"凸",
780 u"凹",
781 u"出",
782 u"击",
783 u"凼",
784 u"函",
785 u"凾",
786 u"凿",
787 u"刀",
788 u"刁",
789 u"刂",
790 u"刃",
791 u"刄",
792 u"分",
793 u"切",
794 u"刈",
795 u"刉",
796 u"刊",
797 u"刋",
798 u"刌",
799 u"刍",
800 u"刎",
801 u"刐",
802 u"刑",
803 u"划",
804 u"刓",
805 u"刔",
806 u"刕",
807 u"刖",
808 u"列",
809 u"刘",
810 u"则",
811 u"刚",
812 u"创",
813 u"刜",
814 u"初",
815 u"刞",
816 u"删",
817 u"刡",
818 u"判",
819 u"別",
820 u"刧",
821 u"刨",
822 u"利",
823 u"刪",
824 u"别",
825 u"刭",
826 u"刮",
827 u"到",
828 u"刱",
829 u"刲",
830 u"刳",
831 u"刵",
832 u"制",
833 u"刷",
834 u"券",
835 u"刹",
836 u"刺",
837 u"刻",
838 u"刽",
839 u"刿",
840 u"剀",
841 u"剁",
842 u"剂",
843 u"剃",
844 u"剄",
845 u"剆",
846 u"則",
847 u"剉",
848 u"削",
849 u"剋",
850 u"剌",
851 u"前",
852 u"剎",
853 u"剏",
854 u"剐",
855 u"剑",
856 u"剒",
857 u"剔",
858 u"剕",
859 u"剖",
860 u"剚",
861 u"剛",
862 u"剜",
863 u"剝",
864 u"剞",
865 u"剟",
866 u"剡",
867 u"剢",
868 u"剣",
869 u"剤",
870 u"剥",
871 u"剧",
872 u"剩",
873 u"剪",
874 u"剫",
875 u"剬",
876 u"剭",
877 u"剮",
878 u"副",
879 u"剰",
880 u"剱",
881 u"割",
882 u"剳",
883 u"剴",
884 u"創",
885 u"剷",
886 u"剸",
887 u"剺",
888 u"剻",
889 u"剼",
890 u"剽",
891 u"剿",
892 u"劀",
893 u"劁",
894 u"劂",
895 u"劃",
896 u"劄",
897 u"劇",
898 u"劈",
899 u"劉",
900 u"劊",
901 u"劋",
902 u"劌",
903 u"劍",
904 u"劐",
905 u"劑",
906 u"劒",
907 u"劓",
908 u"劔",
909 u"劖",
910 u"劗",
911 u"劘",
912 u"劙",
913 u"力",
914 u"劜",
915 u"劝",
916 u"办",
917 u"功",
918 u"加",
919 u"务",
920 u"劢",
921 u"劣",
922 u"劤",
923 u"劦",
924 u"动",
925 u"助",
926 u"努",
927 u"劫",
928 u"劬",
929 u"劭",
930 u"劮",
931 u"劯",
932 u"励",
933 u"劲",
934 u"劳",
935 u"労",
936 u"劵",
937 u"効",
938 u"劻",
939 u"劼",
940 u"劾",
941 u"势",
942 u"勀",
943 u"勁",
944 u"勂",
945 u"勃",
946 u"勅",
947 u"勇",
948 u"勉",
949 u"勋",
950 u"勍",
951 u"勐",
952 u"勒",
953 u"勓",
954 u"動",
955 u"勖",
956 u"勗",
957 u"勘",
958 u"務",
959 u"勛",
960 u"勝",
961 u"勞",
962 u"募",
963 u"勠",
964 u"勢",
965 u"勣",
966 u"勤",
967 u"勦",
968 u"勧",
969 u"勩",
970 u"勫",
971 u"勯",
972 u"勰",
973 u"勱",
974 u"勲",
975 u"勳",
976 u"勴",
977 u"勵",
978 u"勷",
979 u"勸",
980 u"勹",
981 u"勺",
982 u"勻",
983 u"勼",
984 u"勾",
985 u"勿",
986 u"匀",
987 u"匂",
988 u"包",
989 u"匆",
990 u"匇",
991 u"匈",
992 u"匉",
993 u"匊",
994 u"匋",
995 u"匍",
996 u"匎",
997 u"匏",
998 u"匐",
999 u"匑",
1000 u"匒",
1001 u"匕",
1002 u"化",
1003 u"北",
1004 u"匙",
1005 u"匜",
1006 u"匝",
1007 u"匟",
1008 u"匠",
1009 u"匡",
1010 u"匢",
1011 u"匣",
1012 u"匤",
1013 u"匦",
1014 u"匪",
1015 u"匭",
1016 u"匮",
1017 u"匯",
1018 u"匰",
1019 u"匱",
1020 u"匳",
1021 u"匴",
1022 u"匷",
1023 u"匸",
1024 u"匹",
1025 u"区",
1026 u"医",
1027 u"匼",
1028 u"匽",
1029 u"匾",
1030 u"匿",
1031 u"區",
1032 u"十",
1033 u"千",
1034 u"卄",
1035 u"卅",
1036 u"卆",
1037 u"升",
1038 u"午",
1039 u"卉",
1040 u"半",
1041 u"卌",
1042 u"卍",
1043 u"华",
1044 u"协",
1045 u"卑",
1046 u"卒",
1047 u"卓",
1048 u"協",
1049 u"单",
1050 u"卖",
1051 u"南",
1052 u"単",
1053 u"博",
1054 u"卜",
1055 u"卞",
1056 u"卟",
1057 u"占",
1058 u"卡",
1059 u"卢",
1060 u"卣",
1061 u"卤",
1062 u"卦",
1063 u"卧",
1064 u"卨",
1065 u"卩",
1066 u"卫",
1067 u"卬",
1068 u"卮",
1069 u"卯",
1070 u"印",
1071 u"危",
1072 u"卲",
1073 u"即",
1074 u"却",
1075 u"卵",
1076 u"卷",
1077 u"卸",
1078 u"卹",
1079 u"卺",
1080 u"卻",
1081 u"卼",
1082 u"卽",
1083 u"卿",
1084 u"厂",
1085 u"厄",
1086 u"厅",
1087 u"历",
1088 u"厉",
1089 u"厊",
1090 u"压",
1091 u"厌",
1092 u"厍",
1093 u"厎",
1094 u"厏",
1095 u"厒",
1096 u"厓",
1097 u"厔",
1098 u"厕",
1099 u"厖",
1100 u"厗",
1101 u"厘",
1102 u"厙",
1103 u"厚",
1104 u"厜",
1105 u"厝",
1106 u"厞",
1107 u"原",
1108 u"厠",
1109 u"厢",
1110 u"厣",
1111 u"厤",
1112 u"厥",
1113 u"厦",
1114 u"厧",
1115 u"厨",
1116 u"厩",
1117 u"厬",
1118 u"厭",
1119 u"厮",
1120 u"厰",
1121 u"厲",
1122 u"厳",
1123 u"厴",
1124 u"厶",
1125 u"厹",
1126 u"去",
1127 u"县",
1128 u"叁",
1129 u"参",
1130 u"參",
1131 u"又",
1132 u"叉",
1133 u"及",
1134 u"友",
1135 u"双",
1136 u"反",
1137 u"収",
1138 u"发",
1139 u"叔",
1140 u"取",
1141 u"受",
1142 u"变",
1143 u"叙",
1144 u"叛",
1145 u"叝",
1146 u"叟",
1147 u"叠",
1148 u"叡",
1149 u"叢",
1150 u"口",
1151 u"古",
1152 u"句",
1153 u"另",
1154 u"叨",
1155 u"叩",
1156 u"只",
1157 u"叫",
1158 u"召",
1159 u"叭",
1160 u"叮",
1161 u"可",
1162 u"台",
1163 u"叱",
1164 u"史",
1165 u"右",
1166 u"叵",
1167 u"叶",
1168 u"号",
1169 u"司",
1170 u"叹",
1171 u"叺",
1172 u"叻",
1173 u"叼",
1174 u"叽",
1175 u"吁",
1176 u"吃",
1177 u"各",
1178 u"吆",
1179 u"吇",
1180 u"合",
1181 u"吉",
1182 u"吊",
1183 u"吋",
1184 u"同",
1185 u"名",
1186 u"后",
1187 u"吏",
1188 u"吐",
1189 u"向",
1190 u"吒",
1191 u"吓",
1192 u"吕",
1193 u"吖",
1194 u"吗",
1195 u"吘",
1196 u"吙",
1197 u"君",
1198 u"吜",
1199 u"吝",
1200 u"吞",
1201 u"吟",
1202 u"吠",
1203 u"吡",
1204 u"吣",
1205 u"吤",
1206 u"吥",
1207 u"否",
1208 u"吧",
1209 u"吨",
1210 u"吩",
1211 u"吪",
1212 u"含",
1213 u"听",
1214 u"吭",
1215 u"吮",
1216 u"启",
1217 u"吰",
1218 u"吱",
1219 u"吲",
1220 u"吳",
1221 u"吴",
1222 u"吵",
1223 u"吶",
1224 u"吷",
1225 u"吸",
1226 u"吹",
1227 u"吻",
1228 u"吼",
1229 u"吽",
1230 u"吾",
1231 u"呀",
1232 u"呁",
1233 u"呂",
1234 u"呃",
1235 u"呅",
1236 u"呆",
1237 u"呇",
1238 u"呈",
1239 u"呉",
1240 u"告",
1241 u"呋",
1242 u"呎",
1243 u"呏",
1244 u"呐",
1245 u"呑",
1246 u"呒",
1247 u"呓",
1248 u"呔",
1249 u"呕",
1250 u"呖",
1251 u"呗",
1252 u"员",
1253 u"呙",
1254 u"呛",
1255 u"呜",
1256 u"呟",
1257 u"呠",
1258 u"呡",
1259 u"呢",
1260 u"呣",
1261 u"呤",
1262 u"呥",
1263 u"呦",
1264 u"呧",
1265 u"周",
1266 u"呪",
1267 u"呫",
1268 u"呬",
1269 u"呯",
1270 u"呰",
1271 u"呱",
1272 u"呲",
1273 u"味",
1274 u"呴",
1275 u"呵",
1276 u"呶",
1277 u"呷",
1278 u"呸",
1279 u"呺",
1280 u"呻",
1281 u"呼",
1282 u"命",
1283 u"呾",
1284 u"呿",
1285 u"咀",
1286 u"咁",
1287 u"咂",
1288 u"咄",
1289 u"咆",
1290 u"咇",
1291 u"咈",
1292 u"咊",
1293 u"咋",
1294 u"和",
1295 u"咍",
1296 u"咎",
1297 u"咏",
1298 u"咐",
1299 u"咑",
1300 u"咒",
1301 u"咔",
1302 u"咕",
1303 u"咖",
1304 u"咘",
1305 u"咙",
1306 u"咚",
1307 u"咛",
1308 u"咜",
1309 u"咝",
1310 u"咠",
1311 u"咡",
1312 u"咢",
1313 u"咣",
1314 u"咤",
1315 u"咥",
1316 u"咦",
1317 u"咧",
1318 u"咨",
1319 u"咩",
1320 u"咪",
1321 u"咫",
1322 u"咬",
1323 u"咭",
1324 u"咮",
1325 u"咯",
1326 u"咰",
1327 u"咱",
1328 u"咲",
1329 u"咳",
1330 u"咴",
1331 u"咶",
1332 u"咷",
1333 u"咸",
1334 u"咺",
1335 u"咻",
1336 u"咼",
1337 u"咽",
1338 u"咾",
1339 u"咿",
1340 u"哀",
1341 u"品",
1342 u"哂",
1343 u"哃",
1344 u"哄",
1345 u"哅",
1346 u"哆",
1347 u"哇",
1348 u"哈",
1349 u"哉",
1350 u"哌",
1351 u"响",
1352 u"哎",
1353 u"哏",
1354 u"哐",
1355 u"哑",
1356 u"哒",
1357 u"哓",
1358 u"哔",
1359 u"哕",
1360 u"哖",
1361 u"哗",
1362 u"哘",
1363 u"哙",
1364 u"哚",
1365 u"哜",
1366 u"哝",
1367 u"哞",
1368 u"哟",
1369 u"哠",
1370 u"員",
1371 u"哢",
1372 u"哤",
1373 u"哥",
1374 u"哦",
1375 u"哧",
1376 u"哨",
1377 u"哩",
1378 u"哪",
1379 u"哫",
1380 u"哭",
1381 u"哮",
1382 u"哱",
1383 u"哲",
1384 u"哳",
1385 u"哷",
1386 u"哸",
1387 u"哺",
1388 u"哻",
1389 u"哼",
1390 u"哽",
1391 u"哿",
1392 u"唁",
1393 u"唃",
1394 u"唄",
1395 u"唅",
1396 u"唆",
1397 u"唇",
1398 u"唈",
1399 u"唉",
1400 u"唊",
1401 u"唋",
1402 u"唌",
1403 u"唎",
1404 u"唏",
1405 u"唐",
1406 u"唑",
1407 u"唒",
1408 u"唔",
1409 u"唖",
1410 u"唗",
1411 u"唚",
1412 u"唛",
1413 u"唠",
1414 u"唢",
1415 u"唣",
1416 u"唤",
1417 u"唦",
1418 u"唧",
1419 u"唪",
1420 u"唬",
1421 u"唭",
1422 u"售",
1423 u"唯",
1424 u"唰",
1425 u"唱",
1426 u"唲",
1427 u"唳",
1428 u"唴",
1429 u"唵",
1430 u"唶",
1431 u"唷",
1432 u"唸",
1433 u"唹",
1434 u"唻",
1435 u"唼",
1436 u"唾",
1437 u"唿",
1438 u"啀",
1439 u"啁",
1440 u"啃",
1441 u"啄",
1442 u"啅",
1443 u"商",
1444 u"啈",
1445 u"啉",
1446 u"啊",
1447 u"啋",
1448 u"啌",
1449 u"啍",
1450 u"啎",
1451 u"問",
1452 u"啐",
1453 u"啑",
1454 u"啒",
1455 u"啓",
1456 u"啕",
1457 u"啖",
1458 u"啗",
1459 u"啜",
1460 u"啝",
1461 u"啞",
1462 u"啟",
1463 u"啡",
1464 u"啢",
1465 u"啣",
1466 u"啤",
1467 u"啥",
1468 u"啦",
1469 u"啧",
1470 u"啪",
1471 u"啬",
1472 u"啭",
1473 u"啮",
1474 u"啵",
1475 u"啶",
1476 u"啷",
1477 u"啸",
1478 u"啻",
1479 u"啼",
1480 u"啽",
1481 u"啾",
1482 u"啿",
1483 u"喀",
1484 u"喁",
1485 u"喂",
1486 u"喃",
1487 u"善",
1488 u"喆",
1489 u"喇",
1490 u"喈",
1491 u"喉",
1492 u"喊",
1493 u"喋",
1494 u"喌",
1495 u"喍",
1496 u"喎",
1497 u"喏",
1498 u"喑",
1499 u"喒",
1500 u"喓",
1501 u"喔",
1502 u"喕",
1503 u"喘",
1504 u"喙",
1505 u"喚",
1506 u"喜",
1507 u"喝",
1508 u"喞",
1509 u"喟",
1510 u"喡",
1511 u"喢",
1512 u"喣",
1513 u"喤",
1514 u"喥",
1515 u"喦",
1516 u"喧",
1517 u"喨",
1518 u"喩",
1519 u"喪",
1520 u"喫",
1521 u"喬",
1522 u"喭",
1523 u"單",
1524 u"喰",
1525 u"喱",
1526 u"喲",
1527 u"喳",
1528 u"喵",
1529 u"営",
1530 u"喷",
1531 u"喹",
1532 u"喻",
1533 u"喽",
1534 u"喾",
1535 u"喿",
1536 u"嗀",
1537 u"嗂",
1538 u"嗃",
1539 u"嗄",
1540 u"嗅",
1541 u"嗆",
1542 u"嗇",
1543 u"嗈",
1544 u"嗉",
1545 u"嗊",
1546 u"嗋",
1547 u"嗌",
1548 u"嗍",
1549 u"嗎",
1550 u"嗏",
1551 u"嗐",
1552 u"嗑",
1553 u"嗒",
1554 u"嗓",
1555 u"嗔",
1556 u"嗕",
1557 u"嗖",
1558 u"嗙",
1559 u"嗚",
1560 u"嗛",
1561 u"嗜",
1562 u"嗝",
1563 u"嗟",
1564 u"嗡",
1565 u"嗢",
1566 u"嗣",
1567 u"嗤",
1568 u"嗥",
1569 u"嗦",
1570 u"嗨",
1571 u"嗩",
1572 u"嗪",
1573 u"嗫",
1574 u"嗬",
1575 u"嗯",
1576 u"嗲",
1577 u"嗳",
1578 u"嗵",
1579 u"嗶",
1580 u"嗷",
1581 u"嗹",
1582 u"嗺",
1583 u"嗼",
1584 u"嗽",
1585 u"嗾",
1586 u"嗿",
1587 u"嘀",
1588 u"嘁",
1589 u"嘂",
1590 u"嘄",
1591 u"嘆",
1592 u"嘈",
1593 u"嘉",
1594 u"嘌",
1595 u"嘍",
1596 u"嘎",
1597 u"嘏",
1598 u"嘐",
1599 u"嘒",
1600 u"嘓",
1601 u"嘔",
1602 u"嘕",
1603 u"嘖",
1604 u"嘗",
1605 u"嘘",
1606 u"嘛",
1607 u"嘜",
1608 u"嘝",
1609 u"嘞",
1610 u"嘟",
1611 u"嘣",
1612 u"嘤",
1613 u"嘧",
1614 u"嘩",
1615 u"嘪",
1616 u"嘬",
1617 u"嘭",
1618 u"嘮",
1619 u"嘯",
1620 u"嘰",
1621 u"嘱",
1622 u"嘲",
1623 u"嘳",
1624 u"嘴",
1625 u"嘵",
1626 u"嘶",
1627 u"嘸",
1628 u"嘹",
1629 u"嘺",
1630 u"嘻",
1631 u"嘽",
1632 u"嘾",
1633 u"嘿",
1634 u"噀",
1635 u"噁",
1636 u"噂",
1637 u"噅",
1638 u"噆",
1639 u"噈",
1640 u"噉",
1641 u"噊",
1642 u"噌",
1643 u"噍",
1644 u"噎",
1645 u"噐",
1646 u"噓",
1647 u"噔",
1648 u"噗",
1649 u"噘",
1650 u"噙",
1651 u"噚",
1652 u"噛",
1653 u"噜",
1654 u"噞",
1655 u"噠",
1656 u"噢",
1657 u"噣",
1658 u"噤",
1659 u"噥",
1660 u"噦",
1661 u"器",
1662 u"噩",
1663 u"噪",
1664 u"噫",
1665 u"噬",
1666 u"噭",
1667 u"噮",
1668 u"噯",
1669 u"噰",
1670 u"噱",
1671 u"噲",
1672 u"噳",
1673 u"噴",
1674 u"噶",
1675 u"噷",
1676 u"噸",
1677 u"噹",
1678 u"噺",
1679 u"噻",
1680 u"噼",
1681 u"噾",
1682 u"噿",
1683 u"嚀",
1684 u"嚁",
1685 u"嚂",
1686 u"嚃",
1687 u"嚄",
1688 u"嚅",
1689 u"嚆",
1690 u"嚇",
1691 u"嚊",
1692 u"嚌",
1693 u"嚍",
1694 u"嚎",
1695 u"嚏",
1696 u"嚐",
1697 u"嚓",
1698 u"嚔",
1699 u"嚕",
1700 u"嚗",
1701 u"嚘",
1702 u"嚙",
1703 u"嚚",
1704 u"嚜",
1705 u"嚝",
1706 u"嚠",
1707 u"嚢",
1708 u"嚣",
1709 u"嚥",
1710 u"嚦",
1711 u"嚧",
1712 u"嚨",
1713 u"嚪",
1714 u"嚫",
1715 u"嚬",
1716 u"嚭",
1717 u"嚮",
1718 u"嚯",
1719 u"嚲",
1720 u"嚳",
1721 u"嚴",
1722 u"嚵",
1723 u"嚶",
1724 u"嚷",
1725 u"嚼",
1726 u"嚽",
1727 u"嚾",
1728 u"囀",
1729 u"囁",
1730 u"囂",
1731 u"囃",
1732 u"囅",
1733 u"囆",
1734 u"囈",
1735 u"囉",
1736 u"囊",
1737 u"囋",
1738 u"囌",
1739 u"囎",
1740 u"囑",
1741 u"囓",
1742 u"囔",
1743 u"囗",
1744 u"囘",
1745 u"囚",
1746 u"四",
1747 u"囝",
1748 u"回",
1749 u"囟",
1750 u"因",
1751 u"囡",
1752 u"团",
1753 u"団",
1754 u"囤",
1755 u"囥",
1756 u"囧",
1757 u"囪",
1758 u"囫",
1759 u"园",
1760 u"囮",
1761 u"困",
1762 u"囱",
1763 u"囲",
1764 u"図",
1765 u"围",
1766 u"囵",
1767 u"囷",
1768 u"囹",
1769 u"固",
1770 u"国",
1771 u"图",
1772 u"囿",
1773 u"圀",
1774 u"圁",
1775 u"圂",
1776 u"圃",
1777 u"圄",
1778 u"圆",
1779 u"圇",
1780 u"圈",
1781 u"圉",
1782 u"圊",
1783 u"國",
1784 u"圌",
1785 u"圍",
1786 u"圏",
1787 u"園",
1788 u"圓",
1789 u"圔",
1790 u"圖",
1791 u"團",
1792 u"圚",
1793 u"圛",
1794 u"圜",
1795 u"圞",
1796 u"土",
1797 u"圠",
1798 u"圢",
1799 u"圣",
1800 u"圦",
1801 u"圧",
1802 u"在",
1803 u"圩",
1804 u"圪",
1805 u"圬",
1806 u"圭",
1807 u"圮",
1808 u"圯",
1809 u"地",
1810 u"圳",
1811 u"圴",
1812 u"圷",
1813 u"圸",
1814 u"圹",
1815 u"场",
1816 u"圻",
1817 u"圾",
1818 u"址",
1819 u"坁",
1820 u"坂",
1821 u"坅",
1822 u"均",
1823 u"坉",
1824 u"坊",
1825 u"坋",
1826 u"坌",
1827 u"坍",
1828 u"坎",
1829 u"坏",
1830 u"坐",
1831 u"坑",
1832 u"坒",
1833 u"块",
1834 u"坙",
1835 u"坚",
1836 u"坛",
1837 u"坜",
1838 u"坝",
1839 u"坞",
1840 u"坟",
1841 u"坠",
1842 u"坡",
1843 u"坢",
1844 u"坤",
1845 u"坥",
1846 u"坦",
1847 u"坨",
1848 u"坩",
1849 u"坪",
1850 u"坫",
1851 u"坭",
1852 u"坮",
1853 u"坯",
1854 u"坰",
1855 u"坱",
1856 u"坲",
1857 u"坳",
1858 u"坴",
1859 u"坵",
1860 u"坶",
1861 u"坷",
1862 u"坻",
1863 u"坼",
1864 u"坽",
1865 u"坿",
1866 u"垀",
1867 u"垂",
1868 u"垃",
1869 u"垄",
1870 u"垅",
1871 u"垆",
1872 u"垉",
1873 u"型",
1874 u"垌",
1875 u"垏",
1876 u"垒",
1877 u"垓",
1878 u"垔",
1879 u"垕",
1880 u"垗",
1881 u"垘",
1882 u"垙",
1883 u"垚",
1884 u"垛",
1885 u"垝",
1886 u"垞",
1887 u"垟",
1888 u"垠",
1889 u"垡",
1890 u"垢",
1891 u"垣",
1892 u"垤",
1893 u"垥",
1894 u"垦",
1895 u"垧",
1896 u"垩",
1897 u"垪",
1898 u"垫",
1899 u"垬",
1900 u"垭",
1901 u"垮",
1902 u"垰",
1903 u"垲",
1904 u"垳",
1905 u"垴",
1906 u"垵",
1907 u"垶",
1908 u"垸",
1909 u"垹",
1910 u"垺",
1911 u"垼",
1912 u"垽",
1913 u"垿",
1914 u"埀",
1915 u"埁",
1916 u"埂",
1917 u"埃",
1918 u"埆",
1919 u"埇",
1920 u"埈",
1921 u"埋",
1922 u"埌",
1923 u"城",
1924 u"埏",
1925 u"埐",
1926 u"埒",
1927 u"埓",
1928 u"埔",
1929 u"埕",
1930 u"埖",
1931 u"埘",
1932 u"埙",
1933 u"埚",
1934 u"埜",
1935 u"埝",
1936 u"域",
1937 u"埠",
1938 u"埡",
1939 u"埢",
1940 u"埣",
1941 u"埤",
1942 u"埥",
1943 u"埧",
1944 u"埩",
1945 u"埬",
1946 u"埭",
1947 u"埮",
1948 u"埯",
1949 u"埰",
1950 u"埱",
1951 u"埲",
1952 u"埳",
1953 u"埴",
1954 u"埵",
1955 u"埶",
1956 u"執",
1957 u"埸",
1958 u"培",
1959 u"基",
1960 u"埻",
1961 u"埼",
1962 u"埽",
1963 u"堀",
1964 u"堁",
1965 u"堂",
1966 u"堄",
1967 u"堅",
1968 u"堆",
1969 u"堇",
1970 u"堈",
1971 u"堉",
1972 u"堊",
1973 u"堋",
1974 u"堌",
1975 u"堍",
1976 u"堎",
1977 u"堐",
1978 u"堑",
1979 u"堔",
1980 u"堕",
1981 u"堙",
1982 u"堛",
1983 u"堜",
1984 u"堝",
1985 u"堞",
1986 u"堠",
1987 u"堡",
1988 u"堣",
1989 u"堤",
1990 u"堥",
1991 u"堧",
1992 u"堨",
1993 u"堩",
1994 u"堪",
1995 u"堬",
1996 u"堭",
1997 u"堮",
1998 u"堯",
1999 u"堰",
2000 u"報",
2001 u"堲",
2002 u"堳",
2003 u"場",
2004 u"堵",
2005 u"堶",
2006 u"堷",
2007 u"堸",
2008 u"堹",
2009 u"堺",
2010 u"堻",
2011 u"堽",
2012 u"堿",
2013 u"塀",
2014 u"塁",
2015 u"塄",
2016 u"塈",
2017 u"塉",
2018 u"塊",
2019 u"塋",
2020 u"塌",
2021 u"塍",
2022 u"塎",
2023 u"塏",
2024 u"塑",
2025 u"塒",
2026 u"塓",
2027 u"塔",
2028 u"塕",
2029 u"塗",
2030 u"塘",
2031 u"塙",
2032 u"塚",
2033 u"塛",
2034 u"塝",
2035 u"塞",
2036 u"塡",
2037 u"塢",
2038 u"塣",
2039 u"塤",
2040 u"塥",
2041 u"塨",
2042 u"塩",
2043 u"填",
2044 u"塬",
2045 u"塭",
2046 u"塯",
2047 u"塰",
2048 u"塱",
2049 u"塲",
2050 u"塴",
2051 u"塵",
2052 u"塶",
2053 u"塹",
2054 u"塺",
2055 u"塻",
2056 u"塼",
2057 u"塽",
2058 u"塾",
2059 u"塿",
2060 u"墀",
2061 u"墁",
2062 u"墂",
2063 u"境",
2064 u"墅",
2065 u"墆",
2066 u"墇",
2067 u"墈",
2068 u"墉",
2069 u"墊",
2070 u"墋",
2071 u"墎",
2072 u"墏",
2073 u"墐",
2074 u"墑",
2075 u"墒",
2076 u"墓",
2077 u"墔",
2078 u"増",
2079 u"墘",
2080 u"墙",
2081 u"墚",
2082 u"墜",
2083 u"墝",
2084 u"增",
2085 u"墟",
2086 u"墠",
2087 u"墡",
2088 u"墣",
2089 u"墥",
2090 u"墦",
2091 u"墨",
2092 u"墩",
2093 u"墫",
2094 u"墬",
2095 u"墮",
2096 u"墯",
2097 u"墱",
2098 u"墲",
2099 u"墳",
2100 u"墸",
2101 u"墹",
2102 u"墺",
2103 u"墻",
2104 u"墼",
2105 u"墽",
2106 u"墾",
2107 u"墿",
2108 u"壁",
2109 u"壂",
2110 u"壅",
2111 u"壆",
2112 u"壇",
2113 u"壈",
2114 u"壉",
2115 u"壊",
2116 u"壌",
2117 u"壎",
2118 u"壏",
2119 u"壑",
2120 u"壒",
2121 u"壓",
2122 u"壔",
2123 u"壕",
2124 u"壖",
2125 u"壗",
2126 u"壘",
2127 u"壙",
2128 u"壚",
2129 u"壛",
2130 u"壜",
2131 u"壝",
2132 u"壞",
2133 u"壟",
2134 u"壢",
2135 u"壣",
2136 u"壤",
2137 u"壥",
2138 u"壧",
2139 u"壨",
2140 u"壩",
2141 u"士",
2142 u"壬",
2143 u"壮",
2144 u"壯",
2145 u"声",
2146 u"壱",
2147 u"売",
2148 u"壳",
2149 u"壴",
2150 u"壶",
2151 u"壷",
2152 u"壹",
2153 u"壺",
2154 u"壻",
2155 u"壼",
2156 u"壽",
2157 u"壾",
2158 u"壿",
2159 u"夂",
2160 u"夃",
2161 u"处",
2162 u"夆",
2163 u"备",
2164 u"変",
2165 u"夊",
2166 u"夋",
2167 u"夌",
2168 u"复",
2169 u"夎",
2170 u"夏",
2171 u"夐",
2172 u"夒",
2173 u"夔",
2174 u"夕",
2175 u"外",
2176 u"夗",
2177 u"夘",
2178 u"夙",
2179 u"多",
2180 u"夛",
2181 u"夜",
2182 u"够",
2183 u"夠",
2184 u"夢",
2185 u"夤",
2186 u"夥",
2187 u"大",
2188 u"天",
2189 u"太",
2190 u"夫",
2191 u"夬",
2192 u"夭",
2193 u"央",
2194 u"夯",
2195 u"失",
2196 u"夲",
2197 u"头",
2198 u"夷",
2199 u"夸",
2200 u"夹",
2201 u"夺",
2202 u"夼",
2203 u"夾",
2204 u"奀",
2205 u"奁",
2206 u"奂",
2207 u"奄",
2208 u"奅",
2209 u"奇",
2210 u"奈",
2211 u"奉",
2212 u"奊",
2213 u"奋",
2214 u"奎",
2215 u"奏",
2216 u"奐",
2217 u"契",
2218 u"奓",
2219 u"奔",
2220 u"奕",
2221 u"奖",
2222 u"套",
2223 u"奘",
2224 u"奚",
2225 u"奛",
2226 u"奜",
2227 u"奝",
2228 u"奠",
2229 u"奡",
2230 u"奢",
2231 u"奣",
2232 u"奥",
2233 u"奧",
2234 u"奨",
2235 u"奩",
2236 u"奪",
2237 u"奫",
2238 u"奬",
2239 u"奭",
2240 u"奮",
2241 u"奰",
2242 u"奱",
2243 u"奲",
2244 u"女",
2245 u"奴",
2246 u"奶",
2247 u"奷",
2248 u"奸",
2249 u"她",
2250 u"奻",
2251 u"奼",
2252 u"好",
2253 u"奾",
2254 u"奿",
2255 u"妀",
2256 u"妁",
2257 u"如",
2258 u"妃",
2259 u"妄",
2260 u"妅",
2261 u"妆",
2262 u"妇",
2263 u"妈",
2264 u"妊",
2265 u"妍",
2266 u"妎",
2267 u"妏",
2268 u"妐",
2269 u"妒",
2270 u"妓",
2271 u"妖",
2272 u"妗",
2273 u"妘",
2274 u"妙",
2275 u"妛",
2276 u"妝",
2277 u"妞",
2278 u"妠",
2279 u"妡",
2280 u"妢",
2281 u"妣",
2282 u"妤",
2283 u"妥",
2284 u"妦",
2285 u"妧",
2286 u"妨",
2287 u"妩",
2288 u"妪",
2289 u"妫",
2290 u"妬",
2291 u"妮",
2292 u"妯",
2293 u"妱",
2294 u"妲",
2295 u"妳",
2296 u"妴",
2297 u"妵",
2298 u"妶",
2299 u"妹",
2300 u"妺",
2301 u"妻",
2302 u"妼",
2303 u"妽",
2304 u"妾",
2305 u"姀",
2306 u"姁",
2307 u"姃",
2308 u"姅",
2309 u"姆",
2310 u"姇",
2311 u"姈",
2312 u"姉",
2313 u"姊",
2314 u"始",
2315 u"姌",
2316 u"姍",
2317 u"姎",
2318 u"姏",
2319 u"姐",
2320 u"姑",
2321 u"姒",
2322 u"姓",
2323 u"委",
2324 u"姖",
2325 u"姗",
2326 u"姘",
2327 u"姙",
2328 u"姚",
2329 u"姛",
2330 u"姜",
2331 u"姝",
2332 u"姞",
2333 u"姠",
2334 u"姡",
2335 u"姣",
2336 u"姤",
2337 u"姥",
2338 u"姦",
2339 u"姨",
2340 u"姩",
2341 u"姪",
2342 u"姫",
2343 u"姬",
2344 u"姭",
2345 u"姮",
2346 u"姱",
2347 u"姲",
2348 u"姳",
2349 u"姴",
2350 u"姵",
2351 u"姶",
2352 u"姷",
2353 u"姸",
2354 u"姹",
2355 u"姺",
2356 u"姻",
2357 u"姼",
2358 u"姽",
2359 u"姾",
2360 u"姿",
2361 u"娀",
2362 u"威",
2363 u"娃",
2364 u"娄",
2365 u"娅",
2366 u"娆",
2367 u"娇",
2368 u"娈",
2369 u"娉",
2370 u"娊",
2371 u"娌",
2372 u"娏",
2373 u"娑",
2374 u"娓",
2375 u"娕",
2376 u"娖",
2377 u"娗",
2378 u"娘",
2379 u"娙",
2380 u"娚",
2381 u"娛",
2382 u"娜",
2383 u"娞",
2384 u"娟",
2385 u"娠",
2386 u"娣",
2387 u"娥",
2388 u"娩",
2389 u"娭",
2390 u"娮",
2391 u"娯",
2392 u"娱",
2393 u"娲",
2394 u"娳",
2395 u"娴",
2396 u"娵",
2397 u"娶",
2398 u"娷",
2399 u"娸",
2400 u"娹",
2401 u"娼",
2402 u"娾",
2403 u"婀",
2404 u"婁",
2405 u"婂",
2406 u"婃",
2407 u"婄",
2408 u"婆",
2409 u"婇",
2410 u"婈",
2411 u"婉",
2412 u"婊",
2413 u"婌",
2414 u"婍",
2415 u"婐",
2416 u"婑",
2417 u"婒",
2418 u"婓",
2419 u"婕",
2420 u"婖",
2421 u"婗",
2422 u"婘",
2423 u"婚",
2424 u"婛",
2425 u"婜",
2426 u"婝",
2427 u"婞",
2428 u"婟",
2429 u"婠",
2430 u"婢",
2431 u"婤",
2432 u"婥",
2433 u"婦",
2434 u"婧",
2435 u"婪",
2436 u"婬",
2437 u"婭",
2438 u"婰",
2439 u"婴",
2440 u"婵",
2441 u"婶",
2442 u"婷",
2443 u"婸",
2444 u"婺",
2445 u"婻",
2446 u"婼",
2447 u"婽",
2448 u"婿",
2449 u"媃",
2450 u"媄",
2451 u"媊",
2452 u"媋",
2453 u"媌",
2454 u"媎",
2455 u"媏",
2456 u"媐",
2457 u"媒",
2458 u"媓",
2459 u"媔",
2460 u"媕",
2461 u"媗",
2462 u"媚",
2463 u"媛",
2464 u"媜",
2465 u"媝",
2466 u"媞",
2467 u"媟",
2468 u"媢",
2469 u"媤",
2470 u"媥",
2471 u"媦",
2472 u"媧",
2473 u"媩",
2474 u"媪",
2475 u"媬",
2476 u"媮",
2477 u"媯",
2478 u"媰",
2479 u"媱",
2480 u"媲",
2481 u"媳",
2482 u"媴",
2483 u"媵",
2484 u"媶",
2485 u"媷",
2486 u"媸",
2487 u"媹",
2488 u"媺",
2489 u"媻",
2490 u"媼",
2491 u"媽",
2492 u"媾",
2493 u"媿",
2494 u"嫀",
2495 u"嫁",
2496 u"嫂",
2497 u"嫄",
2498 u"嫆",
2499 u"嫇",
2500 u"嫈",
2501 u"嫉",
2502 u"嫊",
2503 u"嫋",
2504 u"嫌",
2505 u"嫍",
2506 u"嫐",
2507 u"嫒",
2508 u"嫔",
2509 u"嫕",
2510 u"嫖",
2511 u"嫗",
2512 u"嫘",
2513 u"嫙",
2514 u"嫚",
2515 u"嫛",
2516 u"嫜",
2517 u"嫝",
2518 u"嫞",
2519 u"嫟",
2520 u"嫠",
2521 u"嫡",
2522 u"嫢",
2523 u"嫣",
2524 u"嫥",
2525 u"嫦",
2526 u"嫨",
2527 u"嫩",
2528 u"嫪",
2529 u"嫫",
2530 u"嫬",
2531 u"嫭",
2532 u"嫮",
2533 u"嫱",
2534 u"嫳",
2535 u"嫴",
2536 u"嫵",
2537 u"嫶",
2538 u"嫷",
2539 u"嫸",
2540 u"嫹",
2541 u"嫺",
2542 u"嫻",
2543 u"嫽",
2544 u"嫿",
2545 u"嬁",
2546 u"嬂",
2547 u"嬃",
2548 u"嬅",
2549 u"嬇",
2550 u"嬈",
2551 u"嬉",
2552 u"嬋",
2553 u"嬌",
2554 u"嬏",
2555 u"嬐",
2556 u"嬓",
2557 u"嬔",
2558 u"嬖",
2559 u"嬗",
2560 u"嬙",
2561 u"嬚",
2562 u"嬛",
2563 u"嬝",
2564 u"嬞",
2565 u"嬠",
2566 u"嬡",
2567 u"嬢",
2568 u"嬣",
2569 u"嬤",
2570 u"嬥",
2571 u"嬦",
2572 u"嬧",
2573 u"嬨",
2574 u"嬪",
2575 u"嬬",
2576 u"嬭",
2577 u"嬮",
2578 u"嬯",
2579 u"嬰",
2580 u"嬲",
2581 u"嬴",
2582 u"嬶",
2583 u"嬷",
2584 u"嬸",
2585 u"嬼",
2586 u"嬽",
2587 u"嬾",
2588 u"嬿",
2589 u"孀",
2590 u"孃",
2591 u"孅",
2592 u"孇",
2593 u"孈",
2594 u"孋",
2595 u"孌",
2596 u"孍",
2597 u"孎",
2598 u"子",
2599 u"孑",
2600 u"孓",
2601 u"孔",
2602 u"孕",
2603 u"孖",
2604 u"字",
2605 u"存",
2606 u"孙",
2607 u"孚",
2608 u"孛",
2609 u"孜",
2610 u"孝",
2611 u"孟",
2612 u"孢",
2613 u"季",
2614 u"孤",
2615 u"孥",
2616 u"学",
2617 u"孩",
2618 u"孪",
2619 u"孫",
2620 u"孬",
2621 u"孮",
2622 u"孰",
2623 u"孱",
2624 u"孲",
2625 u"孳",
2626 u"孵",
2627 u"孷",
2628 u"學",
2629 u"孺",
2630 u"孻",
2631 u"孼",
2632 u"孽",
2633 u"孿",
2634 u"宀",
2635 u"宁",
2636 u"它",
2637 u"宄",
2638 u"宅",
2639 u"宇",
2640 u"守",
2641 u"安",
2642 u"宋",
2643 u"完",
2644 u"宍",
2645 u"宎",
2646 u"宏",
2647 u"宒",
2648 u"宓",
2649 u"宕",
2650 u"宖",
2651 u"宗",
2652 u"官",
2653 u"宙",
2654 u"定",
2655 u"宛",
2656 u"宜",
2657 u"宝",
2658 u"实",
2659 u"実",
2660 u"宠",
2661 u"审",
2662 u"客",
2663 u"宣",
2664 u"室",
2665 u"宥",
2666 u"宦",
2667 u"宧",
2668 u"宨",
2669 u"宪",
2670 u"宫",
2671 u"宬",
2672 u"宭",
2673 u"宮",
2674 u"宰",
2675 u"害",
2676 u"宴",
2677 u"宵",
2678 u"家",
2679 u"宸",
2680 u"容",
2681 u"宽",
2682 u"宾",
2683 u"宿",
2684 u"寀",
2685 u"寁",
2686 u"寂",
2687 u"寃",
2688 u"寄",
2689 u"寅",
2690 u"密",
2691 u"寇",
2692 u"寉",
2693 u"寊",
2694 u"寋",
2695 u"富",
2696 u"寍",
2697 u"寎",
2698 u"寐",
2699 u"寑",
2700 u"寒",
2701 u"寓",
2702 u"寔",
2703 u"寖",
2704 u"寗",
2705 u"寘",
2706 u"寙",
2707 u"寛",
2708 u"寝",
2709 u"寞",
2710 u"察",
2711 u"寠",
2712 u"寡",
2713 u"寢",
2714 u"寣",
2715 u"寤",
2716 u"寥",
2717 u"實",
2718 u"寧",
2719 u"寨",
2720 u"審",
2721 u"寪",
2722 u"寫",
2723 u"寬",
2724 u"寮",
2725 u"寯",
2726 u"寰",
2727 u"寱",
2728 u"寲",
2729 u"寳",
2730 u"寵",
2731 u"寶",
2732 u"寸",
2733 u"对",
2734 u"寺",
2735 u"寻",
2736 u"导",
2737 u"対",
2738 u"寿",
2739 u"封",
2740 u"専",
2741 u"尃",
2742 u"射",
2743 u"尅",
2744 u"将",
2745 u"將",
2746 u"專",
2747 u"尉",
2748 u"尊",
2749 u"尋",
2750 u"尌",
2751 u"對",
2752 u"導",
2753 u"小",
2754 u"尐",
2755 u"少",
2756 u"尒",
2757 u"尓",
2758 u"尔",
2759 u"尕",
2760 u"尖",
2761 u"尘",
2762 u"尙",
2763 u"尚",
2764 u"尜",
2765 u"尝",
2766 u"尞",
2767 u"尟",
2768 u"尠",
2769 u"尢",
2770 u"尤",
2771 u"尥",
2772 u"尧",
2773 u"尨",
2774 u"尪",
2775 u"尬",
2776 u"尭",
2777 u"尰",
2778 u"就",
2779 u"尳",
2780 u"尴",
2781 u"尷",
2782 u"尸",
2783 u"尹",
2784 u"尺",
2785 u"尻",
2786 u"尼",
2787 u"尽",
2788 u"尾",
2789 u"尿",
2790 u"局",
2791 u"屁",
2792 u"层",
2793 u"屄",
2794 u"居",
2795 u"屆",
2796 u"屇",
2797 u"屈",
2798 u"屉",
2799 u"届",
2800 u"屋",
2801 u"屌",
2802 u"屍",
2803 u"屎",
2804 u"屏",
2805 u"屐",
2806 u"屑",
2807 u"屓",
2808 u"屔",
2809 u"展",
2810 u"屖",
2811 u"屘",
2812 u"屙",
2813 u"屛",
2814 u"屜",
2815 u"屝",
2816 u"属",
2817 u"屠",
2818 u"屡",
2819 u"屢",
2820 u"屣",
2821 u"層",
2822 u"履",
2823 u"屦",
2824 u"屧",
2825 u"屨",
2826 u"屩",
2827 u"屪",
2828 u"屬",
2829 u"屭",
2830 u"屯",
2831 u"山",
2832 u"屳",
2833 u"屴",
2834 u"屶",
2835 u"屹",
2836 u"屺",
2837 u"屻",
2838 u"屼",
2839 u"屾",
2840 u"屿",
2841 u"岁",
2842 u"岂",
2843 u"岆",
2844 u"岈",
2845 u"岉",
2846 u"岊",
2847 u"岋",
2848 u"岌",
2849 u"岍",
2850 u"岏",
2851 u"岐",
2852 u"岑",
2853 u"岒",
2854 u"岓",
2855 u"岔",
2856 u"岕",
2857 u"岖",
2858 u"岗",
2859 u"岘",
2860 u"岙",
2861 u"岚",
2862 u"岛",
2863 u"岜",
2864 u"岝",
2865 u"岟",
2866 u"岠",
2867 u"岡",
2868 u"岢",
2869 u"岣",
2870 u"岤",
2871 u"岥",
2872 u"岦",
2873 u"岧",
2874 u"岨",
2875 u"岩",
2876 u"岪",
2877 u"岫",
2878 u"岬",
2879 u"岭",
2880 u"岮",
2881 u"岯",
2882 u"岰",
2883 u"岱",
2884 u"岳",
2885 u"岵",
2886 u"岶",
2887 u"岷",
2888 u"岸",
2889 u"岺",
2890 u"岻",
2891 u"岼",
2892 u"岽",
2893 u"岿",
2894 u"峀",
2895 u"峁",
2896 u"峄",
2897 u"峅",
2898 u"峆",
2899 u"峇",
2900 u"峈",
2901 u"峉",
2902 u"峊",
2903 u"峋",
2904 u"峌",
2905 u"峎",
2906 u"峏",
2907 u"峐",
2908 u"峒",
2909 u"峓",
2910 u"峔",
2911 u"峖",
2912 u"峗",
2913 u"峘",
2914 u"峙",
2915 u"峚",
2916 u"峛",
2917 u"峞",
2918 u"峟",
2919 u"峠",
2920 u"峡",
2921 u"峤",
2922 u"峥",
2923 u"峦",
2924 u"峨",
2925 u"峩",
2926 u"峪",
2927 u"峬",
2928 u"峭",
2929 u"峮",
2930 u"峯",
2931 u"峰",
2932 u"峱",
2933 u"峴",
2934 u"峵",
2935 u"島",
2936 u"峷",
2937 u"峸",
2938 u"峹",
2939 u"峺",
2940 u"峻",
2941 u"峽",
2942 u"峿",
2943 u"崀",
2944 u"崁",
2945 u"崂",
2946 u"崃",
2947 u"崆",
2948 u"崇",
2949 u"崋",
2950 u"崌",
2951 u"崍",
2952 u"崎",
2953 u"崏",
2954 u"崑",
2955 u"崒",
2956 u"崔",
2957 u"崕",
2958 u"崖",
2959 u"崗",
2960 u"崘",
2961 u"崙",
2962 u"崚",
2963 u"崛",
2964 u"崝",
2965 u"崞",
2966 u"崟",
2967 u"崠",
2968 u"崢",
2969 u"崣",
2970 u"崤",
2971 u"崥",
2972 u"崦",
2973 u"崧",
2974 u"崨",
2975 u"崩",
2976 u"崭",
2977 u"崮",
2978 u"崰",
2979 u"崱",
2980 u"崲",
2981 u"崳",
2982 u"崴",
2983 u"崵",
2984 u"崶",
2985 u"崷",
2986 u"崸",
2987 u"崹",
2988 u"崺",
2989 u"崼",
2990 u"崽",
2991 u"崾",
2992 u"崿",
2993 u"嵀",
2994 u"嵁",
2995 u"嵂",
2996 u"嵃",
2997 u"嵅",
2998 u"嵇",
2999 u"嵉",
3000 u"嵊",
3001 u"嵋",
3002 u"嵌",
3003 u"嵎",
3004 u"嵐",
3005 u"嵑",
3006 u"嵒",
3007 u"嵓",
3008 u"嵕",
3009 u"嵘",
3010 u"嵙",
3011 u"嵛",
3012 u"嵜",
3013 u"嵝",
3014 u"嵞",
3015 u"嵢",
3016 u"嵣",
3017 u"嵥",
3018 u"嵧",
3019 u"嵨",
3020 u"嵩",
3021 u"嵫",
3022 u"嵬",
3023 u"嵭",
3024 u"嵯",
3025 u"嵱",
3026 u"嵲",
3027 u"嵳",
3028 u"嵴",
3029 u"嵶",
3030 u"嵷",
3031 u"嵹",
3032 u"嵺",
3033 u"嵼",
3034 u"嵽",
3035 u"嵾",
3036 u"嵿",
3037 u"嶀",
3038 u"嶁",
3039 u"嶂",
3040 u"嶄",
3041 u"嶆",
3042 u"嶇",
3043 u"嶈",
3044 u"嶉",
3045 u"嶊",
3046 u"嶋",
3047 u"嶌",
3048 u"嶍",
3049 u"嶐",
3050 u"嶒",
3051 u"嶓",
3052 u"嶔",
3053 u"嶕",
3054 u"嶗",
3055 u"嶙",
3056 u"嶚",
3057 u"嶜",
3058 u"嶝",
3059 u"嶞",
3060 u"嶟",
3061 u"嶠",
3062 u"嶡",
3063 u"嶢",
3064 u"嶧",
3065 u"嶨",
3066 u"嶩",
3067 u"嶪",
3068 u"嶬",
3069 u"嶭",
3070 u"嶮",
3071 u"嶯",
3072 u"嶰",
3073 u"嶱",
3074 u"嶲",
3075 u"嶴",
3076 u"嶵",
3077 u"嶷",
3078 u"嶸",
3079 u"嶹",
3080 u"嶺",
3081 u"嶼",
3082 u"嶽",
3083 u"巀",
3084 u"巂",
3085 u"巃",
3086 u"巅",
3087 u"巆",
3088 u"巇",
3089 u"巉",
3090 u"巋",
3091 u"巌",
3092 u"巍",
3093 u"巏",
3094 u"巐",
3095 u"巑",
3096 u"巒",
3097 u"巓",
3098 u"巔",
3099 u"巕",
3100 u"巖",
3101 u"巘",
3102 u"巛",
3103 u"川",
3104 u"州",
3105 u"巟",
3106 u"巠",
3107 u"巡",
3108 u"巢",
3109 u"巣",
3110 u"工",
3111 u"左",
3112 u"巧",
3113 u"巨",
3114 u"巩",
3115 u"巫",
3116 u"差",
3117 u"巯",
3118 u"巰",
3119 u"己",
3120 u"已",
3121 u"巳",
3122 u"巴",
3123 u"巵",
3124 u"巷",
3125 u"巹",
3126 u"巻",
3127 u"巽",
3128 u"巾",
3129 u"巿",
3130 u"币",
3131 u"市",
3132 u"布",
3133 u"帄",
3134 u"帅",
3135 u"帆",
3136 u"师",
3137 u"帊",
3138 u"帋",
3139 u"希",
3140 u"帎",
3141 u"帏",
3142 u"帐",
3143 u"帑",
3144 u"帔",
3145 u"帕",
3146 u"帖",
3147 u"帗",
3148 u"帘",
3149 u"帙",
3150 u"帚",
3151 u"帛",
3152 u"帜",
3153 u"帝",
3154 u"帟",
3155 u"帠",
3156 u"帡",
3157 u"帢",
3158 u"帣",
3159 u"帤",
3160 u"帥",
3161 u"带",
3162 u"帧",
3163 u"帨",
3164 u"帩",
3165 u"師",
3166 u"席",
3167 u"帮",
3168 u"帯",
3169 u"帰",
3170 u"帱",
3171 u"帳",
3172 u"帴",
3173 u"帶",
3174 u"帷",
3175 u"常",
3176 u"帻",
3177 u"帼",
3178 u"帽",
3179 u"帾",
3180 u"帿",
3181 u"幀",
3182 u"幁",
3183 u"幂",
3184 u"幃",
3185 u"幄",
3186 u"幅",
3187 u"幇",
3188 u"幊",
3189 u"幋",
3190 u"幌",
3191 u"幍",
3192 u"幎",
3193 u"幏",
3194 u"幓",
3195 u"幔",
3196 u"幕",
3197 u"幗",
3198 u"幘",
3199 u"幙",
3200 u"幛",
3201 u"幜",
3202 u"幝",
3203 u"幞",
3204 u"幟",
3205 u"幠",
3206 u"幡",
3207 u"幢",
3208 u"幣",
3209 u"幤",
3210 u"幦",
3211 u"幧",
3212 u"幨",
3213 u"幩",
3214 u"幪",
3215 u"幫",
3216 u"幬",
3217 u"幭",
3218 u"幮",
3219 u"幯",
3220 u"幰",
3221 u"干",
3222 u"平",
3223 u"年",
3224 u"幵",
3225 u"并",
3226 u"幷",
3227 u"幸",
3228 u"幹",
3229 u"幺",
3230 u"幻",
3231 u"幼",
3232 u"幽",
3233 u"幾",
3234 u"广",
3235 u"庀",
3236 u"庁",
3237 u"庂",
3238 u"広",
3239 u"庄",
3240 u"庆",
3241 u"庇",
3242 u"庈",
3243 u"庉",
3244 u"床",
3245 u"庋",
3246 u"庌",
3247 u"庍",
3248 u"序",
3249 u"庐",
3250 u"庑",
3251 u"库",
3252 u"应",
3253 u"底",
3254 u"庖",
3255 u"店",
3256 u"庙",
3257 u"庚",
3258 u"庛",
3259 u"府",
3260 u"庞",
3261 u"废",
3262 u"庠",
3263 u"庢",
3264 u"庣",
3265 u"庤",
3266 u"庥",
3267 u"度",
3268 u"座",
3269 u"庨",
3270 u"庪",
3271 u"庫",
3272 u"庬",
3273 u"庭",
3274 u"庮",
3275 u"庰",
3276 u"庱",
3277 u"庲",
3278 u"庳",
3279 u"庴",
3280 u"庵",
3281 u"庶",
3282 u"康",
3283 u"庸",
3284 u"庹",
3285 u"庾",
3286 u"廁",
3287 u"廂",
3288 u"廃",
3289 u"廄",
3290 u"廅",
3291 u"廆",
3292 u"廇",
3293 u"廈",
3294 u"廉",
3295 u"廊",
3296 u"廋",
3297 u"廌",
3298 u"廎",
3299 u"廏",
3300 u"廐",
3301 u"廑",
3302 u"廒",
3303 u"廓",
3304 u"廔",
3305 u"廕",
3306 u"廖",
3307 u"廗",
3308 u"廘",
3309 u"廙",
3310 u"廚",
3311 u"廛",
3312 u"廜",
3313 u"廝",
3314 u"廞",
3315 u"廟",
3316 u"廠",
3317 u"廡",
3318 u"廢",
3319 u"廣",
3320 u"廥",
3321 u"廦",
3322 u"廧",
3323 u"廨",
3324 u"廩",
3325 u"廪",
3326 u"廬",
3327 u"廮",
3328 u"廯",
3329 u"廰",
3330 u"廱",
3331 u"廲",
3332 u"廳",
3333 u"廴",
3334 u"延",
3335 u"廷",
3336 u"廸",
3337 u"建",
3338 u"廻",
3339 u"廼",
3340 u"廿",
3341 u"开",
3342 u"弁",
3343 u"异",
3344 u"弃",
3345 u"弄",
3346 u"弅",
3347 u"弇",
3348 u"弈",
3349 u"弉",
3350 u"弊",
3351 u"弋",
3352 u"弌",
3353 u"弍",
3354 u"式",
3355 u"弐",
3356 u"弑",
3357 u"弒",
3358 u"弓",
3359 u"弔",
3360 u"引",
3361 u"弖",
3362 u"弗",
3363 u"弘",
3364 u"弚",
3365 u"弛",
3366 u"弝",
3367 u"弟",
3368 u"张",
3369 u"弡",
3370 u"弢",
3371 u"弣",
3372 u"弤",
3373 u"弥",
3374 u"弦",
3375 u"弧",
3376 u"弨",
3377 u"弩",
3378 u"弪",
3379 u"弭",
3380 u"弮",
3381 u"弯",
3382 u"弰",
3383 u"弱",
3384 u"弳",
3385 u"弴",
3386 u"張",
3387 u"弶",
3388 u"強",
3389 u"弸",
3390 u"弹",
3391 u"强",
3392 u"弼",
3393 u"弾",
3394 u"彀",
3395 u"彁",
3396 u"彃",
3397 u"彄",
3398 u"彅",
3399 u"彆",
3400 u"彈",
3401 u"彉",
3402 u"彊",
3403 u"彋",
3404 u"彌",
3405 u"彎",
3406 u"彏",
3407 u"彐",
3408 u"彑",
3409 u"归",
3410 u"当",
3411 u"彔",
3412 u"录",
3413 u"彖",
3414 u"彗",
3415 u"彘",
3416 u"彙",
3417 u"彛",
3418 u"彜",
3419 u"彝",
3420 u"彡",
3421 u"形",
3422 u"彤",
3423 u"彥",
3424 u"彦",
3425 u"彧",
3426 u"彩",
3427 u"彪",
3428 u"彫",
3429 u"彬",
3430 u"彭",
3431 u"彯",
3432 u"彰",
3433 u"影",
3434 u"彳",
3435 u"彴",
3436 u"彶",
3437 u"彷",
3438 u"彸",
3439 u"役",
3440 u"彻",
3441 u"彼",
3442 u"彽",
3443 u"彾",
3444 u"彿",
3445 u"往",
3446 u"征",
3447 u"徂",
3448 u"徃",
3449 u"径",
3450 u"待",
3451 u"徆",
3452 u"徇",
3453 u"很",
3454 u"徉",
3455 u"徊",
3456 u"律",
3457 u"後",
3458 u"徐",
3459 u"徑",
3460 u"徒",
3461 u"従",
3462 u"徕",
3463 u"徖",
3464 u"得",
3465 u"徘",
3466 u"徙",
3467 u"徛",
3468 u"徜",
3469 u"從",
3470 u"徟",
3471 u"徠",
3472 u"御",
3473 u"徥",
3474 u"徦",
3475 u"徨",
3476 u"復",
3477 u"循",
3478 u"徫",
3479 u"徬",
3480 u"徭",
3481 u"微",
3482 u"徯",
3483 u"徲",
3484 u"徳",
3485 u"徴",
3486 u"徵",
3487 u"徶",
3488 u"德",
3489 u"徹",
3490 u"徻",
3491 u"徼",
3492 u"徽",
3493 u"徾",
3494 u"徿",
3495 u"忀",
3496 u"忁",
3497 u"心",
3498 u"忄",
3499 u"必",
3500 u"忆",
3501 u"忉",
3502 u"忌",
3503 u"忍",
3504 u"忏",
3505 u"忐",
3506 u"忑",
3507 u"忒",
3508 u"忔",
3509 u"忕",
3510 u"忖",
3511 u"志",
3512 u"忘",
3513 u"忙",
3514 u"応",
3515 u"忝",
3516 u"忞",
3517 u"忠",
3518 u"忡",
3519 u"忣",
3520 u"忤",
3521 u"忥",
3522 u"忧",
3523 u"忨",
3524 u"忪",
3525 u"快",
3526 u"忭",
3527 u"忮",
3528 u"忯",
3529 u"忰",
3530 u"忱",
3531 u"忳",
3532 u"忴",
3533 u"念",
3534 u"忷",
3535 u"忸",
3536 u"忺",
3537 u"忻",
3538 u"忽",
3539 u"忾",
3540 u"忿",
3541 u"怀",
3542 u"态",
3543 u"怂",
3544 u"怃",
3545 u"怄",
3546 u"怅",
3547 u"怆",
3548 u"怉",
3549 u"怊",
3550 u"怋",
3551 u"怌",
3552 u"怍",
3553 u"怎",
3554 u"怏",
3555 u"怐",
3556 u"怑",
3557 u"怒",
3558 u"怓",
3559 u"怔",
3560 u"怕",
3561 u"怖",
3562 u"怗",
3563 u"怙",
3564 u"怚",
3565 u"怛",
3566 u"怜",
3567 u"思",
3568 u"怞",
3569 u"怠",
3570 u"怡",
3571 u"怢",
3572 u"怤",
3573 u"急",
3574 u"怦",
3575 u"性",
3576 u"怨",
3577 u"怩",
3578 u"怪",
3579 u"怫",
3580 u"怬",
3581 u"怭",
3582 u"怮",
3583 u"怯",
3584 u"怱",
3585 u"怲",
3586 u"怳",
3587 u"怴",
3588 u"怵",
3589 u"怷",
3590 u"怹",
3591 u"怺",
3592 u"总",
3593 u"怼",
3594 u"怿",
3595 u"恀",
3596 u"恁",
3597 u"恂",
3598 u"恃",
3599 u"恄",
3600 u"恅",
3601 u"恆",
3602 u"恇",
3603 u"恉",
3604 u"恊",
3605 u"恋",
3606 u"恌",
3607 u"恍",
3608 u"恐",
3609 u"恒",
3610 u"恓",
3611 u"恔",
3612 u"恕",
3613 u"恘",
3614 u"恙",
3615 u"恚",
3616 u"恛",
3617 u"恝",
3618 u"恞",
3619 u"恟",
3620 u"恠",
3621 u"恢",
3622 u"恣",
3623 u"恤",
3624 u"恥",
3625 u"恦",
3626 u"恧",
3627 u"恨",
3628 u"恩",
3629 u"恪",
3630 u"恫",
3631 u"恬",
3632 u"恭",
3633 u"恮",
3634 u"息",
3635 u"恰",
3636 u"恲",
3637 u"恳",
3638 u"恵",
3639 u"恶",
3640 u"恷",
3641 u"恸",
3642 u"恹",
3643 u"恺",
3644 u"恻",
3645 u"恼",
3646 u"恽",
3647 u"恿",
3648 u"悀",
3649 u"悁",
3650 u"悃",
3651 u"悄",
3652 u"悅",
3653 u"悆",
3654 u"悇",
3655 u"悈",
3656 u"悉",
3657 u"悊",
3658 u"悋",
3659 u"悌",
3660 u"悍",
3661 u"悎",
3662 u"悐",
3663 u"悒",
3664 u"悔",
3665 u"悕",
3666 u"悖",
3667 u"悗",
3668 u"悚",
3669 u"悛",
3670 u"悜",
3671 u"悝",
3672 u"悟",
3673 u"悠",
3674 u"悢",
3675 u"患",
3676 u"悤",
3677 u"悦",
3678 u"悧",
3679 u"您",
3680 u"悩",
3681 u"悪",
3682 u"悫",
3683 u"悬",
3684 u"悭",
3685 u"悯",
3686 u"悰",
3687 u"悱",
3688 u"悲",
3689 u"悳",
3690 u"悴",
3691 u"悵",
3692 u"悶",
3693 u"悷",
3694 u"悸",
3695 u"悹",
3696 u"悺",
3697 u"悻",
3698 u"悼",
3699 u"悽",
3700 u"悾",
3701 u"悿",
3702 u"惀",
3703 u"惁",
3704 u"惃",
3705 u"惄",
3706 u"情",
3707 u"惆",
3708 u"惇",
3709 u"惈",
3710 u"惉",
3711 u"惊",
3712 u"惋",
3713 u"惌",
3714 u"惍",
3715 u"惎",
3716 u"惏",
3717 u"惑",
3718 u"惓",
3719 u"惔",
3720 u"惕",
3721 u"惘",
3722 u"惙",
3723 u"惚",
3724 u"惛",
3725 u"惜",
3726 u"惝",
3727 u"惞",
3728 u"惟",
3729 u"惠",
3730 u"惡",
3731 u"惢",
3732 u"惣",
3733 u"惤",
3734 u"惦",
3735 u"惧",
3736 u"惨",
3737 u"惩",
3738 u"惫",
3739 u"惬",
3740 u"惭",
3741 u"惮",
3742 u"惯",
3743 u"惰",
3744 u"惱",
3745 u"惲",
3746 u"想",
3747 u"惴",
3748 u"惵",
3749 u"惶",
3750 u"惷",
3751 u"惸",
3752 u"惹",
3753 u"惺",
3754 u"惻",
3755 u"惼",
3756 u"惾",
3757 u"惿",
3758 u"愀",
3759 u"愁",
3760 u"愃",
3761 u"愄",
3762 u"愅",
3763 u"愆",
3764 u"愈",
3765 u"愉",
3766 u"愊",
3767 u"愋",
3768 u"愍",
3769 u"愎",
3770 u"意",
3771 u"愐",
3772 u"愑",
3773 u"愒",
3774 u"愓",
3775 u"愔",
3776 u"愕",
3777 u"愖",
3778 u"愘",
3779 u"愚",
3780 u"愛",
3781 u"愜",
3782 u"愝",
3783 u"感",
3784 u"愠",
3785 u"愡",
3786 u"愣",
3787 u"愤",
3788 u"愦",
3789 u"愧",
3790 u"愨",
3791 u"愩",
3792 u"愫",
3793 u"愬",
3794 u"愮",
3795 u"愯",
3796 u"愰",
3797 u"愲",
3798 u"愴",
3799 u"愶",
3800 u"愷",
3801 u"愻",
3802 u"愼",
3803 u"愽",
3804 u"愾",
3805 u"愿",
3806 u"慀",
3807 u"慁",
3808 u"慂",
3809 u"慄",
3810 u"慅",
3811 u"慆",
3812 u"慇",
3813 u"慈",
3814 u"慉",
3815 u"慊",
3816 u"態",
3817 u"慌",
3818 u"慍",
3819 u"慎",
3820 u"慏",
3821 u"慑",
3822 u"慒",
3823 u"慓",
3824 u"慔",
3825 u"慕",
3826 u"慖",
3827 u"慘",
3828 u"慙",
3829 u"慚",
3830 u"慛",
3831 u"慝",
3832 u"慞",
3833 u"慟",
3834 u"慡",
3835 u"慢",
3836 u"慣",
3837 u"慤",
3838 u"慥",
3839 u"慦",
3840 u"慧",
3841 u"慨",
3842 u"慪",
3843 u"慫",
3844 u"慬",
3845 u"慮",
3846 u"慯",
3847 u"慰",
3848 u"慱",
3849 u"慲",
3850 u"慳",
3851 u"慴",
3852 u"慵",
3853 u"慶",
3854 u"慷",
3855 u"慹",
3856 u"慺",
3857 u"慼",
3858 u"慽",
3859 u"慾",
3860 u"憀",
3861 u"憁",
3862 u"憂",
3863 u"憃",
3864 u"憇",
3865 u"憉",
3866 u"憊",
3867 u"憋",
3868 u"憌",
3869 u"憍",
3870 u"憎",
3871 u"憐",
3872 u"憑",
3873 u"憒",
3874 u"憓",
3875 u"憔",
3876 u"憖",
3877 u"憘",
3878 u"憙",
3879 u"憚",
3880 u"憛",
3881 u"憝",
3882 u"憟",
3883 u"憡",
3884 u"憢",
3885 u"憤",
3886 u"憧",
3887 u"憨",
3888 u"憩",
3889 u"憪",
3890 u"憫",
3891 u"憬",
3892 u"憭",
3893 u"憮",
3894 u"憯",
3895 u"憰",
3896 u"憱",
3897 u"憲",
3898 u"憳",
3899 u"憴",
3900 u"憵",
3901 u"憶",
3902 u"憷",
3903 u"憸",
3904 u"憺",
3905 u"憼",
3906 u"憾",
3907 u"憿",
3908 u"懁",
3909 u"懂",
3910 u"懃",
3911 u"懅",
3912 u"懆",
3913 u"懇",
3914 u"懈",
3915 u"應",
3916 u"懊",
3917 u"懋",
3918 u"懌",
3919 u"懍",
3920 u"懐",
3921 u"懑",
3922 u"懒",
3923 u"懔",
3924 u"懖",
3925 u"懘",
3926 u"懞",
3927 u"懟",
3928 u"懠",
3929 u"懣",
3930 u"懤",
3931 u"懥",
3932 u"懦",
3933 u"懧",
3934 u"懨",
3935 u"懩",
3936 u"懪",
3937 u"懫",
3938 u"懭",
3939 u"懮",
3940 u"懰",
3941 u"懱",
3942 u"懲",
3943 u"懴",
3944 u"懵",
3945 u"懶",
3946 u"懷",
3947 u"懸",
3948 u"懹",
3949 u"懺",
3950 u"懻",
3951 u"懼",
3952 u"懽",
3953 u"懾",
3954 u"懿",
3955 u"戀",
3956 u"戁",
3957 u"戃",
3958 u"戄",
3959 u"戆",
3960 u"戇",
3961 u"戈",
3962 u"戉",
3963 u"戊",
3964 u"戋",
3965 u"戌",
3966 u"戍",
3967 u"戎",
3968 u"戏",
3969 u"成",
3970 u"我",
3971 u"戒",
3972 u"戓",
3973 u"戔",
3974 u"戕",
3975 u"或",
3976 u"戗",
3977 u"战",
3978 u"戙",
3979 u"戚",
3980 u"戛",
3981 u"戝",
3982 u"戞",
3983 u"戟",
3984 u"戠",
3985 u"戡",
3986 u"戢",
3987 u"戣",
3988 u"戤",
3989 u"戥",
3990 u"戦",
3991 u"戧",
3992 u"戩",
3993 u"截",
3994 u"戫",
3995 u"戬",
3996 u"戭",
3997 u"戮",
3998 u"戯",
3999 u"戰",
4000 u"戱",
4001 u"戲",
4002 u"戳",
4003 u"戴",
4004 u"戶",
4005 u"户",
4006 u"戸",
4007 u"戺",
4008 u"戻",
4009 u"戽",
4010 u"戾",
4011 u"房",
4012 u"所",
4013 u"扁",
4014 u"扂",
4015 u"扃",
4016 u"扆",
4017 u"扇",
4018 u"扈",
4019 u"扉",
4020 u"扊",
4021 u"手",
4022 u"扌",
4023 u"才",
4024 u"扎",
4025 u"扐",
4026 u"扑",
4027 u"扒",
4028 u"打",
4029 u"扔",
4030 u"払",
4031 u"托",
4032 u"扙",
4033 u"扚",
4034 u"扛",
4035 u"扜",
4036 u"扞",
4037 u"扠",
4038 u"扡",
4039 u"扢",
4040 u"扣",
4041 u"扤",
4042 u"扥",
4043 u"扦",
4044 u"执",
4045 u"扨",
4046 u"扩",
4047 u"扪",
4048 u"扫",
4049 u"扬",
4050 u"扭",
4051 u"扮",
4052 u"扯",
4053 u"扰",
4054 u"扱",
4055 u"扲",
4056 u"扳",
4057 u"扴",
4058 u"扶",
4059 u"扷",
4060 u"批",
4061 u"扺",
4062 u"扻",
4063 u"扼",
4064 u"扽",
4065 u"找",
4066 u"承",
4067 u"技",
4068 u"抁",
4069 u"抂",
4070 u"抃",
4071 u"抄",
4072 u"抆",
4073 u"抇",
4074 u"抈",
4075 u"抉",
4076 u"把",
4077 u"抌",
4078 u"抎",
4079 u"抏",
4080 u"抑",
4081 u"抒",
4082 u"抓",
4083 u"抔",
4084 u"投",
4085 u"抖",
4086 u"抗",
4087 u"折",
4088 u"抚",
4089 u"抛",
4090 u"抜",
4091 u"択",
4092 u"抟",
4093 u"抠",
4094 u"抡",
4095 u"抢",
4096 u"护",
4097 u"报",
4098 u"抦",
4099 u"抨",
4100 u"抩",
4101 u"抪",
4102 u"披",
4103 u"抬",
4104 u"抭",
4105 u"抮",
4106 u"抯",
4107 u"抰",
4108 u"抱",
4109 u"抳",
4110 u"抴",
4111 u"抵",
4112 u"抶",
4113 u"抸",
4114 u"抹",
4115 u"抻",
4116 u"押",
4117 u"抽",
4118 u"抾",
4119 u"抿",
4120 u"拂",
4121 u"拄",
4122 u"担",
4123 u"拆",
4124 u"拇",
4125 u"拈",
4126 u"拉",
4127 u"拊",
4128 u"拋",
4129 u"拌",
4130 u"拍",
4131 u"拎",
4132 u"拏",
4133 u"拐",
4134 u"拑",
4135 u"拒",
4136 u"拓",
4137 u"拔",
4138 u"拖",
4139 u"拗",
4140 u"拘",
4141 u"拙",
4142 u"拚",
4143 u"招",
4144 u"拜",
4145 u"拝",
4146 u"拟",
4147 u"拠",
4148 u"拡",
4149 u"拢",
4150 u"拣",
4151 u"拥",
4152 u"拦",
4153 u"拧",
4154 u"拨",
4155 u"择",
4156 u"拫",
4157 u"括",
4158 u"拭",
4159 u"拮",
4160 u"拯",
4161 u"拰",
4162 u"拱",
4163 u"拲",
4164 u"拳",
4165 u"拴",
4166 u"拵",
4167 u"拶",
4168 u"拷",
4169 u"拸",
4170 u"拹",
4171 u"拺",
4172 u"拻",
4173 u"拼",
4174 u"拽",
4175 u"拾",
4176 u"拿",
4177 u"挀",
4178 u"持",
4179 u"挂",
4180 u"挃",
4181 u"指",
4182 u"挈",
4183 u"按",
4184 u"挋",
4185 u"挌",
4186 u"挍",
4187 u"挎",
4188 u"挏",
4189 u"挐",
4190 u"挑",
4191 u"挓",
4192 u"挔",
4193 u"挕",
4194 u"挖",
4195 u"挙",
4196 u"挚",
4197 u"挛",
4198 u"挝",
4199 u"挞",
4200 u"挟",
4201 u"挠",
4202 u"挡",
4203 u"挢",
4204 u"挣",
4205 u"挤",
4206 u"挥",
4207 u"挧",
4208 u"挨",
4209 u"挩",
4210 u"挪",
4211 u"挫",
4212 u"挬",
4213 u"挭",
4214 u"振",
4215 u"挲",
4216 u"挳",
4217 u"挴",
4218 u"挶",
4219 u"挸",
4220 u"挹",
4221 u"挺",
4222 u"挻",
4223 u"挼",
4224 u"挽",
4225 u"挾",
4226 u"挿",
4227 u"捀",
4228 u"捁",
4229 u"捂",
4230 u"捃",
4231 u"捄",
4232 u"捅",
4233 u"捆",
4234 u"捇",
4235 u"捈",
4236 u"捉",
4237 u"捊",
4238 u"捋",
4239 u"捌",
4240 u"捍",
4241 u"捎",
4242 u"捏",
4243 u"捐",
4244 u"捑",
4245 u"捔",
4246 u"捕",
4247 u"捖",
4248 u"捗",
4249 u"捘",
4250 u"捙",
4251 u"捚",
4252 u"捜",
4253 u"捞",
4254 u"损",
4255 u"捡",
4256 u"换",
4257 u"捣",
4258 u"捥",
4259 u"捧",
4260 u"捨",
4261 u"捩",
4262 u"捫",
4263 u"捭",
4264 u"据",
4265 u"捯",
4266 u"捰",
4267 u"捱",
4268 u"捲",
4269 u"捵",
4270 u"捶",
4271 u"捷",
4272 u"捸",
4273 u"捺",
4274 u"捻",
4275 u"捼",
4276 u"捽",
4277 u"捿",
4278 u"掀",
4279 u"掁",
4280 u"掂",
4281 u"掃",
4282 u"掄",
4283 u"掅",
4284 u"掇",
4285 u"授",
4286 u"掉",
4287 u"掊",
4288 u"掌",
4289 u"掍",
4290 u"掎",
4291 u"掏",
4292 u"掐",
4293 u"掑",
4294 u"排",
4295 u"掔",
4296 u"掖",
4297 u"掗",
4298 u"掘",
4299 u"掙",
4300 u"掛",
4301 u"掜",
4302 u"掝",
4303 u"掞",
4304 u"掟",
4305 u"掠",
4306 u"採",
4307 u"探",
4308 u"掣",
4309 u"掤",
4310 u"接",
4311 u"控",
4312 u"推",
4313 u"掩",
4314 u"措",
4315 u"掫",
4316 u"掬",
4317 u"掭",
4318 u"掮",
4319 u"掯",
4320 u"掰",
4321 u"掱",
4322 u"掲",
4323 u"掳",
4324 u"掴",
4325 u"掵",
4326 u"掷",
4327 u"掸",
4328 u"掺",
4329 u"掻",
4330 u"掼",
4331 u"掽",
4332 u"掾",
4333 u"揀",
4334 u"揂",
4335 u"揃",
4336 u"揄",
4337 u"揅",
4338 u"揆",
4339 u"揇",
4340 u"揈",
4341 u"揉",
4342 u"揊",
4343 u"揋",
4344 u"揌",
4345 u"揍",
4346 u"揎",
4347 u"描",
4348 u"提",
4349 u"插",
4350 u"揓",
4351 u"揕",
4352 u"揖",
4353 u"揗",
4354 u"揘",
4355 u"揙",
4356 u"揚",
4357 u"換",
4358 u"揜",
4359 u"揝",
4360 u"揞",
4361 u"揟",
4362 u"揠",
4363 u"握",
4364 u"揣",
4365 u"揤",
4366 u"揥",
4367 u"揧",
4368 u"揨",
4369 u"揩",
4370 u"揪",
4371 u"揫",
4372 u"揭",
4373 u"揮",
4374 u"揯",
4375 u"揰",
4376 u"揱",
4377 u"揲",
4378 u"揳",
4379 u"援",
4380 u"揵",
4381 u"揶",
4382 u"揷",
4383 u"揸",
4384 u"揹",
4385 u"揺",
4386 u"揽",
4387 u"揿",
4388 u"搀",
4389 u"搁",
4390 u"搂",
4391 u"搅",
4392 u"搆",
4393 u"搉",
4394 u"搊",
4395 u"搋",
4396 u"搌",
4397 u"損",
4398 u"搎",
4399 u"搏",
4400 u"搐",
4401 u"搒",
4402 u"搓",
4403 u"搔",
4404 u"搕",
4405 u"搖",
4406 u"搗",
4407 u"搘",
4408 u"搚",
4409 u"搛",
4410 u"搜",
4411 u"搞",
4412 u"搟",
4413 u"搠",
4414 u"搡",
4415 u"搢",
4416 u"搣",
4417 u"搤",
4418 u"搥",
4419 u"搦",
4420 u"搧",
4421 u"搨",
4422 u"搪",
4423 u"搫",
4424 u"搬",
4425 u"搭",
4426 u"搮",
4427 u"搯",
4428 u"搰",
4429 u"搳",
4430 u"搴",
4431 u"搵",
4432 u"搶",
4433 u"搷",
4434 u"搹",
4435 u"携",
4436 u"搽",
4437 u"搾",
4438 u"搿",
4439 u"摀",
4440 u"摁",
4441 u"摂",
4442 u"摃",
4443 u"摄",
4444 u"摅",
4445 u"摆",
4446 u"摇",
4447 u"摈",
4448 u"摊",
4449 u"摋",
4450 u"摍",
4451 u"摎",
4452 u"摐",
4453 u"摑",
4454 u"摒",
4455 u"摓",
4456 u"摔",
4457 u"摘",
4458 u"摙",
4459 u"摛",
4460 u"摜",
4461 u"摝",
4462 u"摞",
4463 u"摟",
4464 u"摠",
4465 u"摡",
4466 u"摥",
4467 u"摦",
4468 u"摧",
4469 u"摨",
4470 u"摩",
4471 u"摫",
4472 u"摬",
4473 u"摭",
4474 u"摮",
4475 u"摯",
4476 u"摰",
4477 u"摲",
4478 u"摳",
4479 u"摴",
4480 u"摵",
4481 u"摶",
4482 u"摷",
4483 u"摸",
4484 u"摹",
4485 u"摺",
4486 u"摻",
4487 u"摽",
4488 u"摿",
4489 u"撂",
4490 u"撃",
4491 u"撄",
4492 u"撅",
4493 u"撇",
4494 u"撈",
4495 u"撉",
4496 u"撊",
4497 u"撋",
4498 u"撌",
4499 u"撏",
4500 u"撐",
4501 u"撑",
4502 u"撒",
4503 u"撓",
4504 u"撕",
4505 u"撖",
4506 u"撗",
4507 u"撘",
4508 u"撙",
4509 u"撚",
4510 u"撜",
4511 u"撝",
4512 u"撞",
4513 u"撟",
4514 u"撠",
4515 u"撢",
4516 u"撣",
4517 u"撤",
4518 u"撥",
4519 u"撦",
4520 u"撩",
4521 u"撫",
4522 u"撬",
4523 u"播",
4524 u"撮",
4525 u"撰",
4526 u"撱",
4527 u"撲",
4528 u"撳",
4529 u"撵",
4530 u"撷",
4531 u"撸",
4532 u"撹",
4533 u"撺",
4534 u"撻",
4535 u"撼",
4536 u"撽",
4537 u"撾",
4538 u"撿",
4539 u"擀",
4540 u"擁",
4541 u"擂",
4542 u"擃",
4543 u"擄",
4544 u"擅",
4545 u"擇",
4546 u"擉",
4547 u"擊",
4548 u"擋",
4549 u"操",
4550 u"擎",
4551 u"擏",
4552 u"擐",
4553 u"擒",
4554 u"擔",
4555 u"擖",
4556 u"擘",
4557 u"擙",
4558 u"據",
4559 u"擛",
4560 u"擞",
4561 u"擠",
4562 u"擡",
4563 u"擢",
4564 u"擣",
4565 u"擤",
4566 u"擥",
4567 u"擦",
4568 u"擧",
4569 u"擨",
4570 u"擩",
4571 u"擫",
4572 u"擬",
4573 u"擭",
4574 u"擯",
4575 u"擰",
4576 u"擱",
4577 u"擲",
4578 u"擳",
4579 u"擴",
4580 u"擶",
4581 u"擷",
4582 u"擸",
4583 u"擺",
4584 u"擻",
4585 u"擼",
4586 u"擽",
4587 u"擾",
4588 u"擿",
4589 u"攀",
4590 u"攁",
4591 u"攃",
4592 u"攄",
4593 u"攅",
4594 u"攆",
4595 u"攇",
4596 u"攉",
4597 u"攌",
4598 u"攍",
4599 u"攎",
4600 u"攏",
4601 u"攐",
4602 u"攒",
4603 u"攓",
4604 u"攔",
4605 u"攕",
4606 u"攖",
4607 u"攗",
4608 u"攘",
4609 u"攙",
4610 u"攛",
4611 u"攜",
4612 u"攝",
4613 u"攠",
4614 u"攡",
4615 u"攢",
4616 u"攣",
4617 u"攤",
4618 u"攥",
4619 u"攦",
4620 u"攩",
4621 u"攪",
4622 u"攫",
4623 u"攬",
4624 u"攭",
4625 u"攮",
4626 u"支",
4627 u"攲",
4628 u"攳",
4629 u"攴",
4630 u"攵",
4631 u"收",
4632 u"攷",
4633 u"攸",
4634 u"改",
4635 u"攻",
4636 u"攽",
4637 u"放",
4638 u"政",
4639 u"敁",
4640 u"敃",
4641 u"故",
4642 u"敆",
4643 u"效",
4644 u"敉",
4645 u"敊",
4646 u"敌",
4647 u"敍",
4648 u"敎",
4649 u"敏",
4650 u"救",
4651 u"敓",
4652 u"敔",
4653 u"敕",
4654 u"敖",
4655 u"敗",
4656 u"敘",
4657 u"教",
4658 u"敛",
4659 u"敜",
4660 u"敝",
4661 u"敞",
4662 u"敢",
4663 u"散",
4664 u"敤",
4665 u"敥",
4666 u"敦",
4667 u"敧",
4668 u"敨",
4669 u"敪",
4670 u"敫",
4671 u"敬",
4672 u"敭",
4673 u"敯",
4674 u"数",
4675 u"敲",
4676 u"敳",
4677 u"整",
4678 u"敵",
4679 u"敶",
4680 u"敷",
4681 u"數",
4682 u"敹",
4683 u"敺",
4684 u"敻",
4685 u"敼",
4686 u"敾",
4687 u"敿",
4688 u"斀",
4689 u"斁",
4690 u"斂",
4691 u"斃",
4692 u"斄",
4693 u"斅",
4694 u"文",
4695 u"斈",
4696 u"斉",
4697 u"斋",
4698 u"斌",
4699 u"斎",
4700 u"斐",
4701 u"斑",
4702 u"斒",
4703 u"斓",
4704 u"斔",
4705 u"斕",
4706 u"斖",
4707 u"斗",
4708 u"料",
4709 u"斛",
4710 u"斜",
4711 u"斝",
4712 u"斞",
4713 u"斟",
4714 u"斠",
4715 u"斡",
4716 u"斢",
4717 u"斤",
4718 u"斥",
4719 u"斧",
4720 u"斨",
4721 u"斩",
4722 u"斪",
4723 u"斫",
4724 u"斬",
4725 u"断",
4726 u"斮",
4727 u"斯",
4728 u"新",
4729 u"斲",
4730 u"斳",
4731 u"斶",
4732 u"斷",
4733 u"斸",
4734 u"方",
4735 u"斻",
4736 u"於",
4737 u"施",
4738 u"斿",
4739 u"旁",
4740 u"旂",
4741 u"旃",
4742 u"旄",
4743 u"旅",
4744 u"旆",
4745 u"旋",
4746 u"旌",
4747 u"旍",
4748 u"旎",
4749 u"族",
4750 u"旐",
4751 u"旒",
4752 u"旓",
4753 u"旖",
4754 u"旗",
4755 u"旙",
4756 u"旚",
4757 u"旛",
4758 u"旝",
4759 u"旞",
4760 u"旟",
4761 u"无",
4762 u"旡",
4763 u"既",
4764 u"旣",
4765 u"日",
4766 u"旦",
4767 u"旧",
4768 u"旨",
4769 u"早",
4770 u"旬",
4771 u"旭",
4772 u"旮",
4773 u"旯",
4774 u"旰",
4775 u"旱",
4776 u"旲",
4777 u"旳",
4778 u"旴",
4779 u"旵",
4780 u"时",
4781 u"旷",
4782 u"旺",
4783 u"旻",
4784 u"旼",
4785 u"旽",
4786 u"旿",
4787 u"昀",
4788 u"昂",
4789 u"昃",
4790 u"昄",
4791 u"昅",
4792 u"昆",
4793 u"昇",
4794 u"昈",
4795 u"昉",
4796 u"昊",
4797 u"昋",
4798 u"昌",
4799 u"昍",
4800 u"明",
4801 u"昏",
4802 u"昐",
4803 u"昑",
4804 u"昒",
4805 u"易",
4806 u"昔",
4807 u"昕",
4808 u"昙",
4809 u"昜",
4810 u"昝",
4811 u"昞",
4812 u"星",
4813 u"映",
4814 u"昡",
4815 u"昢",
4816 u"昤",
4817 u"春",
4818 u"昦",
4819 u"昧",
4820 u"昨",
4821 u"昫",
4822 u"昭",
4823 u"昮",
4824 u"是",
4825 u"昰",
4826 u"昱",
4827 u"昲",
4828 u"昳",
4829 u"昴",
4830 u"昵",
4831 u"昶",
4832 u"昹",
4833 u"昺",
4834 u"昻",
4835 u"昼",
4836 u"显",
4837 u"昿",
4838 u"晁",
4839 u"時",
4840 u"晃",
4841 u"晄",
4842 u"晅",
4843 u"晇",
4844 u"晉",
4845 u"晊",
4846 u"晋",
4847 u"晌",
4848 u"晏",
4849 u"晑",
4850 u"晒",
4851 u"晓",
4852 u"晔",
4853 u"晕",
4854 u"晖",
4855 u"晗",
4856 u"晙",
4857 u"晚",
4858 u"晛",
4859 u"晜",
4860 u"晝",
4861 u"晞",
4862 u"晟",
4863 u"晡",
4864 u"晢",
4865 u"晤",
4866 u"晥",
4867 u"晦",
4868 u"晧",
4869 u"晨",
4870 u"晩",
4871 u"晪",
4872 u"晫",
4873 u"晬",
4874 u"普",
4875 u"景",
4876 u"晰",
4877 u"晱",
4878 u"晲",
4879 u"晳",
4880 u"晴",
4881 u"晶",
4882 u"晷",
4883 u"晸",
4884 u"晹",
4885 u"智",
4886 u"晻",
4887 u"晼",
4888 u"晾",
4889 u"暀",
4890 u"暁",
4891 u"暂",
4892 u"暃",
4893 u"暄",
4894 u"暆",
4895 u"暇",
4896 u"暈",
4897 u"暉",
4898 u"暊",
4899 u"暋",
4900 u"暌",
4901 u"暍",
4902 u"暎",
4903 u"暐",
4904 u"暑",
4905 u"暔",
4906 u"暕",
4907 u"暖",
4908 u"暗",
4909 u"暘",
4910 u"暙",
4911 u"暝",
4912 u"暟",
4913 u"暠",
4914 u"暡",
4915 u"暢",
4916 u"暦",
4917 u"暧",
4918 u"暨",
4919 u"暩",
4920 u"暪",
4921 u"暫",
4922 u"暮",
4923 u"暯",
4924 u"暰",
4925 u"暱",
4926 u"暲",
4927 u"暳",
4928 u"暴",
4929 u"暵",
4930 u"暷",
4931 u"暸",
4932 u"暹",
4933 u"暺",
4934 u"暻",
4935 u"暼",
4936 u"暽",
4937 u"暾",
4938 u"暿",
4939 u"曀",
4940 u"曁",
4941 u"曄",
4942 u"曆",
4943 u"曇",
4944 u"曈",
4945 u"曉",
4946 u"曊",
4947 u"曋",
4948 u"曌",
4949 u"曏",
4950 u"曒",
4951 u"曖",
4952 u"曘",
4953 u"曙",
4954 u"曚",
4955 u"曛",
4956 u"曜",
4957 u"曝",
4958 u"曞",
4959 u"曠",
4960 u"曣",
4961 u"曤",
4962 u"曦",
4963 u"曨",
4964 u"曩",
4965 u"曫",
4966 u"曬",
4967 u"曭",
4968 u"曮",
4969 u"曰",
4970 u"曲",
4971 u"曳",
4972 u"更",
4973 u"曵",
4974 u"曶",
4975 u"曷",
4976 u"書",
4977 u"曹",
4978 u"曺",
4979 u"曻",
4980 u"曼",
4981 u"曽",
4982 u"曾",
4983 u"替",
4984 u"最",
4985 u"朁",
4986 u"會",
4987 u"朄",
4988 u"朅",
4989 u"月",
4990 u"有",
4991 u"朊",
4992 u"朋",
4993 u"服",
4994 u"朎",
4995 u"朏",
4996 u"朐",
4997 u"朒",
4998 u"朓",
4999 u"朔",
5000 u"朕",
5001 u"朖",
5002 u"朗",
5003 u"朘",
5004 u"望",
5005 u"朝",
5006 u"朞",
5007 u"期",
5008 u"朠",
5009 u"朡",
5010 u"朢",
5011 u"朣",
5012 u"朦",
5013 u"朧",
5014 u"木",
5015 u"未",
5016 u"末",
5017 u"本",
5018 u"札",
5019 u"朮",
5020 u"术",
5021 u"朱",
5022 u"朳",
5023 u"朴",
5024 u"朵",
5025 u"朶",
5026 u"朷",
5027 u"朸",
5028 u"朹",
5029 u"机",
5030 u"朻",
5031 u"朼",
5032 u"朽",
5033 u"朾",
5034 u"朿",
5035 u"杀",
5036 u"杁",
5037 u"杂",
5038 u"权",
5039 u"杅",
5040 u"杆",
5041 u"杇",
5042 u"杈",
5043 u"杉",
5044 u"杋",
5045 u"杌",
5046 u"杍",
5047 u"李",
5048 u"杏",
5049 u"材",
5050 u"村",
5051 u"杓",
5052 u"杕",
5053 u"杖",
5054 u"杗",
5055 u"杙",
5056 u"杚",
5057 u"杜",
5058 u"杝",
5059 u"杞",
5060 u"束",
5061 u"杠",
5062 u"条",
5063 u"杢",
5064 u"杣",
5065 u"杤",
5066 u"来",
5067 u"杦",
5068 u"杨",
5069 u"杩",
5070 u"杪",
5071 u"杬",
5072 u"杭",
5073 u"杯",
5074 u"杰",
5075 u"東",
5076 u"杲",
5077 u"杳",
5078 u"杴",
5079 u"杵",
5080 u"杶",
5081 u"杷",
5082 u"杸",
5083 u"杹",
5084 u"杺",
5085 u"杻",
5086 u"杼",
5087 u"杽",
5088 u"松",
5089 u"板",
5090 u"极",
5091 u"枃",
5092 u"构",
5093 u"枅",
5094 u"枆",
5095 u"枇",
5096 u"枉",
5097 u"枋",
5098 u"枌",
5099 u"枍",
5100 u"枎",
5101 u"枏",
5102 u"析",
5103 u"枑",
5104 u"枒",
5105 u"枓",
5106 u"枔",
5107 u"枕",
5108 u"林",
5109 u"枘",
5110 u"枙",
5111 u"枚",
5112 u"果",
5113 u"枝",
5114 u"枞",
5115 u"枟",
5116 u"枠",
5117 u"枡",
5118 u"枢",
5119 u"枣",
5120 u"枥",
5121 u"枦",
5122 u"枧",
5123 u"枨",
5124 u"枩",
5125 u"枪",
5126 u"枫",
5127 u"枭",
5128 u"枮",
5129 u"枯",
5130 u"枰",
5131 u"枲",
5132 u"枳",
5133 u"枴",
5134 u"枵",
5135 u"架",
5136 u"枷",
5137 u"枸",
5138 u"枹",
5139 u"枺",
5140 u"枻",
5141 u"枾",
5142 u"柀",
5143 u"柁",
5144 u"柂",
5145 u"柃",
5146 u"柄",
5147 u"柅",
5148 u"柆",
5149 u"柈",
5150 u"柉",
5151 u"柊",
5152 u"柋",
5153 u"柌",
5154 u"柍",
5155 u"柎",
5156 u"柏",
5157 u"某",
5158 u"柑",
5159 u"柒",
5160 u"染",
5161 u"柔",
5162 u"柘",
5163 u"柙",
5164 u"柚",
5165 u"柛",
5166 u"柜",
5167 u"柝",
5168 u"柞",
5169 u"柟",
5170 u"柠",
5171 u"柢",
5172 u"柣",
5173 u"柤",
5174 u"查",
5175 u"柦",
5176 u"柧",
5177 u"柩",
5178 u"柪",
5179 u"柫",
5180 u"柬",
5181 u"柭",
5182 u"柮",
5183 u"柯",
5184 u"柰",
5185 u"柱",
5186 u"柲",
5187 u"柳",
5188 u"柴",
5189 u"柵",
5190 u"柶",
5191 u"柷",
5192 u"柸",
5193 u"柺",
5194 u"査",
5195 u"柼",
5196 u"柽",
5197 u"柾",
5198 u"柿",
5199 u"栀",
5200 u"栁",
5201 u"栂",
5202 u"栃",
5203 u"栄",
5204 u"栅",
5205 u"标",
5206 u"栈",
5207 u"栉",
5208 u"栊",
5209 u"栋",
5210 u"栌",
5211 u"栎",
5212 u"栏",
5213 u"树",
5214 u"栒",
5215 u"栓",
5216 u"栔",
5217 u"栖",
5218 u"栗",
5219 u"栘",
5220 u"栚",
5221 u"栜",
5222 u"栝",
5223 u"栞",
5224 u"栟",
5225 u"栠",
5226 u"校",
5227 u"栢",
5228 u"栥",
5229 u"栦",
5230 u"栨",
5231 u"栩",
5232 u"株",
5233 u"栫",
5234 u"栭",
5235 u"栮",
5236 u"栯",
5237 u"栱",
5238 u"栲",
5239 u"栳",
5240 u"栴",
5241 u"栵",
5242 u"样",
5243 u"核",
5244 u"根",
5245 u"栺",
5246 u"栻",
5247 u"格",
5248 u"栽",
5249 u"栾",
5250 u"桀",
5251 u"桁",
5252 u"桂",
5253 u"桃",
5254 u"桄",
5255 u"桅",
5256 u"框",
5257 u"案",
5258 u"桉",
5259 u"桊",
5260 u"桋",
5261 u"桌",
5262 u"桍",
5263 u"桎",
5264 u"桏",
5265 u"桐",
5266 u"桑",
5267 u"桒",
5268 u"桓",
5269 u"桔",
5270 u"桕",
5271 u"桙",
5272 u"桜",
5273 u"桝",
5274 u"桟",
5275 u"桠",
5276 u"桡",
5277 u"桢",
5278 u"档",
5279 u"桤",
5280 u"桥",
5281 u"桦",
5282 u"桧",
5283 u"桨",
5284 u"桩",
5285 u"桫",
5286 u"桭",
5287 u"桮",
5288 u"桯",
5289 u"桱",
5290 u"桲",
5291 u"桴",
5292 u"桵",
5293 u"桶",
5294 u"桷",
5295 u"桸",
5296 u"桹",
5297 u"桻",
5298 u"桼",
5299 u"桽",
5300 u"桾",
5301 u"桿",
5302 u"梀",
5303 u"梁",
5304 u"梂",
5305 u"梃",
5306 u"梅",
5307 u"梆",
5308 u"梇",
5309 u"梉",
5310 u"梊",
5311 u"梋",
5312 u"梌",
5313 u"梍",
5314 u"梏",
5315 u"梐",
5316 u"梑",
5317 u"梒",
5318 u"梓",
5319 u"梔",
5320 u"梖",
5321 u"梗",
5322 u"梛",
5323 u"梜",
5324 u"條",
5325 u"梟",
5326 u"梠",
5327 u"梡",
5328 u"梢",
5329 u"梣",
5330 u"梤",
5331 u"梦",
5332 u"梧",
5333 u"梨",
5334 u"梩",
5335 u"梪",
5336 u"梫",
5337 u"梬",
5338 u"梭",
5339 u"梮",
5340 u"梯",
5341 u"械",
5342 u"梱",
5343 u"梲",
5344 u"梳",
5345 u"梴",
5346 u"梵",
5347 u"梶",
5348 u"梹",
5349 u"梺",
5350 u"梼",
5351 u"检",
5352 u"棂",
5353 u"棄",
5354 u"棅",
5355 u"棆",
5356 u"棇",
5357 u"棈",
5358 u"棉",
5359 u"棊",
5360 u"棋",
5361 u"棌",
5362 u"棍",
5363 u"棎",
5364 u"棏",
5365 u"棐",
5366 u"棑",
5367 u"棒",
5368 u"棓",
5369 u"棔",
5370 u"棕",
5371 u"棖",
5372 u"棗",
5373 u"棘",
5374 u"棚",
5375 u"棜",
5376 u"棝",
5377 u"棞",
5378 u"棟",
5379 u"棠",
5380 u"棡",
5381 u"棣",
5382 u"棤",
5383 u"棦",
5384 u"棧",
5385 u"棨",
5386 u"棩",
5387 u"棪",
5388 u"棫",
5389 u"棬",
5390 u"森",
5391 u"棯",
5392 u"棰",
5393 u"棱",
5394 u"棲",
5395 u"棳",
5396 u"棴",
5397 u"棵",
5398 u"棶",
5399 u"棷",
5400 u"棸",
5401 u"棹",
5402 u"棺",
5403 u"棻",
5404 u"棼",
5405 u"棽",
5406 u"椀",
5407 u"椁",
5408 u"椄",
5409 u"椅",
5410 u"椆",
5411 u"椇",
5412 u"椈",
5413 u"椊",
5414 u"椋",
5415 u"椌",
5416 u"植",
5417 u"椎",
5418 u"椏",
5419 u"椐",
5420 u"椑",
5421 u"椒",
5422 u"椓",
5423 u"椔",
5424 u"椕",
5425 u"椗",
5426 u"椙",
5427 u"椚",
5428 u"椛",
5429 u"検",
5430 u"椟",
5431 u"椠",
5432 u"椡",
5433 u"椢",
5434 u"椣",
5435 u"椤",
5436 u"椥",
5437 u"椦",
5438 u"椨",
5439 u"椪",
5440 u"椭",
5441 u"椯",
5442 u"椰",
5443 u"椲",
5444 u"椳",
5445 u"椴",
5446 u"椵",
5447 u"椶",
5448 u"椷",
5449 u"椸",
5450 u"椹",
5451 u"椻",
5452 u"椼",
5453 u"椽",
5454 u"椿",
5455 u"楀",
5456 u"楁",
5457 u"楂",
5458 u"楄",
5459 u"楅",
5460 u"楈",
5461 u"楉",
5462 u"楊",
5463 u"楋",
5464 u"楌",
5465 u"楎",
5466 u"楏",
5467 u"楑",
5468 u"楒",
5469 u"楓",
5470 u"楔",
5471 u"楕",
5472 u"楖",
5473 u"楗",
5474 u"楘",
5475 u"楙",
5476 u"楚",
5477 u"楛",
5478 u"楜",
5479 u"楝",
5480 u"楞",
5481 u"楟",
5482 u"楠",
5483 u"楡",
5484 u"楢",
5485 u"楣",
5486 u"楥",
5487 u"楦",
5488 u"楨",
5489 u"楩",
5490 u"楪",
5491 u"楫",
5492 u"楬",
5493 u"業",
5494 u"楮",
5495 u"楯",
5496 u"楰",
5497 u"楱",
5498 u"楳",
5499 u"楴",
5500 u"極",
5501 u"楶",
5502 u"楷",
5503 u"楸",
5504 u"楹",
5505 u"楺",
5506 u"楻",
5507 u"楼",
5508 u"楽",
5509 u"楾",
5510 u"榀",
5511 u"榁",
5512 u"概",
5513 u"榃",
5514 u"榄",
5515 u"榆",
5516 u"榇",
5517 u"榈",
5518 u"榉",
5519 u"榊",
5520 u"榍",
5521 u"榎",
5522 u"榐",
5523 u"榑",
5524 u"榓",
5525 u"榔",
5526 u"榕",
5527 u"榖",
5528 u"榗",
5529 u"榘",
5530 u"榙",
5531 u"榚",
5532 u"榛",
5533 u"榜",
5534 u"榞",
5535 u"榠",
5536 u"榡",
5537 u"榣",
5538 u"榤",
5539 u"榥",
5540 u"榦",
5541 u"榧",
5542 u"榨",
5543 u"榩",
5544 u"榪",
5545 u"榫",
5546 u"榬",
5547 u"榭",
5548 u"榮",
5549 u"榯",
5550 u"榰",
5551 u"榱",
5552 u"榲",
5553 u"榳",
5554 u"榴",
5555 u"榵",
5556 u"榶",
5557 u"榷",
5558 u"榹",
5559 u"榻",
5560 u"榼",
5561 u"榽",
5562 u"榾",
5563 u"榿",
5564 u"槁",
5565 u"槂",
5566 u"槃",
5567 u"槄",
5568 u"槆",
5569 u"槇",
5570 u"槉",
5571 u"槊",
5572 u"構",
5573 u"槌",
5574 u"槍",
5575 u"槎",
5576 u"槏",
5577 u"槐",
5578 u"槓",
5579 u"槔",
5580 u"様",
5581 u"槙",
5582 u"槛",
5583 u"槝",
5584 u"槞",
5585 u"槟",
5586 u"槠",
5587 u"槢",
5588 u"槤",
5589 u"槥",
5590 u"槦",
5591 u"槧",
5592 u"槨",
5593 u"槪",
5594 u"槫",
5595 u"槬",
5596 u"槭",
5597 u"槮",
5598 u"槱",
5599 u"槲",
5600 u"槳",
5601 u"槴",
5602 u"槶",
5603 u"槷",
5604 u"槸",
5605 u"槹",
5606 u"槻",
5607 u"槼",
5608 u"槽",
5609 u"槾",
5610 u"槿",
5611 u"樀",
5612 u"樁",
5613 u"樂",
5614 u"樄",
5615 u"樅",
5616 u"樆",
5617 u"樇",
5618 u"樈",
5619 u"樉",
5620 u"樊",
5621 u"樋",
5622 u"樌",
5623 u"樍",
5624 u"樏",
5625 u"樑",
5626 u"樒",
5627 u"樓",
5628 u"樔",
5629 u"樕",
5630 u"樖",
5631 u"樗",
5632 u"樘",
5633 u"標",
5634 u"樛",
5635 u"樝",
5636 u"樞",
5637 u"樟",
5638 u"樠",
5639 u"模",
5640 u"樢",
5641 u"樣",
5642 u"樥",
5643 u"樦",
5644 u"樧",
5645 u"樨",
5646 u"権",
5647 u"横",
5648 u"樫",
5649 u"樮",
5650 u"樯",
5651 u"樰",
5652 u"樱",
5653 u"樲",
5654 u"樴",
5655 u"樵",
5656 u"樶",
5657 u"樸",
5658 u"樹",
5659 u"樺",
5660 u"樻",
5661 u"樼",
5662 u"樽",
5663 u"樾",
5664 u"樿",
5665 u"橀",
5666 u"橁",
5667 u"橄",
5668 u"橆",
5669 u"橇",
5670 u"橈",
5671 u"橉",
5672 u"橋",
5673 u"橍",
5674 u"橎",
5675 u"橏",
5676 u"橐",
5677 u"橑",
5678 u"橒",
5679 u"橓",
5680 u"橔",
5681 u"橕",
5682 u"橖",
5683 u"橘",
5684 u"橙",
5685 u"橚",
5686 u"橛",
5687 u"橝",
5688 u"橞",
5689 u"機",
5690 u"橠",
5691 u"橡",
5692 u"橢",
5693 u"橤",
5694 u"橥",
5695 u"橦",
5696 u"橧",
5697 u"橨",
5698 u"橩",
5699 u"橪",
5700 u"橫",
5701 u"橭",
5702 u"橯",
5703 u"橱",
5704 u"橲",
5705 u"橳",
5706 u"橶",
5707 u"橸",
5708 u"橹",
5709 u"橼",
5710 u"橾",
5711 u"橿",
5712 u"檀",
5713 u"檁",
5714 u"檃",
5715 u"檄",
5716 u"檅",
5717 u"檇",
5718 u"檉",
5719 u"檌",
5720 u"檍",
5721 u"檎",
5722 u"檐",
5723 u"檑",
5724 u"檒",
5725 u"檓",
5726 u"檔",
5727 u"檕",
5728 u"檖",
5729 u"檗",
5730 u"檚",
5731 u"檛",
5732 u"檜",
5733 u"檞",
5734 u"檟",
5735 u"檠",
5736 u"檡",
5737 u"檢",
5738 u"檣",
5739 u"檤",
5740 u"檥",
5741 u"檦",
5742 u"檨",
5743 u"檩",
5744 u"檪",
5745 u"檫",
5746 u"檬",
5747 u"檭",
5748 u"檮",
5749 u"檯",
5750 u"檳",
5751 u"檴",
5752 u"檶",
5753 u"檷",
5754 u"檸",
5755 u"檹",
5756 u"檺",
5757 u"檻",
5758 u"檽",
5759 u"櫁",
5760 u"櫂",
5761 u"櫃",
5762 u"櫅",
5763 u"櫆",
5764 u"櫇",
5765 u"櫋",
5766 u"櫌",
5767 u"櫍",
5768 u"櫏",
5769 u"櫐",
5770 u"櫑",
5771 u"櫓",
5772 u"櫙",
5773 u"櫚",
5774 u"櫛",
5775 u"櫜",
5776 u"櫝",
5777 u"櫞",
5778 u"櫟",
5779 u"櫠",
5780 u"櫡",
5781 u"櫢",
5782 u"櫤",
5783 u"櫥",
5784 u"櫧",
5785 u"櫨",
5786 u"櫪",
5787 u"櫫",
5788 u"櫬",
5789 u"櫮",
5790 u"櫯",
5791 u"櫰",
5792 u"櫱",
5793 u"櫳",
5794 u"櫶",
5795 u"櫸",
5796 u"櫹",
5797 u"櫺",
5798 u"櫻",
5799 u"櫼",
5800 u"欀",
5801 u"欂",
5802 u"欃",
5803 u"欄",
5804 u"欅",
5805 u"欈",
5806 u"欉",
5807 u"權",
5808 u"欋",
5809 u"欌",
5810 u"欏",
5811 u"欐",
5812 u"欑",
5813 u"欒",
5814 u"欓",
5815 u"欖",
5816 u"欗",
5817 u"欘",
5818 u"欙",
5819 u"欚",
5820 u"欝",
5821 u"欞",
5822 u"欟",
5823 u"欠",
5824 u"次",
5825 u"欢",
5826 u"欣",
5827 u"欤",
5828 u"欥",
5829 u"欧",
5830 u"欨",
5831 u"欬",
5832 u"欭",
5833 u"欯",
5834 u"欱",
5835 u"欲",
5836 u"欳",
5837 u"欴",
5838 u"欶",
5839 u"欷",
5840 u"欸",
5841 u"欹",
5842 u"欺",
5843 u"欻",
5844 u"欼",
5845 u"欽",
5846 u"款",
5847 u"欿",
5848 u"歁",
5849 u"歂",
5850 u"歃",
5851 u"歅",
5852 u"歆",
5853 u"歇",
5854 u"歈",
5855 u"歉",
5856 u"歊",
5857 u"歋",
5858 u"歌",
5859 u"歍",
5860 u"歎",
5861 u"歐",
5862 u"歑",
5863 u"歓",
5864 u"歔",
5865 u"歕",
5866 u"歖",
5867 u"歙",
5868 u"歛",
5869 u"歜",
5870 u"歞",
5871 u"歟",
5872 u"歠",
5873 u"歡",
5874 u"止",
5875 u"正",
5876 u"此",
5877 u"步",
5878 u"武",
5879 u"歧",
5880 u"歩",
5881 u"歪",
5882 u"歭",
5883 u"歯",
5884 u"歲",
5885 u"歳",
5886 u"歴",
5887 u"歶",
5888 u"歷",
5889 u"歸",
5890 u"歹",
5891 u"死",
5892 u"歼",
5893 u"歾",
5894 u"歿",
5895 u"殀",
5896 u"殁",
5897 u"殂",
5898 u"殃",
5899 u"殄",
5900 u"殆",
5901 u"殇",
5902 u"殈",
5903 u"殉",
5904 u"殊",
5905 u"残",
5906 u"殌",
5907 u"殍",
5908 u"殎",
5909 u"殏",
5910 u"殑",
5911 u"殒",
5912 u"殓",
5913 u"殔",
5914 u"殕",
5915 u"殖",
5916 u"殗",
5917 u"殘",
5918 u"殙",
5919 u"殚",
5920 u"殛",
5921 u"殞",
5922 u"殟",
5923 u"殠",
5924 u"殡",
5925 u"殢",
5926 u"殣",
5927 u"殤",
5928 u"殥",
5929 u"殦",
5930 u"殧",
5931 u"殪",
5932 u"殫",
5933 u"殭",
5934 u"殮",
5935 u"殯",
5936 u"殰",
5937 u"殱",
5938 u"殲",
5939 u"殳",
5940 u"殴",
5941 u"段",
5942 u"殶",
5943 u"殷",
5944 u"殺",
5945 u"殻",
5946 u"殼",
5947 u"殽",
5948 u"殿",
5949 u"毀",
5950 u"毁",
5951 u"毂",
5952 u"毃",
5953 u"毄",
5954 u"毅",
5955 u"毆",
5956 u"毇",
5957 u"毈",
5958 u"毉",
5959 u"毊",
5960 u"毋",
5961 u"毌",
5962 u"母",
5963 u"毎",
5964 u"每",
5965 u"毐",
5966 u"毒",
5967 u"毓",
5968 u"比",
5969 u"毕",
5970 u"毖",
5971 u"毗",
5972 u"毘",
5973 u"毙",
5974 u"毚",
5975 u"毛",
5976 u"毞",
5977 u"毟",
5978 u"毠",
5979 u"毡",
5980 u"毢",
5981 u"毣",
5982 u"毤",
5983 u"毦",
5984 u"毧",
5985 u"毨",
5986 u"毪",
5987 u"毫",
5988 u"毬",
5989 u"毯",
5990 u"毰",
5991 u"毲",
5992 u"毳",
5993 u"毵",
5994 u"毷",
5995 u"毸",
5996 u"毹",
5997 u"毻",
5998 u"毼",
5999 u"毽",
6000 u"毾",
6001 u"毿",
6002 u"氀",
6003 u"氁",
6004 u"氂",
6005 u"氃",
6006 u"氄",
6007 u"氅",
6008 u"氆",
6009 u"氇",
6010 u"氈",
6011 u"氉",
6012 u"氋",
6013 u"氌",
6014 u"氍",
6015 u"氏",
6016 u"氐",
6017 u"民",
6018 u"氓",
6019 u"气",
6020 u"氕",
6021 u"氖",
6022 u"気",
6023 u"氘",
6024 u"氙",
6025 u"氚",
6026 u"氛",
6027 u"氝",
6028 u"氟",
6029 u"氠",
6030 u"氡",
6031 u"氢",
6032 u"氣",
6033 u"氤",
6034 u"氥",
6035 u"氦",
6036 u"氧",
6037 u"氨",
6038 u"氩",
6039 u"氪",
6040 u"氫",
6041 u"氬",
6042 u"氮",
6043 u"氯",
6044 u"氰",
6045 u"氲",
6046 u"氳",
6047 u"水",
6048 u"氵",
6049 u"氶",
6050 u"氷",
6051 u"永",
6052 u"氻",
6053 u"氽",
6054 u"氾",
6055 u"氿",
6056 u"汀",
6057 u"汁",
6058 u"求",
6059 u"汃",
6060 u"汆",
6061 u"汇",
6062 u"汉",
6063 u"汊",
6064 u"汋",
6065 u"汌",
6066 u"汍",
6067 u"汎",
6068 u"汏",
6069 u"汐",
6070 u"汒",
6071 u"汔",
6072 u"汕",
6073 u"汗",
6074 u"汙",
6075 u"汚",
6076 u"汛",
6077 u"汜",
6078 u"汝",
6079 u"汞",
6080 u"江",
6081 u"池",
6082 u"污",
6083 u"汢",
6084 u"汤",
6085 u"汥",
6086 u"汦",
6087 u"汧",
6088 u"汨",
6089 u"汩",
6090 u"汪",
6091 u"汫",
6092 u"汭",
6093 u"汯",
6094 u"汰",
6095 u"汱",
6096 u"汲",
6097 u"汳",
6098 u"汴",
6099 u"汶",
6100 u"汸",
6101 u"汹",
6102 u"決",
6103 u"汻",
6104 u"汽",
6105 u"汾",
6106 u"沀",
6107 u"沁",
6108 u"沂",
6109 u"沃",
6110 u"沄",
6111 u"沅",
6112 u"沆",
6113 u"沇",
6114 u"沈",
6115 u"沉",
6116 u"沊",
6117 u"沋",
6118 u"沌",
6119 u"沍",
6120 u"沎",
6121 u"沏",
6122 u"沐",
6123 u"沒",
6124 u"沓",
6125 u"沔",
6126 u"沕",
6127 u"沖",
6128 u"沘",
6129 u"沙",
6130 u"沚",
6131 u"沛",
6132 u"沜",
6133 u"沝",
6134 u"沟",
6135 u"没",
6136 u"沢",
6137 u"沣",
6138 u"沤",
6139 u"沥",
6140 u"沦",
6141 u"沧",
6142 u"沩",
6143 u"沪",
6144 u"沫",
6145 u"沬",
6146 u"沭",
6147 u"沮",
6148 u"沰",
6149 u"沱",
6150 u"沲",
6151 u"河",
6152 u"沴",
6153 u"沶",
6154 u"沷",
6155 u"沸",
6156 u"油",
6157 u"沺",
6158 u"治",
6159 u"沼",
6160 u"沽",
6161 u"沾",
6162 u"沿",
6163 u"泀",
6164 u"況",
6165 u"泂",
6166 u"泃",
6167 u"泄",
6168 u"泅",
6169 u"泆",
6170 u"泇",
6171 u"泉",
6172 u"泊",
6173 u"泌",
6174 u"泍",
6175 u"泏",
6176 u"泐",
6177 u"泑",
6178 u"泒",
6179 u"泓",
6180 u"泔",
6181 u"法",
6182 u"泖",
6183 u"泗",
6184 u"泙",
6185 u"泚",
6186 u"泛",
6187 u"泜",
6188 u"泝",
6189 u"泞",
6190 u"泠",
6191 u"泡",
6192 u"波",
6193 u"泣",
6194 u"泥",
6195 u"泧",
6196 u"注",
6197 u"泩",
6198 u"泪",
6199 u"泫",
6200 u"泬",
6201 u"泭",
6202 u"泮",
6203 u"泯",
6204 u"泰",
6205 u"泱",
6206 u"泲",
6207 u"泳",
6208 u"泵",
6209 u"泶",
6210 u"泷",
6211 u"泸",
6212 u"泹",
6213 u"泺",
6214 u"泻",
6215 u"泼",
6216 u"泽",
6217 u"泾",
6218 u"洀",
6219 u"洁",
6220 u"洃",
6221 u"洄",
6222 u"洇",
6223 u"洈",
6224 u"洉",
6225 u"洊",
6226 u"洋",
6227 u"洌",
6228 u"洍",
6229 u"洎",
6230 u"洏",
6231 u"洐",
6232 u"洑",
6233 u"洒",
6234 u"洖",
6235 u"洗",
6236 u"洘",
6237 u"洙",
6238 u"洚",
6239 u"洛",
6240 u"洝",
6241 u"洞",
6242 u"洟",
6243 u"洠",
6244 u"洢",
6245 u"津",
6246 u"洧",
6247 u"洨",
6248 u"洩",
6249 u"洪",
6250 u"洫",
6251 u"洬",
6252 u"洭",
6253 u"洮",
6254 u"洯",
6255 u"洰",
6256 u"洱",
6257 u"洲",
6258 u"洳",
6259 u"洴",
6260 u"洵",
6261 u"洶",
6262 u"洷",
6263 u"洸",
6264 u"洹",
6265 u"洺",
6266 u"活",
6267 u"洼",
6268 u"洽",
6269 u"派",
6270 u"洿",
6271 u"浀",
6272 u"流",
6273 u"浂",
6274 u"浃",
6275 u"浄",
6276 u"浅",
6277 u"浆",
6278 u"浇",
6279 u"浈",
6280 u"浊",
6281 u"测",
6282 u"浍",
6283 u"济",
6284 u"浏",
6285 u"浑",
6286 u"浒",
6287 u"浓",
6288 u"浔",
6289 u"浘",
6290 u"浙",
6291 u"浚",
6292 u"浜",
6293 u"浞",
6294 u"浟",
6295 u"浠",
6296 u"浡",
6297 u"浢",
6298 u"浣",
6299 u"浤",
6300 u"浥",
6301 u"浦",
6302 u"浧",
6303 u"浨",
6304 u"浩",
6305 u"浪",
6306 u"浬",
6307 u"浭",
6308 u"浮",
6309 u"浯",
6310 u"浰",
6311 u"浴",
6312 u"浵",
6313 u"浶",
6314 u"海",
6315 u"浸",
6316 u"浹",
6317 u"浺",
6318 u"浻",
6319 u"浼",
6320 u"浽",
6321 u"浾",
6322 u"浿",
6323 u"涀",
6324 u"涂",
6325 u"涃",
6326 u"涄",
6327 u"涅",
6328 u"涆",
6329 u"涇",
6330 u"消",
6331 u"涉",
6332 u"涊",
6333 u"涋",
6334 u"涌",
6335 u"涍",
6336 u"涎",
6337 u"涐",
6338 u"涑",
6339 u"涒",
6340 u"涓",
6341 u"涔",
6342 u"涕",
6343 u"涖",
6344 u"涗",
6345 u"涘",
6346 u"涙",
6347 u"涛",
6348 u"涜",
6349 u"涝",
6350 u"涞",
6351 u"涟",
6352 u"涠",
6353 u"涡",
6354 u"涣",
6355 u"涤",
6356 u"润",
6357 u"涧",
6358 u"涨",
6359 u"涩",
6360 u"涪",
6361 u"涫",
6362 u"涬",
6363 u"涮",
6364 u"涯",
6365 u"液",
6366 u"涳",
6367 u"涴",
6368 u"涵",
6369 u"涷",
6370 u"涸",
6371 u"涺",
6372 u"涻",
6373 u"涼",
6374 u"涽",
6375 u"涾",
6376 u"涿",
6377 u"淀",
6378 u"淂",
6379 u"淃",
6380 u"淄",
6381 u"淅",
6382 u"淆",
6383 u"淇",
6384 u"淈",
6385 u"淉",
6386 u"淊",
6387 u"淋",
6388 u"淌",
6389 u"淍",
6390 u"淏",
6391 u"淐",
6392 u"淑",
6393 u"淒",
6394 u"淓",
6395 u"淔",
6396 u"淕",
6397 u"淖",
6398 u"淗",
6399 u"淘",
6400 u"淙",
6401 u"淚",
6402 u"淛",
6403 u"淜",
6404 u"淝",
6405 u"淞",
6406 u"淟",
6407 u"淠",
6408 u"淡",
6409 u"淢",
6410 u"淣",
6411 u"淤",
6412 u"淥",
6413 u"淦",
6414 u"淨",
6415 u"淩",
6416 u"淪",
6417 u"淫",
6418 u"淬",
6419 u"淭",
6420 u"淮",
6421 u"淯",
6422 u"淰",
6423 u"深",
6424 u"淲",
6425 u"淳",
6426 u"淴",
6427 u"淵",
6428 u"淶",
6429 u"混",
6430 u"淸",
6431 u"淹",
6432 u"淺",
6433 u"添",
6434 u"淼",
6435 u"淽",
6436 u"渀",
6437 u"渃",
6438 u"清",
6439 u"渇",
6440 u"済",
6441 u"渉",
6442 u"渊",
6443 u"渋",
6444 u"渌",
6445 u"渍",
6446 u"渎",
6447 u"渐",
6448 u"渑",
6449 u"渓",
6450 u"渔",
6451 u"渕",
6452 u"渖",
6453 u"渗",
6454 u"渙",
6455 u"渚",
6456 u"減",
6457 u"渜",
6458 u"渝",
6459 u"渟",
6460 u"渠",
6461 u"渡",
6462 u"渢",
6463 u"渣",
6464 u"渤",
6465 u"渥",
6466 u"渦",
6467 u"渧",
6468 u"渨",
6469 u"温",
6470 u"渫",
6471 u"測",
6472 u"渭",
6473 u"渮",
6474 u"港",
6475 u"渰",
6476 u"渱",
6477 u"渲",
6478 u"渳",
6479 u"渴",
6480 u"渵",
6481 u"渶",
6482 u"游",
6483 u"渹",
6484 u"渺",
6485 u"渻",
6486 u"渼",
6487 u"渽",
6488 u"渾",
6489 u"渿",
6490 u"湀",
6491 u"湁",
6492 u"湃",
6493 u"湄",
6494 u"湅",
6495 u"湆",
6496 u"湇",
6497 u"湉",
6498 u"湊",
6499 u"湋",
6500 u"湍",
6501 u"湎",
6502 u"湑",
6503 u"湒",
6504 u"湓",
6505 u"湔",
6506 u"湕",
6507 u"湖",
6508 u"湘",
6509 u"湚",
6510 u"湛",
6511 u"湜",
6512 u"湝",
6513 u"湞",
6514 u"湟",
6515 u"湠",
6516 u"湡",
6517 u"湢",
6518 u"湣",
6519 u"湤",
6520 u"湥",
6521 u"湦",
6522 u"湧",
6523 u"湨",
6524 u"湩",
6525 u"湫",
6526 u"湮",
6527 u"湯",
6528 u"湱",
6529 u"湲",
6530 u"湳",
6531 u"湴",
6532 u"湶",
6533 u"湷",
6534 u"湸",
6535 u"湹",
6536 u"湺",
6537 u"湾",
6538 u"湿",
6539 u"満",
6540 u"溂",
6541 u"溃",
6542 u"溅",
6543 u"溆",
6544 u"溈",
6545 u"溉",
6546 u"溌",
6547 u"溍",
6548 u"溎",
6549 u"溏",
6550 u"源",
6551 u"溒",
6552 u"溓",
6553 u"溔",
6554 u"準",
6555 u"溗",
6556 u"溘",
6557 u"溙",
6558 u"溛",
6559 u"溜",
6560 u"溝",
6561 u"溞",
6562 u"溟",
6563 u"溠",
6564 u"溡",
6565 u"溢",
6566 u"溣",
6567 u"溤",
6568 u"溥",
6569 u"溦",
6570 u"溧",
6571 u"溪",
6572 u"溫",
6573 u"溮",
6574 u"溯",
6575 u"溰",
6576 u"溱",
6577 u"溲",
6578 u"溳",
6579 u"溴",
6580 u"溶",
6581 u"溷",
6582 u"溹",
6583 u"溺",
6584 u"溻",
6585 u"溼",
6586 u"溽",
6587 u"溾",
6588 u"溿",
6589 u"滀",
6590 u"滁",
6591 u"滂",
6592 u"滃",
6593 u"滄",
6594 u"滅",
6595 u"滆",
6596 u"滇",
6597 u"滈",
6598 u"滉",
6599 u"滊",
6600 u"滋",
6601 u"滌",
6602 u"滍",
6603 u"滎",
6604 u"滏",
6605 u"滐",
6606 u"滑",
6607 u"滒",
6608 u"滓",
6609 u"滔",
6610 u"滕",
6611 u"滖",
6612 u"滗",
6613 u"滘",
6614 u"滚",
6615 u"滜",
6616 u"滝",
6617 u"滞",
6618 u"滟",
6619 u"滠",
6620 u"满",
6621 u"滢",
6622 u"滤",
6623 u"滥",
6624 u"滦",
6625 u"滨",
6626 u"滩",
6627 u"滫",
6628 u"滬",
6629 u"滭",
6630 u"滮",
6631 u"滯",
6632 u"滱",
6633 u"滲",
6634 u"滴",
6635 u"滵",
6636 u"滶",
6637 u"滷",
6638 u"滸",
6639 u"滹",
6640 u"滻",
6641 u"滼",
6642 u"滽",
6643 u"滾",
6644 u"滿",
6645 u"漀",
6646 u"漁",
6647 u"漂",
6648 u"漃",
6649 u"漅",
6650 u"漆",
6651 u"漇",
6652 u"漈",
6653 u"漉",
6654 u"漊",
6655 u"漍",
6656 u"漎",
6657 u"漏",
6658 u"漑",
6659 u"漒",
6660 u"漓",
6661 u"演",
6662 u"漕",
6663 u"漘",
6664 u"漙",
6665 u"漚",
6666 u"漜",
6667 u"漞",
6668 u"漟",
6669 u"漠",
6670 u"漡",
6671 u"漢",
6672 u"漣",
6673 u"漤",
6674 u"漥",
6675 u"漦",
6676 u"漧",
6677 u"漩",
6678 u"漪",
6679 u"漫",
6680 u"漬",
6681 u"漭",
6682 u"漮",
6683 u"漯",
6684 u"漰",
6685 u"漱",
6686 u"漲",
6687 u"漳",
6688 u"漵",
6689 u"漶",
6690 u"漷",
6691 u"漸",
6692 u"漹",
6693 u"漺",
6694 u"漻",
6695 u"漼",
6696 u"漾",
6697 u"漿",
6698 u"潀",
6699 u"潁",
6700 u"潃",
6701 u"潅",
6702 u"潆",
6703 u"潇",
6704 u"潋",
6705 u"潍",
6706 u"潎",
6707 u"潏",
6708 u"潐",
6709 u"潑",
6710 u"潒",
6711 u"潓",
6712 u"潔",
6713 u"潕",
6714 u"潗",
6715 u"潘",
6716 u"潚",
6717 u"潛",
6718 u"潜",
6719 u"潝",
6720 u"潞",
6721 u"潟",
6722 u"潠",
6723 u"潡",
6724 u"潢",
6725 u"潣",
6726 u"潤",
6727 u"潦",
6728 u"潧",
6729 u"潩",
6730 u"潪",
6731 u"潫",
6732 u"潬",
6733 u"潭",
6734 u"潮",
6735 u"潯",
6736 u"潰",
6737 u"潲",
6738 u"潳",
6739 u"潴",
6740 u"潶",
6741 u"潷",
6742 u"潸",
6743 u"潺",
6744 u"潻",
6745 u"潼",
6746 u"潽",
6747 u"潾",
6748 u"潿",
6749 u"澀",
6750 u"澁",
6751 u"澂",
6752 u"澄",
6753 u"澅",
6754 u"澆",
6755 u"澇",
6756 u"澈",
6757 u"澉",
6758 u"澋",
6759 u"澌",
6760 u"澍",
6761 u"澎",
6762 u"澐",
6763 u"澑",
6764 u"澒",
6765 u"澓",
6766 u"澔",
6767 u"澕",
6768 u"澖",
6769 u"澗",
6770 u"澜",
6771 u"澞",
6772 u"澠",
6773 u"澡",
6774 u"澢",
6775 u"澣",
6776 u"澤",
6777 u"澥",
6778 u"澦",
6779 u"澧",
6780 u"澨",
6781 u"澩",
6782 u"澪",
6783 u"澫",
6784 u"澬",
6785 u"澭",
6786 u"澮",
6787 u"澯",
6788 u"澰",
6789 u"澱",
6790 u"澲",
6791 u"澳",
6792 u"澴",
6793 u"澵",
6794 u"澶",
6795 u"澸",
6796 u"澹",
6797 u"澺",
6798 u"澼",
6799 u"澽",
6800 u"澾",
6801 u"澿",
6802 u"激",
6803 u"濁",
6804 u"濂",
6805 u"濃",
6806 u"濄",
6807 u"濆",
6808 u"濇",
6809 u"濈",
6810 u"濉",
6811 u"濊",
6812 u"濋",
6813 u"濌",
6814 u"濍",
6815 u"濎",
6816 u"濏",
6817 u"濑",
6818 u"濒",
6819 u"濔",
6820 u"濕",
6821 u"濘",
6822 u"濚",
6823 u"濛",
6824 u"濜",
6825 u"濝",
6826 u"濞",
6827 u"濟",
6828 u"濠",
6829 u"濡",
6830 u"濢",
6831 u"濣",
6832 u"濤",
6833 u"濦",
6834 u"濧",
6835 u"濨",
6836 u"濩",
6837 u"濫",
6838 u"濬",
6839 u"濭",
6840 u"濮",
6841 u"濯",
6842 u"濰",
6843 u"濱",
6844 u"濲",
6845 u"濳",
6846 u"濴",
6847 u"濵",
6848 u"濶",
6849 u"濷",
6850 u"濺",
6851 u"濻",
6852 u"濼",
6853 u"濾",
6854 u"濿",
6855 u"瀀",
6856 u"瀁",
6857 u"瀄",
6858 u"瀅",
6859 u"瀆",
6860 u"瀇",
6861 u"瀉",
6862 u"瀊",
6863 u"瀋",
6864 u"瀌",
6865 u"瀍",
6866 u"瀎",
6867 u"瀏",
6868 u"瀑",
6869 u"瀔",
6870 u"瀕",
6871 u"瀖",
6872 u"瀗",
6873 u"瀘",
6874 u"瀙",
6875 u"瀚",
6876 u"瀛",
6877 u"瀜",
6878 u"瀝",
6879 u"瀞",
6880 u"瀟",
6881 u"瀠",
6882 u"瀡",
6883 u"瀢",
6884 u"瀣",
6885 u"瀤",
6886 u"瀦",
6887 u"瀧",
6888 u"瀨",
6889 u"瀩",
6890 u"瀪",
6891 u"瀫",
6892 u"瀬",
6893 u"瀯",
6894 u"瀰",
6895 u"瀱",
6896 u"瀲",
6897 u"瀳",
6898 u"瀴",
6899 u"瀵",
6900 u"瀷",
6901 u"瀸",
6902 u"瀹",
6903 u"瀺",
6904 u"瀻",
6905 u"瀼",
6906 u"瀾",
6907 u"瀿",
6908 u"灀",
6909 u"灁",
6910 u"灂",
6911 u"灃",
6912 u"灄",
6913 u"灅",
6914 u"灆",
6915 u"灈",
6916 u"灉",
6917 u"灊",
6918 u"灌",
6919 u"灏",
6920 u"灐",
6921 u"灑",
6922 u"灒",
6923 u"灕",
6924 u"灖",
6925 u"灗",
6926 u"灘",
6927 u"灚",
6928 u"灛",
6929 u"灝",
6930 u"灞",
6931 u"灟",
6932 u"灠",
6933 u"灡",
6934 u"灢",
6935 u"灣",
6936 u"灤",
6937 u"灥",
6938 u"灦",
6939 u"灨",
6940 u"灩",
6941 u"灪",
6942 u"火",
6943 u"灬",
6944 u"灭",
6945 u"灯",
6946 u"灰",
6947 u"灱",
6948 u"灴",
6949 u"灵",
6950 u"灶",
6951 u"灸",
6952 u"灺",
6953 u"灼",
6954 u"災",
6955 u"灾",
6956 u"灿",
6957 u"炀",
6958 u"炂",
6959 u"炃",
6960 u"炄",
6961 u"炅",
6962 u"炆",
6963 u"炉",
6964 u"炊",
6965 u"炎",
6966 u"炑",
6967 u"炒",
6968 u"炓",
6969 u"炔",
6970 u"炕",
6971 u"炖",
6972 u"炘",
6973 u"炙",
6974 u"炚",
6975 u"炜",
6976 u"炝",
6977 u"炟",
6978 u"炡",
6979 u"炤",
6980 u"炩",
6981 u"炫",
6982 u"炬",
6983 u"炭",
6984 u"炮",
6985 u"炯",
6986 u"炰",
6987 u"炱",
6988 u"炳",
6989 u"炴",
6990 u"炵",
6991 u"炷",
6992 u"炸",
6993 u"点",
6994 u"為",
6995 u"炻",
6996 u"炼",
6997 u"炽",
6998 u"炾",
6999 u"烀",
7000 u"烁",
7001 u"烂",
7002 u"烃",
7003 u"烅",
7004 u"烆",
7005 u"烇",
7006 u"烈",
7007 u"烊",
7008 u"烋",
7009 u"烍",
7010 u"烎",
7011 u"烏",
7012 u"烑",
7013 u"烒",
7014 u"烓",
7015 u"烔",
7016 u"烗",
7017 u"烘",
7018 u"烙",
7019 u"烚",
7020 u"烛",
7021 u"烜",
7022 u"烝",
7023 u"烞",
7024 u"烟",
7025 u"烠",
7026 u"烡",
7027 u"烢",
7028 u"烤",
7029 u"烦",
7030 u"烧",
7031 u"烨",
7032 u"烩",
7033 u"烫",
7034 u"烬",
7035 u"热",
7036 u"烯",
7037 u"烰",
7038 u"烱",
7039 u"烳",
7040 u"烴",
7041 u"烶",
7042 u"烷",
7043 u"烸",
7044 u"烹",
7045 u"烺",
7046 u"烻",
7047 u"烼",
7048 u"烽",
7049 u"烿",
7050 u"焀",
7051 u"焂",
7052 u"焄",
7053 u"焆",
7054 u"焉",
7055 u"焊",
7056 u"焋",
7057 u"焌",
7058 u"焍",
7059 u"焎",
7060 u"焏",
7061 u"焐",
7062 u"焓",
7063 u"焔",
7064 u"焕",
7065 u"焖",
7066 u"焗",
7067 u"焘",
7068 u"焙",
7069 u"焚",
7070 u"焛",
7071 u"焜",
7072 u"焞",
7073 u"焟",
7074 u"焠",
7075 u"無",
7076 u"焢",
7077 u"焣",
7078 u"焥",
7079 u"焦",
7080 u"焨",
7081 u"焮",
7082 u"焯",
7083 u"焰",
7084 u"焱",
7085 u"焲",
7086 u"然",
7087 u"焺",
7088 u"焼",
7089 u"煁",
7090 u"煂",
7091 u"煃",
7092 u"煄",
7093 u"煅",
7094 u"煆",
7095 u"煇",
7096 u"煉",
7097 u"煊",
7098 u"煋",
7099 u"煌",
7100 u"煍",
7101 u"煎",
7102 u"煐",
7103 u"煒",
7104 u"煓",
7105 u"煔",
7106 u"煕",
7107 u"煖",
7108 u"煘",
7109 u"煙",
7110 u"煚",
7111 u"煜",
7112 u"煝",
7113 u"煞",
7114 u"煟",
7115 u"煠",
7116 u"煡",
7117 u"煢",
7118 u"煣",
7119 u"煤",
7120 u"煥",
7121 u"煦",
7122 u"照",
7123 u"煨",
7124 u"煩",
7125 u"煪",
7126 u"煬",
7127 u"煮",
7128 u"煰",
7129 u"煲",
7130 u"煳",
7131 u"煸",
7132 u"煺",
7133 u"煻",
7134 u"煽",
7135 u"熀",
7136 u"熁",
7137 u"熂",
7138 u"熄",
7139 u"熅",
7140 u"熆",
7141 u"熇",
7142 u"熈",
7143 u"熉",
7144 u"熊",
7145 u"熏",
7146 u"熐",
7147 u"熒",
7148 u"熔",
7149 u"熕",
7150 u"熗",
7151 u"熘",
7152 u"熙",
7153 u"熚",
7154 u"熛",
7155 u"熜",
7156 u"熝",
7157 u"熞",
7158 u"熟",
7159 u"熠",
7160 u"熡",
7161 u"熢",
7162 u"熤",
7163 u"熥",
7164 u"熧",
7165 u"熨",
7166 u"熩",
7167 u"熪",
7168 u"熬",
7169 u"熯",
7170 u"熰",
7171 u"熱",
7172 u"熲",
7173 u"熳",
7174 u"熵",
7175 u"熸",
7176 u"熹",
7177 u"熺",
7178 u"熼",
7179 u"熽",
7180 u"熾",
7181 u"熿",
7182 u"燀",
7183 u"燁",
7184 u"燂",
7185 u"燃",
7186 u"燄",
7187 u"燅",
7188 u"燆",
7189 u"燇",
7190 u"燈",
7191 u"燉",
7192 u"燊",
7193 u"燋",
7194 u"燎",
7195 u"燏",
7196 u"燐",
7197 u"燒",
7198 u"燔",
7199 u"燕",
7200 u"燖",
7201 u"燗",
7202 u"燘",
7203 u"燙",
7204 u"燚",
7205 u"燛",
7206 u"燜",
7207 u"營",
7208 u"燠",
7209 u"燡",
7210 u"燢",
7211 u"燤",
7212 u"燥",
7213 u"燦",
7214 u"燧",
7215 u"燨",
7216 u"燬",
7217 u"燭",
7218 u"燮",
7219 u"燰",
7220 u"燱",
7221 u"燲",
7222 u"燴",
7223 u"燵",
7224 u"燸",
7225 u"燹",
7226 u"燻",
7227 u"燼",
7228 u"燽",
7229 u"燾",
7230 u"燿",
7231 u"爀",
7232 u"爁",
7233 u"爂",
7234 u"爃",
7235 u"爅",
7236 u"爆",
7237 u"爇",
7238 u"爊",
7239 u"爌",
7240 u"爍",
7241 u"爐",
7242 u"爓",
7243 u"爔",
7244 u"爙",
7245 u"爚",
7246 u"爛",
7247 u"爝",
7248 u"爞",
7249 u"爟",
7250 u"爢",
7251 u"爣",
7252 u"爦",
7253 u"爧",
7254 u"爨",
7255 u"爩",
7256 u"爪",
7257 u"爬",
7258 u"爭",
7259 u"爰",
7260 u"爱",
7261 u"爲",
7262 u"爵",
7263 u"父",
7264 u"爷",
7265 u"爸",
7266 u"爹",
7267 u"爺",
7268 u"爻",
7269 u"爼",
7270 u"爽",
7271 u"爾",
7272 u"爿",
7273 u"牀",
7274 u"牁",
7275 u"牂",
7276 u"牄",
7277 u"牆",
7278 u"片",
7279 u"版",
7280 u"牉",
7281 u"牊",
7282 u"牋",
7283 u"牌",
7284 u"牍",
7285 u"牏",
7286 u"牒",
7287 u"牓",
7288 u"牖",
7289 u"牘",
7290 u"牙",
7291 u"牚",
7292 u"牛",
7293 u"牝",
7294 u"牞",
7295 u"牟",
7296 u"牠",
7297 u"牡",
7298 u"牢",
7299 u"牣",
7300 u"牦",
7301 u"牧",
7302 u"物",
7303 u"牪",
7304 u"牬",
7305 u"牮",
7306 u"牯",
7307 u"牰",
7308 u"牲",
7309 u"牳",
7310 u"牴",
7311 u"牵",
7312 u"牶",
7313 u"牷",
7314 u"牸",
7315 u"特",
7316 u"牺",
7317 u"牻",
7318 u"牼",
7319 u"牽",
7320 u"牾",
7321 u"牿",
7322 u"犀",
7323 u"犁",
7324 u"犂",
7325 u"犄",
7326 u"犅",
7327 u"犆",
7328 u"犇",
7329 u"犈",
7330 u"犉",
7331 u"犊",
7332 u"犋",
7333 u"犌",
7334 u"犍",
7335 u"犎",
7336 u"犏",
7337 u"犐",
7338 u"犑",
7339 u"犒",
7340 u"犓",
7341 u"犕",
7342 u"犖",
7343 u"犗",
7344 u"犘",
7345 u"犚",
7346 u"犛",
7347 u"犝",
7348 u"犞",
7349 u"犟",
7350 u"犠",
7351 u"犡",
7352 u"犢",
7353 u"犣",
7354 u"犤",
7355 u"犥",
7356 u"犦",
7357 u"犧",
7358 u"犨",
7359 u"犩",
7360 u"犪",
7361 u"犬",
7362 u"犭",
7363 u"犮",
7364 u"犯",
7365 u"犰",
7366 u"犱",
7367 u"犲",
7368 u"犴",
7369 u"犵",
7370 u"状",
7371 u"犷",
7372 u"犸",
7373 u"犹",
7374 u"犺",
7375 u"犽",
7376 u"犾",
7377 u"犿",
7378 u"狀",
7379 u"狁",
7380 u"狂",
7381 u"狃",
7382 u"狄",
7383 u"狅",
7384 u"狆",
7385 u"狈",
7386 u"狉",
7387 u"狊",
7388 u"狋",
7389 u"狌",
7390 u"狍",
7391 u"狎",
7392 u"狐",
7393 u"狑",
7394 u"狒",
7395 u"狔",
7396 u"狖",
7397 u"狗",
7398 u"狘",
7399 u"狙",
7400 u"狚",
7401 u"狛",
7402 u"狜",
7403 u"狞",
7404 u"狟",
7405 u"狠",
7406 u"狡",
7407 u"狢",
7408 u"狣",
7409 u"狤",
7410 u"狦",
7411 u"狨",
7412 u"狩",
7413 u"狪",
7414 u"狫",
7415 u"独",
7416 u"狭",
7417 u"狮",
7418 u"狯",
7419 u"狰",
7420 u"狱",
7421 u"狲",
7422 u"狳",
7423 u"狴",
7424 u"狶",
7425 u"狷",
7426 u"狸",
7427 u"狹",
7428 u"狺",
7429 u"狻",
7430 u"狼",
7431 u"狽",
7432 u"狾",
7433 u"狿",
7434 u"猀",
7435 u"猁",
7436 u"猃",
7437 u"猇",
7438 u"猈",
7439 u"猊",
7440 u"猋",
7441 u"猌",
7442 u"猎",
7443 u"猏",
7444 u"猑",
7445 u"猒",
7446 u"猓",
7447 u"猕",
7448 u"猖",
7449 u"猗",
7450 u"猘",
7451 u"猙",
7452 u"猛",
7453 u"猜",
7454 u"猝",
7455 u"猞",
7456 u"猟",
7457 u"猡",
7458 u"猢",
7459 u"猣",
7460 u"猤",
7461 u"猥",
7462 u"猦",
7463 u"猧",
7464 u"猩",
7465 u"猪",
7466 u"猫",
7467 u"猬",
7468 u"猭",
7469 u"献",
7470 u"猯",
7471 u"猰",
7472 u"猱",
7473 u"猲",
7474 u"猳",
7475 u"猴",
7476 u"猵",
7477 u"猶",
7478 u"猷",
7479 u"猸",
7480 u"猹",
7481 u"猺",
7482 u"猻",
7483 u"猼",
7484 u"猾",
7485 u"猿",
7486 u"獀",
7487 u"獂",
7488 u"獃",
7489 u"獄",
7490 u"獅",
7491 u"獉",
7492 u"獊",
7493 u"獌",
7494 u"獍",
7495 u"獎",
7496 u"獏",
7497 u"獐",
7498 u"獑",
7499 u"獒",
7500 u"獗",
7501 u"獘",
7502 u"獙",
7503 u"獚",
7504 u"獛",
7505 u"獝",
7506 u"獞",
7507 u"獟",
7508 u"獠",
7509 u"獡",
7510 u"獢",
7511 u"獣",
7512 u"獥",
7513 u"獦",
7514 u"獧",
7515 u"獨",
7516 u"獩",
7517 u"獪",
7518 u"獫",
7519 u"獬",
7520 u"獭",
7521 u"獮",
7522 u"獯",
7523 u"獰",
7524 u"獲",
7525 u"獳",
7526 u"獵",
7527 u"獶",
7528 u"獷",
7529 u"獸",
7530 u"獺",
7531 u"獻",
7532 u"獼",
7533 u"獽",
7534 u"獾",
7535 u"獿",
7536 u"玀",
7537 u"玁",
7538 u"玂",
7539 u"玃",
7540 u"玄",
7541 u"玅",
7542 u"玆",
7543 u"率",
7544 u"玈",
7545 u"玉",
7546 u"玊",
7547 u"王",
7548 u"玎",
7549 u"玑",
7550 u"玒",
7551 u"玓",
7552 u"玔",
7553 u"玕",
7554 u"玖",
7555 u"玗",
7556 u"玘",
7557 u"玛",
7558 u"玝",
7559 u"玟",
7560 u"玠",
7561 u"玡",
7562 u"玢",
7563 u"玤",
7564 u"玥",
7565 u"玦",
7566 u"玧",
7567 u"玨",
7568 u"玩",
7569 u"玫",
7570 u"玬",
7571 u"玭",
7572 u"玮",
7573 u"环",
7574 u"现",
7575 u"玲",
7576 u"玳",
7577 u"玴",
7578 u"玵",
7579 u"玶",
7580 u"玷",
7581 u"玸",
7582 u"玹",
7583 u"玺",
7584 u"玻",
7585 u"玼",
7586 u"玽",
7587 u"玾",
7588 u"玿",
7589 u"珀",
7590 u"珂",
7591 u"珃",
7592 u"珅",
7593 u"珆",
7594 u"珇",
7595 u"珈",
7596 u"珉",
7597 u"珊",
7598 u"珋",
7599 u"珌",
7600 u"珍",
7601 u"珎",
7602 u"珏",
7603 u"珐",
7604 u"珑",
7605 u"珒",
7606 u"珓",
7607 u"珔",
7608 u"珖",
7609 u"珗",
7610 u"珘",
7611 u"珙",
7612 u"珚",
7613 u"珛",
7614 u"珜",
7615 u"珝",
7616 u"珞",
7617 u"珠",
7618 u"珣",
7619 u"珤",
7620 u"珥",
7621 u"珦",
7622 u"珧",
7623 u"珨",
7624 u"珩",
7625 u"珪",
7626 u"珫",
7627 u"班",
7628 u"珮",
7629 u"珱",
7630 u"珲",
7631 u"珴",
7632 u"珵",
7633 u"珶",
7634 u"珷",
7635 u"珸",
7636 u"珹",
7637 u"珺",
7638 u"珼",
7639 u"珽",
7640 u"現",
7641 u"珿",
7642 u"琀",
7643 u"琁",
7644 u"球",
7645 u"琄",
7646 u"琅",
7647 u"理",
7648 u"琇",
7649 u"琈",
7650 u"琉",
7651 u"琊",
7652 u"琋",
7653 u"琌",
7654 u"琍",
7655 u"琏",
7656 u"琐",
7657 u"琓",
7658 u"琖",
7659 u"琚",
7660 u"琛",
7661 u"琝",
7662 u"琠",
7663 u"琡",
7664 u"琢",
7665 u"琣",
7666 u"琤",
7667 u"琥",
7668 u"琦",
7669 u"琨",
7670 u"琩",
7671 u"琪",
7672 u"琫",
7673 u"琬",
7674 u"琭",
7675 u"琮",
7676 u"琯",
7677 u"琰",
7678 u"琱",
7679 u"琲",
7680 u"琳",
7681 u"琴",
7682 u"琵",
7683 u"琶",
7684 u"琸",
7685 u"琺",
7686 u"琼",
7687 u"琿",
7688 u"瑀",
7689 u"瑁",
7690 u"瑂",
7691 u"瑃",
7692 u"瑄",
7693 u"瑆",
7694 u"瑊",
7695 u"瑋",
7696 u"瑍",
7697 u"瑎",
7698 u"瑏",
7699 u"瑐",
7700 u"瑑",
7701 u"瑒",
7702 u"瑔",
7703 u"瑕",
7704 u"瑗",
7705 u"瑙",
7706 u"瑚",
7707 u"瑛",
7708 u"瑜",
7709 u"瑞",
7710 u"瑟",
7711 u"瑠",
7712 u"瑢",
7713 u"瑣",
7714 u"瑤",
7715 u"瑥",
7716 u"瑧",
7717 u"瑨",
7718 u"瑩",
7719 u"瑪",
7720 u"瑭",
7721 u"瑮",
7722 u"瑯",
7723 u"瑰",
7724 u"瑱",
7725 u"瑲",
7726 u"瑳",
7727 u"瑵",
7728 u"瑶",
7729 u"瑷",
7730 u"瑹",
7731 u"瑼",
7732 u"瑽",
7733 u"瑾",
7734 u"瑿",
7735 u"璀",
7736 u"璁",
7737 u"璂",
7738 u"璃",
7739 u"璅",
7740 u"璆",
7741 u"璇",
7742 u"璈",
7743 u"璉",
7744 u"璊",
7745 u"璋",
7746 u"璎",
7747 u"璐",
7748 u"璒",
7749 u"璔",
7750 u"璕",
7751 u"璗",
7752 u"璘",
7753 u"璚",
7754 u"璜",
7755 u"璞",
7756 u"璟",
7757 u"璠",
7758 u"璡",
7759 u"璢",
7760 u"璣",
7761 u"璥",
7762 u"璦",
7763 u"璧",
7764 u"璨",
7765 u"璩",
7766 u"璪",
7767 u"璫",
7768 u"璭",
7769 u"璯",
7770 u"環",
7771 u"璱",
7772 u"璲",
7773 u"璵",
7774 u"璶",
7775 u"璷",
7776 u"璸",
7777 u"璹",
7778 u"璺",
7779 u"璻",
7780 u"璽",
7781 u"璾",
7782 u"璿",
7783 u"瓀",
7784 u"瓁",
7785 u"瓂",
7786 u"瓃",
7787 u"瓅",
7788 u"瓆",
7789 u"瓊",
7790 u"瓋",
7791 u"瓏",
7792 u"瓒",
7793 u"瓔",
7794 u"瓕",
7795 u"瓖",
7796 u"瓗",
7797 u"瓘",
7798 u"瓙",
7799 u"瓚",
7800 u"瓛",
7801 u"瓜",
7802 u"瓝",
7803 u"瓞",
7804 u"瓟",
7805 u"瓠",
7806 u"瓡",
7807 u"瓢",
7808 u"瓣",
7809 u"瓤",
7810 u"瓥",
7811 u"瓦",
7812 u"瓨",
7813 u"瓩",
7814 u"瓬",
7815 u"瓮",
7816 u"瓯",
7817 u"瓰",
7818 u"瓲",
7819 u"瓴",
7820 u"瓵",
7821 u"瓶",
7822 u"瓷",
7823 u"瓻",
7824 u"瓽",
7825 u"瓾",
7826 u"瓿",
7827 u"甀",
7828 u"甁",
7829 u"甂",
7830 u"甃",
7831 u"甄",
7832 u"甅",
7833 u"甇",
7834 u"甈",
7835 u"甋",
7836 u"甌",
7837 u"甍",
7838 u"甎",
7839 u"甏",
7840 u"甐",
7841 u"甑",
7842 u"甒",
7843 u"甓",
7844 u"甔",
7845 u"甕",
7846 u"甖",
7847 u"甗",
7848 u"甘",
7849 u"甙",
7850 u"甚",
7851 u"甛",
7852 u"甜",
7853 u"甝",
7854 u"甞",
7855 u"生",
7856 u"甡",
7857 u"產",
7858 u"産",
7859 u"甥",
7860 u"甦",
7861 u"用",
7862 u"甩",
7863 u"甪",
7864 u"甫",
7865 u"甬",
7866 u"甭",
7867 u"甮",
7868 u"甯",
7869 u"田",
7870 u"由",
7871 u"甲",
7872 u"申",
7873 u"电",
7874 u"男",
7875 u"甸",
7876 u"甹",
7877 u"町",
7878 u"画",
7879 u"甼",
7880 u"甽",
7881 u"甾",
7882 u"甿",
7883 u"畀",
7884 u"畄",
7885 u"畅",
7886 u"畆",
7887 u"畇",
7888 u"畈",
7889 u"畉",
7890 u"畊",
7891 u"畋",
7892 u"界",
7893 u"畍",
7894 u"畎",
7895 u"畏",
7896 u"畑",
7897 u"畔",
7898 u"留",
7899 u"畚",
7900 u"畛",
7901 u"畜",
7902 u"畝",
7903 u"畟",
7904 u"畠",
7905 u"畢",
7906 u"畣",
7907 u"畤",
7908 u"略",
7909 u"畦",
7910 u"畧",
7911 u"畩",
7912 u"番",
7913 u"畫",
7914 u"畬",
7915 u"畭",
7916 u"畯",
7917 u"異",
7918 u"畲",
7919 u"畳",
7920 u"畴",
7921 u"畵",
7922 u"當",
7923 u"畷",
7924 u"畸",
7925 u"畹",
7926 u"畺",
7927 u"畽",
7928 u"畾",
7929 u"畿",
7930 u"疀",
7931 u"疂",
7932 u"疃",
7933 u"疄",
7934 u"疆",
7935 u"疇",
7936 u"疉",
7937 u"疊",
7938 u"疋",
7939 u"疌",
7940 u"疎",
7941 u"疏",
7942 u"疐",
7943 u"疑",
7944 u"疔",
7945 u"疕",
7946 u"疖",
7947 u"疗",
7948 u"疘",
7949 u"疙",
7950 u"疚",
7951 u"疝",
7952 u"疟",
7953 u"疠",
7954 u"疡",
7955 u"疢",
7956 u"疣",
7957 u"疤",
7958 u"疥",
7959 u"疧",
7960 u"疪",
7961 u"疫",
7962 u"疬",
7963 u"疮",
7964 u"疯",
7965 u"疰",
7966 u"疱",
7967 u"疲",
7968 u"疳",
7969 u"疴",
7970 u"疵",
7971 u"疶",
7972 u"疸",
7973 u"疹",
7974 u"疺",
7975 u"疻",
7976 u"疼",
7977 u"疽",
7978 u"疾",
7979 u"疿",
7980 u"痀",
7981 u"痁",
7982 u"痂",
7983 u"痃",
7984 u"痄",
7985 u"病",
7986 u"症",
7987 u"痈",
7988 u"痉",
7989 u"痊",
7990 u"痋",
7991 u"痌",
7992 u"痍",
7993 u"痎",
7994 u"痏",
7995 u"痐",
7996 u"痑",
7997 u"痒",
7998 u"痔",
7999 u"痕",
8000 u"痖",
8001 u"痗",
8002 u"痘",
8003 u"痙",
8004 u"痚",
8005 u"痛",
8006 u"痝",
8007 u"痞",
8008 u"痟",
8009 u"痠",
8010 u"痡",
8011 u"痢",
8012 u"痣",
8013 u"痤",
8014 u"痦",
8015 u"痧",
8016 u"痨",
8017 u"痩",
8018 u"痪",
8019 u"痫",
8020 u"痭",
8021 u"痯",
8022 u"痰",
8023 u"痱",
8024 u"痲",
8025 u"痳",
8026 u"痴",
8027 u"痵",
8028 u"痶",
8029 u"痷",
8030 u"痸",
8031 u"痹",
8032 u"痺",
8033 u"痻",
8034 u"痼",
8035 u"痽",
8036 u"痾",
8037 u"痿",
8038 u"瘀",
8039 u"瘁",
8040 u"瘃",
8041 u"瘅",
8042 u"瘈",
8043 u"瘉",
8044 u"瘊",
8045 u"瘋",
8046 u"瘌",
8047 u"瘍",
8048 u"瘏",
8049 u"瘐",
8050 u"瘑",
8051 u"瘓",
8052 u"瘔",
8053 u"瘕",
8054 u"瘖",
8055 u"瘗",
8056 u"瘘",
8057 u"瘙",
8058 u"瘚",
8059 u"瘛",
8060 u"瘜",
8061 u"瘝",
8062 u"瘞",
8063 u"瘟",
8064 u"瘠",
8065 u"瘡",
8066 u"瘢",
8067 u"瘣",
8068 u"瘤",
8069 u"瘥",
8070 u"瘦",
8071 u"瘧",
8072 u"瘨",
8073 u"瘩",
8074 u"瘪",
8075 u"瘫",
8076 u"瘭",
8077 u"瘯",
8078 u"瘰",
8079 u"瘱",
8080 u"瘲",
8081 u"瘳",
8082 u"瘴",
8083 u"瘵",
8084 u"瘸",
8085 u"瘺",
8086 u"瘻",
8087 u"瘼",
8088 u"瘽",
8089 u"瘾",
8090 u"瘿",
8091 u"癀",
8092 u"療",
8093 u"癃",
8094 u"癆",
8095 u"癇",
8096 u"癈",
8097 u"癉",
8098 u"癌",
8099 u"癍",
8100 u"癎",
8101 u"癐",
8102 u"癒",
8103 u"癓",
8104 u"癔",
8105 u"癖",
8106 u"癗",
8107 u"癘",
8108 u"癙",
8109 u"癚",
8110 u"癜",
8111 u"癞",
8112 u"癟",
8113 u"癠",
8114 u"癡",
8115 u"癢",
8116 u"癣",
8117 u"癤",
8118 u"癥",
8119 u"癧",
8120 u"癨",
8121 u"癩",
8122 u"癪",
8123 u"癫",
8124 u"癬",
8125 u"癭",
8126 u"癮",
8127 u"癯",
8128 u"癰",
8129 u"癱",
8130 u"癲",
8131 u"癵",
8132 u"癶",
8133 u"癸",
8134 u"癹",
8135 u"発",
8136 u"登",
8137 u"發",
8138 u"白",
8139 u"百",
8140 u"癿",
8141 u"皀",
8142 u"皁",
8143 u"皂",
8144 u"皃",
8145 u"的",
8146 u"皆",
8147 u"皇",
8148 u"皈",
8149 u"皉",
8150 u"皊",
8151 u"皋",
8152 u"皎",
8153 u"皏",
8154 u"皐",
8155 u"皑",
8156 u"皒",
8157 u"皓",
8158 u"皕",
8159 u"皖",
8160 u"皙",
8161 u"皚",
8162 u"皛",
8163 u"皜",
8164 u"皝",
8165 u"皞",
8166 u"皤",
8167 u"皦",
8168 u"皪",
8169 u"皫",
8170 u"皭",
8171 u"皮",
8172 u"皯",
8173 u"皰",
8174 u"皱",
8175 u"皲",
8176 u"皴",
8177 u"皵",
8178 u"皷",
8179 u"皸",
8180 u"皹",
8181 u"皺",
8182 u"皻",
8183 u"皽",
8184 u"皾",
8185 u"皿",
8186 u"盂",
8187 u"盃",
8188 u"盄",
8189 u"盅",
8190 u"盆",
8191 u"盈",
8192 u"盉",
8193 u"益",
8194 u"盍",
8195 u"盎",
8196 u"盏",
8197 u"盐",
8198 u"监",
8199 u"盒",
8200 u"盓",
8201 u"盔",
8202 u"盖",
8203 u"盗",
8204 u"盘",
8205 u"盚",
8206 u"盛",
8207 u"盜",
8208 u"盝",
8209 u"盞",
8210 u"盟",
8211 u"盡",
8212 u"監",
8213 u"盤",
8214 u"盥",
8215 u"盦",
8216 u"盧",
8217 u"盩",
8218 u"盪",
8219 u"盬",
8220 u"盭",
8221 u"目",
8222 u"盯",
8223 u"盰",
8224 u"盱",
8225 u"盲",
8226 u"盳",
8227 u"直",
8228 u"盵",
8229 u"盷",
8230 u"相",
8231 u"盹",
8232 u"盺",
8233 u"盻",
8234 u"盼",
8235 u"盾",
8236 u"省",
8237 u"眃",
8238 u"眄",
8239 u"眅",
8240 u"眇",
8241 u"眈",
8242 u"眉",
8243 u"眊",
8244 u"看",
8245 u"県",
8246 u"眍",
8247 u"眐",
8248 u"眑",
8249 u"眒",
8250 u"眓",
8251 u"眕",
8252 u"眙",
8253 u"眚",
8254 u"眛",
8255 u"眝",
8256 u"眞",
8257 u"真",
8258 u"眠",
8259 u"眢",
8260 u"眣",
8261 u"眤",
8262 u"眥",
8263 u"眦",
8264 u"眧",
8265 u"眨",
8266 u"眩",
8267 u"眭",
8268 u"眯",
8269 u"眱",
8270 u"眲",
8271 u"眳",
8272 u"眴",
8273 u"眵",
8274 u"眶",
8275 u"眷",
8276 u"眸",
8277 u"眹",
8278 u"眺",
8279 u"眻",
8280 u"眼",
8281 u"眽",
8282 u"眾",
8283 u"着",
8284 u"睁",
8285 u"睃",
8286 u"睄",
8287 u"睅",
8288 u"睆",
8289 u"睇",
8290 u"睊",
8291 u"睋",
8292 u"睌",
8293 u"睍",
8294 u"睎",
8295 u"睏",
8296 u"睐",
8297 u"睑",
8298 u"睒",
8299 u"睔",
8300 u"睕",
8301 u"睖",
8302 u"睙",
8303 u"睚",
8304 u"睛",
8305 u"睜",
8306 u"睞",
8307 u"睟",
8308 u"睠",
8309 u"睡",
8310 u"睢",
8311 u"督",
8312 u"睥",
8313 u"睦",
8314 u"睧",
8315 u"睨",
8316 u"睩",
8317 u"睪",
8318 u"睫",
8319 u"睬",
8320 u"睭",
8321 u"睮",
8322 u"睯",
8323 u"睹",
8324 u"睼",
8325 u"睽",
8326 u"睾",
8327 u"睿",
8328 u"瞀",
8329 u"瞁",
8330 u"瞂",
8331 u"瞃",
8332 u"瞄",
8333 u"瞅",
8334 u"瞇",
8335 u"瞈",
8336 u"瞉",
8337 u"瞋",
8338 u"瞌",
8339 u"瞍",
8340 u"瞎",
8341 u"瞏",
8342 u"瞑",
8343 u"瞒",
8344 u"瞕",
8345 u"瞗",
8346 u"瞙",
8347 u"瞚",
8348 u"瞛",
8349 u"瞜",
8350 u"瞝",
8351 u"瞞",
8352 u"瞟",
8353 u"瞠",
8354 u"瞡",
8355 u"瞢",
8356 u"瞣",
8357 u"瞥",
8358 u"瞧",
8359 u"瞨",
8360 u"瞩",
8361 u"瞪",
8362 u"瞫",
8363 u"瞬",
8364 u"瞭",
8365 u"瞰",
8366 u"瞱",
8367 u"瞲",
8368 u"瞳",
8369 u"瞴",
8370 u"瞵",
8371 u"瞶",
8372 u"瞷",
8373 u"瞹",
8374 u"瞺",
8375 u"瞻",
8376 u"瞼",
8377 u"瞽",
8378 u"瞿",
8379 u"矂",
8380 u"矄",
8381 u"矇",
8382 u"矉",
8383 u"矊",
8384 u"矌",
8385 u"矍",
8386 u"矎",
8387 u"矏",
8388 u"矐",
8389 u"矓",
8390 u"矔",
8391 u"矕",
8392 u"矗",
8393 u"矘",
8394 u"矙",
8395 u"矚",
8396 u"矛",
8397 u"矜",
8398 u"矞",
8399 u"矠",
8400 u"矢",
8401 u"矣",
8402 u"知",
8403 u"矧",
8404 u"矨",
8405 u"矩",
8406 u"矫",
8407 u"矬",
8408 u"短",
8409 u"矮",
8410 u"矯",
8411 u"矰",
8412 u"矱",
8413 u"矲",
8414 u"石",
8415 u"矶",
8416 u"矷",
8417 u"矸",
8418 u"矹",
8419 u"矺",
8420 u"矻",
8421 u"矼",
8422 u"矽",
8423 u"矾",
8424 u"矿",
8425 u"砀",
8426 u"码",
8427 u"砂",
8428 u"砃",
8429 u"砅",
8430 u"砆",
8431 u"砉",
8432 u"砌",
8433 u"砍",
8434 u"砎",
8435 u"砏",
8436 u"砐",
8437 u"砑",
8438 u"砒",
8439 u"砓",
8440 u"研",
8441 u"砕",
8442 u"砖",
8443 u"砗",
8444 u"砘",
8445 u"砚",
8446 u"砜",
8447 u"砝",
8448 u"砟",
8449 u"砠",
8450 u"砡",
8451 u"砢",
8452 u"砣",
8453 u"砥",
8454 u"砦",
8455 u"砧",
8456 u"砨",
8457 u"砩",
8458 u"砪",
8459 u"砫",
8460 u"砬",
8461 u"砭",
8462 u"砮",
8463 u"砯",
8464 u"砰",
8465 u"砱",
8466 u"砲",
8467 u"砳",
8468 u"破",
8469 u"砵",
8470 u"砷",
8471 u"砸",
8472 u"砹",
8473 u"砺",
8474 u"砻",
8475 u"砼",
8476 u"砾",
8477 u"砿",
8478 u"础",
8479 u"硃",
8480 u"硅",
8481 u"硇",
8482 u"硈",
8483 u"硉",
8484 u"硊",
8485 u"硌",
8486 u"硍",
8487 u"硎",
8488 u"硏",
8489 u"硐",
8490 u"硒",
8491 u"硕",
8492 u"硖",
8493 u"硗",
8494 u"硜",
8495 u"硝",
8496 u"硞",
8497 u"硠",
8498 u"硢",
8499 u"硤",
8500 u"硥",
8501 u"硨",
8502 u"硩",
8503 u"硪",
8504 u"硫",
8505 u"硬",
8506 u"硭",
8507 u"确",
8508 u"硯",
8509 u"硰",
8510 u"硱",
8511 u"硲",
8512 u"硴",
8513 u"硷",
8514 u"硹",
8515 u"硺",
8516 u"硻",
8517 u"硼",
8518 u"硾",
8519 u"硿",
8520 u"碀",
8521 u"碁",
8522 u"碃",
8523 u"碄",
8524 u"碅",
8525 u"碆",
8526 u"碇",
8527 u"碉",
8528 u"碌",
8529 u"碍",
8530 u"碎",
8531 u"碏",
8532 u"碑",
8533 u"碓",
8534 u"碔",
8535 u"碕",
8536 u"碖",
8537 u"碗",
8538 u"碘",
8539 u"碙",
8540 u"碚",
8541 u"碛",
8542 u"碜",
8543 u"碞",
8544 u"碟",
8545 u"碠",
8546 u"碡",
8547 u"碢",
8548 u"碣",
8549 u"碤",
8550 u"碥",
8551 u"碧",
8552 u"碨",
8553 u"碩",
8554 u"碪",
8555 u"碫",
8556 u"碬",
8557 u"碭",
8558 u"碯",
8559 u"碰",
8560 u"碱",
8561 u"碲",
8562 u"碳",
8563 u"碴",
8564 u"碵",
8565 u"碹",
8566 u"確",
8567 u"碻",
8568 u"碼",
8569 u"碾",
8570 u"磁",
8571 u"磃",
8572 u"磄",
8573 u"磅",
8574 u"磆",
8575 u"磈",
8576 u"磉",
8577 u"磊",
8578 u"磋",
8579 u"磌",
8580 u"磍",
8581 u"磎",
8582 u"磏",
8583 u"磐",
8584 u"磑",
8585 u"磔",
8586 u"磕",
8587 u"磙",
8588 u"磚",
8589 u"磛",
8590 u"磝",
8591 u"磞",
8592 u"磟",
8593 u"磠",
8594 u"磡",
8595 u"磢",
8596 u"磣",
8597 u"磥",
8598 u"磧",
8599 u"磨",
8600 u"磩",
8601 u"磪",
8602 u"磬",
8603 u"磭",
8604 u"磯",
8605 u"磲",
8606 u"磳",
8607 u"磴",
8608 u"磵",
8609 u"磷",
8610 u"磹",
8611 u"磺",
8612 u"磻",
8613 u"磼",
8614 u"磽",
8615 u"磾",
8616 u"磿",
8617 u"礁",
8618 u"礂",
8619 u"礄",
8620 u"礅",
8621 u"礇",
8622 u"礉",
8623 u"礌",
8624 u"礎",
8625 u"礐",
8626 u"礑",
8627 u"礒",
8628 u"礓",
8629 u"礔",
8630 u"礖",
8631 u"礗",
8632 u"礙",
8633 u"礛",
8634 u"礜",
8635 u"礝",
8636 u"礞",
8637 u"礡",
8638 u"礣",
8639 u"礤",
8640 u"礥",
8641 u"礦",
8642 u"礧",
8643 u"礨",
8644 u"礩",
8645 u"礪",
8646 u"礫",
8647 u"礬",
8648 u"礭",
8649 u"礯",
8650 u"礰",
8651 u"礱",
8652 u"礴",
8653 u"礵",
8654 u"礸",
8655 u"礹",
8656 u"示",
8657 u"礻",
8658 u"礼",
8659 u"礽",
8660 u"社",
8661 u"礿",
8662 u"祀",
8663 u"祁",
8664 u"祂",
8665 u"祄",
8666 u"祅",
8667 u"祆",
8668 u"祇",
8669 u"祈",
8670 u"祉",
8671 u"祊",
8672 u"祋",
8673 u"祌",
8674 u"祏",
8675 u"祐",
8676 u"祑",
8677 u"祒",
8678 u"祓",
8679 u"祔",
8680 u"祕",
8681 u"祖",
8682 u"祗",
8683 u"祚",
8684 u"祛",
8685 u"祜",
8686 u"祝",
8687 u"神",
8688 u"祟",
8689 u"祠",
8690 u"祡",
8691 u"祢",
8692 u"祣",
8693 u"祤",
8694 u"祥",
8695 u"祧",
8696 u"票",
8697 u"祩",
8698 u"祪",
8699 u"祫",
8700 u"祭",
8701 u"祯",
8702 u"祰",
8703 u"祲",
8704 u"祳",
8705 u"祴",
8706 u"祷",
8707 u"祸",
8708 u"祹",
8709 u"祺",
8710 u"祼",
8711 u"祽",
8712 u"祿",
8713 u"禀",
8714 u"禁",
8715 u"禂",
8716 u"禄",
8717 u"禅",
8718 u"禈",
8719 u"禊",
8720 u"禋",
8721 u"禍",
8722 u"禎",
8723 u"福",
8724 u"禐",
8725 u"禑",
8726 u"禒",
8727 u"禓",
8728 u"禔",
8729 u"禕",
8730 u"禖",
8731 u"禗",
8732 u"禘",
8733 u"禚",
8734 u"禛",
8735 u"禜",
8736 u"禝",
8737 u"禠",
8738 u"禡",
8739 u"禢",
8740 u"禤",
8741 u"禦",
8742 u"禧",
8743 u"禨",
8744 u"禪",
8745 u"禫",
8746 u"禬",
8747 u"禭",
8748 u"禮",
8749 u"禰",
8750 u"禱",
8751 u"禲",
8752 u"禳",
8753 u"禴",
8754 u"禶",
8755 u"禷",
8756 u"禸",
8757 u"禹",
8758 u"禺",
8759 u"离",
8760 u"禽",
8761 u"禾",
8762 u"禿",
8763 u"秀",
8764 u"私",
8765 u"秃",
8766 u"秅",
8767 u"秆",
8768 u"秈",
8769 u"秉",
8770 u"秊",
8771 u"秋",
8772 u"种",
8773 u"秎",
8774 u"秏",
8775 u"科",
8776 u"秒",
8777 u"秕",
8778 u"秖",
8779 u"秘",
8780 u"秜",
8781 u"秝",
8782 u"秞",
8783 u"租",
8784 u"秠",
8785 u"秡",
8786 u"秣",
8787 u"秤",
8788 u"秦",
8789 u"秧",
8790 u"秩",
8791 u"秪",
8792 u"秫",
8793 u"秬",
8794 u"秭",
8795 u"秮",
8796 u"积",
8797 u"称",
8798 u"秶",
8799 u"秷",
8800 u"秸",
8801 u"秺",
8802 u"移",
8803 u"秽",
8804 u"稀",
8805 u"稂",
8806 u"稃",
8807 u"稄",
8808 u"稅",
8809 u"稆",
8810 u"稈",
8811 u"稊",
8812 u"程",
8813 u"稌",
8814 u"稍",
8815 u"税",
8816 u"稐",
8817 u"稑",
8818 u"稒",
8819 u"稓",
8820 u"稔",
8821 u"稕",
8822 u"稗",
8823 u"稘",
8824 u"稙",
8825 u"稚",
8826 u"稛",
8827 u"稜",
8828 u"稞",
8829 u"稟",
8830 u"稠",
8831 u"稢",
8832 u"稣",
8833 u"稦",
8834 u"稨",
8835 u"稫",
8836 u"種",
8837 u"稯",
8838 u"稰",
8839 u"稱",
8840 u"稲",
8841 u"稳",
8842 u"稶",
8843 u"稷",
8844 u"稹",
8845 u"稻",
8846 u"稼",
8847 u"稽",
8848 u"稾",
8849 u"稿",
8850 u"穀",
8851 u"穂",
8852 u"穃",
8853 u"穄",
8854 u"穆",
8855 u"穇",
8856 u"穈",
8857 u"穉",
8858 u"穊",
8859 u"穋",
8860 u"穌",
8861 u"積",
8862 u"穎",
8863 u"穏",
8864 u"穐",
8865 u"穑",
8866 u"穔",
8867 u"穖",
8868 u"穗",
8869 u"穘",
8870 u"穚",
8871 u"穛",
8872 u"穜",
8873 u"穟",
8874 u"穠",
8875 u"穡",
8876 u"穢",
8877 u"穣",
8878 u"穧",
8879 u"穨",
8880 u"穩",
8881 u"穫",
8882 u"穬",
8883 u"穭",
8884 u"穮",
8885 u"穰",
8886 u"穱",
8887 u"穴",
8888 u"穵",
8889 u"究",
8890 u"穷",
8891 u"穸",
8892 u"穹",
8893 u"空",
8894 u"穻",
8895 u"穽",
8896 u"穾",
8897 u"穿",
8898 u"窀",
8899 u"突",
8900 u"窃",
8901 u"窄",
8902 u"窅",
8903 u"窆",
8904 u"窇",
8905 u"窈",
8906 u"窉",
8907 u"窊",
8908 u"窋",
8909 u"窌",
8910 u"窍",
8911 u"窏",
8912 u"窐",
8913 u"窑",
8914 u"窒",
8915 u"窓",
8916 u"窔",
8917 u"窕",
8918 u"窖",
8919 u"窗",
8920 u"窘",
8921 u"窙",
8922 u"窜",
8923 u"窝",
8924 u"窞",
8925 u"窟",
8926 u"窠",
8927 u"窢",
8928 u"窣",
8929 u"窥",
8930 u"窦",
8931 u"窨",
8932 u"窩",
8933 u"窪",
8934 u"窫",
8935 u"窬",
8936 u"窭",
8937 u"窮",
8938 u"窯",
8939 u"窰",
8940 u"窱",
8941 u"窲",
8942 u"窳",
8943 u"窴",
8944 u"窵",
8945 u"窶",
8946 u"窷",
8947 u"窸",
8948 u"窺",
8949 u"窾",
8950 u"窿",
8951 u"竀",
8952 u"竁",
8953 u"竃",
8954 u"竄",
8955 u"竅",
8956 u"竇",
8957 u"竈",
8958 u"竊",
8959 u"立",
8960 u"竍",
8961 u"竏",
8962 u"竑",
8963 u"竒",
8964 u"竓",
8965 u"竕",
8966 u"竖",
8967 u"竗",
8968 u"竘",
8969 u"站",
8970 u"竚",
8971 u"竜",
8972 u"竝",
8973 u"竞",
8974 u"竟",
8975 u"章",
8976 u"竡",
8977 u"竢",
8978 u"竣",
8979 u"竤",
8980 u"童",
8981 u"竦",
8982 u"竧",
8983 u"竪",
8984 u"竫",
8985 u"竭",
8986 u"竮",
8987 u"端",
8988 u"竰",
8989 u"競",
8990 u"竷",
8991 u"竸",
8992 u"竹",
8993 u"竺",
8994 u"竻",
8995 u"竽",
8996 u"竿",
8997 u"笀",
8998 u"笁",
8999 u"笂",
9000 u"笃",
9001 u"笄",
9002 u"笅",
9003 u"笆",
9004 u"笈",
9005 u"笉",
9006 u"笊",
9007 u"笋",
9008 u"笎",
9009 u"笏",
9010 u"笐",
9011 u"笑",
9012 u"笒",
9013 u"笓",
9014 u"笔",
9015 u"笕",
9016 u"笘",
9017 u"笙",
9018 u"笚",
9019 u"笛",
9020 u"笝",
9021 u"笞",
9022 u"笠",
9023 u"笢",
9024 u"笣",
9025 u"笤",
9026 u"笥",
9027 u"符",
9028 u"笨",
9029 u"笪",
9030 u"笫",
9031 u"第",
9032 u"笭",
9033 u"笮",
9034 u"笯",
9035 u"笰",
9036 u"笱",
9037 u"笲",
9038 u"笳",
9039 u"笴",
9040 u"笵",
9041 u"笶",
9042 u"笸",
9043 u"笹",
9044 u"笺",
9045 u"笻",
9046 u"笼",
9047 u"笾",
9048 u"筀",
9049 u"筄",
9050 u"筅",
9051 u"筆",
9052 u"筇",
9053 u"筈",
9054 u"等",
9055 u"筊",
9056 u"筋",
9057 u"筌",
9058 u"筍",
9059 u"筎",
9060 u"筏",
9061 u"筐",
9062 u"筑",
9063 u"筒",
9064 u"答",
9065 u"策",
9066 u"筘",
9067 u"筚",
9068 u"筛",
9069 u"筝",
9070 u"筠",
9071 u"筡",
9072 u"筢",
9073 u"筣",
9074 u"筤",
9075 u"筥",
9076 u"筦",
9077 u"筧",
9078 u"筩",
9079 u"筬",
9080 u"筭",
9081 u"筮",
9082 u"筰",
9083 u"筱",
9084 u"筲",
9085 u"筳",
9086 u"筴",
9087 u"筵",
9088 u"筶",
9089 u"筷",
9090 u"筸",
9091 u"筹",
9092 u"筺",
9093 u"筻",
9094 u"筽",
9095 u"签",
9096 u"简",
9097 u"箂",
9098 u"箄",
9099 u"箅",
9100 u"箆",
9101 u"箇",
9102 u"箈",
9103 u"箊",
9104 u"箋",
9105 u"箌",
9106 u"箍",
9107 u"箎",
9108 u"箏",
9109 u"箐",
9110 u"箑",
9111 u"箒",
9112 u"箔",
9113 u"箕",
9114 u"箖",
9115 u"算",
9116 u"箘",
9117 u"箙",
9118 u"箚",
9119 u"箛",
9120 u"箜",
9121 u"箝",
9122 u"箞",
9123 u"箟",
9124 u"箠",
9125 u"管",
9126 u"箢",
9127 u"箤",
9128 u"箦",
9129 u"箧",
9130 u"箨",
9131 u"箩",
9132 u"箪",
9133 u"箫",
9134 u"箬",
9135 u"箭",
9136 u"箯",
9137 u"箱",
9138 u"箴",
9139 u"箵",
9140 u"箷",
9141 u"箸",
9142 u"箹",
9143 u"箾",
9144 u"節",
9145 u"篁",
9146 u"範",
9147 u"篆",
9148 u"篇",
9149 u"築",
9150 u"篊",
9151 u"篋",
9152 u"篌",
9153 u"篎",
9154 u"篏",
9155 u"篑",
9156 u"篒",
9157 u"篓",
9158 u"篔",
9159 u"篕",
9160 u"篘",
9161 u"篙",
9162 u"篚",
9163 u"篛",
9164 u"篜",
9165 u"篝",
9166 u"篞",
9167 u"篟",
9168 u"篠",
9169 u"篡",
9170 u"篢",
9171 u"篣",
9172 u"篤",
9173 u"篥",
9174 u"篦",
9175 u"篧",
9176 u"篨",
9177 u"篩",
9178 u"篪",
9179 u"篫",
9180 u"篭",
9181 u"篮",
9182 u"篰",
9183 u"篱",
9184 u"篲",
9185 u"篳",
9186 u"篴",
9187 u"篶",
9188 u"篷",
9189 u"篹",
9190 u"篻",
9191 u"篼",
9192 u"篽",
9193 u"篾",
9194 u"篿",
9195 u"簀",
9196 u"簁",
9197 u"簂",
9198 u"簃",
9199 u"簅",
9200 u"簆",
9201 u"簇",
9202 u"簉",
9203 u"簊",
9204 u"簋",
9205 u"簌",
9206 u"簍",
9207 u"簎",
9208 u"簏",
9209 u"簐",
9210 u"簑",
9211 u"簒",
9212 u"簓",
9213 u"簔",
9214 u"簖",
9215 u"簗",
9216 u"簙",
9217 u"簜",
9218 u"簝",
9219 u"簞",
9220 u"簟",
9221 u"簠",
9222 u"簡",
9223 u"簢",
9224 u"簣",
9225 u"簥",
9226 u"簦",
9227 u"簧",
9228 u"簨",
9229 u"簩",
9230 u"簪",
9231 u"簫",
9232 u"簬",
9233 u"簭",
9234 u"簰",
9235 u"簳",
9236 u"簷",
9237 u"簸",
9238 u"簹",
9239 u"簻",
9240 u"簼",
9241 u"簽",
9242 u"簾",
9243 u"簿",
9244 u"籀",
9245 u"籁",
9246 u"籃",
9247 u"籅",
9248 u"籇",
9249 u"籈",
9250 u"籉",
9251 u"籊",
9252 u"籌",
9253 u"籍",
9254 u"籏",
9255 u"籐",
9256 u"籓",
9257 u"籔",
9258 u"籖",
9259 u"籗",
9260 u"籘",
9261 u"籙",
9262 u"籚",
9263 u"籛",
9264 u"籜",
9265 u"籟",
9266 u"籠",
9267 u"籣",
9268 u"籤",
9269 u"籥",
9270 u"籦",
9271 u"籧",
9272 u"籩",
9273 u"籪",
9274 u"籫",
9275 u"籬",
9276 u"籮",
9277 u"籯",
9278 u"籲",
9279 u"米",
9280 u"籴",
9281 u"籵",
9282 u"籸",
9283 u"籹",
9284 u"籺",
9285 u"类",
9286 u"籼",
9287 u"籽",
9288 u"籾",
9289 u"籿",
9290 u"粀",
9291 u"粁",
9292 u"粂",
9293 u"粃",
9294 u"粄",
9295 u"粅",
9296 u"粈",
9297 u"粉",
9298 u"粊",
9299 u"粋",
9300 u"粌",
9301 u"粍",
9302 u"粐",
9303 u"粑",
9304 u"粒",
9305 u"粔",
9306 u"粕",
9307 u"粖",
9308 u"粗",
9309 u"粘",
9310 u"粛",
9311 u"粜",
9312 u"粝",
9313 u"粞",
9314 u"粟",
9315 u"粡",
9316 u"粢",
9317 u"粣",
9318 u"粤",
9319 u"粥",
9320 u"粧",
9321 u"粨",
9322 u"粪",
9323 u"粫",
9324 u"粭",
9325 u"粮",
9326 u"粯",
9327 u"粱",
9328 u"粲",
9329 u"粳",
9330 u"粴",
9331 u"粵",
9332 u"粹",
9333 u"粺",
9334 u"粻",
9335 u"粼",
9336 u"粽",
9337 u"精",
9338 u"粿",
9339 u"糀",
9340 u"糁",
9341 u"糂",
9342 u"糅",
9343 u"糇",
9344 u"糈",
9345 u"糊",
9346 u"糋",
9347 u"糌",
9348 u"糍",
9349 u"糎",
9350 u"糐",
9351 u"糑",
9352 u"糒",
9353 u"糔",
9354 u"糕",
9355 u"糖",
9356 u"糗",
9357 u"糘",
9358 u"糙",
9359 u"糜",
9360 u"糝",
9361 u"糞",
9362 u"糟",
9363 u"糠",
9364 u"糢",
9365 u"糧",
9366 u"糨",
9367 u"糪",
9368 u"糬",
9369 u"糮",
9370 u"糯",
9371 u"糰",
9372 u"糱",
9373 u"糲",
9374 u"糴",
9375 u"糶",
9376 u"糷",
9377 u"糸",
9378 u"糺",
9379 u"系",
9380 u"糽",
9381 u"糾",
9382 u"紀",
9383 u"紁",
9384 u"紂",
9385 u"紃",
9386 u"約",
9387 u"紅",
9388 u"紆",
9389 u"紇",
9390 u"紈",
9391 u"紉",
9392 u"紊",
9393 u"紋",
9394 u"紌",
9395 u"納",
9396 u"紎",
9397 u"紏",
9398 u"紐",
9399 u"紑",
9400 u"紒",
9401 u"紓",
9402 u"純",
9403 u"紕",
9404 u"紖",
9405 u"紗",
9406 u"紘",
9407 u"紙",
9408 u"級",
9409 u"紛",
9410 u"紜",
9411 u"紝",
9412 u"紞",
9413 u"紟",
9414 u"素",
9415 u"紡",
9416 u"索",
9417 u"紧",
9418 u"紨",
9419 u"紩",
9420 u"紫",
9421 u"紬",
9422 u"紮",
9423 u"累",
9424 u"細",
9425 u"紱",
9426 u"紲",
9427 u"紳",
9428 u"紵",
9429 u"紶",
9430 u"紸",
9431 u"紹",
9432 u"紺",
9433 u"紻",
9434 u"紼",
9435 u"紽",
9436 u"紾",
9437 u"紿",
9438 u"絀",
9439 u"絁",
9440 u"終",
9441 u"絃",
9442 u"組",
9443 u"絅",
9444 u"絆",
9445 u"絇",
9446 u"絈",
9447 u"絊",
9448 u"絋",
9449 u"経",
9450 u"絎",
9451 u"絏",
9452 u"結",
9453 u"絑",
9454 u"絒",
9455 u"絓",
9456 u"絔",
9457 u"絕",
9458 u"絖",
9459 u"絘",
9460 u"絛",
9461 u"絜",
9462 u"絞",
9463 u"絟",
9464 u"絡",
9465 u"絢",
9466 u"絣",
9467 u"給",
9468 u"絧",
9469 u"絨",
9470 u"絩",
9471 u"絪",
9472 u"絫",
9473 u"絭",
9474 u"絮",
9475 u"絯",
9476 u"絰",
9477 u"統",
9478 u"絲",
9479 u"絳",
9480 u"絵",
9481 u"絶",
9482 u"絷",
9483 u"絹",
9484 u"絺",
9485 u"絻",
9486 u"絼",
9487 u"絽",
9488 u"絿",
9489 u"綀",
9490 u"綁",
9491 u"綃",
9492 u"綄",
9493 u"綅",
9494 u"綆",
9495 u"綈",
9496 u"綉",
9497 u"綌",
9498 u"綍",
9499 u"綎",
9500 u"綏",
9501 u"綑",
9502 u"綒",
9503 u"經",
9504 u"綔",
9505 u"綖",
9506 u"継",
9507 u"続",
9508 u"綛",
9509 u"綜",
9510 u"綝",
9511 u"綞",
9512 u"綟",
9513 u"綠",
9514 u"綡",
9515 u"綢",
9516 u"綣",
9517 u"綦",
9518 u"綧",
9519 u"綩",
9520 u"綪",
9521 u"綫",
9522 u"綬",
9523 u"維",
9524 u"綮",
9525 u"綯",
9526 u"綰",
9527 u"綱",
9528 u"網",
9529 u"綴",
9530 u"綵",
9531 u"綷",
9532 u"綸",
9533 u"綹",
9534 u"綺",
9535 u"綻",
9536 u"綼",
9537 u"綽",
9538 u"綾",
9539 u"綿",
9540 u"緀",
9541 u"緁",
9542 u"緂",
9543 u"緄",
9544 u"緅",
9545 u"緆",
9546 u"緇",
9547 u"緉",
9548 u"緊",
9549 u"緋",
9550 u"緌",
9551 u"緎",
9552 u"総",
9553 u"緑",
9554 u"緒",
9555 u"緕",
9556 u"緖",
9557 u"緗",
9558 u"緘",
9559 u"緙",
9560 u"線",
9561 u"緛",
9562 u"緜",
9563 u"緝",
9564 u"緞",
9565 u"緟",
9566 u"締",
9567 u"緡",
9568 u"緣",
9569 u"緤",
9570 u"緦",
9571 u"緧",
9572 u"編",
9573 u"緩",
9574 u"緪",
9575 u"緬",
9576 u"緮",
9577 u"緯",
9578 u"緰",
9579 u"緱",
9580 u"緲",
9581 u"緳",
9582 u"練",
9583 u"緶",
9584 u"緷",
9585 u"緹",
9586 u"緺",
9587 u"緻",
9588 u"縁",
9589 u"縃",
9590 u"縄",
9591 u"縅",
9592 u"縈",
9593 u"縉",
9594 u"縊",
9595 u"縋",
9596 u"縌",
9597 u"縍",
9598 u"縎",
9599 u"縏",
9600 u"縐",
9601 u"縑",
9602 u"縒",
9603 u"縓",
9604 u"縔",
9605 u"縕",
9606 u"縖",
9607 u"縗",
9608 u"縚",
9609 u"縛",
9610 u"縜",
9611 u"縝",
9612 u"縞",
9613 u"縟",
9614 u"縠",
9615 u"縡",
9616 u"縢",
9617 u"縣",
9618 u"縤",
9619 u"縥",
9620 u"縦",
9621 u"縩",
9622 u"縪",
9623 u"縫",
9624 u"縭",
9625 u"縮",
9626 u"縯",
9627 u"縰",
9628 u"縱",
9629 u"縲",
9630 u"縳",
9631 u"縴",
9632 u"縵",
9633 u"縶",
9634 u"縷",
9635 u"縸",
9636 u"縹",
9637 u"縺",
9638 u"縻",
9639 u"縼",
9640 u"總",
9641 u"績",
9642 u"縿",
9643 u"繀",
9644 u"繁",
9645 u"繂",
9646 u"繃",
9647 u"繄",
9648 u"繅",
9649 u"繆",
9650 u"繇",
9651 u"繈",
9652 u"繉",
9653 u"繊",
9654 u"繋",
9655 u"繌",
9656 u"繍",
9657 u"繐",
9658 u"繑",
9659 u"繒",
9660 u"繓",
9661 u"織",
9662 u"繕",
9663 u"繖",
9664 u"繗",
9665 u"繘",
9666 u"繙",
9667 u"繚",
9668 u"繜",
9669 u"繝",
9670 u"繞",
9671 u"繟",
9672 u"繠",
9673 u"繡",
9674 u"繢",
9675 u"繣",
9676 u"繦",
9677 u"繧",
9678 u"繨",
9679 u"繩",
9680 u"繪",
9681 u"繫",
9682 u"繭",
9683 u"繯",
9684 u"繰",
9685 u"繲",
9686 u"繳",
9687 u"繴",
9688 u"繵",
9689 u"繶",
9690 u"繷",
9691 u"繸",
9692 u"繹",
9693 u"繺",
9694 u"繻",
9695 u"繼",
9696 u"繽",
9697 u"繾",
9698 u"繿",
9699 u"纀",
9700 u"纁",
9701 u"纂",
9702 u"纃",
9703 u"纆",
9704 u"纇",
9705 u"纈",
9706 u"纉",
9707 u"纊",
9708 u"纋",
9709 u"續",
9710 u"纍",
9711 u"纎",
9712 u"纏",
9713 u"纐",
9714 u"纑",
9715 u"纒",
9716 u"纓",
9717 u"纔",
9718 u"纕",
9719 u"纖",
9720 u"纗",
9721 u"纘",
9722 u"纙",
9723 u"纚",
9724 u"纛",
9725 u"纜",
9726 u"纟",
9727 u"纠",
9728 u"纡",
9729 u"红",
9730 u"纣",
9731 u"纤",
9732 u"纥",
9733 u"约",
9734 u"级",
9735 u"纨",
9736 u"纩",
9737 u"纪",
9738 u"纫",
9739 u"纬",
9740 u"纭",
9741 u"纯",
9742 u"纰",
9743 u"纱",
9744 u"纲",
9745 u"纳",
9746 u"纵",
9747 u"纶",
9748 u"纷",
9749 u"纸",
9750 u"纹",
9751 u"纺",
9752 u"纽",
9753 u"纾",
9754 u"线",
9755 u"绀",
9756 u"绁",
9757 u"绂",
9758 u"练",
9759 u"组",
9760 u"绅",
9761 u"细",
9762 u"织",
9763 u"终",
9764 u"绉",
9765 u"绊",
9766 u"绋",
9767 u"绌",
9768 u"绍",
9769 u"绎",
9770 u"经",
9771 u"绐",
9772 u"绑",
9773 u"绒",
9774 u"结",
9775 u"绔",
9776 u"绕",
9777 u"绗",
9778 u"绘",
9779 u"给",
9780 u"绚",
9781 u"绛",
9782 u"络",
9783 u"绝",
9784 u"绞",
9785 u"统",
9786 u"绠",
9787 u"绡",
9788 u"绢",
9789 u"绣",
9790 u"绥",
9791 u"绦",
9792 u"继",
9793 u"绨",
9794 u"绩",
9795 u"绪",
9796 u"绫",
9797 u"续",
9798 u"绮",
9799 u"绯",
9800 u"绰",
9801 u"绱",
9802 u"绲",
9803 u"绳",
9804 u"维",
9805 u"绵",
9806 u"绶",
9807 u"绷",
9808 u"绸",
9809 u"绺",
9810 u"绻",
9811 u"综",
9812 u"绽",
9813 u"绾",
9814 u"绿",
9815 u"缀",
9816 u"缁",
9817 u"缂",
9818 u"缃",
9819 u"缄",
9820 u"缅",
9821 u"缆",
9822 u"缇",
9823 u"缈",
9824 u"缉",
9825 u"缋",
9826 u"缌",
9827 u"缍",
9828 u"缎",
9829 u"缏",
9830 u"缑",
9831 u"缒",
9832 u"缓",
9833 u"缔",
9834 u"缕",
9835 u"编",
9836 u"缗",
9837 u"缘",
9838 u"缙",
9839 u"缚",
9840 u"缛",
9841 u"缜",
9842 u"缝",
9843 u"缟",
9844 u"缠",
9845 u"缡",
9846 u"缢",
9847 u"缣",
9848 u"缤",
9849 u"缥",
9850 u"缦",
9851 u"缧",
9852 u"缨",
9853 u"缩",
9854 u"缪",
9855 u"缫",
9856 u"缬",
9857 u"缭",
9858 u"缮",
9859 u"缯",
9860 u"缰",
9861 u"缱",
9862 u"缲",
9863 u"缳",
9864 u"缴",
9865 u"缵",
9866 u"缶",
9867 u"缸",
9868 u"缹",
9869 u"缺",
9870 u"缽",
9871 u"缾",
9872 u"缿",
9873 u"罂",
9874 u"罃",
9875 u"罄",
9876 u"罅",
9877 u"罇",
9878 u"罈",
9879 u"罊",
9880 u"罋",
9881 u"罌",
9882 u"罍",
9883 u"罎",
9884 u"罏",
9885 u"罐",
9886 u"网",
9887 u"罔",
9888 u"罕",
9889 u"罗",
9890 u"罘",
9891 u"罚",
9892 u"罛",
9893 u"罜",
9894 u"罝",
9895 u"罞",
9896 u"罟",
9897 u"罠",
9898 u"罡",
9899 u"罢",
9900 u"罣",
9901 u"罥",
9902 u"罦",
9903 u"罧",
9904 u"罨",
9905 u"罩",
9906 u"罪",
9907 u"罫",
9908 u"罬",
9909 u"罭",
9910 u"置",
9911 u"罰",
9912 u"罱",
9913 u"署",
9914 u"罳",
9915 u"罴",
9916 u"罵",
9917 u"罶",
9918 u"罷",
9919 u"罸",
9920 u"罹",
9921 u"罺",
9922 u"罻",
9923 u"罼",
9924 u"罽",
9925 u"罾",
9926 u"罿",
9927 u"羁",
9928 u"羂",
9929 u"羃",
9930 u"羅",
9931 u"羆",
9932 u"羇",
9933 u"羈",
9934 u"羉",
9935 u"羊",
9936 u"羋",
9937 u"羌",
9938 u"羍",
9939 u"美",
9940 u"羑",
9941 u"羒",
9942 u"羔",
9943 u"羕",
9944 u"羖",
9945 u"羚",
9946 u"羛",
9947 u"羜",
9948 u"羝",
9949 u"羞",
9950 u"羟",
9951 u"羠",
9952 u"羡",
9953 u"羢",
9954 u"羣",
9955 u"群",
9956 u"羥",
9957 u"羦",
9958 u"羧",
9959 u"羨",
9960 u"義",
9961 u"羬",
9962 u"羭",
9963 u"羮",
9964 u"羯",
9965 u"羰",
9966 u"羱",
9967 u"羲",
9968 u"羳",
9969 u"羵",
9970 u"羶",
9971 u"羷",
9972 u"羸",
9973 u"羹",
9974 u"羺",
9975 u"羻",
9976 u"羼",
9977 u"羽",
9978 u"羾",
9979 u"羿",
9980 u"翀",
9981 u"翁",
9982 u"翂",
9983 u"翃",
9984 u"翅",
9985 u"翆",
9986 u"翇",
9987 u"翉",
9988 u"翊",
9989 u"翋",
9990 u"翌",
9991 u"翍",
9992 u"翎",
9993 u"翏",
9994 u"翐",
9995 u"翑",
9996 u"習",
9997 u"翔",
9998 u"翕",
9999 u"翗",
10000 u"翘",
10001 u"翛",
10002 u"翜",
10003 u"翞",
10004 u"翟",
10005 u"翠",
10006 u"翡",
10007 u"翢",
10008 u"翣",
10009 u"翥",
10010 u"翦",
10011 u"翨",
10012 u"翩",
10013 u"翪",
10014 u"翫",
10015 u"翬",
10016 u"翭",
10017 u"翮",
10018 u"翯",
10019 u"翰",
10020 u"翱",
10021 u"翲",
10022 u"翳",
10023 u"翴",
10024 u"翵",
10025 u"翷",
10026 u"翸",
10027 u"翹",
10028 u"翻",
10029 u"翼",
10030 u"翽",
10031 u"翾",
10032 u"翿",
10033 u"耀",
10034 u"老",
10035 u"考",
10036 u"耄",
10037 u"者",
10038 u"耆",
10039 u"耇",
10040 u"耉",
10041 u"耋",
10042 u"而",
10043 u"耍",
10044 u"耎",
10045 u"耏",
10046 u"耐",
10047 u"耑",
10048 u"耒",
10049 u"耔",
10050 u"耕",
10051 u"耖",
10052 u"耗",
10053 u"耘",
10054 u"耙",
10055 u"耛",
10056 u"耜",
10057 u"耞",
10058 u"耟",
10059 u"耠",
10060 u"耡",
10061 u"耢",
10062 u"耤",
10063 u"耥",
10064 u"耦",
10065 u"耧",
10066 u"耨",
10067 u"耩",
10068 u"耪",
10069 u"耬",
10070 u"耭",
10071 u"耰",
10072 u"耱",
10073 u"耳",
10074 u"耴",
10075 u"耵",
10076 u"耶",
10077 u"耷",
10078 u"耸",
10079 u"耹",
10080 u"耻",
10081 u"耽",
10082 u"耾",
10083 u"耿",
10084 u"聂",
10085 u"聃",
10086 u"聆",
10087 u"聇",
10088 u"聈",
10089 u"聊",
10090 u"聋",
10091 u"职",
10092 u"聍",
10093 u"聏",
10094 u"聐",
10095 u"聑",
10096 u"聒",
10097 u"联",
10098 u"聖",
10099 u"聘",
10100 u"聚",
10101 u"聜",
10102 u"聝",
10103 u"聞",
10104 u"聟",
10105 u"聡",
10106 u"聢",
10107 u"聤",
10108 u"聧",
10109 u"聨",
10110 u"聩",
10111 u"聪",
10112 u"聬",
10113 u"聯",
10114 u"聰",
10115 u"聱",
10116 u"聲",
10117 u"聳",
10118 u"聴",
10119 u"聵",
10120 u"聶",
10121 u"職",
10122 u"聸",
10123 u"聹",
10124 u"聽",
10125 u"聾",
10126 u"聿",
10127 u"肂",
10128 u"肃",
10129 u"肄",
10130 u"肅",
10131 u"肆",
10132 u"肇",
10133 u"肉",
10134 u"肊",
10135 u"肋",
10136 u"肌",
10137 u"肏",
10138 u"肐",
10139 u"肒",
10140 u"肓",
10141 u"肕",
10142 u"肖",
10143 u"肘",
10144 u"肙",
10145 u"肚",
10146 u"肛",
10147 u"肜",
10148 u"肝",
10149 u"肟",
10150 u"肠",
10151 u"股",
10152 u"肢",
10153 u"肣",
10154 u"肤",
10155 u"肥",
10156 u"肩",
10157 u"肪",
10158 u"肫",
10159 u"肬",
10160 u"肭",
10161 u"肮",
10162 u"肯",
10163 u"肱",
10164 u"育",
10165 u"肴",
10166 u"肵",
10167 u"肷",
10168 u"肸",
10169 u"肺",
10170 u"肼",
10171 u"肽",
10172 u"肾",
10173 u"肿",
10174 u"胀",
10175 u"胁",
10176 u"胂",
10177 u"胃",
10178 u"胄",
10179 u"胅",
10180 u"胆",
10181 u"胇",
10182 u"胈",
10183 u"胉",
10184 u"胊",
10185 u"背",
10186 u"胍",
10187 u"胎",
10188 u"胏",
10189 u"胐",
10190 u"胑",
10191 u"胔",
10192 u"胕",
10193 u"胖",
10194 u"胗",
10195 u"胘",
10196 u"胙",
10197 u"胚",
10198 u"胛",
10199 u"胜",
10200 u"胝",
10201 u"胞",
10202 u"胠",
10203 u"胡",
10204 u"胣",
10205 u"胤",
10206 u"胥",
10207 u"胦",
10208 u"胧",
10209 u"胨",
10210 u"胩",
10211 u"胪",
10212 u"胫",
10213 u"胬",
10214 u"胭",
10215 u"胯",
10216 u"胰",
10217 u"胱",
10218 u"胲",
10219 u"胳",
10220 u"胴",
10221 u"胵",
10222 u"胶",
10223 u"胸",
10224 u"胹",
10225 u"胺",
10226 u"胻",
10227 u"胼",
10228 u"能",
10229 u"胾",
10230 u"脀",
10231 u"脁",
10232 u"脂",
10233 u"脅",
10234 u"脆",
10235 u"脇",
10236 u"脈",
10237 u"脉",
10238 u"脊",
10239 u"脍",
10240 u"脎",
10241 u"脏",
10242 u"脐",
10243 u"脑",
10244 u"脒",
10245 u"脓",
10246 u"脔",
10247 u"脕",
10248 u"脖",
10249 u"脘",
10250 u"脙",
10251 u"脚",
10252 u"脛",
10253 u"脝",
10254 u"脞",
10255 u"脟",
10256 u"脡",
10257 u"脢",
10258 u"脣",
10259 u"脤",
10260 u"脥",
10261 u"脧",
10262 u"脩",
10263 u"脫",
10264 u"脬",
10265 u"脭",
10266 u"脯",
10267 u"脰",
10268 u"脱",
10269 u"脲",
10270 u"脳",
10271 u"脶",
10272 u"脸",
10273 u"脹",
10274 u"脺",
10275 u"脽",
10276 u"脾",
10277 u"腃",
10278 u"腄",
10279 u"腆",
10280 u"腇",
10281 u"腈",
10282 u"腊",
10283 u"腋",
10284 u"腌",
10285 u"腍",
10286 u"腎",
10287 u"腏",
10288 u"腐",
10289 u"腑",
10290 u"腒",
10291 u"腓",
10292 u"腔",
10293 u"腕",
10294 u"腙",
10295 u"腚",
10296 u"腛",
10297 u"腜",
10298 u"腞",
10299 u"腟",
10300 u"腠",
10301 u"腡",
10302 u"腢",
10303 u"腤",
10304 u"腥",
10305 u"腦",
10306 u"腧",
10307 u"腩",
10308 u"腫",
10309 u"腭",
10310 u"腮",
10311 u"腯",
10312 u"腰",
10313 u"腱",
10314 u"腲",
10315 u"腳",
10316 u"腴",
10317 u"腶",
10318 u"腷",
10319 u"腸",
10320 u"腹",
10321 u"腺",
10322 u"腻",
10323 u"腼",
10324 u"腽",
10325 u"腾",
10326 u"腿",
10327 u"膀",
10328 u"膂",
10329 u"膃",
10330 u"膆",
10331 u"膇",
10332 u"膈",
10333 u"膉",
10334 u"膊",
10335 u"膋",
10336 u"膌",
10337 u"膍",
10338 u"膏",
10339 u"膑",
10340 u"膓",
10341 u"膕",
10342 u"膗",
10343 u"膘",
10344 u"膙",
10345 u"膚",
10346 u"膛",
10347 u"膜",
10348 u"膝",
10349 u"膞",
10350 u"膟",
10351 u"膠",
10352 u"膢",
10353 u"膣",
10354 u"膤",
10355 u"膦",
10356 u"膧",
10357 u"膨",
10358 u"膩",
10359 u"膪",
10360 u"膫",
10361 u"膬",
10362 u"膮",
10363 u"膰",
10364 u"膱",
10365 u"膲",
10366 u"膳",
10367 u"膴",
10368 u"膵",
10369 u"膷",
10370 u"膹",
10371 u"膺",
10372 u"膻",
10373 u"膼",
10374 u"膽",
10375 u"膾",
10376 u"膿",
10377 u"臀",
10378 u"臁",
10379 u"臂",
10380 u"臃",
10381 u"臄",
10382 u"臅",
10383 u"臆",
10384 u"臇",
10385 u"臈",
10386 u"臉",
10387 u"臊",
10388 u"臌",
10389 u"臍",
10390 u"臏",
10391 u"臐",
10392 u"臑",
10393 u"臒",
10394 u"臓",
10395 u"臕",
10396 u"臗",
10397 u"臘",
10398 u"臙",
10399 u"臚",
10400 u"臛",
10401 u"臝",
10402 u"臞",
10403 u"臟",
10404 u"臠",
10405 u"臡",
10406 u"臢",
10407 u"臣",
10408 u"臥",
10409 u"臦",
10410 u"臧",
10411 u"臨",
10412 u"臩",
10413 u"自",
10414 u"臬",
10415 u"臭",
10416 u"臮",
10417 u"臲",
10418 u"至",
10419 u"致",
10420 u"臷",
10421 u"臸",
10422 u"臹",
10423 u"臺",
10424 u"臻",
10425 u"臼",
10426 u"臾",
10427 u"臿",
10428 u"舀",
10429 u"舁",
10430 u"舂",
10431 u"舄",
10432 u"舅",
10433 u"舆",
10434 u"與",
10435 u"興",
10436 u"舉",
10437 u"舊",
10438 u"舋",
10439 u"舌",
10440 u"舍",
10441 u"舎",
10442 u"舐",
10443 u"舑",
10444 u"舒",
10445 u"舔",
10446 u"舕",
10447 u"舖",
10448 u"舗",
10449 u"舘",
10450 u"舛",
10451 u"舜",
10452 u"舝",
10453 u"舞",
10454 u"舟",
10455 u"舠",
10456 u"舡",
10457 u"舢",
10458 u"舣",
10459 u"舥",
10460 u"舨",
10461 u"舩",
10462 u"航",
10463 u"舫",
10464 u"般",
10465 u"舭",
10466 u"舮",
10467 u"舯",
10468 u"舰",
10469 u"舱",
10470 u"舲",
10471 u"舳",
10472 u"舴",
10473 u"舵",
10474 u"舶",
10475 u"舷",
10476 u"舸",
10477 u"船",
10478 u"舺",
10479 u"舻",
10480 u"舼",
10481 u"舽",
10482 u"舾",
10483 u"舿",
10484 u"艀",
10485 u"艂",
10486 u"艄",
10487 u"艅",
10488 u"艇",
10489 u"艉",
10490 u"艋",
10491 u"艎",
10492 u"艏",
10493 u"艐",
10494 u"艑",
10495 u"艒",
10496 u"艓",
10497 u"艕",
10498 u"艖",
10499 u"艗",
10500 u"艘",
10501 u"艙",
10502 u"艚",
10503 u"艛",
10504 u"艜",
10505 u"艝",
10506 u"艞",
10507 u"艟",
10508 u"艡",
10509 u"艢",
10510 u"艣",
10511 u"艤",
10512 u"艦",
10513 u"艨",
10514 u"艩",
10515 u"艪",
10516 u"艫",
10517 u"艬",
10518 u"艭",
10519 u"艮",
10520 u"良",
10521 u"艰",
10522 u"艱",
10523 u"色",
10524 u"艳",
10525 u"艴",
10526 u"艵",
10527 u"艶",
10528 u"艷",
10529 u"艸",
10530 u"艹",
10531 u"艺",
10532 u"艼",
10533 u"艽",
10534 u"艾",
10535 u"艿",
10536 u"芀",
10537 u"节",
10538 u"芃",
10539 u"芄",
10540 u"芅",
10541 u"芈",
10542 u"芊",
10543 u"芋",
10544 u"芍",
10545 u"芎",
10546 u"芏",
10547 u"芐",
10548 u"芑",
10549 u"芒",
10550 u"芓",
10551 u"芔",
10552 u"芗",
10553 u"芘",
10554 u"芙",
10555 u"芚",
10556 u"芛",
10557 u"芜",
10558 u"芝",
10559 u"芞",
10560 u"芟",
10561 u"芠",
10562 u"芡",
10563 u"芢",
10564 u"芣",
10565 u"芤",
10566 u"芥",
10567 u"芦",
10568 u"芧",
10569 u"芨",
10570 u"芩",
10571 u"芪",
10572 u"芫",
10573 u"芬",
10574 u"芭",
10575 u"芮",
10576 u"芯",
10577 u"芰",
10578 u"花",
10579 u"芳",
10580 u"芴",
10581 u"芵",
10582 u"芶",
10583 u"芷",
10584 u"芸",
10585 u"芹",
10586 u"芺",
10587 u"芻",
10588 u"芼",
10589 u"芽",
10590 u"芾",
10591 u"芿",
10592 u"苀",
10593 u"苁",
10594 u"苂",
10595 u"苃",
10596 u"苄",
10597 u"苅",
10598 u"苇",
10599 u"苈",
10600 u"苊",
10601 u"苋",
10602 u"苌",
10603 u"苍",
10604 u"苎",
10605 u"苏",
10606 u"苑",
10607 u"苒",
10608 u"苓",
10609 u"苔",
10610 u"苕",
10611 u"苖",
10612 u"苗",
10613 u"苘",
10614 u"苙",
10615 u"苛",
10616 u"苜",
10617 u"苞",
10618 u"苟",
10619 u"苠",
10620 u"苡",
10621 u"苣",
10622 u"苤",
10623 u"若",
10624 u"苦",
10625 u"苧",
10626 u"苨",
10627 u"苪",
10628 u"苫",
10629 u"苬",
10630 u"苭",
10631 u"苯",
10632 u"苰",
10633 u"英",
10634 u"苲",
10635 u"苳",
10636 u"苴",
10637 u"苵",
10638 u"苶",
10639 u"苷",
10640 u"苹",
10641 u"苺",
10642 u"苻",
10643 u"苽",
10644 u"苾",
10645 u"茀",
10646 u"茁",
10647 u"茂",
10648 u"范",
10649 u"茄",
10650 u"茅",
10651 u"茆",
10652 u"茇",
10653 u"茈",
10654 u"茉",
10655 u"茌",
10656 u"茍",
10657 u"茎",
10658 u"茏",
10659 u"茑",
10660 u"茔",
10661 u"茕",
10662 u"茖",
10663 u"茗",
10664 u"茘",
10665 u"茙",
10666 u"茚",
10667 u"茛",
10668 u"茜",
10669 u"茞",
10670 u"茠",
10671 u"茢",
10672 u"茣",
10673 u"茤",
10674 u"茥",
10675 u"茦",
10676 u"茧",
10677 u"茨",
10678 u"茩",
10679 u"茪",
10680 u"茫",
10681 u"茬",
10682 u"茭",
10683 u"茯",
10684 u"茱",
10685 u"茲",
10686 u"茳",
10687 u"茴",
10688 u"茵",
10689 u"茶",
10690 u"茷",
10691 u"茸",
10692 u"茹",
10693 u"茺",
10694 u"茻",
10695 u"茼",
10696 u"茿",
10697 u"荀",
10698 u"荁",
10699 u"荂",
10700 u"荃",
10701 u"荄",
10702 u"荅",
10703 u"荆",
10704 u"荇",
10705 u"荈",
10706 u"草",
10707 u"荊",
10708 u"荋",
10709 u"荌",
10710 u"荍",
10711 u"荎",
10712 u"荏",
10713 u"荐",
10714 u"荑",
10715 u"荒",
10716 u"荓",
10717 u"荔",
10718 u"荖",
10719 u"荘",
10720 u"荚",
10721 u"荛",
10722 u"荜",
10723 u"荞",
10724 u"荟",
10725 u"荠",
10726 u"荡",
10727 u"荢",
10728 u"荣",
10729 u"荤",
10730 u"荥",
10731 u"荦",
10732 u"荧",
10733 u"荨",
10734 u"荩",
10735 u"荪",
10736 u"荫",
10737 u"荬",
10738 u"荭",
10739 u"荮",
10740 u"药",
10741 u"荳",
10742 u"荴",
10743 u"荵",
10744 u"荶",
10745 u"荷",
10746 u"荸",
10747 u"荺",
10748 u"荻",
10749 u"荼",
10750 u"荽",
10751 u"荾",
10752 u"荿",
10753 u"莁",
10754 u"莃",
10755 u"莅",
10756 u"莆",
10757 u"莇",
10758 u"莈",
10759 u"莉",
10760 u"莊",
10761 u"莋",
10762 u"莌",
10763 u"莍",
10764 u"莎",
10765 u"莏",
10766 u"莐",
10767 u"莒",
10768 u"莓",
10769 u"莔",
10770 u"莕",
10771 u"莖",
10772 u"莗",
10773 u"莘",
10774 u"莙",
10775 u"莚",
10776 u"莛",
10777 u"莜",
10778 u"莝",
10779 u"莞",
10780 u"莟",
10781 u"莠",
10782 u"莢",
10783 u"莣",
10784 u"莤",
10785 u"莥",
10786 u"莦",
10787 u"莧",
10788 u"莨",
10789 u"莩",
10790 u"莪",
10791 u"莫",
10792 u"莮",
10793 u"莯",
10794 u"莰",
10795 u"莱",
10796 u"莲",
10797 u"莳",
10798 u"莴",
10799 u"莵",
10800 u"莶",
10801 u"获",
10802 u"莸",
10803 u"莹",
10804 u"莺",
10805 u"莼",
10806 u"莽",
10807 u"莿",
10808 u"菀",
10809 u"菁",
10810 u"菂",
10811 u"菃",
10812 u"菄",
10813 u"菅",
10814 u"菆",
10815 u"菇",
10816 u"菈",
10817 u"菉",
10818 u"菊",
10819 u"菋",
10820 u"菌",
10821 u"菎",
10822 u"菏",
10823 u"菑",
10824 u"菓",
10825 u"菔",
10826 u"菕",
10827 u"菖",
10828 u"菗",
10829 u"菘",
10830 u"菙",
10831 u"菛",
10832 u"菜",
10833 u"菝",
10834 u"菞",
10835 u"菟",
10836 u"菠",
10837 u"菡",
10838 u"菢",
10839 u"菣",
10840 u"菤",
10841 u"菥",
10842 u"菧",
10843 u"菨",
10844 u"菩",
10845 u"菪",
10846 u"菫",
10847 u"菬",
10848 u"菮",
10849 u"華",
10850 u"菰",
10851 u"菱",
10852 u"菲",
10853 u"菳",
10854 u"菴",
10855 u"菵",
10856 u"菶",
10857 u"菷",
10858 u"菸",
10859 u"菹",
10860 u"菺",
10861 u"菻",
10862 u"菼",
10863 u"菽",
10864 u"菾",
10865 u"菿",
10866 u"萁",
10867 u"萃",
10868 u"萄",
10869 u"萆",
10870 u"萇",
10871 u"萉",
10872 u"萊",
10873 u"萋",
10874 u"萌",
10875 u"萍",
10876 u"萎",
10877 u"萏",
10878 u"萐",
10879 u"萑",
10880 u"萒",
10881 u"萓",
10882 u"萘",
10883 u"萛",
10884 u"萜",
10885 u"萝",
10886 u"萠",
10887 u"萢",
10888 u"萣",
10889 u"萤",
10890 u"营",
10891 u"萦",
10892 u"萧",
10893 u"萨",
10894 u"萩",
10895 u"萪",
10896 u"萫",
10897 u"萬",
10898 u"萭",
10899 u"萯",
10900 u"萰",
10901 u"萱",
10902 u"萲",
10903 u"萳",
10904 u"萴",
10905 u"萵",
10906 u"萶",
10907 u"萷",
10908 u"萸",
10909 u"萹",
10910 u"萺",
10911 u"萻",
10912 u"萼",
10913 u"落",
10914 u"萿",
10915 u"葀",
10916 u"葂",
10917 u"葃",
10918 u"葄",
10919 u"葅",
10920 u"葆",
10921 u"葇",
10922 u"葈",
10923 u"葉",
10924 u"葋",
10925 u"葌",
10926 u"葍",
10927 u"葎",
10928 u"葐",
10929 u"葑",
10930 u"葒",
10931 u"葔",
10932 u"葖",
10933 u"著",
10934 u"葙",
10935 u"葚",
10936 u"葛",
10937 u"葜",
10938 u"葝",
10939 u"葞",
10940 u"葟",
10941 u"葠",
10942 u"葡",
10943 u"葢",
10944 u"董",
10945 u"葥",
10946 u"葦",
10947 u"葧",
10948 u"葨",
10949 u"葩",
10950 u"葫",
10951 u"葬",
10952 u"葭",
10953 u"葮",
10954 u"葯",
10955 u"葰",
10956 u"葱",
10957 u"葳",
10958 u"葴",
10959 u"葵",
10960 u"葶",
10961 u"葷",
10962 u"葸",
10963 u"葹",
10964 u"葺",
10965 u"葽",
10966 u"葾",
10967 u"蒂",
10968 u"蒄",
10969 u"蒆",
10970 u"蒇",
10971 u"蒈",
10972 u"蒉",
10973 u"蒋",
10974 u"蒌",
10975 u"蒍",
10976 u"蒎",
10977 u"蒏",
10978 u"蒐",
10979 u"蒑",
10980 u"蒔",
10981 u"蒗",
10982 u"蒘",
10983 u"蒙",
10984 u"蒚",
10985 u"蒛",
10986 u"蒜",
10987 u"蒝",
10988 u"蒞",
10989 u"蒟",
10990 u"蒠",
10991 u"蒡",
10992 u"蒢",
10993 u"蒤",
10994 u"蒧",
10995 u"蒨",
10996 u"蒩",
10997 u"蒪",
10998 u"蒫",
10999 u"蒬",
11000 u"蒭",
11001 u"蒮",
11002 u"蒯",
11003 u"蒰",
11004 u"蒱",
11005 u"蒲",
11006 u"蒴",
11007 u"蒶",
11008 u"蒸",
11009 u"蒹",
11010 u"蒺",
11011 u"蒻",
11012 u"蒼",
11013 u"蒽",
11014 u"蒿",
11015 u"蓀",
11016 u"蓁",
11017 u"蓂",
11018 u"蓄",
11019 u"蓅",
11020 u"蓆",
11021 u"蓇",
11022 u"蓉",
11023 u"蓊",
11024 u"蓋",
11025 u"蓌",
11026 u"蓍",
11027 u"蓎",
11028 u"蓏",
11029 u"蓐",
11030 u"蓑",
11031 u"蓒",
11032 u"蓓",
11033 u"蓔",
11034 u"蓖",
11035 u"蓗",
11036 u"蓙",
11037 u"蓚",
11038 u"蓛",
11039 u"蓜",
11040 u"蓝",
11041 u"蓟",
11042 u"蓠",
11043 u"蓣",
11044 u"蓥",
11045 u"蓦",
11046 u"蓧",
11047 u"蓨",
11048 u"蓩",
11049 u"蓪",
11050 u"蓫",
11051 u"蓬",
11052 u"蓮",
11053 u"蓯",
11054 u"蓰",
11055 u"蓱",
11056 u"蓲",
11057 u"蓳",
11058 u"蓴",
11059 u"蓶",
11060 u"蓷",
11061 u"蓹",
11062 u"蓺",
11063 u"蓻",
11064 u"蓼",
11065 u"蓽",
11066 u"蓾",
11067 u"蓿",
11068 u"蔀",
11069 u"蔂",
11070 u"蔆",
11071 u"蔇",
11072 u"蔈",
11073 u"蔉",
11074 u"蔊",
11075 u"蔋",
11076 u"蔌",
11077 u"蔍",
11078 u"蔎",
11079 u"蔏",
11080 u"蔑",
11081 u"蔒",
11082 u"蔓",
11083 u"蔔",
11084 u"蔕",
11085 u"蔖",
11086 u"蔗",
11087 u"蔘",
11088 u"蔙",
11089 u"蔚",
11090 u"蔜",
11091 u"蔝",
11092 u"蔞",
11093 u"蔟",
11094 u"蔠",
11095 u"蔡",
11096 u"蔣",
11097 u"蔤",
11098 u"蔥",
11099 u"蔦",
11100 u"蔧",
11101 u"蔨",
11102 u"蔩",
11103 u"蔪",
11104 u"蔫",
11105 u"蔬",
11106 u"蔭",
11107 u"蔮",
11108 u"蔯",
11109 u"蔰",
11110 u"蔱",
11111 u"蔵",
11112 u"蔷",
11113 u"蔸",
11114 u"蔹",
11115 u"蔺",
11116 u"蔻",
11117 u"蔼",
11118 u"蔽",
11119 u"蔾",
11120 u"蔿",
11121 u"蕀",
11122 u"蕁",
11123 u"蕃",
11124 u"蕄",
11125 u"蕅",
11126 u"蕆",
11127 u"蕇",
11128 u"蕈",
11129 u"蕉",
11130 u"蕊",
11131 u"蕋",
11132 u"蕍",
11133 u"蕎",
11134 u"蕑",
11135 u"蕓",
11136 u"蕔",
11137 u"蕕",
11138 u"蕖",
11139 u"蕗",
11140 u"蕘",
11141 u"蕙",
11142 u"蕚",
11143 u"蕛",
11144 u"蕝",
11145 u"蕞",
11146 u"蕠",
11147 u"蕡",
11148 u"蕢",
11149 u"蕣",
11150 u"蕤",
11151 u"蕥",
11152 u"蕦",
11153 u"蕧",
11154 u"蕨",
11155 u"蕩",
11156 u"蕪",
11157 u"蕫",
11158 u"蕬",
11159 u"蕭",
11160 u"蕮",
11161 u"蕱",
11162 u"蕲",
11163 u"蕴",
11164 u"蕵",
11165 u"蕶",
11166 u"蕷",
11167 u"蕸",
11168 u"蕹",
11169 u"蕺",
11170 u"蕻",
11171 u"蕼",
11172 u"蕾",
11173 u"薀",
11174 u"薁",
11175 u"薂",
11176 u"薃",
11177 u"薄",
11178 u"薅",
11179 u"薆",
11180 u"薇",
11181 u"薈",
11182 u"薉",
11183 u"薊",
11184 u"薋",
11185 u"薌",
11186 u"薍",
11187 u"薎",
11188 u"薏",
11189 u"薐",
11190 u"薑",
11191 u"薔",
11192 u"薕",
11193 u"薖",
11194 u"薗",
11195 u"薘",
11196 u"薙",
11197 u"薚",
11198 u"薛",
11199 u"薜",
11200 u"薝",
11201 u"薞",
11202 u"薟",
11203 u"薠",
11204 u"薡",
11205 u"薢",
11206 u"薣",
11207 u"薤",
11208 u"薦",
11209 u"薧",
11210 u"薨",
11211 u"薩",
11212 u"薪",
11213 u"薫",
11214 u"薬",
11215 u"薮",
11216 u"薯",
11217 u"薰",
11218 u"薱",
11219 u"薳",
11220 u"薴",
11221 u"薵",
11222 u"薶",
11223 u"薷",
11224 u"薸",
11225 u"薹",
11226 u"薺",
11227 u"薽",
11228 u"薾",
11229 u"薿",
11230 u"藀",
11231 u"藁",
11232 u"藂",
11233 u"藃",
11234 u"藄",
11235 u"藅",
11236 u"藆",
11237 u"藇",
11238 u"藈",
11239 u"藉",
11240 u"藋",
11241 u"藍",
11242 u"藎",
11243 u"藏",
11244 u"藐",
11245 u"藑",
11246 u"藒",
11247 u"藓",
11248 u"藕",
11249 u"藗",
11250 u"藘",
11251 u"藙",
11252 u"藚",
11253 u"藜",
11254 u"藝",
11255 u"藞",
11256 u"藟",
11257 u"藡",
11258 u"藢",
11259 u"藣",
11260 u"藤",
11261 u"藥",
11262 u"藦",
11263 u"藨",
11264 u"藩",
11265 u"藪",
11266 u"藫",
11267 u"藬",
11268 u"藭",
11269 u"藯",
11270 u"藰",
11271 u"藱",
11272 u"藲",
11273 u"藶",
11274 u"藷",
11275 u"藸",
11276 u"藹",
11277 u"藺",
11278 u"藻",
11279 u"藽",
11280 u"藾",
11281 u"藿",
11282 u"蘀",
11283 u"蘁",
11284 u"蘂",
11285 u"蘄",
11286 u"蘅",
11287 u"蘆",
11288 u"蘇",
11289 u"蘉",
11290 u"蘊",
11291 u"蘋",
11292 u"蘌",
11293 u"蘑",
11294 u"蘓",
11295 u"蘖",
11296 u"蘗",
11297 u"蘘",
11298 u"蘙",
11299 u"蘚",
11300 u"蘛",
11301 u"蘜",
11302 u"蘞",
11303 u"蘟",
11304 u"蘠",
11305 u"蘡",
11306 u"蘢",
11307 u"蘣",
11308 u"蘤",
11309 u"蘥",
11310 u"蘦",
11311 u"蘧",
11312 u"蘩",
11313 u"蘪",
11314 u"蘬",
11315 u"蘭",
11316 u"蘮",
11317 u"蘯",
11318 u"蘰",
11319 u"蘱",
11320 u"蘲",
11321 u"蘳",
11322 u"蘴",
11323 u"蘵",
11324 u"蘶",
11325 u"蘸",
11326 u"蘹",
11327 u"蘺",
11328 u"蘻",
11329 u"蘼",
11330 u"蘾",
11331 u"蘿",
11332 u"虀",
11333 u"虃",
11334 u"虆",
11335 u"虇",
11336 u"虈",
11337 u"虋",
11338 u"虌",
11339 u"虎",
11340 u"虏",
11341 u"虐",
11342 u"虑",
11343 u"虒",
11344 u"虓",
11345 u"虔",
11346 u"處",
11347 u"虖",
11348 u"虙",
11349 u"虚",
11350 u"虛",
11351 u"虜",
11352 u"虞",
11353 u"號",
11354 u"虡",
11355 u"虢",
11356 u"虣",
11357 u"虤",
11358 u"虥",
11359 u"虧",
11360 u"虨",
11361 u"虩",
11362 u"虪",
11363 u"虫",
11364 u"虬",
11365 u"虭",
11366 u"虮",
11367 u"虯",
11368 u"虰",
11369 u"虱",
11370 u"虳",
11371 u"虴",
11372 u"虷",
11373 u"虹",
11374 u"虺",
11375 u"虻",
11376 u"虼",
11377 u"虽",
11378 u"虾",
11379 u"虿",
11380 u"蚀",
11381 u"蚁",
11382 u"蚂",
11383 u"蚅",
11384 u"蚆",
11385 u"蚇",
11386 u"蚊",
11387 u"蚋",
11388 u"蚌",
11389 u"蚍",
11390 u"蚎",
11391 u"蚐",
11392 u"蚑",
11393 u"蚓",
11394 u"蚔",
11395 u"蚕",
11396 u"蚖",
11397 u"蚗",
11398 u"蚘",
11399 u"蚙",
11400 u"蚚",
11401 u"蚜",
11402 u"蚝",
11403 u"蚞",
11404 u"蚡",
11405 u"蚢",
11406 u"蚣",
11407 u"蚤",
11408 u"蚥",
11409 u"蚧",
11410 u"蚨",
11411 u"蚩",
11412 u"蚪",
11413 u"蚫",
11414 u"蚬",
11415 u"蚯",
11416 u"蚰",
11417 u"蚱",
11418 u"蚳",
11419 u"蚴",
11420 u"蚵",
11421 u"蚶",
11422 u"蚷",
11423 u"蚸",
11424 u"蚹",
11425 u"蚺",
11426 u"蚻",
11427 u"蚼",
11428 u"蚽",
11429 u"蚾",
11430 u"蚿",
11431 u"蛀",
11432 u"蛁",
11433 u"蛂",
11434 u"蛃",
11435 u"蛄",
11436 u"蛅",
11437 u"蛆",
11438 u"蛇",
11439 u"蛈",
11440 u"蛉",
11441 u"蛊",
11442 u"蛋",
11443 u"蛌",
11444 u"蛍",
11445 u"蛎",
11446 u"蛏",
11447 u"蛐",
11448 u"蛑",
11449 u"蛓",
11450 u"蛔",
11451 u"蛖",
11452 u"蛗",
11453 u"蛘",
11454 u"蛙",
11455 u"蛚",
11456 u"蛛",
11457 u"蛜",
11458 u"蛝",
11459 u"蛞",
11460 u"蛟",
11461 u"蛢",
11462 u"蛣",
11463 u"蛤",
11464 u"蛦",
11465 u"蛨",
11466 u"蛩",
11467 u"蛪",
11468 u"蛫",
11469 u"蛬",
11470 u"蛭",
11471 u"蛮",
11472 u"蛯",
11473 u"蛰",
11474 u"蛱",
11475 u"蛲",
11476 u"蛳",
11477 u"蛴",
11478 u"蛵",
11479 u"蛶",
11480 u"蛷",
11481 u"蛸",
11482 u"蛹",
11483 u"蛺",
11484 u"蛻",
11485 u"蛾",
11486 u"蜀",
11487 u"蜁",
11488 u"蜂",
11489 u"蜃",
11490 u"蜄",
11491 u"蜅",
11492 u"蜆",
11493 u"蜇",
11494 u"蜈",
11495 u"蜉",
11496 u"蜊",
11497 u"蜋",
11498 u"蜌",
11499 u"蜍",
11500 u"蜎",
11501 u"蜑",
11502 u"蜒",
11503 u"蜓",
11504 u"蜕",
11505 u"蜗",
11506 u"蜘",
11507 u"蜙",
11508 u"蜚",
11509 u"蜛",
11510 u"蜜",
11511 u"蜞",
11512 u"蜠",
11513 u"蜡",
11514 u"蜢",
11515 u"蜣",
11516 u"蜤",
11517 u"蜥",
11518 u"蜦",
11519 u"蜧",
11520 u"蜨",
11521 u"蜩",
11522 u"蜪",
11523 u"蜬",
11524 u"蜭",
11525 u"蜮",
11526 u"蜰",
11527 u"蜱",
11528 u"蜲",
11529 u"蜳",
11530 u"蜴",
11531 u"蜵",
11532 u"蜷",
11533 u"蜸",
11534 u"蜺",
11535 u"蜻",
11536 u"蜼",
11537 u"蜾",
11538 u"蜿",
11539 u"蝀",
11540 u"蝁",
11541 u"蝂",
11542 u"蝃",
11543 u"蝆",
11544 u"蝇",
11545 u"蝈",
11546 u"蝉",
11547 u"蝋",
11548 u"蝌",
11549 u"蝍",
11550 u"蝎",
11551 u"蝏",
11552 u"蝐",
11553 u"蝑",
11554 u"蝒",
11555 u"蝓",
11556 u"蝔",
11557 u"蝕",
11558 u"蝖",
11559 u"蝗",
11560 u"蝘",
11561 u"蝙",
11562 u"蝚",
11563 u"蝛",
11564 u"蝜",
11565 u"蝝",
11566 u"蝞",
11567 u"蝟",
11568 u"蝠",
11569 u"蝡",
11570 u"蝢",
11571 u"蝣",
11572 u"蝤",
11573 u"蝥",
11574 u"蝦",
11575 u"蝧",
11576 u"蝨",
11577 u"蝩",
11578 u"蝪",
11579 u"蝫",
11580 u"蝬",
11581 u"蝭",
11582 u"蝮",
11583 u"蝯",
11584 u"蝰",
11585 u"蝳",
11586 u"蝴",
11587 u"蝵",
11588 u"蝶",
11589 u"蝷",
11590 u"蝸",
11591 u"蝹",
11592 u"蝺",
11593 u"蝻",
11594 u"蝼",
11595 u"蝽",
11596 u"蝾",
11597 u"蝿",
11598 u"螁",
11599 u"螂",
11600 u"螃",
11601 u"螄",
11602 u"螅",
11603 u"螇",
11604 u"螈",
11605 u"螉",
11606 u"螋",
11607 u"融",
11608 u"螏",
11609 u"螐",
11610 u"螑",
11611 u"螒",
11612 u"螓",
11613 u"螔",
11614 u"螖",
11615 u"螗",
11616 u"螘",
11617 u"螚",
11618 u"螛",
11619 u"螜",
11620 u"螝",
11621 u"螞",
11622 u"螟",
11623 u"螢",
11624 u"螣",
11625 u"螤",
11626 u"螨",
11627 u"螪",
11628 u"螫",
11629 u"螬",
11630 u"螭",
11631 u"螮",
11632 u"螯",
11633 u"螰",
11634 u"螲",
11635 u"螳",
11636 u"螴",
11637 u"螵",
11638 u"螶",
11639 u"螷",
11640 u"螸",
11641 u"螹",
11642 u"螺",
11643 u"螻",
11644 u"螼",
11645 u"螽",
11646 u"螾",
11647 u"螿",
11648 u"蟀",
11649 u"蟂",
11650 u"蟃",
11651 u"蟄",
11652 u"蟅",
11653 u"蟆",
11654 u"蟇",
11655 u"蟈",
11656 u"蟉",
11657 u"蟊",
11658 u"蟋",
11659 u"蟌",
11660 u"蟐",
11661 u"蟑",
11662 u"蟒",
11663 u"蟓",
11664 u"蟔",
11665 u"蟗",
11666 u"蟘",
11667 u"蟙",
11668 u"蟛",
11669 u"蟜",
11670 u"蟝",
11671 u"蟞",
11672 u"蟟",
11673 u"蟠",
11674 u"蟡",
11675 u"蟢",
11676 u"蟣",
11677 u"蟤",
11678 u"蟥",
11679 u"蟦",
11680 u"蟧",
11681 u"蟨",
11682 u"蟪",
11683 u"蟫",
11684 u"蟬",
11685 u"蟭",
11686 u"蟮",
11687 u"蟯",
11688 u"蟲",
11689 u"蟳",
11690 u"蟴",
11691 u"蟶",
11692 u"蟷",
11693 u"蟹",
11694 u"蟺",
11695 u"蟻",
11696 u"蟼",
11697 u"蟾",
11698 u"蟿",
11699 u"蠀",
11700 u"蠁",
11701 u"蠂",
11702 u"蠃",
11703 u"蠅",
11704 u"蠆",
11705 u"蠇",
11706 u"蠈",
11707 u"蠉",
11708 u"蠊",
11709 u"蠋",
11710 u"蠌",
11711 u"蠍",
11712 u"蠎",
11713 u"蠏",
11714 u"蠐",
11715 u"蠑",
11716 u"蠓",
11717 u"蠔",
11718 u"蠕",
11719 u"蠖",
11720 u"蠗",
11721 u"蠙",
11722 u"蠛",
11723 u"蠜",
11724 u"蠝",
11725 u"蠟",
11726 u"蠠",
11727 u"蠡",
11728 u"蠢",
11729 u"蠣",
11730 u"蠤",
11731 u"蠥",
11732 u"蠦",
11733 u"蠧",
11734 u"蠨",
11735 u"蠩",
11736 u"蠪",
11737 u"蠫",
11738 u"蠬",
11739 u"蠮",
11740 u"蠯",
11741 u"蠰",
11742 u"蠱",
11743 u"蠲",
11744 u"蠳",
11745 u"蠵",
11746 u"蠶",
11747 u"蠷",
11748 u"蠸",
11749 u"蠹",
11750 u"蠻",
11751 u"蠼",
11752 u"蠽",
11753 u"蠾",
11754 u"蠿",
11755 u"血",
11756 u"衁",
11757 u"衂",
11758 u"衃",
11759 u"衄",
11760 u"衅",
11761 u"衆",
11762 u"衈",
11763 u"衊",
11764 u"衋",
11765 u"行",
11766 u"衍",
11767 u"衎",
11768 u"衒",
11769 u"術",
11770 u"衔",
11771 u"衕",
11772 u"衖",
11773 u"街",
11774 u"衙",
11775 u"衚",
11776 u"衛",
11777 u"衝",
11778 u"衞",
11779 u"衡",
11780 u"衢",
11781 u"衣",
11782 u"补",
11783 u"衧",
11784 u"表",
11785 u"衩",
11786 u"衪",
11787 u"衫",
11788 u"衬",
11789 u"衭",
11790 u"衮",
11791 u"衯",
11792 u"衰",
11793 u"衱",
11794 u"衲",
11795 u"衴",
11796 u"衵",
11797 u"衶",
11798 u"衷",
11799 u"衹",
11800 u"衼",
11801 u"衽",
11802 u"衾",
11803 u"衿",
11804 u"袀",
11805 u"袁",
11806 u"袂",
11807 u"袃",
11808 u"袄",
11809 u"袅",
11810 u"袈",
11811 u"袉",
11812 u"袋",
11813 u"袌",
11814 u"袍",
11815 u"袎",
11816 u"袑",
11817 u"袒",
11818 u"袓",
11819 u"袕",
11820 u"袖",
11821 u"袗",
11822 u"袘",
11823 u"袙",
11824 u"袚",
11825 u"袛",
11826 u"袜",
11827 u"袞",
11828 u"袟",
11829 u"袡",
11830 u"袢",
11831 u"袤",
11832 u"袧",
11833 u"袨",
11834 u"袪",
11835 u"被",
11836 u"袬",
11837 u"袭",
11838 u"袮",
11839 u"袱",
11840 u"袲",
11841 u"袴",
11842 u"袵",
11843 u"袶",
11844 u"袷",
11845 u"袸",
11846 u"袹",
11847 u"袺",
11848 u"袼",
11849 u"袽",
11850 u"袾",
11851 u"袿",
11852 u"裀",
11853 u"裁",
11854 u"裂",
11855 u"裃",
11856 u"裄",
11857 u"装",
11858 u"裆",
11859 u"裉",
11860 u"裊",
11861 u"裋",
11862 u"裌",
11863 u"裍",
11864 u"裎",
11865 u"裏",
11866 u"裐",
11867 u"裒",
11868 u"裔",
11869 u"裕",
11870 u"裖",
11871 u"裗",
11872 u"裘",
11873 u"裙",
11874 u"裚",
11875 u"裛",
11876 u"補",
11877 u"裝",
11878 u"裞",
11879 u"裟",
11880 u"裡",
11881 u"裢",
11882 u"裣",
11883 u"裤",
11884 u"裥",
11885 u"裧",
11886 u"裨",
11887 u"裫",
11888 u"裬",
11889 u"裮",
11890 u"裯",
11891 u"裰",
11892 u"裱",
11893 u"裲",
11894 u"裳",
11895 u"裴",
11896 u"裵",
11897 u"裶",
11898 u"裷",
11899 u"裸",
11900 u"裹",
11901 u"裺",
11902 u"裻",
11903 u"裼",
11904 u"製",
11905 u"裾",
11906 u"褁",
11907 u"褂",
11908 u"褄",
11909 u"褅",
11910 u"褆",
11911 u"複",
11912 u"褉",
11913 u"褊",
11914 u"褋",
11915 u"褌",
11916 u"褎",
11917 u"褐",
11918 u"褑",
11919 u"褒",
11920 u"褓",
11921 u"褔",
11922 u"褕",
11923 u"褖",
11924 u"褗",
11925 u"褘",
11926 u"褙",
11927 u"褚",
11928 u"褛",
11929 u"褜",
11930 u"褝",
11931 u"褞",
11932 u"褟",
11933 u"褡",
11934 u"褢",
11935 u"褣",
11936 u"褥",
11937 u"褦",
11938 u"褧",
11939 u"褩",
11940 u"褪",
11941 u"褫",
11942 u"褬",
11943 u"褭",
11944 u"褮",
11945 u"褯",
11946 u"褰",
11947 u"褱",
11948 u"褲",
11949 u"褳",
11950 u"褴",
11951 u"褵",
11952 u"褶",
11953 u"褷",
11954 u"褸",
11955 u"褻",
11956 u"褼",
11957 u"褽",
11958 u"褾",
11959 u"襁",
11960 u"襂",
11961 u"襃",
11962 u"襄",
11963 u"襆",
11964 u"襉",
11965 u"襋",
11966 u"襌",
11967 u"襍",
11968 u"襏",
11969 u"襐",
11970 u"襑",
11971 u"襒",
11972 u"襓",
11973 u"襖",
11974 u"襗",
11975 u"襘",
11976 u"襙",
11977 u"襚",
11978 u"襛",
11979 u"襜",
11980 u"襝",
11981 u"襞",
11982 u"襟",
11983 u"襠",
11984 u"襡",
11985 u"襢",
11986 u"襣",
11987 u"襤",
11988 u"襦",
11989 u"襩",
11990 u"襪",
11991 u"襫",
11992 u"襬",
11993 u"襭",
11994 u"襮",
11995 u"襯",
11996 u"襱",
11997 u"襲",
11998 u"襳",
11999 u"襴",
12000 u"襶",
12001 u"襷",
12002 u"襹",
12003 u"襺",
12004 u"襻",
12005 u"襼",
12006 u"襾",
12007 u"西",
12008 u"要",
12009 u"覂",
12010 u"覃",
12011 u"覅",
12012 u"覆",
12013 u"覇",
12014 u"覈",
12015 u"覊",
12016 u"見",
12017 u"規",
12018 u"覓",
12019 u"覕",
12020 u"視",
12021 u"覗",
12022 u"覘",
12023 u"覚",
12024 u"覛",
12025 u"覜",
12026 u"覝",
12027 u"覞",
12028 u"覟",
12029 u"覡",
12030 u"覢",
12031 u"覣",
12032 u"覤",
12033 u"覦",
12034 u"覧",
12035 u"覩",
12036 u"親",
12037 u"覬",
12038 u"覭",
12039 u"覮",
12040 u"覯",
12041 u"覲",
12042 u"観",
12043 u"覶",
12044 u"覷",
12045 u"覹",
12046 u"覺",
12047 u"覽",
12048 u"覾",
12049 u"覿",
12050 u"觀",
12051 u"见",
12052 u"观",
12053 u"规",
12054 u"觅",
12055 u"视",
12056 u"觇",
12057 u"览",
12058 u"觉",
12059 u"觊",
12060 u"觋",
12061 u"觌",
12062 u"觎",
12063 u"觏",
12064 u"觐",
12065 u"觑",
12066 u"角",
12067 u"觓",
12068 u"觔",
12069 u"觕",
12070 u"觖",
12071 u"觙",
12072 u"觚",
12073 u"觛",
12074 u"觜",
12075 u"觝",
12076 u"觞",
12077 u"觟",
12078 u"觠",
12079 u"觡",
12080 u"觢",
12081 u"解",
12082 u"觤",
12083 u"觥",
12084 u"触",
12085 u"觧",
12086 u"觨",
12087 u"觩",
12088 u"觫",
12089 u"觬",
12090 u"觭",
12091 u"觯",
12092 u"觰",
12093 u"觱",
12094 u"觲",
12095 u"觳",
12096 u"觴",
12097 u"觶",
12098 u"觷",
12099 u"觸",
12100 u"觺",
12101 u"觻",
12102 u"觼",
12103 u"觾",
12104 u"觿",
12105 u"言",
12106 u"訂",
12107 u"訃",
12108 u"訄",
12109 u"訇",
12110 u"計",
12111 u"訊",
12112 u"訌",
12113 u"討",
12114 u"訏",
12115 u"訐",
12116 u"訑",
12117 u"訒",
12118 u"訓",
12119 u"訕",
12120 u"訖",
12121 u"託",
12122 u"記",
12123 u"訛",
12124 u"訝",
12125 u"訞",
12126 u"訟",
12127 u"訢",
12128 u"訣",
12129 u"訥",
12130 u"訧",
12131 u"訪",
12132 u"訬",
12133 u"設",
12134 u"訰",
12135 u"許",
12136 u"訳",
12137 u"訴",
12138 u"訶",
12139 u"訷",
12140 u"訹",
12141 u"診",
12142 u"註",
12143 u"証",
12144 u"訾",
12145 u"訿",
12146 u"詀",
12147 u"詁",
12148 u"詄",
12149 u"詅",
12150 u"詆",
12151 u"詈",
12152 u"詊",
12153 u"詌",
12154 u"詍",
12155 u"詎",
12156 u"詏",
12157 u"詐",
12158 u"詑",
12159 u"詒",
12160 u"詔",
12161 u"評",
12162 u"詖",
12163 u"詗",
12164 u"詘",
12165 u"詙",
12166 u"詛",
12167 u"詞",
12168 u"詠",
12169 u"詡",
12170 u"詢",
12171 u"詣",
12172 u"試",
12173 u"詨",
12174 u"詩",
12175 u"詫",
12176 u"詬",
12177 u"詭",
12178 u"詮",
12179 u"詰",
12180 u"話",
12181 u"該",
12182 u"詳",
12183 u"詴",
12184 u"詵",
12185 u"詶",
12186 u"詷",
12187 u"詹",
12188 u"詺",
12189 u"詻",
12190 u"詼",
12191 u"詿",
12192 u"誁",
12193 u"誂",
12194 u"誃",
12195 u"誄",
12196 u"誅",
12197 u"誆",
12198 u"誇",
12199 u"誉",
12200 u"誊",
12201 u"誋",
12202 u"誌",
12203 u"認",
12204 u"誏",
12205 u"誑",
12206 u"誒",
12207 u"誓",
12208 u"誕",
12209 u"誖",
12210 u"誘",
12211 u"誙",
12212 u"誚",
12213 u"語",
12214 u"誠",
12215 u"誡",
12216 u"誣",
12217 u"誤",
12218 u"誥",
12219 u"誦",
12220 u"誧",
12221 u"誨",
12222 u"說",
12223 u"誫",
12224 u"説",
12225 u"読",
12226 u"誰",
12227 u"課",
12228 u"誶",
12229 u"誸",
12230 u"誹",
12231 u"誺",
12232 u"誻",
12233 u"誼",
12234 u"誽",
12235 u"誾",
12236 u"調",
12237 u"諀",
12238 u"諂",
12239 u"諃",
12240 u"諄",
12241 u"諅",
12242 u"諆",
12243 u"談",
12244 u"諈",
12245 u"諉",
12246 u"請",
12247 u"諌",
12248 u"諍",
12249 u"諏",
12250 u"諑",
12251 u"諒",
12252 u"諓",
12253 u"諔",
12254 u"諕",
12255 u"論",
12256 u"諗",
12257 u"諘",
12258 u"諙",
12259 u"諚",
12260 u"諛",
12261 u"諜",
12262 u"諝",
12263 u"諞",
12264 u"諟",
12265 u"諠",
12266 u"諡",
12267 u"諢",
12268 u"諤",
12269 u"諦",
12270 u"諧",
12271 u"諨",
12272 u"諪",
12273 u"諫",
12274 u"諭",
12275 u"諮",
12276 u"諯",
12277 u"諰",
12278 u"諱",
12279 u"諲",
12280 u"諳",
12281 u"諴",
12282 u"諵",
12283 u"諶",
12284 u"諷",
12285 u"諸",
12286 u"諺",
12287 u"諻",
12288 u"諼",
12289 u"諾",
12290 u"諿",
12291 u"謀",
12292 u"謁",
12293 u"謂",
12294 u"謄",
12295 u"謅",
12296 u"謆",
12297 u"謇",
12298 u"謈",
12299 u"謊",
12300 u"謋",
12301 u"謌",
12302 u"謍",
12303 u"謎",
12304 u"謏",
12305 u"謐",
12306 u"謑",
12307 u"謒",
12308 u"謓",
12309 u"謔",
12310 u"謕",
12311 u"謖",
12312 u"謗",
12313 u"謘",
12314 u"謙",
12315 u"謚",
12316 u"講",
12317 u"謜",
12318 u"謝",
12319 u"謞",
12320 u"謠",
12321 u"謡",
12322 u"謢",
12323 u"謣",
12324 u"謤",
12325 u"謥",
12326 u"謦",
12327 u"謧",
12328 u"謨",
12329 u"謪",
12330 u"謫",
12331 u"謬",
12332 u"謮",
12333 u"謯",
12334 u"謰",
12335 u"謱",
12336 u"謳",
12337 u"謵",
12338 u"謶",
12339 u"謷",
12340 u"謹",
12341 u"謺",
12342 u"謻",
12343 u"謼",
12344 u"謽",
12345 u"謾",
12346 u"譀",
12347 u"譁",
12348 u"譂",
12349 u"譅",
12350 u"譆",
12351 u"譇",
12352 u"譈",
12353 u"證",
12354 u"譊",
12355 u"譋",
12356 u"譌",
12357 u"譎",
12358 u"譏",
12359 u"譐",
12360 u"譑",
12361 u"譒",
12362 u"譓",
12363 u"譔",
12364 u"譕",
12365 u"譖",
12366 u"譗",
12367 u"識",
12368 u"譙",
12369 u"譚",
12370 u"譛",
12371 u"譜",
12372 u"譝",
12373 u"譟",
12374 u"譠",
12375 u"譣",
12376 u"譥",
12377 u"警",
12378 u"譧",
12379 u"譨",
12380 u"譪",
12381 u"譫",
12382 u"譬",
12383 u"譭",
12384 u"譯",
12385 u"議",
12386 u"譱",
12387 u"譲",
12388 u"譴",
12389 u"護",
12390 u"譸",
12391 u"譹",
12392 u"譺",
12393 u"譻",
12394 u"譽",
12395 u"譾",
12396 u"譿",
12397 u"讀",
12398 u"讂",
12399 u"讃",
12400 u"讄",
12401 u"讅",
12402 u"讆",
12403 u"讈",
12404 u"變",
12405 u"讋",
12406 u"讌",
12407 u"讎",
12408 u"讐",
12409 u"讒",
12410 u"讓",
12411 u"讔",
12412 u"讕",
12413 u"讖",
12414 u"讘",
12415 u"讙",
12416 u"讚",
12417 u"讜",
12418 u"讞",
12419 u"讟",
12420 u"讠",
12421 u"计",
12422 u"订",
12423 u"讣",
12424 u"认",
12425 u"讥",
12426 u"讦",
12427 u"讧",
12428 u"讨",
12429 u"让",
12430 u"讪",
12431 u"讫",
12432 u"训",
12433 u"议",
12434 u"讯",
12435 u"记",
12436 u"讲",
12437 u"讳",
12438 u"讴",
12439 u"讵",
12440 u"讶",
12441 u"讷",
12442 u"许",
12443 u"讹",
12444 u"论",
12445 u"讼",
12446 u"讽",
12447 u"设",
12448 u"访",
12449 u"诀",
12450 u"证",
12451 u"诂",
12452 u"诃",
12453 u"评",
12454 u"诅",
12455 u"识",
12456 u"诈",
12457 u"诉",
12458 u"诊",
12459 u"诋",
12460 u"诌",
12461 u"词",
12462 u"诎",
12463 u"诏",
12464 u"译",
12465 u"诒",
12466 u"诓",
12467 u"诔",
12468 u"试",
12469 u"诖",
12470 u"诗",
12471 u"诘",
12472 u"诙",
12473 u"诚",
12474 u"诛",
12475 u"诜",
12476 u"话",
12477 u"诞",
12478 u"诟",
12479 u"诠",
12480 u"诡",
12481 u"询",
12482 u"诣",
12483 u"诤",
12484 u"该",
12485 u"详",
12486 u"诧",
12487 u"诨",
12488 u"诩",
12489 u"诫",
12490 u"诬",
12491 u"语",
12492 u"诮",
12493 u"误",
12494 u"诰",
12495 u"诱",
12496 u"诲",
12497 u"诳",
12498 u"说",
12499 u"诵",
12500 u"诶",
12501 u"请",
12502 u"诸",
12503 u"诹",
12504 u"诺",
12505 u"读",
12506 u"诼",
12507 u"诽",
12508 u"课",
12509 u"诿",
12510 u"谀",
12511 u"谁",
12512 u"谂",
12513 u"调",
12514 u"谄",
12515 u"谅",
12516 u"谆",
12517 u"谇",
12518 u"谈",
12519 u"谊",
12520 u"谋",
12521 u"谌",
12522 u"谍",
12523 u"谎",
12524 u"谏",
12525 u"谐",
12526 u"谑",
12527 u"谒",
12528 u"谓",
12529 u"谔",
12530 u"谕",
12531 u"谖",
12532 u"谗",
12533 u"谘",
12534 u"谙",
12535 u"谚",
12536 u"谛",
12537 u"谜",
12538 u"谝",
12539 u"谟",
12540 u"谠",
12541 u"谡",
12542 u"谢",
12543 u"谣",
12544 u"谤",
12545 u"谥",
12546 u"谦",
12547 u"谧",
12548 u"谨",
12549 u"谩",
12550 u"谪",
12551 u"谫",
12552 u"谬",
12553 u"谭",
12554 u"谮",
12555 u"谯",
12556 u"谰",
12557 u"谱",
12558 u"谲",
12559 u"谳",
12560 u"谴",
12561 u"谵",
12562 u"谶",
12563 u"谷",
12564 u"谹",
12565 u"谺",
12566 u"谻",
12567 u"谼",
12568 u"谽",
12569 u"谾",
12570 u"谿",
12571 u"豁",
12572 u"豂",
12573 u"豃",
12574 u"豅",
12575 u"豆",
12576 u"豇",
12577 u"豈",
12578 u"豉",
12579 u"豊",
12580 u"豋",
12581 u"豌",
12582 u"豍",
12583 u"豎",
12584 u"豏",
12585 u"豐",
12586 u"豔",
12587 u"豕",
12588 u"豖",
12589 u"豗",
12590 u"豚",
12591 u"豜",
12592 u"豝",
12593 u"豟",
12594 u"象",
12595 u"豢",
12596 u"豤",
12597 u"豥",
12598 u"豦",
12599 u"豨",
12600 u"豩",
12601 u"豪",
12602 u"豫",
12603 u"豬",
12604 u"豭",
12605 u"豯",
12606 u"豰",
12607 u"豱",
12608 u"豲",
12609 u"豳",
12610 u"豵",
12611 u"豶",
12612 u"豷",
12613 u"豸",
12614 u"豹",
12615 u"豺",
12616 u"豻",
12617 u"豼",
12618 u"豽",
12619 u"貀",
12620 u"貁",
12621 u"貂",
12622 u"貄",
12623 u"貅",
12624 u"貆",
12625 u"貉",
12626 u"貊",
12627 u"貌",
12628 u"貍",
12629 u"貎",
12630 u"貏",
12631 u"貐",
12632 u"貑",
12633 u"貒",
12634 u"貓",
12635 u"貔",
12636 u"貕",
12637 u"貗",
12638 u"貘",
12639 u"貙",
12640 u"貚",
12641 u"貜",
12642 u"貝",
12643 u"貞",
12644 u"負",
12645 u"財",
12646 u"貢",
12647 u"貣",
12648 u"貤",
12649 u"貥",
12650 u"貧",
12651 u"貨",
12652 u"販",
12653 u"貪",
12654 u"貫",
12655 u"責",
12656 u"貭",
12657 u"貮",
12658 u"貯",
12659 u"貰",
12660 u"貲",
12661 u"貳",
12662 u"貴",
12663 u"貵",
12664 u"貶",
12665 u"買",
12666 u"貸",
12667 u"貹",
12668 u"貺",
12669 u"費",
12670 u"貼",
12671 u"貽",
12672 u"貾",
12673 u"貿",
12674 u"賀",
12675 u"賁",
12676 u"賂",
12677 u"賃",
12678 u"賄",
12679 u"賅",
12680 u"資",
12681 u"賈",
12682 u"賊",
12683 u"賌",
12684 u"賍",
12685 u"賎",
12686 u"賏",
12687 u"賑",
12688 u"賒",
12689 u"賓",
12690 u"賕",
12691 u"賗",
12692 u"賙",
12693 u"賚",
12694 u"賛",
12695 u"賜",
12696 u"賝",
12697 u"賞",
12698 u"賟",
12699 u"賠",
12700 u"賡",
12701 u"賢",
12702 u"賣",
12703 u"賤",
12704 u"賥",
12705 u"賦",
12706 u"賧",
12707 u"賨",
12708 u"質",
12709 u"賬",
12710 u"賭",
12711 u"賮",
12712 u"賰",
12713 u"賱",
12714 u"賳",
12715 u"賴",
12716 u"賵",
12717 u"賸",
12718 u"賹",
12719 u"賺",
12720 u"賻",
12721 u"購",
12722 u"賽",
12723 u"賾",
12724 u"贀",
12725 u"贂",
12726 u"贄",
12727 u"贅",
12728 u"贆",
12729 u"贇",
12730 u"贈",
12731 u"贉",
12732 u"贊",
12733 u"贋",
12734 u"贍",
12735 u"贏",
12736 u"贐",
12737 u"贒",
12738 u"贓",
12739 u"贔",
12740 u"贕",
12741 u"贖",
12742 u"贗",
12743 u"贙",
12744 u"贛",
12745 u"贝",
12746 u"贞",
12747 u"负",
12748 u"贡",
12749 u"财",
12750 u"责",
12751 u"贤",
12752 u"败",
12753 u"账",
12754 u"货",
12755 u"质",
12756 u"贩",
12757 u"贪",
12758 u"贫",
12759 u"贬",
12760 u"购",
12761 u"贮",
12762 u"贯",
12763 u"贰",
12764 u"贱",
12765 u"贲",
12766 u"贳",
12767 u"贴",
12768 u"贵",
12769 u"贶",
12770 u"贷",
12771 u"贸",
12772 u"费",
12773 u"贺",
12774 u"贻",
12775 u"贼",
12776 u"贽",
12777 u"贾",
12778 u"贿",
12779 u"赀",
12780 u"赁",
12781 u"赂",
12782 u"赃",
12783 u"资",
12784 u"赅",
12785 u"赆",
12786 u"赇",
12787 u"赈",
12788 u"赉",
12789 u"赊",
12790 u"赋",
12791 u"赌",
12792 u"赍",
12793 u"赎",
12794 u"赏",
12795 u"赐",
12796 u"赓",
12797 u"赔",
12798 u"赕",
12799 u"赖",
12800 u"赘",
12801 u"赙",
12802 u"赚",
12803 u"赛",
12804 u"赜",
12805 u"赝",
12806 u"赞",
12807 u"赠",
12808 u"赡",
12809 u"赢",
12810 u"赣",
12811 u"赤",
12812 u"赦",
12813 u"赧",
12814 u"赨",
12815 u"赩",
12816 u"赫",
12817 u"赬",
12818 u"赭",
12819 u"赮",
12820 u"赯",
12821 u"走",
12822 u"赱",
12823 u"赲",
12824 u"赳",
12825 u"赴",
12826 u"赵",
12827 u"赶",
12828 u"起",
12829 u"赸",
12830 u"赹",
12831 u"赻",
12832 u"赽",
12833 u"趀",
12834 u"趁",
12835 u"趄",
12836 u"超",
12837 u"趉",
12838 u"越",
12839 u"趋",
12840 u"趌",
12841 u"趍",
12842 u"趎",
12843 u"趏",
12844 u"趐",
12845 u"趑",
12846 u"趒",
12847 u"趓",
12848 u"趔",
12849 u"趕",
12850 u"趖",
12851 u"趙",
12852 u"趛",
12853 u"趜",
12854 u"趟",
12855 u"趠",
12856 u"趡",
12857 u"趣",
12858 u"趥",
12859 u"趧",
12860 u"趨",
12861 u"趪",
12862 u"趫",
12863 u"趬",
12864 u"趭",
12865 u"趮",
12866 u"趯",
12867 u"趱",
12868 u"趲",
12869 u"足",
12870 u"趴",
12871 u"趵",
12872 u"趶",
12873 u"趷",
12874 u"趸",
12875 u"趹",
12876 u"趺",
12877 u"趼",
12878 u"趾",
12879 u"趿",
12880 u"跁",
12881 u"跂",
12882 u"跃",
12883 u"跄",
12884 u"跅",
12885 u"跆",
12886 u"跇",
12887 u"跈",
12888 u"跋",
12889 u"跌",
12890 u"跍",
12891 u"跎",
12892 u"跏",
12893 u"跐",
12894 u"跑",
12895 u"跓",
12896 u"跕",
12897 u"跖",
12898 u"跗",
12899 u"跘",
12900 u"跙",
12901 u"跚",
12902 u"跛",
12903 u"跜",
12904 u"距",
12905 u"跞",
12906 u"跟",
12907 u"跠",
12908 u"跡",
12909 u"跢",
12910 u"跣",
12911 u"跤",
12912 u"跦",
12913 u"跧",
12914 u"跨",
12915 u"跩",
12916 u"跪",
12917 u"跫",
12918 u"跬",
12919 u"跮",
12920 u"路",
12921 u"跰",
12922 u"跱",
12923 u"跲",
12924 u"跳",
12925 u"跴",
12926 u"践",
12927 u"跷",
12928 u"跸",
12929 u"跹",
12930 u"跺",
12931 u"跻",
12932 u"跼",
12933 u"跽",
12934 u"跾",
12935 u"跿",
12936 u"踀",
12937 u"踂",
12938 u"踃",
12939 u"踄",
12940 u"踅",
12941 u"踆",
12942 u"踇",
12943 u"踈",
12944 u"踉",
12945 u"踊",
12946 u"踌",
12947 u"踍",
12948 u"踏",
12949 u"踐",
12950 u"踑",
12951 u"踒",
12952 u"踓",
12953 u"踔",
12954 u"踕",
12955 u"踖",
12956 u"踗",
12957 u"踘",
12958 u"踙",
12959 u"踚",
12960 u"踛",
12961 u"踜",
12962 u"踝",
12963 u"踞",
12964 u"踟",
12965 u"踠",
12966 u"踡",
12967 u"踢",
12968 u"踣",
12969 u"踤",
12970 u"踥",
12971 u"踦",
12972 u"踧",
12973 u"踩",
12974 u"踪",
12975 u"踫",
12976 u"踬",
12977 u"踮",
12978 u"踯",
12979 u"踰",
12980 u"踱",
12981 u"踳",
12982 u"踴",
12983 u"踵",
12984 u"踶",
12985 u"踸",
12986 u"踹",
12987 u"踺",
12988 u"踼",
12989 u"踽",
12990 u"踾",
12991 u"踿",
12992 u"蹀",
12993 u"蹁",
12994 u"蹂",
12995 u"蹄",
12996 u"蹅",
12997 u"蹇",
12998 u"蹈",
12999 u"蹉",
13000 u"蹊",
13001 u"蹋",
13002 u"蹌",
13003 u"蹍",
13004 u"蹎",
13005 u"蹐",
13006 u"蹑",
13007 u"蹒",
13008 u"蹓",
13009 u"蹔",
13010 u"蹕",
13011 u"蹖",
13012 u"蹗",
13013 u"蹙",
13014 u"蹚",
13015 u"蹛",
13016 u"蹜",
13017 u"蹝",
13018 u"蹞",
13019 u"蹟",
13020 u"蹠",
13021 u"蹡",
13022 u"蹢",
13023 u"蹣",
13024 u"蹤",
13025 u"蹥",
13026 u"蹦",
13027 u"蹧",
13028 u"蹩",
13029 u"蹪",
13030 u"蹬",
13031 u"蹭",
13032 u"蹯",
13033 u"蹰",
13034 u"蹲",
13035 u"蹳",
13036 u"蹴",
13037 u"蹶",
13038 u"蹸",
13039 u"蹺",
13040 u"蹻",
13041 u"蹼",
13042 u"蹿",
13043 u"躁",
13044 u"躂",
13045 u"躄",
13046 u"躅",
13047 u"躆",
13048 u"躇",
13049 u"躈",
13050 u"躉",
13051 u"躊",
13052 u"躋",
13053 u"躌",
13054 u"躍",
13055 u"躎",
13056 u"躏",
13057 u"躐",
13058 u"躑",
13059 u"躒",
13060 u"躓",
13061 u"躔",
13062 u"躕",
13063 u"躖",
13064 u"躗",
13065 u"躘",
13066 u"躙",
13067 u"躚",
13068 u"躜",
13069 u"躝",
13070 u"躞",
13071 u"躟",
13072 u"躠",
13073 u"躡",
13074 u"躣",
13075 u"躤",
13076 u"躥",
13077 u"躦",
13078 u"躨",
13079 u"躩",
13080 u"躪",
13081 u"身",
13082 u"躬",
13083 u"躯",
13084 u"躰",
13085 u"躱",
13086 u"躲",
13087 u"躺",
13088 u"躽",
13089 u"躾",
13090 u"軀",
13091 u"軂",
13092 u"軅",
13093 u"軆",
13094 u"軈",
13095 u"軉",
13096 u"車",
13097 u"軋",
13098 u"軌",
13099 u"軍",
13100 u"軎",
13101 u"軏",
13102 u"軑",
13103 u"軒",
13104 u"軓",
13105 u"軔",
13106 u"軗",
13107 u"軘",
13108 u"軛",
13109 u"軜",
13110 u"軝",
13111 u"軞",
13112 u"軟",
13113 u"軠",
13114 u"軡",
13115 u"転",
13116 u"軣",
13117 u"軥",
13118 u"軦",
13119 u"軧",
13120 u"軨",
13121 u"軩",
13122 u"軫",
13123 u"軬",
13124 u"軮",
13125 u"軯",
13126 u"軱",
13127 u"軴",
13128 u"軵",
13129 u"軶",
13130 u"軷",
13131 u"軸",
13132 u"軹",
13133 u"軺",
13134 u"軻",
13135 u"軼",
13136 u"軽",
13137 u"軾",
13138 u"軿",
13139 u"輀",
13140 u"輁",
13141 u"輂",
13142 u"較",
13143 u"輅",
13144 u"輆",
13145 u"輇",
13146 u"輈",
13147 u"載",
13148 u"輊",
13149 u"輋",
13150 u"輌",
13151 u"輍",
13152 u"輎",
13153 u"輐",
13154 u"輑",
13155 u"輒",
13156 u"輓",
13157 u"輔",
13158 u"輕",
13159 u"輖",
13160 u"輗",
13161 u"輘",
13162 u"輙",
13163 u"輚",
13164 u"輛",
13165 u"輜",
13166 u"輝",
13167 u"輞",
13168 u"輟",
13169 u"輠",
13170 u"輣",
13171 u"輤",
13172 u"輥",
13173 u"輦",
13174 u"輧",
13175 u"輩",
13176 u"輪",
13177 u"輬",
13178 u"輮",
13179 u"輯",
13180 u"輲",
13181 u"輳",
13182 u"輴",
13183 u"輵",
13184 u"輶",
13185 u"輷",
13186 u"輸",
13187 u"輹",
13188 u"輻",
13189 u"輾",
13190 u"輿",
13191 u"轀",
13192 u"轂",
13193 u"轃",
13194 u"轄",
13195 u"轅",
13196 u"轆",
13197 u"轇",
13198 u"轈",
13199 u"轉",
13200 u"轋",
13201 u"轌",
13202 u"轍",
13203 u"轎",
13204 u"轏",
13205 u"轐",
13206 u"轑",
13207 u"轒",
13208 u"轓",
13209 u"轔",
13210 u"轕",
13211 u"轖",
13212 u"轗",
13213 u"轘",
13214 u"轙",
13215 u"轚",
13216 u"轛",
13217 u"轜",
13218 u"轝",
13219 u"轞",
13220 u"轟",
13221 u"轠",
13222 u"轡",
13223 u"轢",
13224 u"轣",
13225 u"轤",
13226 u"车",
13227 u"轧",
13228 u"轨",
13229 u"轩",
13230 u"轫",
13231 u"转",
13232 u"轭",
13233 u"轮",
13234 u"软",
13235 u"轰",
13236 u"轱",
13237 u"轲",
13238 u"轳",
13239 u"轴",
13240 u"轵",
13241 u"轶",
13242 u"轷",
13243 u"轸",
13244 u"轹",
13245 u"轺",
13246 u"轻",
13247 u"轼",
13248 u"载",
13249 u"轾",
13250 u"轿",
13251 u"辁",
13252 u"辂",
13253 u"较",
13254 u"辄",
13255 u"辅",
13256 u"辆",
13257 u"辇",
13258 u"辈",
13259 u"辉",
13260 u"辊",
13261 u"辋",
13262 u"辍",
13263 u"辎",
13264 u"辏",
13265 u"辐",
13266 u"辑",
13267 u"输",
13268 u"辔",
13269 u"辕",
13270 u"辖",
13271 u"辗",
13272 u"辘",
13273 u"辙",
13274 u"辚",
13275 u"辛",
13276 u"辜",
13277 u"辞",
13278 u"辟",
13279 u"辣",
13280 u"辦",
13281 u"辧",
13282 u"辨",
13283 u"辩",
13284 u"辫",
13285 u"辭",
13286 u"辮",
13287 u"辯",
13288 u"辰",
13289 u"辱",
13290 u"農",
13291 u"辴",
13292 u"辷",
13293 u"边",
13294 u"辺",
13295 u"辻",
13296 u"込",
13297 u"辽",
13298 u"达",
13299 u"辿",
13300 u"迁",
13301 u"迂",
13302 u"迄",
13303 u"迅",
13304 u"迆",
13305 u"过",
13306 u"迈",
13307 u"迉",
13308 u"迋",
13309 u"迍",
13310 u"迎",
13311 u"运",
13312 u"近",
13313 u"迒",
13314 u"迓",
13315 u"返",
13316 u"迕",
13317 u"迖",
13318 u"迗",
13319 u"还",
13320 u"这",
13321 u"迚",
13322 u"进",
13323 u"远",
13324 u"违",
13325 u"连",
13326 u"迟",
13327 u"迠",
13328 u"迡",
13329 u"迢",
13330 u"迣",
13331 u"迤",
13332 u"迥",
13333 u"迦",
13334 u"迨",
13335 u"迩",
13336 u"迪",
13337 u"迫",
13338 u"迭",
13339 u"迮",
13340 u"迯",
13341 u"述",
13342 u"迲",
13343 u"迳",
13344 u"迴",
13345 u"迵",
13346 u"迶",
13347 u"迷",
13348 u"迸",
13349 u"迹",
13350 u"迺",
13351 u"迻",
13352 u"迼",
13353 u"追",
13354 u"迾",
13355 u"迿",
13356 u"退",
13357 u"送",
13358 u"适",
13359 u"逃",
13360 u"逄",
13361 u"逅",
13362 u"逆",
13363 u"逈",
13364 u"选",
13365 u"逊",
13366 u"逋",
13367 u"逌",
13368 u"逍",
13369 u"逎",
13370 u"透",
13371 u"逐",
13372 u"逑",
13373 u"递",
13374 u"逓",
13375 u"途",
13376 u"逕",
13377 u"逖",
13378 u"逗",
13379 u"這",
13380 u"通",
13381 u"逛",
13382 u"逜",
13383 u"逝",
13384 u"逞",
13385 u"速",
13386 u"造",
13387 u"逡",
13388 u"逢",
13389 u"連",
13390 u"逤",
13391 u"逦",
13392 u"逧",
13393 u"逭",
13394 u"逮",
13395 u"逯",
13396 u"週",
13397 u"進",
13398 u"逴",
13399 u"逵",
13400 u"逶",
13401 u"逸",
13402 u"逹",
13403 u"逻",
13404 u"逼",
13405 u"逽",
13406 u"逾",
13407 u"逿",
13408 u"遁",
13409 u"遂",
13410 u"遄",
13411 u"遅",
13412 u"遇",
13413 u"遉",
13414 u"遊",
13415 u"運",
13416 u"遍",
13417 u"過",
13418 u"遏",
13419 u"遐",
13420 u"遑",
13421 u"遒",
13422 u"道",
13423 u"達",
13424 u"違",
13425 u"遖",
13426 u"遗",
13427 u"遘",
13428 u"遙",
13429 u"遛",
13430 u"遜",
13431 u"遝",
13432 u"遞",
13433 u"遠",
13434 u"遡",
13435 u"遢",
13436 u"遣",
13437 u"遥",
13438 u"遧",
13439 u"遨",
13440 u"適",
13441 u"遫",
13442 u"遭",
13443 u"遮",
13444 u"遯",
13445 u"遰",
13446 u"遲",
13447 u"遳",
13448 u"遴",
13449 u"遵",
13450 u"遶",
13451 u"遷",
13452 u"選",
13453 u"遹",
13454 u"遺",
13455 u"遻",
13456 u"遼",
13457 u"遽",
13458 u"遾",
13459 u"避",
13460 u"邀",
13461 u"邁",
13462 u"邂",
13463 u"邃",
13464 u"還",
13465 u"邅",
13466 u"邆",
13467 u"邇",
13468 u"邈",
13469 u"邉",
13470 u"邊",
13471 u"邋",
13472 u"邍",
13473 u"邏",
13474 u"邐",
13475 u"邑",
13476 u"邓",
13477 u"邔",
13478 u"邕",
13479 u"邗",
13480 u"邘",
13481 u"邙",
13482 u"邛",
13483 u"邝",
13484 u"邞",
13485 u"邟",
13486 u"邠",
13487 u"邡",
13488 u"邢",
13489 u"那",
13490 u"邥",
13491 u"邦",
13492 u"邧",
13493 u"邨",
13494 u"邪",
13495 u"邬",
13496 u"邮",
13497 u"邯",
13498 u"邰",
13499 u"邱",
13500 u"邲",
13501 u"邳",
13502 u"邴",
13503 u"邵",
13504 u"邶",
13505 u"邸",
13506 u"邹",
13507 u"邺",
13508 u"邻",
13509 u"邽",
13510 u"邾",
13511 u"邿",
13512 u"郁",
13513 u"郃",
13514 u"郄",
13515 u"郅",
13516 u"郇",
13517 u"郈",
13518 u"郊",
13519 u"郋",
13520 u"郎",
13521 u"郏",
13522 u"郐",
13523 u"郑",
13524 u"郓",
13525 u"郔",
13526 u"郕",
13527 u"郖",
13528 u"郗",
13529 u"郘",
13530 u"郙",
13531 u"郚",
13532 u"郛",
13533 u"郜",
13534 u"郝",
13535 u"郞",
13536 u"郟",
13537 u"郠",
13538 u"郡",
13539 u"郢",
13540 u"郣",
13541 u"郤",
13542 u"郥",
13543 u"郦",
13544 u"郧",
13545 u"部",
13546 u"郩",
13547 u"郪",
13548 u"郫",
13549 u"郬",
13550 u"郭",
13551 u"郯",
13552 u"郰",
13553 u"郱",
13554 u"郲",
13555 u"郳",
13556 u"郴",
13557 u"郵",
13558 u"郷",
13559 u"郸",
13560 u"郹",
13561 u"郺",
13562 u"郻",
13563 u"郼",
13564 u"都",
13565 u"郾",
13566 u"郿",
13567 u"鄀",
13568 u"鄁",
13569 u"鄂",
13570 u"鄃",
13571 u"鄄",
13572 u"鄅",
13573 u"鄆",
13574 u"鄇",
13575 u"鄈",
13576 u"鄉",
13577 u"鄋",
13578 u"鄍",
13579 u"鄎",
13580 u"鄏",
13581 u"鄐",
13582 u"鄑",
13583 u"鄒",
13584 u"鄔",
13585 u"鄕",
13586 u"鄖",
13587 u"鄗",
13588 u"鄘",
13589 u"鄙",
13590 u"鄚",
13591 u"鄛",
13592 u"鄜",
13593 u"鄝",
13594 u"鄞",
13595 u"鄟",
13596 u"鄠",
13597 u"鄡",
13598 u"鄢",
13599 u"鄣",
13600 u"鄤",
13601 u"鄦",
13602 u"鄧",
13603 u"鄨",
13604 u"鄩",
13605 u"鄪",
13606 u"鄫",
13607 u"鄬",
13608 u"鄭",
13609 u"鄮",
13610 u"鄯",
13611 u"鄰",
13612 u"鄱",
13613 u"鄲",
13614 u"鄳",
13615 u"鄴",
13616 u"鄵",
13617 u"鄶",
13618 u"鄸",
13619 u"鄹",
13620 u"鄺",
13621 u"鄻",
13622 u"鄾",
13623 u"鄿",
13624 u"酀",
13625 u"酁",
13626 u"酃",
13627 u"酄",
13628 u"酅",
13629 u"酆",
13630 u"酇",
13631 u"酈",
13632 u"酉",
13633 u"酊",
13634 u"酋",
13635 u"酌",
13636 u"配",
13637 u"酎",
13638 u"酏",
13639 u"酐",
13640 u"酒",
13641 u"酓",
13642 u"酔",
13643 u"酕",
13644 u"酖",
13645 u"酗",
13646 u"酘",
13647 u"酚",
13648 u"酝",
13649 u"酞",
13650 u"酟",
13651 u"酠",
13652 u"酡",
13653 u"酢",
13654 u"酣",
13655 u"酤",
13656 u"酥",
13657 u"酨",
13658 u"酩",
13659 u"酪",
13660 u"酬",
13661 u"酮",
13662 u"酯",
13663 u"酰",
13664 u"酱",
13665 u"酲",
13666 u"酳",
13667 u"酴",
13668 u"酵",
13669 u"酶",
13670 u"酷",
13671 u"酸",
13672 u"酹",
13673 u"酺",
13674 u"酽",
13675 u"酾",
13676 u"酿",
13677 u"醀",
13678 u"醁",
13679 u"醂",
13680 u"醃",
13681 u"醄",
13682 u"醅",
13683 u"醆",
13684 u"醇",
13685 u"醉",
13686 u"醊",
13687 u"醋",
13688 u"醌",
13689 u"醍",
13690 u"醏",
13691 u"醐",
13692 u"醑",
13693 u"醒",
13694 u"醓",
13695 u"醗",
13696 u"醙",
13697 u"醚",
13698 u"醛",
13699 u"醜",
13700 u"醝",
13701 u"醞",
13702 u"醟",
13703 u"醠",
13704 u"醡",
13705 u"醢",
13706 u"醣",
13707 u"醤",
13708 u"醥",
13709 u"醧",
13710 u"醨",
13711 u"醪",
13712 u"醫",
13713 u"醬",
13714 u"醭",
13715 u"醮",
13716 u"醯",
13717 u"醰",
13718 u"醱",
13719 u"醲",
13720 u"醳",
13721 u"醴",
13722 u"醵",
13723 u"醷",
13724 u"醸",
13725 u"醹",
13726 u"醺",
13727 u"醼",
13728 u"醽",
13729 u"醾",
13730 u"釀",
13731 u"釁",
13732 u"釂",
13733 u"釃",
13734 u"釅",
13735 u"釆",
13736 u"采",
13737 u"釈",
13738 u"釉",
13739 u"释",
13740 u"釋",
13741 u"里",
13742 u"重",
13743 u"野",
13744 u"量",
13745 u"釐",
13746 u"金",
13747 u"釓",
13748 u"釔",
13749 u"釕",
13750 u"釖",
13751 u"釗",
13752 u"釘",
13753 u"釙",
13754 u"釚",
13755 u"釛",
13756 u"釜",
13757 u"針",
13758 u"釞",
13759 u"釟",
13760 u"釡",
13761 u"釢",
13762 u"釣",
13763 u"釤",
13764 u"釥",
13765 u"釦",
13766 u"釧",
13767 u"釨",
13768 u"釩",
13769 u"釪",
13770 u"釫",
13771 u"釬",
13772 u"釭",
13773 u"釮",
13774 u"釱",
13775 u"釳",
13776 u"釴",
13777 u"釵",
13778 u"釶",
13779 u"釷",
13780 u"釸",
13781 u"釹",
13782 u"釼",
13783 u"釽",
13784 u"釿",
13785 u"鈀",
13786 u"鈁",
13787 u"鈂",
13788 u"鈃",
13789 u"鈄",
13790 u"鈅",
13791 u"鈆",
13792 u"鈇",
13793 u"鈉",
13794 u"鈊",
13795 u"鈌",
13796 u"鈍",
13797 u"鈎",
13798 u"鈏",
13799 u"鈐",
13800 u"鈑",
13801 u"鈒",
13802 u"鈔",
13803 u"鈕",
13804 u"鈖",
13805 u"鈗",
13806 u"鈙",
13807 u"鈚",
13808 u"鈜",
13809 u"鈞",
13810 u"鈣",
13811 u"鈤",
13812 u"鈥",
13813 u"鈦",
13814 u"鈧",
13815 u"鈩",
13816 u"鈬",
13817 u"鈭",
13818 u"鈮",
13819 u"鈰",
13820 u"鈱",
13821 u"鈲",
13822 u"鈳",
13823 u"鈴",
13824 u"鈶",
13825 u"鈷",
13826 u"鈸",
13827 u"鈹",
13828 u"鈺",
13829 u"鈼",
13830 u"鈽",
13831 u"鈾",
13832 u"鈿",
13833 u"鉀",
13834 u"鉄",
13835 u"鉅",
13836 u"鉆",
13837 u"鉈",
13838 u"鉉",
13839 u"鉊",
13840 u"鉋",
13841 u"鉌",
13842 u"鉍",
13843 u"鉎",
13844 u"鉏",
13845 u"鉐",
13846 u"鉑",
13847 u"鉒",
13848 u"鉓",
13849 u"鉔",
13850 u"鉖",
13851 u"鉗",
13852 u"鉙",
13853 u"鉚",
13854 u"鉛",
13855 u"鉞",
13856 u"鉠",
13857 u"鉡",
13858 u"鉢",
13859 u"鉣",
13860 u"鉤",
13861 u"鉥",
13862 u"鉦",
13863 u"鉧",
13864 u"鉬",
13865 u"鉭",
13866 u"鉯",
13867 u"鉰",
13868 u"鉱",
13869 u"鉲",
13870 u"鉴",
13871 u"鉶",
13872 u"鉷",
13873 u"鉸",
13874 u"鉹",
13875 u"鉺",
13876 u"鉻",
13877 u"鉼",
13878 u"鉽",
13879 u"鉾",
13880 u"鉿",
13881 u"銀",
13882 u"銂",
13883 u"銃",
13884 u"銅",
13885 u"銆",
13886 u"銇",
13887 u"銈",
13888 u"銊",
13889 u"銋",
13890 u"銌",
13891 u"銍",
13892 u"銎",
13893 u"銑",
13894 u"銓",
13895 u"銔",
13896 u"銕",
13897 u"銖",
13898 u"銗",
13899 u"銘",
13900 u"銙",
13901 u"銚",
13902 u"銛",
13903 u"銜",
13904 u"銝",
13905 u"銠",
13906 u"銡",
13907 u"銢",
13908 u"銣",
13909 u"銤",
13910 u"銥",
13911 u"銦",
13912 u"銧",
13913 u"銨",
13914 u"銩",
13915 u"銪",
13916 u"銫",
13917 u"銬",
13918 u"銭",
13919 u"銮",
13920 u"銲",
13921 u"銳",
13922 u"銴",
13923 u"銵",
13924 u"銶",
13925 u"銷",
13926 u"銹",
13927 u"銻",
13928 u"銼",
13929 u"鋀",
13930 u"鋁",
13931 u"鋂",
13932 u"鋃",
13933 u"鋄",
13934 u"鋅",
13935 u"鋆",
13936 u"鋇",
13937 u"鋈",
13938 u"鋉",
13939 u"鋊",
13940 u"鋋",
13941 u"鋌",
13942 u"鋍",
13943 u"鋎",
13944 u"鋏",
13945 u"鋐",
13946 u"鋑",
13947 u"鋒",
13948 u"鋓",
13949 u"鋕",
13950 u"鋗",
13951 u"鋘",
13952 u"鋙",
13953 u"鋝",
13954 u"鋞",
13955 u"鋟",
13956 u"鋠",
13957 u"鋡",
13958 u"鋤",
13959 u"鋦",
13960 u"鋧",
13961 u"鋨",
13962 u"鋩",
13963 u"鋪",
13964 u"鋭",
13965 u"鋮",
13966 u"鋯",
13967 u"鋰",
13968 u"鋱",
13969 u"鋲",
13970 u"鋳",
13971 u"鋷",
13972 u"鋸",
13973 u"鋹",
13974 u"鋺",
13975 u"鋻",
13976 u"鋼",
13977 u"鋾",
13978 u"鋿",
13979 u"錀",
13980 u"錁",
13981 u"錂",
13982 u"錄",
13983 u"錆",
13984 u"錈",
13985 u"錉",
13986 u"錋",
13987 u"錌",
13988 u"錍",
13989 u"錎",
13990 u"錏",
13991 u"錐",
13992 u"錒",
13993 u"錓",
13994 u"錔",
13995 u"錕",
13996 u"錖",
13997 u"錘",
13998 u"錙",
13999 u"錚",
14000 u"錛",
14001 u"錝",
14002 u"錞",
14003 u"錟",
14004 u"錠",
14005 u"錡",
14006 u"錢",
14007 u"錣",
14008 u"錤",
14009 u"錥",
14010 u"錦",
14011 u"錧",
14012 u"錨",
14013 u"錩",
14014 u"錪",
14015 u"錫",
14016 u"錬",
14017 u"錭",
14018 u"錮",
14019 u"錯",
14020 u"録",
14021 u"錳",
14022 u"錴",
14023 u"錵",
14024 u"錶",
14025 u"錸",
14026 u"錹",
14027 u"錺",
14028 u"錻",
14029 u"錼",
14030 u"錾",
14031 u"鍄",
14032 u"鍆",
14033 u"鍇",
14034 u"鍈",
14035 u"鍉",
14036 u"鍊",
14037 u"鍋",
14038 u"鍌",
14039 u"鍍",
14040 u"鍎",
14041 u"鍏",
14042 u"鍐",
14043 u"鍑",
14044 u"鍒",
14045 u"鍔",
14046 u"鍕",
14047 u"鍖",
14048 u"鍗",
14049 u"鍘",
14050 u"鍙",
14051 u"鍚",
14052 u"鍛",
14053 u"鍜",
14054 u"鍞",
14055 u"鍠",
14056 u"鍡",
14057 u"鍣",
14058 u"鍤",
14059 u"鍥",
14060 u"鍧",
14061 u"鍪",
14062 u"鍬",
14063 u"鍭",
14064 u"鍮",
14065 u"鍰",
14066 u"鍱",
14067 u"鍵",
14068 u"鍶",
14069 u"鍷",
14070 u"鍹",
14071 u"鍺",
14072 u"鍻",
14073 u"鍼",
14074 u"鍾",
14075 u"鎀",
14076 u"鎂",
14077 u"鎃",
14078 u"鎈",
14079 u"鎉",
14080 u"鎊",
14081 u"鎌",
14082 u"鎍",
14083 u"鎎",
14084 u"鎏",
14085 u"鎑",
14086 u"鎒",
14087 u"鎔",
14088 u"鎕",
14089 u"鎖",
14090 u"鎗",
14091 u"鎘",
14092 u"鎙",
14093 u"鎚",
14094 u"鎛",
14095 u"鎝",
14096 u"鎞",
14097 u"鎟",
14098 u"鎡",
14099 u"鎢",
14100 u"鎣",
14101 u"鎤",
14102 u"鎥",
14103 u"鎦",
14104 u"鎧",
14105 u"鎨",
14106 u"鎩",
14107 u"鎪",
14108 u"鎬",
14109 u"鎭",
14110 u"鎮",
14111 u"鎯",
14112 u"鎰",
14113 u"鎱",
14114 u"鎲",
14115 u"鎳",
14116 u"鎴",
14117 u"鎵",
14118 u"鎷",
14119 u"鎹",
14120 u"鏀",
14121 u"鏂",
14122 u"鏃",
14123 u"鏄",
14124 u"鏆",
14125 u"鏇",
14126 u"鏈",
14127 u"鏊",
14128 u"鏌",
14129 u"鏍",
14130 u"鏎",
14131 u"鏏",
14132 u"鏐",
14133 u"鏑",
14134 u"鏒",
14135 u"鏔",
14136 u"鏕",
14137 u"鏖",
14138 u"鏗",
14139 u"鏘",
14140 u"鏙",
14141 u"鏚",
14142 u"鏜",
14143 u"鏝",
14144 u"鏞",
14145 u"鏟",
14146 u"鏡",
14147 u"鏢",
14148 u"鏣",
14149 u"鏤",
14150 u"鏥",
14151 u"鏦",
14152 u"鏧",
14153 u"鏨",
14154 u"鏬",
14155 u"鏮",
14156 u"鏵",
14157 u"鏶",
14158 u"鏷",
14159 u"鏸",
14160 u"鏹",
14161 u"鏺",
14162 u"鏻",
14163 u"鏼",
14164 u"鏽",
14165 u"鏾",
14166 u"鏿",
14167 u"鐀",
14168 u"鐃",
14169 u"鐄",
14170 u"鐆",
14171 u"鐇",
14172 u"鐉",
14173 u"鐊",
14174 u"鐋",
14175 u"鐌",
14176 u"鐍",
14177 u"鐎",
14178 u"鐏",
14179 u"鐐",
14180 u"鐑",
14181 u"鐒",
14182 u"鐓",
14183 u"鐔",
14184 u"鐕",
14185 u"鐖",
14186 u"鐘",
14187 u"鐙",
14188 u"鐚",
14189 u"鐠",
14190 u"鐡",
14191 u"鐥",
14192 u"鐨",
14193 u"鐩",
14194 u"鐪",
14195 u"鐫",
14196 u"鐬",
14197 u"鐮",
14198 u"鐰",
14199 u"鐱",
14200 u"鐲",
14201 u"鐳",
14202 u"鐵",
14203 u"鐶",
14204 u"鐷",
14205 u"鐸",
14206 u"鐹",
14207 u"鐺",
14208 u"鐻",
14209 u"鐼",
14210 u"鐽",
14211 u"鐾",
14212 u"鐿",
14213 u"鑀",
14214 u"鑁",
14215 u"鑄",
14216 u"鑅",
14217 u"鑆",
14218 u"鑇",
14219 u"鑈",
14220 u"鑉",
14221 u"鑊",
14222 u"鑋",
14223 u"鑌",
14224 u"鑏",
14225 u"鑐",
14226 u"鑑",
14227 u"鑒",
14228 u"鑓",
14229 u"鑕",
14230 u"鑗",
14231 u"鑚",
14232 u"鑛",
14233 u"鑝",
14234 u"鑞",
14235 u"鑠",
14236 u"鑢",
14237 u"鑣",
14238 u"鑤",
14239 u"鑨",
14240 u"鑩",
14241 u"鑪",
14242 u"鑫",
14243 u"鑭",
14244 u"鑮",
14245 u"鑯",
14246 u"鑰",
14247 u"鑱",
14248 u"鑲",
14249 u"鑳",
14250 u"鑴",
14251 u"鑵",
14252 u"鑶",
14253 u"鑷",
14254 u"鑸",
14255 u"鑼",
14256 u"鑽",
14257 u"鑾",
14258 u"鑿",
14259 u"钀",
14260 u"钁",
14261 u"钂",
14262 u"钃",
14263 u"钆",
14264 u"钇",
14265 u"针",
14266 u"钉",
14267 u"钊",
14268 u"钋",
14269 u"钌",
14270 u"钍",
14271 u"钎",
14272 u"钏",
14273 u"钐",
14274 u"钒",
14275 u"钓",
14276 u"钔",
14277 u"钕",
14278 u"钗",
14279 u"钙",
14280 u"钚",
14281 u"钛",
14282 u"钜",
14283 u"钝",
14284 u"钞",
14285 u"钟",
14286 u"钠",
14287 u"钡",
14288 u"钢",
14289 u"钣",
14290 u"钤",
14291 u"钥",
14292 u"钦",
14293 u"钧",
14294 u"钨",
14295 u"钩",
14296 u"钪",
14297 u"钫",
14298 u"钬",
14299 u"钭",
14300 u"钮",
14301 u"钯",
14302 u"钰",
14303 u"钱",
14304 u"钲",
14305 u"钳",
14306 u"钴",
14307 u"钵",
14308 u"钶",
14309 u"钷",
14310 u"钸",
14311 u"钹",
14312 u"钺",
14313 u"钻",
14314 u"钼",
14315 u"钽",
14316 u"钾",
14317 u"钿",
14318 u"铀",
14319 u"铁",
14320 u"铂",
14321 u"铃",
14322 u"铄",
14323 u"铅",
14324 u"铆",
14325 u"铈",
14326 u"铉",
14327 u"铊",
14328 u"铋",
14329 u"铌",
14330 u"铍",
14331 u"铎",
14332 u"铐",
14333 u"铑",
14334 u"铒",
14335 u"铕",
14336 u"铖",
14337 u"铗",
14338 u"铘",
14339 u"铙",
14340 u"铛",
14341 u"铜",
14342 u"铝",
14343 u"铞",
14344 u"铟",
14345 u"铠",
14346 u"铡",
14347 u"铢",
14348 u"铣",
14349 u"铤",
14350 u"铥",
14351 u"铧",
14352 u"铨",
14353 u"铩",
14354 u"铪",
14355 u"铫",
14356 u"铬",
14357 u"铭",
14358 u"铮",
14359 u"铯",
14360 u"铰",
14361 u"铱",
14362 u"铲",
14363 u"铳",
14364 u"铴",
14365 u"铵",
14366 u"银",
14367 u"铷",
14368 u"铸",
14369 u"铹",
14370 u"铺",
14371 u"铼",
14372 u"铽",
14373 u"链",
14374 u"铿",
14375 u"销",
14376 u"锁",
14377 u"锂",
14378 u"锃",
14379 u"锄",
14380 u"锅",
14381 u"锆",
14382 u"锇",
14383 u"锈",
14384 u"锉",
14385 u"锊",
14386 u"锋",
14387 u"锌",
14388 u"锍",
14389 u"锎",
14390 u"锏",
14391 u"锐",
14392 u"锑",
14393 u"锒",
14394 u"锓",
14395 u"锔",
14396 u"锕",
14397 u"锖",
14398 u"锗",
14399 u"锘",
14400 u"错",
14401 u"锚",
14402 u"锛",
14403 u"锝",
14404 u"锞",
14405 u"锟",
14406 u"锡",
14407 u"锢",
14408 u"锣",
14409 u"锤",
14410 u"锥",
14411 u"锦",
14412 u"锨",
14413 u"锩",
14414 u"锪",
14415 u"锫",
14416 u"锬",
14417 u"锭",
14418 u"键",
14419 u"锯",
14420 u"锰",
14421 u"锱",
14422 u"锲",
14423 u"锴",
14424 u"锵",
14425 u"锶",
14426 u"锷",
14427 u"锸",
14428 u"锹",
14429 u"锺",
14430 u"锻",
14431 u"锼",
14432 u"锾",
14433 u"锿",
14434 u"镀",
14435 u"镁",
14436 u"镂",
14437 u"镄",
14438 u"镅",
14439 u"镆",
14440 u"镇",
14441 u"镉",
14442 u"镊",
14443 u"镌",
14444 u"镍",
14445 u"镎",
14446 u"镏",
14447 u"镐",
14448 u"镑",
14449 u"镒",
14450 u"镓",
14451 u"镔",
14452 u"镖",
14453 u"镗",
14454 u"镘",
14455 u"镙",
14456 u"镛",
14457 u"镜",
14458 u"镝",
14459 u"镞",
14460 u"镟",
14461 u"镡",
14462 u"镢",
14463 u"镣",
14464 u"镤",
14465 u"镥",
14466 u"镦",
14467 u"镧",
14468 u"镨",
14469 u"镩",
14470 u"镪",
14471 u"镫",
14472 u"镬",
14473 u"镭",
14474 u"镯",
14475 u"镰",
14476 u"镱",
14477 u"镲",
14478 u"镳",
14479 u"镶",
14480 u"長",
14481 u"镺",
14482 u"镻",
14483 u"镼",
14484 u"镽",
14485 u"长",
14486 u"門",
14487 u"閂",
14488 u"閃",
14489 u"閆",
14490 u"閇",
14491 u"閈",
14492 u"閉",
14493 u"閊",
14494 u"開",
14495 u"閌",
14496 u"閍",
14497 u"閎",
14498 u"閏",
14499 u"閐",
14500 u"閑",
14501 u"閒",
14502 u"間",
14503 u"閔",
14504 u"閖",
14505 u"閘",
14506 u"閙",
14507 u"閛",
14508 u"閜",
14509 u"閞",
14510 u"閟",
14511 u"閠",
14512 u"閡",
14513 u"関",
14514 u"閣",
14515 u"閤",
14516 u"閥",
14517 u"閧",
14518 u"閨",
14519 u"閩",
14520 u"閫",
14521 u"閬",
14522 u"閭",
14523 u"閮",
14524 u"閰",
14525 u"閱",
14526 u"閲",
14527 u"閵",
14528 u"閶",
14529 u"閷",
14530 u"閹",
14531 u"閺",
14532 u"閻",
14533 u"閼",
14534 u"閽",
14535 u"閾",
14536 u"閿",
14537 u"闀",
14538 u"闃",
14539 u"闅",
14540 u"闆",
14541 u"闇",
14542 u"闈",
14543 u"闉",
14544 u"闊",
14545 u"闋",
14546 u"闌",
14547 u"闍",
14548 u"闐",
14549 u"闑",
14550 u"闒",
14551 u"闓",
14552 u"闔",
14553 u"闕",
14554 u"闖",
14555 u"闘",
14556 u"闚",
14557 u"闛",
14558 u"關",
14559 u"闞",
14560 u"闟",
14561 u"闠",
14562 u"闡",
14563 u"闢",
14564 u"闣",
14565 u"闤",
14566 u"闥",
14567 u"门",
14568 u"闩",
14569 u"闪",
14570 u"闫",
14571 u"闭",
14572 u"问",
14573 u"闯",
14574 u"闰",
14575 u"闱",
14576 u"闲",
14577 u"闳",
14578 u"间",
14579 u"闵",
14580 u"闶",
14581 u"闷",
14582 u"闸",
14583 u"闹",
14584 u"闺",
14585 u"闻",
14586 u"闼",
14587 u"闽",
14588 u"闾",
14589 u"阀",
14590 u"阁",
14591 u"阂",
14592 u"阃",
14593 u"阄",
14594 u"阅",
14595 u"阆",
14596 u"阈",
14597 u"阉",
14598 u"阊",
14599 u"阋",
14600 u"阌",
14601 u"阍",
14602 u"阎",
14603 u"阏",
14604 u"阐",
14605 u"阑",
14606 u"阒",
14607 u"阔",
14608 u"阕",
14609 u"阖",
14610 u"阗",
14611 u"阙",
14612 u"阚",
14613 u"阜",
14614 u"阞",
14615 u"队",
14616 u"阠",
14617 u"阡",
14618 u"阢",
14619 u"阣",
14620 u"阤",
14621 u"阨",
14622 u"阪",
14623 u"阬",
14624 u"阭",
14625 u"阮",
14626 u"阯",
14627 u"阰",
14628 u"阱",
14629 u"防",
14630 u"阳",
14631 u"阴",
14632 u"阵",
14633 u"阶",
14634 u"阹",
14635 u"阺",
14636 u"阻",
14637 u"阼",
14638 u"阽",
14639 u"阿",
14640 u"陀",
14641 u"陂",
14642 u"陃",
14643 u"附",
14644 u"际",
14645 u"陆",
14646 u"陇",
14647 u"陈",
14648 u"陉",
14649 u"陊",
14650 u"陋",
14651 u"陌",
14652 u"降",
14653 u"陎",
14654 u"陏",
14655 u"限",
14656 u"陑",
14657 u"陓",
14658 u"陔",
14659 u"陕",
14660 u"陘",
14661 u"陛",
14662 u"陜",
14663 u"陝",
14664 u"陞",
14665 u"陟",
14666 u"陡",
14667 u"院",
14668 u"陣",
14669 u"除",
14670 u"陥",
14671 u"陦",
14672 u"陧",
14673 u"陨",
14674 u"险",
14675 u"陪",
14676 u"陫",
14677 u"陬",
14678 u"陭",
14679 u"陯",
14680 u"陰",
14681 u"陱",
14682 u"陲",
14683 u"陳",
14684 u"陴",
14685 u"陵",
14686 u"陶",
14687 u"陷",
14688 u"陸",
14689 u"険",
14690 u"陼",
14691 u"陽",
14692 u"陾",
14693 u"隀",
14694 u"隃",
14695 u"隄",
14696 u"隅",
14697 u"隆",
14698 u"隇",
14699 u"隈",
14700 u"隉",
14701 u"隊",
14702 u"隋",
14703 u"隍",
14704 u"階",
14705 u"随",
14706 u"隐",
14707 u"隑",
14708 u"隒",
14709 u"隓",
14710 u"隔",
14711 u"隕",
14712 u"隗",
14713 u"隘",
14714 u"隙",
14715 u"際",
14716 u"障",
14717 u"隝",
14718 u"隞",
14719 u"隠",
14720 u"隡",
14721 u"隢",
14722 u"隣",
14723 u"隤",
14724 u"隧",
14725 u"隨",
14726 u"隩",
14727 u"險",
14728 u"隬",
14729 u"隮",
14730 u"隯",
14731 u"隰",
14732 u"隱",
14733 u"隲",
14734 u"隳",
14735 u"隴",
14736 u"隶",
14737 u"隷",
14738 u"隸",
14739 u"隹",
14740 u"隻",
14741 u"隼",
14742 u"隽",
14743 u"难",
14744 u"隿",
14745 u"雀",
14746 u"雁",
14747 u"雂",
14748 u"雃",
14749 u"雄",
14750 u"雅",
14751 u"集",
14752 u"雇",
14753 u"雈",
14754 u"雉",
14755 u"雊",
14756 u"雋",
14757 u"雌",
14758 u"雍",
14759 u"雎",
14760 u"雏",
14761 u"雑",
14762 u"雒",
14763 u"雓",
14764 u"雔",
14765 u"雕",
14766 u"雖",
14767 u"雗",
14768 u"雘",
14769 u"雙",
14770 u"雚",
14771 u"雛",
14772 u"雜",
14773 u"雝",
14774 u"雞",
14775 u"雟",
14776 u"雠",
14777 u"雡",
14778 u"離",
14779 u"難",
14780 u"雥",
14781 u"雨",
14782 u"雩",
14783 u"雪",
14784 u"雫",
14785 u"雯",
14786 u"雰",
14787 u"雱",
14788 u"雲",
14789 u"雳",
14790 u"雵",
14791 u"零",
14792 u"雷",
14793 u"雸",
14794 u"雹",
14795 u"雺",
14796 u"電",
14797 u"雽",
14798 u"雾",
14799 u"雿",
14800 u"需",
14801 u"霁",
14802 u"霂",
14803 u"霄",
14804 u"霅",
14805 u"霆",
14806 u"震",
14807 u"霈",
14808 u"霉",
14809 u"霊",
14810 u"霋",
14811 u"霍",
14812 u"霎",
14813 u"霏",
14814 u"霐",
14815 u"霑",
14816 u"霒",
14817 u"霓",
14818 u"霖",
14819 u"霘",
14820 u"霙",
14821 u"霜",
14822 u"霝",
14823 u"霞",
14824 u"霟",
14825 u"霠",
14826 u"霢",
14827 u"霣",
14828 u"霤",
14829 u"霥",
14830 u"霦",
14831 u"霧",
14832 u"霨",
14833 u"霩",
14834 u"霪",
14835 u"霫",
14836 u"霬",
14837 u"霭",
14838 u"霮",
14839 u"霯",
14840 u"霰",
14841 u"露",
14842 u"霳",
14843 u"霵",
14844 u"霸",
14845 u"霹",
14846 u"霺",
14847 u"霽",
14848 u"霾",
14849 u"霿",
14850 u"靂",
14851 u"靃",
14852 u"靄",
14853 u"靆",
14854 u"靇",
14855 u"靈",
14856 u"靉",
14857 u"靋",
14858 u"靍",
14859 u"靏",
14860 u"靑",
14861 u"青",
14862 u"靓",
14863 u"靕",
14864 u"靖",
14865 u"靘",
14866 u"静",
14867 u"靚",
14868 u"靛",
14869 u"靜",
14870 u"非",
14871 u"靠",
14872 u"靡",
14873 u"面",
14874 u"靤",
14875 u"靥",
14876 u"靦",
14877 u"靨",
14878 u"革",
14879 u"靪",
14880 u"靫",
14881 u"靬",
14882 u"靭",
14883 u"靮",
14884 u"靰",
14885 u"靱",
14886 u"靲",
14887 u"靳",
14888 u"靴",
14889 u"靶",
14890 u"靷",
14891 u"靸",
14892 u"靹",
14893 u"靺",
14894 u"靻",
14895 u"靼",
14896 u"靽",
14897 u"靾",
14898 u"靿",
14899 u"鞀",
14900 u"鞁",
14901 u"鞂",
14902 u"鞃",
14903 u"鞄",
14904 u"鞅",
14905 u"鞆",
14906 u"鞈",
14907 u"鞊",
14908 u"鞋",
14909 u"鞍",
14910 u"鞎",
14911 u"鞏",
14912 u"鞐",
14913 u"鞑",
14914 u"鞒",
14915 u"鞔",
14916 u"鞗",
14917 u"鞘",
14918 u"鞙",
14919 u"鞚",
14920 u"鞜",
14921 u"鞝",
14922 u"鞞",
14923 u"鞠",
14924 u"鞡",
14925 u"鞢",
14926 u"鞣",
14927 u"鞤",
14928 u"鞥",
14929 u"鞦",
14930 u"鞨",
14931 u"鞪",
14932 u"鞫",
14933 u"鞬",
14934 u"鞭",
14935 u"鞮",
14936 u"鞯",
14937 u"鞲",
14938 u"鞳",
14939 u"鞴",
14940 u"鞶",
14941 u"鞷",
14942 u"鞹",
14943 u"鞻",
14944 u"鞿",
14945 u"韁",
14946 u"韃",
14947 u"韄",
14948 u"韅",
14949 u"韆",
14950 u"韇",
14951 u"韈",
14952 u"韉",
14953 u"韋",
14954 u"韌",
14955 u"韍",
14956 u"韎",
14957 u"韏",
14958 u"韐",
14959 u"韓",
14960 u"韔",
14961 u"韕",
14962 u"韖",
14963 u"韗",
14964 u"韘",
14965 u"韙",
14966 u"韜",
14967 u"韝",
14968 u"韞",
14969 u"韟",
14970 u"韡",
14971 u"韣",
14972 u"韥",
14973 u"韦",
14974 u"韧",
14975 u"韩",
14976 u"韪",
14977 u"韫",
14978 u"韬",
14979 u"韭",
14980 u"韮",
14981 u"韰",
14982 u"韱",
14983 u"韲",
14984 u"音",
14985 u"韵",
14986 u"韶",
14987 u"韸",
14988 u"韹",
14989 u"韺",
14990 u"韻",
14991 u"韽",
14992 u"韾",
14993 u"響",
14994 u"頀",
14995 u"頁",
14996 u"頂",
14997 u"頃",
14998 u"頄",
14999 u"項",
15000 u"順",
15001 u"頇",
15002 u"須",
15003 u"頊",
15004 u"頌",
15005 u"頍",
15006 u"頎",
15007 u"頏",
15008 u"預",
15009 u"頑",
15010 u"頒",
15011 u"頓",
15012 u"頖",
15013 u"頗",
15014 u"領",
15015 u"頚",
15016 u"頛",
15017 u"頜",
15018 u"頝",
15019 u"頞",
15020 u"頠",
15021 u"頡",
15022 u"頤",
15023 u"頦",
15024 u"頧",
15025 u"頨",
15026 u"頩",
15027 u"頫",
15028 u"頬",
15029 u"頭",
15030 u"頯",
15031 u"頰",
15032 u"頲",
15033 u"頴",
15034 u"頵",
15035 u"頷",
15036 u"頸",
15037 u"頹",
15038 u"頻",
15039 u"頼",
15040 u"頽",
15041 u"顁",
15042 u"顃",
15043 u"顄",
15044 u"顅",
15045 u"顆",
15046 u"顈",
15047 u"顉",
15048 u"顊",
15049 u"顋",
15050 u"題",
15051 u"額",
15052 u"顎",
15053 u"顏",
15054 u"顐",
15055 u"顑",
15056 u"顒",
15057 u"顓",
15058 u"顔",
15059 u"顕",
15060 u"顗",
15061 u"願",
15062 u"顙",
15063 u"顚",
15064 u"顛",
15065 u"顜",
15066 u"顝",
15067 u"類",
15068 u"顟",
15069 u"顠",
15070 u"顢",
15071 u"顣",
15072 u"顤",
15073 u"顥",
15074 u"顧",
15075 u"顩",
15076 u"顪",
15077 u"顫",
15078 u"顯",
15079 u"顰",
15080 u"顱",
15081 u"顲",
15082 u"顳",
15083 u"顴",
15084 u"页",
15085 u"顶",
15086 u"顷",
15087 u"顸",
15088 u"项",
15089 u"顺",
15090 u"须",
15091 u"顼",
15092 u"顽",
15093 u"顾",
15094 u"顿",
15095 u"颀",
15096 u"颁",
15097 u"颂",
15098 u"颃",
15099 u"预",
15100 u"颅",
15101 u"领",
15102 u"颇",
15103 u"颈",
15104 u"颉",
15105 u"颊",
15106 u"颌",
15107 u"颍",
15108 u"颏",
15109 u"颐",
15110 u"频",
15111 u"颓",
15112 u"颔",
15113 u"颖",
15114 u"颗",
15115 u"题",
15116 u"颚",
15117 u"颛",
15118 u"颜",
15119 u"额",
15120 u"颞",
15121 u"颟",
15122 u"颠",
15123 u"颡",
15124 u"颢",
15125 u"颤",
15126 u"颥",
15127 u"颦",
15128 u"颧",
15129 u"風",
15130 u"颩",
15131 u"颪",
15132 u"颬",
15133 u"颭",
15134 u"颮",
15135 u"颯",
15136 u"颱",
15137 u"颲",
15138 u"颳",
15139 u"颶",
15140 u"颸",
15141 u"颺",
15142 u"颻",
15143 u"颼",
15144 u"颽",
15145 u"颾",
15146 u"颿",
15147 u"飀",
15148 u"飁",
15149 u"飂",
15150 u"飃",
15151 u"飄",
15152 u"飆",
15153 u"飇",
15154 u"飉",
15155 u"飋",
15156 u"飌",
15157 u"风",
15158 u"飑",
15159 u"飒",
15160 u"飓",
15161 u"飕",
15162 u"飘",
15163 u"飙",
15164 u"飚",
15165 u"飛",
15166 u"飜",
15167 u"飞",
15168 u"食",
15169 u"飡",
15170 u"飢",
15171 u"飣",
15172 u"飥",
15173 u"飧",
15174 u"飨",
15175 u"飩",
15176 u"飪",
15177 u"飫",
15178 u"飭",
15179 u"飮",
15180 u"飯",
15181 u"飲",
15182 u"飴",
15183 u"飶",
15184 u"飹",
15185 u"飺",
15186 u"飼",
15187 u"飽",
15188 u"飾",
15189 u"餀",
15190 u"餂",
15191 u"餃",
15192 u"餅",
15193 u"餇",
15194 u"餈",
15195 u"餉",
15196 u"養",
15197 u"餌",
15198 u"餍",
15199 u"餐",
15200 u"餑",
15201 u"餒",
15202 u"餓",
15203 u"餔",
15204 u"餕",
15205 u"餖",
15206 u"餗",
15207 u"餘",
15208 u"餚",
15209 u"餛",
15210 u"餝",
15211 u"餞",
15212 u"餟",
15213 u"餠",
15214 u"餡",
15215 u"餤",
15216 u"餥",
15217 u"餧",
15218 u"館",
15219 u"餩",
15220 u"餪",
15221 u"餫",
15222 u"餬",
15223 u"餭",
15224 u"餮",
15225 u"餯",
15226 u"餰",
15227 u"餱",
15228 u"餲",
15229 u"餳",
15230 u"餵",
15231 u"餺",
15232 u"餼",
15233 u"餽",
15234 u"餾",
15235 u"餿",
15236 u"饁",
15237 u"饂",
15238 u"饃",
15239 u"饅",
15240 u"饇",
15241 u"饈",
15242 u"饉",
15243 u"饋",
15244 u"饌",
15245 u"饍",
15246 u"饎",
15247 u"饐",
15248 u"饑",
15249 u"饒",
15250 u"饓",
15251 u"饔",
15252 u"饕",
15253 u"饖",
15254 u"饗",
15255 u"饘",
15256 u"饙",
15257 u"饛",
15258 u"饜",
15259 u"饞",
15260 u"饟",
15261 u"饡",
15262 u"饣",
15263 u"饥",
15264 u"饧",
15265 u"饨",
15266 u"饩",
15267 u"饪",
15268 u"饫",
15269 u"饬",
15270 u"饭",
15271 u"饮",
15272 u"饯",
15273 u"饰",
15274 u"饱",
15275 u"饲",
15276 u"饴",
15277 u"饵",
15278 u"饶",
15279 u"饷",
15280 u"饺",
15281 u"饼",
15282 u"饽",
15283 u"饿",
15284 u"馀",
15285 u"馁",
15286 u"馄",
15287 u"馅",
15288 u"馆",
15289 u"馇",
15290 u"馈",
15291 u"馊",
15292 u"馋",
15293 u"馍",
15294 u"馏",
15295 u"馐",
15296 u"馑",
15297 u"馒",
15298 u"馓",
15299 u"馔",
15300 u"馕",
15301 u"首",
15302 u"馗",
15303 u"馘",
15304 u"香",
15305 u"馜",
15306 u"馝",
15307 u"馞",
15308 u"馡",
15309 u"馣",
15310 u"馥",
15311 u"馦",
15312 u"馧",
15313 u"馨",
15314 u"馫",
15315 u"馬",
15316 u"馭",
15317 u"馮",
15318 u"馯",
15319 u"馰",
15320 u"馱",
15321 u"馲",
15322 u"馳",
15323 u"馴",
15324 u"馵",
15325 u"馹",
15326 u"馺",
15327 u"馻",
15328 u"馼",
15329 u"馽",
15330 u"駁",
15331 u"駂",
15332 u"駃",
15333 u"駄",
15334 u"駅",
15335 u"駆",
15336 u"駇",
15337 u"駈",
15338 u"駉",
15339 u"駋",
15340 u"駌",
15341 u"駍",
15342 u"駎",
15343 u"駏",
15344 u"駐",
15345 u"駑",
15346 u"駒",
15347 u"駓",
15348 u"駔",
15349 u"駕",
15350 u"駖",
15351 u"駗",
15352 u"駘",
15353 u"駙",
15354 u"駛",
15355 u"駜",
15356 u"駝",
15357 u"駟",
15358 u"駢",
15359 u"駣",
15360 u"駤",
15361 u"駥",
15362 u"駧",
15363 u"駩",
15364 u"駪",
15365 u"駬",
15366 u"駭",
15367 u"駮",
15368 u"駰",
15369 u"駱",
15370 u"駲",
15371 u"駴",
15372 u"駶",
15373 u"駷",
15374 u"駸",
15375 u"駹",
15376 u"駺",
15377 u"駻",
15378 u"駼",
15379 u"駽",
15380 u"駾",
15381 u"駿",
15382 u"騁",
15383 u"騂",
15384 u"騃",
15385 u"騄",
15386 u"騅",
15387 u"騆",
15388 u"騇",
15389 u"騈",
15390 u"騉",
15391 u"騊",
15392 u"騋",
15393 u"騍",
15394 u"騎",
15395 u"騏",
15396 u"騑",
15397 u"騒",
15398 u"験",
15399 u"騔",
15400 u"騕",
15401 u"騖",
15402 u"騙",
15403 u"騚",
15404 u"騛",
15405 u"騜",
15406 u"騝",
15407 u"騞",
15408 u"騠",
15409 u"騢",
15410 u"騣",
15411 u"騤",
15412 u"騥",
15413 u"騧",
15414 u"騨",
15415 u"騩",
15416 u"騪",
15417 u"騫",
15418 u"騬",
15419 u"騭",
15420 u"騮",
15421 u"騰",
15422 u"騱",
15423 u"騲",
15424 u"騴",
15425 u"騵",
15426 u"騶",
15427 u"騷",
15428 u"騸",
15429 u"騹",
15430 u"騺",
15431 u"騽",
15432 u"騾",
15433 u"騿",
15434 u"驀",
15435 u"驁",
15436 u"驂",
15437 u"驃",
15438 u"驄",
15439 u"驅",
15440 u"驆",
15441 u"驈",
15442 u"驉",
15443 u"驊",
15444 u"驌",
15445 u"驍",
15446 u"驎",
15447 u"驏",
15448 u"驐",
15449 u"驒",
15450 u"驓",
15451 u"驔",
15452 u"驕",
15453 u"驖",
15454 u"驗",
15455 u"驙",
15456 u"驚",
15457 u"驛",
15458 u"驞",
15459 u"驟",
15460 u"驠",
15461 u"驢",
15462 u"驤",
15463 u"驥",
15464 u"驦",
15465 u"驧",
15466 u"驨",
15467 u"驩",
15468 u"驪",
15469 u"驫",
15470 u"马",
15471 u"驭",
15472 u"驮",
15473 u"驯",
15474 u"驰",
15475 u"驱",
15476 u"驳",
15477 u"驴",
15478 u"驵",
15479 u"驶",
15480 u"驷",
15481 u"驸",
15482 u"驹",
15483 u"驺",
15484 u"驻",
15485 u"驼",
15486 u"驽",
15487 u"驾",
15488 u"驿",
15489 u"骀",
15490 u"骁",
15491 u"骂",
15492 u"骄",
15493 u"骅",
15494 u"骆",
15495 u"骇",
15496 u"骈",
15497 u"骊",
15498 u"骋",
15499 u"验",
15500 u"骏",
15501 u"骐",
15502 u"骑",
15503 u"骒",
15504 u"骓",
15505 u"骖",
15506 u"骗",
15507 u"骘",
15508 u"骚",
15509 u"骛",
15510 u"骜",
15511 u"骝",
15512 u"骞",
15513 u"骟",
15514 u"骠",
15515 u"骡",
15516 u"骢",
15517 u"骣",
15518 u"骤",
15519 u"骥",
15520 u"骧",
15521 u"骨",
15522 u"骫",
15523 u"骭",
15524 u"骯",
15525 u"骰",
15526 u"骱",
15527 u"骳",
15528 u"骴",
15529 u"骶",
15530 u"骷",
15531 u"骸",
15532 u"骹",
15533 u"骺",
15534 u"骻",
15535 u"骼",
15536 u"骾",
15537 u"骿",
15538 u"髀",
15539 u"髁",
15540 u"髂",
15541 u"髄",
15542 u"髅",
15543 u"髆",
15544 u"髇",
15545 u"髊",
15546 u"髋",
15547 u"髌",
15548 u"髍",
15549 u"髏",
15550 u"髐",
15551 u"髑",
15552 u"髒",
15553 u"髓",
15554 u"體",
15555 u"髕",
15556 u"髖",
15557 u"高",
15558 u"髙",
15559 u"髜",
15560 u"髞",
15561 u"髟",
15562 u"髡",
15563 u"髢",
15564 u"髣",
15565 u"髥",
15566 u"髦",
15567 u"髧",
15568 u"髪",
15569 u"髫",
15570 u"髬",
15571 u"髭",
15572 u"髮",
15573 u"髯",
15574 u"髱",
15575 u"髲",
15576 u"髳",
15577 u"髴",
15578 u"髶",
15579 u"髷",
15580 u"髹",
15581 u"髺",
15582 u"髻",
15583 u"髼",
15584 u"髽",
15585 u"髾",
15586 u"鬁",
15587 u"鬃",
15588 u"鬄",
15589 u"鬅",
15590 u"鬆",
15591 u"鬈",
15592 u"鬊",
15593 u"鬋",
15594 u"鬌",
15595 u"鬍",
15596 u"鬎",
15597 u"鬏",
15598 u"鬐",
15599 u"鬑",
15600 u"鬒",
15601 u"鬓",
15602 u"鬕",
15603 u"鬖",
15604 u"鬗",
15605 u"鬘",
15606 u"鬙",
15607 u"鬚",
15608 u"鬞",
15609 u"鬟",
15610 u"鬠",
15611 u"鬢",
15612 u"鬣",
15613 u"鬤",
15614 u"鬥",
15615 u"鬧",
15616 u"鬨",
15617 u"鬩",
15618 u"鬪",
15619 u"鬫",
15620 u"鬮",
15621 u"鬯",
15622 u"鬱",
15623 u"鬲",
15624 u"鬳",
15625 u"鬵",
15626 u"鬷",
15627 u"鬺",
15628 u"鬻",
15629 u"鬼",
15630 u"鬾",
15631 u"鬿",
15632 u"魁",
15633 u"魂",
15634 u"魃",
15635 u"魄",
15636 u"魅",
15637 u"魆",
15638 u"魇",
15639 u"魈",
15640 u"魉",
15641 u"魊",
15642 u"魋",
15643 u"魌",
15644 u"魍",
15645 u"魎",
15646 u"魏",
15647 u"魑",
15648 u"魒",
15649 u"魔",
15650 u"魕",
15651 u"魖",
15652 u"魘",
15653 u"魙",
15654 u"魚",
15655 u"魛",
15656 u"魟",
15657 u"魠",
15658 u"魡",
15659 u"魤",
15660 u"魦",
15661 u"魧",
15662 u"魨",
15663 u"魬",
15664 u"魯",
15665 u"魰",
15666 u"魱",
15667 u"魲",
15668 u"魴",
15669 u"魵",
15670 u"魶",
15671 u"魷",
15672 u"魺",
15673 u"魻",
15674 u"魼",
15675 u"魽",
15676 u"魾",
15677 u"鮀",
15678 u"鮂",
15679 u"鮃",
15680 u"鮅",
15681 u"鮆",
15682 u"鮇",
15683 u"鮈",
15684 u"鮎",
15685 u"鮏",
15686 u"鮐",
15687 u"鮑",
15688 u"鮒",
15689 u"鮓",
15690 u"鮕",
15691 u"鮖",
15692 u"鮗",
15693 u"鮚",
15694 u"鮛",
15695 u"鮞",
15696 u"鮟",
15697 u"鮠",
15698 u"鮡",
15699 u"鮢",
15700 u"鮤",
15701 u"鮥",
15702 u"鮦",
15703 u"鮨",
15704 u"鮪",
15705 u"鮫",
15706 u"鮭",
15707 u"鮮",
15708 u"鮯",
15709 u"鮱",
15710 u"鮴",
15711 u"鮵",
15712 u"鮶",
15713 u"鮸",
15714 u"鮹",
15715 u"鮻",
15716 u"鮽",
15717 u"鮿",
15718 u"鯀",
15719 u"鯁",
15720 u"鯃",
15721 u"鯄",
15722 u"鯆",
15723 u"鯇",
15724 u"鯈",
15725 u"鯉",
15726 u"鯊",
15727 u"鯏",
15728 u"鯑",
15729 u"鯒",
15730 u"鯓",
15731 u"鯔",
15732 u"鯕",
15733 u"鯖",
15734 u"鯗",
15735 u"鯙",
15736 u"鯚",
15737 u"鯛",
15738 u"鯜",
15739 u"鯞",
15740 u"鯠",
15741 u"鯡",
15742 u"鯢",
15743 u"鯣",
15744 u"鯤",
15745 u"鯥",
15746 u"鯦",
15747 u"鯧",
15748 u"鯨",
15749 u"鯪",
15750 u"鯫",
15751 u"鯬",
15752 u"鯰",
15753 u"鯱",
15754 u"鯲",
15755 u"鯵",
15756 u"鯷",
15757 u"鯸",
15758 u"鯽",
15759 u"鰀",
15760 u"鰄",
15761 u"鰅",
15762 u"鰆",
15763 u"鰇",
15764 u"鰈",
15765 u"鰉",
15766 u"鰊",
15767 u"鰋",
15768 u"鰌",
15769 u"鰍",
15770 u"鰎",
15771 u"鰐",
15772 u"鰒",
15773 u"鰓",
15774 u"鰔",
15775 u"鰕",
15776 u"鰗",
15777 u"鰛",
15778 u"鰜",
15779 u"鰝",
15780 u"鰡",
15781 u"鰣",
15782 u"鰤",
15783 u"鰥",
15784 u"鰨",
15785 u"鰩",
15786 u"鰫",
15787 u"鰬",
15788 u"鰭",
15789 u"鰮",
15790 u"鰯",
15791 u"鰰",
15792 u"鰱",
15793 u"鰲",
15794 u"鰳",
15795 u"鰴",
15796 u"鰶",
15797 u"鰷",
15798 u"鰹",
15799 u"鰺",
15800 u"鰻",
15801 u"鰼",
15802 u"鰽",
15803 u"鰾",
15804 u"鰿",
15805 u"鱀",
15806 u"鱁",
15807 u"鱄",
15808 u"鱆",
15809 u"鱇",
15810 u"鱈",
15811 u"鱉",
15812 u"鱊",
15813 u"鱋",
15814 u"鱌",
15815 u"鱍",
15816 u"鱎",
15817 u"鱐",
15818 u"鱒",
15819 u"鱔",
15820 u"鱕",
15821 u"鱖",
15822 u"鱗",
15823 u"鱘",
15824 u"鱙",
15825 u"鱚",
15826 u"鱞",
15827 u"鱟",
15828 u"鱠",
15829 u"鱢",
15830 u"鱣",
15831 u"鱦",
15832 u"鱧",
15833 u"鱨",
15834 u"鱭",
15835 u"鱮",
15836 u"鱱",
15837 u"鱳",
15838 u"鱴",
15839 u"鱵",
15840 u"鱶",
15841 u"鱷",
15842 u"鱸",
15843 u"鱹",
15844 u"鱺",
15845 u"鱼",
15846 u"鱿",
15847 u"鲁",
15848 u"鲂",
15849 u"鲅",
15850 u"鲆",
15851 u"鲇",
15852 u"鲈",
15853 u"鲋",
15854 u"鲍",
15855 u"鲎",
15856 u"鲐",
15857 u"鲑",
15858 u"鲒",
15859 u"鲔",
15860 u"鲕",
15861 u"鲚",
15862 u"鲛",
15863 u"鲜",
15864 u"鲞",
15865 u"鲟",
15866 u"鲠",
15867 u"鲡",
15868 u"鲢",
15869 u"鲣",
15870 u"鲤",
15871 u"鲥",
15872 u"鲦",
15873 u"鲧",
15874 u"鲨",
15875 u"鲩",
15876 u"鲫",
15877 u"鲭",
15878 u"鲮",
15879 u"鲰",
15880 u"鲱",
15881 u"鲲",
15882 u"鲳",
15883 u"鲴",
15884 u"鲵",
15885 u"鲶",
15886 u"鲷",
15887 u"鲸",
15888 u"鲺",
15889 u"鲻",
15890 u"鲼",
15891 u"鲽",
15892 u"鳃",
15893 u"鳄",
15894 u"鳅",
15895 u"鳆",
15896 u"鳇",
15897 u"鳊",
15898 u"鳋",
15899 u"鳌",
15900 u"鳍",
15901 u"鳎",
15902 u"鳏",
15903 u"鳐",
15904 u"鳓",
15905 u"鳔",
15906 u"鳕",
15907 u"鳖",
15908 u"鳗",
15909 u"鳘",
15910 u"鳙",
15911 u"鳜",
15912 u"鳝",
15913 u"鳞",
15914 u"鳟",
15915 u"鳢",
15916 u"鳥",
15917 u"鳦",
15918 u"鳧",
15919 u"鳩",
15920 u"鳪",
15921 u"鳫",
15922 u"鳬",
15923 u"鳭",
15924 u"鳰",
15925 u"鳱",
15926 u"鳲",
15927 u"鳳",
15928 u"鳴",
15929 u"鳵",
15930 u"鳶",
15931 u"鳷",
15932 u"鳹",
15933 u"鳺",
15934 u"鳻",
15935 u"鳼",
15936 u"鳽",
15937 u"鳿",
15938 u"鴀",
15939 u"鴃",
15940 u"鴄",
15941 u"鴅",
15942 u"鴆",
15943 u"鴇",
15944 u"鴈",
15945 u"鴉",
15946 u"鴎",
15947 u"鴐",
15948 u"鴒",
15949 u"鴔",
15950 u"鴕",
15951 u"鴗",
15952 u"鴘",
15953 u"鴙",
15954 u"鴛",
15955 u"鴝",
15956 u"鴞",
15957 u"鴟",
15958 u"鴠",
15959 u"鴢",
15960 u"鴣",
15961 u"鴥",
15962 u"鴦",
15963 u"鴨",
15964 u"鴩",
15965 u"鴪",
15966 u"鴫",
15967 u"鴬",
15968 u"鴭",
15969 u"鴮",
15970 u"鴯",
15971 u"鴰",
15972 u"鴱",
15973 u"鴳",
15974 u"鴶",
15975 u"鴷",
15976 u"鴸",
15977 u"鴻",
15978 u"鴽",
15979 u"鴾",
15980 u"鴿",
15981 u"鵀",
15982 u"鵁",
15983 u"鵂",
15984 u"鵃",
15985 u"鵄",
15986 u"鵅",
15987 u"鵆",
15988 u"鵈",
15989 u"鵊",
15990 u"鵋",
15991 u"鵌",
15992 u"鵏",
15993 u"鵐",
15994 u"鵑",
15995 u"鵒",
15996 u"鵓",
15997 u"鵔",
15998 u"鵖",
15999 u"鵗",
16000 u"鵘",
16001 u"鵙",
16002 u"鵚",
16003 u"鵛",
16004 u"鵜",
16005 u"鵝",
16006 u"鵞",
16007 u"鵟",
16008 u"鵠",
16009 u"鵡",
16010 u"鵤",
16011 u"鵧",
16012 u"鵨",
16013 u"鵩",
16014 u"鵪",
16015 u"鵫",
16016 u"鵬",
16017 u"鵯",
16018 u"鵰",
16019 u"鵱",
16020 u"鵲",
16021 u"鵳",
16022 u"鵴",
16023 u"鵵",
16024 u"鵷",
16025 u"鵸",
16026 u"鵹",
16027 u"鵺",
16028 u"鵻",
16029 u"鵽",
16030 u"鵿",
16031 u"鶀",
16032 u"鶁",
16033 u"鶂",
16034 u"鶄",
16035 u"鶅",
16036 u"鶆",
16037 u"鶇",
16038 u"鶈",
16039 u"鶉",
16040 u"鶊",
16041 u"鶋",
16042 u"鶌",
16043 u"鶏",
16044 u"鶐",
16045 u"鶒",
16046 u"鶔",
16047 u"鶖",
16048 u"鶗",
16049 u"鶘",
16050 u"鶙",
16051 u"鶚",
16052 u"鶛",
16053 u"鶜",
16054 u"鶝",
16055 u"鶞",
16056 u"鶟",
16057 u"鶠",
16058 u"鶡",
16059 u"鶢",
16060 u"鶣",
16061 u"鶤",
16062 u"鶦",
16063 u"鶧",
16064 u"鶨",
16065 u"鶩",
16066 u"鶪",
16067 u"鶫",
16068 u"鶬",
16069 u"鶭",
16070 u"鶯",
16071 u"鶱",
16072 u"鶲",
16073 u"鶳",
16074 u"鶴",
16075 u"鶵",
16076 u"鶶",
16077 u"鶷",
16078 u"鶸",
16079 u"鶹",
16080 u"鶺",
16081 u"鶻",
16082 u"鶼",
16083 u"鶾",
16084 u"鶿",
16085 u"鷁",
16086 u"鷂",
16087 u"鷃",
16088 u"鷄",
16089 u"鷅",
16090 u"鷆",
16091 u"鷇",
16092 u"鷈",
16093 u"鷊",
16094 u"鷋",
16095 u"鷌",
16096 u"鷍",
16097 u"鷎",
16098 u"鷏",
16099 u"鷐",
16100 u"鷑",
16101 u"鷒",
16102 u"鷓",
16103 u"鷕",
16104 u"鷖",
16105 u"鷗",
16106 u"鷘",
16107 u"鷙",
16108 u"鷚",
16109 u"鷛",
16110 u"鷜",
16111 u"鷝",
16112 u"鷞",
16113 u"鷟",
16114 u"鷡",
16115 u"鷢",
16116 u"鷣",
16117 u"鷤",
16118 u"鷥",
16119 u"鷦",
16120 u"鷨",
16121 u"鷩",
16122 u"鷫",
16123 u"鷬",
16124 u"鷭",
16125 u"鷮",
16126 u"鷯",
16127 u"鷰",
16128 u"鷲",
16129 u"鷳",
16130 u"鷴",
16131 u"鷵",
16132 u"鷶",
16133 u"鷷",
16134 u"鷸",
16135 u"鷹",
16136 u"鷺",
16137 u"鷻",
16138 u"鷽",
16139 u"鷾",
16140 u"鷿",
16141 u"鸀",
16142 u"鸁",
16143 u"鸂",
16144 u"鸃",
16145 u"鸄",
16146 u"鸅",
16147 u"鸆",
16148 u"鸇",
16149 u"鸉",
16150 u"鸋",
16151 u"鸍",
16152 u"鸏",
16153 u"鸐",
16154 u"鸑",
16155 u"鸒",
16156 u"鸓",
16157 u"鸔",
16158 u"鸕",
16159 u"鸗",
16160 u"鸙",
16161 u"鸚",
16162 u"鸛",
16163 u"鸝",
16164 u"鸞",
16165 u"鸟",
16166 u"鸠",
16167 u"鸡",
16168 u"鸢",
16169 u"鸣",
16170 u"鸥",
16171 u"鸦",
16172 u"鸨",
16173 u"鸩",
16174 u"鸪",
16175 u"鸫",
16176 u"鸬",
16177 u"鸭",
16178 u"鸯",
16179 u"鸱",
16180 u"鸲",
16181 u"鸳",
16182 u"鸵",
16183 u"鸶",
16184 u"鸷",
16185 u"鸸",
16186 u"鸹",
16187 u"鸺",
16188 u"鸽",
16189 u"鸾",
16190 u"鸿",
16191 u"鹁",
16192 u"鹂",
16193 u"鹃",
16194 u"鹄",
16195 u"鹅",
16196 u"鹆",
16197 u"鹇",
16198 u"鹈",
16199 u"鹉",
16200 u"鹊",
16201 u"鹋",
16202 u"鹌",
16203 u"鹎",
16204 u"鹏",
16205 u"鹑",
16206 u"鹕",
16207 u"鹗",
16208 u"鹘",
16209 u"鹚",
16210 u"鹛",
16211 u"鹜",
16212 u"鹞",
16213 u"鹣",
16214 u"鹤",
16215 u"鹦",
16216 u"鹧",
16217 u"鹨",
16218 u"鹩",
16219 u"鹪",
16220 u"鹫",
16221 u"鹬",
16222 u"鹭",
16223 u"鹰",
16224 u"鹱",
16225 u"鹳",
16226 u"鹵",
16227 u"鹸",
16228 u"鹹",
16229 u"鹺",
16230 u"鹼",
16231 u"鹽",
16232 u"鹾",
16233 u"鹿",
16234 u"麀",
16235 u"麁",
16236 u"麂",
16237 u"麃",
16238 u"麆",
16239 u"麇",
16240 u"麈",
16241 u"麉",
16242 u"麊",
16243 u"麋",
16244 u"麌",
16245 u"麍",
16246 u"麎",
16247 u"麑",
16248 u"麒",
16249 u"麓",
16250 u"麔",
16251 u"麕",
16252 u"麗",
16253 u"麙",
16254 u"麚",
16255 u"麛",
16256 u"麜",
16257 u"麝",
16258 u"麟",
16259 u"麠",
16260 u"麡",
16261 u"麤",
16262 u"麥",
16263 u"麦",
16264 u"麧",
16265 u"麩",
16266 u"麪",
16267 u"麭",
16268 u"麮",
16269 u"麰",
16270 u"麴",
16271 u"麵",
16272 u"麶",
16273 u"麷",
16274 u"麸",
16275 u"麹",
16276 u"麺",
16277 u"麻",
16278 u"麼",
16279 u"麽",
16280 u"麾",
16281 u"麿",
16282 u"黀",
16283 u"黂",
16284 u"黃",
16285 u"黄",
16286 u"黈",
16287 u"黉",
16288 u"黌",
16289 u"黍",
16290 u"黎",
16291 u"黏",
16292 u"黐",
16293 u"黑",
16294 u"黒",
16295 u"黓",
16296 u"黔",
16297 u"黕",
16298 u"黖",
16299 u"默",
16300 u"黙",
16301 u"黚",
16302 u"黛",
16303 u"黜",
16304 u"黝",
16305 u"點",
16306 u"黟",
16307 u"黠",
16308 u"黢",
16309 u"黤",
16310 u"黥",
16311 u"黦",
16312 u"黧",
16313 u"黨",
16314 u"黩",
16315 u"黪",
16316 u"黫",
16317 u"黭",
16318 u"黮",
16319 u"黯",
16320 u"黰",
16321 u"黲",
16322 u"黳",
16323 u"黴",
16324 u"黵",
16325 u"黶",
16326 u"黷",
16327 u"黹",
16328 u"黺",
16329 u"黻",
16330 u"黼",
16331 u"黽",
16332 u"黾",
16333 u"黿",
16334 u"鼀",
16335 u"鼁",
16336 u"鼆",
16337 u"鼇",
16338 u"鼈",
16339 u"鼉",
16340 u"鼊",
16341 u"鼋",
16342 u"鼍",
16343 u"鼎",
16344 u"鼏",
16345 u"鼐",
16346 u"鼒",
16347 u"鼓",
16348 u"鼕",
16349 u"鼖",
16350 u"鼗",
16351 u"鼘",
16352 u"鼙",
16353 u"鼚",
16354 u"鼛",
16355 u"鼜",
16356 u"鼞",
16357 u"鼠",
16358 u"鼡",
16359 u"鼢",
16360 u"鼣",
16361 u"鼤",
16362 u"鼥",
16363 u"鼨",
16364 u"鼩",
16365 u"鼪",
16366 u"鼫",
16367 u"鼬",
16368 u"鼭",
16369 u"鼮",
16370 u"鼯",
16371 u"鼰",
16372 u"鼱",
16373 u"鼲",
16374 u"鼳",
16375 u"鼴",
16376 u"鼵",
16377 u"鼶",
16378 u"鼷",
16379 u"鼸",
16380 u"鼹",
16381 u"鼻",
16382 u"鼽",
16383 u"鼾",
16384 u"齀",
16385 u"齁",
16386 u"齂",
16387 u"齃",
16388 u"齄",
16389 u"齆",
16390 u"齇",
16391 u"齈",
16392 u"齉",
16393 u"齊",
16394 u"齋",
16395 u"齌",
16396 u"齍",
16397 u"齎",
16398 u"齏",
16399 u"齐",
16400 u"齑",
16401 u"齒",
16402 u"齔",
16403 u"齕",
16404 u"齖",
16405 u"齗",
16406 u"齘",
16407 u"齙",
16408 u"齛",
16409 u"齜",
16410 u"齝",
16411 u"齞",
16412 u"齟",
16413 u"齠",
16414 u"齡",
16415 u"齢",
16416 u"齣",
16417 u"齤",
16418 u"齥",
16419 u"齦",
16420 u"齧",
16421 u"齪",
16422 u"齫",
16423 u"齬",
16424 u"齮",
16425 u"齯",
16426 u"齰",
16427 u"齱",
16428 u"齲",
16429 u"齴",
16430 u"齵",
16431 u"齶",
16432 u"齷",
16433 u"齸",
16434 u"齹",
16435 u"齺",
16436 u"齻",
16437 u"齾",
16438 u"齿",
16439 u"龀",
16440 u"龃",
16441 u"龄",
16442 u"龅",
16443 u"龆",
16444 u"龇",
16445 u"龈",
16446 u"龉",
16447 u"龊",
16448 u"龋",
16449 u"龌",
16450 u"龍",
16451 u"龐",
16452 u"龑",
16453 u"龒",
16454 u"龔",
16455 u"龕",
16456 u"龘",
16457 u"龙",
16458 u"龚",
16459 u"龛",
16460 u"龜",
16461 u"龝",
16462 u"龟",
16463 u"龠",
16464 u"龢",
16465 u"龤",
16466 u"龥",
16467 ])
data/db/android/valid_utf16.txt less more
Binary diff not shown
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22 # This library is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU Lesser General Public
24 # License as published by the Free Software Foundation; either
25 # version 2 of the License, or (at your option) any later version.
26 #
27 # This library is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU Lesser General Public License for more details.
31 #
32 # You should have received a copy of the GNU Lesser General Public
33 # License along with this program; if not, write to the
34 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
35 # Boston, MA 02111-1307 USA
36
37 VPATH = @srcdir@
38 am__is_gnu_make = { \
39 if test -z '$(MAKELEVEL)'; then \
40 false; \
41 elif test -n '$(MAKE_HOST)'; then \
42 true; \
43 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
44 true; \
45 else \
46 false; \
47 fi; \
48 }
49 am__make_running_with_option = \
50 case $${target_option-} in \
51 ?) ;; \
52 *) echo "am__make_running_with_option: internal error: invalid" \
53 "target option '$${target_option-}' specified" >&2; \
54 exit 1;; \
55 esac; \
56 has_opt=no; \
57 sane_makeflags=$$MAKEFLAGS; \
58 if $(am__is_gnu_make); then \
59 sane_makeflags=$$MFLAGS; \
60 else \
61 case $$MAKEFLAGS in \
62 *\\[\ \ ]*) \
63 bs=\\; \
64 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
65 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
66 esac; \
67 fi; \
68 skip_next=no; \
69 strip_trailopt () \
70 { \
71 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
72 }; \
73 for flg in $$sane_makeflags; do \
74 test $$skip_next = yes && { skip_next=no; continue; }; \
75 case $$flg in \
76 *=*|--*) continue;; \
77 -*I) strip_trailopt 'I'; skip_next=yes;; \
78 -*I?*) strip_trailopt 'I';; \
79 -*O) strip_trailopt 'O'; skip_next=yes;; \
80 -*O?*) strip_trailopt 'O';; \
81 -*l) strip_trailopt 'l'; skip_next=yes;; \
82 -*l?*) strip_trailopt 'l';; \
83 -[dEDm]) skip_next=yes;; \
84 -[JT]) skip_next=yes;; \
85 esac; \
86 case $$flg in \
87 *$$target_option*) has_opt=yes; break;; \
88 esac; \
89 done; \
90 test $$has_opt = yes
91 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
92 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
93 pkgdatadir = $(datadir)/@PACKAGE@
94 pkgincludedir = $(includedir)/@PACKAGE@
95 pkglibdir = $(libdir)/@PACKAGE@
96 pkglibexecdir = $(libexecdir)/@PACKAGE@
97 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
98 install_sh_DATA = $(install_sh) -c -m 644
99 install_sh_PROGRAM = $(install_sh) -c
100 install_sh_SCRIPT = $(install_sh) -c
101 INSTALL_HEADER = $(INSTALL_DATA)
102 transform = $(program_transform_name)
103 NORMAL_INSTALL = :
104 PRE_INSTALL = :
105 POST_INSTALL = :
106 NORMAL_UNINSTALL = :
107 PRE_UNINSTALL = :
108 POST_UNINSTALL = :
109 build_triplet = @build@
110 host_triplet = @host@
111 subdir = data/icons
112 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
113 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
114 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
115 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
116 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
117 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
118 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
119 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
120 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
121 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
122 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
123 $(ACLOCAL_M4)
124 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = $(top_builddir)/config.h
127 CONFIG_CLEAN_FILES =
128 CONFIG_CLEAN_VPATH_FILES =
129 AM_V_P = $(am__v_P_@AM_V@)
130 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
131 am__v_P_0 = false
132 am__v_P_1 = :
133 AM_V_GEN = $(am__v_GEN_@AM_V@)
134 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
135 am__v_GEN_0 = @echo " GEN " $@;
136 am__v_GEN_1 =
137 AM_V_at = $(am__v_at_@AM_V@)
138 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
139 am__v_at_0 = @
140 am__v_at_1 =
141 SOURCES =
142 DIST_SOURCES =
143 am__can_run_installinfo = \
144 case $$AM_UPDATE_INFO_DIR in \
145 n|no|NO) false;; \
146 *) (install-info --version) >/dev/null 2>&1;; \
147 esac
148 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
149 am__vpath_adj = case $$p in \
150 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
151 *) f=$$p;; \
152 esac;
153 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
154 am__install_max = 40
155 am__nobase_strip_setup = \
156 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
157 am__nobase_strip = \
158 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
159 am__nobase_list = $(am__nobase_strip_setup); \
160 for p in $$list; do echo "$$p $$p"; done | \
161 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
162 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
163 if (++n[$$2] == $(am__install_max)) \
164 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
165 END { for (dir in files) print dir, files[dir] }'
166 am__base_list = \
167 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
168 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
169 am__uninstall_files_from_dir = { \
170 test -z "$$files" \
171 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
172 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
173 $(am__cd) "$$dir" && rm -f $$files; }; \
174 }
175 am__installdirs = "$(DESTDIR)$(iconsdir)"
176 DATA = $(icons_DATA)
177 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
178 am__DIST_COMMON = $(srcdir)/Makefile.in
179 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180 ACLOCAL = @ACLOCAL@
181 AMTAR = @AMTAR@
182 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
183 AR = @AR@
184 AUTOCONF = @AUTOCONF@
185 AUTOHEADER = @AUTOHEADER@
186 AUTOMAKE = @AUTOMAKE@
187 AWK = @AWK@
188 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
189 BOOST_ROOT = @BOOST_ROOT@
190 CC = @CC@
191 CCDEPMODE = @CCDEPMODE@
192 CFLAGS = @CFLAGS@
193 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
194 CPP = @CPP@
195 CPPFLAGS = @CPPFLAGS@
196 CSCOPE = @CSCOPE@
197 CTAGS = @CTAGS@
198 CXX = @CXX@
199 CXXCPP = @CXXCPP@
200 CXXDEPMODE = @CXXDEPMODE@
201 CXXFLAGS = @CXXFLAGS@
202 CYGPATH_W = @CYGPATH_W@
203 DEFS = @DEFS@
204 DEPDIR = @DEPDIR@
205 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
206 DLLTOOL = @DLLTOOL@
207 DSYMUTIL = @DSYMUTIL@
208 DUMPBIN = @DUMPBIN@
209 ECHO_C = @ECHO_C@
210 ECHO_N = @ECHO_N@
211 ECHO_T = @ECHO_T@
212 EGREP = @EGREP@
213 ENV = @ENV@
214 ETAGS = @ETAGS@
215 EXEEXT = @EXEEXT@
216 FGREP = @FGREP@
217 FILECMD = @FILECMD@
218 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
219 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
220 GIO2_CFLAGS = @GIO2_CFLAGS@
221 GIO2_LIBS = @GIO2_LIBS@
222 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
223 GMSGFMT = @GMSGFMT@
224 GMSGFMT_015 = @GMSGFMT_015@
225 GREP = @GREP@
226 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
227 IBUS_CFLAGS = @IBUS_CFLAGS@
228 IBUS_LIBS = @IBUS_LIBS@
229 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
230 INSTALL = @INSTALL@
231 INSTALL_DATA = @INSTALL_DATA@
232 INSTALL_PROGRAM = @INSTALL_PROGRAM@
233 INSTALL_SCRIPT = @INSTALL_SCRIPT@
234 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
235 INTLLIBS = @INTLLIBS@
236 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
237 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
238 JSONGLIB_LIBS = @JSONGLIB_LIBS@
239 LD = @LD@
240 LDFLAGS = @LDFLAGS@
241 LIBICONV = @LIBICONV@
242 LIBINTL = @LIBINTL@
243 LIBOBJS = @LIBOBJS@
244 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
245 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
246 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
247 LIBS = @LIBS@
248 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
249 LIBSOUP_LIBS = @LIBSOUP_LIBS@
250 LIBTOOL = @LIBTOOL@
251 LIPO = @LIPO@
252 LN_S = @LN_S@
253 LTLIBICONV = @LTLIBICONV@
254 LTLIBINTL = @LTLIBINTL@
255 LTLIBOBJS = @LTLIBOBJS@
256 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
257 LUA_CFLAGS = @LUA_CFLAGS@
258 LUA_LIBS = @LUA_LIBS@
259 MAINT = @MAINT@
260 MAKEINFO = @MAKEINFO@
261 MANIFEST_TOOL = @MANIFEST_TOOL@
262 MKDIR_P = @MKDIR_P@
263 MSGFMT = @MSGFMT@
264 MSGFMT_015 = @MSGFMT_015@
265 MSGMERGE = @MSGMERGE@
266 NM = @NM@
267 NMEDIT = @NMEDIT@
268 OBJDUMP = @OBJDUMP@
269 OBJEXT = @OBJEXT@
270 OPENCC_CFLAGS = @OPENCC_CFLAGS@
271 OPENCC_LIBS = @OPENCC_LIBS@
272 OTOOL = @OTOOL@
273 OTOOL64 = @OTOOL64@
274 PACKAGE = @PACKAGE@
275 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
276 PACKAGE_NAME = @PACKAGE_NAME@
277 PACKAGE_STRING = @PACKAGE_STRING@
278 PACKAGE_TARNAME = @PACKAGE_TARNAME@
279 PACKAGE_URL = @PACKAGE_URL@
280 PACKAGE_VERSION = @PACKAGE_VERSION@
281 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
282 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
283 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
284 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
285 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
286 PATH_SEPARATOR = @PATH_SEPARATOR@
287 PKG_CONFIG = @PKG_CONFIG@
288 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
289 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
290 POSUB = @POSUB@
291 PYTHON = @PYTHON@
292 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
293 PYTHON_PLATFORM = @PYTHON_PLATFORM@
294 PYTHON_PREFIX = @PYTHON_PREFIX@
295 PYTHON_VERSION = @PYTHON_VERSION@
296 RANLIB = @RANLIB@
297 SED = @SED@
298 SET_MAKE = @SET_MAKE@
299 SHELL = @SHELL@
300 SQLITE3 = @SQLITE3@
301 SQLITE_CFLAGS = @SQLITE_CFLAGS@
302 SQLITE_LIBS = @SQLITE_LIBS@
303 STRIP = @STRIP@
304 USE_NLS = @USE_NLS@
305 VERSION = @VERSION@
306 XGETTEXT = @XGETTEXT@
307 XGETTEXT_015 = @XGETTEXT_015@
308 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
309 abs_builddir = @abs_builddir@
310 abs_srcdir = @abs_srcdir@
311 abs_top_builddir = @abs_top_builddir@
312 abs_top_srcdir = @abs_top_srcdir@
313 ac_ct_AR = @ac_ct_AR@
314 ac_ct_CC = @ac_ct_CC@
315 ac_ct_CXX = @ac_ct_CXX@
316 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
317 am__include = @am__include@
318 am__leading_dot = @am__leading_dot@
319 am__quote = @am__quote@
320 am__tar = @am__tar@
321 am__untar = @am__untar@
322 bindir = @bindir@
323 build = @build@
324 build_alias = @build_alias@
325 build_cpu = @build_cpu@
326 build_os = @build_os@
327 build_vendor = @build_vendor@
328 builddir = @builddir@
329 datadir = @datadir@
330 datarootdir = @datarootdir@
331 docdir = @docdir@
332 dvidir = @dvidir@
333 exec_prefix = @exec_prefix@
334 gsettingsschemadir = @gsettingsschemadir@
335 host = @host@
336 host_alias = @host_alias@
337 host_cpu = @host_cpu@
338 host_os = @host_os@
339 host_vendor = @host_vendor@
340 htmldir = @htmldir@
341 includedir = @includedir@
342 infodir = @infodir@
343 install_sh = @install_sh@
344 libdir = @libdir@
345 libexecdir = @libexecdir@
346 localedir = @localedir@
347 localstatedir = @localstatedir@
348 mandir = @mandir@
349 mkdir_p = @mkdir_p@
350 oldincludedir = @oldincludedir@
351 pdfdir = @pdfdir@
352 pkgpyexecdir = @pkgpyexecdir@
353 pkgpythondir = @pkgpythondir@
354 prefix = @prefix@
355 program_transform_name = @program_transform_name@
356 psdir = @psdir@
357 pyexecdir = @pyexecdir@
358 pythondir = @pythondir@
359 runstatedir = @runstatedir@
360 sbindir = @sbindir@
361 sharedstatedir = @sharedstatedir@
362 srcdir = @srcdir@
363 sysconfdir = @sysconfdir@
364 target_alias = @target_alias@
365 top_build_prefix = @top_build_prefix@
366 top_builddir = @top_builddir@
367 top_srcdir = @top_srcdir@
368 icons_DATA = \
369 ibus-pinyin.svg \
370 ibus-bopomofo.svg \
371 chinese.svg \
372 english.svg \
373 full.svg \
374 full-punct.svg \
375 half.svg \
376 half-punct.svg \
377 simp-chinese.svg \
378 trad-chinese.svg \
379 $(NULL)
380
381 iconsdir = $(pkgdatadir)/icons
382 EXTRA_DIST = \
383 $(icons_DATA) \
384 $(NULL)
385
386 all: all-am
387
388 .SUFFIXES:
389 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
390 @for dep in $?; do \
391 case '$(am__configure_deps)' in \
392 *$$dep*) \
393 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
394 && { if test -f $@; then exit 0; else break; fi; }; \
395 exit 1;; \
396 esac; \
397 done; \
398 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/Makefile'; \
399 $(am__cd) $(top_srcdir) && \
400 $(AUTOMAKE) --gnu data/icons/Makefile
401 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
402 @case '$?' in \
403 *config.status*) \
404 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
405 *) \
406 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
407 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
408 esac;
409
410 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
411 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
412
413 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
414 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
415 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
416 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
417 $(am__aclocal_m4_deps):
418
419 mostlyclean-libtool:
420 -rm -f *.lo
421
422 clean-libtool:
423 -rm -rf .libs _libs
424 install-iconsDATA: $(icons_DATA)
425 @$(NORMAL_INSTALL)
426 @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \
427 if test -n "$$list"; then \
428 echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \
429 $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \
430 fi; \
431 for p in $$list; do \
432 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
433 echo "$$d$$p"; \
434 done | $(am__base_list) | \
435 while read files; do \
436 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \
437 $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \
438 done
439
440 uninstall-iconsDATA:
441 @$(NORMAL_UNINSTALL)
442 @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \
443 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
444 dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir)
445 tags TAGS:
446
447 ctags CTAGS:
448
449 cscope cscopelist:
450
451 distdir: $(BUILT_SOURCES)
452 $(MAKE) $(AM_MAKEFLAGS) distdir-am
453
454 distdir-am: $(DISTFILES)
455 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
456 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
457 list='$(DISTFILES)'; \
458 dist_files=`for file in $$list; do echo $$file; done | \
459 sed -e "s|^$$srcdirstrip/||;t" \
460 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
461 case $$dist_files in \
462 */*) $(MKDIR_P) `echo "$$dist_files" | \
463 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
464 sort -u` ;; \
465 esac; \
466 for file in $$dist_files; do \
467 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
468 if test -d $$d/$$file; then \
469 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
470 if test -d "$(distdir)/$$file"; then \
471 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
472 fi; \
473 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
474 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
475 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
476 fi; \
477 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
478 else \
479 test -f "$(distdir)/$$file" \
480 || cp -p $$d/$$file "$(distdir)/$$file" \
481 || exit 1; \
482 fi; \
483 done
484 check-am: all-am
485 check: check-am
486 all-am: Makefile $(DATA)
487 installdirs:
488 for dir in "$(DESTDIR)$(iconsdir)"; do \
489 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
490 done
491 install: install-am
492 install-exec: install-exec-am
493 install-data: install-data-am
494 uninstall: uninstall-am
495
496 install-am: all-am
497 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
498
499 installcheck: installcheck-am
500 install-strip:
501 if test -z '$(STRIP)'; then \
502 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
503 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
504 install; \
505 else \
506 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
507 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
508 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
509 fi
510 mostlyclean-generic:
511
512 clean-generic:
513
514 distclean-generic:
515 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
516 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
517
518 maintainer-clean-generic:
519 @echo "This command is intended for maintainers to use"
520 @echo "it deletes files that may require special tools to rebuild."
521 clean: clean-am
522
523 clean-am: clean-generic clean-libtool mostlyclean-am
524
525 distclean: distclean-am
526 -rm -f Makefile
527 distclean-am: clean-am distclean-generic
528
529 dvi: dvi-am
530
531 dvi-am:
532
533 html: html-am
534
535 html-am:
536
537 info: info-am
538
539 info-am:
540
541 install-data-am: install-iconsDATA
542
543 install-dvi: install-dvi-am
544
545 install-dvi-am:
546
547 install-exec-am:
548
549 install-html: install-html-am
550
551 install-html-am:
552
553 install-info: install-info-am
554
555 install-info-am:
556
557 install-man:
558
559 install-pdf: install-pdf-am
560
561 install-pdf-am:
562
563 install-ps: install-ps-am
564
565 install-ps-am:
566
567 installcheck-am:
568
569 maintainer-clean: maintainer-clean-am
570 -rm -f Makefile
571 maintainer-clean-am: distclean-am maintainer-clean-generic
572
573 mostlyclean: mostlyclean-am
574
575 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
576
577 pdf: pdf-am
578
579 pdf-am:
580
581 ps: ps-am
582
583 ps-am:
584
585 uninstall-am: uninstall-iconsDATA
586
587 .MAKE: install-am install-strip
588
589 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
590 cscopelist-am ctags-am distclean distclean-generic \
591 distclean-libtool distdir dvi dvi-am html html-am info info-am \
592 install install-am install-data install-data-am install-dvi \
593 install-dvi-am install-exec install-exec-am install-html \
594 install-html-am install-iconsDATA install-info install-info-am \
595 install-man install-pdf install-pdf-am install-ps \
596 install-ps-am install-strip installcheck installcheck-am \
597 installdirs maintainer-clean maintainer-clean-generic \
598 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
599 ps ps-am tags-am uninstall uninstall-am uninstall-iconsDATA
600
601 .PRECIOUS: Makefile
602
603
604 # Tell versions [3.59,3.63) of GNU make to not export all variables.
605 # Otherwise a system limit (for SysV at least) may be exceeded.
606 .NOEXPORT:
0 #! /bin/sh
1 # depcomp - compile a program generating dependencies as side-effects
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
26
27 case $1 in
28 '')
29 echo "$0: No command. Try '$0 --help' for more information." 1>&2
30 exit 1;
31 ;;
32 -h | --h*)
33 cat <<\EOF
34 Usage: depcomp [--help] [--version] PROGRAM [ARGS]
35
36 Run PROGRAMS ARGS to compile a file, generating dependencies
37 as side-effects.
38
39 Environment variables:
40 depmode Dependency tracking mode.
41 source Source file read by 'PROGRAMS ARGS'.
42 object Object file output by 'PROGRAMS ARGS'.
43 DEPDIR directory where to store dependencies.
44 depfile Dependency file to output.
45 tmpdepfile Temporary file to use when outputting dependencies.
46 libtool Whether libtool is used (yes/no).
47
48 Report bugs to <bug-automake@gnu.org>.
49 EOF
50 exit $?
51 ;;
52 -v | --v*)
53 echo "depcomp $scriptversion"
54 exit $?
55 ;;
56 esac
57
58 # Get the directory component of the given path, and save it in the
59 # global variables '$dir'. Note that this directory component will
60 # be either empty or ending with a '/' character. This is deliberate.
61 set_dir_from ()
62 {
63 case $1 in
64 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
65 *) dir=;;
66 esac
67 }
68
69 # Get the suffix-stripped basename of the given path, and save it the
70 # global variable '$base'.
71 set_base_from ()
72 {
73 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
74 }
75
76 # If no dependency file was actually created by the compiler invocation,
77 # we still have to create a dummy depfile, to avoid errors with the
78 # Makefile "include basename.Plo" scheme.
79 make_dummy_depfile ()
80 {
81 echo "#dummy" > "$depfile"
82 }
83
84 # Factor out some common post-processing of the generated depfile.
85 # Requires the auxiliary global variable '$tmpdepfile' to be set.
86 aix_post_process_depfile ()
87 {
88 # If the compiler actually managed to produce a dependency file,
89 # post-process it.
90 if test -f "$tmpdepfile"; then
91 # Each line is of the form 'foo.o: dependency.h'.
92 # Do two passes, one to just change these to
93 # $object: dependency.h
94 # and one to simply output
95 # dependency.h:
96 # which is needed to avoid the deleted-header problem.
97 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
98 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
99 } > "$depfile"
100 rm -f "$tmpdepfile"
101 else
102 make_dummy_depfile
103 fi
104 }
105
106 # A tabulation character.
107 tab=' '
108 # A newline character.
109 nl='
110 '
111 # Character ranges might be problematic outside the C locale.
112 # These definitions help.
113 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
114 lower=abcdefghijklmnopqrstuvwxyz
115 digits=0123456789
116 alpha=${upper}${lower}
117
118 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
119 echo "depcomp: Variables source, object and depmode must be set" 1>&2
120 exit 1
121 fi
122
123 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
124 depfile=${depfile-`echo "$object" |
125 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
126 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
127
128 rm -f "$tmpdepfile"
129
130 # Avoid interferences from the environment.
131 gccflag= dashmflag=
132
133 # Some modes work just like other modes, but use different flags. We
134 # parameterize here, but still list the modes in the big case below,
135 # to make depend.m4 easier to write. Note that we *cannot* use a case
136 # here, because this file can only contain one case statement.
137 if test "$depmode" = hp; then
138 # HP compiler uses -M and no extra arg.
139 gccflag=-M
140 depmode=gcc
141 fi
142
143 if test "$depmode" = dashXmstdout; then
144 # This is just like dashmstdout with a different argument.
145 dashmflag=-xM
146 depmode=dashmstdout
147 fi
148
149 cygpath_u="cygpath -u -f -"
150 if test "$depmode" = msvcmsys; then
151 # This is just like msvisualcpp but w/o cygpath translation.
152 # Just convert the backslash-escaped backslashes to single forward
153 # slashes to satisfy depend.m4
154 cygpath_u='sed s,\\\\,/,g'
155 depmode=msvisualcpp
156 fi
157
158 if test "$depmode" = msvc7msys; then
159 # This is just like msvc7 but w/o cygpath translation.
160 # Just convert the backslash-escaped backslashes to single forward
161 # slashes to satisfy depend.m4
162 cygpath_u='sed s,\\\\,/,g'
163 depmode=msvc7
164 fi
165
166 if test "$depmode" = xlc; then
167 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
168 gccflag=-qmakedep=gcc,-MF
169 depmode=gcc
170 fi
171
172 case "$depmode" in
173 gcc3)
174 ## gcc 3 implements dependency tracking that does exactly what
175 ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
176 ## it if -MD -MP comes after the -MF stuff. Hmm.
177 ## Unfortunately, FreeBSD c89 acceptance of flags depends upon
178 ## the command line argument order; so add the flags where they
179 ## appear in depend2.am. Note that the slowdown incurred here
180 ## affects only configure: in makefiles, %FASTDEP% shortcuts this.
181 for arg
182 do
183 case $arg in
184 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
185 *) set fnord "$@" "$arg" ;;
186 esac
187 shift # fnord
188 shift # $arg
189 done
190 "$@"
191 stat=$?
192 if test $stat -ne 0; then
193 rm -f "$tmpdepfile"
194 exit $stat
195 fi
196 mv "$tmpdepfile" "$depfile"
197 ;;
198
199 gcc)
200 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
201 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
202 ## (see the conditional assignment to $gccflag above).
203 ## There are various ways to get dependency output from gcc. Here's
204 ## why we pick this rather obscure method:
205 ## - Don't want to use -MD because we'd like the dependencies to end
206 ## up in a subdir. Having to rename by hand is ugly.
207 ## (We might end up doing this anyway to support other compilers.)
208 ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
209 ## -MM, not -M (despite what the docs say). Also, it might not be
210 ## supported by the other compilers which use the 'gcc' depmode.
211 ## - Using -M directly means running the compiler twice (even worse
212 ## than renaming).
213 if test -z "$gccflag"; then
214 gccflag=-MD,
215 fi
216 "$@" -Wp,"$gccflag$tmpdepfile"
217 stat=$?
218 if test $stat -ne 0; then
219 rm -f "$tmpdepfile"
220 exit $stat
221 fi
222 rm -f "$depfile"
223 echo "$object : \\" > "$depfile"
224 # The second -e expression handles DOS-style file names with drive
225 # letters.
226 sed -e 's/^[^:]*: / /' \
227 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
228 ## This next piece of magic avoids the "deleted header file" problem.
229 ## The problem is that when a header file which appears in a .P file
230 ## is deleted, the dependency causes make to die (because there is
231 ## typically no way to rebuild the header). We avoid this by adding
232 ## dummy dependencies for each header file. Too bad gcc doesn't do
233 ## this for us directly.
234 ## Some versions of gcc put a space before the ':'. On the theory
235 ## that the space means something, we add a space to the output as
236 ## well. hp depmode also adds that space, but also prefixes the VPATH
237 ## to the object. Take care to not repeat it in the output.
238 ## Some versions of the HPUX 10.20 sed can't process this invocation
239 ## correctly. Breaking it into two sed invocations is a workaround.
240 tr ' ' "$nl" < "$tmpdepfile" \
241 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
242 | sed -e 's/$/ :/' >> "$depfile"
243 rm -f "$tmpdepfile"
244 ;;
245
246 hp)
247 # This case exists only to let depend.m4 do its work. It works by
248 # looking at the text of this script. This case will never be run,
249 # since it is checked for above.
250 exit 1
251 ;;
252
253 sgi)
254 if test "$libtool" = yes; then
255 "$@" "-Wp,-MDupdate,$tmpdepfile"
256 else
257 "$@" -MDupdate "$tmpdepfile"
258 fi
259 stat=$?
260 if test $stat -ne 0; then
261 rm -f "$tmpdepfile"
262 exit $stat
263 fi
264 rm -f "$depfile"
265
266 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
267 echo "$object : \\" > "$depfile"
268 # Clip off the initial element (the dependent). Don't try to be
269 # clever and replace this with sed code, as IRIX sed won't handle
270 # lines with more than a fixed number of characters (4096 in
271 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
272 # the IRIX cc adds comments like '#:fec' to the end of the
273 # dependency line.
274 tr ' ' "$nl" < "$tmpdepfile" \
275 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
276 | tr "$nl" ' ' >> "$depfile"
277 echo >> "$depfile"
278 # The second pass generates a dummy entry for each header file.
279 tr ' ' "$nl" < "$tmpdepfile" \
280 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
281 >> "$depfile"
282 else
283 make_dummy_depfile
284 fi
285 rm -f "$tmpdepfile"
286 ;;
287
288 xlc)
289 # This case exists only to let depend.m4 do its work. It works by
290 # looking at the text of this script. This case will never be run,
291 # since it is checked for above.
292 exit 1
293 ;;
294
295 aix)
296 # The C for AIX Compiler uses -M and outputs the dependencies
297 # in a .u file. In older versions, this file always lives in the
298 # current directory. Also, the AIX compiler puts '$object:' at the
299 # start of each line; $object doesn't have directory information.
300 # Version 6 uses the directory in both cases.
301 set_dir_from "$object"
302 set_base_from "$object"
303 if test "$libtool" = yes; then
304 tmpdepfile1=$dir$base.u
305 tmpdepfile2=$base.u
306 tmpdepfile3=$dir.libs/$base.u
307 "$@" -Wc,-M
308 else
309 tmpdepfile1=$dir$base.u
310 tmpdepfile2=$dir$base.u
311 tmpdepfile3=$dir$base.u
312 "$@" -M
313 fi
314 stat=$?
315 if test $stat -ne 0; then
316 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
317 exit $stat
318 fi
319
320 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
321 do
322 test -f "$tmpdepfile" && break
323 done
324 aix_post_process_depfile
325 ;;
326
327 tcc)
328 # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
329 # FIXME: That version still under development at the moment of writing.
330 # Make that this statement remains true also for stable, released
331 # versions.
332 # It will wrap lines (doesn't matter whether long or short) with a
333 # trailing '\', as in:
334 #
335 # foo.o : \
336 # foo.c \
337 # foo.h \
338 #
339 # It will put a trailing '\' even on the last line, and will use leading
340 # spaces rather than leading tabs (at least since its commit 0394caf7
341 # "Emit spaces for -MD").
342 "$@" -MD -MF "$tmpdepfile"
343 stat=$?
344 if test $stat -ne 0; then
345 rm -f "$tmpdepfile"
346 exit $stat
347 fi
348 rm -f "$depfile"
349 # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
350 # We have to change lines of the first kind to '$object: \'.
351 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
352 # And for each line of the second kind, we have to emit a 'dep.h:'
353 # dummy dependency, to avoid the deleted-header problem.
354 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
355 rm -f "$tmpdepfile"
356 ;;
357
358 ## The order of this option in the case statement is important, since the
359 ## shell code in configure will try each of these formats in the order
360 ## listed in this file. A plain '-MD' option would be understood by many
361 ## compilers, so we must ensure this comes after the gcc and icc options.
362 pgcc)
363 # Portland's C compiler understands '-MD'.
364 # Will always output deps to 'file.d' where file is the root name of the
365 # source file under compilation, even if file resides in a subdirectory.
366 # The object file name does not affect the name of the '.d' file.
367 # pgcc 10.2 will output
368 # foo.o: sub/foo.c sub/foo.h
369 # and will wrap long lines using '\' :
370 # foo.o: sub/foo.c ... \
371 # sub/foo.h ... \
372 # ...
373 set_dir_from "$object"
374 # Use the source, not the object, to determine the base name, since
375 # that's sadly what pgcc will do too.
376 set_base_from "$source"
377 tmpdepfile=$base.d
378
379 # For projects that build the same source file twice into different object
380 # files, the pgcc approach of using the *source* file root name can cause
381 # problems in parallel builds. Use a locking strategy to avoid stomping on
382 # the same $tmpdepfile.
383 lockdir=$base.d-lock
384 trap "
385 echo '$0: caught signal, cleaning up...' >&2
386 rmdir '$lockdir'
387 exit 1
388 " 1 2 13 15
389 numtries=100
390 i=$numtries
391 while test $i -gt 0; do
392 # mkdir is a portable test-and-set.
393 if mkdir "$lockdir" 2>/dev/null; then
394 # This process acquired the lock.
395 "$@" -MD
396 stat=$?
397 # Release the lock.
398 rmdir "$lockdir"
399 break
400 else
401 # If the lock is being held by a different process, wait
402 # until the winning process is done or we timeout.
403 while test -d "$lockdir" && test $i -gt 0; do
404 sleep 1
405 i=`expr $i - 1`
406 done
407 fi
408 i=`expr $i - 1`
409 done
410 trap - 1 2 13 15
411 if test $i -le 0; then
412 echo "$0: failed to acquire lock after $numtries attempts" >&2
413 echo "$0: check lockdir '$lockdir'" >&2
414 exit 1
415 fi
416
417 if test $stat -ne 0; then
418 rm -f "$tmpdepfile"
419 exit $stat
420 fi
421 rm -f "$depfile"
422 # Each line is of the form `foo.o: dependent.h',
423 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
424 # Do two passes, one to just change these to
425 # `$object: dependent.h' and one to simply `dependent.h:'.
426 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
427 # Some versions of the HPUX 10.20 sed can't process this invocation
428 # correctly. Breaking it into two sed invocations is a workaround.
429 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
430 | sed -e 's/$/ :/' >> "$depfile"
431 rm -f "$tmpdepfile"
432 ;;
433
434 hp2)
435 # The "hp" stanza above does not work with aCC (C++) and HP's ia64
436 # compilers, which have integrated preprocessors. The correct option
437 # to use with these is +Maked; it writes dependencies to a file named
438 # 'foo.d', which lands next to the object file, wherever that
439 # happens to be.
440 # Much of this is similar to the tru64 case; see comments there.
441 set_dir_from "$object"
442 set_base_from "$object"
443 if test "$libtool" = yes; then
444 tmpdepfile1=$dir$base.d
445 tmpdepfile2=$dir.libs/$base.d
446 "$@" -Wc,+Maked
447 else
448 tmpdepfile1=$dir$base.d
449 tmpdepfile2=$dir$base.d
450 "$@" +Maked
451 fi
452 stat=$?
453 if test $stat -ne 0; then
454 rm -f "$tmpdepfile1" "$tmpdepfile2"
455 exit $stat
456 fi
457
458 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
459 do
460 test -f "$tmpdepfile" && break
461 done
462 if test -f "$tmpdepfile"; then
463 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
464 # Add 'dependent.h:' lines.
465 sed -ne '2,${
466 s/^ *//
467 s/ \\*$//
468 s/$/:/
469 p
470 }' "$tmpdepfile" >> "$depfile"
471 else
472 make_dummy_depfile
473 fi
474 rm -f "$tmpdepfile" "$tmpdepfile2"
475 ;;
476
477 tru64)
478 # The Tru64 compiler uses -MD to generate dependencies as a side
479 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
480 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
481 # dependencies in 'foo.d' instead, so we check for that too.
482 # Subdirectories are respected.
483 set_dir_from "$object"
484 set_base_from "$object"
485
486 if test "$libtool" = yes; then
487 # Libtool generates 2 separate objects for the 2 libraries. These
488 # two compilations output dependencies in $dir.libs/$base.o.d and
489 # in $dir$base.o.d. We have to check for both files, because
490 # one of the two compilations can be disabled. We should prefer
491 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
492 # automatically cleaned when .libs/ is deleted, while ignoring
493 # the former would cause a distcleancheck panic.
494 tmpdepfile1=$dir$base.o.d # libtool 1.5
495 tmpdepfile2=$dir.libs/$base.o.d # Likewise.
496 tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
497 "$@" -Wc,-MD
498 else
499 tmpdepfile1=$dir$base.d
500 tmpdepfile2=$dir$base.d
501 tmpdepfile3=$dir$base.d
502 "$@" -MD
503 fi
504
505 stat=$?
506 if test $stat -ne 0; then
507 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
508 exit $stat
509 fi
510
511 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
512 do
513 test -f "$tmpdepfile" && break
514 done
515 # Same post-processing that is required for AIX mode.
516 aix_post_process_depfile
517 ;;
518
519 msvc7)
520 if test "$libtool" = yes; then
521 showIncludes=-Wc,-showIncludes
522 else
523 showIncludes=-showIncludes
524 fi
525 "$@" $showIncludes > "$tmpdepfile"
526 stat=$?
527 grep -v '^Note: including file: ' "$tmpdepfile"
528 if test $stat -ne 0; then
529 rm -f "$tmpdepfile"
530 exit $stat
531 fi
532 rm -f "$depfile"
533 echo "$object : \\" > "$depfile"
534 # The first sed program below extracts the file names and escapes
535 # backslashes for cygpath. The second sed program outputs the file
536 # name when reading, but also accumulates all include files in the
537 # hold buffer in order to output them again at the end. This only
538 # works with sed implementations that can handle large buffers.
539 sed < "$tmpdepfile" -n '
540 /^Note: including file: *\(.*\)/ {
541 s//\1/
542 s/\\/\\\\/g
543 p
544 }' | $cygpath_u | sort -u | sed -n '
545 s/ /\\ /g
546 s/\(.*\)/'"$tab"'\1 \\/p
547 s/.\(.*\) \\/\1:/
548 H
549 $ {
550 s/.*/'"$tab"'/
551 G
552 p
553 }' >> "$depfile"
554 echo >> "$depfile" # make sure the fragment doesn't end with a backslash
555 rm -f "$tmpdepfile"
556 ;;
557
558 msvc7msys)
559 # This case exists only to let depend.m4 do its work. It works by
560 # looking at the text of this script. This case will never be run,
561 # since it is checked for above.
562 exit 1
563 ;;
564
565 #nosideeffect)
566 # This comment above is used by automake to tell side-effect
567 # dependency tracking mechanisms from slower ones.
568
569 dashmstdout)
570 # Important note: in order to support this mode, a compiler *must*
571 # always write the preprocessed file to stdout, regardless of -o.
572 "$@" || exit $?
573
574 # Remove the call to Libtool.
575 if test "$libtool" = yes; then
576 while test "X$1" != 'X--mode=compile'; do
577 shift
578 done
579 shift
580 fi
581
582 # Remove '-o $object'.
583 IFS=" "
584 for arg
585 do
586 case $arg in
587 -o)
588 shift
589 ;;
590 $object)
591 shift
592 ;;
593 *)
594 set fnord "$@" "$arg"
595 shift # fnord
596 shift # $arg
597 ;;
598 esac
599 done
600
601 test -z "$dashmflag" && dashmflag=-M
602 # Require at least two characters before searching for ':'
603 # in the target name. This is to cope with DOS-style filenames:
604 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
605 "$@" $dashmflag |
606 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
607 rm -f "$depfile"
608 cat < "$tmpdepfile" > "$depfile"
609 # Some versions of the HPUX 10.20 sed can't process this sed invocation
610 # correctly. Breaking it into two sed invocations is a workaround.
611 tr ' ' "$nl" < "$tmpdepfile" \
612 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
613 | sed -e 's/$/ :/' >> "$depfile"
614 rm -f "$tmpdepfile"
615 ;;
616
617 dashXmstdout)
618 # This case only exists to satisfy depend.m4. It is never actually
619 # run, as this mode is specially recognized in the preamble.
620 exit 1
621 ;;
622
623 makedepend)
624 "$@" || exit $?
625 # Remove any Libtool call
626 if test "$libtool" = yes; then
627 while test "X$1" != 'X--mode=compile'; do
628 shift
629 done
630 shift
631 fi
632 # X makedepend
633 shift
634 cleared=no eat=no
635 for arg
636 do
637 case $cleared in
638 no)
639 set ""; shift
640 cleared=yes ;;
641 esac
642 if test $eat = yes; then
643 eat=no
644 continue
645 fi
646 case "$arg" in
647 -D*|-I*)
648 set fnord "$@" "$arg"; shift ;;
649 # Strip any option that makedepend may not understand. Remove
650 # the object too, otherwise makedepend will parse it as a source file.
651 -arch)
652 eat=yes ;;
653 -*|$object)
654 ;;
655 *)
656 set fnord "$@" "$arg"; shift ;;
657 esac
658 done
659 obj_suffix=`echo "$object" | sed 's/^.*\././'`
660 touch "$tmpdepfile"
661 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
662 rm -f "$depfile"
663 # makedepend may prepend the VPATH from the source file name to the object.
664 # No need to regex-escape $object, excess matching of '.' is harmless.
665 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
666 # Some versions of the HPUX 10.20 sed can't process the last invocation
667 # correctly. Breaking it into two sed invocations is a workaround.
668 sed '1,2d' "$tmpdepfile" \
669 | tr ' ' "$nl" \
670 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
671 | sed -e 's/$/ :/' >> "$depfile"
672 rm -f "$tmpdepfile" "$tmpdepfile".bak
673 ;;
674
675 cpp)
676 # Important note: in order to support this mode, a compiler *must*
677 # always write the preprocessed file to stdout.
678 "$@" || exit $?
679
680 # Remove the call to Libtool.
681 if test "$libtool" = yes; then
682 while test "X$1" != 'X--mode=compile'; do
683 shift
684 done
685 shift
686 fi
687
688 # Remove '-o $object'.
689 IFS=" "
690 for arg
691 do
692 case $arg in
693 -o)
694 shift
695 ;;
696 $object)
697 shift
698 ;;
699 *)
700 set fnord "$@" "$arg"
701 shift # fnord
702 shift # $arg
703 ;;
704 esac
705 done
706
707 "$@" -E \
708 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
709 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
710 | sed '$ s: \\$::' > "$tmpdepfile"
711 rm -f "$depfile"
712 echo "$object : \\" > "$depfile"
713 cat < "$tmpdepfile" >> "$depfile"
714 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
715 rm -f "$tmpdepfile"
716 ;;
717
718 msvisualcpp)
719 # Important note: in order to support this mode, a compiler *must*
720 # always write the preprocessed file to stdout.
721 "$@" || exit $?
722
723 # Remove the call to Libtool.
724 if test "$libtool" = yes; then
725 while test "X$1" != 'X--mode=compile'; do
726 shift
727 done
728 shift
729 fi
730
731 IFS=" "
732 for arg
733 do
734 case "$arg" in
735 -o)
736 shift
737 ;;
738 $object)
739 shift
740 ;;
741 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
742 set fnord "$@"
743 shift
744 shift
745 ;;
746 *)
747 set fnord "$@" "$arg"
748 shift
749 shift
750 ;;
751 esac
752 done
753 "$@" -E 2>/dev/null |
754 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
755 rm -f "$depfile"
756 echo "$object : \\" > "$depfile"
757 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
758 echo "$tab" >> "$depfile"
759 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
760 rm -f "$tmpdepfile"
761 ;;
762
763 msvcmsys)
764 # This case exists only to let depend.m4 do its work. It works by
765 # looking at the text of this script. This case will never be run,
766 # since it is checked for above.
767 exit 1
768 ;;
769
770 none)
771 exec "$@"
772 ;;
773
774 *)
775 echo "Unknown depmode $depmode" 1>&2
776 exit 1
777 ;;
778 esac
779
780 exit 0
781
782 # Local Variables:
783 # mode: shell-script
784 # sh-indentation: 2
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786 # time-stamp-start: "scriptversion="
787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788 # time-stamp-time-zone: "UTC0"
789 # time-stamp-end: "; # UTC"
790 # End:
0 #!/bin/sh
1 # install - install a program, script, or datafile
2
3 scriptversion=2020-11-14.01; # UTC
4
5 # This originates from X11R5 (mit/util/scripts/install.sh), which was
6 # later released in X11R6 (xc/config/util/install.sh) with the
7 # following copyright and license.
8 #
9 # Copyright (C) 1994 X Consortium
10 #
11 # Permission is hereby granted, free of charge, to any person obtaining a copy
12 # of this software and associated documentation files (the "Software"), to
13 # deal in the Software without restriction, including without limitation the
14 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
15 # sell copies of the Software, and to permit persons to whom the Software is
16 # furnished to do so, subject to the following conditions:
17 #
18 # The above copyright notice and this permission notice shall be included in
19 # all copies or substantial portions of the Software.
20 #
21 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
26 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 #
28 # Except as contained in this notice, the name of the X Consortium shall not
29 # be used in advertising or otherwise to promote the sale, use or other deal-
30 # ings in this Software without prior written authorization from the X Consor-
31 # tium.
32 #
33 #
34 # FSF changes to this file are in the public domain.
35 #
36 # Calling this script install-sh is preferred over install.sh, to prevent
37 # 'make' implicit rules from creating a file called install from it
38 # when there is no Makefile.
39 #
40 # This script is compatible with the BSD install script, but was written
41 # from scratch.
42
43 tab=' '
44 nl='
45 '
46 IFS=" $tab$nl"
47
48 # Set DOITPROG to "echo" to test this script.
49
50 doit=${DOITPROG-}
51 doit_exec=${doit:-exec}
52
53 # Put in absolute file names if you don't have them in your path;
54 # or use environment vars.
55
56 chgrpprog=${CHGRPPROG-chgrp}
57 chmodprog=${CHMODPROG-chmod}
58 chownprog=${CHOWNPROG-chown}
59 cmpprog=${CMPPROG-cmp}
60 cpprog=${CPPROG-cp}
61 mkdirprog=${MKDIRPROG-mkdir}
62 mvprog=${MVPROG-mv}
63 rmprog=${RMPROG-rm}
64 stripprog=${STRIPPROG-strip}
65
66 posix_mkdir=
67
68 # Desired mode of installed file.
69 mode=0755
70
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
76 chgrpcmd=
77 chmodcmd=$chmodprog
78 chowncmd=
79 mvcmd=$mvprog
80 rmcmd="$rmprog -f"
81 stripcmd=
82
83 src=
84 dst=
85 dir_arg=
86 dst_arg=
87
88 copy_on_change=false
89 is_target_a_directory=possibly
90
91 usage="\
92 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
93 or: $0 [OPTION]... SRCFILES... DIRECTORY
94 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
95 or: $0 [OPTION]... -d DIRECTORIES...
96
97 In the 1st form, copy SRCFILE to DSTFILE.
98 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
99 In the 4th, create DIRECTORIES.
100
101 Options:
102 --help display this help and exit.
103 --version display version info and exit.
104
105 -c (ignored)
106 -C install only if different (preserve data modification time)
107 -d create directories instead of installing files.
108 -g GROUP $chgrpprog installed files to GROUP.
109 -m MODE $chmodprog installed files to MODE.
110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
114 -t DIRECTORY install into DIRECTORY.
115 -T report an error if DSTFILE is a directory.
116
117 Environment variables override the default commands:
118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
128 "
129
130 while test $# -ne 0; do
131 case $1 in
132 -c) ;;
133
134 -C) copy_on_change=true;;
135
136 -d) dir_arg=true;;
137
138 -g) chgrpcmd="$chgrpprog $2"
139 shift;;
140
141 --help) echo "$usage"; exit $?;;
142
143 -m) mode=$2
144 case $mode in
145 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
146 echo "$0: invalid mode: $mode" >&2
147 exit 1;;
148 esac
149 shift;;
150
151 -o) chowncmd="$chownprog $2"
152 shift;;
153
154 -p) cpprog="$cpprog -p";;
155
156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
160
161 -t)
162 is_target_a_directory=always
163 dst_arg=$2
164 # Protect names problematic for 'test' and other utilities.
165 case $dst_arg in
166 -* | [=\(\)!]) dst_arg=./$dst_arg;;
167 esac
168 shift;;
169
170 -T) is_target_a_directory=never;;
171
172 --version) echo "$0 $scriptversion"; exit $?;;
173
174 --) shift
175 break;;
176
177 -*) echo "$0: invalid option: $1" >&2
178 exit 1;;
179
180 *) break;;
181 esac
182 shift
183 done
184
185 # We allow the use of options -d and -T together, by making -d
186 # take the precedence; this is for compatibility with GNU install.
187
188 if test -n "$dir_arg"; then
189 if test -n "$dst_arg"; then
190 echo "$0: target directory not allowed when installing a directory." >&2
191 exit 1
192 fi
193 fi
194
195 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
196 # When -d is used, all remaining arguments are directories to create.
197 # When -t is used, the destination is already specified.
198 # Otherwise, the last argument is the destination. Remove it from $@.
199 for arg
200 do
201 if test -n "$dst_arg"; then
202 # $@ is not empty: it contains at least $arg.
203 set fnord "$@" "$dst_arg"
204 shift # fnord
205 fi
206 shift # arg
207 dst_arg=$arg
208 # Protect names problematic for 'test' and other utilities.
209 case $dst_arg in
210 -* | [=\(\)!]) dst_arg=./$dst_arg;;
211 esac
212 done
213 fi
214
215 if test $# -eq 0; then
216 if test -z "$dir_arg"; then
217 echo "$0: no input file specified." >&2
218 exit 1
219 fi
220 # It's OK to call 'install-sh -d' without argument.
221 # This can happen when creating conditional directories.
222 exit 0
223 fi
224
225 if test -z "$dir_arg"; then
226 if test $# -gt 1 || test "$is_target_a_directory" = always; then
227 if test ! -d "$dst_arg"; then
228 echo "$0: $dst_arg: Is not a directory." >&2
229 exit 1
230 fi
231 fi
232 fi
233
234 if test -z "$dir_arg"; then
235 do_exit='(exit $ret); exit $ret'
236 trap "ret=129; $do_exit" 1
237 trap "ret=130; $do_exit" 2
238 trap "ret=141; $do_exit" 13
239 trap "ret=143; $do_exit" 15
240
241 # Set umask so as not to create temps with too-generous modes.
242 # However, 'strip' requires both read and write access to temps.
243 case $mode in
244 # Optimize common cases.
245 *644) cp_umask=133;;
246 *755) cp_umask=22;;
247
248 *[0-7])
249 if test -z "$stripcmd"; then
250 u_plus_rw=
251 else
252 u_plus_rw='% 200'
253 fi
254 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
255 *)
256 if test -z "$stripcmd"; then
257 u_plus_rw=
258 else
259 u_plus_rw=,u+rw
260 fi
261 cp_umask=$mode$u_plus_rw;;
262 esac
263 fi
264
265 for src
266 do
267 # Protect names problematic for 'test' and other utilities.
268 case $src in
269 -* | [=\(\)!]) src=./$src;;
270 esac
271
272 if test -n "$dir_arg"; then
273 dst=$src
274 dstdir=$dst
275 test -d "$dstdir"
276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
281 else
282
283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
284 # might cause directories to be created, which would be especially bad
285 # if $src (and thus $dsttmp) contains '*'.
286 if test ! -f "$src" && test ! -d "$src"; then
287 echo "$0: $src does not exist." >&2
288 exit 1
289 fi
290
291 if test -z "$dst_arg"; then
292 echo "$0: no destination specified." >&2
293 exit 1
294 fi
295 dst=$dst_arg
296
297 # If destination is a directory, append the input filename.
298 if test -d "$dst"; then
299 if test "$is_target_a_directory" = never; then
300 echo "$0: $dst_arg: Is a directory" >&2
301 exit 1
302 fi
303 dstdir=$dst
304 dstbase=`basename "$src"`
305 case $dst in
306 */) dst=$dst$dstbase;;
307 *) dst=$dst/$dstbase;;
308 esac
309 dstdir_status=0
310 else
311 dstdir=`dirname "$dst"`
312 test -d "$dstdir"
313 dstdir_status=$?
314 fi
315 fi
316
317 case $dstdir in
318 */) dstdirslash=$dstdir;;
319 *) dstdirslash=$dstdir/;;
320 esac
321
322 obsolete_mkdir_used=false
323
324 if test $dstdir_status != 0; then
325 case $posix_mkdir in
326 '')
327 # With -d, create the new directory with the user-specified mode.
328 # Otherwise, rely on $mkdir_umask.
329 if test -n "$dir_arg"; then
330 mkdir_mode=-m$mode
331 else
332 mkdir_mode=
333 fi
334
335 posix_mkdir=false
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
374 else
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
377 fi
378 trap '' 0;;
379 esac
380
381 if
382 $posix_mkdir && (
383 umask $mkdir_umask &&
384 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
385 )
386 then :
387 else
388
389 # mkdir does not conform to POSIX,
390 # or it failed possibly due to a race condition. Create the
391 # directory the slow way, step by step, checking for races as we go.
392
393 case $dstdir in
394 /*) prefix='/';;
395 [-=\(\)!]*) prefix='./';;
396 *) prefix='';;
397 esac
398
399 oIFS=$IFS
400 IFS=/
401 set -f
402 set fnord $dstdir
403 shift
404 set +f
405 IFS=$oIFS
406
407 prefixes=
408
409 for d
410 do
411 test X"$d" = X && continue
412
413 prefix=$prefix$d
414 if test -d "$prefix"; then
415 prefixes=
416 else
417 if $posix_mkdir; then
418 (umask $mkdir_umask &&
419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
420 # Don't fail if two instances are running concurrently.
421 test -d "$prefix" || exit 1
422 else
423 case $prefix in
424 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
425 *) qprefix=$prefix;;
426 esac
427 prefixes="$prefixes '$qprefix'"
428 fi
429 fi
430 prefix=$prefix/
431 done
432
433 if test -n "$prefixes"; then
434 # Don't fail if two instances are running concurrently.
435 (umask $mkdir_umask &&
436 eval "\$doit_exec \$mkdirprog $prefixes") ||
437 test -d "$dstdir" || exit 1
438 obsolete_mkdir_used=true
439 fi
440 fi
441 fi
442
443 if test -n "$dir_arg"; then
444 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
445 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
446 { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
447 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
448 else
449
450 # Make a couple of temp file names in the proper directory.
451 dsttmp=${dstdirslash}_inst.$$_
452 rmtmp=${dstdirslash}_rm.$$_
453
454 # Trap to clean up those temp files at exit.
455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
456
457 # Copy the file name to the temp name.
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
470
471 # and set any options; do chmod last to preserve setuid bits.
472 #
473 # If any of these fail, we abort the whole thing. If we want to
474 # ignore errors from any of these, just make sure not to ignore
475 # errors from the above "$doit $cpprog $src $dsttmp" command.
476 #
477 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
478 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
479 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
480 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
481
482 # If -C, don't bother to copy if it wouldn't change the file.
483 if $copy_on_change &&
484 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
485 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
486 set -f &&
487 set X $old && old=:$2:$4:$5:$6 &&
488 set X $new && new=:$2:$4:$5:$6 &&
489 set +f &&
490 test "$old" = "$new" &&
491 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
492 then
493 rm -f "$dsttmp"
494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
502 # Rename the file to the real destination.
503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
504
505 # The rename failed, perhaps because mv can't rename something else
506 # to itself, or perhaps because mv is so ancient that it does not
507 # support -f.
508 {
509 # Now remove or move aside any old file at destination location.
510 # We try this two ways since rm can't unlink itself on some
511 # systems and the destination file might be busy for other
512 # reasons. In this case, the final cleanup might fail but the new
513 # file should still install successfully.
514 {
515 test ! -f "$dst" ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
519 } ||
520 { echo "$0: cannot unlink or rename $dst" >&2
521 (exit 1); exit 1
522 }
523 } &&
524
525 # Now rename the file to the real destination.
526 $doit $mvcmd "$dsttmp" "$dst"
527 }
528 fi || exit 1
529
530 trap '' 0
531 fi
532 done
533
534 # Local variables:
535 # eval: (add-hook 'before-save-hook 'time-stamp)
536 # time-stamp-start: "scriptversion="
537 # time-stamp-format: "%:y-%02m-%02d.%02H"
538 # time-stamp-time-zone: "UTC0"
539 # time-stamp-end: "; # UTC"
540 # End:
0 #! /usr/bin/env sh
1 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
2 ## by inline-source v2019-02-19.15
3
4 # libtool (GNU libtool) 2.4.7
5 # Provide generalized library-building support services.
6 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7
8 # Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc.
9 # This is free software; see the source for copying conditions. There is NO
10 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12 # GNU Libtool is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
15 # (at your option) any later version.
16 #
17 # As a special exception to the GNU General Public License,
18 # if you distribute this file as part of a program or library that
19 # is built using GNU Libtool, you may include this file under the
20 # same distribution terms that you use for the rest of that program.
21 #
22 # GNU Libtool is distributed in the hope that it will be useful, but
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 # General Public License for more details.
26 #
27 # You should have received a copy of the GNU General Public License
28 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
30
31 PROGRAM=libtool
32 PACKAGE=libtool
33 VERSION=2.4.7
34 package_revision=2.4.7
35
36
37 ## ------ ##
38 ## Usage. ##
39 ## ------ ##
40
41 # Run './libtool --help' for help with using this script from the
42 # command line.
43
44
45 ## ------------------------------- ##
46 ## User overridable command paths. ##
47 ## ------------------------------- ##
48
49 # After configure completes, it has a better idea of some of the
50 # shell tools we need than the defaults used by the functions shared
51 # with bootstrap, so set those here where they can still be over-
52 # ridden by the user, but otherwise take precedence.
53
54 : ${AUTOCONF="autoconf"}
55 : ${AUTOMAKE="automake"}
56
57
58 ## -------------------------- ##
59 ## Source external libraries. ##
60 ## -------------------------- ##
61
62 # Much of our low-level functionality needs to be sourced from external
63 # libraries, which are installed to $pkgauxdir.
64
65 # Set a version string for this script.
66 scriptversion=2019-02-19.15; # UTC
67
68 # General shell script boiler plate, and helper functions.
69 # Written by Gary V. Vaughan, 2004
70
71 # This is free software. There is NO warranty; not even for
72 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
73 #
74 # Copyright (C) 2004-2019, 2021 Bootstrap Authors
75 #
76 # This file is dual licensed under the terms of the MIT license
77 # <https://opensource.org/license/MIT>, and GPL version 2 or later
78 # <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of
79 # these licenses when using or redistributing this software or any of
80 # the files within it. See the URLs above, or the file `LICENSE`
81 # included in the Bootstrap distribution for the full license texts.
82
83 # Please report bugs or propose patches to:
84 # <https://github.com/gnulib-modules/bootstrap/issues>
85
86
87 ## ------ ##
88 ## Usage. ##
89 ## ------ ##
90
91 # Evaluate this file near the top of your script to gain access to
92 # the functions and variables defined here:
93 #
94 # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
95 #
96 # If you need to override any of the default environment variable
97 # settings, do that before evaluating this file.
98
99
100 ## -------------------- ##
101 ## Shell normalisation. ##
102 ## -------------------- ##
103
104 # Some shells need a little help to be as Bourne compatible as possible.
105 # Before doing anything else, make sure all that help has been provided!
106
107 DUALCASE=1; export DUALCASE # for MKS sh
108 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
109 emulate sh
110 NULLCMD=:
111 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
112 # is contrary to our usage. Disable this feature.
113 alias -g '${1+"$@"}'='"$@"'
114 setopt NO_GLOB_SUBST
115 else
116 case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
117 fi
118
119 # NLS nuisances: We save the old values in case they are required later.
120 _G_user_locale=
121 _G_safe_locale=
122 for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
123 do
124 eval "if test set = \"\${$_G_var+set}\"; then
125 save_$_G_var=\$$_G_var
126 $_G_var=C
127 export $_G_var
128 _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
129 _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
130 fi"
131 done
132 # These NLS vars are set unconditionally (bootstrap issue #24). Unset those
133 # in case the environment reset is needed later and the $save_* variant is not
134 # defined (see the code above).
135 LC_ALL=C
136 LANGUAGE=C
137 export LANGUAGE LC_ALL
138
139 # Make sure IFS has a sensible default
140 sp=' '
141 nl='
142 '
143 IFS="$sp $nl"
144
145 # There are apparently some retarded systems that use ';' as a PATH separator!
146 if test "${PATH_SEPARATOR+set}" != set; then
147 PATH_SEPARATOR=:
148 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
149 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
150 PATH_SEPARATOR=';'
151 }
152 fi
153
154
155 # func_unset VAR
156 # --------------
157 # Portably unset VAR.
158 # In some shells, an 'unset VAR' statement leaves a non-zero return
159 # status if VAR is already unset, which might be problematic if the
160 # statement is used at the end of a function (thus poisoning its return
161 # value) or when 'set -e' is active (causing even a spurious abort of
162 # the script in this case).
163 func_unset ()
164 {
165 { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; }
166 }
167
168
169 # Make sure CDPATH doesn't cause `cd` commands to output the target dir.
170 func_unset CDPATH
171
172 # Make sure ${,E,F}GREP behave sanely.
173 func_unset GREP_OPTIONS
174
175
176 ## ------------------------- ##
177 ## Locate command utilities. ##
178 ## ------------------------- ##
179
180
181 # func_executable_p FILE
182 # ----------------------
183 # Check that FILE is an executable regular file.
184 func_executable_p ()
185 {
186 test -f "$1" && test -x "$1"
187 }
188
189
190 # func_path_progs PROGS_LIST CHECK_FUNC [PATH]
191 # --------------------------------------------
192 # Search for either a program that responds to --version with output
193 # containing "GNU", or else returned by CHECK_FUNC otherwise, by
194 # trying all the directories in PATH with each of the elements of
195 # PROGS_LIST.
196 #
197 # CHECK_FUNC should accept the path to a candidate program, and
198 # set $func_check_prog_result if it truncates its output less than
199 # $_G_path_prog_max characters.
200 func_path_progs ()
201 {
202 _G_progs_list=$1
203 _G_check_func=$2
204 _G_PATH=${3-"$PATH"}
205
206 _G_path_prog_max=0
207 _G_path_prog_found=false
208 _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
209 for _G_dir in $_G_PATH; do
210 IFS=$_G_save_IFS
211 test -z "$_G_dir" && _G_dir=.
212 for _G_prog_name in $_G_progs_list; do
213 for _exeext in '' .EXE; do
214 _G_path_prog=$_G_dir/$_G_prog_name$_exeext
215 func_executable_p "$_G_path_prog" || continue
216 case `"$_G_path_prog" --version 2>&1` in
217 *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
218 *) $_G_check_func $_G_path_prog
219 func_path_progs_result=$func_check_prog_result
220 ;;
221 esac
222 $_G_path_prog_found && break 3
223 done
224 done
225 done
226 IFS=$_G_save_IFS
227 test -z "$func_path_progs_result" && {
228 echo "no acceptable sed could be found in \$PATH" >&2
229 exit 1
230 }
231 }
232
233
234 # We want to be able to use the functions in this file before configure
235 # has figured out where the best binaries are kept, which means we have
236 # to search for them ourselves - except when the results are already set
237 # where we skip the searches.
238
239 # Unless the user overrides by setting SED, search the path for either GNU
240 # sed, or the sed that truncates its output the least.
241 test -z "$SED" && {
242 _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
243 for _G_i in 1 2 3 4 5 6 7; do
244 _G_sed_script=$_G_sed_script$nl$_G_sed_script
245 done
246 echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
247 _G_sed_script=
248
249 func_check_prog_sed ()
250 {
251 _G_path_prog=$1
252
253 _G_count=0
254 printf 0123456789 >conftest.in
255 while :
256 do
257 cat conftest.in conftest.in >conftest.tmp
258 mv conftest.tmp conftest.in
259 cp conftest.in conftest.nl
260 echo '' >> conftest.nl
261 "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
262 diff conftest.out conftest.nl >/dev/null 2>&1 || break
263 _G_count=`expr $_G_count + 1`
264 if test "$_G_count" -gt "$_G_path_prog_max"; then
265 # Best one so far, save it but keep looking for a better one
266 func_check_prog_result=$_G_path_prog
267 _G_path_prog_max=$_G_count
268 fi
269 # 10*(2^10) chars as input seems more than enough
270 test 10 -lt "$_G_count" && break
271 done
272 rm -f conftest.in conftest.tmp conftest.nl conftest.out
273 }
274
275 func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin"
276 rm -f conftest.sed
277 SED=$func_path_progs_result
278 }
279
280
281 # Unless the user overrides by setting GREP, search the path for either GNU
282 # grep, or the grep that truncates its output the least.
283 test -z "$GREP" && {
284 func_check_prog_grep ()
285 {
286 _G_path_prog=$1
287
288 _G_count=0
289 _G_path_prog_max=0
290 printf 0123456789 >conftest.in
291 while :
292 do
293 cat conftest.in conftest.in >conftest.tmp
294 mv conftest.tmp conftest.in
295 cp conftest.in conftest.nl
296 echo 'GREP' >> conftest.nl
297 "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
298 diff conftest.out conftest.nl >/dev/null 2>&1 || break
299 _G_count=`expr $_G_count + 1`
300 if test "$_G_count" -gt "$_G_path_prog_max"; then
301 # Best one so far, save it but keep looking for a better one
302 func_check_prog_result=$_G_path_prog
303 _G_path_prog_max=$_G_count
304 fi
305 # 10*(2^10) chars as input seems more than enough
306 test 10 -lt "$_G_count" && break
307 done
308 rm -f conftest.in conftest.tmp conftest.nl conftest.out
309 }
310
311 func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin"
312 GREP=$func_path_progs_result
313 }
314
315
316 ## ------------------------------- ##
317 ## User overridable command paths. ##
318 ## ------------------------------- ##
319
320 # All uppercase variable names are used for environment variables. These
321 # variables can be overridden by the user before calling a script that
322 # uses them if a suitable command of that name is not already available
323 # in the command search PATH.
324
325 : ${CP="cp -f"}
326 : ${ECHO="printf %s\n"}
327 : ${EGREP="$GREP -E"}
328 : ${FGREP="$GREP -F"}
329 : ${LN_S="ln -s"}
330 : ${MAKE="make"}
331 : ${MKDIR="mkdir"}
332 : ${MV="mv -f"}
333 : ${RM="rm -f"}
334 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
335
336
337 ## -------------------- ##
338 ## Useful sed snippets. ##
339 ## -------------------- ##
340
341 sed_dirname='s|/[^/]*$||'
342 sed_basename='s|^.*/||'
343
344 # Sed substitution that helps us do robust quoting. It backslashifies
345 # metacharacters that are still active within double-quoted strings.
346 sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
347
348 # Same as above, but do not quote variable references.
349 sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
350
351 # Sed substitution that turns a string into a regex matching for the
352 # string literally.
353 sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
354
355 # Sed substitution that converts a w32 file name or path
356 # that contains forward slashes, into one that contains
357 # (escaped) backslashes. A very naive implementation.
358 sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
359
360 # Re-'\' parameter expansions in output of sed_double_quote_subst that
361 # were '\'-ed in input to the same. If an odd number of '\' preceded a
362 # '$' in input to sed_double_quote_subst, that '$' was protected from
363 # expansion. Since each input '\' is now two '\'s, look for any number
364 # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
365 _G_bs='\\'
366 _G_bs2='\\\\'
367 _G_bs4='\\\\\\\\'
368 _G_dollar='\$'
369 sed_double_backslash="\
370 s/$_G_bs4/&\\
371 /g
372 s/^$_G_bs2$_G_dollar/$_G_bs&/
373 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
374 s/\n//g"
375
376 # require_check_ifs_backslash
377 # ---------------------------
378 # Check if we can use backslash as IFS='\' separator, and set
379 # $check_ifs_backshlash_broken to ':' or 'false'.
380 require_check_ifs_backslash=func_require_check_ifs_backslash
381 func_require_check_ifs_backslash ()
382 {
383 _G_save_IFS=$IFS
384 IFS='\'
385 _G_check_ifs_backshlash='a\\b'
386 for _G_i in $_G_check_ifs_backshlash
387 do
388 case $_G_i in
389 a)
390 check_ifs_backshlash_broken=false
391 ;;
392 '')
393 break
394 ;;
395 *)
396 check_ifs_backshlash_broken=:
397 break
398 ;;
399 esac
400 done
401 IFS=$_G_save_IFS
402 require_check_ifs_backslash=:
403 }
404
405
406 ## ----------------- ##
407 ## Global variables. ##
408 ## ----------------- ##
409
410 # Except for the global variables explicitly listed below, the following
411 # functions in the '^func_' namespace, and the '^require_' namespace
412 # variables initialised in the 'Resource management' section, sourcing
413 # this file will not pollute your global namespace with anything
414 # else. There's no portable way to scope variables in Bourne shell
415 # though, so actually running these functions will sometimes place
416 # results into a variable named after the function, and often use
417 # temporary variables in the '^_G_' namespace. If you are careful to
418 # avoid using those namespaces casually in your sourcing script, things
419 # should continue to work as you expect. And, of course, you can freely
420 # overwrite any of the functions or variables defined here before
421 # calling anything to customize them.
422
423 EXIT_SUCCESS=0
424 EXIT_FAILURE=1
425 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
426 EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
427
428 # Allow overriding, eg assuming that you follow the convention of
429 # putting '$debug_cmd' at the start of all your functions, you can get
430 # bash to show function call trace with:
431 #
432 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
433 debug_cmd=${debug_cmd-":"}
434 exit_cmd=:
435
436 # By convention, finish your script with:
437 #
438 # exit $exit_status
439 #
440 # so that you can set exit_status to non-zero if you want to indicate
441 # something went wrong during execution without actually bailing out at
442 # the point of failure.
443 exit_status=$EXIT_SUCCESS
444
445 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
446 # is ksh but when the shell is invoked as "sh" and the current value of
447 # the _XPG environment variable is not equal to 1 (one), the special
448 # positional parameter $0, within a function call, is the name of the
449 # function.
450 progpath=$0
451
452 # The name of this program.
453 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
454
455 # Make sure we have an absolute progpath for reexecution:
456 case $progpath in
457 [\\/]*|[A-Za-z]:\\*) ;;
458 *[\\/]*)
459 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
460 progdir=`cd "$progdir" && pwd`
461 progpath=$progdir/$progname
462 ;;
463 *)
464 _G_IFS=$IFS
465 IFS=${PATH_SEPARATOR-:}
466 for progdir in $PATH; do
467 IFS=$_G_IFS
468 test -x "$progdir/$progname" && break
469 done
470 IFS=$_G_IFS
471 test -n "$progdir" || progdir=`pwd`
472 progpath=$progdir/$progname
473 ;;
474 esac
475
476
477 ## ----------------- ##
478 ## Standard options. ##
479 ## ----------------- ##
480
481 # The following options affect the operation of the functions defined
482 # below, and should be set appropriately depending on run-time para-
483 # meters passed on the command line.
484
485 opt_dry_run=false
486 opt_quiet=false
487 opt_verbose=false
488
489 # Categories 'all' and 'none' are always available. Append any others
490 # you will pass as the first argument to func_warning from your own
491 # code.
492 warning_categories=
493
494 # By default, display warnings according to 'opt_warning_types'. Set
495 # 'warning_func' to ':' to elide all warnings, or func_fatal_error to
496 # treat the next displayed warning as a fatal error.
497 warning_func=func_warn_and_continue
498
499 # Set to 'all' to display all warnings, 'none' to suppress all
500 # warnings, or a space delimited list of some subset of
501 # 'warning_categories' to display only the listed warnings.
502 opt_warning_types=all
503
504
505 ## -------------------- ##
506 ## Resource management. ##
507 ## -------------------- ##
508
509 # This section contains definitions for functions that each ensure a
510 # particular resource (a file, or a non-empty configuration variable for
511 # example) is available, and if appropriate to extract default values
512 # from pertinent package files. Call them using their associated
513 # 'require_*' variable to ensure that they are executed, at most, once.
514 #
515 # It's entirely deliberate that calling these functions can set
516 # variables that don't obey the namespace limitations obeyed by the rest
517 # of this file, in order that that they be as useful as possible to
518 # callers.
519
520
521 # require_term_colors
522 # -------------------
523 # Allow display of bold text on terminals that support it.
524 require_term_colors=func_require_term_colors
525 func_require_term_colors ()
526 {
527 $debug_cmd
528
529 test -t 1 && {
530 # COLORTERM and USE_ANSI_COLORS environment variables take
531 # precedence, because most terminfo databases neglect to describe
532 # whether color sequences are supported.
533 test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
534
535 if test 1 = "$USE_ANSI_COLORS"; then
536 # Standard ANSI escape sequences
537 tc_reset=''
538 tc_bold=''; tc_standout=''
539 tc_red=''; tc_green=''
540 tc_blue=''; tc_cyan=''
541 else
542 # Otherwise trust the terminfo database after all.
543 test -n "`tput sgr0 2>/dev/null`" && {
544 tc_reset=`tput sgr0`
545 test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
546 tc_standout=$tc_bold
547 test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
548 test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
549 test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
550 test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
551 test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
552 }
553 fi
554 }
555
556 require_term_colors=:
557 }
558
559
560 ## ----------------- ##
561 ## Function library. ##
562 ## ----------------- ##
563
564 # This section contains a variety of useful functions to call in your
565 # scripts. Take note of the portable wrappers for features provided by
566 # some modern shells, which will fall back to slower equivalents on
567 # less featureful shells.
568
569
570 # func_append VAR VALUE
571 # ---------------------
572 # Append VALUE onto the existing contents of VAR.
573
574 # We should try to minimise forks, especially on Windows where they are
575 # unreasonably slow, so skip the feature probes when bash or zsh are
576 # being used:
577 if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
578 : ${_G_HAVE_ARITH_OP="yes"}
579 : ${_G_HAVE_XSI_OPS="yes"}
580 # The += operator was introduced in bash 3.1
581 case $BASH_VERSION in
582 [12].* | 3.0 | 3.0*) ;;
583 *)
584 : ${_G_HAVE_PLUSEQ_OP="yes"}
585 ;;
586 esac
587 fi
588
589 # _G_HAVE_PLUSEQ_OP
590 # Can be empty, in which case the shell is probed, "yes" if += is
591 # useable or anything else if it does not work.
592 test -z "$_G_HAVE_PLUSEQ_OP" \
593 && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
594 && _G_HAVE_PLUSEQ_OP=yes
595
596 if test yes = "$_G_HAVE_PLUSEQ_OP"
597 then
598 # This is an XSI compatible shell, allowing a faster implementation...
599 eval 'func_append ()
600 {
601 $debug_cmd
602
603 eval "$1+=\$2"
604 }'
605 else
606 # ...otherwise fall back to using expr, which is often a shell builtin.
607 func_append ()
608 {
609 $debug_cmd
610
611 eval "$1=\$$1\$2"
612 }
613 fi
614
615
616 # func_append_quoted VAR VALUE
617 # ----------------------------
618 # Quote VALUE and append to the end of shell variable VAR, separated
619 # by a space.
620 if test yes = "$_G_HAVE_PLUSEQ_OP"; then
621 eval 'func_append_quoted ()
622 {
623 $debug_cmd
624
625 func_quote_arg pretty "$2"
626 eval "$1+=\\ \$func_quote_arg_result"
627 }'
628 else
629 func_append_quoted ()
630 {
631 $debug_cmd
632
633 func_quote_arg pretty "$2"
634 eval "$1=\$$1\\ \$func_quote_arg_result"
635 }
636 fi
637
638
639 # func_append_uniq VAR VALUE
640 # --------------------------
641 # Append unique VALUE onto the existing contents of VAR, assuming
642 # entries are delimited by the first character of VALUE. For example:
643 #
644 # func_append_uniq options " --another-option option-argument"
645 #
646 # will only append to $options if " --another-option option-argument "
647 # is not already present somewhere in $options already (note spaces at
648 # each end implied by leading space in second argument).
649 func_append_uniq ()
650 {
651 $debug_cmd
652
653 eval _G_current_value='`$ECHO $'$1'`'
654 _G_delim=`expr "$2" : '\(.\)'`
655
656 case $_G_delim$_G_current_value$_G_delim in
657 *"$2$_G_delim"*) ;;
658 *) func_append "$@" ;;
659 esac
660 }
661
662
663 # func_arith TERM...
664 # ------------------
665 # Set func_arith_result to the result of evaluating TERMs.
666 test -z "$_G_HAVE_ARITH_OP" \
667 && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
668 && _G_HAVE_ARITH_OP=yes
669
670 if test yes = "$_G_HAVE_ARITH_OP"; then
671 eval 'func_arith ()
672 {
673 $debug_cmd
674
675 func_arith_result=$(( $* ))
676 }'
677 else
678 func_arith ()
679 {
680 $debug_cmd
681
682 func_arith_result=`expr "$@"`
683 }
684 fi
685
686
687 # func_basename FILE
688 # ------------------
689 # Set func_basename_result to FILE with everything up to and including
690 # the last / stripped.
691 if test yes = "$_G_HAVE_XSI_OPS"; then
692 # If this shell supports suffix pattern removal, then use it to avoid
693 # forking. Hide the definitions single quotes in case the shell chokes
694 # on unsupported syntax...
695 _b='func_basename_result=${1##*/}'
696 _d='case $1 in
697 */*) func_dirname_result=${1%/*}$2 ;;
698 * ) func_dirname_result=$3 ;;
699 esac'
700
701 else
702 # ...otherwise fall back to using sed.
703 _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
704 _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
705 if test "X$func_dirname_result" = "X$1"; then
706 func_dirname_result=$3
707 else
708 func_append func_dirname_result "$2"
709 fi'
710 fi
711
712 eval 'func_basename ()
713 {
714 $debug_cmd
715
716 '"$_b"'
717 }'
718
719
720 # func_dirname FILE APPEND NONDIR_REPLACEMENT
721 # -------------------------------------------
722 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
723 # otherwise set result to NONDIR_REPLACEMENT.
724 eval 'func_dirname ()
725 {
726 $debug_cmd
727
728 '"$_d"'
729 }'
730
731
732 # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
733 # --------------------------------------------------------
734 # Perform func_basename and func_dirname in a single function
735 # call:
736 # dirname: Compute the dirname of FILE. If nonempty,
737 # add APPEND to the result, otherwise set result
738 # to NONDIR_REPLACEMENT.
739 # value returned in "$func_dirname_result"
740 # basename: Compute filename of FILE.
741 # value retuned in "$func_basename_result"
742 # For efficiency, we do not delegate to the functions above but instead
743 # duplicate the functionality here.
744 eval 'func_dirname_and_basename ()
745 {
746 $debug_cmd
747
748 '"$_b"'
749 '"$_d"'
750 }'
751
752
753 # func_echo ARG...
754 # ----------------
755 # Echo program name prefixed message.
756 func_echo ()
757 {
758 $debug_cmd
759
760 _G_message=$*
761
762 func_echo_IFS=$IFS
763 IFS=$nl
764 for _G_line in $_G_message; do
765 IFS=$func_echo_IFS
766 $ECHO "$progname: $_G_line"
767 done
768 IFS=$func_echo_IFS
769 }
770
771
772 # func_echo_all ARG...
773 # --------------------
774 # Invoke $ECHO with all args, space-separated.
775 func_echo_all ()
776 {
777 $ECHO "$*"
778 }
779
780
781 # func_echo_infix_1 INFIX ARG...
782 # ------------------------------
783 # Echo program name, followed by INFIX on the first line, with any
784 # additional lines not showing INFIX.
785 func_echo_infix_1 ()
786 {
787 $debug_cmd
788
789 $require_term_colors
790
791 _G_infix=$1; shift
792 _G_indent=$_G_infix
793 _G_prefix="$progname: $_G_infix: "
794 _G_message=$*
795
796 # Strip color escape sequences before counting printable length
797 for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
798 do
799 test -n "$_G_tc" && {
800 _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
801 _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
802 }
803 done
804 _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
805
806 func_echo_infix_1_IFS=$IFS
807 IFS=$nl
808 for _G_line in $_G_message; do
809 IFS=$func_echo_infix_1_IFS
810 $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
811 _G_prefix=$_G_indent
812 done
813 IFS=$func_echo_infix_1_IFS
814 }
815
816
817 # func_error ARG...
818 # -----------------
819 # Echo program name prefixed message to standard error.
820 func_error ()
821 {
822 $debug_cmd
823
824 $require_term_colors
825
826 func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
827 }
828
829
830 # func_fatal_error ARG...
831 # -----------------------
832 # Echo program name prefixed message to standard error, and exit.
833 func_fatal_error ()
834 {
835 $debug_cmd
836
837 func_error "$*"
838 exit $EXIT_FAILURE
839 }
840
841
842 # func_grep EXPRESSION FILENAME
843 # -----------------------------
844 # Check whether EXPRESSION matches any line of FILENAME, without output.
845 func_grep ()
846 {
847 $debug_cmd
848
849 $GREP "$1" "$2" >/dev/null 2>&1
850 }
851
852
853 # func_len STRING
854 # ---------------
855 # Set func_len_result to the length of STRING. STRING may not
856 # start with a hyphen.
857 test -z "$_G_HAVE_XSI_OPS" \
858 && (eval 'x=a/b/c;
859 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
860 && _G_HAVE_XSI_OPS=yes
861
862 if test yes = "$_G_HAVE_XSI_OPS"; then
863 eval 'func_len ()
864 {
865 $debug_cmd
866
867 func_len_result=${#1}
868 }'
869 else
870 func_len ()
871 {
872 $debug_cmd
873
874 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
875 }
876 fi
877
878
879 # func_mkdir_p DIRECTORY-PATH
880 # ---------------------------
881 # Make sure the entire path to DIRECTORY-PATH is available.
882 func_mkdir_p ()
883 {
884 $debug_cmd
885
886 _G_directory_path=$1
887 _G_dir_list=
888
889 if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
890
891 # Protect directory names starting with '-'
892 case $_G_directory_path in
893 -*) _G_directory_path=./$_G_directory_path ;;
894 esac
895
896 # While some portion of DIR does not yet exist...
897 while test ! -d "$_G_directory_path"; do
898 # ...make a list in topmost first order. Use a colon delimited
899 # list incase some portion of path contains whitespace.
900 _G_dir_list=$_G_directory_path:$_G_dir_list
901
902 # If the last portion added has no slash in it, the list is done
903 case $_G_directory_path in */*) ;; *) break ;; esac
904
905 # ...otherwise throw away the child directory and loop
906 _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
907 done
908 _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
909
910 func_mkdir_p_IFS=$IFS; IFS=:
911 for _G_dir in $_G_dir_list; do
912 IFS=$func_mkdir_p_IFS
913 # mkdir can fail with a 'File exist' error if two processes
914 # try to create one of the directories concurrently. Don't
915 # stop in that case!
916 $MKDIR "$_G_dir" 2>/dev/null || :
917 done
918 IFS=$func_mkdir_p_IFS
919
920 # Bail out if we (or some other process) failed to create a directory.
921 test -d "$_G_directory_path" || \
922 func_fatal_error "Failed to create '$1'"
923 fi
924 }
925
926
927 # func_mktempdir [BASENAME]
928 # -------------------------
929 # Make a temporary directory that won't clash with other running
930 # libtool processes, and avoids race conditions if possible. If
931 # given, BASENAME is the basename for that directory.
932 func_mktempdir ()
933 {
934 $debug_cmd
935
936 _G_template=${TMPDIR-/tmp}/${1-$progname}
937
938 if test : = "$opt_dry_run"; then
939 # Return a directory name, but don't create it in dry-run mode
940 _G_tmpdir=$_G_template-$$
941 else
942
943 # If mktemp works, use that first and foremost
944 _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
945
946 if test ! -d "$_G_tmpdir"; then
947 # Failing that, at least try and use $RANDOM to avoid a race
948 _G_tmpdir=$_G_template-${RANDOM-0}$$
949
950 func_mktempdir_umask=`umask`
951 umask 0077
952 $MKDIR "$_G_tmpdir"
953 umask $func_mktempdir_umask
954 fi
955
956 # If we're not in dry-run mode, bomb out on failure
957 test -d "$_G_tmpdir" || \
958 func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
959 fi
960
961 $ECHO "$_G_tmpdir"
962 }
963
964
965 # func_normal_abspath PATH
966 # ------------------------
967 # Remove doubled-up and trailing slashes, "." path components,
968 # and cancel out any ".." path components in PATH after making
969 # it an absolute path.
970 func_normal_abspath ()
971 {
972 $debug_cmd
973
974 # These SED scripts presuppose an absolute path with a trailing slash.
975 _G_pathcar='s|^/\([^/]*\).*$|\1|'
976 _G_pathcdr='s|^/[^/]*||'
977 _G_removedotparts=':dotsl
978 s|/\./|/|g
979 t dotsl
980 s|/\.$|/|'
981 _G_collapseslashes='s|/\{1,\}|/|g'
982 _G_finalslash='s|/*$|/|'
983
984 # Start from root dir and reassemble the path.
985 func_normal_abspath_result=
986 func_normal_abspath_tpath=$1
987 func_normal_abspath_altnamespace=
988 case $func_normal_abspath_tpath in
989 "")
990 # Empty path, that just means $cwd.
991 func_stripname '' '/' "`pwd`"
992 func_normal_abspath_result=$func_stripname_result
993 return
994 ;;
995 # The next three entries are used to spot a run of precisely
996 # two leading slashes without using negated character classes;
997 # we take advantage of case's first-match behaviour.
998 ///*)
999 # Unusual form of absolute path, do nothing.
1000 ;;
1001 //*)
1002 # Not necessarily an ordinary path; POSIX reserves leading '//'
1003 # and for example Cygwin uses it to access remote file shares
1004 # over CIFS/SMB, so we conserve a leading double slash if found.
1005 func_normal_abspath_altnamespace=/
1006 ;;
1007 /*)
1008 # Absolute path, do nothing.
1009 ;;
1010 *)
1011 # Relative path, prepend $cwd.
1012 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
1013 ;;
1014 esac
1015
1016 # Cancel out all the simple stuff to save iterations. We also want
1017 # the path to end with a slash for ease of parsing, so make sure
1018 # there is one (and only one) here.
1019 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
1020 -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
1021 while :; do
1022 # Processed it all yet?
1023 if test / = "$func_normal_abspath_tpath"; then
1024 # If we ascended to the root using ".." the result may be empty now.
1025 if test -z "$func_normal_abspath_result"; then
1026 func_normal_abspath_result=/
1027 fi
1028 break
1029 fi
1030 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
1031 -e "$_G_pathcar"`
1032 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
1033 -e "$_G_pathcdr"`
1034 # Figure out what to do with it
1035 case $func_normal_abspath_tcomponent in
1036 "")
1037 # Trailing empty path component, ignore it.
1038 ;;
1039 ..)
1040 # Parent dir; strip last assembled component from result.
1041 func_dirname "$func_normal_abspath_result"
1042 func_normal_abspath_result=$func_dirname_result
1043 ;;
1044 *)
1045 # Actual path component, append it.
1046 func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
1047 ;;
1048 esac
1049 done
1050 # Restore leading double-slash if one was found on entry.
1051 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
1052 }
1053
1054
1055 # func_notquiet ARG...
1056 # --------------------
1057 # Echo program name prefixed message only when not in quiet mode.
1058 func_notquiet ()
1059 {
1060 $debug_cmd
1061
1062 $opt_quiet || func_echo ${1+"$@"}
1063
1064 # A bug in bash halts the script if the last line of a function
1065 # fails when set -e is in force, so we need another command to
1066 # work around that:
1067 :
1068 }
1069
1070
1071 # func_relative_path SRCDIR DSTDIR
1072 # --------------------------------
1073 # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
1074 func_relative_path ()
1075 {
1076 $debug_cmd
1077
1078 func_relative_path_result=
1079 func_normal_abspath "$1"
1080 func_relative_path_tlibdir=$func_normal_abspath_result
1081 func_normal_abspath "$2"
1082 func_relative_path_tbindir=$func_normal_abspath_result
1083
1084 # Ascend the tree starting from libdir
1085 while :; do
1086 # check if we have found a prefix of bindir
1087 case $func_relative_path_tbindir in
1088 $func_relative_path_tlibdir)
1089 # found an exact match
1090 func_relative_path_tcancelled=
1091 break
1092 ;;
1093 $func_relative_path_tlibdir*)
1094 # found a matching prefix
1095 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
1096 func_relative_path_tcancelled=$func_stripname_result
1097 if test -z "$func_relative_path_result"; then
1098 func_relative_path_result=.
1099 fi
1100 break
1101 ;;
1102 *)
1103 func_dirname $func_relative_path_tlibdir
1104 func_relative_path_tlibdir=$func_dirname_result
1105 if test -z "$func_relative_path_tlibdir"; then
1106 # Have to descend all the way to the root!
1107 func_relative_path_result=../$func_relative_path_result
1108 func_relative_path_tcancelled=$func_relative_path_tbindir
1109 break
1110 fi
1111 func_relative_path_result=../$func_relative_path_result
1112 ;;
1113 esac
1114 done
1115
1116 # Now calculate path; take care to avoid doubling-up slashes.
1117 func_stripname '' '/' "$func_relative_path_result"
1118 func_relative_path_result=$func_stripname_result
1119 func_stripname '/' '/' "$func_relative_path_tcancelled"
1120 if test -n "$func_stripname_result"; then
1121 func_append func_relative_path_result "/$func_stripname_result"
1122 fi
1123
1124 # Normalisation. If bindir is libdir, return '.' else relative path.
1125 if test -n "$func_relative_path_result"; then
1126 func_stripname './' '' "$func_relative_path_result"
1127 func_relative_path_result=$func_stripname_result
1128 fi
1129
1130 test -n "$func_relative_path_result" || func_relative_path_result=.
1131
1132 :
1133 }
1134
1135
1136 # func_quote_portable EVAL ARG
1137 # ----------------------------
1138 # Internal function to portably implement func_quote_arg. Note that we still
1139 # keep attention to performance here so we as much as possible try to avoid
1140 # calling sed binary (so far O(N) complexity as long as func_append is O(1)).
1141 func_quote_portable ()
1142 {
1143 $debug_cmd
1144
1145 $require_check_ifs_backslash
1146
1147 func_quote_portable_result=$2
1148
1149 # one-time-loop (easy break)
1150 while true
1151 do
1152 if $1; then
1153 func_quote_portable_result=`$ECHO "$2" | $SED \
1154 -e "$sed_double_quote_subst" -e "$sed_double_backslash"`
1155 break
1156 fi
1157
1158 # Quote for eval.
1159 case $func_quote_portable_result in
1160 *[\\\`\"\$]*)
1161 # Fallback to sed for $func_check_bs_ifs_broken=:, or when the string
1162 # contains the shell wildcard characters.
1163 case $check_ifs_backshlash_broken$func_quote_portable_result in
1164 :*|*[\[\*\?]*)
1165 func_quote_portable_result=`$ECHO "$func_quote_portable_result" \
1166 | $SED "$sed_quote_subst"`
1167 break
1168 ;;
1169 esac
1170
1171 func_quote_portable_old_IFS=$IFS
1172 for _G_char in '\' '`' '"' '$'
1173 do
1174 # STATE($1) PREV($2) SEPARATOR($3)
1175 set start "" ""
1176 func_quote_portable_result=dummy"$_G_char$func_quote_portable_result$_G_char"dummy
1177 IFS=$_G_char
1178 for _G_part in $func_quote_portable_result
1179 do
1180 case $1 in
1181 quote)
1182 func_append func_quote_portable_result "$3$2"
1183 set quote "$_G_part" "\\$_G_char"
1184 ;;
1185 start)
1186 set first "" ""
1187 func_quote_portable_result=
1188 ;;
1189 first)
1190 set quote "$_G_part" ""
1191 ;;
1192 esac
1193 done
1194 done
1195 IFS=$func_quote_portable_old_IFS
1196 ;;
1197 *) ;;
1198 esac
1199 break
1200 done
1201
1202 func_quote_portable_unquoted_result=$func_quote_portable_result
1203 case $func_quote_portable_result in
1204 # double-quote args containing shell metacharacters to delay
1205 # word splitting, command substitution and variable expansion
1206 # for a subsequent eval.
1207 # many bourne shells cannot handle close brackets correctly
1208 # in scan sets, so we specify it separately.
1209 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1210 func_quote_portable_result=\"$func_quote_portable_result\"
1211 ;;
1212 esac
1213 }
1214
1215
1216 # func_quotefast_eval ARG
1217 # -----------------------
1218 # Quote one ARG (internal). This is equivalent to 'func_quote_arg eval ARG',
1219 # but optimized for speed. Result is stored in $func_quotefast_eval.
1220 if test xyes = `(x=; printf -v x %q yes; echo x"$x") 2>/dev/null`; then
1221 printf -v _GL_test_printf_tilde %q '~'
1222 if test '\~' = "$_GL_test_printf_tilde"; then
1223 func_quotefast_eval ()
1224 {
1225 printf -v func_quotefast_eval_result %q "$1"
1226 }
1227 else
1228 # Broken older Bash implementations. Make those faster too if possible.
1229 func_quotefast_eval ()
1230 {
1231 case $1 in
1232 '~'*)
1233 func_quote_portable false "$1"
1234 func_quotefast_eval_result=$func_quote_portable_result
1235 ;;
1236 *)
1237 printf -v func_quotefast_eval_result %q "$1"
1238 ;;
1239 esac
1240 }
1241 fi
1242 else
1243 func_quotefast_eval ()
1244 {
1245 func_quote_portable false "$1"
1246 func_quotefast_eval_result=$func_quote_portable_result
1247 }
1248 fi
1249
1250
1251 # func_quote_arg MODEs ARG
1252 # ------------------------
1253 # Quote one ARG to be evaled later. MODEs argument may contain zero or more
1254 # specifiers listed below separated by ',' character. This function returns two
1255 # values:
1256 # i) func_quote_arg_result
1257 # double-quoted (when needed), suitable for a subsequent eval
1258 # ii) func_quote_arg_unquoted_result
1259 # has all characters that are still active within double
1260 # quotes backslashified. Available only if 'unquoted' is specified.
1261 #
1262 # Available modes:
1263 # ----------------
1264 # 'eval' (default)
1265 # - escape shell special characters
1266 # 'expand'
1267 # - the same as 'eval'; but do not quote variable references
1268 # 'pretty'
1269 # - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might
1270 # be used later in func_quote to get output like: 'echo "a b"' instead
1271 # of 'echo a\ b'. This is slower than default on some shells.
1272 # 'unquoted'
1273 # - produce also $func_quote_arg_unquoted_result which does not contain
1274 # wrapping double-quotes.
1275 #
1276 # Examples for 'func_quote_arg pretty,unquoted string':
1277 #
1278 # string | *_result | *_unquoted_result
1279 # ------------+-----------------------+-------------------
1280 # " | \" | \"
1281 # a b | "a b" | a b
1282 # "a b" | "\"a b\"" | \"a b\"
1283 # * | "*" | *
1284 # z="${x-$y}" | "z=\"\${x-\$y}\"" | z=\"\${x-\$y}\"
1285 #
1286 # Examples for 'func_quote_arg pretty,unquoted,expand string':
1287 #
1288 # string | *_result | *_unquoted_result
1289 # --------------+---------------------+--------------------
1290 # z="${x-$y}" | "z=\"${x-$y}\"" | z=\"${x-$y}\"
1291 func_quote_arg ()
1292 {
1293 _G_quote_expand=false
1294 case ,$1, in
1295 *,expand,*)
1296 _G_quote_expand=:
1297 ;;
1298 esac
1299
1300 case ,$1, in
1301 *,pretty,*|*,expand,*|*,unquoted,*)
1302 func_quote_portable $_G_quote_expand "$2"
1303 func_quote_arg_result=$func_quote_portable_result
1304 func_quote_arg_unquoted_result=$func_quote_portable_unquoted_result
1305 ;;
1306 *)
1307 # Faster quote-for-eval for some shells.
1308 func_quotefast_eval "$2"
1309 func_quote_arg_result=$func_quotefast_eval_result
1310 ;;
1311 esac
1312 }
1313
1314
1315 # func_quote MODEs ARGs...
1316 # ------------------------
1317 # Quote all ARGs to be evaled later and join them into single command. See
1318 # func_quote_arg's description for more info.
1319 func_quote ()
1320 {
1321 $debug_cmd
1322 _G_func_quote_mode=$1 ; shift
1323 func_quote_result=
1324 while test 0 -lt $#; do
1325 func_quote_arg "$_G_func_quote_mode" "$1"
1326 if test -n "$func_quote_result"; then
1327 func_append func_quote_result " $func_quote_arg_result"
1328 else
1329 func_append func_quote_result "$func_quote_arg_result"
1330 fi
1331 shift
1332 done
1333 }
1334
1335
1336 # func_stripname PREFIX SUFFIX NAME
1337 # ---------------------------------
1338 # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
1339 # PREFIX and SUFFIX must not contain globbing or regex special
1340 # characters, hashes, percent signs, but SUFFIX may contain a leading
1341 # dot (in which case that matches only a dot).
1342 if test yes = "$_G_HAVE_XSI_OPS"; then
1343 eval 'func_stripname ()
1344 {
1345 $debug_cmd
1346
1347 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1348 # positional parameters, so assign one to ordinary variable first.
1349 func_stripname_result=$3
1350 func_stripname_result=${func_stripname_result#"$1"}
1351 func_stripname_result=${func_stripname_result%"$2"}
1352 }'
1353 else
1354 func_stripname ()
1355 {
1356 $debug_cmd
1357
1358 case $2 in
1359 .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
1360 *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
1361 esac
1362 }
1363 fi
1364
1365
1366 # func_show_eval CMD [FAIL_EXP]
1367 # -----------------------------
1368 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
1369 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1370 # is given, then evaluate it.
1371 func_show_eval ()
1372 {
1373 $debug_cmd
1374
1375 _G_cmd=$1
1376 _G_fail_exp=${2-':'}
1377
1378 func_quote_arg pretty,expand "$_G_cmd"
1379 eval "func_notquiet $func_quote_arg_result"
1380
1381 $opt_dry_run || {
1382 eval "$_G_cmd"
1383 _G_status=$?
1384 if test 0 -ne "$_G_status"; then
1385 eval "(exit $_G_status); $_G_fail_exp"
1386 fi
1387 }
1388 }
1389
1390
1391 # func_show_eval_locale CMD [FAIL_EXP]
1392 # ------------------------------------
1393 # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
1394 # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
1395 # is given, then evaluate it. Use the saved locale for evaluation.
1396 func_show_eval_locale ()
1397 {
1398 $debug_cmd
1399
1400 _G_cmd=$1
1401 _G_fail_exp=${2-':'}
1402
1403 $opt_quiet || {
1404 func_quote_arg expand,pretty "$_G_cmd"
1405 eval "func_echo $func_quote_arg_result"
1406 }
1407
1408 $opt_dry_run || {
1409 eval "$_G_user_locale
1410 $_G_cmd"
1411 _G_status=$?
1412 eval "$_G_safe_locale"
1413 if test 0 -ne "$_G_status"; then
1414 eval "(exit $_G_status); $_G_fail_exp"
1415 fi
1416 }
1417 }
1418
1419
1420 # func_tr_sh
1421 # ----------
1422 # Turn $1 into a string suitable for a shell variable name.
1423 # Result is stored in $func_tr_sh_result. All characters
1424 # not in the set a-zA-Z0-9_ are replaced with '_'. Further,
1425 # if $1 begins with a digit, a '_' is prepended as well.
1426 func_tr_sh ()
1427 {
1428 $debug_cmd
1429
1430 case $1 in
1431 [0-9]* | *[!a-zA-Z0-9_]*)
1432 func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
1433 ;;
1434 * )
1435 func_tr_sh_result=$1
1436 ;;
1437 esac
1438 }
1439
1440
1441 # func_verbose ARG...
1442 # -------------------
1443 # Echo program name prefixed message in verbose mode only.
1444 func_verbose ()
1445 {
1446 $debug_cmd
1447
1448 $opt_verbose && func_echo "$*"
1449
1450 :
1451 }
1452
1453
1454 # func_warn_and_continue ARG...
1455 # -----------------------------
1456 # Echo program name prefixed warning message to standard error.
1457 func_warn_and_continue ()
1458 {
1459 $debug_cmd
1460
1461 $require_term_colors
1462
1463 func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
1464 }
1465
1466
1467 # func_warning CATEGORY ARG...
1468 # ----------------------------
1469 # Echo program name prefixed warning message to standard error. Warning
1470 # messages can be filtered according to CATEGORY, where this function
1471 # elides messages where CATEGORY is not listed in the global variable
1472 # 'opt_warning_types'.
1473 func_warning ()
1474 {
1475 $debug_cmd
1476
1477 # CATEGORY must be in the warning_categories list!
1478 case " $warning_categories " in
1479 *" $1 "*) ;;
1480 *) func_internal_error "invalid warning category '$1'" ;;
1481 esac
1482
1483 _G_category=$1
1484 shift
1485
1486 case " $opt_warning_types " in
1487 *" $_G_category "*) $warning_func ${1+"$@"} ;;
1488 esac
1489 }
1490
1491
1492 # func_sort_ver VER1 VER2
1493 # -----------------------
1494 # 'sort -V' is not generally available.
1495 # Note this deviates from the version comparison in automake
1496 # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
1497 # but this should suffice as we won't be specifying old
1498 # version formats or redundant trailing .0 in bootstrap.conf.
1499 # If we did want full compatibility then we should probably
1500 # use m4_version_compare from autoconf.
1501 func_sort_ver ()
1502 {
1503 $debug_cmd
1504
1505 printf '%s\n%s\n' "$1" "$2" \
1506 | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
1507 }
1508
1509 # func_lt_ver PREV CURR
1510 # ---------------------
1511 # Return true if PREV and CURR are in the correct order according to
1512 # func_sort_ver, otherwise false. Use it like this:
1513 #
1514 # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
1515 func_lt_ver ()
1516 {
1517 $debug_cmd
1518
1519 test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
1520 }
1521
1522
1523 # Local variables:
1524 # mode: shell-script
1525 # sh-indentation: 2
1526 # eval: (add-hook 'before-save-hook 'time-stamp)
1527 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
1528 # time-stamp-time-zone: "UTC"
1529 # End:
1530 #! /bin/sh
1531
1532 # A portable, pluggable option parser for Bourne shell.
1533 # Written by Gary V. Vaughan, 2010
1534
1535 # This is free software. There is NO warranty; not even for
1536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1537 #
1538 # Copyright (C) 2010-2019, 2021 Bootstrap Authors
1539 #
1540 # This file is dual licensed under the terms of the MIT license
1541 # <https://opensource.org/license/MIT>, and GPL version 2 or later
1542 # <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of
1543 # these licenses when using or redistributing this software or any of
1544 # the files within it. See the URLs above, or the file `LICENSE`
1545 # included in the Bootstrap distribution for the full license texts.
1546
1547 # Please report bugs or propose patches to:
1548 # <https://github.com/gnulib-modules/bootstrap/issues>
1549
1550 # Set a version string for this script.
1551 scriptversion=2019-02-19.15; # UTC
1552
1553
1554 ## ------ ##
1555 ## Usage. ##
1556 ## ------ ##
1557
1558 # This file is a library for parsing options in your shell scripts along
1559 # with assorted other useful supporting features that you can make use
1560 # of too.
1561 #
1562 # For the simplest scripts you might need only:
1563 #
1564 # #!/bin/sh
1565 # . relative/path/to/funclib.sh
1566 # . relative/path/to/options-parser
1567 # scriptversion=1.0
1568 # func_options ${1+"$@"}
1569 # eval set dummy "$func_options_result"; shift
1570 # ...rest of your script...
1571 #
1572 # In order for the '--version' option to work, you will need to have a
1573 # suitably formatted comment like the one at the top of this file
1574 # starting with '# Written by ' and ending with '# Copyright'.
1575 #
1576 # For '-h' and '--help' to work, you will also need a one line
1577 # description of your script's purpose in a comment directly above the
1578 # '# Written by ' line, like the one at the top of this file.
1579 #
1580 # The default options also support '--debug', which will turn on shell
1581 # execution tracing (see the comment above debug_cmd below for another
1582 # use), and '--verbose' and the func_verbose function to allow your script
1583 # to display verbose messages only when your user has specified
1584 # '--verbose'.
1585 #
1586 # After sourcing this file, you can plug in processing for additional
1587 # options by amending the variables from the 'Configuration' section
1588 # below, and following the instructions in the 'Option parsing'
1589 # section further down.
1590
1591 ## -------------- ##
1592 ## Configuration. ##
1593 ## -------------- ##
1594
1595 # You should override these variables in your script after sourcing this
1596 # file so that they reflect the customisations you have added to the
1597 # option parser.
1598
1599 # The usage line for option parsing errors and the start of '-h' and
1600 # '--help' output messages. You can embed shell variables for delayed
1601 # expansion at the time the message is displayed, but you will need to
1602 # quote other shell meta-characters carefully to prevent them being
1603 # expanded when the contents are evaled.
1604 usage='$progpath [OPTION]...'
1605
1606 # Short help message in response to '-h' and '--help'. Add to this or
1607 # override it after sourcing this library to reflect the full set of
1608 # options your script accepts.
1609 usage_message="\
1610 --debug enable verbose shell tracing
1611 -W, --warnings=CATEGORY
1612 report the warnings falling in CATEGORY [all]
1613 -v, --verbose verbosely report processing
1614 --version print version information and exit
1615 -h, --help print short or long help message and exit
1616 "
1617
1618 # Additional text appended to 'usage_message' in response to '--help'.
1619 long_help_message="
1620 Warning categories include:
1621 'all' show all warnings
1622 'none' turn off all the warnings
1623 'error' warnings are treated as fatal errors"
1624
1625 # Help message printed before fatal option parsing errors.
1626 fatal_help="Try '\$progname --help' for more information."
1627
1628
1629
1630 ## ------------------------- ##
1631 ## Hook function management. ##
1632 ## ------------------------- ##
1633
1634 # This section contains functions for adding, removing, and running hooks
1635 # in the main code. A hook is just a list of function names that can be
1636 # run in order later on.
1637
1638 # func_hookable FUNC_NAME
1639 # -----------------------
1640 # Declare that FUNC_NAME will run hooks added with
1641 # 'func_add_hook FUNC_NAME ...'.
1642 func_hookable ()
1643 {
1644 $debug_cmd
1645
1646 func_append hookable_fns " $1"
1647 }
1648
1649
1650 # func_add_hook FUNC_NAME HOOK_FUNC
1651 # ---------------------------------
1652 # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
1653 # first have been declared "hookable" by a call to 'func_hookable'.
1654 func_add_hook ()
1655 {
1656 $debug_cmd
1657
1658 case " $hookable_fns " in
1659 *" $1 "*) ;;
1660 *) func_fatal_error "'$1' does not accept hook functions." ;;
1661 esac
1662
1663 eval func_append ${1}_hooks '" $2"'
1664 }
1665
1666
1667 # func_remove_hook FUNC_NAME HOOK_FUNC
1668 # ------------------------------------
1669 # Remove HOOK_FUNC from the list of hook functions to be called by
1670 # FUNC_NAME.
1671 func_remove_hook ()
1672 {
1673 $debug_cmd
1674
1675 eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
1676 }
1677
1678
1679 # func_propagate_result FUNC_NAME_A FUNC_NAME_B
1680 # ---------------------------------------------
1681 # If the *_result variable of FUNC_NAME_A _is set_, assign its value to
1682 # *_result variable of FUNC_NAME_B.
1683 func_propagate_result ()
1684 {
1685 $debug_cmd
1686
1687 func_propagate_result_result=:
1688 if eval "test \"\${${1}_result+set}\" = set"
1689 then
1690 eval "${2}_result=\$${1}_result"
1691 else
1692 func_propagate_result_result=false
1693 fi
1694 }
1695
1696
1697 # func_run_hooks FUNC_NAME [ARG]...
1698 # ---------------------------------
1699 # Run all hook functions registered to FUNC_NAME.
1700 # It's assumed that the list of hook functions contains nothing more
1701 # than a whitespace-delimited list of legal shell function names, and
1702 # no effort is wasted trying to catch shell meta-characters or preserve
1703 # whitespace.
1704 func_run_hooks ()
1705 {
1706 $debug_cmd
1707
1708 case " $hookable_fns " in
1709 *" $1 "*) ;;
1710 *) func_fatal_error "'$1' does not support hook functions." ;;
1711 esac
1712
1713 eval _G_hook_fns=\$$1_hooks; shift
1714
1715 for _G_hook in $_G_hook_fns; do
1716 func_unset "${_G_hook}_result"
1717 eval $_G_hook '${1+"$@"}'
1718 func_propagate_result $_G_hook func_run_hooks
1719 if $func_propagate_result_result; then
1720 eval set dummy "$func_run_hooks_result"; shift
1721 fi
1722 done
1723 }
1724
1725
1726
1727 ## --------------- ##
1728 ## Option parsing. ##
1729 ## --------------- ##
1730
1731 # In order to add your own option parsing hooks, you must accept the
1732 # full positional parameter list from your hook function. You may remove
1733 # or edit any options that you action, and then pass back the remaining
1734 # unprocessed options in '<hooked_function_name>_result', escaped
1735 # suitably for 'eval'.
1736 #
1737 # The '<hooked_function_name>_result' variable is automatically unset
1738 # before your hook gets called; for best performance, only set the
1739 # *_result variable when necessary (i.e. don't call the 'func_quote'
1740 # function unnecessarily because it can be an expensive operation on some
1741 # machines).
1742 #
1743 # Like this:
1744 #
1745 # my_options_prep ()
1746 # {
1747 # $debug_cmd
1748 #
1749 # # Extend the existing usage message.
1750 # usage_message=$usage_message'
1751 # -s, --silent don'\''t print informational messages
1752 # '
1753 # # No change in '$@' (ignored completely by this hook). Leave
1754 # # my_options_prep_result variable intact.
1755 # }
1756 # func_add_hook func_options_prep my_options_prep
1757 #
1758 #
1759 # my_silent_option ()
1760 # {
1761 # $debug_cmd
1762 #
1763 # args_changed=false
1764 #
1765 # # Note that, for efficiency, we parse as many options as we can
1766 # # recognise in a loop before passing the remainder back to the
1767 # # caller on the first unrecognised argument we encounter.
1768 # while test $# -gt 0; do
1769 # opt=$1; shift
1770 # case $opt in
1771 # --silent|-s) opt_silent=:
1772 # args_changed=:
1773 # ;;
1774 # # Separate non-argument short options:
1775 # -s*) func_split_short_opt "$_G_opt"
1776 # set dummy "$func_split_short_opt_name" \
1777 # "-$func_split_short_opt_arg" ${1+"$@"}
1778 # shift
1779 # args_changed=:
1780 # ;;
1781 # *) # Make sure the first unrecognised option "$_G_opt"
1782 # # is added back to "$@" in case we need it later,
1783 # # if $args_changed was set to 'true'.
1784 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1785 # esac
1786 # done
1787 #
1788 # # Only call 'func_quote' here if we processed at least one argument.
1789 # if $args_changed; then
1790 # func_quote eval ${1+"$@"}
1791 # my_silent_option_result=$func_quote_result
1792 # fi
1793 # }
1794 # func_add_hook func_parse_options my_silent_option
1795 #
1796 #
1797 # my_option_validation ()
1798 # {
1799 # $debug_cmd
1800 #
1801 # $opt_silent && $opt_verbose && func_fatal_help "\
1802 # '--silent' and '--verbose' options are mutually exclusive."
1803 # }
1804 # func_add_hook func_validate_options my_option_validation
1805 #
1806 # You'll also need to manually amend $usage_message to reflect the extra
1807 # options you parse. It's preferable to append if you can, so that
1808 # multiple option parsing hooks can be added safely.
1809
1810
1811 # func_options_finish [ARG]...
1812 # ----------------------------
1813 # Finishing the option parse loop (call 'func_options' hooks ATM).
1814 func_options_finish ()
1815 {
1816 $debug_cmd
1817
1818 func_run_hooks func_options ${1+"$@"}
1819 func_propagate_result func_run_hooks func_options_finish
1820 }
1821
1822
1823 # func_options [ARG]...
1824 # ---------------------
1825 # All the functions called inside func_options are hookable. See the
1826 # individual implementations for details.
1827 func_hookable func_options
1828 func_options ()
1829 {
1830 $debug_cmd
1831
1832 _G_options_quoted=false
1833
1834 for my_func in options_prep parse_options validate_options options_finish
1835 do
1836 func_unset func_${my_func}_result
1837 func_unset func_run_hooks_result
1838 eval func_$my_func '${1+"$@"}'
1839 func_propagate_result func_$my_func func_options
1840 if $func_propagate_result_result; then
1841 eval set dummy "$func_options_result"; shift
1842 _G_options_quoted=:
1843 fi
1844 done
1845
1846 $_G_options_quoted || {
1847 # As we (func_options) are top-level options-parser function and
1848 # nobody quoted "$@" for us yet, we need to do it explicitly for
1849 # caller.
1850 func_quote eval ${1+"$@"}
1851 func_options_result=$func_quote_result
1852 }
1853 }
1854
1855
1856 # func_options_prep [ARG]...
1857 # --------------------------
1858 # All initialisations required before starting the option parse loop.
1859 # Note that when calling hook functions, we pass through the list of
1860 # positional parameters. If a hook function modifies that list, and
1861 # needs to propagate that back to rest of this script, then the complete
1862 # modified list must be put in 'func_run_hooks_result' before returning.
1863 func_hookable func_options_prep
1864 func_options_prep ()
1865 {
1866 $debug_cmd
1867
1868 # Option defaults:
1869 opt_verbose=false
1870 opt_warning_types=
1871
1872 func_run_hooks func_options_prep ${1+"$@"}
1873 func_propagate_result func_run_hooks func_options_prep
1874 }
1875
1876
1877 # func_parse_options [ARG]...
1878 # ---------------------------
1879 # The main option parsing loop.
1880 func_hookable func_parse_options
1881 func_parse_options ()
1882 {
1883 $debug_cmd
1884
1885 _G_parse_options_requote=false
1886 # this just eases exit handling
1887 while test $# -gt 0; do
1888 # Defer to hook functions for initial option parsing, so they
1889 # get priority in the event of reusing an option name.
1890 func_run_hooks func_parse_options ${1+"$@"}
1891 func_propagate_result func_run_hooks func_parse_options
1892 if $func_propagate_result_result; then
1893 eval set dummy "$func_parse_options_result"; shift
1894 # Even though we may have changed "$@", we passed the "$@" array
1895 # down into the hook and it quoted it for us (because we are in
1896 # this if-branch). No need to quote it again.
1897 _G_parse_options_requote=false
1898 fi
1899
1900 # Break out of the loop if we already parsed every option.
1901 test $# -gt 0 || break
1902
1903 # We expect that one of the options parsed in this function matches
1904 # and thus we remove _G_opt from "$@" and need to re-quote.
1905 _G_match_parse_options=:
1906 _G_opt=$1
1907 shift
1908 case $_G_opt in
1909 --debug|-x) debug_cmd='set -x'
1910 func_echo "enabling shell trace mode" >&2
1911 $debug_cmd
1912 ;;
1913
1914 --no-warnings|--no-warning|--no-warn)
1915 set dummy --warnings none ${1+"$@"}
1916 shift
1917 ;;
1918
1919 --warnings|--warning|-W)
1920 if test $# = 0 && func_missing_arg $_G_opt; then
1921 _G_parse_options_requote=:
1922 break
1923 fi
1924 case " $warning_categories $1" in
1925 *" $1 "*)
1926 # trailing space prevents matching last $1 above
1927 func_append_uniq opt_warning_types " $1"
1928 ;;
1929 *all)
1930 opt_warning_types=$warning_categories
1931 ;;
1932 *none)
1933 opt_warning_types=none
1934 warning_func=:
1935 ;;
1936 *error)
1937 opt_warning_types=$warning_categories
1938 warning_func=func_fatal_error
1939 ;;
1940 *)
1941 func_fatal_error \
1942 "unsupported warning category: '$1'"
1943 ;;
1944 esac
1945 shift
1946 ;;
1947
1948 --verbose|-v) opt_verbose=: ;;
1949 --version) func_version ;;
1950 -\?|-h) func_usage ;;
1951 --help) func_help ;;
1952
1953 # Separate optargs to long options (plugins may need this):
1954 --*=*) func_split_equals "$_G_opt"
1955 set dummy "$func_split_equals_lhs" \
1956 "$func_split_equals_rhs" ${1+"$@"}
1957 shift
1958 ;;
1959
1960 # Separate optargs to short options:
1961 -W*)
1962 func_split_short_opt "$_G_opt"
1963 set dummy "$func_split_short_opt_name" \
1964 "$func_split_short_opt_arg" ${1+"$@"}
1965 shift
1966 ;;
1967
1968 # Separate non-argument short options:
1969 -\?*|-h*|-v*|-x*)
1970 func_split_short_opt "$_G_opt"
1971 set dummy "$func_split_short_opt_name" \
1972 "-$func_split_short_opt_arg" ${1+"$@"}
1973 shift
1974 ;;
1975
1976 --) _G_parse_options_requote=: ; break ;;
1977 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1978 *) set dummy "$_G_opt" ${1+"$@"}; shift
1979 _G_match_parse_options=false
1980 break
1981 ;;
1982 esac
1983
1984 if $_G_match_parse_options; then
1985 _G_parse_options_requote=:
1986 fi
1987 done
1988
1989 if $_G_parse_options_requote; then
1990 # save modified positional parameters for caller
1991 func_quote eval ${1+"$@"}
1992 func_parse_options_result=$func_quote_result
1993 fi
1994 }
1995
1996
1997 # func_validate_options [ARG]...
1998 # ------------------------------
1999 # Perform any sanity checks on option settings and/or unconsumed
2000 # arguments.
2001 func_hookable func_validate_options
2002 func_validate_options ()
2003 {
2004 $debug_cmd
2005
2006 # Display all warnings if -W was not given.
2007 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
2008
2009 func_run_hooks func_validate_options ${1+"$@"}
2010 func_propagate_result func_run_hooks func_validate_options
2011
2012 # Bail if the options were screwed!
2013 $exit_cmd $EXIT_FAILURE
2014 }
2015
2016
2017
2018 ## ----------------- ##
2019 ## Helper functions. ##
2020 ## ----------------- ##
2021
2022 # This section contains the helper functions used by the rest of the
2023 # hookable option parser framework in ascii-betical order.
2024
2025
2026 # func_fatal_help ARG...
2027 # ----------------------
2028 # Echo program name prefixed message to standard error, followed by
2029 # a help hint, and exit.
2030 func_fatal_help ()
2031 {
2032 $debug_cmd
2033
2034 eval \$ECHO \""Usage: $usage"\"
2035 eval \$ECHO \""$fatal_help"\"
2036 func_error ${1+"$@"}
2037 exit $EXIT_FAILURE
2038 }
2039
2040
2041 # func_help
2042 # ---------
2043 # Echo long help message to standard output and exit.
2044 func_help ()
2045 {
2046 $debug_cmd
2047
2048 func_usage_message
2049 $ECHO "$long_help_message"
2050 exit 0
2051 }
2052
2053
2054 # func_missing_arg ARGNAME
2055 # ------------------------
2056 # Echo program name prefixed message to standard error and set global
2057 # exit_cmd.
2058 func_missing_arg ()
2059 {
2060 $debug_cmd
2061
2062 func_error "Missing argument for '$1'."
2063 exit_cmd=exit
2064 }
2065
2066
2067 # func_split_equals STRING
2068 # ------------------------
2069 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2070 # after splitting STRING at the '=' sign.
2071 test -z "$_G_HAVE_XSI_OPS" \
2072 && (eval 'x=a/b/c;
2073 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
2074 && _G_HAVE_XSI_OPS=yes
2075
2076 if test yes = "$_G_HAVE_XSI_OPS"
2077 then
2078 # This is an XSI compatible shell, allowing a faster implementation...
2079 eval 'func_split_equals ()
2080 {
2081 $debug_cmd
2082
2083 func_split_equals_lhs=${1%%=*}
2084 func_split_equals_rhs=${1#*=}
2085 if test "x$func_split_equals_lhs" = "x$1"; then
2086 func_split_equals_rhs=
2087 fi
2088 }'
2089 else
2090 # ...otherwise fall back to using expr, which is often a shell builtin.
2091 func_split_equals ()
2092 {
2093 $debug_cmd
2094
2095 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
2096 func_split_equals_rhs=
2097 test "x$func_split_equals_lhs=" = "x$1" \
2098 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
2099 }
2100 fi #func_split_equals
2101
2102
2103 # func_split_short_opt SHORTOPT
2104 # -----------------------------
2105 # Set func_split_short_opt_name and func_split_short_opt_arg shell
2106 # variables after splitting SHORTOPT after the 2nd character.
2107 if test yes = "$_G_HAVE_XSI_OPS"
2108 then
2109 # This is an XSI compatible shell, allowing a faster implementation...
2110 eval 'func_split_short_opt ()
2111 {
2112 $debug_cmd
2113
2114 func_split_short_opt_arg=${1#??}
2115 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
2116 }'
2117 else
2118 # ...otherwise fall back to using expr, which is often a shell builtin.
2119 func_split_short_opt ()
2120 {
2121 $debug_cmd
2122
2123 func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'`
2124 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
2125 }
2126 fi #func_split_short_opt
2127
2128
2129 # func_usage
2130 # ----------
2131 # Echo short help message to standard output and exit.
2132 func_usage ()
2133 {
2134 $debug_cmd
2135
2136 func_usage_message
2137 $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
2138 exit 0
2139 }
2140
2141
2142 # func_usage_message
2143 # ------------------
2144 # Echo short help message to standard output.
2145 func_usage_message ()
2146 {
2147 $debug_cmd
2148
2149 eval \$ECHO \""Usage: $usage"\"
2150 echo
2151 $SED -n 's|^# ||
2152 /^Written by/{
2153 x;p;x
2154 }
2155 h
2156 /^Written by/q' < "$progpath"
2157 echo
2158 eval \$ECHO \""$usage_message"\"
2159 }
2160
2161
2162 # func_version
2163 # ------------
2164 # Echo version message to standard output and exit.
2165 # The version message is extracted from the calling file's header
2166 # comments, with leading '# ' stripped:
2167 # 1. First display the progname and version
2168 # 2. Followed by the header comment line matching /^# Written by /
2169 # 3. Then a blank line followed by the first following line matching
2170 # /^# Copyright /
2171 # 4. Immediately followed by any lines between the previous matches,
2172 # except lines preceding the intervening completely blank line.
2173 # For example, see the header comments of this file.
2174 func_version ()
2175 {
2176 $debug_cmd
2177
2178 printf '%s\n' "$progname $scriptversion"
2179 $SED -n '
2180 /^# Written by /!b
2181 s|^# ||; p; n
2182
2183 :fwd2blnk
2184 /./ {
2185 n
2186 b fwd2blnk
2187 }
2188 p; n
2189
2190 :holdwrnt
2191 s|^# ||
2192 s|^# *$||
2193 /^Copyright /!{
2194 /./H
2195 n
2196 b holdwrnt
2197 }
2198
2199 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2200 G
2201 s|\(\n\)\n*|\1|g
2202 p; q' < "$progpath"
2203
2204 exit $?
2205 }
2206
2207
2208 # Local variables:
2209 # mode: shell-script
2210 # sh-indentation: 2
2211 # eval: (add-hook 'before-save-hook 'time-stamp)
2212 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2213 # time-stamp-time-zone: "UTC"
2214 # End:
2215
2216 # Set a version string.
2217 scriptversion='(GNU libtool) 2.4.7'
2218
2219
2220 # func_echo ARG...
2221 # ----------------
2222 # Libtool also displays the current mode in messages, so override
2223 # funclib.sh func_echo with this custom definition.
2224 func_echo ()
2225 {
2226 $debug_cmd
2227
2228 _G_message=$*
2229
2230 func_echo_IFS=$IFS
2231 IFS=$nl
2232 for _G_line in $_G_message; do
2233 IFS=$func_echo_IFS
2234 $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
2235 done
2236 IFS=$func_echo_IFS
2237 }
2238
2239
2240 # func_warning ARG...
2241 # -------------------
2242 # Libtool warnings are not categorized, so override funclib.sh
2243 # func_warning with this simpler definition.
2244 func_warning ()
2245 {
2246 $debug_cmd
2247
2248 $warning_func ${1+"$@"}
2249 }
2250
2251
2252 ## ---------------- ##
2253 ## Options parsing. ##
2254 ## ---------------- ##
2255
2256 # Hook in the functions to make sure our own options are parsed during
2257 # the option parsing loop.
2258
2259 usage='$progpath [OPTION]... [MODE-ARG]...'
2260
2261 # Short help message in response to '-h'.
2262 usage_message="Options:
2263 --config show all configuration variables
2264 --debug enable verbose shell tracing
2265 -n, --dry-run display commands without modifying any files
2266 --features display basic configuration information and exit
2267 --mode=MODE use operation mode MODE
2268 --no-warnings equivalent to '-Wnone'
2269 --preserve-dup-deps don't remove duplicate dependency libraries
2270 --quiet, --silent don't print informational messages
2271 --tag=TAG use configuration variables from tag TAG
2272 -v, --verbose print more informational messages than default
2273 --version print version information
2274 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
2275 -h, --help, --help-all print short, long, or detailed help message
2276 "
2277
2278 # Additional text appended to 'usage_message' in response to '--help'.
2279 func_help ()
2280 {
2281 $debug_cmd
2282
2283 func_usage_message
2284 $ECHO "$long_help_message
2285
2286 MODE must be one of the following:
2287
2288 clean remove files from the build directory
2289 compile compile a source file into a libtool object
2290 execute automatically set library path, then run a program
2291 finish complete the installation of libtool libraries
2292 install install libraries or executables
2293 link create a library or an executable
2294 uninstall remove libraries from an installed directory
2295
2296 MODE-ARGS vary depending on the MODE. When passed as first option,
2297 '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
2298 Try '$progname --help --mode=MODE' for a more detailed description of MODE.
2299
2300 When reporting a bug, please describe a test case to reproduce it and
2301 include the following information:
2302
2303 host-triplet: $host
2304 shell: $SHELL
2305 compiler: $LTCC
2306 compiler flags: $LTCFLAGS
2307 linker: $LD (gnu? $with_gnu_ld)
2308 version: $progname (GNU libtool) 2.4.7
2309 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
2310 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
2311
2312 Report bugs to <bug-libtool@gnu.org>.
2313 GNU libtool home page: <http://www.gnu.org/software/libtool/>.
2314 General help using GNU software: <http://www.gnu.org/gethelp/>."
2315 exit 0
2316 }
2317
2318
2319 # func_lo2o OBJECT-NAME
2320 # ---------------------
2321 # Transform OBJECT-NAME from a '.lo' suffix to the platform specific
2322 # object suffix.
2323
2324 lo2o=s/\\.lo\$/.$objext/
2325 o2lo=s/\\.$objext\$/.lo/
2326
2327 if test yes = "$_G_HAVE_XSI_OPS"; then
2328 eval 'func_lo2o ()
2329 {
2330 case $1 in
2331 *.lo) func_lo2o_result=${1%.lo}.$objext ;;
2332 * ) func_lo2o_result=$1 ;;
2333 esac
2334 }'
2335
2336 # func_xform LIBOBJ-OR-SOURCE
2337 # ---------------------------
2338 # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
2339 # suffix to a '.lo' libtool-object suffix.
2340 eval 'func_xform ()
2341 {
2342 func_xform_result=${1%.*}.lo
2343 }'
2344 else
2345 # ...otherwise fall back to using sed.
2346 func_lo2o ()
2347 {
2348 func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
2349 }
2350
2351 func_xform ()
2352 {
2353 func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
2354 }
2355 fi
2356
2357
2358 # func_fatal_configuration ARG...
2359 # -------------------------------
2360 # Echo program name prefixed message to standard error, followed by
2361 # a configuration failure hint, and exit.
2362 func_fatal_configuration ()
2363 {
2364 func_fatal_error ${1+"$@"} \
2365 "See the $PACKAGE documentation for more information." \
2366 "Fatal configuration error."
2367 }
2368
2369
2370 # func_config
2371 # -----------
2372 # Display the configuration for all the tags in this script.
2373 func_config ()
2374 {
2375 re_begincf='^# ### BEGIN LIBTOOL'
2376 re_endcf='^# ### END LIBTOOL'
2377
2378 # Default configuration.
2379 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2380
2381 # Now print the configurations for the tags.
2382 for tagname in $taglist; do
2383 $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
2384 done
2385
2386 exit $?
2387 }
2388
2389
2390 # func_features
2391 # -------------
2392 # Display the features supported by this script.
2393 func_features ()
2394 {
2395 echo "host: $host"
2396 if test yes = "$build_libtool_libs"; then
2397 echo "enable shared libraries"
2398 else
2399 echo "disable shared libraries"
2400 fi
2401 if test yes = "$build_old_libs"; then
2402 echo "enable static libraries"
2403 else
2404 echo "disable static libraries"
2405 fi
2406
2407 exit $?
2408 }
2409
2410
2411 # func_enable_tag TAGNAME
2412 # -----------------------
2413 # Verify that TAGNAME is valid, and either flag an error and exit, or
2414 # enable the TAGNAME tag. We also add TAGNAME to the global $taglist
2415 # variable here.
2416 func_enable_tag ()
2417 {
2418 # Global variable:
2419 tagname=$1
2420
2421 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
2422 re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
2423 sed_extractcf=/$re_begincf/,/$re_endcf/p
2424
2425 # Validate tagname.
2426 case $tagname in
2427 *[!-_A-Za-z0-9,/]*)
2428 func_fatal_error "invalid tag name: $tagname"
2429 ;;
2430 esac
2431
2432 # Don't test for the "default" C tag, as we know it's
2433 # there but not specially marked.
2434 case $tagname in
2435 CC) ;;
2436 *)
2437 if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
2438 taglist="$taglist $tagname"
2439
2440 # Evaluate the configuration. Be careful to quote the path
2441 # and the sed script, to avoid splitting on whitespace, but
2442 # also don't use non-portable quotes within backquotes within
2443 # quotes we have to do it in 2 steps:
2444 extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
2445 eval "$extractedcf"
2446 else
2447 func_error "ignoring unknown tag $tagname"
2448 fi
2449 ;;
2450 esac
2451 }
2452
2453
2454 # func_check_version_match
2455 # ------------------------
2456 # Ensure that we are using m4 macros, and libtool script from the same
2457 # release of libtool.
2458 func_check_version_match ()
2459 {
2460 if test "$package_revision" != "$macro_revision"; then
2461 if test "$VERSION" != "$macro_version"; then
2462 if test -z "$macro_version"; then
2463 cat >&2 <<_LT_EOF
2464 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2465 $progname: definition of this LT_INIT comes from an older release.
2466 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2467 $progname: and run autoconf again.
2468 _LT_EOF
2469 else
2470 cat >&2 <<_LT_EOF
2471 $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2472 $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2473 $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2474 $progname: and run autoconf again.
2475 _LT_EOF
2476 fi
2477 else
2478 cat >&2 <<_LT_EOF
2479 $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
2480 $progname: but the definition of this LT_INIT comes from revision $macro_revision.
2481 $progname: You should recreate aclocal.m4 with macros from revision $package_revision
2482 $progname: of $PACKAGE $VERSION and run autoconf again.
2483 _LT_EOF
2484 fi
2485
2486 exit $EXIT_MISMATCH
2487 fi
2488 }
2489
2490
2491 # libtool_options_prep [ARG]...
2492 # -----------------------------
2493 # Preparation for options parsed by libtool.
2494 libtool_options_prep ()
2495 {
2496 $debug_mode
2497
2498 # Option defaults:
2499 opt_config=false
2500 opt_dlopen=
2501 opt_dry_run=false
2502 opt_help=false
2503 opt_mode=
2504 opt_preserve_dup_deps=false
2505 opt_quiet=false
2506
2507 nonopt=
2508 preserve_args=
2509
2510 _G_rc_lt_options_prep=:
2511
2512 # Shorthand for --mode=foo, only valid as the first argument
2513 case $1 in
2514 clean|clea|cle|cl)
2515 shift; set dummy --mode clean ${1+"$@"}; shift
2516 ;;
2517 compile|compil|compi|comp|com|co|c)
2518 shift; set dummy --mode compile ${1+"$@"}; shift
2519 ;;
2520 execute|execut|execu|exec|exe|ex|e)
2521 shift; set dummy --mode execute ${1+"$@"}; shift
2522 ;;
2523 finish|finis|fini|fin|fi|f)
2524 shift; set dummy --mode finish ${1+"$@"}; shift
2525 ;;
2526 install|instal|insta|inst|ins|in|i)
2527 shift; set dummy --mode install ${1+"$@"}; shift
2528 ;;
2529 link|lin|li|l)
2530 shift; set dummy --mode link ${1+"$@"}; shift
2531 ;;
2532 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2533 shift; set dummy --mode uninstall ${1+"$@"}; shift
2534 ;;
2535 *)
2536 _G_rc_lt_options_prep=false
2537 ;;
2538 esac
2539
2540 if $_G_rc_lt_options_prep; then
2541 # Pass back the list of options.
2542 func_quote eval ${1+"$@"}
2543 libtool_options_prep_result=$func_quote_result
2544 fi
2545 }
2546 func_add_hook func_options_prep libtool_options_prep
2547
2548
2549 # libtool_parse_options [ARG]...
2550 # ---------------------------------
2551 # Provide handling for libtool specific options.
2552 libtool_parse_options ()
2553 {
2554 $debug_cmd
2555
2556 _G_rc_lt_parse_options=false
2557
2558 # Perform our own loop to consume as many options as possible in
2559 # each iteration.
2560 while test $# -gt 0; do
2561 _G_match_lt_parse_options=:
2562 _G_opt=$1
2563 shift
2564 case $_G_opt in
2565 --dry-run|--dryrun|-n)
2566 opt_dry_run=:
2567 ;;
2568
2569 --config) func_config ;;
2570
2571 --dlopen|-dlopen)
2572 opt_dlopen="${opt_dlopen+$opt_dlopen
2573 }$1"
2574 shift
2575 ;;
2576
2577 --preserve-dup-deps)
2578 opt_preserve_dup_deps=: ;;
2579
2580 --features) func_features ;;
2581
2582 --finish) set dummy --mode finish ${1+"$@"}; shift ;;
2583
2584 --help) opt_help=: ;;
2585
2586 --help-all) opt_help=': help-all' ;;
2587
2588 --mode) test $# = 0 && func_missing_arg $_G_opt && break
2589 opt_mode=$1
2590 case $1 in
2591 # Valid mode arguments:
2592 clean|compile|execute|finish|install|link|relink|uninstall) ;;
2593
2594 # Catch anything else as an error
2595 *) func_error "invalid argument for $_G_opt"
2596 exit_cmd=exit
2597 break
2598 ;;
2599 esac
2600 shift
2601 ;;
2602
2603 --no-silent|--no-quiet)
2604 opt_quiet=false
2605 func_append preserve_args " $_G_opt"
2606 ;;
2607
2608 --no-warnings|--no-warning|--no-warn)
2609 opt_warning=false
2610 func_append preserve_args " $_G_opt"
2611 ;;
2612
2613 --no-verbose)
2614 opt_verbose=false
2615 func_append preserve_args " $_G_opt"
2616 ;;
2617
2618 --silent|--quiet)
2619 opt_quiet=:
2620 opt_verbose=false
2621 func_append preserve_args " $_G_opt"
2622 ;;
2623
2624 --tag) test $# = 0 && func_missing_arg $_G_opt && break
2625 opt_tag=$1
2626 func_append preserve_args " $_G_opt $1"
2627 func_enable_tag "$1"
2628 shift
2629 ;;
2630
2631 --verbose|-v) opt_quiet=false
2632 opt_verbose=:
2633 func_append preserve_args " $_G_opt"
2634 ;;
2635
2636 # An option not handled by this hook function:
2637 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2638 _G_match_lt_parse_options=false
2639 break
2640 ;;
2641 esac
2642 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
2643 done
2644
2645 if $_G_rc_lt_parse_options; then
2646 # save modified positional parameters for caller
2647 func_quote eval ${1+"$@"}
2648 libtool_parse_options_result=$func_quote_result
2649 fi
2650 }
2651 func_add_hook func_parse_options libtool_parse_options
2652
2653
2654
2655 # libtool_validate_options [ARG]...
2656 # ---------------------------------
2657 # Perform any sanity checks on option settings and/or unconsumed
2658 # arguments.
2659 libtool_validate_options ()
2660 {
2661 # save first non-option argument
2662 if test 0 -lt $#; then
2663 nonopt=$1
2664 shift
2665 fi
2666
2667 # preserve --debug
2668 test : = "$debug_cmd" || func_append preserve_args " --debug"
2669
2670 # Keeping compiler generated duplicates in $postdeps and $predeps is not
2671 # harmful, and is necessary in a majority of systems that use it to satisfy
2672 # symbol dependencies.
2673 opt_duplicate_compiler_generated_deps=:
2674
2675 $opt_help || {
2676 # Sanity checks first:
2677 func_check_version_match
2678
2679 test yes != "$build_libtool_libs" \
2680 && test yes != "$build_old_libs" \
2681 && func_fatal_configuration "not configured to build any kind of library"
2682
2683 # Darwin sucks
2684 eval std_shrext=\"$shrext_cmds\"
2685
2686 # Only execute mode is allowed to have -dlopen flags.
2687 if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
2688 func_error "unrecognized option '-dlopen'"
2689 $ECHO "$help" 1>&2
2690 exit $EXIT_FAILURE
2691 fi
2692
2693 # Change the help message to a mode-specific one.
2694 generic_help=$help
2695 help="Try '$progname --help --mode=$opt_mode' for more information."
2696 }
2697
2698 # Pass back the unparsed argument list
2699 func_quote eval ${1+"$@"}
2700 libtool_validate_options_result=$func_quote_result
2701 }
2702 func_add_hook func_validate_options libtool_validate_options
2703
2704
2705 # Process options as early as possible so that --help and --version
2706 # can return quickly.
2707 func_options ${1+"$@"}
2708 eval set dummy "$func_options_result"; shift
2709
2710
2711
2712 ## ----------- ##
2713 ## Main. ##
2714 ## ----------- ##
2715
2716 magic='%%%MAGIC variable%%%'
2717 magic_exe='%%%MAGIC EXE variable%%%'
2718
2719 # Global variables.
2720 extracted_archives=
2721 extracted_serial=0
2722
2723 # If this variable is set in any of the actions, the command in it
2724 # will be execed at the end. This prevents here-documents from being
2725 # left over by shells.
2726 exec_cmd=
2727
2728
2729 # A function that is used when there is no print builtin or printf.
2730 func_fallback_echo ()
2731 {
2732 eval 'cat <<_LTECHO_EOF
2733 $1
2734 _LTECHO_EOF'
2735 }
2736
2737 # func_generated_by_libtool
2738 # True iff stdin has been generated by Libtool. This function is only
2739 # a basic sanity check; it will hardly flush out determined imposters.
2740 func_generated_by_libtool_p ()
2741 {
2742 $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
2743 }
2744
2745 # func_lalib_p file
2746 # True iff FILE is a libtool '.la' library or '.lo' object file.
2747 # This function is only a basic sanity check; it will hardly flush out
2748 # determined imposters.
2749 func_lalib_p ()
2750 {
2751 test -f "$1" &&
2752 $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
2753 }
2754
2755 # func_lalib_unsafe_p file
2756 # True iff FILE is a libtool '.la' library or '.lo' object file.
2757 # This function implements the same check as func_lalib_p without
2758 # resorting to external programs. To this end, it redirects stdin and
2759 # closes it afterwards, without saving the original file descriptor.
2760 # As a safety measure, use it only where a negative result would be
2761 # fatal anyway. Works if 'file' does not exist.
2762 func_lalib_unsafe_p ()
2763 {
2764 lalib_p=no
2765 if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
2766 for lalib_p_l in 1 2 3 4
2767 do
2768 read lalib_p_line
2769 case $lalib_p_line in
2770 \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
2771 esac
2772 done
2773 exec 0<&5 5<&-
2774 fi
2775 test yes = "$lalib_p"
2776 }
2777
2778 # func_ltwrapper_script_p file
2779 # True iff FILE is a libtool wrapper script
2780 # This function is only a basic sanity check; it will hardly flush out
2781 # determined imposters.
2782 func_ltwrapper_script_p ()
2783 {
2784 test -f "$1" &&
2785 $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
2786 }
2787
2788 # func_ltwrapper_executable_p file
2789 # True iff FILE is a libtool wrapper executable
2790 # This function is only a basic sanity check; it will hardly flush out
2791 # determined imposters.
2792 func_ltwrapper_executable_p ()
2793 {
2794 func_ltwrapper_exec_suffix=
2795 case $1 in
2796 *.exe) ;;
2797 *) func_ltwrapper_exec_suffix=.exe ;;
2798 esac
2799 $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
2800 }
2801
2802 # func_ltwrapper_scriptname file
2803 # Assumes file is an ltwrapper_executable
2804 # uses $file to determine the appropriate filename for a
2805 # temporary ltwrapper_script.
2806 func_ltwrapper_scriptname ()
2807 {
2808 func_dirname_and_basename "$1" "" "."
2809 func_stripname '' '.exe' "$func_basename_result"
2810 func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
2811 }
2812
2813 # func_ltwrapper_p file
2814 # True iff FILE is a libtool wrapper script or wrapper executable
2815 # This function is only a basic sanity check; it will hardly flush out
2816 # determined imposters.
2817 func_ltwrapper_p ()
2818 {
2819 func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
2820 }
2821
2822
2823 # func_execute_cmds commands fail_cmd
2824 # Execute tilde-delimited COMMANDS.
2825 # If FAIL_CMD is given, eval that upon failure.
2826 # FAIL_CMD may read-access the current command in variable CMD!
2827 func_execute_cmds ()
2828 {
2829 $debug_cmd
2830
2831 save_ifs=$IFS; IFS='~'
2832 for cmd in $1; do
2833 IFS=$sp$nl
2834 eval cmd=\"$cmd\"
2835 IFS=$save_ifs
2836 func_show_eval "$cmd" "${2-:}"
2837 done
2838 IFS=$save_ifs
2839 }
2840
2841
2842 # func_source file
2843 # Source FILE, adding directory component if necessary.
2844 # Note that it is not necessary on cygwin/mingw to append a dot to
2845 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
2846 # behavior happens only for exec(3), not for open(2)! Also, sourcing
2847 # 'FILE.' does not work on cygwin managed mounts.
2848 func_source ()
2849 {
2850 $debug_cmd
2851
2852 case $1 in
2853 */* | *\\*) . "$1" ;;
2854 *) . "./$1" ;;
2855 esac
2856 }
2857
2858
2859 # func_resolve_sysroot PATH
2860 # Replace a leading = in PATH with a sysroot. Store the result into
2861 # func_resolve_sysroot_result
2862 func_resolve_sysroot ()
2863 {
2864 func_resolve_sysroot_result=$1
2865 case $func_resolve_sysroot_result in
2866 =*)
2867 func_stripname '=' '' "$func_resolve_sysroot_result"
2868 func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
2869 ;;
2870 esac
2871 }
2872
2873 # func_replace_sysroot PATH
2874 # If PATH begins with the sysroot, replace it with = and
2875 # store the result into func_replace_sysroot_result.
2876 func_replace_sysroot ()
2877 {
2878 case $lt_sysroot:$1 in
2879 ?*:"$lt_sysroot"*)
2880 func_stripname "$lt_sysroot" '' "$1"
2881 func_replace_sysroot_result='='$func_stripname_result
2882 ;;
2883 *)
2884 # Including no sysroot.
2885 func_replace_sysroot_result=$1
2886 ;;
2887 esac
2888 }
2889
2890 # func_infer_tag arg
2891 # Infer tagged configuration to use if any are available and
2892 # if one wasn't chosen via the "--tag" command line option.
2893 # Only attempt this if the compiler in the base compile
2894 # command doesn't match the default compiler.
2895 # arg is usually of the form 'gcc ...'
2896 func_infer_tag ()
2897 {
2898 $debug_cmd
2899
2900 if test -n "$available_tags" && test -z "$tagname"; then
2901 CC_quoted=
2902 for arg in $CC; do
2903 func_append_quoted CC_quoted "$arg"
2904 done
2905 CC_expanded=`func_echo_all $CC`
2906 CC_quoted_expanded=`func_echo_all $CC_quoted`
2907 case $@ in
2908 # Blanks in the command may have been stripped by the calling shell,
2909 # but not from the CC environment variable when configure was run.
2910 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
2911 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
2912 # Blanks at the start of $base_compile will cause this to fail
2913 # if we don't check for them as well.
2914 *)
2915 for z in $available_tags; do
2916 if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
2917 # Evaluate the configuration.
2918 eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
2919 CC_quoted=
2920 for arg in $CC; do
2921 # Double-quote args containing other shell metacharacters.
2922 func_append_quoted CC_quoted "$arg"
2923 done
2924 CC_expanded=`func_echo_all $CC`
2925 CC_quoted_expanded=`func_echo_all $CC_quoted`
2926 case "$@ " in
2927 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
2928 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
2929 # The compiler in the base compile command matches
2930 # the one in the tagged configuration.
2931 # Assume this is the tagged configuration we want.
2932 tagname=$z
2933 break
2934 ;;
2935 esac
2936 fi
2937 done
2938 # If $tagname still isn't set, then no tagged configuration
2939 # was found and let the user know that the "--tag" command
2940 # line option must be used.
2941 if test -z "$tagname"; then
2942 func_echo "unable to infer tagged configuration"
2943 func_fatal_error "specify a tag with '--tag'"
2944 # else
2945 # func_verbose "using $tagname tagged configuration"
2946 fi
2947 ;;
2948 esac
2949 fi
2950 }
2951
2952
2953
2954 # func_write_libtool_object output_name pic_name nonpic_name
2955 # Create a libtool object file (analogous to a ".la" file),
2956 # but don't create it if we're doing a dry run.
2957 func_write_libtool_object ()
2958 {
2959 write_libobj=$1
2960 if test yes = "$build_libtool_libs"; then
2961 write_lobj=\'$2\'
2962 else
2963 write_lobj=none
2964 fi
2965
2966 if test yes = "$build_old_libs"; then
2967 write_oldobj=\'$3\'
2968 else
2969 write_oldobj=none
2970 fi
2971
2972 $opt_dry_run || {
2973 cat >${write_libobj}T <<EOF
2974 # $write_libobj - a libtool object file
2975 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
2976 #
2977 # Please DO NOT delete this file!
2978 # It is necessary for linking the library.
2979
2980 # Name of the PIC object.
2981 pic_object=$write_lobj
2982
2983 # Name of the non-PIC object
2984 non_pic_object=$write_oldobj
2985
2986 EOF
2987 $MV "${write_libobj}T" "$write_libobj"
2988 }
2989 }
2990
2991
2992 ##################################################
2993 # FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
2994 ##################################################
2995
2996 # func_convert_core_file_wine_to_w32 ARG
2997 # Helper function used by file name conversion functions when $build is *nix,
2998 # and $host is mingw, cygwin, or some other w32 environment. Relies on a
2999 # correctly configured wine environment available, with the winepath program
3000 # in $build's $PATH.
3001 #
3002 # ARG is the $build file name to be converted to w32 format.
3003 # Result is available in $func_convert_core_file_wine_to_w32_result, and will
3004 # be empty on error (or when ARG is empty)
3005 func_convert_core_file_wine_to_w32 ()
3006 {
3007 $debug_cmd
3008
3009 func_convert_core_file_wine_to_w32_result=$1
3010 if test -n "$1"; then
3011 # Unfortunately, winepath does not exit with a non-zero error code, so we
3012 # are forced to check the contents of stdout. On the other hand, if the
3013 # command is not found, the shell will set an exit code of 127 and print
3014 # *an error message* to stdout. So we must check for both error code of
3015 # zero AND non-empty stdout, which explains the odd construction:
3016 func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
3017 if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
3018 func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
3019 $SED -e "$sed_naive_backslashify"`
3020 else
3021 func_convert_core_file_wine_to_w32_result=
3022 fi
3023 fi
3024 }
3025 # end: func_convert_core_file_wine_to_w32
3026
3027
3028 # func_convert_core_path_wine_to_w32 ARG
3029 # Helper function used by path conversion functions when $build is *nix, and
3030 # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
3031 # configured wine environment available, with the winepath program in $build's
3032 # $PATH. Assumes ARG has no leading or trailing path separator characters.
3033 #
3034 # ARG is path to be converted from $build format to win32.
3035 # Result is available in $func_convert_core_path_wine_to_w32_result.
3036 # Unconvertible file (directory) names in ARG are skipped; if no directory names
3037 # are convertible, then the result may be empty.
3038 func_convert_core_path_wine_to_w32 ()
3039 {
3040 $debug_cmd
3041
3042 # unfortunately, winepath doesn't convert paths, only file names
3043 func_convert_core_path_wine_to_w32_result=
3044 if test -n "$1"; then
3045 oldIFS=$IFS
3046 IFS=:
3047 for func_convert_core_path_wine_to_w32_f in $1; do
3048 IFS=$oldIFS
3049 func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
3050 if test -n "$func_convert_core_file_wine_to_w32_result"; then
3051 if test -z "$func_convert_core_path_wine_to_w32_result"; then
3052 func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
3053 else
3054 func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
3055 fi
3056 fi
3057 done
3058 IFS=$oldIFS
3059 fi
3060 }
3061 # end: func_convert_core_path_wine_to_w32
3062
3063
3064 # func_cygpath ARGS...
3065 # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
3066 # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
3067 # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
3068 # (2), returns the Cygwin file name or path in func_cygpath_result (input
3069 # file name or path is assumed to be in w32 format, as previously converted
3070 # from $build's *nix or MSYS format). In case (3), returns the w32 file name
3071 # or path in func_cygpath_result (input file name or path is assumed to be in
3072 # Cygwin format). Returns an empty string on error.
3073 #
3074 # ARGS are passed to cygpath, with the last one being the file name or path to
3075 # be converted.
3076 #
3077 # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
3078 # environment variable; do not put it in $PATH.
3079 func_cygpath ()
3080 {
3081 $debug_cmd
3082
3083 if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
3084 func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
3085 if test "$?" -ne 0; then
3086 # on failure, ensure result is empty
3087 func_cygpath_result=
3088 fi
3089 else
3090 func_cygpath_result=
3091 func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
3092 fi
3093 }
3094 #end: func_cygpath
3095
3096
3097 # func_convert_core_msys_to_w32 ARG
3098 # Convert file name or path ARG from MSYS format to w32 format. Return
3099 # result in func_convert_core_msys_to_w32_result.
3100 func_convert_core_msys_to_w32 ()
3101 {
3102 $debug_cmd
3103
3104 # awkward: cmd appends spaces to result
3105 func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
3106 $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
3107 }
3108 #end: func_convert_core_msys_to_w32
3109
3110
3111 # func_convert_file_check ARG1 ARG2
3112 # Verify that ARG1 (a file name in $build format) was converted to $host
3113 # format in ARG2. Otherwise, emit an error message, but continue (resetting
3114 # func_to_host_file_result to ARG1).
3115 func_convert_file_check ()
3116 {
3117 $debug_cmd
3118
3119 if test -z "$2" && test -n "$1"; then
3120 func_error "Could not determine host file name corresponding to"
3121 func_error " '$1'"
3122 func_error "Continuing, but uninstalled executables may not work."
3123 # Fallback:
3124 func_to_host_file_result=$1
3125 fi
3126 }
3127 # end func_convert_file_check
3128
3129
3130 # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
3131 # Verify that FROM_PATH (a path in $build format) was converted to $host
3132 # format in TO_PATH. Otherwise, emit an error message, but continue, resetting
3133 # func_to_host_file_result to a simplistic fallback value (see below).
3134 func_convert_path_check ()
3135 {
3136 $debug_cmd
3137
3138 if test -z "$4" && test -n "$3"; then
3139 func_error "Could not determine the host path corresponding to"
3140 func_error " '$3'"
3141 func_error "Continuing, but uninstalled executables may not work."
3142 # Fallback. This is a deliberately simplistic "conversion" and
3143 # should not be "improved". See libtool.info.
3144 if test "x$1" != "x$2"; then
3145 lt_replace_pathsep_chars="s|$1|$2|g"
3146 func_to_host_path_result=`echo "$3" |
3147 $SED -e "$lt_replace_pathsep_chars"`
3148 else
3149 func_to_host_path_result=$3
3150 fi
3151 fi
3152 }
3153 # end func_convert_path_check
3154
3155
3156 # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
3157 # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
3158 # and appending REPL if ORIG matches BACKPAT.
3159 func_convert_path_front_back_pathsep ()
3160 {
3161 $debug_cmd
3162
3163 case $4 in
3164 $1 ) func_to_host_path_result=$3$func_to_host_path_result
3165 ;;
3166 esac
3167 case $4 in
3168 $2 ) func_append func_to_host_path_result "$3"
3169 ;;
3170 esac
3171 }
3172 # end func_convert_path_front_back_pathsep
3173
3174
3175 ##################################################
3176 # $build to $host FILE NAME CONVERSION FUNCTIONS #
3177 ##################################################
3178 # invoked via '$to_host_file_cmd ARG'
3179 #
3180 # In each case, ARG is the path to be converted from $build to $host format.
3181 # Result will be available in $func_to_host_file_result.
3182
3183
3184 # func_to_host_file ARG
3185 # Converts the file name ARG from $build format to $host format. Return result
3186 # in func_to_host_file_result.
3187 func_to_host_file ()
3188 {
3189 $debug_cmd
3190
3191 $to_host_file_cmd "$1"
3192 }
3193 # end func_to_host_file
3194
3195
3196 # func_to_tool_file ARG LAZY
3197 # converts the file name ARG from $build format to toolchain format. Return
3198 # result in func_to_tool_file_result. If the conversion in use is listed
3199 # in (the comma separated) LAZY, no conversion takes place.
3200 func_to_tool_file ()
3201 {
3202 $debug_cmd
3203
3204 case ,$2, in
3205 *,"$to_tool_file_cmd",*)
3206 func_to_tool_file_result=$1
3207 ;;
3208 *)
3209 $to_tool_file_cmd "$1"
3210 func_to_tool_file_result=$func_to_host_file_result
3211 ;;
3212 esac
3213 }
3214 # end func_to_tool_file
3215
3216
3217 # func_convert_file_noop ARG
3218 # Copy ARG to func_to_host_file_result.
3219 func_convert_file_noop ()
3220 {
3221 func_to_host_file_result=$1
3222 }
3223 # end func_convert_file_noop
3224
3225
3226 # func_convert_file_msys_to_w32 ARG
3227 # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
3228 # conversion to w32 is not available inside the cwrapper. Returns result in
3229 # func_to_host_file_result.
3230 func_convert_file_msys_to_w32 ()
3231 {
3232 $debug_cmd
3233
3234 func_to_host_file_result=$1
3235 if test -n "$1"; then
3236 func_convert_core_msys_to_w32 "$1"
3237 func_to_host_file_result=$func_convert_core_msys_to_w32_result
3238 fi
3239 func_convert_file_check "$1" "$func_to_host_file_result"
3240 }
3241 # end func_convert_file_msys_to_w32
3242
3243
3244 # func_convert_file_cygwin_to_w32 ARG
3245 # Convert file name ARG from Cygwin to w32 format. Returns result in
3246 # func_to_host_file_result.
3247 func_convert_file_cygwin_to_w32 ()
3248 {
3249 $debug_cmd
3250
3251 func_to_host_file_result=$1
3252 if test -n "$1"; then
3253 # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
3254 # LT_CYGPATH in this case.
3255 func_to_host_file_result=`cygpath -m "$1"`
3256 fi
3257 func_convert_file_check "$1" "$func_to_host_file_result"
3258 }
3259 # end func_convert_file_cygwin_to_w32
3260
3261
3262 # func_convert_file_nix_to_w32 ARG
3263 # Convert file name ARG from *nix to w32 format. Requires a wine environment
3264 # and a working winepath. Returns result in func_to_host_file_result.
3265 func_convert_file_nix_to_w32 ()
3266 {
3267 $debug_cmd
3268
3269 func_to_host_file_result=$1
3270 if test -n "$1"; then
3271 func_convert_core_file_wine_to_w32 "$1"
3272 func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
3273 fi
3274 func_convert_file_check "$1" "$func_to_host_file_result"
3275 }
3276 # end func_convert_file_nix_to_w32
3277
3278
3279 # func_convert_file_msys_to_cygwin ARG
3280 # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
3281 # Returns result in func_to_host_file_result.
3282 func_convert_file_msys_to_cygwin ()
3283 {
3284 $debug_cmd
3285
3286 func_to_host_file_result=$1
3287 if test -n "$1"; then
3288 func_convert_core_msys_to_w32 "$1"
3289 func_cygpath -u "$func_convert_core_msys_to_w32_result"
3290 func_to_host_file_result=$func_cygpath_result
3291 fi
3292 func_convert_file_check "$1" "$func_to_host_file_result"
3293 }
3294 # end func_convert_file_msys_to_cygwin
3295
3296
3297 # func_convert_file_nix_to_cygwin ARG
3298 # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
3299 # in a wine environment, working winepath, and LT_CYGPATH set. Returns result
3300 # in func_to_host_file_result.
3301 func_convert_file_nix_to_cygwin ()
3302 {
3303 $debug_cmd
3304
3305 func_to_host_file_result=$1
3306 if test -n "$1"; then
3307 # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
3308 func_convert_core_file_wine_to_w32 "$1"
3309 func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
3310 func_to_host_file_result=$func_cygpath_result
3311 fi
3312 func_convert_file_check "$1" "$func_to_host_file_result"
3313 }
3314 # end func_convert_file_nix_to_cygwin
3315
3316
3317 #############################################
3318 # $build to $host PATH CONVERSION FUNCTIONS #
3319 #############################################
3320 # invoked via '$to_host_path_cmd ARG'
3321 #
3322 # In each case, ARG is the path to be converted from $build to $host format.
3323 # The result will be available in $func_to_host_path_result.
3324 #
3325 # Path separators are also converted from $build format to $host format. If
3326 # ARG begins or ends with a path separator character, it is preserved (but
3327 # converted to $host format) on output.
3328 #
3329 # All path conversion functions are named using the following convention:
3330 # file name conversion function : func_convert_file_X_to_Y ()
3331 # path conversion function : func_convert_path_X_to_Y ()
3332 # where, for any given $build/$host combination the 'X_to_Y' value is the
3333 # same. If conversion functions are added for new $build/$host combinations,
3334 # the two new functions must follow this pattern, or func_init_to_host_path_cmd
3335 # will break.
3336
3337
3338 # func_init_to_host_path_cmd
3339 # Ensures that function "pointer" variable $to_host_path_cmd is set to the
3340 # appropriate value, based on the value of $to_host_file_cmd.
3341 to_host_path_cmd=
3342 func_init_to_host_path_cmd ()
3343 {
3344 $debug_cmd
3345
3346 if test -z "$to_host_path_cmd"; then
3347 func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
3348 to_host_path_cmd=func_convert_path_$func_stripname_result
3349 fi
3350 }
3351
3352
3353 # func_to_host_path ARG
3354 # Converts the path ARG from $build format to $host format. Return result
3355 # in func_to_host_path_result.
3356 func_to_host_path ()
3357 {
3358 $debug_cmd
3359
3360 func_init_to_host_path_cmd
3361 $to_host_path_cmd "$1"
3362 }
3363 # end func_to_host_path
3364
3365
3366 # func_convert_path_noop ARG
3367 # Copy ARG to func_to_host_path_result.
3368 func_convert_path_noop ()
3369 {
3370 func_to_host_path_result=$1
3371 }
3372 # end func_convert_path_noop
3373
3374
3375 # func_convert_path_msys_to_w32 ARG
3376 # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
3377 # conversion to w32 is not available inside the cwrapper. Returns result in
3378 # func_to_host_path_result.
3379 func_convert_path_msys_to_w32 ()
3380 {
3381 $debug_cmd
3382
3383 func_to_host_path_result=$1
3384 if test -n "$1"; then
3385 # Remove leading and trailing path separator characters from ARG. MSYS
3386 # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
3387 # and winepath ignores them completely.
3388 func_stripname : : "$1"
3389 func_to_host_path_tmp1=$func_stripname_result
3390 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3391 func_to_host_path_result=$func_convert_core_msys_to_w32_result
3392 func_convert_path_check : ";" \
3393 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3394 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3395 fi
3396 }
3397 # end func_convert_path_msys_to_w32
3398
3399
3400 # func_convert_path_cygwin_to_w32 ARG
3401 # Convert path ARG from Cygwin to w32 format. Returns result in
3402 # func_to_host_file_result.
3403 func_convert_path_cygwin_to_w32 ()
3404 {
3405 $debug_cmd
3406
3407 func_to_host_path_result=$1
3408 if test -n "$1"; then
3409 # See func_convert_path_msys_to_w32:
3410 func_stripname : : "$1"
3411 func_to_host_path_tmp1=$func_stripname_result
3412 func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
3413 func_convert_path_check : ";" \
3414 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3415 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3416 fi
3417 }
3418 # end func_convert_path_cygwin_to_w32
3419
3420
3421 # func_convert_path_nix_to_w32 ARG
3422 # Convert path ARG from *nix to w32 format. Requires a wine environment and
3423 # a working winepath. Returns result in func_to_host_file_result.
3424 func_convert_path_nix_to_w32 ()
3425 {
3426 $debug_cmd
3427
3428 func_to_host_path_result=$1
3429 if test -n "$1"; then
3430 # See func_convert_path_msys_to_w32:
3431 func_stripname : : "$1"
3432 func_to_host_path_tmp1=$func_stripname_result
3433 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3434 func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
3435 func_convert_path_check : ";" \
3436 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3437 func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3438 fi
3439 }
3440 # end func_convert_path_nix_to_w32
3441
3442
3443 # func_convert_path_msys_to_cygwin ARG
3444 # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
3445 # Returns result in func_to_host_file_result.
3446 func_convert_path_msys_to_cygwin ()
3447 {
3448 $debug_cmd
3449
3450 func_to_host_path_result=$1
3451 if test -n "$1"; then
3452 # See func_convert_path_msys_to_w32:
3453 func_stripname : : "$1"
3454 func_to_host_path_tmp1=$func_stripname_result
3455 func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3456 func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
3457 func_to_host_path_result=$func_cygpath_result
3458 func_convert_path_check : : \
3459 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3460 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3461 fi
3462 }
3463 # end func_convert_path_msys_to_cygwin
3464
3465
3466 # func_convert_path_nix_to_cygwin ARG
3467 # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
3468 # a wine environment, working winepath, and LT_CYGPATH set. Returns result in
3469 # func_to_host_file_result.
3470 func_convert_path_nix_to_cygwin ()
3471 {
3472 $debug_cmd
3473
3474 func_to_host_path_result=$1
3475 if test -n "$1"; then
3476 # Remove leading and trailing path separator characters from
3477 # ARG. msys behavior is inconsistent here, cygpath turns them
3478 # into '.;' and ';.', and winepath ignores them completely.
3479 func_stripname : : "$1"
3480 func_to_host_path_tmp1=$func_stripname_result
3481 func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3482 func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
3483 func_to_host_path_result=$func_cygpath_result
3484 func_convert_path_check : : \
3485 "$func_to_host_path_tmp1" "$func_to_host_path_result"
3486 func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3487 fi
3488 }
3489 # end func_convert_path_nix_to_cygwin
3490
3491
3492 # func_dll_def_p FILE
3493 # True iff FILE is a Windows DLL '.def' file.
3494 # Keep in sync with _LT_DLL_DEF_P in libtool.m4
3495 func_dll_def_p ()
3496 {
3497 $debug_cmd
3498
3499 func_dll_def_p_tmp=`$SED -n \
3500 -e 's/^[ ]*//' \
3501 -e '/^\(;.*\)*$/d' \
3502 -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
3503 -e q \
3504 "$1"`
3505 test DEF = "$func_dll_def_p_tmp"
3506 }
3507
3508
3509 # func_mode_compile arg...
3510 func_mode_compile ()
3511 {
3512 $debug_cmd
3513
3514 # Get the compilation command and the source file.
3515 base_compile=
3516 srcfile=$nonopt # always keep a non-empty value in "srcfile"
3517 suppress_opt=yes
3518 suppress_output=
3519 arg_mode=normal
3520 libobj=
3521 later=
3522 pie_flag=
3523
3524 for arg
3525 do
3526 case $arg_mode in
3527 arg )
3528 # do not "continue". Instead, add this to base_compile
3529 lastarg=$arg
3530 arg_mode=normal
3531 ;;
3532
3533 target )
3534 libobj=$arg
3535 arg_mode=normal
3536 continue
3537 ;;
3538
3539 normal )
3540 # Accept any command-line options.
3541 case $arg in
3542 -o)
3543 test -n "$libobj" && \
3544 func_fatal_error "you cannot specify '-o' more than once"
3545 arg_mode=target
3546 continue
3547 ;;
3548
3549 -pie | -fpie | -fPIE)
3550 func_append pie_flag " $arg"
3551 continue
3552 ;;
3553
3554 -shared | -static | -prefer-pic | -prefer-non-pic)
3555 func_append later " $arg"
3556 continue
3557 ;;
3558
3559 -no-suppress)
3560 suppress_opt=no
3561 continue
3562 ;;
3563
3564 -Xcompiler)
3565 arg_mode=arg # the next one goes into the "base_compile" arg list
3566 continue # The current "srcfile" will either be retained or
3567 ;; # replaced later. I would guess that would be a bug.
3568
3569 -Wc,*)
3570 func_stripname '-Wc,' '' "$arg"
3571 args=$func_stripname_result
3572 lastarg=
3573 save_ifs=$IFS; IFS=,
3574 for arg in $args; do
3575 IFS=$save_ifs
3576 func_append_quoted lastarg "$arg"
3577 done
3578 IFS=$save_ifs
3579 func_stripname ' ' '' "$lastarg"
3580 lastarg=$func_stripname_result
3581
3582 # Add the arguments to base_compile.
3583 func_append base_compile " $lastarg"
3584 continue
3585 ;;
3586
3587 *)
3588 # Accept the current argument as the source file.
3589 # The previous "srcfile" becomes the current argument.
3590 #
3591 lastarg=$srcfile
3592 srcfile=$arg
3593 ;;
3594 esac # case $arg
3595 ;;
3596 esac # case $arg_mode
3597
3598 # Aesthetically quote the previous argument.
3599 func_append_quoted base_compile "$lastarg"
3600 done # for arg
3601
3602 case $arg_mode in
3603 arg)
3604 func_fatal_error "you must specify an argument for -Xcompile"
3605 ;;
3606 target)
3607 func_fatal_error "you must specify a target with '-o'"
3608 ;;
3609 *)
3610 # Get the name of the library object.
3611 test -z "$libobj" && {
3612 func_basename "$srcfile"
3613 libobj=$func_basename_result
3614 }
3615 ;;
3616 esac
3617
3618 # Recognize several different file suffixes.
3619 # If the user specifies -o file.o, it is replaced with file.lo
3620 case $libobj in
3621 *.[cCFSifmso] | \
3622 *.ada | *.adb | *.ads | *.asm | \
3623 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
3624 *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
3625 func_xform "$libobj"
3626 libobj=$func_xform_result
3627 ;;
3628 esac
3629
3630 case $libobj in
3631 *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
3632 *)
3633 func_fatal_error "cannot determine name of library object from '$libobj'"
3634 ;;
3635 esac
3636
3637 func_infer_tag $base_compile
3638
3639 for arg in $later; do
3640 case $arg in
3641 -shared)
3642 test yes = "$build_libtool_libs" \
3643 || func_fatal_configuration "cannot build a shared library"
3644 build_old_libs=no
3645 continue
3646 ;;
3647
3648 -static)
3649 build_libtool_libs=no
3650 build_old_libs=yes
3651 continue
3652 ;;
3653
3654 -prefer-pic)
3655 pic_mode=yes
3656 continue
3657 ;;
3658
3659 -prefer-non-pic)
3660 pic_mode=no
3661 continue
3662 ;;
3663 esac
3664 done
3665
3666 func_quote_arg pretty "$libobj"
3667 test "X$libobj" != "X$func_quote_arg_result" \
3668 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
3669 && func_warning "libobj name '$libobj' may not contain shell special characters."
3670 func_dirname_and_basename "$obj" "/" ""
3671 objname=$func_basename_result
3672 xdir=$func_dirname_result
3673 lobj=$xdir$objdir/$objname
3674
3675 test -z "$base_compile" && \
3676 func_fatal_help "you must specify a compilation command"
3677
3678 # Delete any leftover library objects.
3679 if test yes = "$build_old_libs"; then
3680 removelist="$obj $lobj $libobj ${libobj}T"
3681 else
3682 removelist="$lobj $libobj ${libobj}T"
3683 fi
3684
3685 # On Cygwin there's no "real" PIC flag so we must build both object types
3686 case $host_os in
3687 cygwin* | mingw* | pw32* | os2* | cegcc*)
3688 pic_mode=default
3689 ;;
3690 esac
3691 if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
3692 # non-PIC code in shared libraries is not supported
3693 pic_mode=default
3694 fi
3695
3696 # Calculate the filename of the output object if compiler does
3697 # not support -o with -c
3698 if test no = "$compiler_c_o"; then
3699 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
3700 lockfile=$output_obj.lock
3701 else
3702 output_obj=
3703 need_locks=no
3704 lockfile=
3705 fi
3706
3707 # Lock this critical section if it is needed
3708 # We use this script file to make the link, it avoids creating a new file
3709 if test yes = "$need_locks"; then
3710 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
3711 func_echo "Waiting for $lockfile to be removed"
3712 sleep 2
3713 done
3714 elif test warn = "$need_locks"; then
3715 if test -f "$lockfile"; then
3716 $ECHO "\
3717 *** ERROR, $lockfile exists and contains:
3718 `cat $lockfile 2>/dev/null`
3719
3720 This indicates that another process is trying to use the same
3721 temporary object file, and libtool could not work around it because
3722 your compiler does not support '-c' and '-o' together. If you
3723 repeat this compilation, it may succeed, by chance, but you had better
3724 avoid parallel builds (make -j) in this platform, or get a better
3725 compiler."
3726
3727 $opt_dry_run || $RM $removelist
3728 exit $EXIT_FAILURE
3729 fi
3730 func_append removelist " $output_obj"
3731 $ECHO "$srcfile" > "$lockfile"
3732 fi
3733
3734 $opt_dry_run || $RM $removelist
3735 func_append removelist " $lockfile"
3736 trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
3737
3738 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
3739 srcfile=$func_to_tool_file_result
3740 func_quote_arg pretty "$srcfile"
3741 qsrcfile=$func_quote_arg_result
3742
3743 # Only build a PIC object if we are building libtool libraries.
3744 if test yes = "$build_libtool_libs"; then
3745 # Without this assignment, base_compile gets emptied.
3746 fbsd_hideous_sh_bug=$base_compile
3747
3748 if test no != "$pic_mode"; then
3749 command="$base_compile $qsrcfile $pic_flag"
3750 else
3751 # Don't build PIC code
3752 command="$base_compile $qsrcfile"
3753 fi
3754
3755 func_mkdir_p "$xdir$objdir"
3756
3757 if test -z "$output_obj"; then
3758 # Place PIC objects in $objdir
3759 func_append command " -o $lobj"
3760 fi
3761
3762 func_show_eval_locale "$command" \
3763 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
3764
3765 if test warn = "$need_locks" &&
3766 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
3767 $ECHO "\
3768 *** ERROR, $lockfile contains:
3769 `cat $lockfile 2>/dev/null`
3770
3771 but it should contain:
3772 $srcfile
3773
3774 This indicates that another process is trying to use the same
3775 temporary object file, and libtool could not work around it because
3776 your compiler does not support '-c' and '-o' together. If you
3777 repeat this compilation, it may succeed, by chance, but you had better
3778 avoid parallel builds (make -j) in this platform, or get a better
3779 compiler."
3780
3781 $opt_dry_run || $RM $removelist
3782 exit $EXIT_FAILURE
3783 fi
3784
3785 # Just move the object if needed, then go on to compile the next one
3786 if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
3787 func_show_eval '$MV "$output_obj" "$lobj"' \
3788 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
3789 fi
3790
3791 # Allow error messages only from the first compilation.
3792 if test yes = "$suppress_opt"; then
3793 suppress_output=' >/dev/null 2>&1'
3794 fi
3795 fi
3796
3797 # Only build a position-dependent object if we build old libraries.
3798 if test yes = "$build_old_libs"; then
3799 if test yes != "$pic_mode"; then
3800 # Don't build PIC code
3801 command="$base_compile $qsrcfile$pie_flag"
3802 else
3803 command="$base_compile $qsrcfile $pic_flag"
3804 fi
3805 if test yes = "$compiler_c_o"; then
3806 func_append command " -o $obj"
3807 fi
3808
3809 # Suppress compiler output if we already did a PIC compilation.
3810 func_append command "$suppress_output"
3811 func_show_eval_locale "$command" \
3812 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
3813
3814 if test warn = "$need_locks" &&
3815 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
3816 $ECHO "\
3817 *** ERROR, $lockfile contains:
3818 `cat $lockfile 2>/dev/null`
3819
3820 but it should contain:
3821 $srcfile
3822
3823 This indicates that another process is trying to use the same
3824 temporary object file, and libtool could not work around it because
3825 your compiler does not support '-c' and '-o' together. If you
3826 repeat this compilation, it may succeed, by chance, but you had better
3827 avoid parallel builds (make -j) in this platform, or get a better
3828 compiler."
3829
3830 $opt_dry_run || $RM $removelist
3831 exit $EXIT_FAILURE
3832 fi
3833
3834 # Just move the object if needed
3835 if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
3836 func_show_eval '$MV "$output_obj" "$obj"' \
3837 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
3838 fi
3839 fi
3840
3841 $opt_dry_run || {
3842 func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
3843
3844 # Unlock the critical section if it was locked
3845 if test no != "$need_locks"; then
3846 removelist=$lockfile
3847 $RM "$lockfile"
3848 fi
3849 }
3850
3851 exit $EXIT_SUCCESS
3852 }
3853
3854 $opt_help || {
3855 test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
3856 }
3857
3858 func_mode_help ()
3859 {
3860 # We need to display help for each of the modes.
3861 case $opt_mode in
3862 "")
3863 # Generic help is extracted from the usage comments
3864 # at the start of this file.
3865 func_help
3866 ;;
3867
3868 clean)
3869 $ECHO \
3870 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
3871
3872 Remove files from the build directory.
3873
3874 RM is the name of the program to use to delete files associated with each FILE
3875 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
3876 to RM.
3877
3878 If FILE is a libtool library, object or program, all the files associated
3879 with it are deleted. Otherwise, only FILE itself is deleted using RM."
3880 ;;
3881
3882 compile)
3883 $ECHO \
3884 "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
3885
3886 Compile a source file into a libtool library object.
3887
3888 This mode accepts the following additional options:
3889
3890 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
3891 -no-suppress do not suppress compiler output for multiple passes
3892 -prefer-pic try to build PIC objects only
3893 -prefer-non-pic try to build non-PIC objects only
3894 -shared do not build a '.o' file suitable for static linking
3895 -static only build a '.o' file suitable for static linking
3896 -Wc,FLAG
3897 -Xcompiler FLAG pass FLAG directly to the compiler
3898
3899 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
3900 from the given SOURCEFILE.
3901
3902 The output file name is determined by removing the directory component from
3903 SOURCEFILE, then substituting the C source code suffix '.c' with the
3904 library object suffix, '.lo'."
3905 ;;
3906
3907 execute)
3908 $ECHO \
3909 "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
3910
3911 Automatically set library path, then run a program.
3912
3913 This mode accepts the following additional options:
3914
3915 -dlopen FILE add the directory containing FILE to the library path
3916
3917 This mode sets the library path environment variable according to '-dlopen'
3918 flags.
3919
3920 If any of the ARGS are libtool executable wrappers, then they are translated
3921 into their corresponding uninstalled binary, and any of their required library
3922 directories are added to the library path.
3923
3924 Then, COMMAND is executed, with ARGS as arguments."
3925 ;;
3926
3927 finish)
3928 $ECHO \
3929 "Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
3930
3931 Complete the installation of libtool libraries.
3932
3933 Each LIBDIR is a directory that contains libtool libraries.
3934
3935 The commands that this mode executes may require superuser privileges. Use
3936 the '--dry-run' option if you just want to see what would be executed."
3937 ;;
3938
3939 install)
3940 $ECHO \
3941 "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
3942
3943 Install executables or libraries.
3944
3945 INSTALL-COMMAND is the installation command. The first component should be
3946 either the 'install' or 'cp' program.
3947
3948 The following components of INSTALL-COMMAND are treated specially:
3949
3950 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
3951
3952 The rest of the components are interpreted as arguments to that command (only
3953 BSD-compatible install options are recognized)."
3954 ;;
3955
3956 link)
3957 $ECHO \
3958 "Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
3959
3960 Link object files or libraries together to form another library, or to
3961 create an executable program.
3962
3963 LINK-COMMAND is a command using the C compiler that you would use to create
3964 a program from several object files.
3965
3966 The following components of LINK-COMMAND are treated specially:
3967
3968 -all-static do not do any dynamic linking at all
3969 -avoid-version do not add a version suffix if possible
3970 -bindir BINDIR specify path to binaries directory (for systems where
3971 libraries must be found in the PATH setting at runtime)
3972 -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
3973 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
3974 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
3975 -export-symbols SYMFILE
3976 try to export only the symbols listed in SYMFILE
3977 -export-symbols-regex REGEX
3978 try to export only the symbols matching REGEX
3979 -LLIBDIR search LIBDIR for required installed libraries
3980 -lNAME OUTPUT-FILE requires the installed library libNAME
3981 -module build a library that can dlopened
3982 -no-fast-install disable the fast-install mode
3983 -no-install link a not-installable executable
3984 -no-undefined declare that a library does not refer to external symbols
3985 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
3986 -objectlist FILE use a list of object files found in FILE to specify objects
3987 -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
3988 -precious-files-regex REGEX
3989 don't remove output files matching REGEX
3990 -release RELEASE specify package release information
3991 -rpath LIBDIR the created library will eventually be installed in LIBDIR
3992 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
3993 -shared only do dynamic linking of libtool libraries
3994 -shrext SUFFIX override the standard shared library file extension
3995 -static do not do any dynamic linking of uninstalled libtool libraries
3996 -static-libtool-libs
3997 do not do any dynamic linking of libtool libraries
3998 -version-info CURRENT[:REVISION[:AGE]]
3999 specify library version info [each variable defaults to 0]
4000 -weak LIBNAME declare that the target provides the LIBNAME interface
4001 -Wc,FLAG
4002 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
4003 -Wa,FLAG
4004 -Xassembler FLAG pass linker-specific FLAG directly to the assembler
4005 -Wl,FLAG
4006 -Xlinker FLAG pass linker-specific FLAG directly to the linker
4007 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
4008
4009 All other options (arguments beginning with '-') are ignored.
4010
4011 Every other argument is treated as a filename. Files ending in '.la' are
4012 treated as uninstalled libtool libraries, other files are standard or library
4013 object files.
4014
4015 If the OUTPUT-FILE ends in '.la', then a libtool library is created,
4016 only library objects ('.lo' files) may be specified, and '-rpath' is
4017 required, except when creating a convenience library.
4018
4019 If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
4020 using 'ar' and 'ranlib', or on Windows using 'lib'.
4021
4022 If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
4023 is created, otherwise an executable program is created."
4024 ;;
4025
4026 uninstall)
4027 $ECHO \
4028 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
4029
4030 Remove libraries from an installation directory.
4031
4032 RM is the name of the program to use to delete files associated with each FILE
4033 (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
4034 to RM.
4035
4036 If FILE is a libtool library, all the files associated with it are deleted.
4037 Otherwise, only FILE itself is deleted using RM."
4038 ;;
4039
4040 *)
4041 func_fatal_help "invalid operation mode '$opt_mode'"
4042 ;;
4043 esac
4044
4045 echo
4046 $ECHO "Try '$progname --help' for more information about other modes."
4047 }
4048
4049 # Now that we've collected a possible --mode arg, show help if necessary
4050 if $opt_help; then
4051 if test : = "$opt_help"; then
4052 func_mode_help
4053 else
4054 {
4055 func_help noexit
4056 for opt_mode in compile link execute install finish uninstall clean; do
4057 func_mode_help
4058 done
4059 } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
4060 {
4061 func_help noexit
4062 for opt_mode in compile link execute install finish uninstall clean; do
4063 echo
4064 func_mode_help
4065 done
4066 } |
4067 $SED '1d
4068 /^When reporting/,/^Report/{
4069 H
4070 d
4071 }
4072 $x
4073 /information about other modes/d
4074 /more detailed .*MODE/d
4075 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
4076 fi
4077 exit $?
4078 fi
4079
4080
4081 # func_mode_execute arg...
4082 func_mode_execute ()
4083 {
4084 $debug_cmd
4085
4086 # The first argument is the command name.
4087 cmd=$nonopt
4088 test -z "$cmd" && \
4089 func_fatal_help "you must specify a COMMAND"
4090
4091 # Handle -dlopen flags immediately.
4092 for file in $opt_dlopen; do
4093 test -f "$file" \
4094 || func_fatal_help "'$file' is not a file"
4095
4096 dir=
4097 case $file in
4098 *.la)
4099 func_resolve_sysroot "$file"
4100 file=$func_resolve_sysroot_result
4101
4102 # Check to see that this really is a libtool archive.
4103 func_lalib_unsafe_p "$file" \
4104 || func_fatal_help "'$lib' is not a valid libtool archive"
4105
4106 # Read the libtool library.
4107 dlname=
4108 library_names=
4109 func_source "$file"
4110
4111 # Skip this library if it cannot be dlopened.
4112 if test -z "$dlname"; then
4113 # Warn if it was a shared library.
4114 test -n "$library_names" && \
4115 func_warning "'$file' was not linked with '-export-dynamic'"
4116 continue
4117 fi
4118
4119 func_dirname "$file" "" "."
4120 dir=$func_dirname_result
4121
4122 if test -f "$dir/$objdir/$dlname"; then
4123 func_append dir "/$objdir"
4124 else
4125 if test ! -f "$dir/$dlname"; then
4126 func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
4127 fi
4128 fi
4129 ;;
4130
4131 *.lo)
4132 # Just add the directory containing the .lo file.
4133 func_dirname "$file" "" "."
4134 dir=$func_dirname_result
4135 ;;
4136
4137 *)
4138 func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
4139 continue
4140 ;;
4141 esac
4142
4143 # Get the absolute pathname.
4144 absdir=`cd "$dir" && pwd`
4145 test -n "$absdir" && dir=$absdir
4146
4147 # Now add the directory to shlibpath_var.
4148 if eval "test -z \"\$$shlibpath_var\""; then
4149 eval "$shlibpath_var=\"\$dir\""
4150 else
4151 eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
4152 fi
4153 done
4154
4155 # This variable tells wrapper scripts just to set shlibpath_var
4156 # rather than running their programs.
4157 libtool_execute_magic=$magic
4158
4159 # Check if any of the arguments is a wrapper script.
4160 args=
4161 for file
4162 do
4163 case $file in
4164 -* | *.la | *.lo ) ;;
4165 *)
4166 # Do a test to see if this is really a libtool program.
4167 if func_ltwrapper_script_p "$file"; then
4168 func_source "$file"
4169 # Transform arg to wrapped name.
4170 file=$progdir/$program
4171 elif func_ltwrapper_executable_p "$file"; then
4172 func_ltwrapper_scriptname "$file"
4173 func_source "$func_ltwrapper_scriptname_result"
4174 # Transform arg to wrapped name.
4175 file=$progdir/$program
4176 fi
4177 ;;
4178 esac
4179 # Quote arguments (to preserve shell metacharacters).
4180 func_append_quoted args "$file"
4181 done
4182
4183 if $opt_dry_run; then
4184 # Display what would be done.
4185 if test -n "$shlibpath_var"; then
4186 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
4187 echo "export $shlibpath_var"
4188 fi
4189 $ECHO "$cmd$args"
4190 exit $EXIT_SUCCESS
4191 else
4192 if test -n "$shlibpath_var"; then
4193 # Export the shlibpath_var.
4194 eval "export $shlibpath_var"
4195 fi
4196
4197 # Restore saved environment variables
4198 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
4199 do
4200 eval "if test \"\${save_$lt_var+set}\" = set; then
4201 $lt_var=\$save_$lt_var; export $lt_var
4202 else
4203 $lt_unset $lt_var
4204 fi"
4205 done
4206
4207 # Now prepare to actually exec the command.
4208 exec_cmd=\$cmd$args
4209 fi
4210 }
4211
4212 test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
4213
4214
4215 # func_mode_finish arg...
4216 func_mode_finish ()
4217 {
4218 $debug_cmd
4219
4220 libs=
4221 libdirs=
4222 admincmds=
4223
4224 for opt in "$nonopt" ${1+"$@"}
4225 do
4226 if test -d "$opt"; then
4227 func_append libdirs " $opt"
4228
4229 elif test -f "$opt"; then
4230 if func_lalib_unsafe_p "$opt"; then
4231 func_append libs " $opt"
4232 else
4233 func_warning "'$opt' is not a valid libtool archive"
4234 fi
4235
4236 else
4237 func_fatal_error "invalid argument '$opt'"
4238 fi
4239 done
4240
4241 if test -n "$libs"; then
4242 if test -n "$lt_sysroot"; then
4243 sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
4244 sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
4245 else
4246 sysroot_cmd=
4247 fi
4248
4249 # Remove sysroot references
4250 if $opt_dry_run; then
4251 for lib in $libs; do
4252 echo "removing references to $lt_sysroot and '=' prefixes from $lib"
4253 done
4254 else
4255 tmpdir=`func_mktempdir`
4256 for lib in $libs; do
4257 $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
4258 > $tmpdir/tmp-la
4259 mv -f $tmpdir/tmp-la $lib
4260 done
4261 ${RM}r "$tmpdir"
4262 fi
4263 fi
4264
4265 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
4266 for libdir in $libdirs; do
4267 if test -n "$finish_cmds"; then
4268 # Do each command in the finish commands.
4269 func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
4270 '"$cmd"'"'
4271 fi
4272 if test -n "$finish_eval"; then
4273 # Do the single finish_eval.
4274 eval cmds=\"$finish_eval\"
4275 $opt_dry_run || eval "$cmds" || func_append admincmds "
4276 $cmds"
4277 fi
4278 done
4279 fi
4280
4281 # Exit here if they wanted silent mode.
4282 $opt_quiet && exit $EXIT_SUCCESS
4283
4284 if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
4285 echo "----------------------------------------------------------------------"
4286 echo "Libraries have been installed in:"
4287 for libdir in $libdirs; do
4288 $ECHO " $libdir"
4289 done
4290 echo
4291 echo "If you ever happen to want to link against installed libraries"
4292 echo "in a given directory, LIBDIR, you must either use libtool, and"
4293 echo "specify the full pathname of the library, or use the '-LLIBDIR'"
4294 echo "flag during linking and do at least one of the following:"
4295 if test -n "$shlibpath_var"; then
4296 echo " - add LIBDIR to the '$shlibpath_var' environment variable"
4297 echo " during execution"
4298 fi
4299 if test -n "$runpath_var"; then
4300 echo " - add LIBDIR to the '$runpath_var' environment variable"
4301 echo " during linking"
4302 fi
4303 if test -n "$hardcode_libdir_flag_spec"; then
4304 libdir=LIBDIR
4305 eval flag=\"$hardcode_libdir_flag_spec\"
4306
4307 $ECHO " - use the '$flag' linker flag"
4308 fi
4309 if test -n "$admincmds"; then
4310 $ECHO " - have your system administrator run these commands:$admincmds"
4311 fi
4312 if test -f /etc/ld.so.conf; then
4313 echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
4314 fi
4315 echo
4316
4317 echo "See any operating system documentation about shared libraries for"
4318 case $host in
4319 solaris2.[6789]|solaris2.1[0-9])
4320 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
4321 echo "pages."
4322 ;;
4323 *)
4324 echo "more information, such as the ld(1) and ld.so(8) manual pages."
4325 ;;
4326 esac
4327 echo "----------------------------------------------------------------------"
4328 fi
4329 exit $EXIT_SUCCESS
4330 }
4331
4332 test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
4333
4334
4335 # func_mode_install arg...
4336 func_mode_install ()
4337 {
4338 $debug_cmd
4339
4340 # There may be an optional sh(1) argument at the beginning of
4341 # install_prog (especially on Windows NT).
4342 if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
4343 # Allow the use of GNU shtool's install command.
4344 case $nonopt in *shtool*) :;; *) false;; esac
4345 then
4346 # Aesthetically quote it.
4347 func_quote_arg pretty "$nonopt"
4348 install_prog="$func_quote_arg_result "
4349 arg=$1
4350 shift
4351 else
4352 install_prog=
4353 arg=$nonopt
4354 fi
4355
4356 # The real first argument should be the name of the installation program.
4357 # Aesthetically quote it.
4358 func_quote_arg pretty "$arg"
4359 func_append install_prog "$func_quote_arg_result"
4360 install_shared_prog=$install_prog
4361 case " $install_prog " in
4362 *[\\\ /]cp\ *) install_cp=: ;;
4363 *) install_cp=false ;;
4364 esac
4365
4366 # We need to accept at least all the BSD install flags.
4367 dest=
4368 files=
4369 opts=
4370 prev=
4371 install_type=
4372 isdir=false
4373 stripme=
4374 no_mode=:
4375 for arg
4376 do
4377 arg2=
4378 if test -n "$dest"; then
4379 func_append files " $dest"
4380 dest=$arg
4381 continue
4382 fi
4383
4384 case $arg in
4385 -d) isdir=: ;;
4386 -f)
4387 if $install_cp; then :; else
4388 prev=$arg
4389 fi
4390 ;;
4391 -g | -m | -o)
4392 prev=$arg
4393 ;;
4394 -s)
4395 stripme=" -s"
4396 continue
4397 ;;
4398 -*)
4399 ;;
4400 *)
4401 # If the previous option needed an argument, then skip it.
4402 if test -n "$prev"; then
4403 if test X-m = "X$prev" && test -n "$install_override_mode"; then
4404 arg2=$install_override_mode
4405 no_mode=false
4406 fi
4407 prev=
4408 else
4409 dest=$arg
4410 continue
4411 fi
4412 ;;
4413 esac
4414
4415 # Aesthetically quote the argument.
4416 func_quote_arg pretty "$arg"
4417 func_append install_prog " $func_quote_arg_result"
4418 if test -n "$arg2"; then
4419 func_quote_arg pretty "$arg2"
4420 fi
4421 func_append install_shared_prog " $func_quote_arg_result"
4422 done
4423
4424 test -z "$install_prog" && \
4425 func_fatal_help "you must specify an install program"
4426
4427 test -n "$prev" && \
4428 func_fatal_help "the '$prev' option requires an argument"
4429
4430 if test -n "$install_override_mode" && $no_mode; then
4431 if $install_cp; then :; else
4432 func_quote_arg pretty "$install_override_mode"
4433 func_append install_shared_prog " -m $func_quote_arg_result"
4434 fi
4435 fi
4436
4437 if test -z "$files"; then
4438 if test -z "$dest"; then
4439 func_fatal_help "no file or destination specified"
4440 else
4441 func_fatal_help "you must specify a destination"
4442 fi
4443 fi
4444
4445 # Strip any trailing slash from the destination.
4446 func_stripname '' '/' "$dest"
4447 dest=$func_stripname_result
4448
4449 # Check to see that the destination is a directory.
4450 test -d "$dest" && isdir=:
4451 if $isdir; then
4452 destdir=$dest
4453 destname=
4454 else
4455 func_dirname_and_basename "$dest" "" "."
4456 destdir=$func_dirname_result
4457 destname=$func_basename_result
4458
4459 # Not a directory, so check to see that there is only one file specified.
4460 set dummy $files; shift
4461 test "$#" -gt 1 && \
4462 func_fatal_help "'$dest' is not a directory"
4463 fi
4464 case $destdir in
4465 [\\/]* | [A-Za-z]:[\\/]*) ;;
4466 *)
4467 for file in $files; do
4468 case $file in
4469 *.lo) ;;
4470 *)
4471 func_fatal_help "'$destdir' must be an absolute directory name"
4472 ;;
4473 esac
4474 done
4475 ;;
4476 esac
4477
4478 # This variable tells wrapper scripts just to set variables rather
4479 # than running their programs.
4480 libtool_install_magic=$magic
4481
4482 staticlibs=
4483 future_libdirs=
4484 current_libdirs=
4485 for file in $files; do
4486
4487 # Do each installation.
4488 case $file in
4489 *.$libext)
4490 # Do the static libraries later.
4491 func_append staticlibs " $file"
4492 ;;
4493
4494 *.la)
4495 func_resolve_sysroot "$file"
4496 file=$func_resolve_sysroot_result
4497
4498 # Check to see that this really is a libtool archive.
4499 func_lalib_unsafe_p "$file" \
4500 || func_fatal_help "'$file' is not a valid libtool archive"
4501
4502 library_names=
4503 old_library=
4504 relink_command=
4505 func_source "$file"
4506
4507 # Add the libdir to current_libdirs if it is the destination.
4508 if test "X$destdir" = "X$libdir"; then
4509 case "$current_libdirs " in
4510 *" $libdir "*) ;;
4511 *) func_append current_libdirs " $libdir" ;;
4512 esac
4513 else
4514 # Note the libdir as a future libdir.
4515 case "$future_libdirs " in
4516 *" $libdir "*) ;;
4517 *) func_append future_libdirs " $libdir" ;;
4518 esac
4519 fi
4520
4521 func_dirname "$file" "/" ""
4522 dir=$func_dirname_result
4523 func_append dir "$objdir"
4524
4525 if test -n "$relink_command"; then
4526 # Determine the prefix the user has applied to our future dir.
4527 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
4528
4529 # Don't allow the user to place us outside of our expected
4530 # location b/c this prevents finding dependent libraries that
4531 # are installed to the same prefix.
4532 # At present, this check doesn't affect windows .dll's that
4533 # are installed into $libdir/../bin (currently, that works fine)
4534 # but it's something to keep an eye on.
4535 test "$inst_prefix_dir" = "$destdir" && \
4536 func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
4537
4538 if test -n "$inst_prefix_dir"; then
4539 # Stick the inst_prefix_dir data into the link command.
4540 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
4541 else
4542 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
4543 fi
4544
4545 func_warning "relinking '$file'"
4546 func_show_eval "$relink_command" \
4547 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
4548 fi
4549
4550 # See the names of the shared library.
4551 set dummy $library_names; shift
4552 if test -n "$1"; then
4553 realname=$1
4554 shift
4555
4556 srcname=$realname
4557 test -n "$relink_command" && srcname=${realname}T
4558
4559 # Install the shared library and build the symlinks.
4560 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
4561 'exit $?'
4562 tstripme=$stripme
4563 case $host_os in
4564 cygwin* | mingw* | pw32* | cegcc*)
4565 case $realname in
4566 *.dll.a)
4567 tstripme=
4568 ;;
4569 esac
4570 ;;
4571 os2*)
4572 case $realname in
4573 *_dll.a)
4574 tstripme=
4575 ;;
4576 esac
4577 ;;
4578 esac
4579 if test -n "$tstripme" && test -n "$striplib"; then
4580 func_show_eval "$striplib $destdir/$realname" 'exit $?'
4581 fi
4582
4583 if test "$#" -gt 0; then
4584 # Delete the old symlinks, and create new ones.
4585 # Try 'ln -sf' first, because the 'ln' binary might depend on
4586 # the symlink we replace! Solaris /bin/ln does not understand -f,
4587 # so we also need to try rm && ln -s.
4588 for linkname
4589 do
4590 test "$linkname" != "$realname" \
4591 && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
4592 done
4593 fi
4594
4595 # Do each command in the postinstall commands.
4596 lib=$destdir/$realname
4597 func_execute_cmds "$postinstall_cmds" 'exit $?'
4598 fi
4599
4600 # Install the pseudo-library for information purposes.
4601 func_basename "$file"
4602 name=$func_basename_result
4603 instname=$dir/${name}i
4604 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
4605
4606 # Maybe install the static library, too.
4607 test -n "$old_library" && func_append staticlibs " $dir/$old_library"
4608 ;;
4609
4610 *.lo)
4611 # Install (i.e. copy) a libtool object.
4612
4613 # Figure out destination file name, if it wasn't already specified.
4614 if test -n "$destname"; then
4615 destfile=$destdir/$destname
4616 else
4617 func_basename "$file"
4618 destfile=$func_basename_result
4619 destfile=$destdir/$destfile
4620 fi
4621
4622 # Deduce the name of the destination old-style object file.
4623 case $destfile in
4624 *.lo)
4625 func_lo2o "$destfile"
4626 staticdest=$func_lo2o_result
4627 ;;
4628 *.$objext)
4629 staticdest=$destfile
4630 destfile=
4631 ;;
4632 *)
4633 func_fatal_help "cannot copy a libtool object to '$destfile'"
4634 ;;
4635 esac
4636
4637 # Install the libtool object if requested.
4638 test -n "$destfile" && \
4639 func_show_eval "$install_prog $file $destfile" 'exit $?'
4640
4641 # Install the old object if enabled.
4642 if test yes = "$build_old_libs"; then
4643 # Deduce the name of the old-style object file.
4644 func_lo2o "$file"
4645 staticobj=$func_lo2o_result
4646 func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
4647 fi
4648 exit $EXIT_SUCCESS
4649 ;;
4650
4651 *)
4652 # Figure out destination file name, if it wasn't already specified.
4653 if test -n "$destname"; then
4654 destfile=$destdir/$destname
4655 else
4656 func_basename "$file"
4657 destfile=$func_basename_result
4658 destfile=$destdir/$destfile
4659 fi
4660
4661 # If the file is missing, and there is a .exe on the end, strip it
4662 # because it is most likely a libtool script we actually want to
4663 # install
4664 stripped_ext=
4665 case $file in
4666 *.exe)
4667 if test ! -f "$file"; then
4668 func_stripname '' '.exe' "$file"
4669 file=$func_stripname_result
4670 stripped_ext=.exe
4671 fi
4672 ;;
4673 esac
4674
4675 # Do a test to see if this is really a libtool program.
4676 case $host in
4677 *cygwin* | *mingw*)
4678 if func_ltwrapper_executable_p "$file"; then
4679 func_ltwrapper_scriptname "$file"
4680 wrapper=$func_ltwrapper_scriptname_result
4681 else
4682 func_stripname '' '.exe' "$file"
4683 wrapper=$func_stripname_result
4684 fi
4685 ;;
4686 *)
4687 wrapper=$file
4688 ;;
4689 esac
4690 if func_ltwrapper_script_p "$wrapper"; then
4691 notinst_deplibs=
4692 relink_command=
4693
4694 func_source "$wrapper"
4695
4696 # Check the variables that should have been set.
4697 test -z "$generated_by_libtool_version" && \
4698 func_fatal_error "invalid libtool wrapper script '$wrapper'"
4699
4700 finalize=:
4701 for lib in $notinst_deplibs; do
4702 # Check to see that each library is installed.
4703 libdir=
4704 if test -f "$lib"; then
4705 func_source "$lib"
4706 fi
4707 libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
4708 if test -n "$libdir" && test ! -f "$libfile"; then
4709 func_warning "'$lib' has not been installed in '$libdir'"
4710 finalize=false
4711 fi
4712 done
4713
4714 relink_command=
4715 func_source "$wrapper"
4716
4717 outputname=
4718 if test no = "$fast_install" && test -n "$relink_command"; then
4719 $opt_dry_run || {
4720 if $finalize; then
4721 tmpdir=`func_mktempdir`
4722 func_basename "$file$stripped_ext"
4723 file=$func_basename_result
4724 outputname=$tmpdir/$file
4725 # Replace the output file specification.
4726 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
4727
4728 $opt_quiet || {
4729 func_quote_arg expand,pretty "$relink_command"
4730 eval "func_echo $func_quote_arg_result"
4731 }
4732 if eval "$relink_command"; then :
4733 else
4734 func_error "error: relink '$file' with the above command before installing it"
4735 $opt_dry_run || ${RM}r "$tmpdir"
4736 continue
4737 fi
4738 file=$outputname
4739 else
4740 func_warning "cannot relink '$file'"
4741 fi
4742 }
4743 else
4744 # Install the binary that we compiled earlier.
4745 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
4746 fi
4747 fi
4748
4749 # remove .exe since cygwin /usr/bin/install will append another
4750 # one anyway
4751 case $install_prog,$host in
4752 */usr/bin/install*,*cygwin*)
4753 case $file:$destfile in
4754 *.exe:*.exe)
4755 # this is ok
4756 ;;
4757 *.exe:*)
4758 destfile=$destfile.exe
4759 ;;
4760 *:*.exe)
4761 func_stripname '' '.exe' "$destfile"
4762 destfile=$func_stripname_result
4763 ;;
4764 esac
4765 ;;
4766 esac
4767 func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
4768 $opt_dry_run || if test -n "$outputname"; then
4769 ${RM}r "$tmpdir"
4770 fi
4771 ;;
4772 esac
4773 done
4774
4775 for file in $staticlibs; do
4776 func_basename "$file"
4777 name=$func_basename_result
4778
4779 # Set up the ranlib parameters.
4780 oldlib=$destdir/$name
4781 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
4782 tool_oldlib=$func_to_tool_file_result
4783
4784 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
4785
4786 if test -n "$stripme" && test -n "$old_striplib"; then
4787 func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
4788 fi
4789
4790 # Do each command in the postinstall commands.
4791 func_execute_cmds "$old_postinstall_cmds" 'exit $?'
4792 done
4793
4794 test -n "$future_libdirs" && \
4795 func_warning "remember to run '$progname --finish$future_libdirs'"
4796
4797 if test -n "$current_libdirs"; then
4798 # Maybe just do a dry run.
4799 $opt_dry_run && current_libdirs=" -n$current_libdirs"
4800 exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
4801 else
4802 exit $EXIT_SUCCESS
4803 fi
4804 }
4805
4806 test install = "$opt_mode" && func_mode_install ${1+"$@"}
4807
4808
4809 # func_generate_dlsyms outputname originator pic_p
4810 # Extract symbols from dlprefiles and create ${outputname}S.o with
4811 # a dlpreopen symbol table.
4812 func_generate_dlsyms ()
4813 {
4814 $debug_cmd
4815
4816 my_outputname=$1
4817 my_originator=$2
4818 my_pic_p=${3-false}
4819 my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
4820 my_dlsyms=
4821
4822 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
4823 if test -n "$NM" && test -n "$global_symbol_pipe"; then
4824 my_dlsyms=${my_outputname}S.c
4825 else
4826 func_error "not configured to extract global symbols from dlpreopened files"
4827 fi
4828 fi
4829
4830 if test -n "$my_dlsyms"; then
4831 case $my_dlsyms in
4832 "") ;;
4833 *.c)
4834 # Discover the nlist of each of the dlfiles.
4835 nlist=$output_objdir/$my_outputname.nm
4836
4837 func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
4838
4839 # Parse the name list into a source file.
4840 func_verbose "creating $output_objdir/$my_dlsyms"
4841
4842 $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
4843 /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
4844 /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
4845
4846 #ifdef __cplusplus
4847 extern \"C\" {
4848 #endif
4849
4850 #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
4851 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
4852 #endif
4853
4854 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4855 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4856 /* DATA imports from DLLs on WIN32 can't be const, because runtime
4857 relocations are performed -- see ld's documentation on pseudo-relocs. */
4858 # define LT_DLSYM_CONST
4859 #elif defined __osf__
4860 /* This system does not cope well with relocations in const data. */
4861 # define LT_DLSYM_CONST
4862 #else
4863 # define LT_DLSYM_CONST const
4864 #endif
4865
4866 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
4867
4868 /* External symbol declarations for the compiler. */\
4869 "
4870
4871 if test yes = "$dlself"; then
4872 func_verbose "generating symbol list for '$output'"
4873
4874 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
4875
4876 # Add our own program objects to the symbol list.
4877 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
4878 for progfile in $progfiles; do
4879 func_to_tool_file "$progfile" func_convert_file_msys_to_w32
4880 func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
4881 $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
4882 done
4883
4884 if test -n "$exclude_expsyms"; then
4885 $opt_dry_run || {
4886 eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
4887 eval '$MV "$nlist"T "$nlist"'
4888 }
4889 fi
4890
4891 if test -n "$export_symbols_regex"; then
4892 $opt_dry_run || {
4893 eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
4894 eval '$MV "$nlist"T "$nlist"'
4895 }
4896 fi
4897
4898 # Prepare the list of exported symbols
4899 if test -z "$export_symbols"; then
4900 export_symbols=$output_objdir/$outputname.exp
4901 $opt_dry_run || {
4902 $RM $export_symbols
4903 eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4904 case $host in
4905 *cygwin* | *mingw* | *cegcc* )
4906 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4907 eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
4908 ;;
4909 esac
4910 }
4911 else
4912 $opt_dry_run || {
4913 eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4914 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
4915 eval '$MV "$nlist"T "$nlist"'
4916 case $host in
4917 *cygwin* | *mingw* | *cegcc* )
4918 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4919 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
4920 ;;
4921 esac
4922 }
4923 fi
4924 fi
4925
4926 for dlprefile in $dlprefiles; do
4927 func_verbose "extracting global C symbols from '$dlprefile'"
4928 func_basename "$dlprefile"
4929 name=$func_basename_result
4930 case $host in
4931 *cygwin* | *mingw* | *cegcc* )
4932 # if an import library, we need to obtain dlname
4933 if func_win32_import_lib_p "$dlprefile"; then
4934 func_tr_sh "$dlprefile"
4935 eval "curr_lafile=\$libfile_$func_tr_sh_result"
4936 dlprefile_dlbasename=
4937 if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
4938 # Use subshell, to avoid clobbering current variable values
4939 dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
4940 if test -n "$dlprefile_dlname"; then
4941 func_basename "$dlprefile_dlname"
4942 dlprefile_dlbasename=$func_basename_result
4943 else
4944 # no lafile. user explicitly requested -dlpreopen <import library>.
4945 $sharedlib_from_linklib_cmd "$dlprefile"
4946 dlprefile_dlbasename=$sharedlib_from_linklib_result
4947 fi
4948 fi
4949 $opt_dry_run || {
4950 if test -n "$dlprefile_dlbasename"; then
4951 eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
4952 else
4953 func_warning "Could not compute DLL name from $name"
4954 eval '$ECHO ": $name " >> "$nlist"'
4955 fi
4956 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4957 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
4958 $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
4959 }
4960 else # not an import lib
4961 $opt_dry_run || {
4962 eval '$ECHO ": $name " >> "$nlist"'
4963 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4964 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
4965 }
4966 fi
4967 ;;
4968 *)
4969 $opt_dry_run || {
4970 eval '$ECHO ": $name " >> "$nlist"'
4971 func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
4972 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
4973 }
4974 ;;
4975 esac
4976 done
4977
4978 $opt_dry_run || {
4979 # Make sure we have at least an empty file.
4980 test -f "$nlist" || : > "$nlist"
4981
4982 if test -n "$exclude_expsyms"; then
4983 $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
4984 $MV "$nlist"T "$nlist"
4985 fi
4986
4987 # Try sorting and uniquifying the output.
4988 if $GREP -v "^: " < "$nlist" |
4989 if sort -k 3 </dev/null >/dev/null 2>&1; then
4990 sort -k 3
4991 else
4992 sort +2
4993 fi |
4994 uniq > "$nlist"S; then
4995 :
4996 else
4997 $GREP -v "^: " < "$nlist" > "$nlist"S
4998 fi
4999
5000 if test -f "$nlist"S; then
5001 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
5002 else
5003 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
5004 fi
5005
5006 func_show_eval '$RM "${nlist}I"'
5007 if test -n "$global_symbol_to_import"; then
5008 eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
5009 fi
5010
5011 echo >> "$output_objdir/$my_dlsyms" "\
5012
5013 /* The mapping between symbol names and symbols. */
5014 typedef struct {
5015 const char *name;
5016 void *address;
5017 } lt_dlsymlist;
5018 extern LT_DLSYM_CONST lt_dlsymlist
5019 lt_${my_prefix}_LTX_preloaded_symbols[];\
5020 "
5021
5022 if test -s "$nlist"I; then
5023 echo >> "$output_objdir/$my_dlsyms" "\
5024 static void lt_syminit(void)
5025 {
5026 LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
5027 for (; symbol->name; ++symbol)
5028 {"
5029 $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
5030 echo >> "$output_objdir/$my_dlsyms" "\
5031 }
5032 }"
5033 fi
5034 echo >> "$output_objdir/$my_dlsyms" "\
5035 LT_DLSYM_CONST lt_dlsymlist
5036 lt_${my_prefix}_LTX_preloaded_symbols[] =
5037 { {\"$my_originator\", (void *) 0},"
5038
5039 if test -s "$nlist"I; then
5040 echo >> "$output_objdir/$my_dlsyms" "\
5041 {\"@INIT@\", (void *) &lt_syminit},"
5042 fi
5043
5044 case $need_lib_prefix in
5045 no)
5046 eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
5047 ;;
5048 *)
5049 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
5050 ;;
5051 esac
5052 echo >> "$output_objdir/$my_dlsyms" "\
5053 {0, (void *) 0}
5054 };
5055
5056 /* This works around a problem in FreeBSD linker */
5057 #ifdef FREEBSD_WORKAROUND
5058 static const void *lt_preloaded_setup() {
5059 return lt_${my_prefix}_LTX_preloaded_symbols;
5060 }
5061 #endif
5062
5063 #ifdef __cplusplus
5064 }
5065 #endif\
5066 "
5067 } # !$opt_dry_run
5068
5069 pic_flag_for_symtable=
5070 case "$compile_command " in
5071 *" -static "*) ;;
5072 *)
5073 case $host in
5074 # compiling the symbol table file with pic_flag works around
5075 # a FreeBSD bug that causes programs to crash when -lm is
5076 # linked before any other PIC object. But we must not use
5077 # pic_flag when linking with -static. The problem exists in
5078 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
5079 *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
5080 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
5081 *-*-hpux*)
5082 pic_flag_for_symtable=" $pic_flag" ;;
5083 *)
5084 $my_pic_p && pic_flag_for_symtable=" $pic_flag"
5085 ;;
5086 esac
5087 ;;
5088 esac
5089 symtab_cflags=
5090 for arg in $LTCFLAGS; do
5091 case $arg in
5092 -pie | -fpie | -fPIE) ;;
5093 *) func_append symtab_cflags " $arg" ;;
5094 esac
5095 done
5096
5097 # Now compile the dynamic symbol file.
5098 func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
5099
5100 # Clean up the generated files.
5101 func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
5102
5103 # Transform the symbol file into the correct name.
5104 symfileobj=$output_objdir/${my_outputname}S.$objext
5105 case $host in
5106 *cygwin* | *mingw* | *cegcc* )
5107 if test -f "$output_objdir/$my_outputname.def"; then
5108 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
5109 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
5110 else
5111 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
5112 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
5113 fi
5114 ;;
5115 *)
5116 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
5117 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
5118 ;;
5119 esac
5120 ;;
5121 *)
5122 func_fatal_error "unknown suffix for '$my_dlsyms'"
5123 ;;
5124 esac
5125 else
5126 # We keep going just in case the user didn't refer to
5127 # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
5128 # really was required.
5129
5130 # Nullify the symbol file.
5131 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
5132 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
5133 fi
5134 }
5135
5136 # func_cygming_gnu_implib_p ARG
5137 # This predicate returns with zero status (TRUE) if
5138 # ARG is a GNU/binutils-style import library. Returns
5139 # with nonzero status (FALSE) otherwise.
5140 func_cygming_gnu_implib_p ()
5141 {
5142 $debug_cmd
5143
5144 func_to_tool_file "$1" func_convert_file_msys_to_w32
5145 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
5146 test -n "$func_cygming_gnu_implib_tmp"
5147 }
5148
5149 # func_cygming_ms_implib_p ARG
5150 # This predicate returns with zero status (TRUE) if
5151 # ARG is an MS-style import library. Returns
5152 # with nonzero status (FALSE) otherwise.
5153 func_cygming_ms_implib_p ()
5154 {
5155 $debug_cmd
5156
5157 func_to_tool_file "$1" func_convert_file_msys_to_w32
5158 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
5159 test -n "$func_cygming_ms_implib_tmp"
5160 }
5161
5162 # func_win32_libid arg
5163 # return the library type of file 'arg'
5164 #
5165 # Need a lot of goo to handle *both* DLLs and import libs
5166 # Has to be a shell function in order to 'eat' the argument
5167 # that is supplied when $file_magic_command is called.
5168 # Despite the name, also deal with 64 bit binaries.
5169 func_win32_libid ()
5170 {
5171 $debug_cmd
5172
5173 win32_libid_type=unknown
5174 win32_fileres=`file -L $1 2>/dev/null`
5175 case $win32_fileres in
5176 *ar\ archive\ import\ library*) # definitely import
5177 win32_libid_type="x86 archive import"
5178 ;;
5179 *ar\ archive*) # could be an import, or static
5180 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
5181 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
5182 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
5183 case $nm_interface in
5184 "MS dumpbin")
5185 if func_cygming_ms_implib_p "$1" ||
5186 func_cygming_gnu_implib_p "$1"
5187 then
5188 win32_nmres=import
5189 else
5190 win32_nmres=
5191 fi
5192 ;;
5193 *)
5194 func_to_tool_file "$1" func_convert_file_msys_to_w32
5195 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
5196 $SED -n -e '
5197 1,100{
5198 / I /{
5199 s|.*|import|
5200 p
5201 q
5202 }
5203 }'`
5204 ;;
5205 esac
5206 case $win32_nmres in
5207 import*) win32_libid_type="x86 archive import";;
5208 *) win32_libid_type="x86 archive static";;
5209 esac
5210 fi
5211 ;;
5212 *DLL*)
5213 win32_libid_type="x86 DLL"
5214 ;;
5215 *executable*) # but shell scripts are "executable" too...
5216 case $win32_fileres in
5217 *MS\ Windows\ PE\ Intel*)
5218 win32_libid_type="x86 DLL"
5219 ;;
5220 esac
5221 ;;
5222 esac
5223 $ECHO "$win32_libid_type"
5224 }
5225
5226 # func_cygming_dll_for_implib ARG
5227 #
5228 # Platform-specific function to extract the
5229 # name of the DLL associated with the specified
5230 # import library ARG.
5231 # Invoked by eval'ing the libtool variable
5232 # $sharedlib_from_linklib_cmd
5233 # Result is available in the variable
5234 # $sharedlib_from_linklib_result
5235 func_cygming_dll_for_implib ()
5236 {
5237 $debug_cmd
5238
5239 sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
5240 }
5241
5242 # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
5243 #
5244 # The is the core of a fallback implementation of a
5245 # platform-specific function to extract the name of the
5246 # DLL associated with the specified import library LIBNAME.
5247 #
5248 # SECTION_NAME is either .idata$6 or .idata$7, depending
5249 # on the platform and compiler that created the implib.
5250 #
5251 # Echos the name of the DLL associated with the
5252 # specified import library.
5253 func_cygming_dll_for_implib_fallback_core ()
5254 {
5255 $debug_cmd
5256
5257 match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
5258 $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
5259 $SED '/^Contents of section '"$match_literal"':/{
5260 # Place marker at beginning of archive member dllname section
5261 s/.*/====MARK====/
5262 p
5263 d
5264 }
5265 # These lines can sometimes be longer than 43 characters, but
5266 # are always uninteresting
5267 /:[ ]*file format pe[i]\{,1\}-/d
5268 /^In archive [^:]*:/d
5269 # Ensure marker is printed
5270 /^====MARK====/p
5271 # Remove all lines with less than 43 characters
5272 /^.\{43\}/!d
5273 # From remaining lines, remove first 43 characters
5274 s/^.\{43\}//' |
5275 $SED -n '
5276 # Join marker and all lines until next marker into a single line
5277 /^====MARK====/ b para
5278 H
5279 $ b para
5280 b
5281 :para
5282 x
5283 s/\n//g
5284 # Remove the marker
5285 s/^====MARK====//
5286 # Remove trailing dots and whitespace
5287 s/[\. \t]*$//
5288 # Print
5289 /./p' |
5290 # we now have a list, one entry per line, of the stringified
5291 # contents of the appropriate section of all members of the
5292 # archive that possess that section. Heuristic: eliminate
5293 # all those that have a first or second character that is
5294 # a '.' (that is, objdump's representation of an unprintable
5295 # character.) This should work for all archives with less than
5296 # 0x302f exports -- but will fail for DLLs whose name actually
5297 # begins with a literal '.' or a single character followed by
5298 # a '.'.
5299 #
5300 # Of those that remain, print the first one.
5301 $SED -e '/^\./d;/^.\./d;q'
5302 }
5303
5304 # func_cygming_dll_for_implib_fallback ARG
5305 # Platform-specific function to extract the
5306 # name of the DLL associated with the specified
5307 # import library ARG.
5308 #
5309 # This fallback implementation is for use when $DLLTOOL
5310 # does not support the --identify-strict option.
5311 # Invoked by eval'ing the libtool variable
5312 # $sharedlib_from_linklib_cmd
5313 # Result is available in the variable
5314 # $sharedlib_from_linklib_result
5315 func_cygming_dll_for_implib_fallback ()
5316 {
5317 $debug_cmd
5318
5319 if func_cygming_gnu_implib_p "$1"; then
5320 # binutils import library
5321 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
5322 elif func_cygming_ms_implib_p "$1"; then
5323 # ms-generated import library
5324 sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
5325 else
5326 # unknown
5327 sharedlib_from_linklib_result=
5328 fi
5329 }
5330
5331
5332 # func_extract_an_archive dir oldlib
5333 func_extract_an_archive ()
5334 {
5335 $debug_cmd
5336
5337 f_ex_an_ar_dir=$1; shift
5338 f_ex_an_ar_oldlib=$1
5339 if test yes = "$lock_old_archive_extraction"; then
5340 lockfile=$f_ex_an_ar_oldlib.lock
5341 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
5342 func_echo "Waiting for $lockfile to be removed"
5343 sleep 2
5344 done
5345 fi
5346 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
5347 'stat=$?; rm -f "$lockfile"; exit $stat'
5348 if test yes = "$lock_old_archive_extraction"; then
5349 $opt_dry_run || rm -f "$lockfile"
5350 fi
5351 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
5352 :
5353 else
5354 func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
5355 fi
5356 }
5357
5358
5359 # func_extract_archives gentop oldlib ...
5360 func_extract_archives ()
5361 {
5362 $debug_cmd
5363
5364 my_gentop=$1; shift
5365 my_oldlibs=${1+"$@"}
5366 my_oldobjs=
5367 my_xlib=
5368 my_xabs=
5369 my_xdir=
5370
5371 for my_xlib in $my_oldlibs; do
5372 # Extract the objects.
5373 case $my_xlib in
5374 [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
5375 *) my_xabs=`pwd`"/$my_xlib" ;;
5376 esac
5377 func_basename "$my_xlib"
5378 my_xlib=$func_basename_result
5379 my_xlib_u=$my_xlib
5380 while :; do
5381 case " $extracted_archives " in
5382 *" $my_xlib_u "*)
5383 func_arith $extracted_serial + 1
5384 extracted_serial=$func_arith_result
5385 my_xlib_u=lt$extracted_serial-$my_xlib ;;
5386 *) break ;;
5387 esac
5388 done
5389 extracted_archives="$extracted_archives $my_xlib_u"
5390 my_xdir=$my_gentop/$my_xlib_u
5391
5392 func_mkdir_p "$my_xdir"
5393
5394 case $host in
5395 *-darwin*)
5396 func_verbose "Extracting $my_xabs"
5397 # Do not bother doing anything if just a dry run
5398 $opt_dry_run || {
5399 darwin_orig_dir=`pwd`
5400 cd $my_xdir || exit $?
5401 darwin_archive=$my_xabs
5402 darwin_curdir=`pwd`
5403 func_basename "$darwin_archive"
5404 darwin_base_archive=$func_basename_result
5405 darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
5406 if test -n "$darwin_arches"; then
5407 darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
5408 darwin_arch=
5409 func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
5410 for darwin_arch in $darwin_arches; do
5411 func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
5412 $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
5413 cd "unfat-$$/$darwin_base_archive-$darwin_arch"
5414 func_extract_an_archive "`pwd`" "$darwin_base_archive"
5415 cd "$darwin_curdir"
5416 $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
5417 done # $darwin_arches
5418 ## Okay now we've a bunch of thin objects, gotta fatten them up :)
5419 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
5420 darwin_file=
5421 darwin_files=
5422 for darwin_file in $darwin_filelist; do
5423 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
5424 $LIPO -create -output "$darwin_file" $darwin_files
5425 done # $darwin_filelist
5426 $RM -rf unfat-$$
5427 cd "$darwin_orig_dir"
5428 else
5429 cd $darwin_orig_dir
5430 func_extract_an_archive "$my_xdir" "$my_xabs"
5431 fi # $darwin_arches
5432 } # !$opt_dry_run
5433 ;;
5434 *)
5435 func_extract_an_archive "$my_xdir" "$my_xabs"
5436 ;;
5437 esac
5438 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
5439 done
5440
5441 func_extract_archives_result=$my_oldobjs
5442 }
5443
5444
5445 # func_emit_wrapper [arg=no]
5446 #
5447 # Emit a libtool wrapper script on stdout.
5448 # Don't directly open a file because we may want to
5449 # incorporate the script contents within a cygwin/mingw
5450 # wrapper executable. Must ONLY be called from within
5451 # func_mode_link because it depends on a number of variables
5452 # set therein.
5453 #
5454 # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
5455 # variable will take. If 'yes', then the emitted script
5456 # will assume that the directory where it is stored is
5457 # the $objdir directory. This is a cygwin/mingw-specific
5458 # behavior.
5459 func_emit_wrapper ()
5460 {
5461 func_emit_wrapper_arg1=${1-no}
5462
5463 $ECHO "\
5464 #! $SHELL
5465
5466 # $output - temporary wrapper script for $objdir/$outputname
5467 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
5468 #
5469 # The $output program cannot be directly executed until all the libtool
5470 # libraries that it depends on are installed.
5471 #
5472 # This wrapper script should never be moved out of the build directory.
5473 # If it is, it will not operate correctly.
5474
5475 # Sed substitution that helps us do robust quoting. It backslashifies
5476 # metacharacters that are still active within double-quoted strings.
5477 sed_quote_subst='$sed_quote_subst'
5478
5479 # Be Bourne compatible
5480 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
5481 emulate sh
5482 NULLCMD=:
5483 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
5484 # is contrary to our usage. Disable this feature.
5485 alias -g '\${1+\"\$@\"}'='\"\$@\"'
5486 setopt NO_GLOB_SUBST
5487 else
5488 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
5489 fi
5490 BIN_SH=xpg4; export BIN_SH # for Tru64
5491 DUALCASE=1; export DUALCASE # for MKS sh
5492
5493 # The HP-UX ksh and POSIX shell print the target directory to stdout
5494 # if CDPATH is set.
5495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5496
5497 relink_command=\"$relink_command\"
5498
5499 # This environment variable determines our operation mode.
5500 if test \"\$libtool_install_magic\" = \"$magic\"; then
5501 # install mode needs the following variables:
5502 generated_by_libtool_version='$macro_version'
5503 notinst_deplibs='$notinst_deplibs'
5504 else
5505 # When we are sourced in execute mode, \$file and \$ECHO are already set.
5506 if test \"\$libtool_execute_magic\" != \"$magic\"; then
5507 file=\"\$0\""
5508
5509 func_quote_arg pretty "$ECHO"
5510 qECHO=$func_quote_arg_result
5511 $ECHO "\
5512
5513 # A function that is used when there is no print builtin or printf.
5514 func_fallback_echo ()
5515 {
5516 eval 'cat <<_LTECHO_EOF
5517 \$1
5518 _LTECHO_EOF'
5519 }
5520 ECHO=$qECHO
5521 fi
5522
5523 # Very basic option parsing. These options are (a) specific to
5524 # the libtool wrapper, (b) are identical between the wrapper
5525 # /script/ and the wrapper /executable/ that is used only on
5526 # windows platforms, and (c) all begin with the string "--lt-"
5527 # (application programs are unlikely to have options that match
5528 # this pattern).
5529 #
5530 # There are only two supported options: --lt-debug and
5531 # --lt-dump-script. There is, deliberately, no --lt-help.
5532 #
5533 # The first argument to this parsing function should be the
5534 # script's $0 value, followed by "$@".
5535 lt_option_debug=
5536 func_parse_lt_options ()
5537 {
5538 lt_script_arg0=\$0
5539 shift
5540 for lt_opt
5541 do
5542 case \"\$lt_opt\" in
5543 --lt-debug) lt_option_debug=1 ;;
5544 --lt-dump-script)
5545 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
5546 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
5547 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
5548 cat \"\$lt_dump_D/\$lt_dump_F\"
5549 exit 0
5550 ;;
5551 --lt-*)
5552 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
5553 exit 1
5554 ;;
5555 esac
5556 done
5557
5558 # Print the debug banner immediately:
5559 if test -n \"\$lt_option_debug\"; then
5560 echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
5561 fi
5562 }
5563
5564 # Used when --lt-debug. Prints its arguments to stdout
5565 # (redirection is the responsibility of the caller)
5566 func_lt_dump_args ()
5567 {
5568 lt_dump_args_N=1;
5569 for lt_arg
5570 do
5571 \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
5572 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
5573 done
5574 }
5575
5576 # Core function for launching the target application
5577 func_exec_program_core ()
5578 {
5579 "
5580 case $host in
5581 # Backslashes separate directories on plain windows
5582 *-*-mingw | *-*-os2* | *-cegcc*)
5583 $ECHO "\
5584 if test -n \"\$lt_option_debug\"; then
5585 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
5586 func_lt_dump_args \${1+\"\$@\"} 1>&2
5587 fi
5588 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
5589 "
5590 ;;
5591
5592 *)
5593 $ECHO "\
5594 if test -n \"\$lt_option_debug\"; then
5595 \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
5596 func_lt_dump_args \${1+\"\$@\"} 1>&2
5597 fi
5598 exec \"\$progdir/\$program\" \${1+\"\$@\"}
5599 "
5600 ;;
5601 esac
5602 $ECHO "\
5603 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
5604 exit 1
5605 }
5606
5607 # A function to encapsulate launching the target application
5608 # Strips options in the --lt-* namespace from \$@ and
5609 # launches target application with the remaining arguments.
5610 func_exec_program ()
5611 {
5612 case \" \$* \" in
5613 *\\ --lt-*)
5614 for lt_wr_arg
5615 do
5616 case \$lt_wr_arg in
5617 --lt-*) ;;
5618 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
5619 esac
5620 shift
5621 done ;;
5622 esac
5623 func_exec_program_core \${1+\"\$@\"}
5624 }
5625
5626 # Parse options
5627 func_parse_lt_options \"\$0\" \${1+\"\$@\"}
5628
5629 # Find the directory that this script lives in.
5630 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
5631 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
5632
5633 # Follow symbolic links until we get to the real thisdir.
5634 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
5635 while test -n \"\$file\"; do
5636 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
5637
5638 # If there was a directory component, then change thisdir.
5639 if test \"x\$destdir\" != \"x\$file\"; then
5640 case \"\$destdir\" in
5641 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
5642 *) thisdir=\"\$thisdir/\$destdir\" ;;
5643 esac
5644 fi
5645
5646 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
5647 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
5648 done
5649
5650 # Usually 'no', except on cygwin/mingw when embedded into
5651 # the cwrapper.
5652 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
5653 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
5654 # special case for '.'
5655 if test \"\$thisdir\" = \".\"; then
5656 thisdir=\`pwd\`
5657 fi
5658 # remove .libs from thisdir
5659 case \"\$thisdir\" in
5660 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
5661 $objdir ) thisdir=. ;;
5662 esac
5663 fi
5664
5665 # Try to get the absolute directory name.
5666 absdir=\`cd \"\$thisdir\" && pwd\`
5667 test -n \"\$absdir\" && thisdir=\"\$absdir\"
5668 "
5669
5670 if test yes = "$fast_install"; then
5671 $ECHO "\
5672 program=lt-'$outputname'$exeext
5673 progdir=\"\$thisdir/$objdir\"
5674
5675 if test ! -f \"\$progdir/\$program\" ||
5676 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
5677 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
5678
5679 file=\"\$\$-\$program\"
5680
5681 if test ! -d \"\$progdir\"; then
5682 $MKDIR \"\$progdir\"
5683 else
5684 $RM \"\$progdir/\$file\"
5685 fi"
5686
5687 $ECHO "\
5688
5689 # relink executable if necessary
5690 if test -n \"\$relink_command\"; then
5691 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
5692 else
5693 \$ECHO \"\$relink_command_output\" >&2
5694 $RM \"\$progdir/\$file\"
5695 exit 1
5696 fi
5697 fi
5698
5699 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
5700 { $RM \"\$progdir/\$program\";
5701 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
5702 $RM \"\$progdir/\$file\"
5703 fi"
5704 else
5705 $ECHO "\
5706 program='$outputname'
5707 progdir=\"\$thisdir/$objdir\"
5708 "
5709 fi
5710
5711 $ECHO "\
5712
5713 if test -f \"\$progdir/\$program\"; then"
5714
5715 # fixup the dll searchpath if we need to.
5716 #
5717 # Fix the DLL searchpath if we need to. Do this before prepending
5718 # to shlibpath, because on Windows, both are PATH and uninstalled
5719 # libraries must come first.
5720 if test -n "$dllsearchpath"; then
5721 $ECHO "\
5722 # Add the dll search path components to the executable PATH
5723 PATH=$dllsearchpath:\$PATH
5724 "
5725 fi
5726
5727 # Export our shlibpath_var if we have one.
5728 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
5729 $ECHO "\
5730 # Add our own library path to $shlibpath_var
5731 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
5732
5733 # Some systems cannot cope with colon-terminated $shlibpath_var
5734 # The second colon is a workaround for a bug in BeOS R4 sed
5735 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
5736
5737 export $shlibpath_var
5738 "
5739 fi
5740
5741 $ECHO "\
5742 if test \"\$libtool_execute_magic\" != \"$magic\"; then
5743 # Run the actual program with our arguments.
5744 func_exec_program \${1+\"\$@\"}
5745 fi
5746 else
5747 # The program doesn't exist.
5748 \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
5749 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
5750 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
5751 exit 1
5752 fi
5753 fi\
5754 "
5755 }
5756
5757
5758 # func_emit_cwrapperexe_src
5759 # emit the source code for a wrapper executable on stdout
5760 # Must ONLY be called from within func_mode_link because
5761 # it depends on a number of variable set therein.
5762 func_emit_cwrapperexe_src ()
5763 {
5764 cat <<EOF
5765
5766 /* $cwrappersource - temporary wrapper executable for $objdir/$outputname
5767 Generated by $PROGRAM (GNU $PACKAGE) $VERSION
5768
5769 The $output program cannot be directly executed until all the libtool
5770 libraries that it depends on are installed.
5771
5772 This wrapper executable should never be moved out of the build directory.
5773 If it is, it will not operate correctly.
5774 */
5775 EOF
5776 cat <<"EOF"
5777 #ifdef _MSC_VER
5778 # define _CRT_SECURE_NO_DEPRECATE 1
5779 #endif
5780 #include <stdio.h>
5781 #include <stdlib.h>
5782 #ifdef _MSC_VER
5783 # include <direct.h>
5784 # include <process.h>
5785 # include <io.h>
5786 #else
5787 # include <unistd.h>
5788 # include <stdint.h>
5789 # ifdef __CYGWIN__
5790 # include <io.h>
5791 # endif
5792 #endif
5793 #include <malloc.h>
5794 #include <stdarg.h>
5795 #include <assert.h>
5796 #include <string.h>
5797 #include <ctype.h>
5798 #include <errno.h>
5799 #include <fcntl.h>
5800 #include <sys/stat.h>
5801
5802 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
5803
5804 /* declarations of non-ANSI functions */
5805 #if defined __MINGW32__
5806 # ifdef __STRICT_ANSI__
5807 int _putenv (const char *);
5808 # endif
5809 #elif defined __CYGWIN__
5810 # ifdef __STRICT_ANSI__
5811 char *realpath (const char *, char *);
5812 int putenv (char *);
5813 int setenv (const char *, const char *, int);
5814 # endif
5815 /* #elif defined other_platform || defined ... */
5816 #endif
5817
5818 /* portability defines, excluding path handling macros */
5819 #if defined _MSC_VER
5820 # define setmode _setmode
5821 # define stat _stat
5822 # define chmod _chmod
5823 # define getcwd _getcwd
5824 # define putenv _putenv
5825 # define S_IXUSR _S_IEXEC
5826 #elif defined __MINGW32__
5827 # define setmode _setmode
5828 # define stat _stat
5829 # define chmod _chmod
5830 # define getcwd _getcwd
5831 # define putenv _putenv
5832 #elif defined __CYGWIN__
5833 # define HAVE_SETENV
5834 # define FOPEN_WB "wb"
5835 /* #elif defined other platforms ... */
5836 #endif
5837
5838 #if defined PATH_MAX
5839 # define LT_PATHMAX PATH_MAX
5840 #elif defined MAXPATHLEN
5841 # define LT_PATHMAX MAXPATHLEN
5842 #else
5843 # define LT_PATHMAX 1024
5844 #endif
5845
5846 #ifndef S_IXOTH
5847 # define S_IXOTH 0
5848 #endif
5849 #ifndef S_IXGRP
5850 # define S_IXGRP 0
5851 #endif
5852
5853 /* path handling portability macros */
5854 #ifndef DIR_SEPARATOR
5855 # define DIR_SEPARATOR '/'
5856 # define PATH_SEPARATOR ':'
5857 #endif
5858
5859 #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
5860 defined __OS2__
5861 # define HAVE_DOS_BASED_FILE_SYSTEM
5862 # define FOPEN_WB "wb"
5863 # ifndef DIR_SEPARATOR_2
5864 # define DIR_SEPARATOR_2 '\\'
5865 # endif
5866 # ifndef PATH_SEPARATOR_2
5867 # define PATH_SEPARATOR_2 ';'
5868 # endif
5869 #endif
5870
5871 #ifndef DIR_SEPARATOR_2
5872 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
5873 #else /* DIR_SEPARATOR_2 */
5874 # define IS_DIR_SEPARATOR(ch) \
5875 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
5876 #endif /* DIR_SEPARATOR_2 */
5877
5878 #ifndef PATH_SEPARATOR_2
5879 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
5880 #else /* PATH_SEPARATOR_2 */
5881 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
5882 #endif /* PATH_SEPARATOR_2 */
5883
5884 #ifndef FOPEN_WB
5885 # define FOPEN_WB "w"
5886 #endif
5887 #ifndef _O_BINARY
5888 # define _O_BINARY 0
5889 #endif
5890
5891 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
5892 #define XFREE(stale) do { \
5893 if (stale) { free (stale); stale = 0; } \
5894 } while (0)
5895
5896 #if defined LT_DEBUGWRAPPER
5897 static int lt_debug = 1;
5898 #else
5899 static int lt_debug = 0;
5900 #endif
5901
5902 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
5903
5904 void *xmalloc (size_t num);
5905 char *xstrdup (const char *string);
5906 const char *base_name (const char *name);
5907 char *find_executable (const char *wrapper);
5908 char *chase_symlinks (const char *pathspec);
5909 int make_executable (const char *path);
5910 int check_executable (const char *path);
5911 char *strendzap (char *str, const char *pat);
5912 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
5913 void lt_fatal (const char *file, int line, const char *message, ...);
5914 static const char *nonnull (const char *s);
5915 static const char *nonempty (const char *s);
5916 void lt_setenv (const char *name, const char *value);
5917 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
5918 void lt_update_exe_path (const char *name, const char *value);
5919 void lt_update_lib_path (const char *name, const char *value);
5920 char **prepare_spawn (char **argv);
5921 void lt_dump_script (FILE *f);
5922 EOF
5923
5924 cat <<EOF
5925 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5926 # define externally_visible volatile
5927 #else
5928 # define externally_visible __attribute__((externally_visible)) volatile
5929 #endif
5930 externally_visible const char * MAGIC_EXE = "$magic_exe";
5931 const char * LIB_PATH_VARNAME = "$shlibpath_var";
5932 EOF
5933
5934 if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
5935 func_to_host_path "$temp_rpath"
5936 cat <<EOF
5937 const char * LIB_PATH_VALUE = "$func_to_host_path_result";
5938 EOF
5939 else
5940 cat <<"EOF"
5941 const char * LIB_PATH_VALUE = "";
5942 EOF
5943 fi
5944
5945 if test -n "$dllsearchpath"; then
5946 func_to_host_path "$dllsearchpath:"
5947 cat <<EOF
5948 const char * EXE_PATH_VARNAME = "PATH";
5949 const char * EXE_PATH_VALUE = "$func_to_host_path_result";
5950 EOF
5951 else
5952 cat <<"EOF"
5953 const char * EXE_PATH_VARNAME = "";
5954 const char * EXE_PATH_VALUE = "";
5955 EOF
5956 fi
5957
5958 if test yes = "$fast_install"; then
5959 cat <<EOF
5960 const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
5961 EOF
5962 else
5963 cat <<EOF
5964 const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
5965 EOF
5966 fi
5967
5968
5969 cat <<"EOF"
5970
5971 #define LTWRAPPER_OPTION_PREFIX "--lt-"
5972
5973 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
5974 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
5975 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
5976
5977 int
5978 main (int argc, char *argv[])
5979 {
5980 char **newargz;
5981 int newargc;
5982 char *tmp_pathspec;
5983 char *actual_cwrapper_path;
5984 char *actual_cwrapper_name;
5985 char *target_name;
5986 char *lt_argv_zero;
5987 int rval = 127;
5988
5989 int i;
5990
5991 program_name = (char *) xstrdup (base_name (argv[0]));
5992 newargz = XMALLOC (char *, (size_t) argc + 1);
5993
5994 /* very simple arg parsing; don't want to rely on getopt
5995 * also, copy all non cwrapper options to newargz, except
5996 * argz[0], which is handled differently
5997 */
5998 newargc=0;
5999 for (i = 1; i < argc; i++)
6000 {
6001 if (STREQ (argv[i], dumpscript_opt))
6002 {
6003 EOF
6004 case $host in
6005 *mingw* | *cygwin* )
6006 # make stdout use "unix" line endings
6007 echo " setmode(1,_O_BINARY);"
6008 ;;
6009 esac
6010
6011 cat <<"EOF"
6012 lt_dump_script (stdout);
6013 return 0;
6014 }
6015 if (STREQ (argv[i], debug_opt))
6016 {
6017 lt_debug = 1;
6018 continue;
6019 }
6020 if (STREQ (argv[i], ltwrapper_option_prefix))
6021 {
6022 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
6023 namespace, but it is not one of the ones we know about and
6024 have already dealt with, above (inluding dump-script), then
6025 report an error. Otherwise, targets might begin to believe
6026 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
6027 namespace. The first time any user complains about this, we'll
6028 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
6029 or a configure.ac-settable value.
6030 */
6031 lt_fatal (__FILE__, __LINE__,
6032 "unrecognized %s option: '%s'",
6033 ltwrapper_option_prefix, argv[i]);
6034 }
6035 /* otherwise ... */
6036 newargz[++newargc] = xstrdup (argv[i]);
6037 }
6038 newargz[++newargc] = NULL;
6039
6040 EOF
6041 cat <<EOF
6042 /* The GNU banner must be the first non-error debug message */
6043 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
6044 EOF
6045 cat <<"EOF"
6046 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
6047 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
6048
6049 tmp_pathspec = find_executable (argv[0]);
6050 if (tmp_pathspec == NULL)
6051 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
6052 lt_debugprintf (__FILE__, __LINE__,
6053 "(main) found exe (before symlink chase) at: %s\n",
6054 tmp_pathspec);
6055
6056 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
6057 lt_debugprintf (__FILE__, __LINE__,
6058 "(main) found exe (after symlink chase) at: %s\n",
6059 actual_cwrapper_path);
6060 XFREE (tmp_pathspec);
6061
6062 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
6063 strendzap (actual_cwrapper_path, actual_cwrapper_name);
6064
6065 /* wrapper name transforms */
6066 strendzap (actual_cwrapper_name, ".exe");
6067 tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
6068 XFREE (actual_cwrapper_name);
6069 actual_cwrapper_name = tmp_pathspec;
6070 tmp_pathspec = 0;
6071
6072 /* target_name transforms -- use actual target program name; might have lt- prefix */
6073 target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
6074 strendzap (target_name, ".exe");
6075 tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
6076 XFREE (target_name);
6077 target_name = tmp_pathspec;
6078 tmp_pathspec = 0;
6079
6080 lt_debugprintf (__FILE__, __LINE__,
6081 "(main) libtool target name: %s\n",
6082 target_name);
6083 EOF
6084
6085 cat <<EOF
6086 newargz[0] =
6087 XMALLOC (char, (strlen (actual_cwrapper_path) +
6088 strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
6089 strcpy (newargz[0], actual_cwrapper_path);
6090 strcat (newargz[0], "$objdir");
6091 strcat (newargz[0], "/");
6092 EOF
6093
6094 cat <<"EOF"
6095 /* stop here, and copy so we don't have to do this twice */
6096 tmp_pathspec = xstrdup (newargz[0]);
6097
6098 /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
6099 strcat (newargz[0], actual_cwrapper_name);
6100
6101 /* DO want the lt- prefix here if it exists, so use target_name */
6102 lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
6103 XFREE (tmp_pathspec);
6104 tmp_pathspec = NULL;
6105 EOF
6106
6107 case $host_os in
6108 mingw*)
6109 cat <<"EOF"
6110 {
6111 char* p;
6112 while ((p = strchr (newargz[0], '\\')) != NULL)
6113 {
6114 *p = '/';
6115 }
6116 while ((p = strchr (lt_argv_zero, '\\')) != NULL)
6117 {
6118 *p = '/';
6119 }
6120 }
6121 EOF
6122 ;;
6123 esac
6124
6125 cat <<"EOF"
6126 XFREE (target_name);
6127 XFREE (actual_cwrapper_path);
6128 XFREE (actual_cwrapper_name);
6129
6130 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
6131 lt_setenv ("DUALCASE", "1"); /* for MSK sh */
6132 /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
6133 be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
6134 because on Windows, both *_VARNAMEs are PATH but uninstalled
6135 libraries must come first. */
6136 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
6137 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
6138
6139 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
6140 nonnull (lt_argv_zero));
6141 for (i = 0; i < newargc; i++)
6142 {
6143 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
6144 i, nonnull (newargz[i]));
6145 }
6146
6147 EOF
6148
6149 case $host_os in
6150 mingw*)
6151 cat <<"EOF"
6152 /* execv doesn't actually work on mingw as expected on unix */
6153 newargz = prepare_spawn (newargz);
6154 rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
6155 if (rval == -1)
6156 {
6157 /* failed to start process */
6158 lt_debugprintf (__FILE__, __LINE__,
6159 "(main) failed to launch target \"%s\": %s\n",
6160 lt_argv_zero, nonnull (strerror (errno)));
6161 return 127;
6162 }
6163 return rval;
6164 EOF
6165 ;;
6166 *)
6167 cat <<"EOF"
6168 execv (lt_argv_zero, newargz);
6169 return rval; /* =127, but avoids unused variable warning */
6170 EOF
6171 ;;
6172 esac
6173
6174 cat <<"EOF"
6175 }
6176
6177 void *
6178 xmalloc (size_t num)
6179 {
6180 void *p = (void *) malloc (num);
6181 if (!p)
6182 lt_fatal (__FILE__, __LINE__, "memory exhausted");
6183
6184 return p;
6185 }
6186
6187 char *
6188 xstrdup (const char *string)
6189 {
6190 return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
6191 string) : NULL;
6192 }
6193
6194 const char *
6195 base_name (const char *name)
6196 {
6197 const char *base;
6198
6199 #if defined HAVE_DOS_BASED_FILE_SYSTEM
6200 /* Skip over the disk name in MSDOS pathnames. */
6201 if (isalpha ((unsigned char) name[0]) && name[1] == ':')
6202 name += 2;
6203 #endif
6204
6205 for (base = name; *name; name++)
6206 if (IS_DIR_SEPARATOR (*name))
6207 base = name + 1;
6208 return base;
6209 }
6210
6211 int
6212 check_executable (const char *path)
6213 {
6214 struct stat st;
6215
6216 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
6217 nonempty (path));
6218 if ((!path) || (!*path))
6219 return 0;
6220
6221 if ((stat (path, &st) >= 0)
6222 && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
6223 return 1;
6224 else
6225 return 0;
6226 }
6227
6228 int
6229 make_executable (const char *path)
6230 {
6231 int rval = 0;
6232 struct stat st;
6233
6234 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
6235 nonempty (path));
6236 if ((!path) || (!*path))
6237 return 0;
6238
6239 if (stat (path, &st) >= 0)
6240 {
6241 rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
6242 }
6243 return rval;
6244 }
6245
6246 /* Searches for the full path of the wrapper. Returns
6247 newly allocated full path name if found, NULL otherwise
6248 Does not chase symlinks, even on platforms that support them.
6249 */
6250 char *
6251 find_executable (const char *wrapper)
6252 {
6253 int has_slash = 0;
6254 const char *p;
6255 const char *p_next;
6256 /* static buffer for getcwd */
6257 char tmp[LT_PATHMAX + 1];
6258 size_t tmp_len;
6259 char *concat_name;
6260
6261 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
6262 nonempty (wrapper));
6263
6264 if ((wrapper == NULL) || (*wrapper == '\0'))
6265 return NULL;
6266
6267 /* Absolute path? */
6268 #if defined HAVE_DOS_BASED_FILE_SYSTEM
6269 if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
6270 {
6271 concat_name = xstrdup (wrapper);
6272 if (check_executable (concat_name))
6273 return concat_name;
6274 XFREE (concat_name);
6275 }
6276 else
6277 {
6278 #endif
6279 if (IS_DIR_SEPARATOR (wrapper[0]))
6280 {
6281 concat_name = xstrdup (wrapper);
6282 if (check_executable (concat_name))
6283 return concat_name;
6284 XFREE (concat_name);
6285 }
6286 #if defined HAVE_DOS_BASED_FILE_SYSTEM
6287 }
6288 #endif
6289
6290 for (p = wrapper; *p; p++)
6291 if (*p == '/')
6292 {
6293 has_slash = 1;
6294 break;
6295 }
6296 if (!has_slash)
6297 {
6298 /* no slashes; search PATH */
6299 const char *path = getenv ("PATH");
6300 if (path != NULL)
6301 {
6302 for (p = path; *p; p = p_next)
6303 {
6304 const char *q;
6305 size_t p_len;
6306 for (q = p; *q; q++)
6307 if (IS_PATH_SEPARATOR (*q))
6308 break;
6309 p_len = (size_t) (q - p);
6310 p_next = (*q == '\0' ? q : q + 1);
6311 if (p_len == 0)
6312 {
6313 /* empty path: current directory */
6314 if (getcwd (tmp, LT_PATHMAX) == NULL)
6315 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
6316 nonnull (strerror (errno)));
6317 tmp_len = strlen (tmp);
6318 concat_name =
6319 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6320 memcpy (concat_name, tmp, tmp_len);
6321 concat_name[tmp_len] = '/';
6322 strcpy (concat_name + tmp_len + 1, wrapper);
6323 }
6324 else
6325 {
6326 concat_name =
6327 XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
6328 memcpy (concat_name, p, p_len);
6329 concat_name[p_len] = '/';
6330 strcpy (concat_name + p_len + 1, wrapper);
6331 }
6332 if (check_executable (concat_name))
6333 return concat_name;
6334 XFREE (concat_name);
6335 }
6336 }
6337 /* not found in PATH; assume curdir */
6338 }
6339 /* Relative path | not found in path: prepend cwd */
6340 if (getcwd (tmp, LT_PATHMAX) == NULL)
6341 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
6342 nonnull (strerror (errno)));
6343 tmp_len = strlen (tmp);
6344 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6345 memcpy (concat_name, tmp, tmp_len);
6346 concat_name[tmp_len] = '/';
6347 strcpy (concat_name + tmp_len + 1, wrapper);
6348
6349 if (check_executable (concat_name))
6350 return concat_name;
6351 XFREE (concat_name);
6352 return NULL;
6353 }
6354
6355 char *
6356 chase_symlinks (const char *pathspec)
6357 {
6358 #ifndef S_ISLNK
6359 return xstrdup (pathspec);
6360 #else
6361 char buf[LT_PATHMAX];
6362 struct stat s;
6363 char *tmp_pathspec = xstrdup (pathspec);
6364 char *p;
6365 int has_symlinks = 0;
6366 while (strlen (tmp_pathspec) && !has_symlinks)
6367 {
6368 lt_debugprintf (__FILE__, __LINE__,
6369 "checking path component for symlinks: %s\n",
6370 tmp_pathspec);
6371 if (lstat (tmp_pathspec, &s) == 0)
6372 {
6373 if (S_ISLNK (s.st_mode) != 0)
6374 {
6375 has_symlinks = 1;
6376 break;
6377 }
6378
6379 /* search backwards for last DIR_SEPARATOR */
6380 p = tmp_pathspec + strlen (tmp_pathspec) - 1;
6381 while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
6382 p--;
6383 if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
6384 {
6385 /* no more DIR_SEPARATORS left */
6386 break;
6387 }
6388 *p = '\0';
6389 }
6390 else
6391 {
6392 lt_fatal (__FILE__, __LINE__,
6393 "error accessing file \"%s\": %s",
6394 tmp_pathspec, nonnull (strerror (errno)));
6395 }
6396 }
6397 XFREE (tmp_pathspec);
6398
6399 if (!has_symlinks)
6400 {
6401 return xstrdup (pathspec);
6402 }
6403
6404 tmp_pathspec = realpath (pathspec, buf);
6405 if (tmp_pathspec == 0)
6406 {
6407 lt_fatal (__FILE__, __LINE__,
6408 "could not follow symlinks for %s", pathspec);
6409 }
6410 return xstrdup (tmp_pathspec);
6411 #endif
6412 }
6413
6414 char *
6415 strendzap (char *str, const char *pat)
6416 {
6417 size_t len, patlen;
6418
6419 assert (str != NULL);
6420 assert (pat != NULL);
6421
6422 len = strlen (str);
6423 patlen = strlen (pat);
6424
6425 if (patlen <= len)
6426 {
6427 str += len - patlen;
6428 if (STREQ (str, pat))
6429 *str = '\0';
6430 }
6431 return str;
6432 }
6433
6434 void
6435 lt_debugprintf (const char *file, int line, const char *fmt, ...)
6436 {
6437 va_list args;
6438 if (lt_debug)
6439 {
6440 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
6441 va_start (args, fmt);
6442 (void) vfprintf (stderr, fmt, args);
6443 va_end (args);
6444 }
6445 }
6446
6447 static void
6448 lt_error_core (int exit_status, const char *file,
6449 int line, const char *mode,
6450 const char *message, va_list ap)
6451 {
6452 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
6453 vfprintf (stderr, message, ap);
6454 fprintf (stderr, ".\n");
6455
6456 if (exit_status >= 0)
6457 exit (exit_status);
6458 }
6459
6460 void
6461 lt_fatal (const char *file, int line, const char *message, ...)
6462 {
6463 va_list ap;
6464 va_start (ap, message);
6465 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
6466 va_end (ap);
6467 }
6468
6469 static const char *
6470 nonnull (const char *s)
6471 {
6472 return s ? s : "(null)";
6473 }
6474
6475 static const char *
6476 nonempty (const char *s)
6477 {
6478 return (s && !*s) ? "(empty)" : nonnull (s);
6479 }
6480
6481 void
6482 lt_setenv (const char *name, const char *value)
6483 {
6484 lt_debugprintf (__FILE__, __LINE__,
6485 "(lt_setenv) setting '%s' to '%s'\n",
6486 nonnull (name), nonnull (value));
6487 {
6488 #ifdef HAVE_SETENV
6489 /* always make a copy, for consistency with !HAVE_SETENV */
6490 char *str = xstrdup (value);
6491 setenv (name, str, 1);
6492 #else
6493 size_t len = strlen (name) + 1 + strlen (value) + 1;
6494 char *str = XMALLOC (char, len);
6495 sprintf (str, "%s=%s", name, value);
6496 if (putenv (str) != EXIT_SUCCESS)
6497 {
6498 XFREE (str);
6499 }
6500 #endif
6501 }
6502 }
6503
6504 char *
6505 lt_extend_str (const char *orig_value, const char *add, int to_end)
6506 {
6507 char *new_value;
6508 if (orig_value && *orig_value)
6509 {
6510 size_t orig_value_len = strlen (orig_value);
6511 size_t add_len = strlen (add);
6512 new_value = XMALLOC (char, add_len + orig_value_len + 1);
6513 if (to_end)
6514 {
6515 strcpy (new_value, orig_value);
6516 strcpy (new_value + orig_value_len, add);
6517 }
6518 else
6519 {
6520 strcpy (new_value, add);
6521 strcpy (new_value + add_len, orig_value);
6522 }
6523 }
6524 else
6525 {
6526 new_value = xstrdup (add);
6527 }
6528 return new_value;
6529 }
6530
6531 void
6532 lt_update_exe_path (const char *name, const char *value)
6533 {
6534 lt_debugprintf (__FILE__, __LINE__,
6535 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
6536 nonnull (name), nonnull (value));
6537
6538 if (name && *name && value && *value)
6539 {
6540 char *new_value = lt_extend_str (getenv (name), value, 0);
6541 /* some systems can't cope with a ':'-terminated path #' */
6542 size_t len = strlen (new_value);
6543 while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
6544 {
6545 new_value[--len] = '\0';
6546 }
6547 lt_setenv (name, new_value);
6548 XFREE (new_value);
6549 }
6550 }
6551
6552 void
6553 lt_update_lib_path (const char *name, const char *value)
6554 {
6555 lt_debugprintf (__FILE__, __LINE__,
6556 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
6557 nonnull (name), nonnull (value));
6558
6559 if (name && *name && value && *value)
6560 {
6561 char *new_value = lt_extend_str (getenv (name), value, 0);
6562 lt_setenv (name, new_value);
6563 XFREE (new_value);
6564 }
6565 }
6566
6567 EOF
6568 case $host_os in
6569 mingw*)
6570 cat <<"EOF"
6571
6572 /* Prepares an argument vector before calling spawn().
6573 Note that spawn() does not by itself call the command interpreter
6574 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
6575 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
6576 GetVersionEx(&v);
6577 v.dwPlatformId == VER_PLATFORM_WIN32_NT;
6578 }) ? "cmd.exe" : "command.com").
6579 Instead it simply concatenates the arguments, separated by ' ', and calls
6580 CreateProcess(). We must quote the arguments since Win32 CreateProcess()
6581 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
6582 special way:
6583 - Space and tab are interpreted as delimiters. They are not treated as
6584 delimiters if they are surrounded by double quotes: "...".
6585 - Unescaped double quotes are removed from the input. Their only effect is
6586 that within double quotes, space and tab are treated like normal
6587 characters.
6588 - Backslashes not followed by double quotes are not special.
6589 - But 2*n+1 backslashes followed by a double quote become
6590 n backslashes followed by a double quote (n >= 0):
6591 \" -> "
6592 \\\" -> \"
6593 \\\\\" -> \\"
6594 */
6595 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
6596 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
6597 char **
6598 prepare_spawn (char **argv)
6599 {
6600 size_t argc;
6601 char **new_argv;
6602 size_t i;
6603
6604 /* Count number of arguments. */
6605 for (argc = 0; argv[argc] != NULL; argc++)
6606 ;
6607
6608 /* Allocate new argument vector. */
6609 new_argv = XMALLOC (char *, argc + 1);
6610
6611 /* Put quoted arguments into the new argument vector. */
6612 for (i = 0; i < argc; i++)
6613 {
6614 const char *string = argv[i];
6615
6616 if (string[0] == '\0')
6617 new_argv[i] = xstrdup ("\"\"");
6618 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
6619 {
6620 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
6621 size_t length;
6622 unsigned int backslashes;
6623 const char *s;
6624 char *quoted_string;
6625 char *p;
6626
6627 length = 0;
6628 backslashes = 0;
6629 if (quote_around)
6630 length++;
6631 for (s = string; *s != '\0'; s++)
6632 {
6633 char c = *s;
6634 if (c == '"')
6635 length += backslashes + 1;
6636 length++;
6637 if (c == '\\')
6638 backslashes++;
6639 else
6640 backslashes = 0;
6641 }
6642 if (quote_around)
6643 length += backslashes + 1;
6644
6645 quoted_string = XMALLOC (char, length + 1);
6646
6647 p = quoted_string;
6648 backslashes = 0;
6649 if (quote_around)
6650 *p++ = '"';
6651 for (s = string; *s != '\0'; s++)
6652 {
6653 char c = *s;
6654 if (c == '"')
6655 {
6656 unsigned int j;
6657 for (j = backslashes + 1; j > 0; j--)
6658 *p++ = '\\';
6659 }
6660 *p++ = c;
6661 if (c == '\\')
6662 backslashes++;
6663 else
6664 backslashes = 0;
6665 }
6666 if (quote_around)
6667 {
6668 unsigned int j;
6669 for (j = backslashes; j > 0; j--)
6670 *p++ = '\\';
6671 *p++ = '"';
6672 }
6673 *p = '\0';
6674
6675 new_argv[i] = quoted_string;
6676 }
6677 else
6678 new_argv[i] = (char *) string;
6679 }
6680 new_argv[argc] = NULL;
6681
6682 return new_argv;
6683 }
6684 EOF
6685 ;;
6686 esac
6687
6688 cat <<"EOF"
6689 void lt_dump_script (FILE* f)
6690 {
6691 EOF
6692 func_emit_wrapper yes |
6693 $SED -n -e '
6694 s/^\(.\{79\}\)\(..*\)/\1\
6695 \2/
6696 h
6697 s/\([\\"]\)/\\\1/g
6698 s/$/\\n/
6699 s/\([^\n]*\).*/ fputs ("\1", f);/p
6700 g
6701 D'
6702 cat <<"EOF"
6703 }
6704 EOF
6705 }
6706 # end: func_emit_cwrapperexe_src
6707
6708 # func_win32_import_lib_p ARG
6709 # True if ARG is an import lib, as indicated by $file_magic_cmd
6710 func_win32_import_lib_p ()
6711 {
6712 $debug_cmd
6713
6714 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
6715 *import*) : ;;
6716 *) false ;;
6717 esac
6718 }
6719
6720 # func_suncc_cstd_abi
6721 # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
6722 # Several compiler flags select an ABI that is incompatible with the
6723 # Cstd library. Avoid specifying it if any are in CXXFLAGS.
6724 func_suncc_cstd_abi ()
6725 {
6726 $debug_cmd
6727
6728 case " $compile_command " in
6729 *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
6730 suncc_use_cstd_abi=no
6731 ;;
6732 *)
6733 suncc_use_cstd_abi=yes
6734 ;;
6735 esac
6736 }
6737
6738 # func_mode_link arg...
6739 func_mode_link ()
6740 {
6741 $debug_cmd
6742
6743 case $host in
6744 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
6745 # It is impossible to link a dll without this setting, and
6746 # we shouldn't force the makefile maintainer to figure out
6747 # what system we are compiling for in order to pass an extra
6748 # flag for every libtool invocation.
6749 # allow_undefined=no
6750
6751 # FIXME: Unfortunately, there are problems with the above when trying
6752 # to make a dll that has undefined symbols, in which case not
6753 # even a static library is built. For now, we need to specify
6754 # -no-undefined on the libtool link line when we can be certain
6755 # that all symbols are satisfied, otherwise we get a static library.
6756 allow_undefined=yes
6757 ;;
6758 *)
6759 allow_undefined=yes
6760 ;;
6761 esac
6762 libtool_args=$nonopt
6763 base_compile="$nonopt $@"
6764 compile_command=$nonopt
6765 finalize_command=$nonopt
6766
6767 compile_rpath=
6768 finalize_rpath=
6769 compile_shlibpath=
6770 finalize_shlibpath=
6771 convenience=
6772 old_convenience=
6773 deplibs=
6774 old_deplibs=
6775 compiler_flags=
6776 linker_flags=
6777 dllsearchpath=
6778 lib_search_path=`pwd`
6779 inst_prefix_dir=
6780 new_inherited_linker_flags=
6781
6782 avoid_version=no
6783 bindir=
6784 dlfiles=
6785 dlprefiles=
6786 dlself=no
6787 export_dynamic=no
6788 export_symbols=
6789 export_symbols_regex=
6790 generated=
6791 libobjs=
6792 ltlibs=
6793 module=no
6794 no_install=no
6795 objs=
6796 os2dllname=
6797 non_pic_objects=
6798 precious_files_regex=
6799 prefer_static_libs=no
6800 preload=false
6801 prev=
6802 prevarg=
6803 release=
6804 rpath=
6805 xrpath=
6806 perm_rpath=
6807 temp_rpath=
6808 thread_safe=no
6809 vinfo=
6810 vinfo_number=no
6811 weak_libs=
6812 single_module=$wl-single_module
6813 func_infer_tag $base_compile
6814
6815 # We need to know -static, to get the right output filenames.
6816 for arg
6817 do
6818 case $arg in
6819 -shared)
6820 test yes != "$build_libtool_libs" \
6821 && func_fatal_configuration "cannot build a shared library"
6822 build_old_libs=no
6823 break
6824 ;;
6825 -all-static | -static | -static-libtool-libs)
6826 case $arg in
6827 -all-static)
6828 if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
6829 func_warning "complete static linking is impossible in this configuration"
6830 fi
6831 if test -n "$link_static_flag"; then
6832 dlopen_self=$dlopen_self_static
6833 fi
6834 prefer_static_libs=yes
6835 ;;
6836 -static)
6837 if test -z "$pic_flag" && test -n "$link_static_flag"; then
6838 dlopen_self=$dlopen_self_static
6839 fi
6840 prefer_static_libs=built
6841 ;;
6842 -static-libtool-libs)
6843 if test -z "$pic_flag" && test -n "$link_static_flag"; then
6844 dlopen_self=$dlopen_self_static
6845 fi
6846 prefer_static_libs=yes
6847 ;;
6848 esac
6849 build_libtool_libs=no
6850 build_old_libs=yes
6851 break
6852 ;;
6853 esac
6854 done
6855
6856 # See if our shared archives depend on static archives.
6857 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
6858
6859 # Go through the arguments, transforming them on the way.
6860 while test "$#" -gt 0; do
6861 arg=$1
6862 shift
6863 func_quote_arg pretty,unquoted "$arg"
6864 qarg=$func_quote_arg_unquoted_result
6865 func_append libtool_args " $func_quote_arg_result"
6866
6867 # If the previous option needs an argument, assign it.
6868 if test -n "$prev"; then
6869 case $prev in
6870 output)
6871 func_append compile_command " @OUTPUT@"
6872 func_append finalize_command " @OUTPUT@"
6873 ;;
6874 esac
6875
6876 case $prev in
6877 bindir)
6878 bindir=$arg
6879 prev=
6880 continue
6881 ;;
6882 dlfiles|dlprefiles)
6883 $preload || {
6884 # Add the symbol object into the linking commands.
6885 func_append compile_command " @SYMFILE@"
6886 func_append finalize_command " @SYMFILE@"
6887 preload=:
6888 }
6889 case $arg in
6890 *.la | *.lo) ;; # We handle these cases below.
6891 force)
6892 if test no = "$dlself"; then
6893 dlself=needless
6894 export_dynamic=yes
6895 fi
6896 prev=
6897 continue
6898 ;;
6899 self)
6900 if test dlprefiles = "$prev"; then
6901 dlself=yes
6902 elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
6903 dlself=yes
6904 else
6905 dlself=needless
6906 export_dynamic=yes
6907 fi
6908 prev=
6909 continue
6910 ;;
6911 *)
6912 if test dlfiles = "$prev"; then
6913 func_append dlfiles " $arg"
6914 else
6915 func_append dlprefiles " $arg"
6916 fi
6917 prev=
6918 continue
6919 ;;
6920 esac
6921 ;;
6922 expsyms)
6923 export_symbols=$arg
6924 test -f "$arg" \
6925 || func_fatal_error "symbol file '$arg' does not exist"
6926 prev=
6927 continue
6928 ;;
6929 expsyms_regex)
6930 export_symbols_regex=$arg
6931 prev=
6932 continue
6933 ;;
6934 framework)
6935 case $host in
6936 *-*-darwin*)
6937 case "$deplibs " in
6938 *" $qarg.ltframework "*) ;;
6939 *) func_append deplibs " $qarg.ltframework" # this is fixed later
6940 ;;
6941 esac
6942 ;;
6943 esac
6944 prev=
6945 continue
6946 ;;
6947 inst_prefix)
6948 inst_prefix_dir=$arg
6949 prev=
6950 continue
6951 ;;
6952 mllvm)
6953 # Clang does not use LLVM to link, so we can simply discard any
6954 # '-mllvm $arg' options when doing the link step.
6955 prev=
6956 continue
6957 ;;
6958 objectlist)
6959 if test -f "$arg"; then
6960 save_arg=$arg
6961 moreargs=
6962 for fil in `cat "$save_arg"`
6963 do
6964 # func_append moreargs " $fil"
6965 arg=$fil
6966 # A libtool-controlled object.
6967
6968 # Check to see that this really is a libtool object.
6969 if func_lalib_unsafe_p "$arg"; then
6970 pic_object=
6971 non_pic_object=
6972
6973 # Read the .lo file
6974 func_source "$arg"
6975
6976 if test -z "$pic_object" ||
6977 test -z "$non_pic_object" ||
6978 test none = "$pic_object" &&
6979 test none = "$non_pic_object"; then
6980 func_fatal_error "cannot find name of object for '$arg'"
6981 fi
6982
6983 # Extract subdirectory from the argument.
6984 func_dirname "$arg" "/" ""
6985 xdir=$func_dirname_result
6986
6987 if test none != "$pic_object"; then
6988 # Prepend the subdirectory the object is found in.
6989 pic_object=$xdir$pic_object
6990
6991 if test dlfiles = "$prev"; then
6992 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
6993 func_append dlfiles " $pic_object"
6994 prev=
6995 continue
6996 else
6997 # If libtool objects are unsupported, then we need to preload.
6998 prev=dlprefiles
6999 fi
7000 fi
7001
7002 # CHECK ME: I think I busted this. -Ossama
7003 if test dlprefiles = "$prev"; then
7004 # Preload the old-style object.
7005 func_append dlprefiles " $pic_object"
7006 prev=
7007 fi
7008
7009 # A PIC object.
7010 func_append libobjs " $pic_object"
7011 arg=$pic_object
7012 fi
7013
7014 # Non-PIC object.
7015 if test none != "$non_pic_object"; then
7016 # Prepend the subdirectory the object is found in.
7017 non_pic_object=$xdir$non_pic_object
7018
7019 # A standard non-PIC object
7020 func_append non_pic_objects " $non_pic_object"
7021 if test -z "$pic_object" || test none = "$pic_object"; then
7022 arg=$non_pic_object
7023 fi
7024 else
7025 # If the PIC object exists, use it instead.
7026 # $xdir was prepended to $pic_object above.
7027 non_pic_object=$pic_object
7028 func_append non_pic_objects " $non_pic_object"
7029 fi
7030 else
7031 # Only an error if not doing a dry-run.
7032 if $opt_dry_run; then
7033 # Extract subdirectory from the argument.
7034 func_dirname "$arg" "/" ""
7035 xdir=$func_dirname_result
7036
7037 func_lo2o "$arg"
7038 pic_object=$xdir$objdir/$func_lo2o_result
7039 non_pic_object=$xdir$func_lo2o_result
7040 func_append libobjs " $pic_object"
7041 func_append non_pic_objects " $non_pic_object"
7042 else
7043 func_fatal_error "'$arg' is not a valid libtool object"
7044 fi
7045 fi
7046 done
7047 else
7048 func_fatal_error "link input file '$arg' does not exist"
7049 fi
7050 arg=$save_arg
7051 prev=
7052 continue
7053 ;;
7054 os2dllname)
7055 os2dllname=$arg
7056 prev=
7057 continue
7058 ;;
7059 precious_regex)
7060 precious_files_regex=$arg
7061 prev=
7062 continue
7063 ;;
7064 release)
7065 release=-$arg
7066 prev=
7067 continue
7068 ;;
7069 rpath | xrpath)
7070 # We need an absolute path.
7071 case $arg in
7072 [\\/]* | [A-Za-z]:[\\/]*) ;;
7073 *)
7074 func_fatal_error "only absolute run-paths are allowed"
7075 ;;
7076 esac
7077 if test rpath = "$prev"; then
7078 case "$rpath " in
7079 *" $arg "*) ;;
7080 *) func_append rpath " $arg" ;;
7081 esac
7082 else
7083 case "$xrpath " in
7084 *" $arg "*) ;;
7085 *) func_append xrpath " $arg" ;;
7086 esac
7087 fi
7088 prev=
7089 continue
7090 ;;
7091 shrext)
7092 shrext_cmds=$arg
7093 prev=
7094 continue
7095 ;;
7096 weak)
7097 func_append weak_libs " $arg"
7098 prev=
7099 continue
7100 ;;
7101 xassembler)
7102 func_append compiler_flags " -Xassembler $qarg"
7103 prev=
7104 func_append compile_command " -Xassembler $qarg"
7105 func_append finalize_command " -Xassembler $qarg"
7106 continue
7107 ;;
7108 xcclinker)
7109 func_append linker_flags " $qarg"
7110 func_append compiler_flags " $qarg"
7111 prev=
7112 func_append compile_command " $qarg"
7113 func_append finalize_command " $qarg"
7114 continue
7115 ;;
7116 xcompiler)
7117 func_append compiler_flags " $qarg"
7118 prev=
7119 func_append compile_command " $qarg"
7120 func_append finalize_command " $qarg"
7121 continue
7122 ;;
7123 xlinker)
7124 func_append linker_flags " $qarg"
7125 func_append compiler_flags " $wl$qarg"
7126 prev=
7127 func_append compile_command " $wl$qarg"
7128 func_append finalize_command " $wl$qarg"
7129 continue
7130 ;;
7131 *)
7132 eval "$prev=\"\$arg\""
7133 prev=
7134 continue
7135 ;;
7136 esac
7137 fi # test -n "$prev"
7138
7139 prevarg=$arg
7140
7141 case $arg in
7142 -all-static)
7143 if test -n "$link_static_flag"; then
7144 # See comment for -static flag below, for more details.
7145 func_append compile_command " $link_static_flag"
7146 func_append finalize_command " $link_static_flag"
7147 fi
7148 continue
7149 ;;
7150
7151 -allow-undefined)
7152 # FIXME: remove this flag sometime in the future.
7153 func_fatal_error "'-allow-undefined' must not be used because it is the default"
7154 ;;
7155
7156 -avoid-version)
7157 avoid_version=yes
7158 continue
7159 ;;
7160
7161 -bindir)
7162 prev=bindir
7163 continue
7164 ;;
7165
7166 -dlopen)
7167 prev=dlfiles
7168 continue
7169 ;;
7170
7171 -dlpreopen)
7172 prev=dlprefiles
7173 continue
7174 ;;
7175
7176 -export-dynamic)
7177 export_dynamic=yes
7178 continue
7179 ;;
7180
7181 -export-symbols | -export-symbols-regex)
7182 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
7183 func_fatal_error "more than one -exported-symbols argument is not allowed"
7184 fi
7185 if test X-export-symbols = "X$arg"; then
7186 prev=expsyms
7187 else
7188 prev=expsyms_regex
7189 fi
7190 continue
7191 ;;
7192
7193 -framework)
7194 prev=framework
7195 continue
7196 ;;
7197
7198 -inst-prefix-dir)
7199 prev=inst_prefix
7200 continue
7201 ;;
7202
7203 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
7204 # so, if we see these flags be careful not to treat them like -L
7205 -L[A-Z][A-Z]*:*)
7206 case $with_gcc/$host in
7207 no/*-*-irix* | /*-*-irix*)
7208 func_append compile_command " $arg"
7209 func_append finalize_command " $arg"
7210 ;;
7211 esac
7212 continue
7213 ;;
7214
7215 -L*)
7216 func_stripname "-L" '' "$arg"
7217 if test -z "$func_stripname_result"; then
7218 if test "$#" -gt 0; then
7219 func_fatal_error "require no space between '-L' and '$1'"
7220 else
7221 func_fatal_error "need path for '-L' option"
7222 fi
7223 fi
7224 func_resolve_sysroot "$func_stripname_result"
7225 dir=$func_resolve_sysroot_result
7226 # We need an absolute path.
7227 case $dir in
7228 [\\/]* | [A-Za-z]:[\\/]*) ;;
7229 *)
7230 absdir=`cd "$dir" && pwd`
7231 test -z "$absdir" && \
7232 func_fatal_error "cannot determine absolute directory name of '$dir'"
7233 dir=$absdir
7234 ;;
7235 esac
7236 case "$deplibs " in
7237 *" -L$dir "* | *" $arg "*)
7238 # Will only happen for absolute or sysroot arguments
7239 ;;
7240 *)
7241 # Preserve sysroot, but never include relative directories
7242 case $dir in
7243 [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
7244 *) func_append deplibs " -L$dir" ;;
7245 esac
7246 func_append lib_search_path " $dir"
7247 ;;
7248 esac
7249 case $host in
7250 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
7251 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
7252 case :$dllsearchpath: in
7253 *":$dir:"*) ;;
7254 ::) dllsearchpath=$dir;;
7255 *) func_append dllsearchpath ":$dir";;
7256 esac
7257 case :$dllsearchpath: in
7258 *":$testbindir:"*) ;;
7259 ::) dllsearchpath=$testbindir;;
7260 *) func_append dllsearchpath ":$testbindir";;
7261 esac
7262 ;;
7263 esac
7264 continue
7265 ;;
7266
7267 -l*)
7268 if test X-lc = "X$arg" || test X-lm = "X$arg"; then
7269 case $host in
7270 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
7271 # These systems don't actually have a C or math library (as such)
7272 continue
7273 ;;
7274 *-*-os2*)
7275 # These systems don't actually have a C library (as such)
7276 test X-lc = "X$arg" && continue
7277 ;;
7278 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
7279 # Do not include libc due to us having libc/libc_r.
7280 test X-lc = "X$arg" && continue
7281 ;;
7282 *-*-rhapsody* | *-*-darwin1.[012])
7283 # Rhapsody C and math libraries are in the System framework
7284 func_append deplibs " System.ltframework"
7285 continue
7286 ;;
7287 *-*-sco3.2v5* | *-*-sco5v6*)
7288 # Causes problems with __ctype
7289 test X-lc = "X$arg" && continue
7290 ;;
7291 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
7292 # Compiler inserts libc in the correct place for threads to work
7293 test X-lc = "X$arg" && continue
7294 ;;
7295 esac
7296 elif test X-lc_r = "X$arg"; then
7297 case $host in
7298 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
7299 # Do not include libc_r directly, use -pthread flag.
7300 continue
7301 ;;
7302 esac
7303 fi
7304 func_append deplibs " $arg"
7305 continue
7306 ;;
7307
7308 -mllvm)
7309 prev=mllvm
7310 continue
7311 ;;
7312
7313 -module)
7314 module=yes
7315 continue
7316 ;;
7317
7318 # Tru64 UNIX uses -model [arg] to determine the layout of C++
7319 # classes, name mangling, and exception handling.
7320 # Darwin uses the -arch flag to determine output architecture.
7321 -model|-arch|-isysroot|--sysroot)
7322 func_append compiler_flags " $arg"
7323 func_append compile_command " $arg"
7324 func_append finalize_command " $arg"
7325 prev=xcompiler
7326 continue
7327 ;;
7328 # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
7329 -pthread)
7330 case $host in
7331 *solaris2*) ;;
7332 *)
7333 case "$new_inherited_linker_flags " in
7334 *" $arg "*) ;;
7335 * ) func_append new_inherited_linker_flags " $arg" ;;
7336 esac
7337 ;;
7338 esac
7339 continue
7340 ;;
7341 -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
7342 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
7343 func_append compiler_flags " $arg"
7344 func_append compile_command " $arg"
7345 func_append finalize_command " $arg"
7346 case "$new_inherited_linker_flags " in
7347 *" $arg "*) ;;
7348 * ) func_append new_inherited_linker_flags " $arg" ;;
7349 esac
7350 continue
7351 ;;
7352
7353 -multi_module)
7354 single_module=$wl-multi_module
7355 continue
7356 ;;
7357
7358 -no-fast-install)
7359 fast_install=no
7360 continue
7361 ;;
7362
7363 -no-install)
7364 case $host in
7365 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
7366 # The PATH hackery in wrapper scripts is required on Windows
7367 # and Darwin in order for the loader to find any dlls it needs.
7368 func_warning "'-no-install' is ignored for $host"
7369 func_warning "assuming '-no-fast-install' instead"
7370 fast_install=no
7371 ;;
7372 *) no_install=yes ;;
7373 esac
7374 continue
7375 ;;
7376
7377 -no-undefined)
7378 allow_undefined=no
7379 continue
7380 ;;
7381
7382 -objectlist)
7383 prev=objectlist
7384 continue
7385 ;;
7386
7387 -os2dllname)
7388 prev=os2dllname
7389 continue
7390 ;;
7391
7392 -o) prev=output ;;
7393
7394 -precious-files-regex)
7395 prev=precious_regex
7396 continue
7397 ;;
7398
7399 -release)
7400 prev=release
7401 continue
7402 ;;
7403
7404 -rpath)
7405 prev=rpath
7406 continue
7407 ;;
7408
7409 -R)
7410 prev=xrpath
7411 continue
7412 ;;
7413
7414 -R*)
7415 func_stripname '-R' '' "$arg"
7416 dir=$func_stripname_result
7417 # We need an absolute path.
7418 case $dir in
7419 [\\/]* | [A-Za-z]:[\\/]*) ;;
7420 =*)
7421 func_stripname '=' '' "$dir"
7422 dir=$lt_sysroot$func_stripname_result
7423 ;;
7424 *)
7425 func_fatal_error "only absolute run-paths are allowed"
7426 ;;
7427 esac
7428 case "$xrpath " in
7429 *" $dir "*) ;;
7430 *) func_append xrpath " $dir" ;;
7431 esac
7432 continue
7433 ;;
7434
7435 -shared)
7436 # The effects of -shared are defined in a previous loop.
7437 continue
7438 ;;
7439
7440 -shrext)
7441 prev=shrext
7442 continue
7443 ;;
7444
7445 -static | -static-libtool-libs)
7446 # The effects of -static are defined in a previous loop.
7447 # We used to do the same as -all-static on platforms that
7448 # didn't have a PIC flag, but the assumption that the effects
7449 # would be equivalent was wrong. It would break on at least
7450 # Digital Unix and AIX.
7451 continue
7452 ;;
7453
7454 -thread-safe)
7455 thread_safe=yes
7456 continue
7457 ;;
7458
7459 -version-info)
7460 prev=vinfo
7461 continue
7462 ;;
7463
7464 -version-number)
7465 prev=vinfo
7466 vinfo_number=yes
7467 continue
7468 ;;
7469
7470 -weak)
7471 prev=weak
7472 continue
7473 ;;
7474
7475 -Wc,*)
7476 func_stripname '-Wc,' '' "$arg"
7477 args=$func_stripname_result
7478 arg=
7479 save_ifs=$IFS; IFS=,
7480 for flag in $args; do
7481 IFS=$save_ifs
7482 func_quote_arg pretty "$flag"
7483 func_append arg " $func_quote_arg_result"
7484 func_append compiler_flags " $func_quote_arg_result"
7485 done
7486 IFS=$save_ifs
7487 func_stripname ' ' '' "$arg"
7488 arg=$func_stripname_result
7489 ;;
7490
7491 -Wl,*)
7492 func_stripname '-Wl,' '' "$arg"
7493 args=$func_stripname_result
7494 arg=
7495 save_ifs=$IFS; IFS=,
7496 for flag in $args; do
7497 IFS=$save_ifs
7498 func_quote_arg pretty "$flag"
7499 func_append arg " $wl$func_quote_arg_result"
7500 func_append compiler_flags " $wl$func_quote_arg_result"
7501 func_append linker_flags " $func_quote_arg_result"
7502 done
7503 IFS=$save_ifs
7504 func_stripname ' ' '' "$arg"
7505 arg=$func_stripname_result
7506 ;;
7507
7508 -Xassembler)
7509 prev=xassembler
7510 continue
7511 ;;
7512
7513 -Xcompiler)
7514 prev=xcompiler
7515 continue
7516 ;;
7517
7518 -Xlinker)
7519 prev=xlinker
7520 continue
7521 ;;
7522
7523 -XCClinker)
7524 prev=xcclinker
7525 continue
7526 ;;
7527
7528 # -msg_* for osf cc
7529 -msg_*)
7530 func_quote_arg pretty "$arg"
7531 arg=$func_quote_arg_result
7532 ;;
7533
7534 # Flags to be passed through unchanged, with rationale:
7535 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
7536 # -r[0-9][0-9]* specify processor for the SGI compiler
7537 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
7538 # +DA*, +DD* enable 64-bit mode for the HP compiler
7539 # -q* compiler args for the IBM compiler
7540 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
7541 # -F/path path to uninstalled frameworks, gcc on darwin
7542 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
7543 # -fstack-protector* stack protector flags for GCC
7544 # @file GCC response files
7545 # -tp=* Portland pgcc target processor selection
7546 # --sysroot=* for sysroot support
7547 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7548 # -specs=* GCC specs files
7549 # -stdlib=* select c++ std lib with clang
7550 # -fsanitize=* Clang/GCC memory and address sanitizer
7551 # -fuse-ld=* Linker select flags for GCC
7552 # -Wa,* Pass flags directly to the assembler
7553 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7554 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7555 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7556 -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
7557 func_quote_arg pretty "$arg"
7558 arg=$func_quote_arg_result
7559 func_append compile_command " $arg"
7560 func_append finalize_command " $arg"
7561 func_append compiler_flags " $arg"
7562 continue
7563 ;;
7564
7565 -Z*)
7566 if test os2 = "`expr $host : '.*\(os2\)'`"; then
7567 # OS/2 uses -Zxxx to specify OS/2-specific options
7568 compiler_flags="$compiler_flags $arg"
7569 func_append compile_command " $arg"
7570 func_append finalize_command " $arg"
7571 case $arg in
7572 -Zlinker | -Zstack)
7573 prev=xcompiler
7574 ;;
7575 esac
7576 continue
7577 else
7578 # Otherwise treat like 'Some other compiler flag' below
7579 func_quote_arg pretty "$arg"
7580 arg=$func_quote_arg_result
7581 fi
7582 ;;
7583
7584 # Some other compiler flag.
7585 -* | +*)
7586 func_quote_arg pretty "$arg"
7587 arg=$func_quote_arg_result
7588 ;;
7589
7590 *.$objext)
7591 # A standard object.
7592 func_append objs " $arg"
7593 ;;
7594
7595 *.lo)
7596 # A libtool-controlled object.
7597
7598 # Check to see that this really is a libtool object.
7599 if func_lalib_unsafe_p "$arg"; then
7600 pic_object=
7601 non_pic_object=
7602
7603 # Read the .lo file
7604 func_source "$arg"
7605
7606 if test -z "$pic_object" ||
7607 test -z "$non_pic_object" ||
7608 test none = "$pic_object" &&
7609 test none = "$non_pic_object"; then
7610 func_fatal_error "cannot find name of object for '$arg'"
7611 fi
7612
7613 # Extract subdirectory from the argument.
7614 func_dirname "$arg" "/" ""
7615 xdir=$func_dirname_result
7616
7617 test none = "$pic_object" || {
7618 # Prepend the subdirectory the object is found in.
7619 pic_object=$xdir$pic_object
7620
7621 if test dlfiles = "$prev"; then
7622 if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
7623 func_append dlfiles " $pic_object"
7624 prev=
7625 continue
7626 else
7627 # If libtool objects are unsupported, then we need to preload.
7628 prev=dlprefiles
7629 fi
7630 fi
7631
7632 # CHECK ME: I think I busted this. -Ossama
7633 if test dlprefiles = "$prev"; then
7634 # Preload the old-style object.
7635 func_append dlprefiles " $pic_object"
7636 prev=
7637 fi
7638
7639 # A PIC object.
7640 func_append libobjs " $pic_object"
7641 arg=$pic_object
7642 }
7643
7644 # Non-PIC object.
7645 if test none != "$non_pic_object"; then
7646 # Prepend the subdirectory the object is found in.
7647 non_pic_object=$xdir$non_pic_object
7648
7649 # A standard non-PIC object
7650 func_append non_pic_objects " $non_pic_object"
7651 if test -z "$pic_object" || test none = "$pic_object"; then
7652 arg=$non_pic_object
7653 fi
7654 else
7655 # If the PIC object exists, use it instead.
7656 # $xdir was prepended to $pic_object above.
7657 non_pic_object=$pic_object
7658 func_append non_pic_objects " $non_pic_object"
7659 fi
7660 else
7661 # Only an error if not doing a dry-run.
7662 if $opt_dry_run; then
7663 # Extract subdirectory from the argument.
7664 func_dirname "$arg" "/" ""
7665 xdir=$func_dirname_result
7666
7667 func_lo2o "$arg"
7668 pic_object=$xdir$objdir/$func_lo2o_result
7669 non_pic_object=$xdir$func_lo2o_result
7670 func_append libobjs " $pic_object"
7671 func_append non_pic_objects " $non_pic_object"
7672 else
7673 func_fatal_error "'$arg' is not a valid libtool object"
7674 fi
7675 fi
7676 ;;
7677
7678 *.$libext)
7679 # An archive.
7680 func_append deplibs " $arg"
7681 func_append old_deplibs " $arg"
7682 continue
7683 ;;
7684
7685 *.la)
7686 # A libtool-controlled library.
7687
7688 func_resolve_sysroot "$arg"
7689 if test dlfiles = "$prev"; then
7690 # This library was specified with -dlopen.
7691 func_append dlfiles " $func_resolve_sysroot_result"
7692 prev=
7693 elif test dlprefiles = "$prev"; then
7694 # The library was specified with -dlpreopen.
7695 func_append dlprefiles " $func_resolve_sysroot_result"
7696 prev=
7697 else
7698 func_append deplibs " $func_resolve_sysroot_result"
7699 fi
7700 continue
7701 ;;
7702
7703 # Some other compiler argument.
7704 *)
7705 # Unknown arguments in both finalize_command and compile_command need
7706 # to be aesthetically quoted because they are evaled later.
7707 func_quote_arg pretty "$arg"
7708 arg=$func_quote_arg_result
7709 ;;
7710 esac # arg
7711
7712 # Now actually substitute the argument into the commands.
7713 if test -n "$arg"; then
7714 func_append compile_command " $arg"
7715 func_append finalize_command " $arg"
7716 fi
7717 done # argument parsing loop
7718
7719 test -n "$prev" && \
7720 func_fatal_help "the '$prevarg' option requires an argument"
7721
7722 if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
7723 eval arg=\"$export_dynamic_flag_spec\"
7724 func_append compile_command " $arg"
7725 func_append finalize_command " $arg"
7726 fi
7727
7728 oldlibs=
7729 # calculate the name of the file, without its directory
7730 func_basename "$output"
7731 outputname=$func_basename_result
7732 libobjs_save=$libobjs
7733
7734 if test -n "$shlibpath_var"; then
7735 # get the directories listed in $shlibpath_var
7736 eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
7737 else
7738 shlib_search_path=
7739 fi
7740 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
7741 eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
7742
7743 # Definition is injected by LT_CONFIG during libtool generation.
7744 func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
7745
7746 func_dirname "$output" "/" ""
7747 output_objdir=$func_dirname_result$objdir
7748 func_to_tool_file "$output_objdir/"
7749 tool_output_objdir=$func_to_tool_file_result
7750 # Create the object directory.
7751 func_mkdir_p "$output_objdir"
7752
7753 # Determine the type of output
7754 case $output in
7755 "")
7756 func_fatal_help "you must specify an output file"
7757 ;;
7758 *.$libext) linkmode=oldlib ;;
7759 *.lo | *.$objext) linkmode=obj ;;
7760 *.la) linkmode=lib ;;
7761 *) linkmode=prog ;; # Anything else should be a program.
7762 esac
7763
7764 specialdeplibs=
7765
7766 libs=
7767 # Find all interdependent deplibs by searching for libraries
7768 # that are linked more than once (e.g. -la -lb -la)
7769 for deplib in $deplibs; do
7770 if $opt_preserve_dup_deps; then
7771 case "$libs " in
7772 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7773 esac
7774 fi
7775 func_append libs " $deplib"
7776 done
7777
7778 if test lib = "$linkmode"; then
7779 libs="$predeps $libs $compiler_lib_search_path $postdeps"
7780
7781 # Compute libraries that are listed more than once in $predeps
7782 # $postdeps and mark them as special (i.e., whose duplicates are
7783 # not to be eliminated).
7784 pre_post_deps=
7785 if $opt_duplicate_compiler_generated_deps; then
7786 for pre_post_dep in $predeps $postdeps; do
7787 case "$pre_post_deps " in
7788 *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
7789 esac
7790 func_append pre_post_deps " $pre_post_dep"
7791 done
7792 fi
7793 pre_post_deps=
7794 fi
7795
7796 deplibs=
7797 newdependency_libs=
7798 newlib_search_path=
7799 need_relink=no # whether we're linking any uninstalled libtool libraries
7800 notinst_deplibs= # not-installed libtool libraries
7801 notinst_path= # paths that contain not-installed libtool libraries
7802
7803 case $linkmode in
7804 lib)
7805 passes="conv dlpreopen link"
7806 for file in $dlfiles $dlprefiles; do
7807 case $file in
7808 *.la) ;;
7809 *)
7810 func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
7811 ;;
7812 esac
7813 done
7814 ;;
7815 prog)
7816 compile_deplibs=
7817 finalize_deplibs=
7818 alldeplibs=false
7819 newdlfiles=
7820 newdlprefiles=
7821 passes="conv scan dlopen dlpreopen link"
7822 ;;
7823 *) passes="conv"
7824 ;;
7825 esac
7826
7827 for pass in $passes; do
7828 # The preopen pass in lib mode reverses $deplibs; put it back here
7829 # so that -L comes before libs that need it for instance...
7830 if test lib,link = "$linkmode,$pass"; then
7831 ## FIXME: Find the place where the list is rebuilt in the wrong
7832 ## order, and fix it there properly
7833 tmp_deplibs=
7834 for deplib in $deplibs; do
7835 tmp_deplibs="$deplib $tmp_deplibs"
7836 done
7837 deplibs=$tmp_deplibs
7838 fi
7839
7840 if test lib,link = "$linkmode,$pass" ||
7841 test prog,scan = "$linkmode,$pass"; then
7842 libs=$deplibs
7843 deplibs=
7844 fi
7845 if test prog = "$linkmode"; then
7846 case $pass in
7847 dlopen) libs=$dlfiles ;;
7848 dlpreopen) libs=$dlprefiles ;;
7849 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7850 esac
7851 fi
7852 if test lib,dlpreopen = "$linkmode,$pass"; then
7853 # Collect and forward deplibs of preopened libtool libs
7854 for lib in $dlprefiles; do
7855 # Ignore non-libtool-libs
7856 dependency_libs=
7857 func_resolve_sysroot "$lib"
7858 case $lib in
7859 *.la) func_source "$func_resolve_sysroot_result" ;;
7860 esac
7861
7862 # Collect preopened libtool deplibs, except any this library
7863 # has declared as weak libs
7864 for deplib in $dependency_libs; do
7865 func_basename "$deplib"
7866 deplib_base=$func_basename_result
7867 case " $weak_libs " in
7868 *" $deplib_base "*) ;;
7869 *) func_append deplibs " $deplib" ;;
7870 esac
7871 done
7872 done
7873 libs=$dlprefiles
7874 fi
7875 if test dlopen = "$pass"; then
7876 # Collect dlpreopened libraries
7877 save_deplibs=$deplibs
7878 deplibs=
7879 fi
7880
7881 for deplib in $libs; do
7882 lib=
7883 found=false
7884 case $deplib in
7885 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7886 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
7887 if test prog,link = "$linkmode,$pass"; then
7888 compile_deplibs="$deplib $compile_deplibs"
7889 finalize_deplibs="$deplib $finalize_deplibs"
7890 else
7891 func_append compiler_flags " $deplib"
7892 if test lib = "$linkmode"; then
7893 case "$new_inherited_linker_flags " in
7894 *" $deplib "*) ;;
7895 * ) func_append new_inherited_linker_flags " $deplib" ;;
7896 esac
7897 fi
7898 fi
7899 continue
7900 ;;
7901 -l*)
7902 if test lib != "$linkmode" && test prog != "$linkmode"; then
7903 func_warning "'-l' is ignored for archives/objects"
7904 continue
7905 fi
7906 func_stripname '-l' '' "$deplib"
7907 name=$func_stripname_result
7908 if test lib = "$linkmode"; then
7909 searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
7910 else
7911 searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
7912 fi
7913 for searchdir in $searchdirs; do
7914 for search_ext in .la $std_shrext .so .a; do
7915 # Search the libtool library
7916 lib=$searchdir/lib$name$search_ext
7917 if test -f "$lib"; then
7918 if test .la = "$search_ext"; then
7919 found=:
7920 else
7921 found=false
7922 fi
7923 break 2
7924 fi
7925 done
7926 done
7927 if $found; then
7928 # deplib is a libtool library
7929 # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
7930 # We need to do some special things here, and not later.
7931 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
7932 case " $predeps $postdeps " in
7933 *" $deplib "*)
7934 if func_lalib_p "$lib"; then
7935 library_names=
7936 old_library=
7937 func_source "$lib"
7938 for l in $old_library $library_names; do
7939 ll=$l
7940 done
7941 if test "X$ll" = "X$old_library"; then # only static version available
7942 found=false
7943 func_dirname "$lib" "" "."
7944 ladir=$func_dirname_result
7945 lib=$ladir/$old_library
7946 if test prog,link = "$linkmode,$pass"; then
7947 compile_deplibs="$deplib $compile_deplibs"
7948 finalize_deplibs="$deplib $finalize_deplibs"
7949 else
7950 deplibs="$deplib $deplibs"
7951 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
7952 fi
7953 continue
7954 fi
7955 fi
7956 ;;
7957 *) ;;
7958 esac
7959 fi
7960 else
7961 # deplib doesn't seem to be a libtool library
7962 if test prog,link = "$linkmode,$pass"; then
7963 compile_deplibs="$deplib $compile_deplibs"
7964 finalize_deplibs="$deplib $finalize_deplibs"
7965 else
7966 deplibs="$deplib $deplibs"
7967 test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
7968 fi
7969 continue
7970 fi
7971 ;; # -l
7972 *.ltframework)
7973 if test prog,link = "$linkmode,$pass"; then
7974 compile_deplibs="$deplib $compile_deplibs"
7975 finalize_deplibs="$deplib $finalize_deplibs"
7976 else
7977 deplibs="$deplib $deplibs"
7978 if test lib = "$linkmode"; then
7979 case "$new_inherited_linker_flags " in
7980 *" $deplib "*) ;;
7981 * ) func_append new_inherited_linker_flags " $deplib" ;;
7982 esac
7983 fi
7984 fi
7985 continue
7986 ;;
7987 -L*)
7988 case $linkmode in
7989 lib)
7990 deplibs="$deplib $deplibs"
7991 test conv = "$pass" && continue
7992 newdependency_libs="$deplib $newdependency_libs"
7993 func_stripname '-L' '' "$deplib"
7994 func_resolve_sysroot "$func_stripname_result"
7995 func_append newlib_search_path " $func_resolve_sysroot_result"
7996 ;;
7997 prog)
7998 if test conv = "$pass"; then
7999 deplibs="$deplib $deplibs"
8000 continue
8001 fi
8002 if test scan = "$pass"; then
8003 deplibs="$deplib $deplibs"
8004 else
8005 compile_deplibs="$deplib $compile_deplibs"
8006 finalize_deplibs="$deplib $finalize_deplibs"
8007 fi
8008 func_stripname '-L' '' "$deplib"
8009 func_resolve_sysroot "$func_stripname_result"
8010 func_append newlib_search_path " $func_resolve_sysroot_result"
8011 ;;
8012 *)
8013 func_warning "'-L' is ignored for archives/objects"
8014 ;;
8015 esac # linkmode
8016 continue
8017 ;; # -L
8018 -R*)
8019 if test link = "$pass"; then
8020 func_stripname '-R' '' "$deplib"
8021 func_resolve_sysroot "$func_stripname_result"
8022 dir=$func_resolve_sysroot_result
8023 # Make sure the xrpath contains only unique directories.
8024 case "$xrpath " in
8025 *" $dir "*) ;;
8026 *) func_append xrpath " $dir" ;;
8027 esac
8028 fi
8029 deplibs="$deplib $deplibs"
8030 continue
8031 ;;
8032 *.la)
8033 func_resolve_sysroot "$deplib"
8034 lib=$func_resolve_sysroot_result
8035 ;;
8036 *.$libext)
8037 if test conv = "$pass"; then
8038 deplibs="$deplib $deplibs"
8039 continue
8040 fi
8041 case $linkmode in
8042 lib)
8043 # Linking convenience modules into shared libraries is allowed,
8044 # but linking other static libraries is non-portable.
8045 case " $dlpreconveniencelibs " in
8046 *" $deplib "*) ;;
8047 *)
8048 valid_a_lib=false
8049 case $deplibs_check_method in
8050 match_pattern*)
8051 set dummy $deplibs_check_method; shift
8052 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
8053 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
8054 | $EGREP "$match_pattern_regex" > /dev/null; then
8055 valid_a_lib=:
8056 fi
8057 ;;
8058 pass_all)
8059 valid_a_lib=:
8060 ;;
8061 esac
8062 if $valid_a_lib; then
8063 echo
8064 $ECHO "*** Warning: Linking the shared library $output against the"
8065 $ECHO "*** static library $deplib is not portable!"
8066 deplibs="$deplib $deplibs"
8067 else
8068 echo
8069 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
8070 echo "*** I have the capability to make that library automatically link in when"
8071 echo "*** you link to this library. But I can only do this if you have a"
8072 echo "*** shared version of the library, which you do not appear to have"
8073 echo "*** because the file extensions .$libext of this argument makes me believe"
8074 echo "*** that it is just a static archive that I should not use here."
8075 fi
8076 ;;
8077 esac
8078 continue
8079 ;;
8080 prog)
8081 if test link != "$pass"; then
8082 deplibs="$deplib $deplibs"
8083 else
8084 compile_deplibs="$deplib $compile_deplibs"
8085 finalize_deplibs="$deplib $finalize_deplibs"
8086 fi
8087 continue
8088 ;;
8089 esac # linkmode
8090 ;; # *.$libext
8091 *.lo | *.$objext)
8092 if test conv = "$pass"; then
8093 deplibs="$deplib $deplibs"
8094 elif test prog = "$linkmode"; then
8095 if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
8096 # If there is no dlopen support or we're linking statically,
8097 # we need to preload.
8098 func_append newdlprefiles " $deplib"
8099 compile_deplibs="$deplib $compile_deplibs"
8100 finalize_deplibs="$deplib $finalize_deplibs"
8101 else
8102 func_append newdlfiles " $deplib"
8103 fi
8104 fi
8105 continue
8106 ;;
8107 %DEPLIBS%)
8108 alldeplibs=:
8109 continue
8110 ;;
8111 esac # case $deplib
8112
8113 $found || test -f "$lib" \
8114 || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
8115
8116 # Check to see that this really is a libtool archive.
8117 func_lalib_unsafe_p "$lib" \
8118 || func_fatal_error "'$lib' is not a valid libtool archive"
8119
8120 func_dirname "$lib" "" "."
8121 ladir=$func_dirname_result
8122
8123 dlname=
8124 dlopen=
8125 dlpreopen=
8126 libdir=
8127 library_names=
8128 old_library=
8129 inherited_linker_flags=
8130 # If the library was installed with an old release of libtool,
8131 # it will not redefine variables installed, or shouldnotlink
8132 installed=yes
8133 shouldnotlink=no
8134 avoidtemprpath=
8135
8136
8137 # Read the .la file
8138 func_source "$lib"
8139
8140 # Convert "-framework foo" to "foo.ltframework"
8141 if test -n "$inherited_linker_flags"; then
8142 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
8143 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
8144 case " $new_inherited_linker_flags " in
8145 *" $tmp_inherited_linker_flag "*) ;;
8146 *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
8147 esac
8148 done
8149 fi
8150 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
8151 if test lib,link = "$linkmode,$pass" ||
8152 test prog,scan = "$linkmode,$pass" ||
8153 { test prog != "$linkmode" && test lib != "$linkmode"; }; then
8154 test -n "$dlopen" && func_append dlfiles " $dlopen"
8155 test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
8156 fi
8157
8158 if test conv = "$pass"; then
8159 # Only check for convenience libraries
8160 deplibs="$lib $deplibs"
8161 if test -z "$libdir"; then
8162 if test -z "$old_library"; then
8163 func_fatal_error "cannot find name of link library for '$lib'"
8164 fi
8165 # It is a libtool convenience library, so add in its objects.
8166 func_append convenience " $ladir/$objdir/$old_library"
8167 func_append old_convenience " $ladir/$objdir/$old_library"
8168 elif test prog != "$linkmode" && test lib != "$linkmode"; then
8169 func_fatal_error "'$lib' is not a convenience library"
8170 fi
8171 tmp_libs=
8172 for deplib in $dependency_libs; do
8173 deplibs="$deplib $deplibs"
8174 if $opt_preserve_dup_deps; then
8175 case "$tmp_libs " in
8176 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
8177 esac
8178 fi
8179 func_append tmp_libs " $deplib"
8180 done
8181 continue
8182 fi # $pass = conv
8183
8184
8185 # Get the name of the library we link against.
8186 linklib=
8187 if test -n "$old_library" &&
8188 { test yes = "$prefer_static_libs" ||
8189 test built,no = "$prefer_static_libs,$installed"; }; then
8190 linklib=$old_library
8191 else
8192 for l in $old_library $library_names; do
8193 linklib=$l
8194 done
8195 fi
8196 if test -z "$linklib"; then
8197 func_fatal_error "cannot find name of link library for '$lib'"
8198 fi
8199
8200 # This library was specified with -dlopen.
8201 if test dlopen = "$pass"; then
8202 test -z "$libdir" \
8203 && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
8204 if test -z "$dlname" ||
8205 test yes != "$dlopen_support" ||
8206 test no = "$build_libtool_libs"
8207 then
8208 # If there is no dlname, no dlopen support or we're linking
8209 # statically, we need to preload. We also need to preload any
8210 # dependent libraries so libltdl's deplib preloader doesn't
8211 # bomb out in the load deplibs phase.
8212 func_append dlprefiles " $lib $dependency_libs"
8213 else
8214 func_append newdlfiles " $lib"
8215 fi
8216 continue
8217 fi # $pass = dlopen
8218
8219 # We need an absolute path.
8220 case $ladir in
8221 [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
8222 *)
8223 abs_ladir=`cd "$ladir" && pwd`
8224 if test -z "$abs_ladir"; then
8225 func_warning "cannot determine absolute directory name of '$ladir'"
8226 func_warning "passing it literally to the linker, although it might fail"
8227 abs_ladir=$ladir
8228 fi
8229 ;;
8230 esac
8231 func_basename "$lib"
8232 laname=$func_basename_result
8233
8234 # Find the relevant object directory and library name.
8235 if test yes = "$installed"; then
8236 if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
8237 func_warning "library '$lib' was moved."
8238 dir=$ladir
8239 absdir=$abs_ladir
8240 libdir=$abs_ladir
8241 else
8242 dir=$lt_sysroot$libdir
8243 absdir=$lt_sysroot$libdir
8244 fi
8245 test yes = "$hardcode_automatic" && avoidtemprpath=yes
8246 else
8247 if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
8248 dir=$ladir
8249 absdir=$abs_ladir
8250 # Remove this search path later
8251 func_append notinst_path " $abs_ladir"
8252 else
8253 dir=$ladir/$objdir
8254 absdir=$abs_ladir/$objdir
8255 # Remove this search path later
8256 func_append notinst_path " $abs_ladir"
8257 fi
8258 fi # $installed = yes
8259 func_stripname 'lib' '.la' "$laname"
8260 name=$func_stripname_result
8261
8262 # This library was specified with -dlpreopen.
8263 if test dlpreopen = "$pass"; then
8264 if test -z "$libdir" && test prog = "$linkmode"; then
8265 func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
8266 fi
8267 case $host in
8268 # special handling for platforms with PE-DLLs.
8269 *cygwin* | *mingw* | *cegcc* )
8270 # Linker will automatically link against shared library if both
8271 # static and shared are present. Therefore, ensure we extract
8272 # symbols from the import library if a shared library is present
8273 # (otherwise, the dlopen module name will be incorrect). We do
8274 # this by putting the import library name into $newdlprefiles.
8275 # We recover the dlopen module name by 'saving' the la file
8276 # name in a special purpose variable, and (later) extracting the
8277 # dlname from the la file.
8278 if test -n "$dlname"; then
8279 func_tr_sh "$dir/$linklib"
8280 eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
8281 func_append newdlprefiles " $dir/$linklib"
8282 else
8283 func_append newdlprefiles " $dir/$old_library"
8284 # Keep a list of preopened convenience libraries to check
8285 # that they are being used correctly in the link pass.
8286 test -z "$libdir" && \
8287 func_append dlpreconveniencelibs " $dir/$old_library"
8288 fi
8289 ;;
8290 * )
8291 # Prefer using a static library (so that no silly _DYNAMIC symbols
8292 # are required to link).
8293 if test -n "$old_library"; then
8294 func_append newdlprefiles " $dir/$old_library"
8295 # Keep a list of preopened convenience libraries to check
8296 # that they are being used correctly in the link pass.
8297 test -z "$libdir" && \
8298 func_append dlpreconveniencelibs " $dir/$old_library"
8299 # Otherwise, use the dlname, so that lt_dlopen finds it.
8300 elif test -n "$dlname"; then
8301 func_append newdlprefiles " $dir/$dlname"
8302 else
8303 func_append newdlprefiles " $dir/$linklib"
8304 fi
8305 ;;
8306 esac
8307 fi # $pass = dlpreopen
8308
8309 if test -z "$libdir"; then
8310 # Link the convenience library
8311 if test lib = "$linkmode"; then
8312 deplibs="$dir/$old_library $deplibs"
8313 elif test prog,link = "$linkmode,$pass"; then
8314 compile_deplibs="$dir/$old_library $compile_deplibs"
8315 finalize_deplibs="$dir/$old_library $finalize_deplibs"
8316 else
8317 deplibs="$lib $deplibs" # used for prog,scan pass
8318 fi
8319 continue
8320 fi
8321
8322
8323 if test prog = "$linkmode" && test link != "$pass"; then
8324 func_append newlib_search_path " $ladir"
8325 deplibs="$lib $deplibs"
8326
8327 linkalldeplibs=false
8328 if test no != "$link_all_deplibs" || test -z "$library_names" ||
8329 test no = "$build_libtool_libs"; then
8330 linkalldeplibs=:
8331 fi
8332
8333 tmp_libs=
8334 for deplib in $dependency_libs; do
8335 case $deplib in
8336 -L*) func_stripname '-L' '' "$deplib"
8337 func_resolve_sysroot "$func_stripname_result"
8338 func_append newlib_search_path " $func_resolve_sysroot_result"
8339 ;;
8340 esac
8341 # Need to link against all dependency_libs?
8342 if $linkalldeplibs; then
8343 deplibs="$deplib $deplibs"
8344 else
8345 # Need to hardcode shared library paths
8346 # or/and link against static libraries
8347 newdependency_libs="$deplib $newdependency_libs"
8348 fi
8349 if $opt_preserve_dup_deps; then
8350 case "$tmp_libs " in
8351 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
8352 esac
8353 fi
8354 func_append tmp_libs " $deplib"
8355 done # for deplib
8356 continue
8357 fi # $linkmode = prog...
8358
8359 if test prog,link = "$linkmode,$pass"; then
8360 if test -n "$library_names" &&
8361 { { test no = "$prefer_static_libs" ||
8362 test built,yes = "$prefer_static_libs,$installed"; } ||
8363 test -z "$old_library"; }; then
8364 # We need to hardcode the library path
8365 if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
8366 # Make sure the rpath contains only unique directories.
8367 case $temp_rpath: in
8368 *"$absdir:"*) ;;
8369 *) func_append temp_rpath "$absdir:" ;;
8370 esac
8371 fi
8372
8373 # Hardcode the library path.
8374 # Skip directories that are in the system default run-time
8375 # search path.
8376 case " $sys_lib_dlsearch_path " in
8377 *" $absdir "*) ;;
8378 *)
8379 case "$compile_rpath " in
8380 *" $absdir "*) ;;
8381 *) func_append compile_rpath " $absdir" ;;
8382 esac
8383 ;;
8384 esac
8385 case " $sys_lib_dlsearch_path " in
8386 *" $libdir "*) ;;
8387 *)
8388 case "$finalize_rpath " in
8389 *" $libdir "*) ;;
8390 *) func_append finalize_rpath " $libdir" ;;
8391 esac
8392 ;;
8393 esac
8394 fi # $linkmode,$pass = prog,link...
8395
8396 if $alldeplibs &&
8397 { test pass_all = "$deplibs_check_method" ||
8398 { test yes = "$build_libtool_libs" &&
8399 test -n "$library_names"; }; }; then
8400 # We only need to search for static libraries
8401 continue
8402 fi
8403 fi
8404
8405 link_static=no # Whether the deplib will be linked statically
8406 use_static_libs=$prefer_static_libs
8407 if test built = "$use_static_libs" && test yes = "$installed"; then
8408 use_static_libs=no
8409 fi
8410 if test -n "$library_names" &&
8411 { test no = "$use_static_libs" || test -z "$old_library"; }; then
8412 case $host in
8413 *cygwin* | *mingw* | *cegcc* | *os2*)
8414 # No point in relinking DLLs because paths are not encoded
8415 func_append notinst_deplibs " $lib"
8416 need_relink=no
8417 ;;
8418 *)
8419 if test no = "$installed"; then
8420 func_append notinst_deplibs " $lib"
8421 need_relink=yes
8422 fi
8423 ;;
8424 esac
8425 # This is a shared library
8426
8427 # Warn about portability, can't link against -module's on some
8428 # systems (darwin). Don't bleat about dlopened modules though!
8429 dlopenmodule=
8430 for dlpremoduletest in $dlprefiles; do
8431 if test "X$dlpremoduletest" = "X$lib"; then
8432 dlopenmodule=$dlpremoduletest
8433 break
8434 fi
8435 done
8436 if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
8437 echo
8438 if test prog = "$linkmode"; then
8439 $ECHO "*** Warning: Linking the executable $output against the loadable module"
8440 else
8441 $ECHO "*** Warning: Linking the shared library $output against the loadable module"
8442 fi
8443 $ECHO "*** $linklib is not portable!"
8444 fi
8445 if test lib = "$linkmode" &&
8446 test yes = "$hardcode_into_libs"; then
8447 # Hardcode the library path.
8448 # Skip directories that are in the system default run-time
8449 # search path.
8450 case " $sys_lib_dlsearch_path " in
8451 *" $absdir "*) ;;
8452 *)
8453 case "$compile_rpath " in
8454 *" $absdir "*) ;;
8455 *) func_append compile_rpath " $absdir" ;;
8456 esac
8457 ;;
8458 esac
8459 case " $sys_lib_dlsearch_path " in
8460 *" $libdir "*) ;;
8461 *)
8462 case "$finalize_rpath " in
8463 *" $libdir "*) ;;
8464 *) func_append finalize_rpath " $libdir" ;;
8465 esac
8466 ;;
8467 esac
8468 fi
8469
8470 if test -n "$old_archive_from_expsyms_cmds"; then
8471 # figure out the soname
8472 set dummy $library_names
8473 shift
8474 realname=$1
8475 shift
8476 libname=`eval "\\$ECHO \"$libname_spec\""`
8477 # use dlname if we got it. it's perfectly good, no?
8478 if test -n "$dlname"; then
8479 soname=$dlname
8480 elif test -n "$soname_spec"; then
8481 # bleh windows
8482 case $host in
8483 *cygwin* | mingw* | *cegcc* | *os2*)
8484 func_arith $current - $age
8485 major=$func_arith_result
8486 versuffix=-$major
8487 ;;
8488 esac
8489 eval soname=\"$soname_spec\"
8490 else
8491 soname=$realname
8492 fi
8493
8494 # Make a new name for the extract_expsyms_cmds to use
8495 soroot=$soname
8496 func_basename "$soroot"
8497 soname=$func_basename_result
8498 func_stripname 'lib' '.dll' "$soname"
8499 newlib=libimp-$func_stripname_result.a
8500
8501 # If the library has no export list, then create one now
8502 if test -f "$output_objdir/$soname-def"; then :
8503 else
8504 func_verbose "extracting exported symbol list from '$soname'"
8505 func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
8506 fi
8507
8508 # Create $newlib
8509 if test -f "$output_objdir/$newlib"; then :; else
8510 func_verbose "generating import library for '$soname'"
8511 func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
8512 fi
8513 # make sure the library variables are pointing to the new library
8514 dir=$output_objdir
8515 linklib=$newlib
8516 fi # test -n "$old_archive_from_expsyms_cmds"
8517
8518 if test prog = "$linkmode" || test relink != "$opt_mode"; then
8519 add_shlibpath=
8520 add_dir=
8521 add=
8522 lib_linked=yes
8523 case $hardcode_action in
8524 immediate | unsupported)
8525 if test no = "$hardcode_direct"; then
8526 add=$dir/$linklib
8527 case $host in
8528 *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
8529 *-*-sysv4*uw2*) add_dir=-L$dir ;;
8530 *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
8531 *-*-unixware7*) add_dir=-L$dir ;;
8532 *-*-darwin* )
8533 # if the lib is a (non-dlopened) module then we cannot
8534 # link against it, someone is ignoring the earlier warnings
8535 if /usr/bin/file -L $add 2> /dev/null |
8536 $GREP ": [^:]* bundle" >/dev/null; then
8537 if test "X$dlopenmodule" != "X$lib"; then
8538 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
8539 if test -z "$old_library"; then
8540 echo
8541 echo "*** And there doesn't seem to be a static archive available"
8542 echo "*** The link will probably fail, sorry"
8543 else
8544 add=$dir/$old_library
8545 fi
8546 elif test -n "$old_library"; then
8547 add=$dir/$old_library
8548 fi
8549 fi
8550 esac
8551 elif test no = "$hardcode_minus_L"; then
8552 case $host in
8553 *-*-sunos*) add_shlibpath=$dir ;;
8554 esac
8555 add_dir=-L$dir
8556 add=-l$name
8557 elif test no = "$hardcode_shlibpath_var"; then
8558 add_shlibpath=$dir
8559 add=-l$name
8560 else
8561 lib_linked=no
8562 fi
8563 ;;
8564 relink)
8565 if test yes = "$hardcode_direct" &&
8566 test no = "$hardcode_direct_absolute"; then
8567 add=$dir/$linklib
8568 elif test yes = "$hardcode_minus_L"; then
8569 add_dir=-L$absdir
8570 # Try looking first in the location we're being installed to.
8571 if test -n "$inst_prefix_dir"; then
8572 case $libdir in
8573 [\\/]*)
8574 func_append add_dir " -L$inst_prefix_dir$libdir"
8575 ;;
8576 esac
8577 fi
8578 add=-l$name
8579 elif test yes = "$hardcode_shlibpath_var"; then
8580 add_shlibpath=$dir
8581 add=-l$name
8582 else
8583 lib_linked=no
8584 fi
8585 ;;
8586 *) lib_linked=no ;;
8587 esac
8588
8589 if test yes != "$lib_linked"; then
8590 func_fatal_configuration "unsupported hardcode properties"
8591 fi
8592
8593 if test -n "$add_shlibpath"; then
8594 case :$compile_shlibpath: in
8595 *":$add_shlibpath:"*) ;;
8596 *) func_append compile_shlibpath "$add_shlibpath:" ;;
8597 esac
8598 fi
8599 if test prog = "$linkmode"; then
8600 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
8601 test -n "$add" && compile_deplibs="$add $compile_deplibs"
8602 else
8603 test -n "$add_dir" && deplibs="$add_dir $deplibs"
8604 test -n "$add" && deplibs="$add $deplibs"
8605 if test yes != "$hardcode_direct" &&
8606 test yes != "$hardcode_minus_L" &&
8607 test yes = "$hardcode_shlibpath_var"; then
8608 case :$finalize_shlibpath: in
8609 *":$libdir:"*) ;;
8610 *) func_append finalize_shlibpath "$libdir:" ;;
8611 esac
8612 fi
8613 fi
8614 fi
8615
8616 if test prog = "$linkmode" || test relink = "$opt_mode"; then
8617 add_shlibpath=
8618 add_dir=
8619 add=
8620 # Finalize command for both is simple: just hardcode it.
8621 if test yes = "$hardcode_direct" &&
8622 test no = "$hardcode_direct_absolute"; then
8623 add=$libdir/$linklib
8624 elif test yes = "$hardcode_minus_L"; then
8625 add_dir=-L$libdir
8626 add=-l$name
8627 elif test yes = "$hardcode_shlibpath_var"; then
8628 case :$finalize_shlibpath: in
8629 *":$libdir:"*) ;;
8630 *) func_append finalize_shlibpath "$libdir:" ;;
8631 esac
8632 add=-l$name
8633 elif test yes = "$hardcode_automatic"; then
8634 if test -n "$inst_prefix_dir" &&
8635 test -f "$inst_prefix_dir$libdir/$linklib"; then
8636 add=$inst_prefix_dir$libdir/$linklib
8637 else
8638 add=$libdir/$linklib
8639 fi
8640 else
8641 # We cannot seem to hardcode it, guess we'll fake it.
8642 add_dir=-L$libdir
8643 # Try looking first in the location we're being installed to.
8644 if test -n "$inst_prefix_dir"; then
8645 case $libdir in
8646 [\\/]*)
8647 func_append add_dir " -L$inst_prefix_dir$libdir"
8648 ;;
8649 esac
8650 fi
8651 add=-l$name
8652 fi
8653
8654 if test prog = "$linkmode"; then
8655 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
8656 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
8657 else
8658 test -n "$add_dir" && deplibs="$add_dir $deplibs"
8659 test -n "$add" && deplibs="$add $deplibs"
8660 fi
8661 fi
8662 elif test prog = "$linkmode"; then
8663 # Here we assume that one of hardcode_direct or hardcode_minus_L
8664 # is not unsupported. This is valid on all known static and
8665 # shared platforms.
8666 if test unsupported != "$hardcode_direct"; then
8667 test -n "$old_library" && linklib=$old_library
8668 compile_deplibs="$dir/$linklib $compile_deplibs"
8669 finalize_deplibs="$dir/$linklib $finalize_deplibs"
8670 else
8671 compile_deplibs="-l$name -L$dir $compile_deplibs"
8672 finalize_deplibs="-l$name -L$dir $finalize_deplibs"
8673 fi
8674 elif test yes = "$build_libtool_libs"; then
8675 # Not a shared library
8676 if test pass_all != "$deplibs_check_method"; then
8677 # We're trying link a shared library against a static one
8678 # but the system doesn't support it.
8679
8680 # Just print a warning and add the library to dependency_libs so
8681 # that the program can be linked against the static library.
8682 echo
8683 $ECHO "*** Warning: This system cannot link to static lib archive $lib."
8684 echo "*** I have the capability to make that library automatically link in when"
8685 echo "*** you link to this library. But I can only do this if you have a"
8686 echo "*** shared version of the library, which you do not appear to have."
8687 if test yes = "$module"; then
8688 echo "*** But as you try to build a module library, libtool will still create "
8689 echo "*** a static module, that should work as long as the dlopening application"
8690 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
8691 if test -z "$global_symbol_pipe"; then
8692 echo
8693 echo "*** However, this would only work if libtool was able to extract symbol"
8694 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
8695 echo "*** not find such a program. So, this module is probably useless."
8696 echo "*** 'nm' from GNU binutils and a full rebuild may help."
8697 fi
8698 if test no = "$build_old_libs"; then
8699 build_libtool_libs=module
8700 build_old_libs=yes
8701 else
8702 build_libtool_libs=no
8703 fi
8704 fi
8705 else
8706 deplibs="$dir/$old_library $deplibs"
8707 link_static=yes
8708 fi
8709 fi # link shared/static library?
8710
8711 if test lib = "$linkmode"; then
8712 if test -n "$dependency_libs" &&
8713 { test yes != "$hardcode_into_libs" ||
8714 test yes = "$build_old_libs" ||
8715 test yes = "$link_static"; }; then
8716 # Extract -R from dependency_libs
8717 temp_deplibs=
8718 for libdir in $dependency_libs; do
8719 case $libdir in
8720 -R*) func_stripname '-R' '' "$libdir"
8721 temp_xrpath=$func_stripname_result
8722 case " $xrpath " in
8723 *" $temp_xrpath "*) ;;
8724 *) func_append xrpath " $temp_xrpath";;
8725 esac;;
8726 *) func_append temp_deplibs " $libdir";;
8727 esac
8728 done
8729 dependency_libs=$temp_deplibs
8730 fi
8731
8732 func_append newlib_search_path " $absdir"
8733 # Link against this library
8734 test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
8735 # ... and its dependency_libs
8736 tmp_libs=
8737 for deplib in $dependency_libs; do
8738 newdependency_libs="$deplib $newdependency_libs"
8739 case $deplib in
8740 -L*) func_stripname '-L' '' "$deplib"
8741 func_resolve_sysroot "$func_stripname_result";;
8742 *) func_resolve_sysroot "$deplib" ;;
8743 esac
8744 if $opt_preserve_dup_deps; then
8745 case "$tmp_libs " in
8746 *" $func_resolve_sysroot_result "*)
8747 func_append specialdeplibs " $func_resolve_sysroot_result" ;;
8748 esac
8749 fi
8750 func_append tmp_libs " $func_resolve_sysroot_result"
8751 done
8752
8753 if test no != "$link_all_deplibs"; then
8754 # Add the search paths of all dependency libraries
8755 for deplib in $dependency_libs; do
8756 path=
8757 case $deplib in
8758 -L*) path=$deplib ;;
8759 *.la)
8760 func_resolve_sysroot "$deplib"
8761 deplib=$func_resolve_sysroot_result
8762 func_dirname "$deplib" "" "."
8763 dir=$func_dirname_result
8764 # We need an absolute path.
8765 case $dir in
8766 [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
8767 *)
8768 absdir=`cd "$dir" && pwd`
8769 if test -z "$absdir"; then
8770 func_warning "cannot determine absolute directory name of '$dir'"
8771 absdir=$dir
8772 fi
8773 ;;
8774 esac
8775 if $GREP "^installed=no" $deplib > /dev/null; then
8776 case $host in
8777 *-*-darwin*)
8778 depdepl=
8779 eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
8780 if test -n "$deplibrary_names"; then
8781 for tmp in $deplibrary_names; do
8782 depdepl=$tmp
8783 done
8784 if test -f "$absdir/$objdir/$depdepl"; then
8785 depdepl=$absdir/$objdir/$depdepl
8786 darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
8787 if test -z "$darwin_install_name"; then
8788 darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
8789 fi
8790 func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
8791 func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
8792 path=
8793 fi
8794 fi
8795 ;;
8796 *)
8797 path=-L$absdir/$objdir
8798 ;;
8799 esac
8800 else
8801 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
8802 test -z "$libdir" && \
8803 func_fatal_error "'$deplib' is not a valid libtool archive"
8804 test "$absdir" != "$libdir" && \
8805 func_warning "'$deplib' seems to be moved"
8806
8807 path=-L$absdir
8808 fi
8809 ;;
8810 esac
8811 case " $deplibs " in
8812 *" $path "*) ;;
8813 *) deplibs="$path $deplibs" ;;
8814 esac
8815 done
8816 fi # link_all_deplibs != no
8817 fi # linkmode = lib
8818 done # for deplib in $libs
8819 if test link = "$pass"; then
8820 if test prog = "$linkmode"; then
8821 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
8822 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
8823 else
8824 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
8825 fi
8826 fi
8827 dependency_libs=$newdependency_libs
8828 if test dlpreopen = "$pass"; then
8829 # Link the dlpreopened libraries before other libraries
8830 for deplib in $save_deplibs; do
8831 deplibs="$deplib $deplibs"
8832 done
8833 fi
8834 if test dlopen != "$pass"; then
8835 test conv = "$pass" || {
8836 # Make sure lib_search_path contains only unique directories.
8837 lib_search_path=
8838 for dir in $newlib_search_path; do
8839 case "$lib_search_path " in
8840 *" $dir "*) ;;
8841 *) func_append lib_search_path " $dir" ;;
8842 esac
8843 done
8844 newlib_search_path=
8845 }
8846
8847 if test prog,link = "$linkmode,$pass"; then
8848 vars="compile_deplibs finalize_deplibs"
8849 else
8850 vars=deplibs
8851 fi
8852 for var in $vars dependency_libs; do
8853 # Add libraries to $var in reverse order
8854 eval tmp_libs=\"\$$var\"
8855 new_libs=
8856 for deplib in $tmp_libs; do
8857 # FIXME: Pedantically, this is the right thing to do, so
8858 # that some nasty dependency loop isn't accidentally
8859 # broken:
8860 #new_libs="$deplib $new_libs"
8861 # Pragmatically, this seems to cause very few problems in
8862 # practice:
8863 case $deplib in
8864 -L*) new_libs="$deplib $new_libs" ;;
8865 -R*) ;;
8866 *)
8867 # And here is the reason: when a library appears more
8868 # than once as an explicit dependence of a library, or
8869 # is implicitly linked in more than once by the
8870 # compiler, it is considered special, and multiple
8871 # occurrences thereof are not removed. Compare this
8872 # with having the same library being listed as a
8873 # dependency of multiple other libraries: in this case,
8874 # we know (pedantically, we assume) the library does not
8875 # need to be listed more than once, so we keep only the
8876 # last copy. This is not always right, but it is rare
8877 # enough that we require users that really mean to play
8878 # such unportable linking tricks to link the library
8879 # using -Wl,-lname, so that libtool does not consider it
8880 # for duplicate removal.
8881 case " $specialdeplibs " in
8882 *" $deplib "*) new_libs="$deplib $new_libs" ;;
8883 *)
8884 case " $new_libs " in
8885 *" $deplib "*) ;;
8886 *) new_libs="$deplib $new_libs" ;;
8887 esac
8888 ;;
8889 esac
8890 ;;
8891 esac
8892 done
8893 tmp_libs=
8894 for deplib in $new_libs; do
8895 case $deplib in
8896 -L*)
8897 case " $tmp_libs " in
8898 *" $deplib "*) ;;
8899 *) func_append tmp_libs " $deplib" ;;
8900 esac
8901 ;;
8902 *) func_append tmp_libs " $deplib" ;;
8903 esac
8904 done
8905 eval $var=\"$tmp_libs\"
8906 done # for var
8907 fi
8908
8909 # Add Sun CC postdeps if required:
8910 test CXX = "$tagname" && {
8911 case $host_os in
8912 linux*)
8913 case `$CC -V 2>&1 | $SED 5q` in
8914 *Sun\ C*) # Sun C++ 5.9
8915 func_suncc_cstd_abi
8916
8917 if test no != "$suncc_use_cstd_abi"; then
8918 func_append postdeps ' -library=Cstd -library=Crun'
8919 fi
8920 ;;
8921 esac
8922 ;;
8923
8924 solaris*)
8925 func_cc_basename "$CC"
8926 case $func_cc_basename_result in
8927 CC* | sunCC*)
8928 func_suncc_cstd_abi
8929
8930 if test no != "$suncc_use_cstd_abi"; then
8931 func_append postdeps ' -library=Cstd -library=Crun'
8932 fi
8933 ;;
8934 esac
8935 ;;
8936 esac
8937 }
8938
8939 # Last step: remove runtime libs from dependency_libs
8940 # (they stay in deplibs)
8941 tmp_libs=
8942 for i in $dependency_libs; do
8943 case " $predeps $postdeps $compiler_lib_search_path " in
8944 *" $i "*)
8945 i=
8946 ;;
8947 esac
8948 if test -n "$i"; then
8949 func_append tmp_libs " $i"
8950 fi
8951 done
8952 dependency_libs=$tmp_libs
8953 done # for pass
8954 if test prog = "$linkmode"; then
8955 dlfiles=$newdlfiles
8956 fi
8957 if test prog = "$linkmode" || test lib = "$linkmode"; then
8958 dlprefiles=$newdlprefiles
8959 fi
8960
8961 case $linkmode in
8962 oldlib)
8963 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
8964 func_warning "'-dlopen' is ignored for archives"
8965 fi
8966
8967 case " $deplibs" in
8968 *\ -l* | *\ -L*)
8969 func_warning "'-l' and '-L' are ignored for archives" ;;
8970 esac
8971
8972 test -n "$rpath" && \
8973 func_warning "'-rpath' is ignored for archives"
8974
8975 test -n "$xrpath" && \
8976 func_warning "'-R' is ignored for archives"
8977
8978 test -n "$vinfo" && \
8979 func_warning "'-version-info/-version-number' is ignored for archives"
8980
8981 test -n "$release" && \
8982 func_warning "'-release' is ignored for archives"
8983
8984 test -n "$export_symbols$export_symbols_regex" && \
8985 func_warning "'-export-symbols' is ignored for archives"
8986
8987 # Now set the variables for building old libraries.
8988 build_libtool_libs=no
8989 oldlibs=$output
8990 func_append objs "$old_deplibs"
8991 ;;
8992
8993 lib)
8994 # Make sure we only generate libraries of the form 'libNAME.la'.
8995 case $outputname in
8996 lib*)
8997 func_stripname 'lib' '.la' "$outputname"
8998 name=$func_stripname_result
8999 eval shared_ext=\"$shrext_cmds\"
9000 eval libname=\"$libname_spec\"
9001 ;;
9002 *)
9003 test no = "$module" \
9004 && func_fatal_help "libtool library '$output' must begin with 'lib'"
9005
9006 if test no != "$need_lib_prefix"; then
9007 # Add the "lib" prefix for modules if required
9008 func_stripname '' '.la' "$outputname"
9009 name=$func_stripname_result
9010 eval shared_ext=\"$shrext_cmds\"
9011 eval libname=\"$libname_spec\"
9012 else
9013 func_stripname '' '.la' "$outputname"
9014 libname=$func_stripname_result
9015 fi
9016 ;;
9017 esac
9018
9019 if test -n "$objs"; then
9020 if test pass_all != "$deplibs_check_method"; then
9021 func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
9022 else
9023 echo
9024 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
9025 $ECHO "*** objects $objs is not portable!"
9026 func_append libobjs " $objs"
9027 fi
9028 fi
9029
9030 test no = "$dlself" \
9031 || func_warning "'-dlopen self' is ignored for libtool libraries"
9032
9033 set dummy $rpath
9034 shift
9035 test 1 -lt "$#" \
9036 && func_warning "ignoring multiple '-rpath's for a libtool library"
9037
9038 install_libdir=$1
9039
9040 oldlibs=
9041 if test -z "$rpath"; then
9042 if test yes = "$build_libtool_libs"; then
9043 # Building a libtool convenience library.
9044 # Some compilers have problems with a '.al' extension so
9045 # convenience libraries should have the same extension an
9046 # archive normally would.
9047 oldlibs="$output_objdir/$libname.$libext $oldlibs"
9048 build_libtool_libs=convenience
9049 build_old_libs=yes
9050 fi
9051
9052 test -n "$vinfo" && \
9053 func_warning "'-version-info/-version-number' is ignored for convenience libraries"
9054
9055 test -n "$release" && \
9056 func_warning "'-release' is ignored for convenience libraries"
9057 else
9058
9059 # Parse the version information argument.
9060 save_ifs=$IFS; IFS=:
9061 set dummy $vinfo 0 0 0
9062 shift
9063 IFS=$save_ifs
9064
9065 test -n "$7" && \
9066 func_fatal_help "too many parameters to '-version-info'"
9067
9068 # convert absolute version numbers to libtool ages
9069 # this retains compatibility with .la files and attempts
9070 # to make the code below a bit more comprehensible
9071
9072 case $vinfo_number in
9073 yes)
9074 number_major=$1
9075 number_minor=$2
9076 number_revision=$3
9077 #
9078 # There are really only two kinds -- those that
9079 # use the current revision as the major version
9080 # and those that subtract age and use age as
9081 # a minor version. But, then there is irix
9082 # that has an extra 1 added just for fun
9083 #
9084 case $version_type in
9085 # correct linux to gnu/linux during the next big refactor
9086 darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
9087 func_arith $number_major + $number_minor
9088 current=$func_arith_result
9089 age=$number_minor
9090 revision=$number_revision
9091 ;;
9092 freebsd-aout|qnx|sunos)
9093 current=$number_major
9094 revision=$number_minor
9095 age=0
9096 ;;
9097 irix|nonstopux)
9098 func_arith $number_major + $number_minor
9099 current=$func_arith_result
9100 age=$number_minor
9101 revision=$number_minor
9102 lt_irix_increment=no
9103 ;;
9104 esac
9105 ;;
9106 no)
9107 current=$1
9108 revision=$2
9109 age=$3
9110 ;;
9111 esac
9112
9113 # Check that each of the things are valid numbers.
9114 case $current in
9115 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
9116 *)
9117 func_error "CURRENT '$current' must be a nonnegative integer"
9118 func_fatal_error "'$vinfo' is not valid version information"
9119 ;;
9120 esac
9121
9122 case $revision in
9123 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
9124 *)
9125 func_error "REVISION '$revision' must be a nonnegative integer"
9126 func_fatal_error "'$vinfo' is not valid version information"
9127 ;;
9128 esac
9129
9130 case $age in
9131 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
9132 *)
9133 func_error "AGE '$age' must be a nonnegative integer"
9134 func_fatal_error "'$vinfo' is not valid version information"
9135 ;;
9136 esac
9137
9138 if test "$age" -gt "$current"; then
9139 func_error "AGE '$age' is greater than the current interface number '$current'"
9140 func_fatal_error "'$vinfo' is not valid version information"
9141 fi
9142
9143 # Calculate the version variables.
9144 major=
9145 versuffix=
9146 verstring=
9147 case $version_type in
9148 none) ;;
9149
9150 darwin)
9151 # Like Linux, but with the current version available in
9152 # verstring for coding it into the library header
9153 func_arith $current - $age
9154 major=.$func_arith_result
9155 versuffix=$major.$age.$revision
9156 # Darwin ld doesn't like 0 for these options...
9157 func_arith $current + 1
9158 minor_current=$func_arith_result
9159 xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
9160 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
9161 # On Darwin other compilers
9162 case $CC in
9163 nagfor*)
9164 verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
9165 ;;
9166 *)
9167 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
9168 ;;
9169 esac
9170 ;;
9171
9172 freebsd-aout)
9173 major=.$current
9174 versuffix=.$current.$revision
9175 ;;
9176
9177 freebsd-elf | midnightbsd-elf)
9178 func_arith $current - $age
9179 major=.$func_arith_result
9180 versuffix=$major.$age.$revision
9181 ;;
9182
9183 irix | nonstopux)
9184 if test no = "$lt_irix_increment"; then
9185 func_arith $current - $age
9186 else
9187 func_arith $current - $age + 1
9188 fi
9189 major=$func_arith_result
9190
9191 case $version_type in
9192 nonstopux) verstring_prefix=nonstopux ;;
9193 *) verstring_prefix=sgi ;;
9194 esac
9195 verstring=$verstring_prefix$major.$revision
9196
9197 # Add in all the interfaces that we are compatible with.
9198 loop=$revision
9199 while test 0 -ne "$loop"; do
9200 func_arith $revision - $loop
9201 iface=$func_arith_result
9202 func_arith $loop - 1
9203 loop=$func_arith_result
9204 verstring=$verstring_prefix$major.$iface:$verstring
9205 done
9206
9207 # Before this point, $major must not contain '.'.
9208 major=.$major
9209 versuffix=$major.$revision
9210 ;;
9211
9212 linux) # correct to gnu/linux during the next big refactor
9213 func_arith $current - $age
9214 major=.$func_arith_result
9215 versuffix=$major.$age.$revision
9216 ;;
9217
9218 osf)
9219 func_arith $current - $age
9220 major=.$func_arith_result
9221 versuffix=.$current.$age.$revision
9222 verstring=$current.$age.$revision
9223
9224 # Add in all the interfaces that we are compatible with.
9225 loop=$age
9226 while test 0 -ne "$loop"; do
9227 func_arith $current - $loop
9228 iface=$func_arith_result
9229 func_arith $loop - 1
9230 loop=$func_arith_result
9231 verstring=$verstring:$iface.0
9232 done
9233
9234 # Make executables depend on our current version.
9235 func_append verstring ":$current.0"
9236 ;;
9237
9238 qnx)
9239 major=.$current
9240 versuffix=.$current
9241 ;;
9242
9243 sco)
9244 major=.$current
9245 versuffix=.$current
9246 ;;
9247
9248 sunos)
9249 major=.$current
9250 versuffix=.$current.$revision
9251 ;;
9252
9253 windows)
9254 # Use '-' rather than '.', since we only want one
9255 # extension on DOS 8.3 file systems.
9256 func_arith $current - $age
9257 major=$func_arith_result
9258 versuffix=-$major
9259 ;;
9260
9261 *)
9262 func_fatal_configuration "unknown library version type '$version_type'"
9263 ;;
9264 esac
9265
9266 # Clear the version info if we defaulted, and they specified a release.
9267 if test -z "$vinfo" && test -n "$release"; then
9268 major=
9269 case $version_type in
9270 darwin)
9271 # we can't check for "0.0" in archive_cmds due to quoting
9272 # problems, so we reset it completely
9273 verstring=
9274 ;;
9275 *)
9276 verstring=0.0
9277 ;;
9278 esac
9279 if test no = "$need_version"; then
9280 versuffix=
9281 else
9282 versuffix=.0.0
9283 fi
9284 fi
9285
9286 # Remove version info from name if versioning should be avoided
9287 if test yes,no = "$avoid_version,$need_version"; then
9288 major=
9289 versuffix=
9290 verstring=
9291 fi
9292
9293 # Check to see if the archive will have undefined symbols.
9294 if test yes = "$allow_undefined"; then
9295 if test unsupported = "$allow_undefined_flag"; then
9296 if test yes = "$build_old_libs"; then
9297 func_warning "undefined symbols not allowed in $host shared libraries; building static only"
9298 build_libtool_libs=no
9299 else
9300 func_fatal_error "can't build $host shared library unless -no-undefined is specified"
9301 fi
9302 fi
9303 else
9304 # Don't allow undefined symbols.
9305 allow_undefined_flag=$no_undefined_flag
9306 fi
9307
9308 fi
9309
9310 func_generate_dlsyms "$libname" "$libname" :
9311 func_append libobjs " $symfileobj"
9312 test " " = "$libobjs" && libobjs=
9313
9314 if test relink != "$opt_mode"; then
9315 # Remove our outputs, but don't remove object files since they
9316 # may have been created when compiling PIC objects.
9317 removelist=
9318 tempremovelist=`$ECHO "$output_objdir/*"`
9319 for p in $tempremovelist; do
9320 case $p in
9321 *.$objext | *.gcno)
9322 ;;
9323 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
9324 if test -n "$precious_files_regex"; then
9325 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
9326 then
9327 continue
9328 fi
9329 fi
9330 func_append removelist " $p"
9331 ;;
9332 *) ;;
9333 esac
9334 done
9335 test -n "$removelist" && \
9336 func_show_eval "${RM}r \$removelist"
9337 fi
9338
9339 # Now set the variables for building old libraries.
9340 if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
9341 func_append oldlibs " $output_objdir/$libname.$libext"
9342
9343 # Transform .lo files to .o files.
9344 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
9345 fi
9346
9347 # Eliminate all temporary directories.
9348 #for path in $notinst_path; do
9349 # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
9350 # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
9351 # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
9352 #done
9353
9354 if test -n "$xrpath"; then
9355 # If the user specified any rpath flags, then add them.
9356 temp_xrpath=
9357 for libdir in $xrpath; do
9358 func_replace_sysroot "$libdir"
9359 func_append temp_xrpath " -R$func_replace_sysroot_result"
9360 case "$finalize_rpath " in
9361 *" $libdir "*) ;;
9362 *) func_append finalize_rpath " $libdir" ;;
9363 esac
9364 done
9365 if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
9366 dependency_libs="$temp_xrpath $dependency_libs"
9367 fi
9368 fi
9369
9370 # Make sure dlfiles contains only unique files that won't be dlpreopened
9371 old_dlfiles=$dlfiles
9372 dlfiles=
9373 for lib in $old_dlfiles; do
9374 case " $dlprefiles $dlfiles " in
9375 *" $lib "*) ;;
9376 *) func_append dlfiles " $lib" ;;
9377 esac
9378 done
9379
9380 # Make sure dlprefiles contains only unique files
9381 old_dlprefiles=$dlprefiles
9382 dlprefiles=
9383 for lib in $old_dlprefiles; do
9384 case "$dlprefiles " in
9385 *" $lib "*) ;;
9386 *) func_append dlprefiles " $lib" ;;
9387 esac
9388 done
9389
9390 if test yes = "$build_libtool_libs"; then
9391 if test -n "$rpath"; then
9392 case $host in
9393 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
9394 # these systems don't actually have a c library (as such)!
9395 ;;
9396 *-*-rhapsody* | *-*-darwin1.[012])
9397 # Rhapsody C library is in the System framework
9398 func_append deplibs " System.ltframework"
9399 ;;
9400 *-*-netbsd*)
9401 # Don't link with libc until the a.out ld.so is fixed.
9402 ;;
9403 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
9404 # Do not include libc due to us having libc/libc_r.
9405 ;;
9406 *-*-sco3.2v5* | *-*-sco5v6*)
9407 # Causes problems with __ctype
9408 ;;
9409 *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
9410 # Compiler inserts libc in the correct place for threads to work
9411 ;;
9412 *)
9413 # Add libc to deplibs on all other systems if necessary.
9414 if test yes = "$build_libtool_need_lc"; then
9415 func_append deplibs " -lc"
9416 fi
9417 ;;
9418 esac
9419 fi
9420
9421 # Transform deplibs into only deplibs that can be linked in shared.
9422 name_save=$name
9423 libname_save=$libname
9424 release_save=$release
9425 versuffix_save=$versuffix
9426 major_save=$major
9427 # I'm not sure if I'm treating the release correctly. I think
9428 # release should show up in the -l (ie -lgmp5) so we don't want to
9429 # add it in twice. Is that correct?
9430 release=
9431 versuffix=
9432 major=
9433 newdeplibs=
9434 droppeddeps=no
9435 case $deplibs_check_method in
9436 pass_all)
9437 # Don't check for shared/static. Everything works.
9438 # This might be a little naive. We might want to check
9439 # whether the library exists or not. But this is on
9440 # osf3 & osf4 and I'm not really sure... Just
9441 # implementing what was already the behavior.
9442 newdeplibs=$deplibs
9443 ;;
9444 test_compile)
9445 # This code stresses the "libraries are programs" paradigm to its
9446 # limits. Maybe even breaks it. We compile a program, linking it
9447 # against the deplibs as a proxy for the library. Then we can check
9448 # whether they linked in statically or dynamically with ldd.
9449 $opt_dry_run || $RM conftest.c
9450 cat > conftest.c <<EOF
9451 int main() { return 0; }
9452 EOF
9453 $opt_dry_run || $RM conftest
9454 if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
9455 ldd_output=`ldd conftest`
9456 for i in $deplibs; do
9457 case $i in
9458 -l*)
9459 func_stripname -l '' "$i"
9460 name=$func_stripname_result
9461 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9462 case " $predeps $postdeps " in
9463 *" $i "*)
9464 func_append newdeplibs " $i"
9465 i=
9466 ;;
9467 esac
9468 fi
9469 if test -n "$i"; then
9470 libname=`eval "\\$ECHO \"$libname_spec\""`
9471 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
9472 set dummy $deplib_matches; shift
9473 deplib_match=$1
9474 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
9475 func_append newdeplibs " $i"
9476 else
9477 droppeddeps=yes
9478 echo
9479 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
9480 echo "*** I have the capability to make that library automatically link in when"
9481 echo "*** you link to this library. But I can only do this if you have a"
9482 echo "*** shared version of the library, which I believe you do not have"
9483 echo "*** because a test_compile did reveal that the linker did not use it for"
9484 echo "*** its dynamic dependency list that programs get resolved with at runtime."
9485 fi
9486 fi
9487 ;;
9488 *)
9489 func_append newdeplibs " $i"
9490 ;;
9491 esac
9492 done
9493 else
9494 # Error occurred in the first compile. Let's try to salvage
9495 # the situation: Compile a separate program for each library.
9496 for i in $deplibs; do
9497 case $i in
9498 -l*)
9499 func_stripname -l '' "$i"
9500 name=$func_stripname_result
9501 $opt_dry_run || $RM conftest
9502 if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
9503 ldd_output=`ldd conftest`
9504 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9505 case " $predeps $postdeps " in
9506 *" $i "*)
9507 func_append newdeplibs " $i"
9508 i=
9509 ;;
9510 esac
9511 fi
9512 if test -n "$i"; then
9513 libname=`eval "\\$ECHO \"$libname_spec\""`
9514 deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
9515 set dummy $deplib_matches; shift
9516 deplib_match=$1
9517 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
9518 func_append newdeplibs " $i"
9519 else
9520 droppeddeps=yes
9521 echo
9522 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
9523 echo "*** I have the capability to make that library automatically link in when"
9524 echo "*** you link to this library. But I can only do this if you have a"
9525 echo "*** shared version of the library, which you do not appear to have"
9526 echo "*** because a test_compile did reveal that the linker did not use this one"
9527 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
9528 fi
9529 fi
9530 else
9531 droppeddeps=yes
9532 echo
9533 $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
9534 echo "*** make it link in! You will probably need to install it or some"
9535 echo "*** library that it depends on before this library will be fully"
9536 echo "*** functional. Installing it before continuing would be even better."
9537 fi
9538 ;;
9539 *)
9540 func_append newdeplibs " $i"
9541 ;;
9542 esac
9543 done
9544 fi
9545 ;;
9546 file_magic*)
9547 set dummy $deplibs_check_method; shift
9548 file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
9549 for a_deplib in $deplibs; do
9550 case $a_deplib in
9551 -l*)
9552 func_stripname -l '' "$a_deplib"
9553 name=$func_stripname_result
9554 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9555 case " $predeps $postdeps " in
9556 *" $a_deplib "*)
9557 func_append newdeplibs " $a_deplib"
9558 a_deplib=
9559 ;;
9560 esac
9561 fi
9562 if test -n "$a_deplib"; then
9563 libname=`eval "\\$ECHO \"$libname_spec\""`
9564 if test -n "$file_magic_glob"; then
9565 libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
9566 else
9567 libnameglob=$libname
9568 fi
9569 test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
9570 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
9571 if test yes = "$want_nocaseglob"; then
9572 shopt -s nocaseglob
9573 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
9574 $nocaseglob
9575 else
9576 potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
9577 fi
9578 for potent_lib in $potential_libs; do
9579 # Follow soft links.
9580 if ls -lLd "$potent_lib" 2>/dev/null |
9581 $GREP " -> " >/dev/null; then
9582 continue
9583 fi
9584 # The statement above tries to avoid entering an
9585 # endless loop below, in case of cyclic links.
9586 # We might still enter an endless loop, since a link
9587 # loop can be closed while we follow links,
9588 # but so what?
9589 potlib=$potent_lib
9590 while test -h "$potlib" 2>/dev/null; do
9591 potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
9592 case $potliblink in
9593 [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
9594 *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
9595 esac
9596 done
9597 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
9598 $SED -e 10q |
9599 $EGREP "$file_magic_regex" > /dev/null; then
9600 func_append newdeplibs " $a_deplib"
9601 a_deplib=
9602 break 2
9603 fi
9604 done
9605 done
9606 fi
9607 if test -n "$a_deplib"; then
9608 droppeddeps=yes
9609 echo
9610 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
9611 echo "*** I have the capability to make that library automatically link in when"
9612 echo "*** you link to this library. But I can only do this if you have a"
9613 echo "*** shared version of the library, which you do not appear to have"
9614 echo "*** because I did check the linker path looking for a file starting"
9615 if test -z "$potlib"; then
9616 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
9617 else
9618 $ECHO "*** with $libname and none of the candidates passed a file format test"
9619 $ECHO "*** using a file magic. Last file checked: $potlib"
9620 fi
9621 fi
9622 ;;
9623 *)
9624 # Add a -L argument.
9625 func_append newdeplibs " $a_deplib"
9626 ;;
9627 esac
9628 done # Gone through all deplibs.
9629 ;;
9630 match_pattern*)
9631 set dummy $deplibs_check_method; shift
9632 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
9633 for a_deplib in $deplibs; do
9634 case $a_deplib in
9635 -l*)
9636 func_stripname -l '' "$a_deplib"
9637 name=$func_stripname_result
9638 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9639 case " $predeps $postdeps " in
9640 *" $a_deplib "*)
9641 func_append newdeplibs " $a_deplib"
9642 a_deplib=
9643 ;;
9644 esac
9645 fi
9646 if test -n "$a_deplib"; then
9647 libname=`eval "\\$ECHO \"$libname_spec\""`
9648 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
9649 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
9650 for potent_lib in $potential_libs; do
9651 potlib=$potent_lib # see symlink-check above in file_magic test
9652 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
9653 $EGREP "$match_pattern_regex" > /dev/null; then
9654 func_append newdeplibs " $a_deplib"
9655 a_deplib=
9656 break 2
9657 fi
9658 done
9659 done
9660 fi
9661 if test -n "$a_deplib"; then
9662 droppeddeps=yes
9663 echo
9664 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
9665 echo "*** I have the capability to make that library automatically link in when"
9666 echo "*** you link to this library. But I can only do this if you have a"
9667 echo "*** shared version of the library, which you do not appear to have"
9668 echo "*** because I did check the linker path looking for a file starting"
9669 if test -z "$potlib"; then
9670 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
9671 else
9672 $ECHO "*** with $libname and none of the candidates passed a file format test"
9673 $ECHO "*** using a regex pattern. Last file checked: $potlib"
9674 fi
9675 fi
9676 ;;
9677 *)
9678 # Add a -L argument.
9679 func_append newdeplibs " $a_deplib"
9680 ;;
9681 esac
9682 done # Gone through all deplibs.
9683 ;;
9684 none | unknown | *)
9685 newdeplibs=
9686 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
9687 if test yes = "$allow_libtool_libs_with_static_runtimes"; then
9688 for i in $predeps $postdeps; do
9689 # can't use Xsed below, because $i might contain '/'
9690 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
9691 done
9692 fi
9693 case $tmp_deplibs in
9694 *[!\ \ ]*)
9695 echo
9696 if test none = "$deplibs_check_method"; then
9697 echo "*** Warning: inter-library dependencies are not supported in this platform."
9698 else
9699 echo "*** Warning: inter-library dependencies are not known to be supported."
9700 fi
9701 echo "*** All declared inter-library dependencies are being dropped."
9702 droppeddeps=yes
9703 ;;
9704 esac
9705 ;;
9706 esac
9707 versuffix=$versuffix_save
9708 major=$major_save
9709 release=$release_save
9710 libname=$libname_save
9711 name=$name_save
9712
9713 case $host in
9714 *-*-rhapsody* | *-*-darwin1.[012])
9715 # On Rhapsody replace the C library with the System framework
9716 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
9717 ;;
9718 esac
9719
9720 if test yes = "$droppeddeps"; then
9721 if test yes = "$module"; then
9722 echo
9723 echo "*** Warning: libtool could not satisfy all declared inter-library"
9724 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
9725 echo "*** a static module, that should work as long as the dlopening"
9726 echo "*** application is linked with the -dlopen flag."
9727 if test -z "$global_symbol_pipe"; then
9728 echo
9729 echo "*** However, this would only work if libtool was able to extract symbol"
9730 echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
9731 echo "*** not find such a program. So, this module is probably useless."
9732 echo "*** 'nm' from GNU binutils and a full rebuild may help."
9733 fi
9734 if test no = "$build_old_libs"; then
9735 oldlibs=$output_objdir/$libname.$libext
9736 build_libtool_libs=module
9737 build_old_libs=yes
9738 else
9739 build_libtool_libs=no
9740 fi
9741 else
9742 echo "*** The inter-library dependencies that have been dropped here will be"
9743 echo "*** automatically added whenever a program is linked with this library"
9744 echo "*** or is declared to -dlopen it."
9745
9746 if test no = "$allow_undefined"; then
9747 echo
9748 echo "*** Since this library must not contain undefined symbols,"
9749 echo "*** because either the platform does not support them or"
9750 echo "*** it was explicitly requested with -no-undefined,"
9751 echo "*** libtool will only create a static version of it."
9752 if test no = "$build_old_libs"; then
9753 oldlibs=$output_objdir/$libname.$libext
9754 build_libtool_libs=module
9755 build_old_libs=yes
9756 else
9757 build_libtool_libs=no
9758 fi
9759 fi
9760 fi
9761 fi
9762 # Done checking deplibs!
9763 deplibs=$newdeplibs
9764 fi
9765 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
9766 case $host in
9767 *-*-darwin*)
9768 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9769 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9770 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
9771 ;;
9772 esac
9773
9774 # move library search paths that coincide with paths to not yet
9775 # installed libraries to the beginning of the library search list
9776 new_libs=
9777 for path in $notinst_path; do
9778 case " $new_libs " in
9779 *" -L$path/$objdir "*) ;;
9780 *)
9781 case " $deplibs " in
9782 *" -L$path/$objdir "*)
9783 func_append new_libs " -L$path/$objdir" ;;
9784 esac
9785 ;;
9786 esac
9787 done
9788 for deplib in $deplibs; do
9789 case $deplib in
9790 -L*)
9791 case " $new_libs " in
9792 *" $deplib "*) ;;
9793 *) func_append new_libs " $deplib" ;;
9794 esac
9795 ;;
9796 *) func_append new_libs " $deplib" ;;
9797 esac
9798 done
9799 deplibs=$new_libs
9800
9801 # All the library-specific variables (install_libdir is set above).
9802 library_names=
9803 old_library=
9804 dlname=
9805
9806 # Test again, we may have decided not to build it any more
9807 if test yes = "$build_libtool_libs"; then
9808 # Remove $wl instances when linking with ld.
9809 # FIXME: should test the right _cmds variable.
9810 case $archive_cmds in
9811 *\$LD\ *) wl= ;;
9812 esac
9813 if test yes = "$hardcode_into_libs"; then
9814 # Hardcode the library paths
9815 hardcode_libdirs=
9816 dep_rpath=
9817 rpath=$finalize_rpath
9818 test relink = "$opt_mode" || rpath=$compile_rpath$rpath
9819 for libdir in $rpath; do
9820 if test -n "$hardcode_libdir_flag_spec"; then
9821 if test -n "$hardcode_libdir_separator"; then
9822 func_replace_sysroot "$libdir"
9823 libdir=$func_replace_sysroot_result
9824 if test -z "$hardcode_libdirs"; then
9825 hardcode_libdirs=$libdir
9826 else
9827 # Just accumulate the unique libdirs.
9828 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
9829 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
9830 ;;
9831 *)
9832 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
9833 ;;
9834 esac
9835 fi
9836 else
9837 eval flag=\"$hardcode_libdir_flag_spec\"
9838 func_append dep_rpath " $flag"
9839 fi
9840 elif test -n "$runpath_var"; then
9841 case "$perm_rpath " in
9842 *" $libdir "*) ;;
9843 *) func_append perm_rpath " $libdir" ;;
9844 esac
9845 fi
9846 done
9847 # Substitute the hardcoded libdirs into the rpath.
9848 if test -n "$hardcode_libdir_separator" &&
9849 test -n "$hardcode_libdirs"; then
9850 libdir=$hardcode_libdirs
9851 eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
9852 fi
9853 if test -n "$runpath_var" && test -n "$perm_rpath"; then
9854 # We should set the runpath_var.
9855 rpath=
9856 for dir in $perm_rpath; do
9857 func_append rpath "$dir:"
9858 done
9859 eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
9860 fi
9861 test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
9862 fi
9863
9864 shlibpath=$finalize_shlibpath
9865 test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
9866 if test -n "$shlibpath"; then
9867 eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
9868 fi
9869
9870 # Get the real and link names of the library.
9871 eval shared_ext=\"$shrext_cmds\"
9872 eval library_names=\"$library_names_spec\"
9873 set dummy $library_names
9874 shift
9875 realname=$1
9876 shift
9877
9878 if test -n "$soname_spec"; then
9879 eval soname=\"$soname_spec\"
9880 else
9881 soname=$realname
9882 fi
9883 if test -z "$dlname"; then
9884 dlname=$soname
9885 fi
9886
9887 lib=$output_objdir/$realname
9888 linknames=
9889 for link
9890 do
9891 func_append linknames " $link"
9892 done
9893
9894 # Use standard objects if they are pic
9895 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
9896 test "X$libobjs" = "X " && libobjs=
9897
9898 delfiles=
9899 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9900 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
9901 export_symbols=$output_objdir/$libname.uexp
9902 func_append delfiles " $export_symbols"
9903 fi
9904
9905 orig_export_symbols=
9906 case $host_os in
9907 cygwin* | mingw* | cegcc*)
9908 if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
9909 # exporting using user supplied symfile
9910 func_dll_def_p "$export_symbols" || {
9911 # and it's NOT already a .def file. Must figure out
9912 # which of the given symbols are data symbols and tag
9913 # them as such. So, trigger use of export_symbols_cmds.
9914 # export_symbols gets reassigned inside the "prepare
9915 # the list of exported symbols" if statement, so the
9916 # include_expsyms logic still works.
9917 orig_export_symbols=$export_symbols
9918 export_symbols=
9919 always_export_symbols=yes
9920 }
9921 fi
9922 ;;
9923 esac
9924
9925 # Prepare the list of exported symbols
9926 if test -z "$export_symbols"; then
9927 if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
9928 func_verbose "generating symbol list for '$libname.la'"
9929 export_symbols=$output_objdir/$libname.exp
9930 $opt_dry_run || $RM $export_symbols
9931 cmds=$export_symbols_cmds
9932 save_ifs=$IFS; IFS='~'
9933 for cmd1 in $cmds; do
9934 IFS=$save_ifs
9935 # Take the normal branch if the nm_file_list_spec branch
9936 # doesn't work or if tool conversion is not needed.
9937 case $nm_file_list_spec~$to_tool_file_cmd in
9938 *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
9939 try_normal_branch=yes
9940 eval cmd=\"$cmd1\"
9941 func_len " $cmd"
9942 len=$func_len_result
9943 ;;
9944 *)
9945 try_normal_branch=no
9946 ;;
9947 esac
9948 if test yes = "$try_normal_branch" \
9949 && { test "$len" -lt "$max_cmd_len" \
9950 || test "$max_cmd_len" -le -1; }
9951 then
9952 func_show_eval "$cmd" 'exit $?'
9953 skipped_export=false
9954 elif test -n "$nm_file_list_spec"; then
9955 func_basename "$output"
9956 output_la=$func_basename_result
9957 save_libobjs=$libobjs
9958 save_output=$output
9959 output=$output_objdir/$output_la.nm
9960 func_to_tool_file "$output"
9961 libobjs=$nm_file_list_spec$func_to_tool_file_result
9962 func_append delfiles " $output"
9963 func_verbose "creating $NM input file list: $output"
9964 for obj in $save_libobjs; do
9965 func_to_tool_file "$obj"
9966 $ECHO "$func_to_tool_file_result"
9967 done > "$output"
9968 eval cmd=\"$cmd1\"
9969 func_show_eval "$cmd" 'exit $?'
9970 output=$save_output
9971 libobjs=$save_libobjs
9972 skipped_export=false
9973 else
9974 # The command line is too long to execute in one step.
9975 func_verbose "using reloadable object file for export list..."
9976 skipped_export=:
9977 # Break out early, otherwise skipped_export may be
9978 # set to false by a later but shorter cmd.
9979 break
9980 fi
9981 done
9982 IFS=$save_ifs
9983 if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
9984 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
9985 func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
9986 fi
9987 fi
9988 fi
9989
9990 if test -n "$export_symbols" && test -n "$include_expsyms"; then
9991 tmp_export_symbols=$export_symbols
9992 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
9993 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
9994 fi
9995
9996 if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
9997 # The given exports_symbols file has to be filtered, so filter it.
9998 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
9999 # FIXME: $output_objdir/$libname.filter potentially contains lots of
10000 # 's' commands, which not all seds can handle. GNU sed should be fine
10001 # though. Also, the filter scales superlinearly with the number of
10002 # global variables. join(1) would be nice here, but unfortunately
10003 # isn't a blessed tool.
10004 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
10005 func_append delfiles " $export_symbols $output_objdir/$libname.filter"
10006 export_symbols=$output_objdir/$libname.def
10007 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
10008 fi
10009
10010 tmp_deplibs=
10011 for test_deplib in $deplibs; do
10012 case " $convenience " in
10013 *" $test_deplib "*) ;;
10014 *)
10015 func_append tmp_deplibs " $test_deplib"
10016 ;;
10017 esac
10018 done
10019 deplibs=$tmp_deplibs
10020
10021 if test -n "$convenience"; then
10022 if test -n "$whole_archive_flag_spec" &&
10023 test yes = "$compiler_needs_object" &&
10024 test -z "$libobjs"; then
10025 # extract the archives, so we have objects to list.
10026 # TODO: could optimize this to just extract one archive.
10027 whole_archive_flag_spec=
10028 fi
10029 if test -n "$whole_archive_flag_spec"; then
10030 save_libobjs=$libobjs
10031 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
10032 test "X$libobjs" = "X " && libobjs=
10033 else
10034 gentop=$output_objdir/${outputname}x
10035 func_append generated " $gentop"
10036
10037 func_extract_archives $gentop $convenience
10038 func_append libobjs " $func_extract_archives_result"
10039 test "X$libobjs" = "X " && libobjs=
10040 fi
10041 fi
10042
10043 if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
10044 eval flag=\"$thread_safe_flag_spec\"
10045 func_append linker_flags " $flag"
10046 fi
10047
10048 # Make a backup of the uninstalled library when relinking
10049 if test relink = "$opt_mode"; then
10050 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
10051 fi
10052
10053 # Do each of the archive commands.
10054 if test yes = "$module" && test -n "$module_cmds"; then
10055 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
10056 eval test_cmds=\"$module_expsym_cmds\"
10057 cmds=$module_expsym_cmds
10058 else
10059 eval test_cmds=\"$module_cmds\"
10060 cmds=$module_cmds
10061 fi
10062 else
10063 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
10064 eval test_cmds=\"$archive_expsym_cmds\"
10065 cmds=$archive_expsym_cmds
10066 else
10067 eval test_cmds=\"$archive_cmds\"
10068 cmds=$archive_cmds
10069 fi
10070 fi
10071
10072 if test : != "$skipped_export" &&
10073 func_len " $test_cmds" &&
10074 len=$func_len_result &&
10075 test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
10076 :
10077 else
10078 # The command line is too long to link in one step, link piecewise
10079 # or, if using GNU ld and skipped_export is not :, use a linker
10080 # script.
10081
10082 # Save the value of $output and $libobjs because we want to
10083 # use them later. If we have whole_archive_flag_spec, we
10084 # want to use save_libobjs as it was before
10085 # whole_archive_flag_spec was expanded, because we can't
10086 # assume the linker understands whole_archive_flag_spec.
10087 # This may have to be revisited, in case too many
10088 # convenience libraries get linked in and end up exceeding
10089 # the spec.
10090 if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
10091 save_libobjs=$libobjs
10092 fi
10093 save_output=$output
10094 func_basename "$output"
10095 output_la=$func_basename_result
10096
10097 # Clear the reloadable object creation command queue and
10098 # initialize k to one.
10099 test_cmds=
10100 concat_cmds=
10101 objlist=
10102 last_robj=
10103 k=1
10104
10105 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
10106 output=$output_objdir/$output_la.lnkscript
10107 func_verbose "creating GNU ld script: $output"
10108 echo 'INPUT (' > $output
10109 for obj in $save_libobjs
10110 do
10111 func_to_tool_file "$obj"
10112 $ECHO "$func_to_tool_file_result" >> $output
10113 done
10114 echo ')' >> $output
10115 func_append delfiles " $output"
10116 func_to_tool_file "$output"
10117 output=$func_to_tool_file_result
10118 elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
10119 output=$output_objdir/$output_la.lnk
10120 func_verbose "creating linker input file list: $output"
10121 : > $output
10122 set x $save_libobjs
10123 shift
10124 firstobj=
10125 if test yes = "$compiler_needs_object"; then
10126 firstobj="$1 "
10127 shift
10128 fi
10129 for obj
10130 do
10131 func_to_tool_file "$obj"
10132 $ECHO "$func_to_tool_file_result" >> $output
10133 done
10134 func_append delfiles " $output"
10135 func_to_tool_file "$output"
10136 output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
10137 else
10138 if test -n "$save_libobjs"; then
10139 func_verbose "creating reloadable object files..."
10140 output=$output_objdir/$output_la-$k.$objext
10141 eval test_cmds=\"$reload_cmds\"
10142 func_len " $test_cmds"
10143 len0=$func_len_result
10144 len=$len0
10145
10146 # Loop over the list of objects to be linked.
10147 for obj in $save_libobjs
10148 do
10149 func_len " $obj"
10150 func_arith $len + $func_len_result
10151 len=$func_arith_result
10152 if test -z "$objlist" ||
10153 test "$len" -lt "$max_cmd_len"; then
10154 func_append objlist " $obj"
10155 else
10156 # The command $test_cmds is almost too long, add a
10157 # command to the queue.
10158 if test 1 -eq "$k"; then
10159 # The first file doesn't have a previous command to add.
10160 reload_objs=$objlist
10161 eval concat_cmds=\"$reload_cmds\"
10162 else
10163 # All subsequent reloadable object files will link in
10164 # the last one created.
10165 reload_objs="$objlist $last_robj"
10166 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
10167 fi
10168 last_robj=$output_objdir/$output_la-$k.$objext
10169 func_arith $k + 1
10170 k=$func_arith_result
10171 output=$output_objdir/$output_la-$k.$objext
10172 objlist=" $obj"
10173 func_len " $last_robj"
10174 func_arith $len0 + $func_len_result
10175 len=$func_arith_result
10176 fi
10177 done
10178 # Handle the remaining objects by creating one last
10179 # reloadable object file. All subsequent reloadable object
10180 # files will link in the last one created.
10181 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
10182 reload_objs="$objlist $last_robj"
10183 eval concat_cmds=\"\$concat_cmds$reload_cmds\"
10184 if test -n "$last_robj"; then
10185 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
10186 fi
10187 func_append delfiles " $output"
10188
10189 else
10190 output=
10191 fi
10192
10193 ${skipped_export-false} && {
10194 func_verbose "generating symbol list for '$libname.la'"
10195 export_symbols=$output_objdir/$libname.exp
10196 $opt_dry_run || $RM $export_symbols
10197 libobjs=$output
10198 # Append the command to create the export file.
10199 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
10200 eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
10201 if test -n "$last_robj"; then
10202 eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
10203 fi
10204 }
10205
10206 test -n "$save_libobjs" &&
10207 func_verbose "creating a temporary reloadable object file: $output"
10208
10209 # Loop through the commands generated above and execute them.
10210 save_ifs=$IFS; IFS='~'
10211 for cmd in $concat_cmds; do
10212 IFS=$save_ifs
10213 $opt_quiet || {
10214 func_quote_arg expand,pretty "$cmd"
10215 eval "func_echo $func_quote_arg_result"
10216 }
10217 $opt_dry_run || eval "$cmd" || {
10218 lt_exit=$?
10219
10220 # Restore the uninstalled library and exit
10221 if test relink = "$opt_mode"; then
10222 ( cd "$output_objdir" && \
10223 $RM "${realname}T" && \
10224 $MV "${realname}U" "$realname" )
10225 fi
10226
10227 exit $lt_exit
10228 }
10229 done
10230 IFS=$save_ifs
10231
10232 if test -n "$export_symbols_regex" && ${skipped_export-false}; then
10233 func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
10234 func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
10235 fi
10236 fi
10237
10238 ${skipped_export-false} && {
10239 if test -n "$export_symbols" && test -n "$include_expsyms"; then
10240 tmp_export_symbols=$export_symbols
10241 test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
10242 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
10243 fi
10244
10245 if test -n "$orig_export_symbols"; then
10246 # The given exports_symbols file has to be filtered, so filter it.
10247 func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
10248 # FIXME: $output_objdir/$libname.filter potentially contains lots of
10249 # 's' commands, which not all seds can handle. GNU sed should be fine
10250 # though. Also, the filter scales superlinearly with the number of
10251 # global variables. join(1) would be nice here, but unfortunately
10252 # isn't a blessed tool.
10253 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
10254 func_append delfiles " $export_symbols $output_objdir/$libname.filter"
10255 export_symbols=$output_objdir/$libname.def
10256 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
10257 fi
10258 }
10259
10260 libobjs=$output
10261 # Restore the value of output.
10262 output=$save_output
10263
10264 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
10265 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
10266 test "X$libobjs" = "X " && libobjs=
10267 fi
10268 # Expand the library linking commands again to reset the
10269 # value of $libobjs for piecewise linking.
10270
10271 # Do each of the archive commands.
10272 if test yes = "$module" && test -n "$module_cmds"; then
10273 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
10274 cmds=$module_expsym_cmds
10275 else
10276 cmds=$module_cmds
10277 fi
10278 else
10279 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
10280 cmds=$archive_expsym_cmds
10281 else
10282 cmds=$archive_cmds
10283 fi
10284 fi
10285 fi
10286
10287 if test -n "$delfiles"; then
10288 # Append the command to remove temporary files to $cmds.
10289 eval cmds=\"\$cmds~\$RM $delfiles\"
10290 fi
10291
10292 # Add any objects from preloaded convenience libraries
10293 if test -n "$dlprefiles"; then
10294 gentop=$output_objdir/${outputname}x
10295 func_append generated " $gentop"
10296
10297 func_extract_archives $gentop $dlprefiles
10298 func_append libobjs " $func_extract_archives_result"
10299 test "X$libobjs" = "X " && libobjs=
10300 fi
10301
10302 save_ifs=$IFS; IFS='~'
10303 for cmd in $cmds; do
10304 IFS=$sp$nl
10305 eval cmd=\"$cmd\"
10306 IFS=$save_ifs
10307 $opt_quiet || {
10308 func_quote_arg expand,pretty "$cmd"
10309 eval "func_echo $func_quote_arg_result"
10310 }
10311 $opt_dry_run || eval "$cmd" || {
10312 lt_exit=$?
10313
10314 # Restore the uninstalled library and exit
10315 if test relink = "$opt_mode"; then
10316 ( cd "$output_objdir" && \
10317 $RM "${realname}T" && \
10318 $MV "${realname}U" "$realname" )
10319 fi
10320
10321 exit $lt_exit
10322 }
10323 done
10324 IFS=$save_ifs
10325
10326 # Restore the uninstalled library and exit
10327 if test relink = "$opt_mode"; then
10328 $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
10329
10330 if test -n "$convenience"; then
10331 if test -z "$whole_archive_flag_spec"; then
10332 func_show_eval '${RM}r "$gentop"'
10333 fi
10334 fi
10335
10336 exit $EXIT_SUCCESS
10337 fi
10338
10339 # Create links to the real library.
10340 for linkname in $linknames; do
10341 if test "$realname" != "$linkname"; then
10342 func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
10343 fi
10344 done
10345
10346 # If -module or -export-dynamic was specified, set the dlname.
10347 if test yes = "$module" || test yes = "$export_dynamic"; then
10348 # On all known operating systems, these are identical.
10349 dlname=$soname
10350 fi
10351 fi
10352 ;;
10353
10354 obj)
10355 if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
10356 func_warning "'-dlopen' is ignored for objects"
10357 fi
10358
10359 case " $deplibs" in
10360 *\ -l* | *\ -L*)
10361 func_warning "'-l' and '-L' are ignored for objects" ;;
10362 esac
10363
10364 test -n "$rpath" && \
10365 func_warning "'-rpath' is ignored for objects"
10366
10367 test -n "$xrpath" && \
10368 func_warning "'-R' is ignored for objects"
10369
10370 test -n "$vinfo" && \
10371 func_warning "'-version-info' is ignored for objects"
10372
10373 test -n "$release" && \
10374 func_warning "'-release' is ignored for objects"
10375
10376 case $output in
10377 *.lo)
10378 test -n "$objs$old_deplibs" && \
10379 func_fatal_error "cannot build library object '$output' from non-libtool objects"
10380
10381 libobj=$output
10382 func_lo2o "$libobj"
10383 obj=$func_lo2o_result
10384 ;;
10385 *)
10386 libobj=
10387 obj=$output
10388 ;;
10389 esac
10390
10391 # Delete the old objects.
10392 $opt_dry_run || $RM $obj $libobj
10393
10394 # Objects from convenience libraries. This assumes
10395 # single-version convenience libraries. Whenever we create
10396 # different ones for PIC/non-PIC, this we'll have to duplicate
10397 # the extraction.
10398 reload_conv_objs=
10399 gentop=
10400 # if reload_cmds runs $LD directly, get rid of -Wl from
10401 # whole_archive_flag_spec and hope we can get by with turning comma
10402 # into space.
10403 case $reload_cmds in
10404 *\$LD[\ \$]*) wl= ;;
10405 esac
10406 if test -n "$convenience"; then
10407 if test -n "$whole_archive_flag_spec"; then
10408 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
10409 test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
10410 reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
10411 else
10412 gentop=$output_objdir/${obj}x
10413 func_append generated " $gentop"
10414
10415 func_extract_archives $gentop $convenience
10416 reload_conv_objs="$reload_objs $func_extract_archives_result"
10417 fi
10418 fi
10419
10420 # If we're not building shared, we need to use non_pic_objs
10421 test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
10422
10423 # Create the old-style object.
10424 reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
10425
10426 output=$obj
10427 func_execute_cmds "$reload_cmds" 'exit $?'
10428
10429 # Exit if we aren't doing a library object file.
10430 if test -z "$libobj"; then
10431 if test -n "$gentop"; then
10432 func_show_eval '${RM}r "$gentop"'
10433 fi
10434
10435 exit $EXIT_SUCCESS
10436 fi
10437
10438 test yes = "$build_libtool_libs" || {
10439 if test -n "$gentop"; then
10440 func_show_eval '${RM}r "$gentop"'
10441 fi
10442
10443 # Create an invalid libtool object if no PIC, so that we don't
10444 # accidentally link it into a program.
10445 # $show "echo timestamp > $libobj"
10446 # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
10447 exit $EXIT_SUCCESS
10448 }
10449
10450 if test -n "$pic_flag" || test default != "$pic_mode"; then
10451 # Only do commands if we really have different PIC objects.
10452 reload_objs="$libobjs $reload_conv_objs"
10453 output=$libobj
10454 func_execute_cmds "$reload_cmds" 'exit $?'
10455 fi
10456
10457 if test -n "$gentop"; then
10458 func_show_eval '${RM}r "$gentop"'
10459 fi
10460
10461 exit $EXIT_SUCCESS
10462 ;;
10463
10464 prog)
10465 case $host in
10466 *cygwin*) func_stripname '' '.exe' "$output"
10467 output=$func_stripname_result.exe;;
10468 esac
10469 test -n "$vinfo" && \
10470 func_warning "'-version-info' is ignored for programs"
10471
10472 test -n "$release" && \
10473 func_warning "'-release' is ignored for programs"
10474
10475 $preload \
10476 && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
10477 && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
10478
10479 case $host in
10480 *-*-rhapsody* | *-*-darwin1.[012])
10481 # On Rhapsody replace the C library is the System framework
10482 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
10483 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
10484 ;;
10485 esac
10486
10487 case $host in
10488 *-*-darwin*)
10489 # Don't allow lazy linking, it breaks C++ global constructors
10490 # But is supposedly fixed on 10.4 or later (yay!).
10491 if test CXX = "$tagname"; then
10492 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
10493 10.[0123])
10494 func_append compile_command " $wl-bind_at_load"
10495 func_append finalize_command " $wl-bind_at_load"
10496 ;;
10497 esac
10498 fi
10499 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
10500 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
10501 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
10502 ;;
10503 esac
10504
10505
10506 # move library search paths that coincide with paths to not yet
10507 # installed libraries to the beginning of the library search list
10508 new_libs=
10509 for path in $notinst_path; do
10510 case " $new_libs " in
10511 *" -L$path/$objdir "*) ;;
10512 *)
10513 case " $compile_deplibs " in
10514 *" -L$path/$objdir "*)
10515 func_append new_libs " -L$path/$objdir" ;;
10516 esac
10517 ;;
10518 esac
10519 done
10520 for deplib in $compile_deplibs; do
10521 case $deplib in
10522 -L*)
10523 case " $new_libs " in
10524 *" $deplib "*) ;;
10525 *) func_append new_libs " $deplib" ;;
10526 esac
10527 ;;
10528 *) func_append new_libs " $deplib" ;;
10529 esac
10530 done
10531 compile_deplibs=$new_libs
10532
10533
10534 func_append compile_command " $compile_deplibs"
10535 func_append finalize_command " $finalize_deplibs"
10536
10537 if test -n "$rpath$xrpath"; then
10538 # If the user specified any rpath flags, then add them.
10539 for libdir in $rpath $xrpath; do
10540 # This is the magic to use -rpath.
10541 case "$finalize_rpath " in
10542 *" $libdir "*) ;;
10543 *) func_append finalize_rpath " $libdir" ;;
10544 esac
10545 done
10546 fi
10547
10548 # Now hardcode the library paths
10549 rpath=
10550 hardcode_libdirs=
10551 for libdir in $compile_rpath $finalize_rpath; do
10552 if test -n "$hardcode_libdir_flag_spec"; then
10553 if test -n "$hardcode_libdir_separator"; then
10554 if test -z "$hardcode_libdirs"; then
10555 hardcode_libdirs=$libdir
10556 else
10557 # Just accumulate the unique libdirs.
10558 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
10559 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
10560 ;;
10561 *)
10562 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
10563 ;;
10564 esac
10565 fi
10566 else
10567 eval flag=\"$hardcode_libdir_flag_spec\"
10568 func_append rpath " $flag"
10569 fi
10570 elif test -n "$runpath_var"; then
10571 case "$perm_rpath " in
10572 *" $libdir "*) ;;
10573 *) func_append perm_rpath " $libdir" ;;
10574 esac
10575 fi
10576 case $host in
10577 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
10578 testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
10579 case :$dllsearchpath: in
10580 *":$libdir:"*) ;;
10581 ::) dllsearchpath=$libdir;;
10582 *) func_append dllsearchpath ":$libdir";;
10583 esac
10584 case :$dllsearchpath: in
10585 *":$testbindir:"*) ;;
10586 ::) dllsearchpath=$testbindir;;
10587 *) func_append dllsearchpath ":$testbindir";;
10588 esac
10589 ;;
10590 esac
10591 done
10592 # Substitute the hardcoded libdirs into the rpath.
10593 if test -n "$hardcode_libdir_separator" &&
10594 test -n "$hardcode_libdirs"; then
10595 libdir=$hardcode_libdirs
10596 eval rpath=\" $hardcode_libdir_flag_spec\"
10597 fi
10598 compile_rpath=$rpath
10599
10600 rpath=
10601 hardcode_libdirs=
10602 for libdir in $finalize_rpath; do
10603 if test -n "$hardcode_libdir_flag_spec"; then
10604 if test -n "$hardcode_libdir_separator"; then
10605 if test -z "$hardcode_libdirs"; then
10606 hardcode_libdirs=$libdir
10607 else
10608 # Just accumulate the unique libdirs.
10609 case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
10610 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
10611 ;;
10612 *)
10613 func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
10614 ;;
10615 esac
10616 fi
10617 else
10618 eval flag=\"$hardcode_libdir_flag_spec\"
10619 func_append rpath " $flag"
10620 fi
10621 elif test -n "$runpath_var"; then
10622 case "$finalize_perm_rpath " in
10623 *" $libdir "*) ;;
10624 *) func_append finalize_perm_rpath " $libdir" ;;
10625 esac
10626 fi
10627 done
10628 # Substitute the hardcoded libdirs into the rpath.
10629 if test -n "$hardcode_libdir_separator" &&
10630 test -n "$hardcode_libdirs"; then
10631 libdir=$hardcode_libdirs
10632 eval rpath=\" $hardcode_libdir_flag_spec\"
10633 fi
10634 finalize_rpath=$rpath
10635
10636 if test -n "$libobjs" && test yes = "$build_old_libs"; then
10637 # Transform all the library objects into standard objects.
10638 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
10639 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
10640 fi
10641
10642 func_generate_dlsyms "$outputname" "@PROGRAM@" false
10643
10644 # template prelinking step
10645 if test -n "$prelink_cmds"; then
10646 func_execute_cmds "$prelink_cmds" 'exit $?'
10647 fi
10648
10649 wrappers_required=:
10650 case $host in
10651 *cegcc* | *mingw32ce*)
10652 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
10653 wrappers_required=false
10654 ;;
10655 *cygwin* | *mingw* )
10656 test yes = "$build_libtool_libs" || wrappers_required=false
10657 ;;
10658 *)
10659 if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
10660 wrappers_required=false
10661 fi
10662 ;;
10663 esac
10664 $wrappers_required || {
10665 # Replace the output file specification.
10666 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
10667 link_command=$compile_command$compile_rpath
10668
10669 # We have no uninstalled library dependencies, so finalize right now.
10670 exit_status=0
10671 func_show_eval "$link_command" 'exit_status=$?'
10672
10673 if test -n "$postlink_cmds"; then
10674 func_to_tool_file "$output"
10675 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10676 func_execute_cmds "$postlink_cmds" 'exit $?'
10677 fi
10678
10679 # Delete the generated files.
10680 if test -f "$output_objdir/${outputname}S.$objext"; then
10681 func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
10682 fi
10683
10684 exit $exit_status
10685 }
10686
10687 if test -n "$compile_shlibpath$finalize_shlibpath"; then
10688 compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
10689 fi
10690 if test -n "$finalize_shlibpath"; then
10691 finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
10692 fi
10693
10694 compile_var=
10695 finalize_var=
10696 if test -n "$runpath_var"; then
10697 if test -n "$perm_rpath"; then
10698 # We should set the runpath_var.
10699 rpath=
10700 for dir in $perm_rpath; do
10701 func_append rpath "$dir:"
10702 done
10703 compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
10704 fi
10705 if test -n "$finalize_perm_rpath"; then
10706 # We should set the runpath_var.
10707 rpath=
10708 for dir in $finalize_perm_rpath; do
10709 func_append rpath "$dir:"
10710 done
10711 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
10712 fi
10713 fi
10714
10715 if test yes = "$no_install"; then
10716 # We don't need to create a wrapper script.
10717 link_command=$compile_var$compile_command$compile_rpath
10718 # Replace the output file specification.
10719 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
10720 # Delete the old output file.
10721 $opt_dry_run || $RM $output
10722 # Link the executable and exit
10723 func_show_eval "$link_command" 'exit $?'
10724
10725 if test -n "$postlink_cmds"; then
10726 func_to_tool_file "$output"
10727 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10728 func_execute_cmds "$postlink_cmds" 'exit $?'
10729 fi
10730
10731 exit $EXIT_SUCCESS
10732 fi
10733
10734 case $hardcode_action,$fast_install in
10735 relink,*)
10736 # Fast installation is not supported
10737 link_command=$compile_var$compile_command$compile_rpath
10738 relink_command=$finalize_var$finalize_command$finalize_rpath
10739
10740 func_warning "this platform does not like uninstalled shared libraries"
10741 func_warning "'$output' will be relinked during installation"
10742 ;;
10743 *,yes)
10744 link_command=$finalize_var$compile_command$finalize_rpath
10745 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
10746 ;;
10747 *,no)
10748 link_command=$compile_var$compile_command$compile_rpath
10749 relink_command=$finalize_var$finalize_command$finalize_rpath
10750 ;;
10751 *,needless)
10752 link_command=$finalize_var$compile_command$finalize_rpath
10753 relink_command=
10754 ;;
10755 esac
10756
10757 # Replace the output file specification.
10758 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
10759
10760 # Delete the old output files.
10761 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
10762
10763 func_show_eval "$link_command" 'exit $?'
10764
10765 if test -n "$postlink_cmds"; then
10766 func_to_tool_file "$output_objdir/$outputname"
10767 postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
10768 func_execute_cmds "$postlink_cmds" 'exit $?'
10769 fi
10770
10771 # Now create the wrapper script.
10772 func_verbose "creating $output"
10773
10774 # Quote the relink command for shipping.
10775 if test -n "$relink_command"; then
10776 # Preserve any variables that may affect compiler behavior
10777 for var in $variables_saved_for_relink; do
10778 if eval test -z \"\${$var+set}\"; then
10779 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
10780 elif eval var_value=\$$var; test -z "$var_value"; then
10781 relink_command="$var=; export $var; $relink_command"
10782 else
10783 func_quote_arg pretty "$var_value"
10784 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
10785 fi
10786 done
10787 func_quote eval cd "`pwd`"
10788 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
10789 relink_command=$func_quote_arg_unquoted_result
10790 fi
10791
10792 # Only actually do things if not in dry run mode.
10793 $opt_dry_run || {
10794 # win32 will think the script is a binary if it has
10795 # a .exe suffix, so we strip it off here.
10796 case $output in
10797 *.exe) func_stripname '' '.exe' "$output"
10798 output=$func_stripname_result ;;
10799 esac
10800 # test for cygwin because mv fails w/o .exe extensions
10801 case $host in
10802 *cygwin*)
10803 exeext=.exe
10804 func_stripname '' '.exe' "$outputname"
10805 outputname=$func_stripname_result ;;
10806 *) exeext= ;;
10807 esac
10808 case $host in
10809 *cygwin* | *mingw* )
10810 func_dirname_and_basename "$output" "" "."
10811 output_name=$func_basename_result
10812 output_path=$func_dirname_result
10813 cwrappersource=$output_path/$objdir/lt-$output_name.c
10814 cwrapper=$output_path/$output_name.exe
10815 $RM $cwrappersource $cwrapper
10816 trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
10817
10818 func_emit_cwrapperexe_src > $cwrappersource
10819
10820 # The wrapper executable is built using the $host compiler,
10821 # because it contains $host paths and files. If cross-
10822 # compiling, it, like the target executable, must be
10823 # executed on the $host or under an emulation environment.
10824 $opt_dry_run || {
10825 $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
10826 $STRIP $cwrapper
10827 }
10828
10829 # Now, create the wrapper script for func_source use:
10830 func_ltwrapper_scriptname $cwrapper
10831 $RM $func_ltwrapper_scriptname_result
10832 trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
10833 $opt_dry_run || {
10834 # note: this script will not be executed, so do not chmod.
10835 if test "x$build" = "x$host"; then
10836 $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
10837 else
10838 func_emit_wrapper no > $func_ltwrapper_scriptname_result
10839 fi
10840 }
10841 ;;
10842 * )
10843 $RM $output
10844 trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
10845
10846 func_emit_wrapper no > $output
10847 chmod +x $output
10848 ;;
10849 esac
10850 }
10851 exit $EXIT_SUCCESS
10852 ;;
10853 esac
10854
10855 # See if we need to build an old-fashioned archive.
10856 for oldlib in $oldlibs; do
10857
10858 case $build_libtool_libs in
10859 convenience)
10860 oldobjs="$libobjs_save $symfileobj"
10861 addlibs=$convenience
10862 build_libtool_libs=no
10863 ;;
10864 module)
10865 oldobjs=$libobjs_save
10866 addlibs=$old_convenience
10867 build_libtool_libs=no
10868 ;;
10869 *)
10870 oldobjs="$old_deplibs $non_pic_objects"
10871 $preload && test -f "$symfileobj" \
10872 && func_append oldobjs " $symfileobj"
10873 addlibs=$old_convenience
10874 ;;
10875 esac
10876
10877 if test -n "$addlibs"; then
10878 gentop=$output_objdir/${outputname}x
10879 func_append generated " $gentop"
10880
10881 func_extract_archives $gentop $addlibs
10882 func_append oldobjs " $func_extract_archives_result"
10883 fi
10884
10885 # Do each command in the archive commands.
10886 if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
10887 cmds=$old_archive_from_new_cmds
10888 else
10889
10890 # Add any objects from preloaded convenience libraries
10891 if test -n "$dlprefiles"; then
10892 gentop=$output_objdir/${outputname}x
10893 func_append generated " $gentop"
10894
10895 func_extract_archives $gentop $dlprefiles
10896 func_append oldobjs " $func_extract_archives_result"
10897 fi
10898
10899 # POSIX demands no paths to be encoded in archives. We have
10900 # to avoid creating archives with duplicate basenames if we
10901 # might have to extract them afterwards, e.g., when creating a
10902 # static archive out of a convenience library, or when linking
10903 # the entirety of a libtool archive into another (currently
10904 # not supported by libtool).
10905 if (for obj in $oldobjs
10906 do
10907 func_basename "$obj"
10908 $ECHO "$func_basename_result"
10909 done | sort | sort -uc >/dev/null 2>&1); then
10910 :
10911 else
10912 echo "copying selected object files to avoid basename conflicts..."
10913 gentop=$output_objdir/${outputname}x
10914 func_append generated " $gentop"
10915 func_mkdir_p "$gentop"
10916 save_oldobjs=$oldobjs
10917 oldobjs=
10918 counter=1
10919 for obj in $save_oldobjs
10920 do
10921 func_basename "$obj"
10922 objbase=$func_basename_result
10923 case " $oldobjs " in
10924 " ") oldobjs=$obj ;;
10925 *[\ /]"$objbase "*)
10926 while :; do
10927 # Make sure we don't pick an alternate name that also
10928 # overlaps.
10929 newobj=lt$counter-$objbase
10930 func_arith $counter + 1
10931 counter=$func_arith_result
10932 case " $oldobjs " in
10933 *[\ /]"$newobj "*) ;;
10934 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
10935 esac
10936 done
10937 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
10938 func_append oldobjs " $gentop/$newobj"
10939 ;;
10940 *) func_append oldobjs " $obj" ;;
10941 esac
10942 done
10943 fi
10944 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
10945 tool_oldlib=$func_to_tool_file_result
10946 eval cmds=\"$old_archive_cmds\"
10947
10948 func_len " $cmds"
10949 len=$func_len_result
10950 if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
10951 cmds=$old_archive_cmds
10952 elif test -n "$archiver_list_spec"; then
10953 func_verbose "using command file archive linking..."
10954 for obj in $oldobjs
10955 do
10956 func_to_tool_file "$obj"
10957 $ECHO "$func_to_tool_file_result"
10958 done > $output_objdir/$libname.libcmd
10959 func_to_tool_file "$output_objdir/$libname.libcmd"
10960 oldobjs=" $archiver_list_spec$func_to_tool_file_result"
10961 cmds=$old_archive_cmds
10962 else
10963 # the command line is too long to link in one step, link in parts
10964 func_verbose "using piecewise archive linking..."
10965 save_RANLIB=$RANLIB
10966 RANLIB=:
10967 objlist=
10968 concat_cmds=
10969 save_oldobjs=$oldobjs
10970 oldobjs=
10971 # Is there a better way of finding the last object in the list?
10972 for obj in $save_oldobjs
10973 do
10974 last_oldobj=$obj
10975 done
10976 eval test_cmds=\"$old_archive_cmds\"
10977 func_len " $test_cmds"
10978 len0=$func_len_result
10979 len=$len0
10980 for obj in $save_oldobjs
10981 do
10982 func_len " $obj"
10983 func_arith $len + $func_len_result
10984 len=$func_arith_result
10985 func_append objlist " $obj"
10986 if test "$len" -lt "$max_cmd_len"; then
10987 :
10988 else
10989 # the above command should be used before it gets too long
10990 oldobjs=$objlist
10991 if test "$obj" = "$last_oldobj"; then
10992 RANLIB=$save_RANLIB
10993 fi
10994 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
10995 eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
10996 objlist=
10997 len=$len0
10998 fi
10999 done
11000 RANLIB=$save_RANLIB
11001 oldobjs=$objlist
11002 if test -z "$oldobjs"; then
11003 eval cmds=\"\$concat_cmds\"
11004 else
11005 eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
11006 fi
11007 fi
11008 fi
11009 func_execute_cmds "$cmds" 'exit $?'
11010 done
11011
11012 test -n "$generated" && \
11013 func_show_eval "${RM}r$generated"
11014
11015 # Now create the libtool archive.
11016 case $output in
11017 *.la)
11018 old_library=
11019 test yes = "$build_old_libs" && old_library=$libname.$libext
11020 func_verbose "creating $output"
11021
11022 # Preserve any variables that may affect compiler behavior
11023 for var in $variables_saved_for_relink; do
11024 if eval test -z \"\${$var+set}\"; then
11025 relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
11026 elif eval var_value=\$$var; test -z "$var_value"; then
11027 relink_command="$var=; export $var; $relink_command"
11028 else
11029 func_quote_arg pretty,unquoted "$var_value"
11030 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
11031 fi
11032 done
11033 # Quote the link command for shipping.
11034 func_quote eval cd "`pwd`"
11035 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11036 func_quote_arg pretty,unquoted "$relink_command"
11037 relink_command=$func_quote_arg_unquoted_result
11038 if test yes = "$hardcode_automatic"; then
11039 relink_command=
11040 fi
11041
11042 # Only create the output if not a dry run.
11043 $opt_dry_run || {
11044 for installed in no yes; do
11045 if test yes = "$installed"; then
11046 if test -z "$install_libdir"; then
11047 break
11048 fi
11049 output=$output_objdir/${outputname}i
11050 # Replace all uninstalled libtool libraries with the installed ones
11051 newdependency_libs=
11052 for deplib in $dependency_libs; do
11053 case $deplib in
11054 *.la)
11055 func_basename "$deplib"
11056 name=$func_basename_result
11057 func_resolve_sysroot "$deplib"
11058 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
11059 test -z "$libdir" && \
11060 func_fatal_error "'$deplib' is not a valid libtool archive"
11061 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
11062 ;;
11063 -L*)
11064 func_stripname -L '' "$deplib"
11065 func_replace_sysroot "$func_stripname_result"
11066 func_append newdependency_libs " -L$func_replace_sysroot_result"
11067 ;;
11068 -R*)
11069 func_stripname -R '' "$deplib"
11070 func_replace_sysroot "$func_stripname_result"
11071 func_append newdependency_libs " -R$func_replace_sysroot_result"
11072 ;;
11073 *) func_append newdependency_libs " $deplib" ;;
11074 esac
11075 done
11076 dependency_libs=$newdependency_libs
11077 newdlfiles=
11078
11079 for lib in $dlfiles; do
11080 case $lib in
11081 *.la)
11082 func_basename "$lib"
11083 name=$func_basename_result
11084 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
11085 test -z "$libdir" && \
11086 func_fatal_error "'$lib' is not a valid libtool archive"
11087 func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
11088 ;;
11089 *) func_append newdlfiles " $lib" ;;
11090 esac
11091 done
11092 dlfiles=$newdlfiles
11093 newdlprefiles=
11094 for lib in $dlprefiles; do
11095 case $lib in
11096 *.la)
11097 # Only pass preopened files to the pseudo-archive (for
11098 # eventual linking with the app. that links it) if we
11099 # didn't already link the preopened objects directly into
11100 # the library:
11101 func_basename "$lib"
11102 name=$func_basename_result
11103 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
11104 test -z "$libdir" && \
11105 func_fatal_error "'$lib' is not a valid libtool archive"
11106 func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
11107 ;;
11108 esac
11109 done
11110 dlprefiles=$newdlprefiles
11111 else
11112 newdlfiles=
11113 for lib in $dlfiles; do
11114 case $lib in
11115 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
11116 *) abs=`pwd`"/$lib" ;;
11117 esac
11118 func_append newdlfiles " $abs"
11119 done
11120 dlfiles=$newdlfiles
11121 newdlprefiles=
11122 for lib in $dlprefiles; do
11123 case $lib in
11124 [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
11125 *) abs=`pwd`"/$lib" ;;
11126 esac
11127 func_append newdlprefiles " $abs"
11128 done
11129 dlprefiles=$newdlprefiles
11130 fi
11131 $RM $output
11132 # place dlname in correct position for cygwin
11133 # In fact, it would be nice if we could use this code for all target
11134 # systems that can't hard-code library paths into their executables
11135 # and that have no shared library path variable independent of PATH,
11136 # but it turns out we can't easily determine that from inspecting
11137 # libtool variables, so we have to hard-code the OSs to which it
11138 # applies here; at the moment, that means platforms that use the PE
11139 # object format with DLL files. See the long comment at the top of
11140 # tests/bindir.at for full details.
11141 tdlname=$dlname
11142 case $host,$output,$installed,$module,$dlname in
11143 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
11144 # If a -bindir argument was supplied, place the dll there.
11145 if test -n "$bindir"; then
11146 func_relative_path "$install_libdir" "$bindir"
11147 tdlname=$func_relative_path_result/$dlname
11148 else
11149 # Otherwise fall back on heuristic.
11150 tdlname=../bin/$dlname
11151 fi
11152 ;;
11153 esac
11154 $ECHO > $output "\
11155 # $outputname - a libtool library file
11156 # Generated by $PROGRAM (GNU $PACKAGE) $VERSION
11157 #
11158 # Please DO NOT delete this file!
11159 # It is necessary for linking the library.
11160
11161 # The name that we can dlopen(3).
11162 dlname='$tdlname'
11163
11164 # Names of this library.
11165 library_names='$library_names'
11166
11167 # The name of the static archive.
11168 old_library='$old_library'
11169
11170 # Linker flags that cannot go in dependency_libs.
11171 inherited_linker_flags='$new_inherited_linker_flags'
11172
11173 # Libraries that this one depends upon.
11174 dependency_libs='$dependency_libs'
11175
11176 # Names of additional weak libraries provided by this library
11177 weak_library_names='$weak_libs'
11178
11179 # Version information for $libname.
11180 current=$current
11181 age=$age
11182 revision=$revision
11183
11184 # Is this an already installed library?
11185 installed=$installed
11186
11187 # Should we warn about portability when linking against -modules?
11188 shouldnotlink=$module
11189
11190 # Files to dlopen/dlpreopen
11191 dlopen='$dlfiles'
11192 dlpreopen='$dlprefiles'
11193
11194 # Directory that this library needs to be installed in:
11195 libdir='$install_libdir'"
11196 if test no,yes = "$installed,$need_relink"; then
11197 $ECHO >> $output "\
11198 relink_command=\"$relink_command\""
11199 fi
11200 done
11201 }
11202
11203 # Do a symbolic link so that the libtool archive can be found in
11204 # LD_LIBRARY_PATH before the program is installed.
11205 func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
11206 ;;
11207 esac
11208 exit $EXIT_SUCCESS
11209 }
11210
11211 if test link = "$opt_mode" || test relink = "$opt_mode"; then
11212 func_mode_link ${1+"$@"}
11213 fi
11214
11215
11216 # func_mode_uninstall arg...
11217 func_mode_uninstall ()
11218 {
11219 $debug_cmd
11220
11221 RM=$nonopt
11222 files=
11223 rmforce=false
11224 exit_status=0
11225
11226 # This variable tells wrapper scripts just to set variables rather
11227 # than running their programs.
11228 libtool_install_magic=$magic
11229
11230 for arg
11231 do
11232 case $arg in
11233 -f) func_append RM " $arg"; rmforce=: ;;
11234 -*) func_append RM " $arg" ;;
11235 *) func_append files " $arg" ;;
11236 esac
11237 done
11238
11239 test -z "$RM" && \
11240 func_fatal_help "you must specify an RM program"
11241
11242 rmdirs=
11243
11244 for file in $files; do
11245 func_dirname "$file" "" "."
11246 dir=$func_dirname_result
11247 if test . = "$dir"; then
11248 odir=$objdir
11249 else
11250 odir=$dir/$objdir
11251 fi
11252 func_basename "$file"
11253 name=$func_basename_result
11254 test uninstall = "$opt_mode" && odir=$dir
11255
11256 # Remember odir for removal later, being careful to avoid duplicates
11257 if test clean = "$opt_mode"; then
11258 case " $rmdirs " in
11259 *" $odir "*) ;;
11260 *) func_append rmdirs " $odir" ;;
11261 esac
11262 fi
11263
11264 # Don't error if the file doesn't exist and rm -f was used.
11265 if { test -L "$file"; } >/dev/null 2>&1 ||
11266 { test -h "$file"; } >/dev/null 2>&1 ||
11267 test -f "$file"; then
11268 :
11269 elif test -d "$file"; then
11270 exit_status=1
11271 continue
11272 elif $rmforce; then
11273 continue
11274 fi
11275
11276 rmfiles=$file
11277
11278 case $name in
11279 *.la)
11280 # Possibly a libtool archive, so verify it.
11281 if func_lalib_p "$file"; then
11282 func_source $dir/$name
11283
11284 # Delete the libtool libraries and symlinks.
11285 for n in $library_names; do
11286 func_append rmfiles " $odir/$n"
11287 done
11288 test -n "$old_library" && func_append rmfiles " $odir/$old_library"
11289
11290 case $opt_mode in
11291 clean)
11292 case " $library_names " in
11293 *" $dlname "*) ;;
11294 *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
11295 esac
11296 test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
11297 ;;
11298 uninstall)
11299 if test -n "$library_names"; then
11300 # Do each command in the postuninstall commands.
11301 func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
11302 fi
11303
11304 if test -n "$old_library"; then
11305 # Do each command in the old_postuninstall commands.
11306 func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
11307 fi
11308 # FIXME: should reinstall the best remaining shared library.
11309 ;;
11310 esac
11311 fi
11312 ;;
11313
11314 *.lo)
11315 # Possibly a libtool object, so verify it.
11316 if func_lalib_p "$file"; then
11317
11318 # Read the .lo file
11319 func_source $dir/$name
11320
11321 # Add PIC object to the list of files to remove.
11322 if test -n "$pic_object" && test none != "$pic_object"; then
11323 func_append rmfiles " $dir/$pic_object"
11324 fi
11325
11326 # Add non-PIC object to the list of files to remove.
11327 if test -n "$non_pic_object" && test none != "$non_pic_object"; then
11328 func_append rmfiles " $dir/$non_pic_object"
11329 fi
11330 fi
11331 ;;
11332
11333 *)
11334 if test clean = "$opt_mode"; then
11335 noexename=$name
11336 case $file in
11337 *.exe)
11338 func_stripname '' '.exe' "$file"
11339 file=$func_stripname_result
11340 func_stripname '' '.exe' "$name"
11341 noexename=$func_stripname_result
11342 # $file with .exe has already been added to rmfiles,
11343 # add $file without .exe
11344 func_append rmfiles " $file"
11345 ;;
11346 esac
11347 # Do a test to see if this is a libtool program.
11348 if func_ltwrapper_p "$file"; then
11349 if func_ltwrapper_executable_p "$file"; then
11350 func_ltwrapper_scriptname "$file"
11351 relink_command=
11352 func_source $func_ltwrapper_scriptname_result
11353 func_append rmfiles " $func_ltwrapper_scriptname_result"
11354 else
11355 relink_command=
11356 func_source $dir/$noexename
11357 fi
11358
11359 # note $name still contains .exe if it was in $file originally
11360 # as does the version of $file that was added into $rmfiles
11361 func_append rmfiles " $odir/$name $odir/${name}S.$objext"
11362 if test yes = "$fast_install" && test -n "$relink_command"; then
11363 func_append rmfiles " $odir/lt-$name"
11364 fi
11365 if test "X$noexename" != "X$name"; then
11366 func_append rmfiles " $odir/lt-$noexename.c"
11367 fi
11368 fi
11369 fi
11370 ;;
11371 esac
11372 func_show_eval "$RM $rmfiles" 'exit_status=1'
11373 done
11374
11375 # Try to remove the $objdir's in the directories where we deleted files
11376 for dir in $rmdirs; do
11377 if test -d "$dir"; then
11378 func_show_eval "rmdir $dir >/dev/null 2>&1"
11379 fi
11380 done
11381
11382 exit $exit_status
11383 }
11384
11385 if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
11386 func_mode_uninstall ${1+"$@"}
11387 fi
11388
11389 test -z "$opt_mode" && {
11390 help=$generic_help
11391 func_fatal_help "you must specify a MODE"
11392 }
11393
11394 test -z "$exec_cmd" && \
11395 func_fatal_help "invalid operation mode '$opt_mode'"
11396
11397 if test -n "$exec_cmd"; then
11398 eval exec "$exec_cmd"
11399 exit $EXIT_FAILURE
11400 fi
11401
11402 exit $exit_status
11403
11404
11405 # The TAGs below are defined such that we never get into a situation
11406 # where we disable both kinds of libraries. Given conflicting
11407 # choices, we go for a static library, that is the most portable,
11408 # since we can't tell whether shared libraries were disabled because
11409 # the user asked for that or because the platform doesn't support
11410 # them. This is particularly important on AIX, because we don't
11411 # support having both static and shared libraries enabled at the same
11412 # time on that platform, so we default to a shared-only configuration.
11413 # If a disable-shared tag is given, we'll fallback to a static-only
11414 # configuration. But we'll never go from static-only to shared-only.
11415
11416 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
11417 build_libtool_libs=no
11418 build_old_libs=yes
11419 # ### END LIBTOOL TAG CONFIG: disable-shared
11420
11421 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
11422 build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
11423 # ### END LIBTOOL TAG CONFIG: disable-static
11424
11425 # Local Variables:
11426 # mode:shell-script
11427 # sh-indentation:2
11428 # End:
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com>
21 #
22
23
24
25 VPATH = @srcdir@
26 am__is_gnu_make = { \
27 if test -z '$(MAKELEVEL)'; then \
28 false; \
29 elif test -n '$(MAKE_HOST)'; then \
30 true; \
31 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
32 true; \
33 else \
34 false; \
35 fi; \
36 }
37 am__make_running_with_option = \
38 case $${target_option-} in \
39 ?) ;; \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
42 exit 1;; \
43 esac; \
44 has_opt=no; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
48 else \
49 case $$MAKEFLAGS in \
50 *\\[\ \ ]*) \
51 bs=\\; \
52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
54 esac; \
55 fi; \
56 skip_next=no; \
57 strip_trailopt () \
58 { \
59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 }; \
61 for flg in $$sane_makeflags; do \
62 test $$skip_next = yes && { skip_next=no; continue; }; \
63 case $$flg in \
64 *=*|--*) continue;; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
73 esac; \
74 case $$flg in \
75 *$$target_option*) has_opt=yes; break;; \
76 esac; \
77 done; \
78 test $$has_opt = yes
79 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
81 pkgdatadir = $(datadir)/@PACKAGE@
82 pkgincludedir = $(includedir)/@PACKAGE@
83 pkglibdir = $(libdir)/@PACKAGE@
84 pkglibexecdir = $(libexecdir)/@PACKAGE@
85 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
86 install_sh_DATA = $(install_sh) -c -m 644
87 install_sh_PROGRAM = $(install_sh) -c
88 install_sh_SCRIPT = $(install_sh) -c
89 INSTALL_HEADER = $(INSTALL_DATA)
90 transform = $(program_transform_name)
91 NORMAL_INSTALL = :
92 PRE_INSTALL = :
93 POST_INSTALL = :
94 NORMAL_UNINSTALL = :
95 PRE_UNINSTALL = :
96 POST_UNINSTALL = :
97 build_triplet = @build@
98 host_triplet = @host@
99 TESTS = test-lua-plugin$(EXEEXT)
100 noinst_PROGRAMS = lua-ext-console$(EXEEXT) $(am__EXEEXT_1)
101 subdir = lua
102 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
103 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
104 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
105 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
106 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
107 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
108 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
109 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
110 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
111 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
112 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
113 $(ACLOCAL_M4)
114 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
115 mkinstalldirs = $(install_sh) -d
116 CONFIG_HEADER = $(top_builddir)/config.h
117 CONFIG_CLEAN_FILES =
118 CONFIG_CLEAN_VPATH_FILES =
119 am__EXEEXT_1 = test-lua-plugin$(EXEEXT)
120 PROGRAMS = $(noinst_PROGRAMS)
121 LTLIBRARIES = $(noinst_LTLIBRARIES)
122 libpylua_la_DEPENDENCIES =
123 am_libpylua_la_OBJECTS = libpylua_la-lua-plugin.lo \
124 libpylua_la-lua-plugin-init.lo libpylua_la-lmyoslib.lo
125 libpylua_la_OBJECTS = $(am_libpylua_la_OBJECTS)
126 AM_V_lt = $(am__v_lt_@AM_V@)
127 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
128 am__v_lt_0 = --silent
129 am__v_lt_1 =
130 libpylua_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
131 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libpylua_la_CFLAGS) \
132 $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
133 am_lua_ext_console_OBJECTS = \
134 lua_ext_console-lua-ext-console.$(OBJEXT)
135 lua_ext_console_OBJECTS = $(am_lua_ext_console_OBJECTS)
136 lua_ext_console_DEPENDENCIES = libpylua.la
137 lua_ext_console_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
138 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
139 $(lua_ext_console_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
140 -o $@
141 am_test_lua_plugin_OBJECTS = \
142 test_lua_plugin-test-lua-plugin.$(OBJEXT)
143 test_lua_plugin_OBJECTS = $(am_test_lua_plugin_OBJECTS)
144 test_lua_plugin_DEPENDENCIES = libpylua.la
145 test_lua_plugin_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
146 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
147 $(test_lua_plugin_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
148 -o $@
149 AM_V_P = $(am__v_P_@AM_V@)
150 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
151 am__v_P_0 = false
152 am__v_P_1 = :
153 AM_V_GEN = $(am__v_GEN_@AM_V@)
154 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
155 am__v_GEN_0 = @echo " GEN " $@;
156 am__v_GEN_1 =
157 AM_V_at = $(am__v_at_@AM_V@)
158 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
159 am__v_at_0 = @
160 am__v_at_1 =
161 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
162 depcomp = $(SHELL) $(top_srcdir)/depcomp
163 am__maybe_remake_depfiles = depfiles
164 am__depfiles_remade = ./$(DEPDIR)/libpylua_la-lmyoslib.Plo \
165 ./$(DEPDIR)/libpylua_la-lua-plugin-init.Plo \
166 ./$(DEPDIR)/libpylua_la-lua-plugin.Plo \
167 ./$(DEPDIR)/lua_ext_console-lua-ext-console.Po \
168 ./$(DEPDIR)/test_lua_plugin-test-lua-plugin.Po
169 am__mv = mv -f
170 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
171 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
172 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
173 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
174 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
175 $(AM_CFLAGS) $(CFLAGS)
176 AM_V_CC = $(am__v_CC_@AM_V@)
177 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
178 am__v_CC_0 = @echo " CC " $@;
179 am__v_CC_1 =
180 CCLD = $(CC)
181 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
182 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
183 $(AM_LDFLAGS) $(LDFLAGS) -o $@
184 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
185 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
186 am__v_CCLD_0 = @echo " CCLD " $@;
187 am__v_CCLD_1 =
188 SOURCES = $(libpylua_la_SOURCES) $(lua_ext_console_SOURCES) \
189 $(test_lua_plugin_SOURCES)
190 DIST_SOURCES = $(libpylua_la_SOURCES) $(lua_ext_console_SOURCES) \
191 $(test_lua_plugin_SOURCES)
192 am__can_run_installinfo = \
193 case $$AM_UPDATE_INFO_DIR in \
194 n|no|NO) false;; \
195 *) (install-info --version) >/dev/null 2>&1;; \
196 esac
197 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
198 am__vpath_adj = case $$p in \
199 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
200 *) f=$$p;; \
201 esac;
202 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
203 am__install_max = 40
204 am__nobase_strip_setup = \
205 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
206 am__nobase_strip = \
207 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
208 am__nobase_list = $(am__nobase_strip_setup); \
209 for p in $$list; do echo "$$p $$p"; done | \
210 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
211 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
212 if (++n[$$2] == $(am__install_max)) \
213 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
214 END { for (dir in files) print dir, files[dir] }'
215 am__base_list = \
216 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
217 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
218 am__uninstall_files_from_dir = { \
219 test -z "$$files" \
220 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
221 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
222 $(am__cd) "$$dir" && rm -f $$files; }; \
223 }
224 am__installdirs = "$(DESTDIR)$(lua_scriptdir)"
225 DATA = $(lua_script_DATA)
226 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
227 # Read a list of newline-separated strings from the standard input,
228 # and print each of them once, without duplicates. Input order is
229 # *not* preserved.
230 am__uniquify_input = $(AWK) '\
231 BEGIN { nonempty = 0; } \
232 { items[$$0] = 1; nonempty = 1; } \
233 END { if (nonempty) { for (i in items) print i; }; } \
234 '
235 # Make sure the list of sources is unique. This is necessary because,
236 # e.g., the same source file might be shared among _SOURCES variables
237 # for different programs/libraries.
238 am__define_uniq_tagged_files = \
239 list='$(am__tagged_files)'; \
240 unique=`for i in $$list; do \
241 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
242 done | $(am__uniquify_input)`
243 am__tty_colors_dummy = \
244 mgn= red= grn= lgn= blu= brg= std=; \
245 am__color_tests=no
246 am__tty_colors = { \
247 $(am__tty_colors_dummy); \
248 if test "X$(AM_COLOR_TESTS)" = Xno; then \
249 am__color_tests=no; \
250 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
251 am__color_tests=yes; \
252 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
253 am__color_tests=yes; \
254 fi; \
255 if test $$am__color_tests = yes; then \
256 red=''; \
257 grn=''; \
258 lgn=''; \
259 blu=''; \
260 mgn=''; \
261 brg=''; \
262 std=''; \
263 fi; \
264 }
265 am__recheck_rx = ^[ ]*:recheck:[ ]*
266 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
267 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
268 # A command that, given a newline-separated list of test names on the
269 # standard input, print the name of the tests that are to be re-run
270 # upon "make recheck".
271 am__list_recheck_tests = $(AWK) '{ \
272 recheck = 1; \
273 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
274 { \
275 if (rc < 0) \
276 { \
277 if ((getline line2 < ($$0 ".log")) < 0) \
278 recheck = 0; \
279 break; \
280 } \
281 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
282 { \
283 recheck = 0; \
284 break; \
285 } \
286 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
287 { \
288 break; \
289 } \
290 }; \
291 if (recheck) \
292 print $$0; \
293 close ($$0 ".trs"); \
294 close ($$0 ".log"); \
295 }'
296 # A command that, given a newline-separated list of test names on the
297 # standard input, create the global log from their .trs and .log files.
298 am__create_global_log = $(AWK) ' \
299 function fatal(msg) \
300 { \
301 print "fatal: making $@: " msg | "cat >&2"; \
302 exit 1; \
303 } \
304 function rst_section(header) \
305 { \
306 print header; \
307 len = length(header); \
308 for (i = 1; i <= len; i = i + 1) \
309 printf "="; \
310 printf "\n\n"; \
311 } \
312 { \
313 copy_in_global_log = 1; \
314 global_test_result = "RUN"; \
315 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
316 { \
317 if (rc < 0) \
318 fatal("failed to read from " $$0 ".trs"); \
319 if (line ~ /$(am__global_test_result_rx)/) \
320 { \
321 sub("$(am__global_test_result_rx)", "", line); \
322 sub("[ ]*$$", "", line); \
323 global_test_result = line; \
324 } \
325 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
326 copy_in_global_log = 0; \
327 }; \
328 if (copy_in_global_log) \
329 { \
330 rst_section(global_test_result ": " $$0); \
331 while ((rc = (getline line < ($$0 ".log"))) != 0) \
332 { \
333 if (rc < 0) \
334 fatal("failed to read from " $$0 ".log"); \
335 print line; \
336 }; \
337 printf "\n"; \
338 }; \
339 close ($$0 ".trs"); \
340 close ($$0 ".log"); \
341 }'
342 # Restructured Text title.
343 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
344 # Solaris 10 'make', and several other traditional 'make' implementations,
345 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
346 # by disabling -e (using the XSI extension "set +e") if it's set.
347 am__sh_e_setup = case $$- in *e*) set +e;; esac
348 # Default flags passed to test drivers.
349 am__common_driver_flags = \
350 --color-tests "$$am__color_tests" \
351 --enable-hard-errors "$$am__enable_hard_errors" \
352 --expect-failure "$$am__expect_failure"
353 # To be inserted before the command running the test. Creates the
354 # directory for the log if needed. Stores in $dir the directory
355 # containing $f, in $tst the test, in $log the log. Executes the
356 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
357 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
358 # will run the test scripts (or their associated LOG_COMPILER, if
359 # thy have one).
360 am__check_pre = \
361 $(am__sh_e_setup); \
362 $(am__vpath_adj_setup) $(am__vpath_adj) \
363 $(am__tty_colors); \
364 srcdir=$(srcdir); export srcdir; \
365 case "$@" in \
366 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
367 *) am__odir=.;; \
368 esac; \
369 test "x$$am__odir" = x"." || test -d "$$am__odir" \
370 || $(MKDIR_P) "$$am__odir" || exit $$?; \
371 if test -f "./$$f"; then dir=./; \
372 elif test -f "$$f"; then dir=; \
373 else dir="$(srcdir)/"; fi; \
374 tst=$$dir$$f; log='$@'; \
375 if test -n '$(DISABLE_HARD_ERRORS)'; then \
376 am__enable_hard_errors=no; \
377 else \
378 am__enable_hard_errors=yes; \
379 fi; \
380 case " $(XFAIL_TESTS) " in \
381 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
382 am__expect_failure=yes;; \
383 *) \
384 am__expect_failure=no;; \
385 esac; \
386 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
387 # A shell command to get the names of the tests scripts with any registered
388 # extension removed (i.e., equivalently, the names of the test logs, with
389 # the '.log' extension removed). The result is saved in the shell variable
390 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
391 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
392 # since that might cause problem with VPATH rewrites for suffix-less tests.
393 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
394 am__set_TESTS_bases = \
395 bases='$(TEST_LOGS)'; \
396 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
397 bases=`echo $$bases`
398 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
399 RECHECK_LOGS = $(TEST_LOGS)
400 AM_RECURSIVE_TARGETS = check recheck
401 TEST_SUITE_LOG = test-suite.log
402 TEST_EXTENSIONS = @EXEEXT@ .test
403 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
404 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
405 am__set_b = \
406 case '$@' in \
407 */*) \
408 case '$*' in \
409 */*) b='$*';; \
410 *) b=`echo '$@' | sed 's/\.log$$//'`; \
411 esac;; \
412 *) \
413 b='$*';; \
414 esac
415 am__test_logs1 = $(TESTS:=.log)
416 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
417 TEST_LOGS = $(am__test_logs2:.test.log=.log)
418 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
419 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
420 $(TEST_LOG_FLAGS)
421 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
422 $(top_srcdir)/test-driver
423 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
424 ACLOCAL = @ACLOCAL@
425 AMTAR = @AMTAR@
426 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
427 AR = @AR@
428 AUTOCONF = @AUTOCONF@
429 AUTOHEADER = @AUTOHEADER@
430 AUTOMAKE = @AUTOMAKE@
431 AWK = @AWK@
432 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
433 BOOST_ROOT = @BOOST_ROOT@
434 CC = @CC@
435 CCDEPMODE = @CCDEPMODE@
436 CFLAGS = @CFLAGS@
437 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
438 CPP = @CPP@
439 CPPFLAGS = @CPPFLAGS@
440 CSCOPE = @CSCOPE@
441 CTAGS = @CTAGS@
442 CXX = @CXX@
443 CXXCPP = @CXXCPP@
444 CXXDEPMODE = @CXXDEPMODE@
445 CXXFLAGS = @CXXFLAGS@
446 CYGPATH_W = @CYGPATH_W@
447 DEFS = @DEFS@
448 DEPDIR = @DEPDIR@
449 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
450 DLLTOOL = @DLLTOOL@
451 DSYMUTIL = @DSYMUTIL@
452 DUMPBIN = @DUMPBIN@
453 ECHO_C = @ECHO_C@
454 ECHO_N = @ECHO_N@
455 ECHO_T = @ECHO_T@
456 EGREP = @EGREP@
457 ENV = @ENV@
458 ETAGS = @ETAGS@
459 EXEEXT = @EXEEXT@
460 FGREP = @FGREP@
461 FILECMD = @FILECMD@
462 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
463 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
464 GIO2_CFLAGS = @GIO2_CFLAGS@
465 GIO2_LIBS = @GIO2_LIBS@
466 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
467 GMSGFMT = @GMSGFMT@
468 GMSGFMT_015 = @GMSGFMT_015@
469 GREP = @GREP@
470 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
471 IBUS_CFLAGS = @IBUS_CFLAGS@
472 IBUS_LIBS = @IBUS_LIBS@
473 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
474 INSTALL = @INSTALL@
475 INSTALL_DATA = @INSTALL_DATA@
476 INSTALL_PROGRAM = @INSTALL_PROGRAM@
477 INSTALL_SCRIPT = @INSTALL_SCRIPT@
478 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
479 INTLLIBS = @INTLLIBS@
480 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
481 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
482 JSONGLIB_LIBS = @JSONGLIB_LIBS@
483 LD = @LD@
484 LDFLAGS = @LDFLAGS@
485 LIBICONV = @LIBICONV@
486 LIBINTL = @LIBINTL@
487 LIBOBJS = @LIBOBJS@
488 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
489 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
490 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
491 LIBS = @LIBS@
492 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
493 LIBSOUP_LIBS = @LIBSOUP_LIBS@
494 LIBTOOL = @LIBTOOL@
495 LIPO = @LIPO@
496 LN_S = @LN_S@
497 LTLIBICONV = @LTLIBICONV@
498 LTLIBINTL = @LTLIBINTL@
499 LTLIBOBJS = @LTLIBOBJS@
500 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
501 LUA_CFLAGS = @LUA_CFLAGS@
502 LUA_LIBS = @LUA_LIBS@
503 MAINT = @MAINT@
504 MAKEINFO = @MAKEINFO@
505 MANIFEST_TOOL = @MANIFEST_TOOL@
506 MKDIR_P = @MKDIR_P@
507 MSGFMT = @MSGFMT@
508 MSGFMT_015 = @MSGFMT_015@
509 MSGMERGE = @MSGMERGE@
510 NM = @NM@
511 NMEDIT = @NMEDIT@
512 OBJDUMP = @OBJDUMP@
513 OBJEXT = @OBJEXT@
514 OPENCC_CFLAGS = @OPENCC_CFLAGS@
515 OPENCC_LIBS = @OPENCC_LIBS@
516 OTOOL = @OTOOL@
517 OTOOL64 = @OTOOL64@
518 PACKAGE = @PACKAGE@
519 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
520 PACKAGE_NAME = @PACKAGE_NAME@
521 PACKAGE_STRING = @PACKAGE_STRING@
522 PACKAGE_TARNAME = @PACKAGE_TARNAME@
523 PACKAGE_URL = @PACKAGE_URL@
524 PACKAGE_VERSION = @PACKAGE_VERSION@
525 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
526 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
527 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
528 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
529 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
530 PATH_SEPARATOR = @PATH_SEPARATOR@
531 PKG_CONFIG = @PKG_CONFIG@
532 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
533 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
534 POSUB = @POSUB@
535 PYTHON = @PYTHON@
536 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
537 PYTHON_PLATFORM = @PYTHON_PLATFORM@
538 PYTHON_PREFIX = @PYTHON_PREFIX@
539 PYTHON_VERSION = @PYTHON_VERSION@
540 RANLIB = @RANLIB@
541 SED = @SED@
542 SET_MAKE = @SET_MAKE@
543 SHELL = @SHELL@
544 SQLITE3 = @SQLITE3@
545 SQLITE_CFLAGS = @SQLITE_CFLAGS@
546 SQLITE_LIBS = @SQLITE_LIBS@
547 STRIP = @STRIP@
548 USE_NLS = @USE_NLS@
549 VERSION = @VERSION@
550 XGETTEXT = @XGETTEXT@
551 XGETTEXT_015 = @XGETTEXT_015@
552 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
553 abs_builddir = @abs_builddir@
554 abs_srcdir = @abs_srcdir@
555 abs_top_builddir = @abs_top_builddir@
556 abs_top_srcdir = @abs_top_srcdir@
557 ac_ct_AR = @ac_ct_AR@
558 ac_ct_CC = @ac_ct_CC@
559 ac_ct_CXX = @ac_ct_CXX@
560 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
561 am__include = @am__include@
562 am__leading_dot = @am__leading_dot@
563 am__quote = @am__quote@
564 am__tar = @am__tar@
565 am__untar = @am__untar@
566 bindir = @bindir@
567 build = @build@
568 build_alias = @build_alias@
569 build_cpu = @build_cpu@
570 build_os = @build_os@
571 build_vendor = @build_vendor@
572 builddir = @builddir@
573 datadir = @datadir@
574 datarootdir = @datarootdir@
575 docdir = @docdir@
576 dvidir = @dvidir@
577 exec_prefix = @exec_prefix@
578 gsettingsschemadir = @gsettingsschemadir@
579 host = @host@
580 host_alias = @host_alias@
581 host_cpu = @host_cpu@
582 host_os = @host_os@
583 host_vendor = @host_vendor@
584 htmldir = @htmldir@
585 includedir = @includedir@
586 infodir = @infodir@
587 install_sh = @install_sh@
588 libdir = @libdir@
589 libexecdir = @libexecdir@
590 localedir = @localedir@
591 localstatedir = @localstatedir@
592 mandir = @mandir@
593 mkdir_p = @mkdir_p@
594 oldincludedir = @oldincludedir@
595 pdfdir = @pdfdir@
596 pkgpyexecdir = @pkgpyexecdir@
597 pkgpythondir = @pkgpythondir@
598 prefix = @prefix@
599 program_transform_name = @program_transform_name@
600 psdir = @psdir@
601 pyexecdir = @pyexecdir@
602 pythondir = @pythondir@
603 runstatedir = @runstatedir@
604 sbindir = @sbindir@
605 sharedstatedir = @sharedstatedir@
606 srcdir = @srcdir@
607 sysconfdir = @sysconfdir@
608 target_alias = @target_alias@
609 top_build_prefix = @top_build_prefix@
610 top_builddir = @top_builddir@
611 top_srcdir = @top_srcdir@
612 lua_script_DATA = \
613 base.lua \
614 user.lua \
615 $(NULL)
616
617 lua_scriptdir = $(pkgdatadir)
618 noinst_LTLIBRARIES = \
619 libpylua.la \
620 $(NULL)
621
622 libpylua_la_SOURCES = \
623 lua-plugin.h \
624 lua-plugin.c \
625 lua-plugin-init.c \
626 lmyoslib.c \
627 $(NULL)
628
629 libpylua_la_CFLAGS = \
630 @IBUS_CFLAGS@ \
631 @LUA_CFLAGS@ \
632 $(NULL)
633
634 libpylua_la_LIBADD = \
635 @IBUS_LIBS@ \
636 @LUA_LIBS@ \
637 $(NULL)
638
639 test_lua_plugin_SOURCES = \
640 test-lua-plugin.c \
641 $(NULL)
642
643 test_lua_plugin_CFLAGS = \
644 @IBUS_CFLAGS@ \
645 @LUA_CFLAGS@ \
646 -DLUASCRIPTDIR=\"$(top_srcdir)/lua\" \
647 $(NULL)
648
649 test_lua_plugin_LDADD = \
650 libpylua.la \
651 $(NULL)
652
653 lua_ext_console_SOURCES = \
654 lua-ext-console.c \
655 $(NULL)
656
657 lua_ext_console_CFLAGS = \
658 @IBUS_CFLAGS@ \
659 @LUA_CFLAGS@ \
660 $(NULL)
661
662 lua_ext_console_LDADD = \
663 libpylua.la \
664 $(NULL)
665
666 EXTRA_DIST = \
667 base.lua \
668 user.lua \
669 $(NULL)
670
671 all: all-am
672
673 .SUFFIXES:
674 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
675 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
676 @for dep in $?; do \
677 case '$(am__configure_deps)' in \
678 *$$dep*) \
679 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
680 && { if test -f $@; then exit 0; else break; fi; }; \
681 exit 1;; \
682 esac; \
683 done; \
684 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lua/Makefile'; \
685 $(am__cd) $(top_srcdir) && \
686 $(AUTOMAKE) --gnu lua/Makefile
687 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
688 @case '$?' in \
689 *config.status*) \
690 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
691 *) \
692 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
693 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
694 esac;
695
696 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
697 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
698
699 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
700 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
701 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
702 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
703 $(am__aclocal_m4_deps):
704
705 clean-noinstPROGRAMS:
706 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
707 echo " rm -f" $$list; \
708 rm -f $$list || exit $$?; \
709 test -n "$(EXEEXT)" || exit 0; \
710 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
711 echo " rm -f" $$list; \
712 rm -f $$list
713
714 clean-noinstLTLIBRARIES:
715 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
716 @list='$(noinst_LTLIBRARIES)'; \
717 locs=`for p in $$list; do echo $$p; done | \
718 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
719 sort -u`; \
720 test -z "$$locs" || { \
721 echo rm -f $${locs}; \
722 rm -f $${locs}; \
723 }
724
725 libpylua.la: $(libpylua_la_OBJECTS) $(libpylua_la_DEPENDENCIES) $(EXTRA_libpylua_la_DEPENDENCIES)
726 $(AM_V_CCLD)$(libpylua_la_LINK) $(libpylua_la_OBJECTS) $(libpylua_la_LIBADD) $(LIBS)
727
728 lua-ext-console$(EXEEXT): $(lua_ext_console_OBJECTS) $(lua_ext_console_DEPENDENCIES) $(EXTRA_lua_ext_console_DEPENDENCIES)
729 @rm -f lua-ext-console$(EXEEXT)
730 $(AM_V_CCLD)$(lua_ext_console_LINK) $(lua_ext_console_OBJECTS) $(lua_ext_console_LDADD) $(LIBS)
731
732 test-lua-plugin$(EXEEXT): $(test_lua_plugin_OBJECTS) $(test_lua_plugin_DEPENDENCIES) $(EXTRA_test_lua_plugin_DEPENDENCIES)
733 @rm -f test-lua-plugin$(EXEEXT)
734 $(AM_V_CCLD)$(test_lua_plugin_LINK) $(test_lua_plugin_OBJECTS) $(test_lua_plugin_LDADD) $(LIBS)
735
736 mostlyclean-compile:
737 -rm -f *.$(OBJEXT)
738
739 distclean-compile:
740 -rm -f *.tab.c
741
742 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpylua_la-lmyoslib.Plo@am__quote@ # am--include-marker
743 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpylua_la-lua-plugin-init.Plo@am__quote@ # am--include-marker
744 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpylua_la-lua-plugin.Plo@am__quote@ # am--include-marker
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lua_ext_console-lua-ext-console.Po@am__quote@ # am--include-marker
746 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_lua_plugin-test-lua-plugin.Po@am__quote@ # am--include-marker
747
748 $(am__depfiles_remade):
749 @$(MKDIR_P) $(@D)
750 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
751
752 am--depfiles: $(am__depfiles_remade)
753
754 .c.o:
755 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
756 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
757 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
758 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
759 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
760
761 .c.obj:
762 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
763 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
764 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
765 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
766 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
767
768 .c.lo:
769 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
770 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
771 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
772 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
773 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
774
775 libpylua_la-lua-plugin.lo: lua-plugin.c
776 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -MT libpylua_la-lua-plugin.lo -MD -MP -MF $(DEPDIR)/libpylua_la-lua-plugin.Tpo -c -o libpylua_la-lua-plugin.lo `test -f 'lua-plugin.c' || echo '$(srcdir)/'`lua-plugin.c
777 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpylua_la-lua-plugin.Tpo $(DEPDIR)/libpylua_la-lua-plugin.Plo
778 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lua-plugin.c' object='libpylua_la-lua-plugin.lo' libtool=yes @AMDEPBACKSLASH@
779 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
780 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -c -o libpylua_la-lua-plugin.lo `test -f 'lua-plugin.c' || echo '$(srcdir)/'`lua-plugin.c
781
782 libpylua_la-lua-plugin-init.lo: lua-plugin-init.c
783 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -MT libpylua_la-lua-plugin-init.lo -MD -MP -MF $(DEPDIR)/libpylua_la-lua-plugin-init.Tpo -c -o libpylua_la-lua-plugin-init.lo `test -f 'lua-plugin-init.c' || echo '$(srcdir)/'`lua-plugin-init.c
784 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpylua_la-lua-plugin-init.Tpo $(DEPDIR)/libpylua_la-lua-plugin-init.Plo
785 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lua-plugin-init.c' object='libpylua_la-lua-plugin-init.lo' libtool=yes @AMDEPBACKSLASH@
786 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
787 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -c -o libpylua_la-lua-plugin-init.lo `test -f 'lua-plugin-init.c' || echo '$(srcdir)/'`lua-plugin-init.c
788
789 libpylua_la-lmyoslib.lo: lmyoslib.c
790 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -MT libpylua_la-lmyoslib.lo -MD -MP -MF $(DEPDIR)/libpylua_la-lmyoslib.Tpo -c -o libpylua_la-lmyoslib.lo `test -f 'lmyoslib.c' || echo '$(srcdir)/'`lmyoslib.c
791 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpylua_la-lmyoslib.Tpo $(DEPDIR)/libpylua_la-lmyoslib.Plo
792 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lmyoslib.c' object='libpylua_la-lmyoslib.lo' libtool=yes @AMDEPBACKSLASH@
793 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
794 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libpylua_la_CFLAGS) $(CFLAGS) -c -o libpylua_la-lmyoslib.lo `test -f 'lmyoslib.c' || echo '$(srcdir)/'`lmyoslib.c
795
796 lua_ext_console-lua-ext-console.o: lua-ext-console.c
797 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lua_ext_console_CFLAGS) $(CFLAGS) -MT lua_ext_console-lua-ext-console.o -MD -MP -MF $(DEPDIR)/lua_ext_console-lua-ext-console.Tpo -c -o lua_ext_console-lua-ext-console.o `test -f 'lua-ext-console.c' || echo '$(srcdir)/'`lua-ext-console.c
798 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lua_ext_console-lua-ext-console.Tpo $(DEPDIR)/lua_ext_console-lua-ext-console.Po
799 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lua-ext-console.c' object='lua_ext_console-lua-ext-console.o' libtool=no @AMDEPBACKSLASH@
800 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
801 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lua_ext_console_CFLAGS) $(CFLAGS) -c -o lua_ext_console-lua-ext-console.o `test -f 'lua-ext-console.c' || echo '$(srcdir)/'`lua-ext-console.c
802
803 lua_ext_console-lua-ext-console.obj: lua-ext-console.c
804 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lua_ext_console_CFLAGS) $(CFLAGS) -MT lua_ext_console-lua-ext-console.obj -MD -MP -MF $(DEPDIR)/lua_ext_console-lua-ext-console.Tpo -c -o lua_ext_console-lua-ext-console.obj `if test -f 'lua-ext-console.c'; then $(CYGPATH_W) 'lua-ext-console.c'; else $(CYGPATH_W) '$(srcdir)/lua-ext-console.c'; fi`
805 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lua_ext_console-lua-ext-console.Tpo $(DEPDIR)/lua_ext_console-lua-ext-console.Po
806 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lua-ext-console.c' object='lua_ext_console-lua-ext-console.obj' libtool=no @AMDEPBACKSLASH@
807 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
808 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lua_ext_console_CFLAGS) $(CFLAGS) -c -o lua_ext_console-lua-ext-console.obj `if test -f 'lua-ext-console.c'; then $(CYGPATH_W) 'lua-ext-console.c'; else $(CYGPATH_W) '$(srcdir)/lua-ext-console.c'; fi`
809
810 test_lua_plugin-test-lua-plugin.o: test-lua-plugin.c
811 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_lua_plugin_CFLAGS) $(CFLAGS) -MT test_lua_plugin-test-lua-plugin.o -MD -MP -MF $(DEPDIR)/test_lua_plugin-test-lua-plugin.Tpo -c -o test_lua_plugin-test-lua-plugin.o `test -f 'test-lua-plugin.c' || echo '$(srcdir)/'`test-lua-plugin.c
812 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_lua_plugin-test-lua-plugin.Tpo $(DEPDIR)/test_lua_plugin-test-lua-plugin.Po
813 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test-lua-plugin.c' object='test_lua_plugin-test-lua-plugin.o' libtool=no @AMDEPBACKSLASH@
814 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
815 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_lua_plugin_CFLAGS) $(CFLAGS) -c -o test_lua_plugin-test-lua-plugin.o `test -f 'test-lua-plugin.c' || echo '$(srcdir)/'`test-lua-plugin.c
816
817 test_lua_plugin-test-lua-plugin.obj: test-lua-plugin.c
818 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_lua_plugin_CFLAGS) $(CFLAGS) -MT test_lua_plugin-test-lua-plugin.obj -MD -MP -MF $(DEPDIR)/test_lua_plugin-test-lua-plugin.Tpo -c -o test_lua_plugin-test-lua-plugin.obj `if test -f 'test-lua-plugin.c'; then $(CYGPATH_W) 'test-lua-plugin.c'; else $(CYGPATH_W) '$(srcdir)/test-lua-plugin.c'; fi`
819 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_lua_plugin-test-lua-plugin.Tpo $(DEPDIR)/test_lua_plugin-test-lua-plugin.Po
820 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test-lua-plugin.c' object='test_lua_plugin-test-lua-plugin.obj' libtool=no @AMDEPBACKSLASH@
821 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
822 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_lua_plugin_CFLAGS) $(CFLAGS) -c -o test_lua_plugin-test-lua-plugin.obj `if test -f 'test-lua-plugin.c'; then $(CYGPATH_W) 'test-lua-plugin.c'; else $(CYGPATH_W) '$(srcdir)/test-lua-plugin.c'; fi`
823
824 mostlyclean-libtool:
825 -rm -f *.lo
826
827 clean-libtool:
828 -rm -rf .libs _libs
829 install-lua_scriptDATA: $(lua_script_DATA)
830 @$(NORMAL_INSTALL)
831 @list='$(lua_script_DATA)'; test -n "$(lua_scriptdir)" || list=; \
832 if test -n "$$list"; then \
833 echo " $(MKDIR_P) '$(DESTDIR)$(lua_scriptdir)'"; \
834 $(MKDIR_P) "$(DESTDIR)$(lua_scriptdir)" || exit 1; \
835 fi; \
836 for p in $$list; do \
837 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
838 echo "$$d$$p"; \
839 done | $(am__base_list) | \
840 while read files; do \
841 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(lua_scriptdir)'"; \
842 $(INSTALL_DATA) $$files "$(DESTDIR)$(lua_scriptdir)" || exit $$?; \
843 done
844
845 uninstall-lua_scriptDATA:
846 @$(NORMAL_UNINSTALL)
847 @list='$(lua_script_DATA)'; test -n "$(lua_scriptdir)" || list=; \
848 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
849 dir='$(DESTDIR)$(lua_scriptdir)'; $(am__uninstall_files_from_dir)
850
851 ID: $(am__tagged_files)
852 $(am__define_uniq_tagged_files); mkid -fID $$unique
853 tags: tags-am
854 TAGS: tags
855
856 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
857 set x; \
858 here=`pwd`; \
859 $(am__define_uniq_tagged_files); \
860 shift; \
861 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
862 test -n "$$unique" || unique=$$empty_fix; \
863 if test $$# -gt 0; then \
864 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
865 "$$@" $$unique; \
866 else \
867 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
868 $$unique; \
869 fi; \
870 fi
871 ctags: ctags-am
872
873 CTAGS: ctags
874 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
875 $(am__define_uniq_tagged_files); \
876 test -z "$(CTAGS_ARGS)$$unique" \
877 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
878 $$unique
879
880 GTAGS:
881 here=`$(am__cd) $(top_builddir) && pwd` \
882 && $(am__cd) $(top_srcdir) \
883 && gtags -i $(GTAGS_ARGS) "$$here"
884 cscopelist: cscopelist-am
885
886 cscopelist-am: $(am__tagged_files)
887 list='$(am__tagged_files)'; \
888 case "$(srcdir)" in \
889 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
890 *) sdir=$(subdir)/$(srcdir) ;; \
891 esac; \
892 for i in $$list; do \
893 if test -f "$$i"; then \
894 echo "$(subdir)/$$i"; \
895 else \
896 echo "$$sdir/$$i"; \
897 fi; \
898 done >> $(top_builddir)/cscope.files
899
900 distclean-tags:
901 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
902
903 # Recover from deleted '.trs' file; this should ensure that
904 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
905 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
906 # to avoid problems with "make -n".
907 .log.trs:
908 rm -f $< $@
909 $(MAKE) $(AM_MAKEFLAGS) $<
910
911 # Leading 'am--fnord' is there to ensure the list of targets does not
912 # expand to empty, as could happen e.g. with make check TESTS=''.
913 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
914 am--force-recheck:
915 @:
916
917 $(TEST_SUITE_LOG): $(TEST_LOGS)
918 @$(am__set_TESTS_bases); \
919 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
920 redo_bases=`for i in $$bases; do \
921 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
922 done`; \
923 if test -n "$$redo_bases"; then \
924 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
925 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
926 if $(am__make_dryrun); then :; else \
927 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
928 fi; \
929 fi; \
930 if test -n "$$am__remaking_logs"; then \
931 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
932 "recursion detected" >&2; \
933 elif test -n "$$redo_logs"; then \
934 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
935 fi; \
936 if $(am__make_dryrun); then :; else \
937 st=0; \
938 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
939 for i in $$redo_bases; do \
940 test -f $$i.trs && test -r $$i.trs \
941 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
942 test -f $$i.log && test -r $$i.log \
943 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
944 done; \
945 test $$st -eq 0 || exit 1; \
946 fi
947 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
948 ws='[ ]'; \
949 results=`for b in $$bases; do echo $$b.trs; done`; \
950 test -n "$$results" || results=/dev/null; \
951 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
952 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
953 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
954 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
955 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
956 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
957 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
958 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
959 success=true; \
960 else \
961 success=false; \
962 fi; \
963 br='==================='; br=$$br$$br$$br$$br; \
964 result_count () \
965 { \
966 if test x"$$1" = x"--maybe-color"; then \
967 maybe_colorize=yes; \
968 elif test x"$$1" = x"--no-color"; then \
969 maybe_colorize=no; \
970 else \
971 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
972 fi; \
973 shift; \
974 desc=$$1 count=$$2; \
975 if test $$maybe_colorize = yes && test $$count -gt 0; then \
976 color_start=$$3 color_end=$$std; \
977 else \
978 color_start= color_end=; \
979 fi; \
980 echo "$${color_start}# $$desc $$count$${color_end}"; \
981 }; \
982 create_testsuite_report () \
983 { \
984 result_count $$1 "TOTAL:" $$all "$$brg"; \
985 result_count $$1 "PASS: " $$pass "$$grn"; \
986 result_count $$1 "SKIP: " $$skip "$$blu"; \
987 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
988 result_count $$1 "FAIL: " $$fail "$$red"; \
989 result_count $$1 "XPASS:" $$xpass "$$red"; \
990 result_count $$1 "ERROR:" $$error "$$mgn"; \
991 }; \
992 { \
993 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
994 $(am__rst_title); \
995 create_testsuite_report --no-color; \
996 echo; \
997 echo ".. contents:: :depth: 2"; \
998 echo; \
999 for b in $$bases; do echo $$b; done \
1000 | $(am__create_global_log); \
1001 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1002 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1003 if $$success; then \
1004 col="$$grn"; \
1005 else \
1006 col="$$red"; \
1007 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1008 fi; \
1009 echo "$${col}$$br$${std}"; \
1010 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
1011 echo "$${col}$$br$${std}"; \
1012 create_testsuite_report --maybe-color; \
1013 echo "$$col$$br$$std"; \
1014 if $$success; then :; else \
1015 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1016 if test -n "$(PACKAGE_BUGREPORT)"; then \
1017 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1018 fi; \
1019 echo "$$col$$br$$std"; \
1020 fi; \
1021 $$success || exit 1
1022
1023 check-TESTS:
1024 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1025 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1026 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1027 @set +e; $(am__set_TESTS_bases); \
1028 log_list=`for i in $$bases; do echo $$i.log; done`; \
1029 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1030 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1031 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1032 exit $$?;
1033 recheck: all
1034 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1035 @set +e; $(am__set_TESTS_bases); \
1036 bases=`for i in $$bases; do echo $$i; done \
1037 | $(am__list_recheck_tests)` || exit 1; \
1038 log_list=`for i in $$bases; do echo $$i.log; done`; \
1039 log_list=`echo $$log_list`; \
1040 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1041 am__force_recheck=am--force-recheck \
1042 TEST_LOGS="$$log_list"; \
1043 exit $$?
1044 test-lua-plugin.log: test-lua-plugin$(EXEEXT)
1045 @p='test-lua-plugin$(EXEEXT)'; \
1046 b='test-lua-plugin'; \
1047 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1048 --log-file $$b.log --trs-file $$b.trs \
1049 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1050 "$$tst" $(AM_TESTS_FD_REDIRECT)
1051 .test.log:
1052 @p='$<'; \
1053 $(am__set_b); \
1054 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1055 --log-file $$b.log --trs-file $$b.trs \
1056 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1057 "$$tst" $(AM_TESTS_FD_REDIRECT)
1058 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1059 @am__EXEEXT_TRUE@ @p='$<'; \
1060 @am__EXEEXT_TRUE@ $(am__set_b); \
1061 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1062 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1063 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1064 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1065 distdir: $(BUILT_SOURCES)
1066 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1067
1068 distdir-am: $(DISTFILES)
1069 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1070 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1071 list='$(DISTFILES)'; \
1072 dist_files=`for file in $$list; do echo $$file; done | \
1073 sed -e "s|^$$srcdirstrip/||;t" \
1074 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1075 case $$dist_files in \
1076 */*) $(MKDIR_P) `echo "$$dist_files" | \
1077 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1078 sort -u` ;; \
1079 esac; \
1080 for file in $$dist_files; do \
1081 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1082 if test -d $$d/$$file; then \
1083 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1084 if test -d "$(distdir)/$$file"; then \
1085 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1086 fi; \
1087 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1088 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1089 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1090 fi; \
1091 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1092 else \
1093 test -f "$(distdir)/$$file" \
1094 || cp -p $$d/$$file "$(distdir)/$$file" \
1095 || exit 1; \
1096 fi; \
1097 done
1098 check-am: all-am
1099 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1100 check: check-am
1101 all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA)
1102 installdirs:
1103 for dir in "$(DESTDIR)$(lua_scriptdir)"; do \
1104 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1105 done
1106 install: install-am
1107 install-exec: install-exec-am
1108 install-data: install-data-am
1109 uninstall: uninstall-am
1110
1111 install-am: all-am
1112 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1113
1114 installcheck: installcheck-am
1115 install-strip:
1116 if test -z '$(STRIP)'; then \
1117 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1118 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1119 install; \
1120 else \
1121 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1122 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1123 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1124 fi
1125 mostlyclean-generic:
1126 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1127 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1128 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1129
1130 clean-generic:
1131
1132 distclean-generic:
1133 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1134 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1135
1136 maintainer-clean-generic:
1137 @echo "This command is intended for maintainers to use"
1138 @echo "it deletes files that may require special tools to rebuild."
1139 clean: clean-am
1140
1141 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
1142 clean-noinstPROGRAMS mostlyclean-am
1143
1144 distclean: distclean-am
1145 -rm -f ./$(DEPDIR)/libpylua_la-lmyoslib.Plo
1146 -rm -f ./$(DEPDIR)/libpylua_la-lua-plugin-init.Plo
1147 -rm -f ./$(DEPDIR)/libpylua_la-lua-plugin.Plo
1148 -rm -f ./$(DEPDIR)/lua_ext_console-lua-ext-console.Po
1149 -rm -f ./$(DEPDIR)/test_lua_plugin-test-lua-plugin.Po
1150 -rm -f Makefile
1151 distclean-am: clean-am distclean-compile distclean-generic \
1152 distclean-tags
1153
1154 dvi: dvi-am
1155
1156 dvi-am:
1157
1158 html: html-am
1159
1160 html-am:
1161
1162 info: info-am
1163
1164 info-am:
1165
1166 install-data-am: install-lua_scriptDATA
1167
1168 install-dvi: install-dvi-am
1169
1170 install-dvi-am:
1171
1172 install-exec-am:
1173
1174 install-html: install-html-am
1175
1176 install-html-am:
1177
1178 install-info: install-info-am
1179
1180 install-info-am:
1181
1182 install-man:
1183
1184 install-pdf: install-pdf-am
1185
1186 install-pdf-am:
1187
1188 install-ps: install-ps-am
1189
1190 install-ps-am:
1191
1192 installcheck-am:
1193
1194 maintainer-clean: maintainer-clean-am
1195 -rm -f ./$(DEPDIR)/libpylua_la-lmyoslib.Plo
1196 -rm -f ./$(DEPDIR)/libpylua_la-lua-plugin-init.Plo
1197 -rm -f ./$(DEPDIR)/libpylua_la-lua-plugin.Plo
1198 -rm -f ./$(DEPDIR)/lua_ext_console-lua-ext-console.Po
1199 -rm -f ./$(DEPDIR)/test_lua_plugin-test-lua-plugin.Po
1200 -rm -f Makefile
1201 maintainer-clean-am: distclean-am maintainer-clean-generic
1202
1203 mostlyclean: mostlyclean-am
1204
1205 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1206 mostlyclean-libtool
1207
1208 pdf: pdf-am
1209
1210 pdf-am:
1211
1212 ps: ps-am
1213
1214 ps-am:
1215
1216 uninstall-am: uninstall-lua_scriptDATA
1217
1218 .MAKE: check-am install-am install-strip
1219
1220 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1221 check-am clean clean-generic clean-libtool \
1222 clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscopelist-am \
1223 ctags ctags-am distclean distclean-compile distclean-generic \
1224 distclean-libtool distclean-tags distdir dvi dvi-am html \
1225 html-am info info-am install install-am install-data \
1226 install-data-am install-dvi install-dvi-am install-exec \
1227 install-exec-am install-html install-html-am install-info \
1228 install-info-am install-lua_scriptDATA install-man install-pdf \
1229 install-pdf-am install-ps install-ps-am install-strip \
1230 installcheck installcheck-am installdirs maintainer-clean \
1231 maintainer-clean-generic mostlyclean mostlyclean-compile \
1232 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1233 recheck tags tags-am uninstall uninstall-am \
1234 uninstall-lua_scriptDATA
1235
1236 .PRECIOUS: Makefile
1237
1238
1239 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1240 # Otherwise a system limit (for SysV at least) may be exceeded.
1241 .NOEXPORT:
+0
-38
lua/test.lua less more
0 print(ime.get_version())
1
2 print(ime.int_to_hex_string(100, 6))
3
4 str = ime.utf8_to_utf16("你好")
5 str = ime.utf16_to_utf8(str)
6 print(str)
7
8 print(ime.trim_string(" Hello World! "))
9
10 print(ime.trim_string_right(" Hello World! "))
11
12 tab = ime.split_string("aa..bb..cc", "..");
13 for i,v in ipairs(tab) do print(i, v) end
14
15 tab = ime.split_string("aa..bb..cc", "..");
16 print(ime.join_string(tab, ", "));
17
18 print(ime.join_string({}, ".."));
19 print(ime.join_string({"aa"}, " "));
20
21 _MAPPING_TABLE = [[
22 a 啊
23 b 不,吧
24 c 从,穿,出
25 ]]
26
27 _MAPPING = ime.parse_mapping(_MAPPING_TABLE, "\n", " ", ",")
28 for k,v in pairs(_MAPPING) do
29 print(k, ":")
30 for i, m in ipairs(v) do
31 print(i, m)
32 end
33 end
34
35 -- print(ime.join_string({nil, " "}, ","));
36
37 print("test finished...");
+0
-1
m4/.gitignore less more
0 *.m4
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22 VPATH = @srcdir@
23 am__is_gnu_make = { \
24 if test -z '$(MAKELEVEL)'; then \
25 false; \
26 elif test -n '$(MAKE_HOST)'; then \
27 true; \
28 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 true; \
30 else \
31 false; \
32 fi; \
33 }
34 am__make_running_with_option = \
35 case $${target_option-} in \
36 ?) ;; \
37 *) echo "am__make_running_with_option: internal error: invalid" \
38 "target option '$${target_option-}' specified" >&2; \
39 exit 1;; \
40 esac; \
41 has_opt=no; \
42 sane_makeflags=$$MAKEFLAGS; \
43 if $(am__is_gnu_make); then \
44 sane_makeflags=$$MFLAGS; \
45 else \
46 case $$MAKEFLAGS in \
47 *\\[\ \ ]*) \
48 bs=\\; \
49 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
50 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
51 esac; \
52 fi; \
53 skip_next=no; \
54 strip_trailopt () \
55 { \
56 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
57 }; \
58 for flg in $$sane_makeflags; do \
59 test $$skip_next = yes && { skip_next=no; continue; }; \
60 case $$flg in \
61 *=*|--*) continue;; \
62 -*I) strip_trailopt 'I'; skip_next=yes;; \
63 -*I?*) strip_trailopt 'I';; \
64 -*O) strip_trailopt 'O'; skip_next=yes;; \
65 -*O?*) strip_trailopt 'O';; \
66 -*l) strip_trailopt 'l'; skip_next=yes;; \
67 -*l?*) strip_trailopt 'l';; \
68 -[dEDm]) skip_next=yes;; \
69 -[JT]) skip_next=yes;; \
70 esac; \
71 case $$flg in \
72 *$$target_option*) has_opt=yes; break;; \
73 esac; \
74 done; \
75 test $$has_opt = yes
76 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
77 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
78 pkgdatadir = $(datadir)/@PACKAGE@
79 pkgincludedir = $(includedir)/@PACKAGE@
80 pkglibdir = $(libdir)/@PACKAGE@
81 pkglibexecdir = $(libexecdir)/@PACKAGE@
82 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
83 install_sh_DATA = $(install_sh) -c -m 644
84 install_sh_PROGRAM = $(install_sh) -c
85 install_sh_SCRIPT = $(install_sh) -c
86 INSTALL_HEADER = $(INSTALL_DATA)
87 transform = $(program_transform_name)
88 NORMAL_INSTALL = :
89 PRE_INSTALL = :
90 POST_INSTALL = :
91 NORMAL_UNINSTALL = :
92 PRE_UNINSTALL = :
93 POST_UNINSTALL = :
94 build_triplet = @build@
95 host_triplet = @host@
96 subdir = m4
97 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
99 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
100 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
101 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
102 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
103 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
104 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
105 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
106 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
107 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 $(ACLOCAL_M4)
109 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
110 mkinstalldirs = $(install_sh) -d
111 CONFIG_HEADER = $(top_builddir)/config.h
112 CONFIG_CLEAN_FILES =
113 CONFIG_CLEAN_VPATH_FILES =
114 AM_V_P = $(am__v_P_@AM_V@)
115 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
116 am__v_P_0 = false
117 am__v_P_1 = :
118 AM_V_GEN = $(am__v_GEN_@AM_V@)
119 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
120 am__v_GEN_0 = @echo " GEN " $@;
121 am__v_GEN_1 =
122 AM_V_at = $(am__v_at_@AM_V@)
123 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
124 am__v_at_0 = @
125 am__v_at_1 =
126 SOURCES =
127 DIST_SOURCES =
128 am__can_run_installinfo = \
129 case $$AM_UPDATE_INFO_DIR in \
130 n|no|NO) false;; \
131 *) (install-info --version) >/dev/null 2>&1;; \
132 esac
133 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
134 am__DIST_COMMON = $(srcdir)/Makefile.in
135 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
136 ACLOCAL = @ACLOCAL@
137 AMTAR = @AMTAR@
138 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
139 AR = @AR@
140 AUTOCONF = @AUTOCONF@
141 AUTOHEADER = @AUTOHEADER@
142 AUTOMAKE = @AUTOMAKE@
143 AWK = @AWK@
144 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
145 BOOST_ROOT = @BOOST_ROOT@
146 CC = @CC@
147 CCDEPMODE = @CCDEPMODE@
148 CFLAGS = @CFLAGS@
149 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
150 CPP = @CPP@
151 CPPFLAGS = @CPPFLAGS@
152 CSCOPE = @CSCOPE@
153 CTAGS = @CTAGS@
154 CXX = @CXX@
155 CXXCPP = @CXXCPP@
156 CXXDEPMODE = @CXXDEPMODE@
157 CXXFLAGS = @CXXFLAGS@
158 CYGPATH_W = @CYGPATH_W@
159 DEFS = @DEFS@
160 DEPDIR = @DEPDIR@
161 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
162 DLLTOOL = @DLLTOOL@
163 DSYMUTIL = @DSYMUTIL@
164 DUMPBIN = @DUMPBIN@
165 ECHO_C = @ECHO_C@
166 ECHO_N = @ECHO_N@
167 ECHO_T = @ECHO_T@
168 EGREP = @EGREP@
169 ENV = @ENV@
170 ETAGS = @ETAGS@
171 EXEEXT = @EXEEXT@
172 FGREP = @FGREP@
173 FILECMD = @FILECMD@
174 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
175 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
176 GIO2_CFLAGS = @GIO2_CFLAGS@
177 GIO2_LIBS = @GIO2_LIBS@
178 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
179 GMSGFMT = @GMSGFMT@
180 GMSGFMT_015 = @GMSGFMT_015@
181 GREP = @GREP@
182 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
183 IBUS_CFLAGS = @IBUS_CFLAGS@
184 IBUS_LIBS = @IBUS_LIBS@
185 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
186 INSTALL = @INSTALL@
187 INSTALL_DATA = @INSTALL_DATA@
188 INSTALL_PROGRAM = @INSTALL_PROGRAM@
189 INSTALL_SCRIPT = @INSTALL_SCRIPT@
190 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
191 INTLLIBS = @INTLLIBS@
192 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
193 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
194 JSONGLIB_LIBS = @JSONGLIB_LIBS@
195 LD = @LD@
196 LDFLAGS = @LDFLAGS@
197 LIBICONV = @LIBICONV@
198 LIBINTL = @LIBINTL@
199 LIBOBJS = @LIBOBJS@
200 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
201 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
202 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
203 LIBS = @LIBS@
204 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
205 LIBSOUP_LIBS = @LIBSOUP_LIBS@
206 LIBTOOL = @LIBTOOL@
207 LIPO = @LIPO@
208 LN_S = @LN_S@
209 LTLIBICONV = @LTLIBICONV@
210 LTLIBINTL = @LTLIBINTL@
211 LTLIBOBJS = @LTLIBOBJS@
212 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
213 LUA_CFLAGS = @LUA_CFLAGS@
214 LUA_LIBS = @LUA_LIBS@
215 MAINT = @MAINT@
216 MAKEINFO = @MAKEINFO@
217 MANIFEST_TOOL = @MANIFEST_TOOL@
218 MKDIR_P = @MKDIR_P@
219 MSGFMT = @MSGFMT@
220 MSGFMT_015 = @MSGFMT_015@
221 MSGMERGE = @MSGMERGE@
222 NM = @NM@
223 NMEDIT = @NMEDIT@
224 OBJDUMP = @OBJDUMP@
225 OBJEXT = @OBJEXT@
226 OPENCC_CFLAGS = @OPENCC_CFLAGS@
227 OPENCC_LIBS = @OPENCC_LIBS@
228 OTOOL = @OTOOL@
229 OTOOL64 = @OTOOL64@
230 PACKAGE = @PACKAGE@
231 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
232 PACKAGE_NAME = @PACKAGE_NAME@
233 PACKAGE_STRING = @PACKAGE_STRING@
234 PACKAGE_TARNAME = @PACKAGE_TARNAME@
235 PACKAGE_URL = @PACKAGE_URL@
236 PACKAGE_VERSION = @PACKAGE_VERSION@
237 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
238 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
239 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
240 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
241 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
242 PATH_SEPARATOR = @PATH_SEPARATOR@
243 PKG_CONFIG = @PKG_CONFIG@
244 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
245 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
246 POSUB = @POSUB@
247 PYTHON = @PYTHON@
248 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
249 PYTHON_PLATFORM = @PYTHON_PLATFORM@
250 PYTHON_PREFIX = @PYTHON_PREFIX@
251 PYTHON_VERSION = @PYTHON_VERSION@
252 RANLIB = @RANLIB@
253 SED = @SED@
254 SET_MAKE = @SET_MAKE@
255 SHELL = @SHELL@
256 SQLITE3 = @SQLITE3@
257 SQLITE_CFLAGS = @SQLITE_CFLAGS@
258 SQLITE_LIBS = @SQLITE_LIBS@
259 STRIP = @STRIP@
260 USE_NLS = @USE_NLS@
261 VERSION = @VERSION@
262 XGETTEXT = @XGETTEXT@
263 XGETTEXT_015 = @XGETTEXT_015@
264 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
265 abs_builddir = @abs_builddir@
266 abs_srcdir = @abs_srcdir@
267 abs_top_builddir = @abs_top_builddir@
268 abs_top_srcdir = @abs_top_srcdir@
269 ac_ct_AR = @ac_ct_AR@
270 ac_ct_CC = @ac_ct_CC@
271 ac_ct_CXX = @ac_ct_CXX@
272 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
273 am__include = @am__include@
274 am__leading_dot = @am__leading_dot@
275 am__quote = @am__quote@
276 am__tar = @am__tar@
277 am__untar = @am__untar@
278 bindir = @bindir@
279 build = @build@
280 build_alias = @build_alias@
281 build_cpu = @build_cpu@
282 build_os = @build_os@
283 build_vendor = @build_vendor@
284 builddir = @builddir@
285 datadir = @datadir@
286 datarootdir = @datarootdir@
287 docdir = @docdir@
288 dvidir = @dvidir@
289 exec_prefix = @exec_prefix@
290 gsettingsschemadir = @gsettingsschemadir@
291 host = @host@
292 host_alias = @host_alias@
293 host_cpu = @host_cpu@
294 host_os = @host_os@
295 host_vendor = @host_vendor@
296 htmldir = @htmldir@
297 includedir = @includedir@
298 infodir = @infodir@
299 install_sh = @install_sh@
300 libdir = @libdir@
301 libexecdir = @libexecdir@
302 localedir = @localedir@
303 localstatedir = @localstatedir@
304 mandir = @mandir@
305 mkdir_p = @mkdir_p@
306 oldincludedir = @oldincludedir@
307 pdfdir = @pdfdir@
308 pkgpyexecdir = @pkgpyexecdir@
309 pkgpythondir = @pkgpythondir@
310 prefix = @prefix@
311 program_transform_name = @program_transform_name@
312 psdir = @psdir@
313 pyexecdir = @pyexecdir@
314 pythondir = @pythondir@
315 runstatedir = @runstatedir@
316 sbindir = @sbindir@
317 sharedstatedir = @sharedstatedir@
318 srcdir = @srcdir@
319 sysconfdir = @sysconfdir@
320 target_alias = @target_alias@
321 top_build_prefix = @top_build_prefix@
322 top_builddir = @top_builddir@
323 top_srcdir = @top_srcdir@
324 EXTRA_DIST = gettext.m4 iconv.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4 po.m4 progtest.m4 \
325 as-version.m4 \
326 $(NULL)
327
328 all: all-am
329
330 .SUFFIXES:
331 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
332 @for dep in $?; do \
333 case '$(am__configure_deps)' in \
334 *$$dep*) \
335 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
336 && { if test -f $@; then exit 0; else break; fi; }; \
337 exit 1;; \
338 esac; \
339 done; \
340 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
341 $(am__cd) $(top_srcdir) && \
342 $(AUTOMAKE) --gnu m4/Makefile
343 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
344 @case '$?' in \
345 *config.status*) \
346 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
347 *) \
348 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
349 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
350 esac;
351
352 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
353 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
354
355 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
356 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
357 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
358 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
359 $(am__aclocal_m4_deps):
360
361 mostlyclean-libtool:
362 -rm -f *.lo
363
364 clean-libtool:
365 -rm -rf .libs _libs
366 tags TAGS:
367
368 ctags CTAGS:
369
370 cscope cscopelist:
371
372 distdir: $(BUILT_SOURCES)
373 $(MAKE) $(AM_MAKEFLAGS) distdir-am
374
375 distdir-am: $(DISTFILES)
376 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
377 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
378 list='$(DISTFILES)'; \
379 dist_files=`for file in $$list; do echo $$file; done | \
380 sed -e "s|^$$srcdirstrip/||;t" \
381 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
382 case $$dist_files in \
383 */*) $(MKDIR_P) `echo "$$dist_files" | \
384 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
385 sort -u` ;; \
386 esac; \
387 for file in $$dist_files; do \
388 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
389 if test -d $$d/$$file; then \
390 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
391 if test -d "$(distdir)/$$file"; then \
392 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
393 fi; \
394 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
395 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
396 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
397 fi; \
398 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
399 else \
400 test -f "$(distdir)/$$file" \
401 || cp -p $$d/$$file "$(distdir)/$$file" \
402 || exit 1; \
403 fi; \
404 done
405 check-am: all-am
406 check: check-am
407 all-am: Makefile
408 installdirs:
409 install: install-am
410 install-exec: install-exec-am
411 install-data: install-data-am
412 uninstall: uninstall-am
413
414 install-am: all-am
415 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
416
417 installcheck: installcheck-am
418 install-strip:
419 if test -z '$(STRIP)'; then \
420 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
421 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
422 install; \
423 else \
424 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
425 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
426 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
427 fi
428 mostlyclean-generic:
429
430 clean-generic:
431
432 distclean-generic:
433 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
434 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
435
436 maintainer-clean-generic:
437 @echo "This command is intended for maintainers to use"
438 @echo "it deletes files that may require special tools to rebuild."
439 clean: clean-am
440
441 clean-am: clean-generic clean-libtool mostlyclean-am
442
443 distclean: distclean-am
444 -rm -f Makefile
445 distclean-am: clean-am distclean-generic
446
447 dvi: dvi-am
448
449 dvi-am:
450
451 html: html-am
452
453 html-am:
454
455 info: info-am
456
457 info-am:
458
459 install-data-am:
460
461 install-dvi: install-dvi-am
462
463 install-dvi-am:
464
465 install-exec-am:
466
467 install-html: install-html-am
468
469 install-html-am:
470
471 install-info: install-info-am
472
473 install-info-am:
474
475 install-man:
476
477 install-pdf: install-pdf-am
478
479 install-pdf-am:
480
481 install-ps: install-ps-am
482
483 install-ps-am:
484
485 installcheck-am:
486
487 maintainer-clean: maintainer-clean-am
488 -rm -f Makefile
489 maintainer-clean-am: distclean-am maintainer-clean-generic
490
491 mostlyclean: mostlyclean-am
492
493 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
494
495 pdf: pdf-am
496
497 pdf-am:
498
499 ps: ps-am
500
501 ps-am:
502
503 uninstall-am:
504
505 .MAKE: install-am install-strip
506
507 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
508 cscopelist-am ctags-am distclean distclean-generic \
509 distclean-libtool distdir dvi dvi-am html html-am info info-am \
510 install install-am install-data install-data-am install-dvi \
511 install-dvi-am install-exec install-exec-am install-html \
512 install-html-am install-info install-info-am install-man \
513 install-pdf install-pdf-am install-ps install-ps-am \
514 install-strip installcheck installcheck-am installdirs \
515 maintainer-clean maintainer-clean-generic mostlyclean \
516 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
517 tags-am uninstall uninstall-am
518
519 .PRECIOUS: Makefile
520
521
522 # Tell versions [3.59,3.63) of GNU make to not export all variables.
523 # Otherwise a system limit (for SysV at least) may be exceeded.
524 .NOEXPORT:
0 # gettext.m4 serial 68 (gettext-0.19.8)
1 dnl Copyright (C) 1995-2014, 2016 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 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 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 <drepper@cygnus.com>, 1995-2000.
17 dnl Bruno Haible <haible@clisp.cons.org>, 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 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
164 extern int _nl_msg_cat_cntr;
165 extern int *_nl_domain_bindings;
166 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
167 #else
168 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
169 #endif
170 $gt_revision_test_code
171 ]],
172 [[
173 bindtextdomain ("", "");
174 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
175 ]])],
176 [eval "$gt_func_gnugettext_libc=yes"],
177 [eval "$gt_func_gnugettext_libc=no"])])
178
179 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
180 dnl Sometimes libintl requires libiconv, so first search for libiconv.
181 ifelse(gt_included_intl, yes, , [
182 AM_ICONV_LINK
183 ])
184 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
185 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
186 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
187 dnl even if libiconv doesn't exist.
188 AC_LIB_LINKFLAGS_BODY([intl])
189 AC_CACHE_CHECK([for GNU gettext in libintl],
190 [$gt_func_gnugettext_libintl],
191 [gt_save_CPPFLAGS="$CPPFLAGS"
192 CPPFLAGS="$CPPFLAGS $INCINTL"
193 gt_save_LIBS="$LIBS"
194 LIBS="$LIBS $LIBINTL"
195 dnl Now see whether libintl exists and does not depend on libiconv.
196 AC_LINK_IFELSE(
197 [AC_LANG_PROGRAM(
198 [[
199 #include <libintl.h>
200 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
201 extern int _nl_msg_cat_cntr;
202 extern
203 #ifdef __cplusplus
204 "C"
205 #endif
206 const char *_nl_expand_alias (const char *);
207 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
208 #else
209 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
210 #endif
211 $gt_revision_test_code
212 ]],
213 [[
214 bindtextdomain ("", "");
215 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
216 ]])],
217 [eval "$gt_func_gnugettext_libintl=yes"],
218 [eval "$gt_func_gnugettext_libintl=no"])
219 dnl Now see whether libintl exists and depends on libiconv.
220 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
221 LIBS="$LIBS $LIBICONV"
222 AC_LINK_IFELSE(
223 [AC_LANG_PROGRAM(
224 [[
225 #include <libintl.h>
226 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
227 extern int _nl_msg_cat_cntr;
228 extern
229 #ifdef __cplusplus
230 "C"
231 #endif
232 const char *_nl_expand_alias (const char *);
233 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
234 #else
235 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
236 #endif
237 $gt_revision_test_code
238 ]],
239 [[
240 bindtextdomain ("", "");
241 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
242 ]])],
243 [LIBINTL="$LIBINTL $LIBICONV"
244 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
245 eval "$gt_func_gnugettext_libintl=yes"
246 ])
247 fi
248 CPPFLAGS="$gt_save_CPPFLAGS"
249 LIBS="$gt_save_LIBS"])
250 fi
251
252 dnl If an already present or preinstalled GNU gettext() is found,
253 dnl use it. But if this macro is used in GNU gettext, and GNU
254 dnl gettext is already preinstalled in libintl, we update this
255 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
256 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
257 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
258 && test "$PACKAGE" != gettext-runtime \
259 && test "$PACKAGE" != gettext-tools; }; then
260 gt_use_preinstalled_gnugettext=yes
261 else
262 dnl Reset the values set by searching for libintl.
263 LIBINTL=
264 LTLIBINTL=
265 INCINTL=
266 fi
267
268 ifelse(gt_included_intl, yes, [
269 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
270 dnl GNU gettext is not found in the C library.
271 dnl Fall back on included GNU gettext library.
272 nls_cv_use_gnu_gettext=yes
273 fi
274 fi
275
276 if test "$nls_cv_use_gnu_gettext" = "yes"; then
277 dnl Mark actions used to generate GNU NLS library.
278 BUILD_INCLUDED_LIBINTL=yes
279 USE_INCLUDED_LIBINTL=yes
280 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
281 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
282 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
283 fi
284
285 CATOBJEXT=
286 if test "$gt_use_preinstalled_gnugettext" = "yes" \
287 || test "$nls_cv_use_gnu_gettext" = "yes"; then
288 dnl Mark actions to use GNU gettext tools.
289 CATOBJEXT=.gmo
290 fi
291 ])
292
293 if test -n "$INTL_MACOSX_LIBS"; then
294 if test "$gt_use_preinstalled_gnugettext" = "yes" \
295 || test "$nls_cv_use_gnu_gettext" = "yes"; then
296 dnl Some extra flags are needed during linking.
297 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
298 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
299 fi
300 fi
301
302 if test "$gt_use_preinstalled_gnugettext" = "yes" \
303 || test "$nls_cv_use_gnu_gettext" = "yes"; then
304 AC_DEFINE([ENABLE_NLS], [1],
305 [Define to 1 if translation of program messages to the user's native language
306 is requested.])
307 else
308 USE_NLS=no
309 fi
310 fi
311
312 AC_MSG_CHECKING([whether to use NLS])
313 AC_MSG_RESULT([$USE_NLS])
314 if test "$USE_NLS" = "yes"; then
315 AC_MSG_CHECKING([where the gettext function comes from])
316 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
317 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
318 gt_source="external libintl"
319 else
320 gt_source="libc"
321 fi
322 else
323 gt_source="included intl directory"
324 fi
325 AC_MSG_RESULT([$gt_source])
326 fi
327
328 if test "$USE_NLS" = "yes"; then
329
330 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
331 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
332 AC_MSG_CHECKING([how to link with libintl])
333 AC_MSG_RESULT([$LIBINTL])
334 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
335 fi
336
337 dnl For backward compatibility. Some packages may be using this.
338 AC_DEFINE([HAVE_GETTEXT], [1],
339 [Define if the GNU gettext() function is already present or preinstalled.])
340 AC_DEFINE([HAVE_DCGETTEXT], [1],
341 [Define if the GNU dcgettext() function is already present or preinstalled.])
342 fi
343
344 dnl We need to process the po/ directory.
345 POSUB=po
346 fi
347
348 ifelse(gt_included_intl, yes, [
349 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
350 dnl to 'yes' because some of the testsuite requires it.
351 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
352 BUILD_INCLUDED_LIBINTL=yes
353 fi
354
355 dnl Make all variables we use known to autoconf.
356 AC_SUBST([BUILD_INCLUDED_LIBINTL])
357 AC_SUBST([USE_INCLUDED_LIBINTL])
358 AC_SUBST([CATOBJEXT])
359
360 dnl For backward compatibility. Some configure.ins may be using this.
361 nls_cv_header_intl=
362 nls_cv_header_libgt=
363
364 dnl For backward compatibility. Some Makefiles may be using this.
365 DATADIRNAME=share
366 AC_SUBST([DATADIRNAME])
367
368 dnl For backward compatibility. Some Makefiles may be using this.
369 INSTOBJEXT=.mo
370 AC_SUBST([INSTOBJEXT])
371
372 dnl For backward compatibility. Some Makefiles may be using this.
373 GENCAT=gencat
374 AC_SUBST([GENCAT])
375
376 dnl For backward compatibility. Some Makefiles may be using this.
377 INTLOBJS=
378 if test "$USE_INCLUDED_LIBINTL" = yes; then
379 INTLOBJS="\$(GETTOBJS)"
380 fi
381 AC_SUBST([INTLOBJS])
382
383 dnl Enable libtool support if the surrounding package wishes it.
384 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
385 AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
386 ])
387
388 dnl For backward compatibility. Some Makefiles may be using this.
389 INTLLIBS="$LIBINTL"
390 AC_SUBST([INTLLIBS])
391
392 dnl Make all documented variables known to autoconf.
393 AC_SUBST([LIBINTL])
394 AC_SUBST([LTLIBINTL])
395 AC_SUBST([POSUB])
396 ])
397
398
399 dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
400 m4_define([gt_NEEDS_INIT],
401 [
402 m4_divert_text([DEFAULTS], [gt_needs=])
403 m4_define([gt_NEEDS_INIT], [])
404 ])
405
406
407 dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
408 AC_DEFUN([AM_GNU_GETTEXT_NEED],
409 [
410 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
411 ])
412
413
414 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
415 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
416
417
418 dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version])
419 AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])
0 # iconv.m4 serial 19 (gettext-0.18.2)
1 dnl Copyright (C) 2000-2002, 2007-2014, 2016 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, 2016 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 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 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 # lib-ld.m4 serial 6
1 dnl Copyright (C) 1996-2003, 2009-2016 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-2016 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-2016 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 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1 #
2 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3 # Foundation, Inc.
4 # Written by Gordon Matzigkeit, 1996
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 m4_define([_LT_COPYING], [dnl
11 # Copyright (C) 2014 Free Software Foundation, Inc.
12 # This is free software; see the source for copying conditions. There is NO
13 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
15 # GNU Libtool is free software; you can redistribute it and/or modify
16 # it under the terms of the GNU General Public License as published by
17 # the Free Software Foundation; either version 2 of of the License, or
18 # (at your option) any later version.
19 #
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program or library that is built
22 # using GNU Libtool, you may include this file under the same
23 # distribution terms that you use for the rest of that program.
24 #
25 # GNU Libtool is distributed in the hope that it will be useful, but
26 # WITHOUT ANY WARRANTY; without even the implied warranty of
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 # GNU General Public License for more details.
29 #
30 # You should have received a copy of the GNU General Public License
31 # along with this program. If not, see <http://www.gnu.org/licenses/>.
32 ])
33
34 # serial 59 LT_INIT
35
36
37 # LT_PREREQ(VERSION)
38 # ------------------
39 # Complain and exit if this libtool version is less that VERSION.
40 m4_defun([LT_PREREQ],
41 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
42 [m4_default([$3],
43 [m4_fatal([Libtool version $1 or higher is required],
44 63)])],
45 [$2])])
46
47
48 # _LT_CHECK_BUILDDIR
49 # ------------------
50 # Complain if the absolute build directory name contains unusual characters
51 m4_defun([_LT_CHECK_BUILDDIR],
52 [case `pwd` in
53 *\ * | *\ *)
54 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
55 esac
56 ])
57
58
59 # LT_INIT([OPTIONS])
60 # ------------------
61 AC_DEFUN([LT_INIT],
62 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
63 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
64 AC_BEFORE([$0], [LT_LANG])dnl
65 AC_BEFORE([$0], [LT_OUTPUT])dnl
66 AC_BEFORE([$0], [LTDL_INIT])dnl
67 m4_require([_LT_CHECK_BUILDDIR])dnl
68
69 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
70 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
71 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
72 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
73 dnl unless we require an AC_DEFUNed macro:
74 AC_REQUIRE([LTOPTIONS_VERSION])dnl
75 AC_REQUIRE([LTSUGAR_VERSION])dnl
76 AC_REQUIRE([LTVERSION_VERSION])dnl
77 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
78 m4_require([_LT_PROG_LTMAIN])dnl
79
80 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
81
82 dnl Parse OPTIONS
83 _LT_SET_OPTIONS([$0], [$1])
84
85 # This can be used to rebuild libtool when needed
86 LIBTOOL_DEPS=$ltmain
87
88 # Always use our own libtool.
89 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
90 AC_SUBST(LIBTOOL)dnl
91
92 _LT_SETUP
93
94 # Only expand once:
95 m4_define([LT_INIT])
96 ])# LT_INIT
97
98 # Old names:
99 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
100 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
101 dnl aclocal-1.4 backwards compatibility:
102 dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
103 dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
104
105
106 # _LT_PREPARE_CC_BASENAME
107 # -----------------------
108 m4_defun([_LT_PREPARE_CC_BASENAME], [
109 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
110 func_cc_basename ()
111 {
112 for cc_temp in @S|@*""; do
113 case $cc_temp in
114 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
115 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
116 \-*) ;;
117 *) break;;
118 esac
119 done
120 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
121 }
122 ])# _LT_PREPARE_CC_BASENAME
123
124
125 # _LT_CC_BASENAME(CC)
126 # -------------------
127 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
128 # but that macro is also expanded into generated libtool script, which
129 # arranges for $SED and $ECHO to be set by different means.
130 m4_defun([_LT_CC_BASENAME],
131 [m4_require([_LT_PREPARE_CC_BASENAME])dnl
132 AC_REQUIRE([_LT_DECL_SED])dnl
133 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
134 func_cc_basename $1
135 cc_basename=$func_cc_basename_result
136 ])
137
138
139 # _LT_FILEUTILS_DEFAULTS
140 # ----------------------
141 # It is okay to use these file commands and assume they have been set
142 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
143 m4_defun([_LT_FILEUTILS_DEFAULTS],
144 [: ${CP="cp -f"}
145 : ${MV="mv -f"}
146 : ${RM="rm -f"}
147 ])# _LT_FILEUTILS_DEFAULTS
148
149
150 # _LT_SETUP
151 # ---------
152 m4_defun([_LT_SETUP],
153 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
154 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
155 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
156 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
157
158 _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
159 dnl
160 _LT_DECL([], [host_alias], [0], [The host system])dnl
161 _LT_DECL([], [host], [0])dnl
162 _LT_DECL([], [host_os], [0])dnl
163 dnl
164 _LT_DECL([], [build_alias], [0], [The build system])dnl
165 _LT_DECL([], [build], [0])dnl
166 _LT_DECL([], [build_os], [0])dnl
167 dnl
168 AC_REQUIRE([AC_PROG_CC])dnl
169 AC_REQUIRE([LT_PATH_LD])dnl
170 AC_REQUIRE([LT_PATH_NM])dnl
171 dnl
172 AC_REQUIRE([AC_PROG_LN_S])dnl
173 test -z "$LN_S" && LN_S="ln -s"
174 _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
175 dnl
176 AC_REQUIRE([LT_CMD_MAX_LEN])dnl
177 _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
178 _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
179 dnl
180 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
181 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
182 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
183 m4_require([_LT_CMD_RELOAD])dnl
184 m4_require([_LT_DECL_FILECMD])dnl
185 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
186 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
187 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
188 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
189 m4_require([_LT_WITH_SYSROOT])dnl
190 m4_require([_LT_CMD_TRUNCATE])dnl
191
192 _LT_CONFIG_LIBTOOL_INIT([
193 # See if we are running on zsh, and set the options that allow our
194 # commands through without removal of \ escapes INIT.
195 if test -n "\${ZSH_VERSION+set}"; then
196 setopt NO_GLOB_SUBST
197 fi
198 ])
199 if test -n "${ZSH_VERSION+set}"; then
200 setopt NO_GLOB_SUBST
201 fi
202
203 _LT_CHECK_OBJDIR
204
205 m4_require([_LT_TAG_COMPILER])dnl
206
207 case $host_os in
208 aix3*)
209 # AIX sometimes has problems with the GCC collect2 program. For some
210 # reason, if we set the COLLECT_NAMES environment variable, the problems
211 # vanish in a puff of smoke.
212 if test set != "${COLLECT_NAMES+set}"; then
213 COLLECT_NAMES=
214 export COLLECT_NAMES
215 fi
216 ;;
217 esac
218
219 # Global variables:
220 ofile=libtool
221 can_build_shared=yes
222
223 # All known linkers require a '.a' archive for static linking (except MSVC and
224 # ICC, which need '.lib').
225 libext=a
226
227 with_gnu_ld=$lt_cv_prog_gnu_ld
228
229 old_CC=$CC
230 old_CFLAGS=$CFLAGS
231
232 # Set sane defaults for various variables
233 test -z "$CC" && CC=cc
234 test -z "$LTCC" && LTCC=$CC
235 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
236 test -z "$LD" && LD=ld
237 test -z "$ac_objext" && ac_objext=o
238
239 _LT_CC_BASENAME([$compiler])
240
241 # Only perform the check for file, if the check method requires it
242 test -z "$MAGIC_CMD" && MAGIC_CMD=file
243 case $deplibs_check_method in
244 file_magic*)
245 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
246 _LT_PATH_MAGIC
247 fi
248 ;;
249 esac
250
251 # Use C for the default configuration in the libtool script
252 LT_SUPPORTED_TAG([CC])
253 _LT_LANG_C_CONFIG
254 _LT_LANG_DEFAULT_CONFIG
255 _LT_CONFIG_COMMANDS
256 ])# _LT_SETUP
257
258
259 # _LT_PREPARE_SED_QUOTE_VARS
260 # --------------------------
261 # Define a few sed substitution that help us do robust quoting.
262 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
263 [# Backslashify metacharacters that are still active within
264 # double-quoted strings.
265 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
266
267 # Same as above, but do not quote variable references.
268 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
269
270 # Sed substitution to delay expansion of an escaped shell variable in a
271 # double_quote_subst'ed string.
272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
273
274 # Sed substitution to delay expansion of an escaped single quote.
275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
276
277 # Sed substitution to avoid accidental globbing in evaled expressions
278 no_glob_subst='s/\*/\\\*/g'
279 ])
280
281 # _LT_PROG_LTMAIN
282 # ---------------
283 # Note that this code is called both from 'configure', and 'config.status'
284 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
285 # 'config.status' has no value for ac_aux_dir unless we are using Automake,
286 # so we pass a copy along to make sure it has a sensible value anyway.
287 m4_defun([_LT_PROG_LTMAIN],
288 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
289 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
290 ltmain=$ac_aux_dir/ltmain.sh
291 ])# _LT_PROG_LTMAIN
292
293
294 ## ------------------------------------- ##
295 ## Accumulate code for creating libtool. ##
296 ## ------------------------------------- ##
297
298 # So that we can recreate a full libtool script including additional
299 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
300 # in macros and then make a single call at the end using the 'libtool'
301 # label.
302
303
304 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
305 # ----------------------------------------
306 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
307 m4_define([_LT_CONFIG_LIBTOOL_INIT],
308 [m4_ifval([$1],
309 [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
310 [$1
311 ])])])
312
313 # Initialize.
314 m4_define([_LT_OUTPUT_LIBTOOL_INIT])
315
316
317 # _LT_CONFIG_LIBTOOL([COMMANDS])
318 # ------------------------------
319 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
320 m4_define([_LT_CONFIG_LIBTOOL],
321 [m4_ifval([$1],
322 [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
323 [$1
324 ])])])
325
326 # Initialize.
327 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
328
329
330 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
331 # -----------------------------------------------------
332 m4_defun([_LT_CONFIG_SAVE_COMMANDS],
333 [_LT_CONFIG_LIBTOOL([$1])
334 _LT_CONFIG_LIBTOOL_INIT([$2])
335 ])
336
337
338 # _LT_FORMAT_COMMENT([COMMENT])
339 # -----------------------------
340 # Add leading comment marks to the start of each line, and a trailing
341 # full-stop to the whole comment if one is not present already.
342 m4_define([_LT_FORMAT_COMMENT],
343 [m4_ifval([$1], [
344 m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
345 [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
346 )])
347
348
349
350 ## ------------------------ ##
351 ## FIXME: Eliminate VARNAME ##
352 ## ------------------------ ##
353
354
355 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
356 # -------------------------------------------------------------------
357 # CONFIGNAME is the name given to the value in the libtool script.
358 # VARNAME is the (base) name used in the configure script.
359 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
360 # VARNAME. Any other value will be used directly.
361 m4_define([_LT_DECL],
362 [lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
363 [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
364 [m4_ifval([$1], [$1], [$2])])
365 lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
366 m4_ifval([$4],
367 [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
368 lt_dict_add_subkey([lt_decl_dict], [$2],
369 [tagged?], [m4_ifval([$5], [yes], [no])])])
370 ])
371
372
373 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
374 # --------------------------------------------------------
375 m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
376
377
378 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
379 # ------------------------------------------------
380 m4_define([lt_decl_tag_varnames],
381 [_lt_decl_filter([tagged?], [yes], $@)])
382
383
384 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
385 # ---------------------------------------------------------
386 m4_define([_lt_decl_filter],
387 [m4_case([$#],
388 [0], [m4_fatal([$0: too few arguments: $#])],
389 [1], [m4_fatal([$0: too few arguments: $#: $1])],
390 [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
391 [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
392 [lt_dict_filter([lt_decl_dict], $@)])[]dnl
393 ])
394
395
396 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
397 # --------------------------------------------------
398 m4_define([lt_decl_quote_varnames],
399 [_lt_decl_filter([value], [1], $@)])
400
401
402 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
403 # ---------------------------------------------------
404 m4_define([lt_decl_dquote_varnames],
405 [_lt_decl_filter([value], [2], $@)])
406
407
408 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
409 # ---------------------------------------------------
410 m4_define([lt_decl_varnames_tagged],
411 [m4_assert([$# <= 2])dnl
412 _$0(m4_quote(m4_default([$1], [[, ]])),
413 m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
414 m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
415 m4_define([_lt_decl_varnames_tagged],
416 [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
417
418
419 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
420 # ------------------------------------------------
421 m4_define([lt_decl_all_varnames],
422 [_$0(m4_quote(m4_default([$1], [[, ]])),
423 m4_if([$2], [],
424 m4_quote(lt_decl_varnames),
425 m4_quote(m4_shift($@))))[]dnl
426 ])
427 m4_define([_lt_decl_all_varnames],
428 [lt_join($@, lt_decl_varnames_tagged([$1],
429 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
430 ])
431
432
433 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
434 # ------------------------------------
435 # Quote a variable value, and forward it to 'config.status' so that its
436 # declaration there will have the same value as in 'configure'. VARNAME
437 # must have a single quote delimited value for this to work.
438 m4_define([_LT_CONFIG_STATUS_DECLARE],
439 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
440
441
442 # _LT_CONFIG_STATUS_DECLARATIONS
443 # ------------------------------
444 # We delimit libtool config variables with single quotes, so when
445 # we write them to config.status, we have to be sure to quote all
446 # embedded single quotes properly. In configure, this macro expands
447 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
448 #
449 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
450 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
451 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
452 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
453
454
455 # _LT_LIBTOOL_TAGS
456 # ----------------
457 # Output comment and list of tags supported by the script
458 m4_defun([_LT_LIBTOOL_TAGS],
459 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
460 available_tags='_LT_TAGS'dnl
461 ])
462
463
464 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
465 # -----------------------------------
466 # Extract the dictionary values for VARNAME (optionally with TAG) and
467 # expand to a commented shell variable setting:
468 #
469 # # Some comment about what VAR is for.
470 # visible_name=$lt_internal_name
471 m4_define([_LT_LIBTOOL_DECLARE],
472 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
473 [description])))[]dnl
474 m4_pushdef([_libtool_name],
475 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
476 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
477 [0], [_libtool_name=[$]$1],
478 [1], [_libtool_name=$lt_[]$1],
479 [2], [_libtool_name=$lt_[]$1],
480 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
481 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
482 ])
483
484
485 # _LT_LIBTOOL_CONFIG_VARS
486 # -----------------------
487 # Produce commented declarations of non-tagged libtool config variables
488 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
489 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
490 # section) are produced by _LT_LIBTOOL_TAG_VARS.
491 m4_defun([_LT_LIBTOOL_CONFIG_VARS],
492 [m4_foreach([_lt_var],
493 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
494 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
495
496
497 # _LT_LIBTOOL_TAG_VARS(TAG)
498 # -------------------------
499 m4_define([_LT_LIBTOOL_TAG_VARS],
500 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
501 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
502
503
504 # _LT_TAGVAR(VARNAME, [TAGNAME])
505 # ------------------------------
506 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
507
508
509 # _LT_CONFIG_COMMANDS
510 # -------------------
511 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
512 # variables for single and double quote escaping we saved from calls
513 # to _LT_DECL, we can put quote escaped variables declarations
514 # into 'config.status', and then the shell code to quote escape them in
515 # for loops in 'config.status'. Finally, any additional code accumulated
516 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
517 m4_defun([_LT_CONFIG_COMMANDS],
518 [AC_PROVIDE_IFELSE([LT_OUTPUT],
519 dnl If the libtool generation code has been placed in $CONFIG_LT,
520 dnl instead of duplicating it all over again into config.status,
521 dnl then we will have config.status run $CONFIG_LT later, so it
522 dnl needs to know what name is stored there:
523 [AC_CONFIG_COMMANDS([libtool],
524 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
525 dnl If the libtool generation code is destined for config.status,
526 dnl expand the accumulated commands and init code now:
527 [AC_CONFIG_COMMANDS([libtool],
528 [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
529 ])#_LT_CONFIG_COMMANDS
530
531
532 # Initialize.
533 m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
534 [
535
536 # The HP-UX ksh and POSIX shell print the target directory to stdout
537 # if CDPATH is set.
538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
539
540 sed_quote_subst='$sed_quote_subst'
541 double_quote_subst='$double_quote_subst'
542 delay_variable_subst='$delay_variable_subst'
543 _LT_CONFIG_STATUS_DECLARATIONS
544 LTCC='$LTCC'
545 LTCFLAGS='$LTCFLAGS'
546 compiler='$compiler_DEFAULT'
547
548 # A function that is used when there is no print builtin or printf.
549 func_fallback_echo ()
550 {
551 eval 'cat <<_LTECHO_EOF
552 \$[]1
553 _LTECHO_EOF'
554 }
555
556 # Quote evaled strings.
557 for var in lt_decl_all_varnames([[ \
558 ]], lt_decl_quote_varnames); do
559 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
560 *[[\\\\\\\`\\"\\\$]]*)
561 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
562 ;;
563 *)
564 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
565 ;;
566 esac
567 done
568
569 # Double-quote double-evaled strings.
570 for var in lt_decl_all_varnames([[ \
571 ]], lt_decl_dquote_varnames); do
572 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
573 *[[\\\\\\\`\\"\\\$]]*)
574 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
575 ;;
576 *)
577 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
578 ;;
579 esac
580 done
581
582 _LT_OUTPUT_LIBTOOL_INIT
583 ])
584
585 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
586 # ------------------------------------
587 # Generate a child script FILE with all initialization necessary to
588 # reuse the environment learned by the parent script, and make the
589 # file executable. If COMMENT is supplied, it is inserted after the
590 # '#!' sequence but before initialization text begins. After this
591 # macro, additional text can be appended to FILE to form the body of
592 # the child script. The macro ends with non-zero status if the
593 # file could not be fully written (such as if the disk is full).
594 m4_ifdef([AS_INIT_GENERATED],
595 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
596 [m4_defun([_LT_GENERATED_FILE_INIT],
597 [m4_require([AS_PREPARE])]dnl
598 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
599 [lt_write_fail=0
600 cat >$1 <<_ASEOF || lt_write_fail=1
601 #! $SHELL
602 # Generated by $as_me.
603 $2
604 SHELL=\${CONFIG_SHELL-$SHELL}
605 export SHELL
606 _ASEOF
607 cat >>$1 <<\_ASEOF || lt_write_fail=1
608 AS_SHELL_SANITIZE
609 _AS_PREPARE
610 exec AS_MESSAGE_FD>&1
611 _ASEOF
612 test 0 = "$lt_write_fail" && chmod +x $1[]dnl
613 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
614
615 # LT_OUTPUT
616 # ---------
617 # This macro allows early generation of the libtool script (before
618 # AC_OUTPUT is called), incase it is used in configure for compilation
619 # tests.
620 AC_DEFUN([LT_OUTPUT],
621 [: ${CONFIG_LT=./config.lt}
622 AC_MSG_NOTICE([creating $CONFIG_LT])
623 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
624 [# Run this file to recreate a libtool stub with the current configuration.])
625
626 cat >>"$CONFIG_LT" <<\_LTEOF
627 lt_cl_silent=false
628 exec AS_MESSAGE_LOG_FD>>config.log
629 {
630 echo
631 AS_BOX([Running $as_me.])
632 } >&AS_MESSAGE_LOG_FD
633
634 lt_cl_help="\
635 '$as_me' creates a local libtool stub from the current configuration,
636 for use in further configure time tests before the real libtool is
637 generated.
638
639 Usage: $[0] [[OPTIONS]]
640
641 -h, --help print this help, then exit
642 -V, --version print version number, then exit
643 -q, --quiet do not print progress messages
644 -d, --debug don't remove temporary files
645
646 Report bugs to <bug-libtool@gnu.org>."
647
648 lt_cl_version="\
649 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
650 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
651 configured by $[0], generated by m4_PACKAGE_STRING.
652
653 Copyright (C) 2011 Free Software Foundation, Inc.
654 This config.lt script is free software; the Free Software Foundation
655 gives unlimited permision to copy, distribute and modify it."
656
657 while test 0 != $[#]
658 do
659 case $[1] in
660 --version | --v* | -V )
661 echo "$lt_cl_version"; exit 0 ;;
662 --help | --h* | -h )
663 echo "$lt_cl_help"; exit 0 ;;
664 --debug | --d* | -d )
665 debug=: ;;
666 --quiet | --q* | --silent | --s* | -q )
667 lt_cl_silent=: ;;
668
669 -*) AC_MSG_ERROR([unrecognized option: $[1]
670 Try '$[0] --help' for more information.]) ;;
671
672 *) AC_MSG_ERROR([unrecognized argument: $[1]
673 Try '$[0] --help' for more information.]) ;;
674 esac
675 shift
676 done
677
678 if $lt_cl_silent; then
679 exec AS_MESSAGE_FD>/dev/null
680 fi
681 _LTEOF
682
683 cat >>"$CONFIG_LT" <<_LTEOF
684 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
685 _LTEOF
686
687 cat >>"$CONFIG_LT" <<\_LTEOF
688 AC_MSG_NOTICE([creating $ofile])
689 _LT_OUTPUT_LIBTOOL_COMMANDS
690 AS_EXIT(0)
691 _LTEOF
692 chmod +x "$CONFIG_LT"
693
694 # configure is writing to config.log, but config.lt does its own redirection,
695 # appending to config.log, which fails on DOS, as config.log is still kept
696 # open by configure. Here we exec the FD to /dev/null, effectively closing
697 # config.log, so it can be properly (re)opened and appended to by config.lt.
698 lt_cl_success=:
699 test yes = "$silent" &&
700 lt_config_lt_args="$lt_config_lt_args --quiet"
701 exec AS_MESSAGE_LOG_FD>/dev/null
702 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
703 exec AS_MESSAGE_LOG_FD>>config.log
704 $lt_cl_success || AS_EXIT(1)
705 ])# LT_OUTPUT
706
707
708 # _LT_CONFIG(TAG)
709 # ---------------
710 # If TAG is the built-in tag, create an initial libtool script with a
711 # default configuration from the untagged config vars. Otherwise add code
712 # to config.status for appending the configuration named by TAG from the
713 # matching tagged config vars.
714 m4_defun([_LT_CONFIG],
715 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
716 _LT_CONFIG_SAVE_COMMANDS([
717 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
718 m4_if(_LT_TAG, [C], [
719 # See if we are running on zsh, and set the options that allow our
720 # commands through without removal of \ escapes.
721 if test -n "${ZSH_VERSION+set}"; then
722 setopt NO_GLOB_SUBST
723 fi
724
725 cfgfile=${ofile}T
726 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
727 $RM "$cfgfile"
728
729 cat <<_LT_EOF >> "$cfgfile"
730 #! $SHELL
731 # Generated automatically by $as_me ($PACKAGE) $VERSION
732 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
733 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
734
735 # Provide generalized library-building support services.
736 # Written by Gordon Matzigkeit, 1996
737
738 _LT_COPYING
739 _LT_LIBTOOL_TAGS
740
741 # Configured defaults for sys_lib_dlsearch_path munging.
742 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
743
744 # ### BEGIN LIBTOOL CONFIG
745 _LT_LIBTOOL_CONFIG_VARS
746 _LT_LIBTOOL_TAG_VARS
747 # ### END LIBTOOL CONFIG
748
749 _LT_EOF
750
751 cat <<'_LT_EOF' >> "$cfgfile"
752
753 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
754
755 _LT_PREPARE_MUNGE_PATH_LIST
756 _LT_PREPARE_CC_BASENAME
757
758 # ### END FUNCTIONS SHARED WITH CONFIGURE
759
760 _LT_EOF
761
762 case $host_os in
763 aix3*)
764 cat <<\_LT_EOF >> "$cfgfile"
765 # AIX sometimes has problems with the GCC collect2 program. For some
766 # reason, if we set the COLLECT_NAMES environment variable, the problems
767 # vanish in a puff of smoke.
768 if test set != "${COLLECT_NAMES+set}"; then
769 COLLECT_NAMES=
770 export COLLECT_NAMES
771 fi
772 _LT_EOF
773 ;;
774 esac
775
776 _LT_PROG_LTMAIN
777
778 # We use sed instead of cat because bash on DJGPP gets confused if
779 # if finds mixed CR/LF and LF-only lines. Since sed operates in
780 # text mode, it properly converts lines to CR/LF. This bash problem
781 # is reportedly fixed, but why not run on old versions too?
782 $SED '$q' "$ltmain" >> "$cfgfile" \
783 || (rm -f "$cfgfile"; exit 1)
784
785 mv -f "$cfgfile" "$ofile" ||
786 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
787 chmod +x "$ofile"
788 ],
789 [cat <<_LT_EOF >> "$ofile"
790
791 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
792 dnl in a comment (ie after a #).
793 # ### BEGIN LIBTOOL TAG CONFIG: $1
794 _LT_LIBTOOL_TAG_VARS(_LT_TAG)
795 # ### END LIBTOOL TAG CONFIG: $1
796 _LT_EOF
797 ])dnl /m4_if
798 ],
799 [m4_if([$1], [], [
800 PACKAGE='$PACKAGE'
801 VERSION='$VERSION'
802 RM='$RM'
803 ofile='$ofile'], [])
804 ])dnl /_LT_CONFIG_SAVE_COMMANDS
805 ])# _LT_CONFIG
806
807
808 # LT_SUPPORTED_TAG(TAG)
809 # ---------------------
810 # Trace this macro to discover what tags are supported by the libtool
811 # --tag option, using:
812 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
813 AC_DEFUN([LT_SUPPORTED_TAG], [])
814
815
816 # C support is built-in for now
817 m4_define([_LT_LANG_C_enabled], [])
818 m4_define([_LT_TAGS], [])
819
820
821 # LT_LANG(LANG)
822 # -------------
823 # Enable libtool support for the given language if not already enabled.
824 AC_DEFUN([LT_LANG],
825 [AC_BEFORE([$0], [LT_OUTPUT])dnl
826 m4_case([$1],
827 [C], [_LT_LANG(C)],
828 [C++], [_LT_LANG(CXX)],
829 [Go], [_LT_LANG(GO)],
830 [Java], [_LT_LANG(GCJ)],
831 [Fortran 77], [_LT_LANG(F77)],
832 [Fortran], [_LT_LANG(FC)],
833 [Windows Resource], [_LT_LANG(RC)],
834 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
835 [_LT_LANG($1)],
836 [m4_fatal([$0: unsupported language: "$1"])])])dnl
837 ])# LT_LANG
838
839
840 # _LT_LANG(LANGNAME)
841 # ------------------
842 m4_defun([_LT_LANG],
843 [m4_ifdef([_LT_LANG_]$1[_enabled], [],
844 [LT_SUPPORTED_TAG([$1])dnl
845 m4_append([_LT_TAGS], [$1 ])dnl
846 m4_define([_LT_LANG_]$1[_enabled], [])dnl
847 _LT_LANG_$1_CONFIG($1)])dnl
848 ])# _LT_LANG
849
850
851 m4_ifndef([AC_PROG_GO], [
852 ############################################################
853 # NOTE: This macro has been submitted for inclusion into #
854 # GNU Autoconf as AC_PROG_GO. When it is available in #
855 # a released version of Autoconf we should remove this #
856 # macro and use it instead. #
857 ############################################################
858 m4_defun([AC_PROG_GO],
859 [AC_LANG_PUSH(Go)dnl
860 AC_ARG_VAR([GOC], [Go compiler command])dnl
861 AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
862 _AC_ARG_VAR_LDFLAGS()dnl
863 AC_CHECK_TOOL(GOC, gccgo)
864 if test -z "$GOC"; then
865 if test -n "$ac_tool_prefix"; then
866 AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
867 fi
868 fi
869 if test -z "$GOC"; then
870 AC_CHECK_PROG(GOC, gccgo, gccgo, false)
871 fi
872 ])#m4_defun
873 ])#m4_ifndef
874
875
876 # _LT_LANG_DEFAULT_CONFIG
877 # -----------------------
878 m4_defun([_LT_LANG_DEFAULT_CONFIG],
879 [AC_PROVIDE_IFELSE([AC_PROG_CXX],
880 [LT_LANG(CXX)],
881 [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
882
883 AC_PROVIDE_IFELSE([AC_PROG_F77],
884 [LT_LANG(F77)],
885 [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
886
887 AC_PROVIDE_IFELSE([AC_PROG_FC],
888 [LT_LANG(FC)],
889 [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
890
891 dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
892 dnl pulling things in needlessly.
893 AC_PROVIDE_IFELSE([AC_PROG_GCJ],
894 [LT_LANG(GCJ)],
895 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
896 [LT_LANG(GCJ)],
897 [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
898 [LT_LANG(GCJ)],
899 [m4_ifdef([AC_PROG_GCJ],
900 [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
901 m4_ifdef([A][M_PROG_GCJ],
902 [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
903 m4_ifdef([LT_PROG_GCJ],
904 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
905
906 AC_PROVIDE_IFELSE([AC_PROG_GO],
907 [LT_LANG(GO)],
908 [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
909
910 AC_PROVIDE_IFELSE([LT_PROG_RC],
911 [LT_LANG(RC)],
912 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
913 ])# _LT_LANG_DEFAULT_CONFIG
914
915 # Obsolete macros:
916 AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
917 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
918 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
919 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
920 AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
921 dnl aclocal-1.4 backwards compatibility:
922 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
923 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
924 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
925 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
926 dnl AC_DEFUN([AC_LIBTOOL_RC], [])
927
928
929 # _LT_TAG_COMPILER
930 # ----------------
931 m4_defun([_LT_TAG_COMPILER],
932 [AC_REQUIRE([AC_PROG_CC])dnl
933
934 _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
935 _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
936 _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
937 _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
938
939 # If no C compiler was specified, use CC.
940 LTCC=${LTCC-"$CC"}
941
942 # If no C compiler flags were specified, use CFLAGS.
943 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
944
945 # Allow CC to be a program name with arguments.
946 compiler=$CC
947 ])# _LT_TAG_COMPILER
948
949
950 # _LT_COMPILER_BOILERPLATE
951 # ------------------------
952 # Check for compiler boilerplate output or warnings with
953 # the simple compiler test code.
954 m4_defun([_LT_COMPILER_BOILERPLATE],
955 [m4_require([_LT_DECL_SED])dnl
956 ac_outfile=conftest.$ac_objext
957 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
958 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
959 _lt_compiler_boilerplate=`cat conftest.err`
960 $RM conftest*
961 ])# _LT_COMPILER_BOILERPLATE
962
963
964 # _LT_LINKER_BOILERPLATE
965 # ----------------------
966 # Check for linker boilerplate output or warnings with
967 # the simple link test code.
968 m4_defun([_LT_LINKER_BOILERPLATE],
969 [m4_require([_LT_DECL_SED])dnl
970 ac_outfile=conftest.$ac_objext
971 echo "$lt_simple_link_test_code" >conftest.$ac_ext
972 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
973 _lt_linker_boilerplate=`cat conftest.err`
974 $RM -r conftest*
975 ])# _LT_LINKER_BOILERPLATE
976
977 # _LT_REQUIRED_DARWIN_CHECKS
978 # -------------------------
979 m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
980 case $host_os in
981 rhapsody* | darwin*)
982 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
983 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
984 AC_CHECK_TOOL([LIPO], [lipo], [:])
985 AC_CHECK_TOOL([OTOOL], [otool], [:])
986 AC_CHECK_TOOL([OTOOL64], [otool64], [:])
987 _LT_DECL([], [DSYMUTIL], [1],
988 [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
989 _LT_DECL([], [NMEDIT], [1],
990 [Tool to change global to local symbols on Mac OS X])
991 _LT_DECL([], [LIPO], [1],
992 [Tool to manipulate fat objects and archives on Mac OS X])
993 _LT_DECL([], [OTOOL], [1],
994 [ldd/readelf like tool for Mach-O binaries on Mac OS X])
995 _LT_DECL([], [OTOOL64], [1],
996 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
997
998 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
999 [lt_cv_apple_cc_single_mod=no
1000 if test -z "$LT_MULTI_MODULE"; then
1001 # By default we will add the -single_module flag. You can override
1002 # by either setting the environment variable LT_MULTI_MODULE
1003 # non-empty at configure time, or by adding -multi_module to the
1004 # link flags.
1005 rm -rf libconftest.dylib*
1006 echo "int foo(void){return 1;}" > conftest.c
1007 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1008 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
1009 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1010 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1011 _lt_result=$?
1012 # If there is a non-empty error log, and "single_module"
1013 # appears in it, assume the flag caused a linker warning
1014 if test -s conftest.err && $GREP single_module conftest.err; then
1015 cat conftest.err >&AS_MESSAGE_LOG_FD
1016 # Otherwise, if the output was created with a 0 exit code from
1017 # the compiler, it worked.
1018 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1019 lt_cv_apple_cc_single_mod=yes
1020 else
1021 cat conftest.err >&AS_MESSAGE_LOG_FD
1022 fi
1023 rm -rf libconftest.dylib*
1024 rm -f conftest.*
1025 fi])
1026
1027 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1028 [lt_cv_ld_exported_symbols_list],
1029 [lt_cv_ld_exported_symbols_list=no
1030 save_LDFLAGS=$LDFLAGS
1031 echo "_main" > conftest.sym
1032 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1033 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1034 [lt_cv_ld_exported_symbols_list=yes],
1035 [lt_cv_ld_exported_symbols_list=no])
1036 LDFLAGS=$save_LDFLAGS
1037 ])
1038
1039 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1040 [lt_cv_ld_force_load=no
1041 cat > conftest.c << _LT_EOF
1042 int forced_loaded() { return 2;}
1043 _LT_EOF
1044 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1045 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1046 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1047 $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1048 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1049 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1050 cat > conftest.c << _LT_EOF
1051 int main() { return 0;}
1052 _LT_EOF
1053 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1054 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1055 _lt_result=$?
1056 if test -s conftest.err && $GREP force_load conftest.err; then
1057 cat conftest.err >&AS_MESSAGE_LOG_FD
1058 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1059 lt_cv_ld_force_load=yes
1060 else
1061 cat conftest.err >&AS_MESSAGE_LOG_FD
1062 fi
1063 rm -f conftest.err libconftest.a conftest conftest.c
1064 rm -rf conftest.dSYM
1065 ])
1066 case $host_os in
1067 rhapsody* | darwin1.[[012]])
1068 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1069 darwin1.*)
1070 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1071 darwin*)
1072 case $MACOSX_DEPLOYMENT_TARGET,$host in
1073 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1074 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1075 *)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1077 esac
1078 ;;
1079 esac
1080 if test yes = "$lt_cv_apple_cc_single_mod"; then
1081 _lt_dar_single_mod='$single_module'
1082 fi
1083 if test yes = "$lt_cv_ld_exported_symbols_list"; then
1084 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1085 else
1086 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1087 fi
1088 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1089 _lt_dsymutil='~$DSYMUTIL $lib || :'
1090 else
1091 _lt_dsymutil=
1092 fi
1093 ;;
1094 esac
1095 ])
1096
1097
1098 # _LT_DARWIN_LINKER_FEATURES([TAG])
1099 # ---------------------------------
1100 # Checks for linker and compiler features on darwin
1101 m4_defun([_LT_DARWIN_LINKER_FEATURES],
1102 [
1103 m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1104 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1105 _LT_TAGVAR(hardcode_direct, $1)=no
1106 _LT_TAGVAR(hardcode_automatic, $1)=yes
1107 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1108 if test yes = "$lt_cv_ld_force_load"; then
1109 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1110 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1111 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1112 else
1113 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1114 fi
1115 _LT_TAGVAR(link_all_deplibs, $1)=yes
1116 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1117 case $cc_basename in
1118 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1119 *) _lt_dar_can_shared=$GCC ;;
1120 esac
1121 if test yes = "$_lt_dar_can_shared"; then
1122 output_verbose_link_cmd=func_echo_all
1123 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
1124 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1125 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1126 _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1127 m4_if([$1], [CXX],
1128 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
1129 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
1130 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
1131 fi
1132 ],[])
1133 else
1134 _LT_TAGVAR(ld_shlibs, $1)=no
1135 fi
1136 ])
1137
1138 # _LT_SYS_MODULE_PATH_AIX([TAGNAME])
1139 # ----------------------------------
1140 # Links a minimal program and checks the executable
1141 # for the system default hardcoded library path. In most cases,
1142 # this is /usr/lib:/lib, but when the MPI compilers are used
1143 # the location of the communication and MPI libs are included too.
1144 # If we don't find anything, use the default library path according
1145 # to the aix ld manual.
1146 # Store the results from the different compilers for each TAGNAME.
1147 # Allow to override them for all tags through lt_cv_aix_libpath.
1148 m4_defun([_LT_SYS_MODULE_PATH_AIX],
1149 [m4_require([_LT_DECL_SED])dnl
1150 if test set = "${lt_cv_aix_libpath+set}"; then
1151 aix_libpath=$lt_cv_aix_libpath
1152 else
1153 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
1154 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
1155 lt_aix_libpath_sed='[
1156 /Import File Strings/,/^$/ {
1157 /^0/ {
1158 s/^0 *\([^ ]*\) *$/\1/
1159 p
1160 }
1161 }]'
1162 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1163 # Check for a 64-bit object if we didn't find anything.
1164 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1165 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1166 fi],[])
1167 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1168 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1169 fi
1170 ])
1171 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
1172 fi
1173 ])# _LT_SYS_MODULE_PATH_AIX
1174
1175
1176 # _LT_SHELL_INIT(ARG)
1177 # -------------------
1178 m4_define([_LT_SHELL_INIT],
1179 [m4_divert_text([M4SH-INIT], [$1
1180 ])])# _LT_SHELL_INIT
1181
1182
1183
1184 # _LT_PROG_ECHO_BACKSLASH
1185 # -----------------------
1186 # Find how we can fake an echo command that does not interpret backslash.
1187 # In particular, with Autoconf 2.60 or later we add some code to the start
1188 # of the generated configure script that will find a shell with a builtin
1189 # printf (that we can use as an echo command).
1190 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1191 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1193 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1194
1195 AC_MSG_CHECKING([how to print strings])
1196 # Test print first, because it will be a builtin if present.
1197 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1198 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1199 ECHO='print -r --'
1200 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1201 ECHO='printf %s\n'
1202 else
1203 # Use this function as a fallback that always works.
1204 func_fallback_echo ()
1205 {
1206 eval 'cat <<_LTECHO_EOF
1207 $[]1
1208 _LTECHO_EOF'
1209 }
1210 ECHO='func_fallback_echo'
1211 fi
1212
1213 # func_echo_all arg...
1214 # Invoke $ECHO with all args, space-separated.
1215 func_echo_all ()
1216 {
1217 $ECHO "$*"
1218 }
1219
1220 case $ECHO in
1221 printf*) AC_MSG_RESULT([printf]) ;;
1222 print*) AC_MSG_RESULT([print -r]) ;;
1223 *) AC_MSG_RESULT([cat]) ;;
1224 esac
1225
1226 m4_ifdef([_AS_DETECT_SUGGESTED],
1227 [_AS_DETECT_SUGGESTED([
1228 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1229 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1230 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1231 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1232 PATH=/empty FPATH=/empty; export PATH FPATH
1233 test "X`printf %s $ECHO`" = "X$ECHO" \
1234 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1235
1236 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1237 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1238 ])# _LT_PROG_ECHO_BACKSLASH
1239
1240
1241 # _LT_WITH_SYSROOT
1242 # ----------------
1243 AC_DEFUN([_LT_WITH_SYSROOT],
1244 [m4_require([_LT_DECL_SED])dnl
1245 AC_MSG_CHECKING([for sysroot])
1246 AC_ARG_WITH([sysroot],
1247 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
1248 [Search for dependent libraries within DIR (or the compiler's sysroot
1249 if not specified).])],
1250 [], [with_sysroot=no])
1251
1252 dnl lt_sysroot will always be passed unquoted. We quote it here
1253 dnl in case the user passed a directory name.
1254 lt_sysroot=
1255 case $with_sysroot in #(
1256 yes)
1257 if test yes = "$GCC"; then
1258 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1259 fi
1260 ;; #(
1261 /*)
1262 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1263 ;; #(
1264 no|'')
1265 ;; #(
1266 *)
1267 AC_MSG_RESULT([$with_sysroot])
1268 AC_MSG_ERROR([The sysroot must be an absolute path.])
1269 ;;
1270 esac
1271
1272 AC_MSG_RESULT([${lt_sysroot:-no}])
1273 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1274 [dependent libraries, and where our libraries should be installed.])])
1275
1276 # _LT_ENABLE_LOCK
1277 # ---------------
1278 m4_defun([_LT_ENABLE_LOCK],
1279 [AC_ARG_ENABLE([libtool-lock],
1280 [AS_HELP_STRING([--disable-libtool-lock],
1281 [avoid locking (might break parallel builds)])])
1282 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1283
1284 # Some flags need to be propagated to the compiler or linker for good
1285 # libtool support.
1286 case $host in
1287 ia64-*-hpux*)
1288 # Find out what ABI is being produced by ac_compile, and set mode
1289 # options accordingly.
1290 echo 'int i;' > conftest.$ac_ext
1291 if AC_TRY_EVAL(ac_compile); then
1292 case `$FILECMD conftest.$ac_objext` in
1293 *ELF-32*)
1294 HPUX_IA64_MODE=32
1295 ;;
1296 *ELF-64*)
1297 HPUX_IA64_MODE=64
1298 ;;
1299 esac
1300 fi
1301 rm -rf conftest*
1302 ;;
1303 *-*-irix6*)
1304 # Find out what ABI is being produced by ac_compile, and set linker
1305 # options accordingly.
1306 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1307 if AC_TRY_EVAL(ac_compile); then
1308 if test yes = "$lt_cv_prog_gnu_ld"; then
1309 case `$FILECMD conftest.$ac_objext` in
1310 *32-bit*)
1311 LD="${LD-ld} -melf32bsmip"
1312 ;;
1313 *N32*)
1314 LD="${LD-ld} -melf32bmipn32"
1315 ;;
1316 *64-bit*)
1317 LD="${LD-ld} -melf64bmip"
1318 ;;
1319 esac
1320 else
1321 case `$FILECMD conftest.$ac_objext` in
1322 *32-bit*)
1323 LD="${LD-ld} -32"
1324 ;;
1325 *N32*)
1326 LD="${LD-ld} -n32"
1327 ;;
1328 *64-bit*)
1329 LD="${LD-ld} -64"
1330 ;;
1331 esac
1332 fi
1333 fi
1334 rm -rf conftest*
1335 ;;
1336
1337 mips64*-*linux*)
1338 # Find out what ABI is being produced by ac_compile, and set linker
1339 # options accordingly.
1340 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1341 if AC_TRY_EVAL(ac_compile); then
1342 emul=elf
1343 case `$FILECMD conftest.$ac_objext` in
1344 *32-bit*)
1345 emul="${emul}32"
1346 ;;
1347 *64-bit*)
1348 emul="${emul}64"
1349 ;;
1350 esac
1351 case `$FILECMD conftest.$ac_objext` in
1352 *MSB*)
1353 emul="${emul}btsmip"
1354 ;;
1355 *LSB*)
1356 emul="${emul}ltsmip"
1357 ;;
1358 esac
1359 case `$FILECMD conftest.$ac_objext` in
1360 *N32*)
1361 emul="${emul}n32"
1362 ;;
1363 esac
1364 LD="${LD-ld} -m $emul"
1365 fi
1366 rm -rf conftest*
1367 ;;
1368
1369 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1370 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1371 # Find out what ABI is being produced by ac_compile, and set linker
1372 # options accordingly. Note that the listed cases only cover the
1373 # situations where additional linker options are needed (such as when
1374 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
1375 # vice versa); the common cases where no linker options are needed do
1376 # not appear in the list.
1377 echo 'int i;' > conftest.$ac_ext
1378 if AC_TRY_EVAL(ac_compile); then
1379 case `$FILECMD conftest.o` in
1380 *32-bit*)
1381 case $host in
1382 x86_64-*kfreebsd*-gnu)
1383 LD="${LD-ld} -m elf_i386_fbsd"
1384 ;;
1385 x86_64-*linux*)
1386 case `$FILECMD conftest.o` in
1387 *x86-64*)
1388 LD="${LD-ld} -m elf32_x86_64"
1389 ;;
1390 *)
1391 LD="${LD-ld} -m elf_i386"
1392 ;;
1393 esac
1394 ;;
1395 powerpc64le-*linux*)
1396 LD="${LD-ld} -m elf32lppclinux"
1397 ;;
1398 powerpc64-*linux*)
1399 LD="${LD-ld} -m elf32ppclinux"
1400 ;;
1401 s390x-*linux*)
1402 LD="${LD-ld} -m elf_s390"
1403 ;;
1404 sparc64-*linux*)
1405 LD="${LD-ld} -m elf32_sparc"
1406 ;;
1407 esac
1408 ;;
1409 *64-bit*)
1410 case $host in
1411 x86_64-*kfreebsd*-gnu)
1412 LD="${LD-ld} -m elf_x86_64_fbsd"
1413 ;;
1414 x86_64-*linux*)
1415 LD="${LD-ld} -m elf_x86_64"
1416 ;;
1417 powerpcle-*linux*)
1418 LD="${LD-ld} -m elf64lppc"
1419 ;;
1420 powerpc-*linux*)
1421 LD="${LD-ld} -m elf64ppc"
1422 ;;
1423 s390*-*linux*|s390*-*tpf*)
1424 LD="${LD-ld} -m elf64_s390"
1425 ;;
1426 sparc*-*linux*)
1427 LD="${LD-ld} -m elf64_sparc"
1428 ;;
1429 esac
1430 ;;
1431 esac
1432 fi
1433 rm -rf conftest*
1434 ;;
1435
1436 *-*-sco3.2v5*)
1437 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1438 SAVE_CFLAGS=$CFLAGS
1439 CFLAGS="$CFLAGS -belf"
1440 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1441 [AC_LANG_PUSH(C)
1442 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1443 AC_LANG_POP])
1444 if test yes != "$lt_cv_cc_needs_belf"; then
1445 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1446 CFLAGS=$SAVE_CFLAGS
1447 fi
1448 ;;
1449 *-*solaris*)
1450 # Find out what ABI is being produced by ac_compile, and set linker
1451 # options accordingly.
1452 echo 'int i;' > conftest.$ac_ext
1453 if AC_TRY_EVAL(ac_compile); then
1454 case `$FILECMD conftest.o` in
1455 *64-bit*)
1456 case $lt_cv_prog_gnu_ld in
1457 yes*)
1458 case $host in
1459 i?86-*-solaris*|x86_64-*-solaris*)
1460 LD="${LD-ld} -m elf_x86_64"
1461 ;;
1462 sparc*-*-solaris*)
1463 LD="${LD-ld} -m elf64_sparc"
1464 ;;
1465 esac
1466 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1467 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1468 LD=${LD-ld}_sol2
1469 fi
1470 ;;
1471 *)
1472 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1473 LD="${LD-ld} -64"
1474 fi
1475 ;;
1476 esac
1477 ;;
1478 esac
1479 fi
1480 rm -rf conftest*
1481 ;;
1482 esac
1483
1484 need_locks=$enable_libtool_lock
1485 ])# _LT_ENABLE_LOCK
1486
1487
1488 # _LT_PROG_AR
1489 # -----------
1490 m4_defun([_LT_PROG_AR],
1491 [AC_CHECK_TOOLS(AR, [ar], false)
1492 : ${AR=ar}
1493 _LT_DECL([], [AR], [1], [The archiver])
1494
1495 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
1496 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
1497 # higher priority because thats what people were doing historically (setting
1498 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
1499 # variable obsoleted/removed.
1500
1501 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1502 lt_ar_flags=$AR_FLAGS
1503 _LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
1504
1505 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1506 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1507 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1508 [Flags to create an archive])
1509
1510 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1511 [lt_cv_ar_at_file=no
1512 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1513 [echo conftest.$ac_objext > conftest.lst
1514 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1515 AC_TRY_EVAL([lt_ar_try])
1516 if test 0 -eq "$ac_status"; then
1517 # Ensure the archiver fails upon bogus file names.
1518 rm -f conftest.$ac_objext libconftest.a
1519 AC_TRY_EVAL([lt_ar_try])
1520 if test 0 -ne "$ac_status"; then
1521 lt_cv_ar_at_file=@
1522 fi
1523 fi
1524 rm -f conftest.* libconftest.a
1525 ])
1526 ])
1527
1528 if test no = "$lt_cv_ar_at_file"; then
1529 archiver_list_spec=
1530 else
1531 archiver_list_spec=$lt_cv_ar_at_file
1532 fi
1533 _LT_DECL([], [archiver_list_spec], [1],
1534 [How to feed a file listing to the archiver])
1535 ])# _LT_PROG_AR
1536
1537
1538 # _LT_CMD_OLD_ARCHIVE
1539 # -------------------
1540 m4_defun([_LT_CMD_OLD_ARCHIVE],
1541 [_LT_PROG_AR
1542
1543 AC_CHECK_TOOL(STRIP, strip, :)
1544 test -z "$STRIP" && STRIP=:
1545 _LT_DECL([], [STRIP], [1], [A symbol stripping program])
1546
1547 AC_CHECK_TOOL(RANLIB, ranlib, :)
1548 test -z "$RANLIB" && RANLIB=:
1549 _LT_DECL([], [RANLIB], [1],
1550 [Commands used to install an old-style archive])
1551
1552 # Determine commands to create old-style static archives.
1553 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1554 old_postinstall_cmds='chmod 644 $oldlib'
1555 old_postuninstall_cmds=
1556
1557 if test -n "$RANLIB"; then
1558 case $host_os in
1559 bitrig* | openbsd*)
1560 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1561 ;;
1562 *)
1563 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1564 ;;
1565 esac
1566 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1567 fi
1568
1569 case $host_os in
1570 darwin*)
1571 lock_old_archive_extraction=yes ;;
1572 *)
1573 lock_old_archive_extraction=no ;;
1574 esac
1575 _LT_DECL([], [old_postinstall_cmds], [2])
1576 _LT_DECL([], [old_postuninstall_cmds], [2])
1577 _LT_TAGDECL([], [old_archive_cmds], [2],
1578 [Commands used to build an old-style archive])
1579 _LT_DECL([], [lock_old_archive_extraction], [0],
1580 [Whether to use a lock for old archive extraction])
1581 ])# _LT_CMD_OLD_ARCHIVE
1582
1583
1584 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1585 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1586 # ----------------------------------------------------------------
1587 # Check whether the given compiler option works
1588 AC_DEFUN([_LT_COMPILER_OPTION],
1589 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1590 m4_require([_LT_DECL_SED])dnl
1591 AC_CACHE_CHECK([$1], [$2],
1592 [$2=no
1593 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1595 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
1596 # Insert the option either (1) after the last *FLAGS variable, or
1597 # (2) before a word containing "conftest.", or (3) at the end.
1598 # Note that $ac_compile itself does not contain backslashes and begins
1599 # with a dollar sign (not a hyphen), so the echo should work correctly.
1600 # The option is referenced via a variable to avoid confusing sed.
1601 lt_compile=`echo "$ac_compile" | $SED \
1602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1603 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1604 -e 's:$: $lt_compiler_flag:'`
1605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1606 (eval "$lt_compile" 2>conftest.err)
1607 ac_status=$?
1608 cat conftest.err >&AS_MESSAGE_LOG_FD
1609 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1610 if (exit $ac_status) && test -s "$ac_outfile"; then
1611 # The compiler can only warn and ignore the option if not recognized
1612 # So say no if there are warnings other than the usual output.
1613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1615 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1616 $2=yes
1617 fi
1618 fi
1619 $RM conftest*
1620 ])
1621
1622 if test yes = "[$]$2"; then
1623 m4_if([$5], , :, [$5])
1624 else
1625 m4_if([$6], , :, [$6])
1626 fi
1627 ])# _LT_COMPILER_OPTION
1628
1629 # Old name:
1630 AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1631 dnl aclocal-1.4 backwards compatibility:
1632 dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1633
1634
1635 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1636 # [ACTION-SUCCESS], [ACTION-FAILURE])
1637 # ----------------------------------------------------
1638 # Check whether the given linker option works
1639 AC_DEFUN([_LT_LINKER_OPTION],
1640 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1641 m4_require([_LT_DECL_SED])dnl
1642 AC_CACHE_CHECK([$1], [$2],
1643 [$2=no
1644 save_LDFLAGS=$LDFLAGS
1645 LDFLAGS="$LDFLAGS $3"
1646 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1647 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1648 # The linker can only warn and ignore the option if not recognized
1649 # So say no if there are warnings
1650 if test -s conftest.err; then
1651 # Append any errors to the config.log.
1652 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1653 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1654 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1655 if diff conftest.exp conftest.er2 >/dev/null; then
1656 $2=yes
1657 fi
1658 else
1659 $2=yes
1660 fi
1661 fi
1662 $RM -r conftest*
1663 LDFLAGS=$save_LDFLAGS
1664 ])
1665
1666 if test yes = "[$]$2"; then
1667 m4_if([$4], , :, [$4])
1668 else
1669 m4_if([$5], , :, [$5])
1670 fi
1671 ])# _LT_LINKER_OPTION
1672
1673 # Old name:
1674 AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1675 dnl aclocal-1.4 backwards compatibility:
1676 dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1677
1678
1679 # LT_CMD_MAX_LEN
1680 #---------------
1681 AC_DEFUN([LT_CMD_MAX_LEN],
1682 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1683 # find the maximum length of command line arguments
1684 AC_MSG_CHECKING([the maximum length of command line arguments])
1685 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1686 i=0
1687 teststring=ABCD
1688
1689 case $build_os in
1690 msdosdjgpp*)
1691 # On DJGPP, this test can blow up pretty badly due to problems in libc
1692 # (any single argument exceeding 2000 bytes causes a buffer overrun
1693 # during glob expansion). Even if it were fixed, the result of this
1694 # check would be larger than it should be.
1695 lt_cv_sys_max_cmd_len=12288; # 12K is about right
1696 ;;
1697
1698 gnu*)
1699 # Under GNU Hurd, this test is not required because there is
1700 # no limit to the length of command line arguments.
1701 # Libtool will interpret -1 as no limit whatsoever
1702 lt_cv_sys_max_cmd_len=-1;
1703 ;;
1704
1705 cygwin* | mingw* | cegcc*)
1706 # On Win9x/ME, this test blows up -- it succeeds, but takes
1707 # about 5 minutes as the teststring grows exponentially.
1708 # Worse, since 9x/ME are not pre-emptively multitasking,
1709 # you end up with a "frozen" computer, even though with patience
1710 # the test eventually succeeds (with a max line length of 256k).
1711 # Instead, let's just punt: use the minimum linelength reported by
1712 # all of the supported platforms: 8192 (on NT/2K/XP).
1713 lt_cv_sys_max_cmd_len=8192;
1714 ;;
1715
1716 mint*)
1717 # On MiNT this can take a long time and run out of memory.
1718 lt_cv_sys_max_cmd_len=8192;
1719 ;;
1720
1721 amigaos*)
1722 # On AmigaOS with pdksh, this test takes hours, literally.
1723 # So we just punt and use a minimum line length of 8192.
1724 lt_cv_sys_max_cmd_len=8192;
1725 ;;
1726
1727 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
1728 # This has been around since 386BSD, at least. Likely further.
1729 if test -x /sbin/sysctl; then
1730 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1731 elif test -x /usr/sbin/sysctl; then
1732 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1733 else
1734 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1735 fi
1736 # And add a safety zone
1737 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1738 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1739 ;;
1740
1741 interix*)
1742 # We know the value 262144 and hardcode it with a safety zone (like BSD)
1743 lt_cv_sys_max_cmd_len=196608
1744 ;;
1745
1746 os2*)
1747 # The test takes a long time on OS/2.
1748 lt_cv_sys_max_cmd_len=8192
1749 ;;
1750
1751 osf*)
1752 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1753 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1754 # nice to cause kernel panics so lets avoid the loop below.
1755 # First set a reasonable default.
1756 lt_cv_sys_max_cmd_len=16384
1757 #
1758 if test -x /sbin/sysconfig; then
1759 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1760 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1761 esac
1762 fi
1763 ;;
1764 sco3.2v5*)
1765 lt_cv_sys_max_cmd_len=102400
1766 ;;
1767 sysv5* | sco5v6* | sysv4.2uw2*)
1768 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1769 if test -n "$kargmax"; then
1770 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
1771 else
1772 lt_cv_sys_max_cmd_len=32768
1773 fi
1774 ;;
1775 *)
1776 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1777 if test -n "$lt_cv_sys_max_cmd_len" && \
1778 test undefined != "$lt_cv_sys_max_cmd_len"; then
1779 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1780 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1781 else
1782 # Make teststring a little bigger before we do anything with it.
1783 # a 1K string should be a reasonable start.
1784 for i in 1 2 3 4 5 6 7 8; do
1785 teststring=$teststring$teststring
1786 done
1787 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1788 # If test is not a shell built-in, we'll probably end up computing a
1789 # maximum length that is only half of the actual maximum length, but
1790 # we can't tell.
1791 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1792 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1793 test 17 != "$i" # 1/2 MB should be enough
1794 do
1795 i=`expr $i + 1`
1796 teststring=$teststring$teststring
1797 done
1798 # Only check the string length outside the loop.
1799 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
1800 teststring=
1801 # Add a significant safety factor because C++ compilers can tack on
1802 # massive amounts of additional arguments before passing them to the
1803 # linker. It appears as though 1/2 is a usable value.
1804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1805 fi
1806 ;;
1807 esac
1808 ])
1809 if test -n "$lt_cv_sys_max_cmd_len"; then
1810 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1811 else
1812 AC_MSG_RESULT(none)
1813 fi
1814 max_cmd_len=$lt_cv_sys_max_cmd_len
1815 _LT_DECL([], [max_cmd_len], [0],
1816 [What is the maximum length of a command?])
1817 ])# LT_CMD_MAX_LEN
1818
1819 # Old name:
1820 AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
1821 dnl aclocal-1.4 backwards compatibility:
1822 dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
1823
1824
1825 # _LT_HEADER_DLFCN
1826 # ----------------
1827 m4_defun([_LT_HEADER_DLFCN],
1828 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
1829 ])# _LT_HEADER_DLFCN
1830
1831
1832 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1833 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1834 # ----------------------------------------------------------------
1835 m4_defun([_LT_TRY_DLOPEN_SELF],
1836 [m4_require([_LT_HEADER_DLFCN])dnl
1837 if test yes = "$cross_compiling"; then :
1838 [$4]
1839 else
1840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1841 lt_status=$lt_dlunknown
1842 cat > conftest.$ac_ext <<_LT_EOF
1843 [#line $LINENO "configure"
1844 #include "confdefs.h"
1845
1846 #if HAVE_DLFCN_H
1847 #include <dlfcn.h>
1848 #endif
1849
1850 #include <stdio.h>
1851
1852 #ifdef RTLD_GLOBAL
1853 # define LT_DLGLOBAL RTLD_GLOBAL
1854 #else
1855 # ifdef DL_GLOBAL
1856 # define LT_DLGLOBAL DL_GLOBAL
1857 # else
1858 # define LT_DLGLOBAL 0
1859 # endif
1860 #endif
1861
1862 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1863 find out it does not work in some platform. */
1864 #ifndef LT_DLLAZY_OR_NOW
1865 # ifdef RTLD_LAZY
1866 # define LT_DLLAZY_OR_NOW RTLD_LAZY
1867 # else
1868 # ifdef DL_LAZY
1869 # define LT_DLLAZY_OR_NOW DL_LAZY
1870 # else
1871 # ifdef RTLD_NOW
1872 # define LT_DLLAZY_OR_NOW RTLD_NOW
1873 # else
1874 # ifdef DL_NOW
1875 # define LT_DLLAZY_OR_NOW DL_NOW
1876 # else
1877 # define LT_DLLAZY_OR_NOW 0
1878 # endif
1879 # endif
1880 # endif
1881 # endif
1882 #endif
1883
1884 /* When -fvisibility=hidden is used, assume the code has been annotated
1885 correspondingly for the symbols needed. */
1886 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1887 int fnord () __attribute__((visibility("default")));
1888 #endif
1889
1890 int fnord () { return 42; }
1891 int main ()
1892 {
1893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1894 int status = $lt_dlunknown;
1895
1896 if (self)
1897 {
1898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1899 else
1900 {
1901 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1902 else puts (dlerror ());
1903 }
1904 /* dlclose (self); */
1905 }
1906 else
1907 puts (dlerror ());
1908
1909 return status;
1910 }]
1911 _LT_EOF
1912 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
1913 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1914 lt_status=$?
1915 case x$lt_status in
1916 x$lt_dlno_uscore) $1 ;;
1917 x$lt_dlneed_uscore) $2 ;;
1918 x$lt_dlunknown|x*) $3 ;;
1919 esac
1920 else :
1921 # compilation failed
1922 $3
1923 fi
1924 fi
1925 rm -fr conftest*
1926 ])# _LT_TRY_DLOPEN_SELF
1927
1928
1929 # LT_SYS_DLOPEN_SELF
1930 # ------------------
1931 AC_DEFUN([LT_SYS_DLOPEN_SELF],
1932 [m4_require([_LT_HEADER_DLFCN])dnl
1933 if test yes != "$enable_dlopen"; then
1934 enable_dlopen=unknown
1935 enable_dlopen_self=unknown
1936 enable_dlopen_self_static=unknown
1937 else
1938 lt_cv_dlopen=no
1939 lt_cv_dlopen_libs=
1940
1941 case $host_os in
1942 beos*)
1943 lt_cv_dlopen=load_add_on
1944 lt_cv_dlopen_libs=
1945 lt_cv_dlopen_self=yes
1946 ;;
1947
1948 mingw* | pw32* | cegcc*)
1949 lt_cv_dlopen=LoadLibrary
1950 lt_cv_dlopen_libs=
1951 ;;
1952
1953 cygwin*)
1954 lt_cv_dlopen=dlopen
1955 lt_cv_dlopen_libs=
1956 ;;
1957
1958 darwin*)
1959 # if libdl is installed we need to link against it
1960 AC_CHECK_LIB([dl], [dlopen],
1961 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
1962 lt_cv_dlopen=dyld
1963 lt_cv_dlopen_libs=
1964 lt_cv_dlopen_self=yes
1965 ])
1966 ;;
1967
1968 tpf*)
1969 # Don't try to run any link tests for TPF. We know it's impossible
1970 # because TPF is a cross-compiler, and we know how we open DSOs.
1971 lt_cv_dlopen=dlopen
1972 lt_cv_dlopen_libs=
1973 lt_cv_dlopen_self=no
1974 ;;
1975
1976 *)
1977 AC_CHECK_FUNC([shl_load],
1978 [lt_cv_dlopen=shl_load],
1979 [AC_CHECK_LIB([dld], [shl_load],
1980 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
1981 [AC_CHECK_FUNC([dlopen],
1982 [lt_cv_dlopen=dlopen],
1983 [AC_CHECK_LIB([dl], [dlopen],
1984 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
1985 [AC_CHECK_LIB([svld], [dlopen],
1986 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
1987 [AC_CHECK_LIB([dld], [dld_link],
1988 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
1989 ])
1990 ])
1991 ])
1992 ])
1993 ])
1994 ;;
1995 esac
1996
1997 if test no = "$lt_cv_dlopen"; then
1998 enable_dlopen=no
1999 else
2000 enable_dlopen=yes
2001 fi
2002
2003 case $lt_cv_dlopen in
2004 dlopen)
2005 save_CPPFLAGS=$CPPFLAGS
2006 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2007
2008 save_LDFLAGS=$LDFLAGS
2009 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2010
2011 save_LIBS=$LIBS
2012 LIBS="$lt_cv_dlopen_libs $LIBS"
2013
2014 AC_CACHE_CHECK([whether a program can dlopen itself],
2015 lt_cv_dlopen_self, [dnl
2016 _LT_TRY_DLOPEN_SELF(
2017 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2018 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2019 ])
2020
2021 if test yes = "$lt_cv_dlopen_self"; then
2022 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2023 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2024 lt_cv_dlopen_self_static, [dnl
2025 _LT_TRY_DLOPEN_SELF(
2026 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2027 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2028 ])
2029 fi
2030
2031 CPPFLAGS=$save_CPPFLAGS
2032 LDFLAGS=$save_LDFLAGS
2033 LIBS=$save_LIBS
2034 ;;
2035 esac
2036
2037 case $lt_cv_dlopen_self in
2038 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2039 *) enable_dlopen_self=unknown ;;
2040 esac
2041
2042 case $lt_cv_dlopen_self_static in
2043 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2044 *) enable_dlopen_self_static=unknown ;;
2045 esac
2046 fi
2047 _LT_DECL([dlopen_support], [enable_dlopen], [0],
2048 [Whether dlopen is supported])
2049 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
2050 [Whether dlopen of programs is supported])
2051 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
2052 [Whether dlopen of statically linked programs is supported])
2053 ])# LT_SYS_DLOPEN_SELF
2054
2055 # Old name:
2056 AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
2057 dnl aclocal-1.4 backwards compatibility:
2058 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
2059
2060
2061 # _LT_COMPILER_C_O([TAGNAME])
2062 # ---------------------------
2063 # Check to see if options -c and -o are simultaneously supported by compiler.
2064 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
2065 m4_defun([_LT_COMPILER_C_O],
2066 [m4_require([_LT_DECL_SED])dnl
2067 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2068 m4_require([_LT_TAG_COMPILER])dnl
2069 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2070 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2071 [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2072 $RM -r conftest 2>/dev/null
2073 mkdir conftest
2074 cd conftest
2075 mkdir out
2076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2077
2078 lt_compiler_flag="-o out/conftest2.$ac_objext"
2079 # Insert the option either (1) after the last *FLAGS variable, or
2080 # (2) before a word containing "conftest.", or (3) at the end.
2081 # Note that $ac_compile itself does not contain backslashes and begins
2082 # with a dollar sign (not a hyphen), so the echo should work correctly.
2083 lt_compile=`echo "$ac_compile" | $SED \
2084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2085 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2086 -e 's:$: $lt_compiler_flag:'`
2087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2088 (eval "$lt_compile" 2>out/conftest.err)
2089 ac_status=$?
2090 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2093 then
2094 # The compiler can only warn and ignore the option if not recognized
2095 # So say no if there are warnings
2096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
2097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2099 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2100 fi
2101 fi
2102 chmod u+w . 2>&AS_MESSAGE_LOG_FD
2103 $RM conftest*
2104 # SGI C++ compiler will create directory out/ii_files/ for
2105 # template instantiation
2106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
2107 $RM out/* && rmdir out
2108 cd ..
2109 $RM -r conftest
2110 $RM conftest*
2111 ])
2112 _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
2113 [Does compiler simultaneously support -c and -o options?])
2114 ])# _LT_COMPILER_C_O
2115
2116
2117 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
2118 # ----------------------------------
2119 # Check to see if we can do hard links to lock some files if needed
2120 m4_defun([_LT_COMPILER_FILE_LOCKS],
2121 [m4_require([_LT_ENABLE_LOCK])dnl
2122 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2123 _LT_COMPILER_C_O([$1])
2124
2125 hard_links=nottested
2126 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
2127 # do not overwrite the value of need_locks provided by the user
2128 AC_MSG_CHECKING([if we can lock with hard links])
2129 hard_links=yes
2130 $RM conftest*
2131 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2132 touch conftest.a
2133 ln conftest.a conftest.b 2>&5 || hard_links=no
2134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2135 AC_MSG_RESULT([$hard_links])
2136 if test no = "$hard_links"; then
2137 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
2138 need_locks=warn
2139 fi
2140 else
2141 need_locks=no
2142 fi
2143 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
2144 ])# _LT_COMPILER_FILE_LOCKS
2145
2146
2147 # _LT_CHECK_OBJDIR
2148 # ----------------
2149 m4_defun([_LT_CHECK_OBJDIR],
2150 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2151 [rm -f .libs 2>/dev/null
2152 mkdir .libs 2>/dev/null
2153 if test -d .libs; then
2154 lt_cv_objdir=.libs
2155 else
2156 # MS-DOS does not allow filenames that begin with a dot.
2157 lt_cv_objdir=_libs
2158 fi
2159 rmdir .libs 2>/dev/null])
2160 objdir=$lt_cv_objdir
2161 _LT_DECL([], [objdir], [0],
2162 [The name of the directory that contains temporary libtool files])dnl
2163 m4_pattern_allow([LT_OBJDIR])dnl
2164 AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
2165 [Define to the sub-directory where libtool stores uninstalled libraries.])
2166 ])# _LT_CHECK_OBJDIR
2167
2168
2169 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
2170 # --------------------------------------
2171 # Check hardcoding attributes.
2172 m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
2173 [AC_MSG_CHECKING([how to hardcode library paths into programs])
2174 _LT_TAGVAR(hardcode_action, $1)=
2175 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
2176 test -n "$_LT_TAGVAR(runpath_var, $1)" ||
2177 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
2178
2179 # We can hardcode non-existent directories.
2180 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
2181 # If the only mechanism to avoid hardcoding is shlibpath_var, we
2182 # have to relink, otherwise we might link with an installed library
2183 # when we should be linking with a yet-to-be-installed one
2184 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
2185 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
2186 # Linking always hardcodes the temporary library directory.
2187 _LT_TAGVAR(hardcode_action, $1)=relink
2188 else
2189 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2190 _LT_TAGVAR(hardcode_action, $1)=immediate
2191 fi
2192 else
2193 # We cannot hardcode anything, or else we can only hardcode existing
2194 # directories.
2195 _LT_TAGVAR(hardcode_action, $1)=unsupported
2196 fi
2197 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
2198
2199 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
2200 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
2201 # Fast installation is not supported
2202 enable_fast_install=no
2203 elif test yes = "$shlibpath_overrides_runpath" ||
2204 test no = "$enable_shared"; then
2205 # Fast installation is not necessary
2206 enable_fast_install=needless
2207 fi
2208 _LT_TAGDECL([], [hardcode_action], [0],
2209 [How to hardcode a shared library path into an executable])
2210 ])# _LT_LINKER_HARDCODE_LIBPATH
2211
2212
2213 # _LT_CMD_STRIPLIB
2214 # ----------------
2215 m4_defun([_LT_CMD_STRIPLIB],
2216 [m4_require([_LT_DECL_EGREP])
2217 striplib=
2218 old_striplib=
2219 AC_MSG_CHECKING([whether stripping libraries is possible])
2220 if test -z "$STRIP"; then
2221 AC_MSG_RESULT([no])
2222 else
2223 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2224 old_striplib="$STRIP --strip-debug"
2225 striplib="$STRIP --strip-unneeded"
2226 AC_MSG_RESULT([yes])
2227 else
2228 case $host_os in
2229 darwin*)
2230 # FIXME - insert some real tests, host_os isn't really good enough
2231 striplib="$STRIP -x"
2232 old_striplib="$STRIP -S"
2233 AC_MSG_RESULT([yes])
2234 ;;
2235 freebsd*)
2236 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2237 old_striplib="$STRIP --strip-debug"
2238 striplib="$STRIP --strip-unneeded"
2239 AC_MSG_RESULT([yes])
2240 else
2241 AC_MSG_RESULT([no])
2242 fi
2243 ;;
2244 *)
2245 AC_MSG_RESULT([no])
2246 ;;
2247 esac
2248 fi
2249 fi
2250 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
2251 _LT_DECL([], [striplib], [1])
2252 ])# _LT_CMD_STRIPLIB
2253
2254
2255 # _LT_PREPARE_MUNGE_PATH_LIST
2256 # ---------------------------
2257 # Make sure func_munge_path_list() is defined correctly.
2258 m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
2259 [[# func_munge_path_list VARIABLE PATH
2260 # -----------------------------------
2261 # VARIABLE is name of variable containing _space_ separated list of
2262 # directories to be munged by the contents of PATH, which is string
2263 # having a format:
2264 # "DIR[:DIR]:"
2265 # string "DIR[ DIR]" will be prepended to VARIABLE
2266 # ":DIR[:DIR]"
2267 # string "DIR[ DIR]" will be appended to VARIABLE
2268 # "DIRP[:DIRP]::[DIRA:]DIRA"
2269 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
2270 # "DIRA[ DIRA]" will be appended to VARIABLE
2271 # "DIR[:DIR]"
2272 # VARIABLE will be replaced by "DIR[ DIR]"
2273 func_munge_path_list ()
2274 {
2275 case x@S|@2 in
2276 x)
2277 ;;
2278 *:)
2279 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
2280 ;;
2281 x:*)
2282 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
2283 ;;
2284 *::*)
2285 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2286 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
2287 ;;
2288 *)
2289 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
2290 ;;
2291 esac
2292 }
2293 ]])# _LT_PREPARE_PATH_LIST
2294
2295
2296 # _LT_SYS_DYNAMIC_LINKER([TAG])
2297 # -----------------------------
2298 # PORTME Fill in your ld.so characteristics
2299 m4_defun([_LT_SYS_DYNAMIC_LINKER],
2300 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2301 m4_require([_LT_DECL_EGREP])dnl
2302 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2303 m4_require([_LT_DECL_OBJDUMP])dnl
2304 m4_require([_LT_DECL_SED])dnl
2305 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2306 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
2307 AC_MSG_CHECKING([dynamic linker characteristics])
2308 m4_if([$1],
2309 [], [
2310 if test yes = "$GCC"; then
2311 case $host_os in
2312 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
2313 *) lt_awk_arg='/^libraries:/' ;;
2314 esac
2315 case $host_os in
2316 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
2317 *) lt_sed_strip_eq='s|=/|/|g' ;;
2318 esac
2319 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2320 case $lt_search_path_spec in
2321 *\;*)
2322 # if the path contains ";" then we assume it to be the separator
2323 # otherwise default to the standard path separator (i.e. ":") - it is
2324 # assumed that no part of a normal pathname contains ";" but that should
2325 # okay in the real world where ";" in dirpaths is itself problematic.
2326 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2327 ;;
2328 *)
2329 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2330 ;;
2331 esac
2332 # Ok, now we have the path, separated by spaces, we can step through it
2333 # and add multilib dir if necessary...
2334 lt_tmp_lt_search_path_spec=
2335 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2336 # ...but if some path component already ends with the multilib dir we assume
2337 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
2338 case "$lt_multi_os_dir; $lt_search_path_spec " in
2339 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
2340 lt_multi_os_dir=
2341 ;;
2342 esac
2343 for lt_sys_path in $lt_search_path_spec; do
2344 if test -d "$lt_sys_path$lt_multi_os_dir"; then
2345 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
2346 elif test -n "$lt_multi_os_dir"; then
2347 test -d "$lt_sys_path" && \
2348 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2349 fi
2350 done
2351 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2352 BEGIN {RS = " "; FS = "/|\n";} {
2353 lt_foo = "";
2354 lt_count = 0;
2355 for (lt_i = NF; lt_i > 0; lt_i--) {
2356 if ($lt_i != "" && $lt_i != ".") {
2357 if ($lt_i == "..") {
2358 lt_count++;
2359 } else {
2360 if (lt_count == 0) {
2361 lt_foo = "/" $lt_i lt_foo;
2362 } else {
2363 lt_count--;
2364 }
2365 }
2366 }
2367 }
2368 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2369 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2370 }'`
2371 # AWK program above erroneously prepends '/' to C:/dos/paths
2372 # for these hosts.
2373 case $host_os in
2374 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2375 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
2376 esac
2377 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
2378 else
2379 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2380 fi])
2381 library_names_spec=
2382 libname_spec='lib$name'
2383 soname_spec=
2384 shrext_cmds=.so
2385 postinstall_cmds=
2386 postuninstall_cmds=
2387 finish_cmds=
2388 finish_eval=
2389 shlibpath_var=
2390 shlibpath_overrides_runpath=unknown
2391 version_type=none
2392 dynamic_linker="$host_os ld.so"
2393 sys_lib_dlsearch_path_spec="/lib /usr/lib"
2394 need_lib_prefix=unknown
2395 hardcode_into_libs=no
2396
2397 # when you set need_version to no, make sure it does not cause -set_version
2398 # flags to be left without arguments
2399 need_version=unknown
2400
2401 AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
2402 [User-defined run-time library search path.])
2403
2404 case $host_os in
2405 aix3*)
2406 version_type=linux # correct to gnu/linux during the next big refactor
2407 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
2408 shlibpath_var=LIBPATH
2409
2410 # AIX 3 has no versioning support, so we append a major version to the name.
2411 soname_spec='$libname$release$shared_ext$major'
2412 ;;
2413
2414 aix[[4-9]]*)
2415 version_type=linux # correct to gnu/linux during the next big refactor
2416 need_lib_prefix=no
2417 need_version=no
2418 hardcode_into_libs=yes
2419 if test ia64 = "$host_cpu"; then
2420 # AIX 5 supports IA64
2421 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
2422 shlibpath_var=LD_LIBRARY_PATH
2423 else
2424 # With GCC up to 2.95.x, collect2 would create an import file
2425 # for dependence libraries. The import file would start with
2426 # the line '#! .'. This would cause the generated library to
2427 # depend on '.', always an invalid library. This was fixed in
2428 # development snapshots of GCC prior to 3.0.
2429 case $host_os in
2430 aix4 | aix4.[[01]] | aix4.[[01]].*)
2431 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2432 echo ' yes '
2433 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
2434 :
2435 else
2436 can_build_shared=no
2437 fi
2438 ;;
2439 esac
2440 # Using Import Files as archive members, it is possible to support
2441 # filename-based versioning of shared library archives on AIX. While
2442 # this would work for both with and without runtime linking, it will
2443 # prevent static linking of such archives. So we do filename-based
2444 # shared library versioning with .so extension only, which is used
2445 # when both runtime linking and shared linking is enabled.
2446 # Unfortunately, runtime linking may impact performance, so we do
2447 # not want this to be the default eventually. Also, we use the
2448 # versioned .so libs for executables only if there is the -brtl
2449 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
2450 # To allow for filename-based versioning support, we need to create
2451 # libNAME.so.V as an archive file, containing:
2452 # *) an Import File, referring to the versioned filename of the
2453 # archive as well as the shared archive member, telling the
2454 # bitwidth (32 or 64) of that shared object, and providing the
2455 # list of exported symbols of that shared object, eventually
2456 # decorated with the 'weak' keyword
2457 # *) the shared object with the F_LOADONLY flag set, to really avoid
2458 # it being seen by the linker.
2459 # At run time we better use the real file rather than another symlink,
2460 # but for link time we create the symlink libNAME.so -> libNAME.so.V
2461
2462 case $with_aix_soname,$aix_use_runtimelinking in
2463 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
2464 # soname into executable. Probably we can add versioning support to
2465 # collect2, so additional links can be useful in future.
2466 aix,yes) # traditional libtool
2467 dynamic_linker='AIX unversionable lib.so'
2468 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2469 # instead of lib<name>.a to let people know that these are not
2470 # typical AIX shared libraries.
2471 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2472 ;;
2473 aix,no) # traditional AIX only
2474 dynamic_linker='AIX lib.a[(]lib.so.V[)]'
2475 # We preserve .a as extension for shared libraries through AIX4.2
2476 # and later when we are not doing run time linking.
2477 library_names_spec='$libname$release.a $libname.a'
2478 soname_spec='$libname$release$shared_ext$major'
2479 ;;
2480 svr4,*) # full svr4 only
2481 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
2482 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2483 # We do not specify a path in Import Files, so LIBPATH fires.
2484 shlibpath_overrides_runpath=yes
2485 ;;
2486 *,yes) # both, prefer svr4
2487 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
2488 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
2489 # unpreferred sharedlib libNAME.a needs extra handling
2490 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
2491 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
2492 # We do not specify a path in Import Files, so LIBPATH fires.
2493 shlibpath_overrides_runpath=yes
2494 ;;
2495 *,no) # both, prefer aix
2496 dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
2497 library_names_spec='$libname$release.a $libname.a'
2498 soname_spec='$libname$release$shared_ext$major'
2499 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
2500 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
2501 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
2502 ;;
2503 esac
2504 shlibpath_var=LIBPATH
2505 fi
2506 ;;
2507
2508 amigaos*)
2509 case $host_cpu in
2510 powerpc)
2511 # Since July 2007 AmigaOS4 officially supports .so libraries.
2512 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
2513 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2514 ;;
2515 m68k)
2516 library_names_spec='$libname.ixlibrary $libname.a'
2517 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2518 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2519 ;;
2520 esac
2521 ;;
2522
2523 beos*)
2524 library_names_spec='$libname$shared_ext'
2525 dynamic_linker="$host_os ld.so"
2526 shlibpath_var=LIBRARY_PATH
2527 ;;
2528
2529 bsdi[[45]]*)
2530 version_type=linux # correct to gnu/linux during the next big refactor
2531 need_version=no
2532 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2533 soname_spec='$libname$release$shared_ext$major'
2534 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2535 shlibpath_var=LD_LIBRARY_PATH
2536 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2537 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2538 # the default ld.so.conf also contains /usr/contrib/lib and
2539 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2540 # libtool to hard-code these into programs
2541 ;;
2542
2543 cygwin* | mingw* | pw32* | cegcc*)
2544 version_type=windows
2545 shrext_cmds=.dll
2546 need_version=no
2547 need_lib_prefix=no
2548
2549 case $GCC,$cc_basename in
2550 yes,*)
2551 # gcc
2552 library_names_spec='$libname.dll.a'
2553 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2554 postinstall_cmds='base_file=`basename \$file`~
2555 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2556 dldir=$destdir/`dirname \$dlpath`~
2557 test -d \$dldir || mkdir -p \$dldir~
2558 $install_prog $dir/$dlname \$dldir/$dlname~
2559 chmod a+x \$dldir/$dlname~
2560 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2561 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2562 fi'
2563 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2564 dlpath=$dir/\$dldll~
2565 $RM \$dlpath'
2566 shlibpath_overrides_runpath=yes
2567
2568 case $host_os in
2569 cygwin*)
2570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2571 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2572 m4_if([$1], [],[
2573 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
2574 ;;
2575 mingw* | cegcc*)
2576 # MinGW DLLs use traditional 'lib' prefix
2577 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2578 ;;
2579 pw32*)
2580 # pw32 DLLs use 'pw' prefix rather than 'lib'
2581 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2582 ;;
2583 esac
2584 dynamic_linker='Win32 ld.exe'
2585 ;;
2586
2587 *,cl* | *,icl*)
2588 # Native MSVC or ICC
2589 libname_spec='$name'
2590 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2591 library_names_spec='$libname.dll.lib'
2592
2593 case $build_os in
2594 mingw*)
2595 sys_lib_search_path_spec=
2596 lt_save_ifs=$IFS
2597 IFS=';'
2598 for lt_path in $LIB
2599 do
2600 IFS=$lt_save_ifs
2601 # Let DOS variable expansion print the short 8.3 style file name.
2602 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
2603 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
2604 done
2605 IFS=$lt_save_ifs
2606 # Convert to MSYS style.
2607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2608 ;;
2609 cygwin*)
2610 # Convert to unix form, then to dos form, then back to unix form
2611 # but this time dos style (no spaces!) so that the unix form looks
2612 # like /cygdrive/c/PROGRA~1:/cygdr...
2613 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
2614 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
2615 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2616 ;;
2617 *)
2618 sys_lib_search_path_spec=$LIB
2619 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2620 # It is most probably a Windows format PATH.
2621 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2622 else
2623 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2624 fi
2625 # FIXME: find the short name or the path components, as spaces are
2626 # common. (e.g. "Program Files" -> "PROGRA~1")
2627 ;;
2628 esac
2629
2630 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2631 postinstall_cmds='base_file=`basename \$file`~
2632 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
2633 dldir=$destdir/`dirname \$dlpath`~
2634 test -d \$dldir || mkdir -p \$dldir~
2635 $install_prog $dir/$dlname \$dldir/$dlname'
2636 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2637 dlpath=$dir/\$dldll~
2638 $RM \$dlpath'
2639 shlibpath_overrides_runpath=yes
2640 dynamic_linker='Win32 link.exe'
2641 ;;
2642
2643 *)
2644 # Assume MSVC and ICC wrapper
2645 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
2646 dynamic_linker='Win32 ld.exe'
2647 ;;
2648 esac
2649 # FIXME: first we should search . and the directory the executable is in
2650 shlibpath_var=PATH
2651 ;;
2652
2653 darwin* | rhapsody*)
2654 dynamic_linker="$host_os dyld"
2655 version_type=darwin
2656 need_lib_prefix=no
2657 need_version=no
2658 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
2659 soname_spec='$libname$release$major$shared_ext'
2660 shlibpath_overrides_runpath=yes
2661 shlibpath_var=DYLD_LIBRARY_PATH
2662 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2663 m4_if([$1], [],[
2664 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2665 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2666 ;;
2667
2668 dgux*)
2669 version_type=linux # correct to gnu/linux during the next big refactor
2670 need_lib_prefix=no
2671 need_version=no
2672 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2673 soname_spec='$libname$release$shared_ext$major'
2674 shlibpath_var=LD_LIBRARY_PATH
2675 ;;
2676
2677 freebsd* | dragonfly* | midnightbsd*)
2678 # DragonFly does not have aout. When/if they implement a new
2679 # versioning mechanism, adjust this.
2680 if test -x /usr/bin/objformat; then
2681 objformat=`/usr/bin/objformat`
2682 else
2683 case $host_os in
2684 freebsd[[23]].*) objformat=aout ;;
2685 *) objformat=elf ;;
2686 esac
2687 fi
2688 version_type=freebsd-$objformat
2689 case $version_type in
2690 freebsd-elf*)
2691 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2692 soname_spec='$libname$release$shared_ext$major'
2693 need_version=no
2694 need_lib_prefix=no
2695 ;;
2696 freebsd-*)
2697 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2698 need_version=yes
2699 ;;
2700 esac
2701 shlibpath_var=LD_LIBRARY_PATH
2702 case $host_os in
2703 freebsd2.*)
2704 shlibpath_overrides_runpath=yes
2705 ;;
2706 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2707 shlibpath_overrides_runpath=yes
2708 hardcode_into_libs=yes
2709 ;;
2710 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
2711 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
2712 shlibpath_overrides_runpath=no
2713 hardcode_into_libs=yes
2714 ;;
2715 *) # from 4.6 on, and DragonFly
2716 shlibpath_overrides_runpath=yes
2717 hardcode_into_libs=yes
2718 ;;
2719 esac
2720 ;;
2721
2722 haiku*)
2723 version_type=linux # correct to gnu/linux during the next big refactor
2724 need_lib_prefix=no
2725 need_version=no
2726 dynamic_linker="$host_os runtime_loader"
2727 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2728 soname_spec='$libname$release$shared_ext$major'
2729 shlibpath_var=LIBRARY_PATH
2730 shlibpath_overrides_runpath=no
2731 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
2732 hardcode_into_libs=yes
2733 ;;
2734
2735 hpux9* | hpux10* | hpux11*)
2736 # Give a soname corresponding to the major version so that dld.sl refuses to
2737 # link against other versions.
2738 version_type=sunos
2739 need_lib_prefix=no
2740 need_version=no
2741 case $host_cpu in
2742 ia64*)
2743 shrext_cmds='.so'
2744 hardcode_into_libs=yes
2745 dynamic_linker="$host_os dld.so"
2746 shlibpath_var=LD_LIBRARY_PATH
2747 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2748 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2749 soname_spec='$libname$release$shared_ext$major'
2750 if test 32 = "$HPUX_IA64_MODE"; then
2751 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2752 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
2753 else
2754 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2755 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
2756 fi
2757 ;;
2758 hppa*64*)
2759 shrext_cmds='.sl'
2760 hardcode_into_libs=yes
2761 dynamic_linker="$host_os dld.sl"
2762 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2763 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2764 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2765 soname_spec='$libname$release$shared_ext$major'
2766 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2767 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2768 ;;
2769 *)
2770 shrext_cmds='.sl'
2771 dynamic_linker="$host_os dld.sl"
2772 shlibpath_var=SHLIB_PATH
2773 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2774 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2775 soname_spec='$libname$release$shared_ext$major'
2776 ;;
2777 esac
2778 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2779 postinstall_cmds='chmod 555 $lib'
2780 # or fails outright, so override atomically:
2781 install_override_mode=555
2782 ;;
2783
2784 interix[[3-9]]*)
2785 version_type=linux # correct to gnu/linux during the next big refactor
2786 need_lib_prefix=no
2787 need_version=no
2788 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2789 soname_spec='$libname$release$shared_ext$major'
2790 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
2791 shlibpath_var=LD_LIBRARY_PATH
2792 shlibpath_overrides_runpath=no
2793 hardcode_into_libs=yes
2794 ;;
2795
2796 irix5* | irix6* | nonstopux*)
2797 case $host_os in
2798 nonstopux*) version_type=nonstopux ;;
2799 *)
2800 if test yes = "$lt_cv_prog_gnu_ld"; then
2801 version_type=linux # correct to gnu/linux during the next big refactor
2802 else
2803 version_type=irix
2804 fi ;;
2805 esac
2806 need_lib_prefix=no
2807 need_version=no
2808 soname_spec='$libname$release$shared_ext$major'
2809 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
2810 case $host_os in
2811 irix5* | nonstopux*)
2812 libsuff= shlibsuff=
2813 ;;
2814 *)
2815 case $LD in # libtool.m4 will add one of these switches to LD
2816 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2817 libsuff= shlibsuff= libmagic=32-bit;;
2818 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2819 libsuff=32 shlibsuff=N32 libmagic=N32;;
2820 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2821 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2822 *) libsuff= shlibsuff= libmagic=never-match;;
2823 esac
2824 ;;
2825 esac
2826 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2827 shlibpath_overrides_runpath=no
2828 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
2829 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
2830 hardcode_into_libs=yes
2831 ;;
2832
2833 # No shared lib support for Linux oldld, aout, or coff.
2834 linux*oldld* | linux*aout* | linux*coff*)
2835 dynamic_linker=no
2836 ;;
2837
2838 linux*android*)
2839 version_type=none # Android doesn't support versioned libraries.
2840 need_lib_prefix=no
2841 need_version=no
2842 library_names_spec='$libname$release$shared_ext'
2843 soname_spec='$libname$release$shared_ext'
2844 finish_cmds=
2845 shlibpath_var=LD_LIBRARY_PATH
2846 shlibpath_overrides_runpath=yes
2847
2848 # This implies no fast_install, which is unacceptable.
2849 # Some rework will be needed to allow for fast_install
2850 # before this can be enabled.
2851 hardcode_into_libs=yes
2852
2853 dynamic_linker='Android linker'
2854 # Don't embed -rpath directories since the linker doesn't support them.
2855 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2856 ;;
2857
2858 # This must be glibc/ELF.
2859 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2860 version_type=linux # correct to gnu/linux during the next big refactor
2861 need_lib_prefix=no
2862 need_version=no
2863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2864 soname_spec='$libname$release$shared_ext$major'
2865 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2866 shlibpath_var=LD_LIBRARY_PATH
2867 shlibpath_overrides_runpath=no
2868
2869 # Some binutils ld are patched to set DT_RUNPATH
2870 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2871 [lt_cv_shlibpath_overrides_runpath=no
2872 save_LDFLAGS=$LDFLAGS
2873 save_libdir=$libdir
2874 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2875 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2876 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2877 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2878 [lt_cv_shlibpath_overrides_runpath=yes])])
2879 LDFLAGS=$save_LDFLAGS
2880 libdir=$save_libdir
2881 ])
2882 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
2883
2884 # This implies no fast_install, which is unacceptable.
2885 # Some rework will be needed to allow for fast_install
2886 # before this can be enabled.
2887 hardcode_into_libs=yes
2888
2889 # Add ABI-specific directories to the system library path.
2890 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2891
2892 # Ideally, we could use ldconfig to report *all* directores which are
2893 # searched for libraries, however this is still not possible. Aside from not
2894 # being certain /sbin/ldconfig is available, command
2895 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
2896 # even though it is searched at run-time. Try to do the best guess by
2897 # appending ld.so.conf contents (and includes) to the search path.
2898 if test -f /etc/ld.so.conf; then
2899 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2900 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2901 fi
2902
2903 # We used to test for /lib/ld.so.1 and disable shared libraries on
2904 # powerpc, because MkLinux only supported shared libraries with the
2905 # GNU dynamic linker. Since this was broken with cross compilers,
2906 # most powerpc-linux boxes support dynamic linking these days and
2907 # people can always --disable-shared, the test was removed, and we
2908 # assume the GNU/Linux dynamic linker is in use.
2909 dynamic_linker='GNU/Linux ld.so'
2910 ;;
2911
2912 netbsd*)
2913 version_type=sunos
2914 need_lib_prefix=no
2915 need_version=no
2916 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
2917 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2919 dynamic_linker='NetBSD (a.out) ld.so'
2920 else
2921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2922 soname_spec='$libname$release$shared_ext$major'
2923 dynamic_linker='NetBSD ld.elf_so'
2924 fi
2925 shlibpath_var=LD_LIBRARY_PATH
2926 shlibpath_overrides_runpath=yes
2927 hardcode_into_libs=yes
2928 ;;
2929
2930 newsos6)
2931 version_type=linux # correct to gnu/linux during the next big refactor
2932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2933 shlibpath_var=LD_LIBRARY_PATH
2934 shlibpath_overrides_runpath=yes
2935 ;;
2936
2937 *nto* | *qnx*)
2938 version_type=qnx
2939 need_lib_prefix=no
2940 need_version=no
2941 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
2942 soname_spec='$libname$release$shared_ext$major'
2943 shlibpath_var=LD_LIBRARY_PATH
2944 shlibpath_overrides_runpath=no
2945 hardcode_into_libs=yes
2946 dynamic_linker='ldqnx.so'
2947 ;;
2948
2949 openbsd* | bitrig*)
2950 version_type=sunos
2951 sys_lib_dlsearch_path_spec=/usr/lib
2952 need_lib_prefix=no
2953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
2954 need_version=no
2955 else
2956 need_version=yes
2957 fi
2958 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
2959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2960 shlibpath_var=LD_LIBRARY_PATH
2961 shlibpath_overrides_runpath=yes
2962 ;;
2963
2964 os2*)
2965 libname_spec='$name'
2966 version_type=windows
2967 shrext_cmds=.dll
2968 need_version=no
2969 need_lib_prefix=no
2970 # OS/2 can only load a DLL with a base name of 8 characters or less.
2971 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
2972 v=$($ECHO $release$versuffix | tr -d .-);
2973 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
2974 $ECHO $n$v`$shared_ext'
2975 library_names_spec='${libname}_dll.$libext'
2976 dynamic_linker='OS/2 ld.exe'
2977 shlibpath_var=BEGINLIBPATH
2978 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2979 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2980 postinstall_cmds='base_file=`basename \$file`~
2981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
2982 dldir=$destdir/`dirname \$dlpath`~
2983 test -d \$dldir || mkdir -p \$dldir~
2984 $install_prog $dir/$dlname \$dldir/$dlname~
2985 chmod a+x \$dldir/$dlname~
2986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
2987 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
2988 fi'
2989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
2990 dlpath=$dir/\$dldll~
2991 $RM \$dlpath'
2992 ;;
2993
2994 osf3* | osf4* | osf5*)
2995 version_type=osf
2996 need_lib_prefix=no
2997 need_version=no
2998 soname_spec='$libname$release$shared_ext$major'
2999 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3000 shlibpath_var=LD_LIBRARY_PATH
3001 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3002 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3003 ;;
3004
3005 rdos*)
3006 dynamic_linker=no
3007 ;;
3008
3009 solaris*)
3010 version_type=linux # correct to gnu/linux during the next big refactor
3011 need_lib_prefix=no
3012 need_version=no
3013 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3014 soname_spec='$libname$release$shared_ext$major'
3015 shlibpath_var=LD_LIBRARY_PATH
3016 shlibpath_overrides_runpath=yes
3017 hardcode_into_libs=yes
3018 # ldd complains unless libraries are executable
3019 postinstall_cmds='chmod +x $lib'
3020 ;;
3021
3022 sunos4*)
3023 version_type=sunos
3024 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
3025 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3026 shlibpath_var=LD_LIBRARY_PATH
3027 shlibpath_overrides_runpath=yes
3028 if test yes = "$with_gnu_ld"; then
3029 need_lib_prefix=no
3030 fi
3031 need_version=yes
3032 ;;
3033
3034 sysv4 | sysv4.3*)
3035 version_type=linux # correct to gnu/linux during the next big refactor
3036 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3037 soname_spec='$libname$release$shared_ext$major'
3038 shlibpath_var=LD_LIBRARY_PATH
3039 case $host_vendor in
3040 sni)
3041 shlibpath_overrides_runpath=no
3042 need_lib_prefix=no
3043 runpath_var=LD_RUN_PATH
3044 ;;
3045 siemens)
3046 need_lib_prefix=no
3047 ;;
3048 motorola)
3049 need_lib_prefix=no
3050 need_version=no
3051 shlibpath_overrides_runpath=no
3052 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3053 ;;
3054 esac
3055 ;;
3056
3057 sysv4*MP*)
3058 if test -d /usr/nec; then
3059 version_type=linux # correct to gnu/linux during the next big refactor
3060 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
3061 soname_spec='$libname$shared_ext.$major'
3062 shlibpath_var=LD_LIBRARY_PATH
3063 fi
3064 ;;
3065
3066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3067 version_type=sco
3068 need_lib_prefix=no
3069 need_version=no
3070 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
3071 soname_spec='$libname$release$shared_ext$major'
3072 shlibpath_var=LD_LIBRARY_PATH
3073 shlibpath_overrides_runpath=yes
3074 hardcode_into_libs=yes
3075 if test yes = "$with_gnu_ld"; then
3076 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3077 else
3078 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3079 case $host_os in
3080 sco3.2v5*)
3081 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3082 ;;
3083 esac
3084 fi
3085 sys_lib_dlsearch_path_spec='/usr/lib'
3086 ;;
3087
3088 tpf*)
3089 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
3090 version_type=linux # correct to gnu/linux during the next big refactor
3091 need_lib_prefix=no
3092 need_version=no
3093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3094 shlibpath_var=LD_LIBRARY_PATH
3095 shlibpath_overrides_runpath=no
3096 hardcode_into_libs=yes
3097 ;;
3098
3099 uts4*)
3100 version_type=linux # correct to gnu/linux during the next big refactor
3101 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
3102 soname_spec='$libname$release$shared_ext$major'
3103 shlibpath_var=LD_LIBRARY_PATH
3104 ;;
3105
3106 *)
3107 dynamic_linker=no
3108 ;;
3109 esac
3110 AC_MSG_RESULT([$dynamic_linker])
3111 test no = "$dynamic_linker" && can_build_shared=no
3112
3113 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3114 if test yes = "$GCC"; then
3115 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3116 fi
3117
3118 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
3119 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
3120 fi
3121
3122 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
3123 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
3124 fi
3125
3126 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
3127 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
3128
3129 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
3130 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
3131
3132 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
3133 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
3134
3135 _LT_DECL([], [variables_saved_for_relink], [1],
3136 [Variables whose values should be saved in libtool wrapper scripts and
3137 restored at link time])
3138 _LT_DECL([], [need_lib_prefix], [0],
3139 [Do we need the "lib" prefix for modules?])
3140 _LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
3141 _LT_DECL([], [version_type], [0], [Library versioning type])
3142 _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
3143 _LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
3144 _LT_DECL([], [shlibpath_overrides_runpath], [0],
3145 [Is shlibpath searched before the hard-coded library search path?])
3146 _LT_DECL([], [libname_spec], [1], [Format of library name prefix])
3147 _LT_DECL([], [library_names_spec], [1],
3148 [[List of archive names. First name is the real one, the rest are links.
3149 The last name is the one that the linker finds with -lNAME]])
3150 _LT_DECL([], [soname_spec], [1],
3151 [[The coded name of the library, if different from the real name]])
3152 _LT_DECL([], [install_override_mode], [1],
3153 [Permission mode override for installation of shared libraries])
3154 _LT_DECL([], [postinstall_cmds], [2],
3155 [Command to use after installation of a shared archive])
3156 _LT_DECL([], [postuninstall_cmds], [2],
3157 [Command to use after uninstallation of a shared archive])
3158 _LT_DECL([], [finish_cmds], [2],
3159 [Commands used to finish a libtool library installation in a directory])
3160 _LT_DECL([], [finish_eval], [1],
3161 [[As "finish_cmds", except a single script fragment to be evaled but
3162 not shown]])
3163 _LT_DECL([], [hardcode_into_libs], [0],
3164 [Whether we should hardcode library paths into libraries])
3165 _LT_DECL([], [sys_lib_search_path_spec], [2],
3166 [Compile-time system search path for libraries])
3167 _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
3168 [Detected run-time system search path for libraries])
3169 _LT_DECL([], [configure_time_lt_sys_library_path], [2],
3170 [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
3171 ])# _LT_SYS_DYNAMIC_LINKER
3172
3173
3174 # _LT_PATH_TOOL_PREFIX(TOOL)
3175 # --------------------------
3176 # find a file program that can recognize shared library
3177 AC_DEFUN([_LT_PATH_TOOL_PREFIX],
3178 [m4_require([_LT_DECL_EGREP])dnl
3179 AC_MSG_CHECKING([for $1])
3180 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3181 [case $MAGIC_CMD in
3182 [[\\/*] | ?:[\\/]*])
3183 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
3184 ;;
3185 *)
3186 lt_save_MAGIC_CMD=$MAGIC_CMD
3187 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3188 dnl $ac_dummy forces splitting on constant user-supplied paths.
3189 dnl POSIX.2 word splitting is done only on the output of word expansions,
3190 dnl not every word. This closes a longstanding sh security hole.
3191 ac_dummy="m4_if([$2], , $PATH, [$2])"
3192 for ac_dir in $ac_dummy; do
3193 IFS=$lt_save_ifs
3194 test -z "$ac_dir" && ac_dir=.
3195 if test -f "$ac_dir/$1"; then
3196 lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
3197 if test -n "$file_magic_test_file"; then
3198 case $deplibs_check_method in
3199 "file_magic "*)
3200 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3201 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
3202 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3203 $EGREP "$file_magic_regex" > /dev/null; then
3204 :
3205 else
3206 cat <<_LT_EOF 1>&2
3207
3208 *** Warning: the command libtool uses to detect shared libraries,
3209 *** $file_magic_cmd, produces output that libtool cannot recognize.
3210 *** The result is that libtool may fail to recognize shared libraries
3211 *** as such. This will affect the creation of libtool libraries that
3212 *** depend on shared libraries, but programs linked with such libtool
3213 *** libraries will work regardless of this problem. Nevertheless, you
3214 *** may want to report the problem to your system manager and/or to
3215 *** bug-libtool@gnu.org
3216
3217 _LT_EOF
3218 fi ;;
3219 esac
3220 fi
3221 break
3222 fi
3223 done
3224 IFS=$lt_save_ifs
3225 MAGIC_CMD=$lt_save_MAGIC_CMD
3226 ;;
3227 esac])
3228 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
3229 if test -n "$MAGIC_CMD"; then
3230 AC_MSG_RESULT($MAGIC_CMD)
3231 else
3232 AC_MSG_RESULT(no)
3233 fi
3234 _LT_DECL([], [MAGIC_CMD], [0],
3235 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
3236 ])# _LT_PATH_TOOL_PREFIX
3237
3238 # Old name:
3239 AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
3240 dnl aclocal-1.4 backwards compatibility:
3241 dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
3242
3243
3244 # _LT_PATH_MAGIC
3245 # --------------
3246 # find a file program that can recognize a shared library
3247 m4_defun([_LT_PATH_MAGIC],
3248 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3249 if test -z "$lt_cv_path_MAGIC_CMD"; then
3250 if test -n "$ac_tool_prefix"; then
3251 _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3252 else
3253 MAGIC_CMD=:
3254 fi
3255 fi
3256 ])# _LT_PATH_MAGIC
3257
3258
3259 # LT_PATH_LD
3260 # ----------
3261 # find the pathname to the GNU or non-GNU linker
3262 AC_DEFUN([LT_PATH_LD],
3263 [AC_REQUIRE([AC_PROG_CC])dnl
3264 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3265 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3266 m4_require([_LT_DECL_SED])dnl
3267 m4_require([_LT_DECL_EGREP])dnl
3268 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
3269
3270 AC_ARG_WITH([gnu-ld],
3271 [AS_HELP_STRING([--with-gnu-ld],
3272 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3273 [test no = "$withval" || with_gnu_ld=yes],
3274 [with_gnu_ld=no])dnl
3275
3276 ac_prog=ld
3277 if test yes = "$GCC"; then
3278 # Check if gcc -print-prog-name=ld gives a path.
3279 AC_MSG_CHECKING([for ld used by $CC])
3280 case $host in
3281 *-*-mingw*)
3282 # gcc leaves a trailing carriage return, which upsets mingw
3283 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3284 *)
3285 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3286 esac
3287 case $ac_prog in
3288 # Accept absolute paths.
3289 [[\\/]]* | ?:[[\\/]]*)
3290 re_direlt='/[[^/]][[^/]]*/\.\./'
3291 # Canonicalize the pathname of ld
3292 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3293 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3294 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3295 done
3296 test -z "$LD" && LD=$ac_prog
3297 ;;
3298 "")
3299 # If it fails, then pretend we aren't using GCC.
3300 ac_prog=ld
3301 ;;
3302 *)
3303 # If it is relative, then search for the first ld in PATH.
3304 with_gnu_ld=unknown
3305 ;;
3306 esac
3307 elif test yes = "$with_gnu_ld"; then
3308 AC_MSG_CHECKING([for GNU ld])
3309 else
3310 AC_MSG_CHECKING([for non-GNU ld])
3311 fi
3312 AC_CACHE_VAL(lt_cv_path_LD,
3313 [if test -z "$LD"; then
3314 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3315 for ac_dir in $PATH; do
3316 IFS=$lt_save_ifs
3317 test -z "$ac_dir" && ac_dir=.
3318 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3319 lt_cv_path_LD=$ac_dir/$ac_prog
3320 # Check to see if the program is GNU ld. I'd rather use --version,
3321 # but apparently some variants of GNU ld only accept -v.
3322 # Break only if it was the GNU/non-GNU ld that we prefer.
3323 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3324 *GNU* | *'with BFD'*)
3325 test no != "$with_gnu_ld" && break
3326 ;;
3327 *)
3328 test yes != "$with_gnu_ld" && break
3329 ;;
3330 esac
3331 fi
3332 done
3333 IFS=$lt_save_ifs
3334 else
3335 lt_cv_path_LD=$LD # Let the user override the test with a path.
3336 fi])
3337 LD=$lt_cv_path_LD
3338 if test -n "$LD"; then
3339 AC_MSG_RESULT($LD)
3340 else
3341 AC_MSG_RESULT(no)
3342 fi
3343 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3344 _LT_PATH_LD_GNU
3345 AC_SUBST([LD])
3346
3347 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3348 ])# LT_PATH_LD
3349
3350 # Old names:
3351 AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
3352 AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
3353 dnl aclocal-1.4 backwards compatibility:
3354 dnl AC_DEFUN([AM_PROG_LD], [])
3355 dnl AC_DEFUN([AC_PROG_LD], [])
3356
3357
3358 # _LT_PATH_LD_GNU
3359 #- --------------
3360 m4_defun([_LT_PATH_LD_GNU],
3361 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3362 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3363 case `$LD -v 2>&1 </dev/null` in
3364 *GNU* | *'with BFD'*)
3365 lt_cv_prog_gnu_ld=yes
3366 ;;
3367 *)
3368 lt_cv_prog_gnu_ld=no
3369 ;;
3370 esac])
3371 with_gnu_ld=$lt_cv_prog_gnu_ld
3372 ])# _LT_PATH_LD_GNU
3373
3374
3375 # _LT_CMD_RELOAD
3376 # --------------
3377 # find reload flag for linker
3378 # -- PORTME Some linkers may need a different reload flag.
3379 m4_defun([_LT_CMD_RELOAD],
3380 [AC_CACHE_CHECK([for $LD option to reload object files],
3381 lt_cv_ld_reload_flag,
3382 [lt_cv_ld_reload_flag='-r'])
3383 reload_flag=$lt_cv_ld_reload_flag
3384 case $reload_flag in
3385 "" | " "*) ;;
3386 *) reload_flag=" $reload_flag" ;;
3387 esac
3388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3389 case $host_os in
3390 cygwin* | mingw* | pw32* | cegcc*)
3391 if test yes != "$GCC"; then
3392 reload_cmds=false
3393 fi
3394 ;;
3395 darwin*)
3396 if test yes = "$GCC"; then
3397 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
3398 else
3399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3400 fi
3401 ;;
3402 esac
3403 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3404 _LT_TAGDECL([], [reload_cmds], [2])dnl
3405 ])# _LT_CMD_RELOAD
3406
3407
3408 # _LT_PATH_DD
3409 # -----------
3410 # find a working dd
3411 m4_defun([_LT_PATH_DD],
3412 [AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
3413 [printf 0123456789abcdef0123456789abcdef >conftest.i
3414 cat conftest.i conftest.i >conftest2.i
3415 : ${lt_DD:=$DD}
3416 AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
3417 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3418 cmp -s conftest.i conftest.out \
3419 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
3420 fi])
3421 rm -f conftest.i conftest2.i conftest.out])
3422 ])# _LT_PATH_DD
3423
3424
3425 # _LT_CMD_TRUNCATE
3426 # ----------------
3427 # find command to truncate a binary pipe
3428 m4_defun([_LT_CMD_TRUNCATE],
3429 [m4_require([_LT_PATH_DD])
3430 AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
3431 [printf 0123456789abcdef0123456789abcdef >conftest.i
3432 cat conftest.i conftest.i >conftest2.i
3433 lt_cv_truncate_bin=
3434 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
3435 cmp -s conftest.i conftest.out \
3436 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
3437 fi
3438 rm -f conftest.i conftest2.i conftest.out
3439 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
3440 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
3441 [Command to truncate a binary pipe])
3442 ])# _LT_CMD_TRUNCATE
3443
3444
3445 # _LT_CHECK_MAGIC_METHOD
3446 # ----------------------
3447 # how to check for library dependencies
3448 # -- PORTME fill in with the dynamic library characteristics
3449 m4_defun([_LT_CHECK_MAGIC_METHOD],
3450 [m4_require([_LT_DECL_EGREP])
3451 m4_require([_LT_DECL_OBJDUMP])
3452 AC_CACHE_CHECK([how to recognize dependent libraries],
3453 lt_cv_deplibs_check_method,
3454 [lt_cv_file_magic_cmd='$MAGIC_CMD'
3455 lt_cv_file_magic_test_file=
3456 lt_cv_deplibs_check_method='unknown'
3457 # Need to set the preceding variable on all platforms that support
3458 # interlibrary dependencies.
3459 # 'none' -- dependencies not supported.
3460 # 'unknown' -- same as none, but documents that we really don't know.
3461 # 'pass_all' -- all dependencies passed with no checks.
3462 # 'test_compile' -- check by making test program.
3463 # 'file_magic [[regex]]' -- check by looking for files in library path
3464 # that responds to the $file_magic_cmd with a given extended regex.
3465 # If you have 'file' or equivalent on your system and you're not sure
3466 # whether 'pass_all' will *always* work, you probably want this one.
3467
3468 case $host_os in
3469 aix[[4-9]]*)
3470 lt_cv_deplibs_check_method=pass_all
3471 ;;
3472
3473 beos*)
3474 lt_cv_deplibs_check_method=pass_all
3475 ;;
3476
3477 bsdi[[45]]*)
3478 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3479 lt_cv_file_magic_cmd='$FILECMD -L'
3480 lt_cv_file_magic_test_file=/shlib/libc.so
3481 ;;
3482
3483 cygwin*)
3484 # func_win32_libid is a shell function defined in ltmain.sh
3485 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3486 lt_cv_file_magic_cmd='func_win32_libid'
3487 ;;
3488
3489 mingw* | pw32*)
3490 # Base MSYS/MinGW do not provide the 'file' command needed by
3491 # func_win32_libid shell function, so use a weaker test based on 'objdump',
3492 # unless we find 'file', for example because we are cross-compiling.
3493 if ( file / ) >/dev/null 2>&1; then
3494 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3495 lt_cv_file_magic_cmd='func_win32_libid'
3496 else
3497 # Keep this pattern in sync with the one in func_win32_libid.
3498 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
3499 lt_cv_file_magic_cmd='$OBJDUMP -f'
3500 fi
3501 ;;
3502
3503 cegcc*)
3504 # use the weaker test based on 'objdump'. See mingw*.
3505 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3506 lt_cv_file_magic_cmd='$OBJDUMP -f'
3507 ;;
3508
3509 darwin* | rhapsody*)
3510 lt_cv_deplibs_check_method=pass_all
3511 ;;
3512
3513 freebsd* | dragonfly* | midnightbsd*)
3514 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3515 case $host_cpu in
3516 i*86 )
3517 # Not sure whether the presence of OpenBSD here was a mistake.
3518 # Let's accept both of them until this is cleared up.
3519 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3520 lt_cv_file_magic_cmd=$FILECMD
3521 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3522 ;;
3523 esac
3524 else
3525 lt_cv_deplibs_check_method=pass_all
3526 fi
3527 ;;
3528
3529 haiku*)
3530 lt_cv_deplibs_check_method=pass_all
3531 ;;
3532
3533 hpux10.20* | hpux11*)
3534 lt_cv_file_magic_cmd=$FILECMD
3535 case $host_cpu in
3536 ia64*)
3537 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3538 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3539 ;;
3540 hppa*64*)
3541 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
3542 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3543 ;;
3544 *)
3545 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
3546 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3547 ;;
3548 esac
3549 ;;
3550
3551 interix[[3-9]]*)
3552 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3553 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3554 ;;
3555
3556 irix5* | irix6* | nonstopux*)
3557 case $LD in
3558 *-32|*"-32 ") libmagic=32-bit;;
3559 *-n32|*"-n32 ") libmagic=N32;;
3560 *-64|*"-64 ") libmagic=64-bit;;
3561 *) libmagic=never-match;;
3562 esac
3563 lt_cv_deplibs_check_method=pass_all
3564 ;;
3565
3566 # This must be glibc/ELF.
3567 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3568 lt_cv_deplibs_check_method=pass_all
3569 ;;
3570
3571 netbsd*)
3572 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3573 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3574 else
3575 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3576 fi
3577 ;;
3578
3579 newos6*)
3580 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3581 lt_cv_file_magic_cmd=$FILECMD
3582 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3583 ;;
3584
3585 *nto* | *qnx*)
3586 lt_cv_deplibs_check_method=pass_all
3587 ;;
3588
3589 openbsd* | bitrig*)
3590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
3591 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3592 else
3593 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3594 fi
3595 ;;
3596
3597 osf3* | osf4* | osf5*)
3598 lt_cv_deplibs_check_method=pass_all
3599 ;;
3600
3601 rdos*)
3602 lt_cv_deplibs_check_method=pass_all
3603 ;;
3604
3605 solaris*)
3606 lt_cv_deplibs_check_method=pass_all
3607 ;;
3608
3609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3610 lt_cv_deplibs_check_method=pass_all
3611 ;;
3612
3613 sysv4 | sysv4.3*)
3614 case $host_vendor in
3615 motorola)
3616 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3617 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3618 ;;
3619 ncr)
3620 lt_cv_deplibs_check_method=pass_all
3621 ;;
3622 sequent)
3623 lt_cv_file_magic_cmd='/bin/file'
3624 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3625 ;;
3626 sni)
3627 lt_cv_file_magic_cmd='/bin/file'
3628 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3629 lt_cv_file_magic_test_file=/lib/libc.so
3630 ;;
3631 siemens)
3632 lt_cv_deplibs_check_method=pass_all
3633 ;;
3634 pc)
3635 lt_cv_deplibs_check_method=pass_all
3636 ;;
3637 esac
3638 ;;
3639
3640 tpf*)
3641 lt_cv_deplibs_check_method=pass_all
3642 ;;
3643 os2*)
3644 lt_cv_deplibs_check_method=pass_all
3645 ;;
3646 esac
3647 ])
3648
3649 file_magic_glob=
3650 want_nocaseglob=no
3651 if test "$build" = "$host"; then
3652 case $host_os in
3653 mingw* | pw32*)
3654 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
3655 want_nocaseglob=yes
3656 else
3657 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
3658 fi
3659 ;;
3660 esac
3661 fi
3662
3663 file_magic_cmd=$lt_cv_file_magic_cmd
3664 deplibs_check_method=$lt_cv_deplibs_check_method
3665 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3666
3667 _LT_DECL([], [deplibs_check_method], [1],
3668 [Method to check whether dependent libraries are shared objects])
3669 _LT_DECL([], [file_magic_cmd], [1],
3670 [Command to use when deplibs_check_method = "file_magic"])
3671 _LT_DECL([], [file_magic_glob], [1],
3672 [How to find potential files when deplibs_check_method = "file_magic"])
3673 _LT_DECL([], [want_nocaseglob], [1],
3674 [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
3675 ])# _LT_CHECK_MAGIC_METHOD
3676
3677
3678 # LT_PATH_NM
3679 # ----------
3680 # find the pathname to a BSD- or MS-compatible name lister
3681 AC_DEFUN([LT_PATH_NM],
3682 [AC_REQUIRE([AC_PROG_CC])dnl
3683 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3684 [if test -n "$NM"; then
3685 # Let the user override the test.
3686 lt_cv_path_NM=$NM
3687 else
3688 lt_nm_to_check=${ac_tool_prefix}nm
3689 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3690 lt_nm_to_check="$lt_nm_to_check nm"
3691 fi
3692 for lt_tmp_nm in $lt_nm_to_check; do
3693 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3694 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3695 IFS=$lt_save_ifs
3696 test -z "$ac_dir" && ac_dir=.
3697 tmp_nm=$ac_dir/$lt_tmp_nm
3698 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3699 # Check to see if the nm accepts a BSD-compat flag.
3700 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3701 # nm: unknown option "B" ignored
3702 # Tru64's nm complains that /dev/null is an invalid object file
3703 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3704 case $build_os in
3705 mingw*) lt_bad_file=conftest.nm/nofile ;;
3706 *) lt_bad_file=/dev/null ;;
3707 esac
3708 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
3709 *$lt_bad_file* | *'Invalid file or object type'*)
3710 lt_cv_path_NM="$tmp_nm -B"
3711 break 2
3712 ;;
3713 *)
3714 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
3715 */dev/null*)
3716 lt_cv_path_NM="$tmp_nm -p"
3717 break 2
3718 ;;
3719 *)
3720 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3721 continue # so that we can try to find one that supports BSD flags
3722 ;;
3723 esac
3724 ;;
3725 esac
3726 fi
3727 done
3728 IFS=$lt_save_ifs
3729 done
3730 : ${lt_cv_path_NM=no}
3731 fi])
3732 if test no != "$lt_cv_path_NM"; then
3733 NM=$lt_cv_path_NM
3734 else
3735 # Didn't find any BSD compatible name lister, look for dumpbin.
3736 if test -n "$DUMPBIN"; then :
3737 # Let the user override the test.
3738 else
3739 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3740 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
3741 *COFF*)
3742 DUMPBIN="$DUMPBIN -symbols -headers"
3743 ;;
3744 *)
3745 DUMPBIN=:
3746 ;;
3747 esac
3748 fi
3749 AC_SUBST([DUMPBIN])
3750 if test : != "$DUMPBIN"; then
3751 NM=$DUMPBIN
3752 fi
3753 fi
3754 test -z "$NM" && NM=nm
3755 AC_SUBST([NM])
3756 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3757
3758 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3759 [lt_cv_nm_interface="BSD nm"
3760 echo "int some_variable = 0;" > conftest.$ac_ext
3761 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3762 (eval "$ac_compile" 2>conftest.err)
3763 cat conftest.err >&AS_MESSAGE_LOG_FD
3764 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3765 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3766 cat conftest.err >&AS_MESSAGE_LOG_FD
3767 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3768 cat conftest.out >&AS_MESSAGE_LOG_FD
3769 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3770 lt_cv_nm_interface="MS dumpbin"
3771 fi
3772 rm -f conftest*])
3773 ])# LT_PATH_NM
3774
3775 # Old names:
3776 AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
3777 AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
3778 dnl aclocal-1.4 backwards compatibility:
3779 dnl AC_DEFUN([AM_PROG_NM], [])
3780 dnl AC_DEFUN([AC_PROG_NM], [])
3781
3782 # _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3783 # --------------------------------
3784 # how to determine the name of the shared library
3785 # associated with a specific link library.
3786 # -- PORTME fill in with the dynamic library characteristics
3787 m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
3788 [m4_require([_LT_DECL_EGREP])
3789 m4_require([_LT_DECL_OBJDUMP])
3790 m4_require([_LT_DECL_DLLTOOL])
3791 AC_CACHE_CHECK([how to associate runtime and link libraries],
3792 lt_cv_sharedlib_from_linklib_cmd,
3793 [lt_cv_sharedlib_from_linklib_cmd='unknown'
3794
3795 case $host_os in
3796 cygwin* | mingw* | pw32* | cegcc*)
3797 # two different shell functions defined in ltmain.sh;
3798 # decide which one to use based on capabilities of $DLLTOOL
3799 case `$DLLTOOL --help 2>&1` in
3800 *--identify-strict*)
3801 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
3802 ;;
3803 *)
3804 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
3805 ;;
3806 esac
3807 ;;
3808 *)
3809 # fallback: assume linklib IS sharedlib
3810 lt_cv_sharedlib_from_linklib_cmd=$ECHO
3811 ;;
3812 esac
3813 ])
3814 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
3815 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
3816
3817 _LT_DECL([], [sharedlib_from_linklib_cmd], [1],
3818 [Command to associate shared and link libraries])
3819 ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3820
3821
3822 # _LT_PATH_MANIFEST_TOOL
3823 # ----------------------
3824 # locate the manifest tool
3825 m4_defun([_LT_PATH_MANIFEST_TOOL],
3826 [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
3827 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
3828 AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
3829 [lt_cv_path_mainfest_tool=no
3830 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
3831 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
3832 cat conftest.err >&AS_MESSAGE_LOG_FD
3833 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
3834 lt_cv_path_mainfest_tool=yes
3835 fi
3836 rm -f conftest*])
3837 if test yes != "$lt_cv_path_mainfest_tool"; then
3838 MANIFEST_TOOL=:
3839 fi
3840 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
3841 ])# _LT_PATH_MANIFEST_TOOL
3842
3843
3844 # _LT_DLL_DEF_P([FILE])
3845 # ---------------------
3846 # True iff FILE is a Windows DLL '.def' file.
3847 # Keep in sync with func_dll_def_p in the libtool script
3848 AC_DEFUN([_LT_DLL_DEF_P],
3849 [dnl
3850 test DEF = "`$SED -n dnl
3851 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
3852 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
3853 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
3854 -e q dnl Only consider the first "real" line
3855 $1`" dnl
3856 ])# _LT_DLL_DEF_P
3857
3858
3859 # LT_LIB_M
3860 # --------
3861 # check for math library
3862 AC_DEFUN([LT_LIB_M],
3863 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3864 LIBM=
3865 case $host in
3866 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3867 # These system don't have libm, or don't need it
3868 ;;
3869 *-ncr-sysv4.3*)
3870 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
3871 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3872 ;;
3873 *)
3874 AC_CHECK_LIB(m, cos, LIBM=-lm)
3875 ;;
3876 esac
3877 AC_SUBST([LIBM])
3878 ])# LT_LIB_M
3879
3880 # Old name:
3881 AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
3882 dnl aclocal-1.4 backwards compatibility:
3883 dnl AC_DEFUN([AC_CHECK_LIBM], [])
3884
3885
3886 # _LT_COMPILER_NO_RTTI([TAGNAME])
3887 # -------------------------------
3888 m4_defun([_LT_COMPILER_NO_RTTI],
3889 [m4_require([_LT_TAG_COMPILER])dnl
3890
3891 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3892
3893 if test yes = "$GCC"; then
3894 case $cc_basename in
3895 nvcc*)
3896 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
3897 *)
3898 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
3899 esac
3900
3901 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3902 lt_cv_prog_compiler_rtti_exceptions,
3903 [-fno-rtti -fno-exceptions], [],
3904 [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
3905 fi
3906 _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
3907 [Compiler flag to turn off builtin functions])
3908 ])# _LT_COMPILER_NO_RTTI
3909
3910
3911 # _LT_CMD_GLOBAL_SYMBOLS
3912 # ----------------------
3913 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3914 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3915 AC_REQUIRE([AC_PROG_CC])dnl
3916 AC_REQUIRE([AC_PROG_AWK])dnl
3917 AC_REQUIRE([LT_PATH_NM])dnl
3918 AC_REQUIRE([LT_PATH_LD])dnl
3919 m4_require([_LT_DECL_SED])dnl
3920 m4_require([_LT_DECL_EGREP])dnl
3921 m4_require([_LT_TAG_COMPILER])dnl
3922
3923 # Check for command to grab the raw symbol name followed by C symbol from nm.
3924 AC_MSG_CHECKING([command to parse $NM output from $compiler object])
3925 AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
3926 [
3927 # These are sane defaults that work on at least a few old systems.
3928 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
3929
3930 # Character class describing NM global symbol codes.
3931 symcode='[[BCDEGRST]]'
3932
3933 # Regexp to match symbols that can be accessed directly from C.
3934 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3935
3936 # Define system-specific variables.
3937 case $host_os in
3938 aix*)
3939 symcode='[[BCDT]]'
3940 ;;
3941 cygwin* | mingw* | pw32* | cegcc*)
3942 symcode='[[ABCDGISTW]]'
3943 ;;
3944 hpux*)
3945 if test ia64 = "$host_cpu"; then
3946 symcode='[[ABCDEGRST]]'
3947 fi
3948 ;;
3949 irix* | nonstopux*)
3950 symcode='[[BCDEGRST]]'
3951 ;;
3952 osf*)
3953 symcode='[[BCDEGQRST]]'
3954 ;;
3955 solaris*)
3956 symcode='[[BDRT]]'
3957 ;;
3958 sco3.2v5*)
3959 symcode='[[DT]]'
3960 ;;
3961 sysv4.2uw2*)
3962 symcode='[[DT]]'
3963 ;;
3964 sysv5* | sco5v6* | unixware* | OpenUNIX*)
3965 symcode='[[ABDT]]'
3966 ;;
3967 sysv4)
3968 symcode='[[DFNSTU]]'
3969 ;;
3970 esac
3971
3972 # If we're using GNU nm, then use its standard symbol codes.
3973 case `$NM -V 2>&1` in
3974 *GNU* | *'with BFD'*)
3975 symcode='[[ABCDGIRSTW]]' ;;
3976 esac
3977
3978 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3979 # Gets list of data symbols to import.
3980 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
3981 # Adjust the below global symbol transforms to fixup imported variables.
3982 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
3983 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
3984 lt_c_name_lib_hook="\
3985 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
3986 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
3987 else
3988 # Disable hooks by default.
3989 lt_cv_sys_global_symbol_to_import=
3990 lt_cdecl_hook=
3991 lt_c_name_hook=
3992 lt_c_name_lib_hook=
3993 fi
3994
3995 # Transform an extracted symbol line into a proper C declaration.
3996 # Some systems (esp. on ia64) link data and code symbols differently,
3997 # so use this general approach.
3998 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
3999 $lt_cdecl_hook\
4000 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
4001 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
4002
4003 # Transform an extracted symbol line into symbol name and symbol address
4004 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
4005 $lt_c_name_hook\
4006 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4007 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
4008
4009 # Transform an extracted symbol line into symbol name with lib prefix and
4010 # symbol address.
4011 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
4012 $lt_c_name_lib_hook\
4013 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
4014 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
4015 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
4016
4017 # Handle CRLF in mingw tool chain
4018 opt_cr=
4019 case $build_os in
4020 mingw*)
4021 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4022 ;;
4023 esac
4024
4025 # Try without a prefix underscore, then with it.
4026 for ac_symprfx in "" "_"; do
4027
4028 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4029 symxfrm="\\1 $ac_symprfx\\2 \\2"
4030
4031 # Write the raw and C identifiers.
4032 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4033 # Fake it for dumpbin and say T for any non-static function,
4034 # D for any global variable and I for any imported variable.
4035 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
4036 # which start with @ or ?.
4037 lt_cv_sys_global_symbol_pipe="$AWK ['"\
4038 " {last_section=section; section=\$ 3};"\
4039 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
4040 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4041 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
4042 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
4043 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
4044 " \$ 0!~/External *\|/{next};"\
4045 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4046 " {if(hide[section]) next};"\
4047 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
4048 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
4049 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
4050 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
4051 " ' prfx=^$ac_symprfx]"
4052 else
4053 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4054 fi
4055 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
4056
4057 # Check to see that the pipe works correctly.
4058 pipe_works=no
4059
4060 rm -f conftest*
4061 cat > conftest.$ac_ext <<_LT_EOF
4062 #ifdef __cplusplus
4063 extern "C" {
4064 #endif
4065 char nm_test_var;
4066 void nm_test_func(void);
4067 void nm_test_func(void){}
4068 #ifdef __cplusplus
4069 }
4070 #endif
4071 int main(){nm_test_var='a';nm_test_func();return(0);}
4072 _LT_EOF
4073
4074 if AC_TRY_EVAL(ac_compile); then
4075 # Now try to grab the symbols.
4076 nlist=conftest.nm
4077 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
4078 # Try sorting and uniquifying the output.
4079 if sort "$nlist" | uniq > "$nlist"T; then
4080 mv -f "$nlist"T "$nlist"
4081 else
4082 rm -f "$nlist"T
4083 fi
4084
4085 # Make sure that we snagged all the symbols we need.
4086 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4087 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4088 cat <<_LT_EOF > conftest.$ac_ext
4089 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
4090 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
4091 /* DATA imports from DLLs on WIN32 can't be const, because runtime
4092 relocations are performed -- see ld's documentation on pseudo-relocs. */
4093 # define LT@&t@_DLSYM_CONST
4094 #elif defined __osf__
4095 /* This system does not cope well with relocations in const data. */
4096 # define LT@&t@_DLSYM_CONST
4097 #else
4098 # define LT@&t@_DLSYM_CONST const
4099 #endif
4100
4101 #ifdef __cplusplus
4102 extern "C" {
4103 #endif
4104
4105 _LT_EOF
4106 # Now generate the symbol file.
4107 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4108
4109 cat <<_LT_EOF >> conftest.$ac_ext
4110
4111 /* The mapping between symbol names and symbols. */
4112 LT@&t@_DLSYM_CONST struct {
4113 const char *name;
4114 void *address;
4115 }
4116 lt__PROGRAM__LTX_preloaded_symbols[[]] =
4117 {
4118 { "@PROGRAM@", (void *) 0 },
4119 _LT_EOF
4120 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4121 cat <<\_LT_EOF >> conftest.$ac_ext
4122 {0, (void *) 0}
4123 };
4124
4125 /* This works around a problem in FreeBSD linker */
4126 #ifdef FREEBSD_WORKAROUND
4127 static const void *lt_preloaded_setup() {
4128 return lt__PROGRAM__LTX_preloaded_symbols;
4129 }
4130 #endif
4131
4132 #ifdef __cplusplus
4133 }
4134 #endif
4135 _LT_EOF
4136 # Now try linking the two files.
4137 mv conftest.$ac_objext conftstm.$ac_objext
4138 lt_globsym_save_LIBS=$LIBS
4139 lt_globsym_save_CFLAGS=$CFLAGS
4140 LIBS=conftstm.$ac_objext
4141 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4142 if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
4143 pipe_works=yes
4144 fi
4145 LIBS=$lt_globsym_save_LIBS
4146 CFLAGS=$lt_globsym_save_CFLAGS
4147 else
4148 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4149 fi
4150 else
4151 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4152 fi
4153 else
4154 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4155 fi
4156 else
4157 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4158 cat conftest.$ac_ext >&5
4159 fi
4160 rm -rf conftest* conftst*
4161
4162 # Do not use the global_symbol_pipe unless it works.
4163 if test yes = "$pipe_works"; then
4164 break
4165 else
4166 lt_cv_sys_global_symbol_pipe=
4167 fi
4168 done
4169 ])
4170 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4171 lt_cv_sys_global_symbol_to_cdecl=
4172 fi
4173 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4174 AC_MSG_RESULT(failed)
4175 else
4176 AC_MSG_RESULT(ok)
4177 fi
4178
4179 # Response file support.
4180 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4181 nm_file_list_spec='@'
4182 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
4183 nm_file_list_spec='@'
4184 fi
4185
4186 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
4187 [Take the output of nm and produce a listing of raw symbols and C names])
4188 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
4189 [Transform the output of nm in a proper C declaration])
4190 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
4191 [Transform the output of nm into a list of symbols to manually relocate])
4192 _LT_DECL([global_symbol_to_c_name_address],
4193 [lt_cv_sys_global_symbol_to_c_name_address], [1],
4194 [Transform the output of nm in a C name address pair])
4195 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
4196 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
4197 [Transform the output of nm in a C name address pair when lib prefix is needed])
4198 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
4199 [The name lister interface])
4200 _LT_DECL([], [nm_file_list_spec], [1],
4201 [Specify filename containing input files for $NM])
4202 ]) # _LT_CMD_GLOBAL_SYMBOLS
4203
4204
4205 # _LT_COMPILER_PIC([TAGNAME])
4206 # ---------------------------
4207 m4_defun([_LT_COMPILER_PIC],
4208 [m4_require([_LT_TAG_COMPILER])dnl
4209 _LT_TAGVAR(lt_prog_compiler_wl, $1)=
4210 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4211 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4212
4213 m4_if([$1], [CXX], [
4214 # C++ specific cases for pic, static, wl, etc.
4215 if test yes = "$GXX"; then
4216 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4217 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4218
4219 case $host_os in
4220 aix*)
4221 # All AIX code is PIC.
4222 if test ia64 = "$host_cpu"; then
4223 # AIX 5 now supports IA64 processor
4224 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4225 fi
4226 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4227 ;;
4228
4229 amigaos*)
4230 case $host_cpu in
4231 powerpc)
4232 # see comment about AmigaOS4 .so support
4233 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4234 ;;
4235 m68k)
4236 # FIXME: we need at least 68020 code to build shared libraries, but
4237 # adding the '-m68020' flag to GCC prevents building anything better,
4238 # like '-m68040'.
4239 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4240 ;;
4241 esac
4242 ;;
4243
4244 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4245 # PIC is the default for these OSes.
4246 ;;
4247 mingw* | cygwin* | os2* | pw32* | cegcc*)
4248 # This hack is so that the source file can tell whether it is being
4249 # built for inclusion in a dll (and should export symbols for example).
4250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4251 # (--disable-auto-import) libraries
4252 m4_if([$1], [GCJ], [],
4253 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4254 case $host_os in
4255 os2*)
4256 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4257 ;;
4258 esac
4259 ;;
4260 darwin* | rhapsody*)
4261 # PIC is the default on this platform
4262 # Common symbols not allowed in MH_DYLIB files
4263 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4264 ;;
4265 *djgpp*)
4266 # DJGPP does not support shared libraries at all
4267 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4268 ;;
4269 haiku*)
4270 # PIC is the default for Haiku.
4271 # The "-static" flag exists, but is broken.
4272 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4273 ;;
4274 interix[[3-9]]*)
4275 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4276 # Instead, we relocate shared libraries at runtime.
4277 ;;
4278 sysv4*MP*)
4279 if test -d /usr/nec; then
4280 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4281 fi
4282 ;;
4283 hpux*)
4284 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4285 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4286 # sets the default TLS model and affects inlining.
4287 case $host_cpu in
4288 hppa*64*)
4289 ;;
4290 *)
4291 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4292 ;;
4293 esac
4294 ;;
4295 *qnx* | *nto*)
4296 # QNX uses GNU C++, but need to define -shared option too, otherwise
4297 # it will coredump.
4298 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4299 ;;
4300 *)
4301 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4302 ;;
4303 esac
4304 else
4305 case $host_os in
4306 aix[[4-9]]*)
4307 # All AIX code is PIC.
4308 if test ia64 = "$host_cpu"; then
4309 # AIX 5 now supports IA64 processor
4310 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4311 else
4312 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4313 fi
4314 ;;
4315 chorus*)
4316 case $cc_basename in
4317 cxch68*)
4318 # Green Hills C++ Compiler
4319 # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
4320 ;;
4321 esac
4322 ;;
4323 mingw* | cygwin* | os2* | pw32* | cegcc*)
4324 # This hack is so that the source file can tell whether it is being
4325 # built for inclusion in a dll (and should export symbols for example).
4326 m4_if([$1], [GCJ], [],
4327 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4328 ;;
4329 dgux*)
4330 case $cc_basename in
4331 ec++*)
4332 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4333 ;;
4334 ghcx*)
4335 # Green Hills C++ Compiler
4336 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4337 ;;
4338 *)
4339 ;;
4340 esac
4341 ;;
4342 freebsd* | dragonfly* | midnightbsd*)
4343 # FreeBSD uses GNU C++
4344 ;;
4345 hpux9* | hpux10* | hpux11*)
4346 case $cc_basename in
4347 CC*)
4348 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4349 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4350 if test ia64 != "$host_cpu"; then
4351 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4352 fi
4353 ;;
4354 aCC*)
4355 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4356 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4357 case $host_cpu in
4358 hppa*64*|ia64*)
4359 # +Z the default
4360 ;;
4361 *)
4362 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4363 ;;
4364 esac
4365 ;;
4366 *)
4367 ;;
4368 esac
4369 ;;
4370 interix*)
4371 # This is c89, which is MS Visual C++ (no shared libs)
4372 # Anyone wants to do a port?
4373 ;;
4374 irix5* | irix6* | nonstopux*)
4375 case $cc_basename in
4376 CC*)
4377 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4378 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4379 # CC pic flag -KPIC is the default.
4380 ;;
4381 *)
4382 ;;
4383 esac
4384 ;;
4385 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4386 case $cc_basename in
4387 KCC*)
4388 # KAI C++ Compiler
4389 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4390 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4391 ;;
4392 ecpc* )
4393 # old Intel C++ for x86_64, which still supported -KPIC.
4394 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4396 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4397 ;;
4398 icpc* )
4399 # Intel C++, used to be incompatible with GCC.
4400 # ICC 10 doesn't accept -KPIC any more.
4401 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4402 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4403 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4404 ;;
4405 pgCC* | pgcpp*)
4406 # Portland Group C++ compiler
4407 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4408 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4409 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4410 ;;
4411 cxx*)
4412 # Compaq C++
4413 # Make sure the PIC flag is empty. It appears that all Alpha
4414 # Linux and Compaq Tru64 Unix objects are PIC.
4415 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4416 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4417 ;;
4418 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
4419 # IBM XL 8.0, 9.0 on PPC and BlueGene
4420 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4421 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4422 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4423 ;;
4424 *)
4425 case `$CC -V 2>&1 | $SED 5q` in
4426 *Sun\ C*)
4427 # Sun C++ 5.9
4428 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4429 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4430 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4431 ;;
4432 esac
4433 ;;
4434 esac
4435 ;;
4436 lynxos*)
4437 ;;
4438 m88k*)
4439 ;;
4440 mvs*)
4441 case $cc_basename in
4442 cxx*)
4443 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4444 ;;
4445 *)
4446 ;;
4447 esac
4448 ;;
4449 netbsd*)
4450 ;;
4451 *qnx* | *nto*)
4452 # QNX uses GNU C++, but need to define -shared option too, otherwise
4453 # it will coredump.
4454 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4455 ;;
4456 osf3* | osf4* | osf5*)
4457 case $cc_basename in
4458 KCC*)
4459 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4460 ;;
4461 RCC*)
4462 # Rational C++ 2.4.1
4463 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4464 ;;
4465 cxx*)
4466 # Digital/Compaq C++
4467 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4468 # Make sure the PIC flag is empty. It appears that all Alpha
4469 # Linux and Compaq Tru64 Unix objects are PIC.
4470 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4471 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4472 ;;
4473 *)
4474 ;;
4475 esac
4476 ;;
4477 psos*)
4478 ;;
4479 solaris*)
4480 case $cc_basename in
4481 CC* | sunCC*)
4482 # Sun C++ 4.2, 5.x and Centerline C++
4483 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4484 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4485 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4486 ;;
4487 gcx*)
4488 # Green Hills C++ Compiler
4489 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4490 ;;
4491 *)
4492 ;;
4493 esac
4494 ;;
4495 sunos4*)
4496 case $cc_basename in
4497 CC*)
4498 # Sun C++ 4.x
4499 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4500 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4501 ;;
4502 lcc*)
4503 # Lucid
4504 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4505 ;;
4506 *)
4507 ;;
4508 esac
4509 ;;
4510 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4511 case $cc_basename in
4512 CC*)
4513 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4514 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4515 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4516 ;;
4517 esac
4518 ;;
4519 tandem*)
4520 case $cc_basename in
4521 NCC*)
4522 # NonStop-UX NCC 3.20
4523 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4524 ;;
4525 *)
4526 ;;
4527 esac
4528 ;;
4529 vxworks*)
4530 ;;
4531 *)
4532 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4533 ;;
4534 esac
4535 fi
4536 ],
4537 [
4538 if test yes = "$GCC"; then
4539 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4540 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4541
4542 case $host_os in
4543 aix*)
4544 # All AIX code is PIC.
4545 if test ia64 = "$host_cpu"; then
4546 # AIX 5 now supports IA64 processor
4547 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4548 fi
4549 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4550 ;;
4551
4552 amigaos*)
4553 case $host_cpu in
4554 powerpc)
4555 # see comment about AmigaOS4 .so support
4556 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4557 ;;
4558 m68k)
4559 # FIXME: we need at least 68020 code to build shared libraries, but
4560 # adding the '-m68020' flag to GCC prevents building anything better,
4561 # like '-m68040'.
4562 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4563 ;;
4564 esac
4565 ;;
4566
4567 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4568 # PIC is the default for these OSes.
4569 ;;
4570
4571 mingw* | cygwin* | pw32* | os2* | cegcc*)
4572 # This hack is so that the source file can tell whether it is being
4573 # built for inclusion in a dll (and should export symbols for example).
4574 # Although the cygwin gcc ignores -fPIC, still need this for old-style
4575 # (--disable-auto-import) libraries
4576 m4_if([$1], [GCJ], [],
4577 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4578 case $host_os in
4579 os2*)
4580 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4581 ;;
4582 esac
4583 ;;
4584
4585 darwin* | rhapsody*)
4586 # PIC is the default on this platform
4587 # Common symbols not allowed in MH_DYLIB files
4588 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4589 ;;
4590
4591 haiku*)
4592 # PIC is the default for Haiku.
4593 # The "-static" flag exists, but is broken.
4594 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4595 ;;
4596
4597 hpux*)
4598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4600 # sets the default TLS model and affects inlining.
4601 case $host_cpu in
4602 hppa*64*)
4603 # +Z the default
4604 ;;
4605 *)
4606 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4607 ;;
4608 esac
4609 ;;
4610
4611 interix[[3-9]]*)
4612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4613 # Instead, we relocate shared libraries at runtime.
4614 ;;
4615
4616 msdosdjgpp*)
4617 # Just because we use GCC doesn't mean we suddenly get shared libraries
4618 # on systems that don't support them.
4619 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4620 enable_shared=no
4621 ;;
4622
4623 *nto* | *qnx*)
4624 # QNX uses GNU C++, but need to define -shared option too, otherwise
4625 # it will coredump.
4626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4627 ;;
4628
4629 sysv4*MP*)
4630 if test -d /usr/nec; then
4631 _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4632 fi
4633 ;;
4634
4635 *)
4636 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4637 ;;
4638 esac
4639
4640 case $cc_basename in
4641 nvcc*) # Cuda Compiler Driver 2.2
4642 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4643 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4644 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4645 fi
4646 ;;
4647 esac
4648 else
4649 # PORTME Check for flag to pass linker flags through the system compiler.
4650 case $host_os in
4651 aix*)
4652 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4653 if test ia64 = "$host_cpu"; then
4654 # AIX 5 now supports IA64 processor
4655 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4656 else
4657 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4658 fi
4659 ;;
4660
4661 darwin* | rhapsody*)
4662 # PIC is the default on this platform
4663 # Common symbols not allowed in MH_DYLIB files
4664 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4665 case $cc_basename in
4666 nagfor*)
4667 # NAG Fortran compiler
4668 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4669 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4670 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4671 ;;
4672 esac
4673 ;;
4674
4675 mingw* | cygwin* | pw32* | os2* | cegcc*)
4676 # This hack is so that the source file can tell whether it is being
4677 # built for inclusion in a dll (and should export symbols for example).
4678 m4_if([$1], [GCJ], [],
4679 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4680 case $host_os in
4681 os2*)
4682 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
4683 ;;
4684 esac
4685 ;;
4686
4687 hpux9* | hpux10* | hpux11*)
4688 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4689 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4690 # not for PA HP-UX.
4691 case $host_cpu in
4692 hppa*64*|ia64*)
4693 # +Z the default
4694 ;;
4695 *)
4696 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4697 ;;
4698 esac
4699 # Is there a better lt_prog_compiler_static that works with the bundled CC?
4700 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
4701 ;;
4702
4703 irix5* | irix6* | nonstopux*)
4704 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4705 # PIC (with -KPIC) is the default.
4706 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4707 ;;
4708
4709 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4710 case $cc_basename in
4711 # old Intel for x86_64, which still supported -KPIC.
4712 ecc*)
4713 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4714 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4715 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4716 ;;
4717 # icc used to be incompatible with GCC.
4718 # ICC 10 doesn't accept -KPIC any more.
4719 icc* | ifort*)
4720 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4721 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4722 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4723 ;;
4724 # Lahey Fortran 8.1.
4725 lf95*)
4726 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4727 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4728 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4729 ;;
4730 nagfor*)
4731 # NAG Fortran compiler
4732 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
4733 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4734 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4735 ;;
4736 tcc*)
4737 # Fabrice Bellard et al's Tiny C Compiler
4738 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4739 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4740 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4741 ;;
4742 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
4743 # Portland Group compilers (*not* the Pentium gcc compiler,
4744 # which looks to be a dead project)
4745 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4746 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4747 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4748 ;;
4749 ccc*)
4750 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4751 # All Alpha code is PIC.
4752 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4753 ;;
4754 xl* | bgxl* | bgf* | mpixl*)
4755 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
4756 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4757 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4758 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4759 ;;
4760 *)
4761 case `$CC -V 2>&1 | $SED 5q` in
4762 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4763 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4764 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4765 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4766 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4767 ;;
4768 *Sun\ F* | *Sun*Fortran*)
4769 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4770 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4771 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4772 ;;
4773 *Sun\ C*)
4774 # Sun C 5.9
4775 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4776 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4777 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4778 ;;
4779 *Intel*\ [[CF]]*Compiler*)
4780 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4781 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4782 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4783 ;;
4784 *Portland\ Group*)
4785 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4786 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4787 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4788 ;;
4789 esac
4790 ;;
4791 esac
4792 ;;
4793
4794 newsos6)
4795 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4796 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4797 ;;
4798
4799 *nto* | *qnx*)
4800 # QNX uses GNU C++, but need to define -shared option too, otherwise
4801 # it will coredump.
4802 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
4803 ;;
4804
4805 osf3* | osf4* | osf5*)
4806 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4807 # All OSF/1 code is PIC.
4808 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4809 ;;
4810
4811 rdos*)
4812 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4813 ;;
4814
4815 solaris*)
4816 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4817 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4818 case $cc_basename in
4819 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
4820 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4821 *)
4822 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4823 esac
4824 ;;
4825
4826 sunos4*)
4827 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4828 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4829 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4830 ;;
4831
4832 sysv4 | sysv4.2uw2* | sysv4.3*)
4833 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4834 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4835 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4836 ;;
4837
4838 sysv4*MP*)
4839 if test -d /usr/nec; then
4840 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4841 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4842 fi
4843 ;;
4844
4845 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4846 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4847 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4848 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4849 ;;
4850
4851 unicos*)
4852 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4853 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4854 ;;
4855
4856 uts4*)
4857 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4858 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4859 ;;
4860
4861 *)
4862 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4863 ;;
4864 esac
4865 fi
4866 ])
4867 case $host_os in
4868 # For platforms that do not support PIC, -DPIC is meaningless:
4869 *djgpp*)
4870 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4871 ;;
4872 *)
4873 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
4874 ;;
4875 esac
4876
4877 AC_CACHE_CHECK([for $compiler option to produce PIC],
4878 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
4879 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
4880 _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
4881
4882 #
4883 # Check to make sure the PIC flag actually works.
4884 #
4885 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4886 _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
4887 [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
4888 [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
4889 [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
4890 "" | " "*) ;;
4891 *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4892 esac],
4893 [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
4894 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4895 fi
4896 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
4897 [Additional compiler flags for building library objects])
4898
4899 _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
4900 [How to pass a linker flag through the compiler])
4901 #
4902 # Check to make sure the static flag actually works.
4903 #
4904 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
4905 _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
4906 _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
4907 $lt_tmp_static_flag,
4908 [],
4909 [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
4910 _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
4911 [Compiler flag to prevent dynamic linking])
4912 ])# _LT_COMPILER_PIC
4913
4914
4915 # _LT_LINKER_SHLIBS([TAGNAME])
4916 # ----------------------------
4917 # See if the linker supports building shared libraries.
4918 m4_defun([_LT_LINKER_SHLIBS],
4919 [AC_REQUIRE([LT_PATH_LD])dnl
4920 AC_REQUIRE([LT_PATH_NM])dnl
4921 m4_require([_LT_PATH_MANIFEST_TOOL])dnl
4922 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4923 m4_require([_LT_DECL_EGREP])dnl
4924 m4_require([_LT_DECL_SED])dnl
4925 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
4926 m4_require([_LT_TAG_COMPILER])dnl
4927 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4928 m4_if([$1], [CXX], [
4929 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4930 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4931 case $host_os in
4932 aix[[4-9]]*)
4933 # If we're using GNU nm, then we don't want the "-C" option.
4934 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
4935 # Without the "-l" option, or with the "-B" option, AIX nm treats
4936 # weak defined symbols like other global defined symbols, whereas
4937 # GNU nm marks them as "W".
4938 # While the 'weak' keyword is ignored in the Export File, we need
4939 # it in the Import File for the 'aix-soname' feature, so we have
4940 # to replace the "-B" option with "-P" for AIX nm.
4941 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4942 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
4943 else
4944 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
4945 fi
4946 ;;
4947 pw32*)
4948 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
4949 ;;
4950 cygwin* | mingw* | cegcc*)
4951 case $cc_basename in
4952 cl* | icl*)
4953 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4954 ;;
4955 *)
4956 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4957 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4958 ;;
4959 esac
4960 ;;
4961 *)
4962 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4963 ;;
4964 esac
4965 ], [
4966 runpath_var=
4967 _LT_TAGVAR(allow_undefined_flag, $1)=
4968 _LT_TAGVAR(always_export_symbols, $1)=no
4969 _LT_TAGVAR(archive_cmds, $1)=
4970 _LT_TAGVAR(archive_expsym_cmds, $1)=
4971 _LT_TAGVAR(compiler_needs_object, $1)=no
4972 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4973 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
4974 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4975 _LT_TAGVAR(hardcode_automatic, $1)=no
4976 _LT_TAGVAR(hardcode_direct, $1)=no
4977 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4978 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4979 _LT_TAGVAR(hardcode_libdir_separator, $1)=
4980 _LT_TAGVAR(hardcode_minus_L, $1)=no
4981 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4982 _LT_TAGVAR(inherit_rpath, $1)=no
4983 _LT_TAGVAR(link_all_deplibs, $1)=unknown
4984 _LT_TAGVAR(module_cmds, $1)=
4985 _LT_TAGVAR(module_expsym_cmds, $1)=
4986 _LT_TAGVAR(old_archive_from_new_cmds, $1)=
4987 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4988 _LT_TAGVAR(thread_safe_flag_spec, $1)=
4989 _LT_TAGVAR(whole_archive_flag_spec, $1)=
4990 # include_expsyms should be a list of space-separated symbols to be *always*
4991 # included in the symbol list
4992 _LT_TAGVAR(include_expsyms, $1)=
4993 # exclude_expsyms can be an extended regexp of symbols to exclude
4994 # it will be wrapped by ' (' and ')$', so one must not match beginning or
4995 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
4996 # as well as any symbol that contains 'd'.
4997 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
4998 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4999 # platforms (ab)use it in PIC code, but their linkers get confused if
5000 # the symbol is explicitly referenced. Since portable code cannot
5001 # rely on this symbol name, it's probably fine to never include it in
5002 # preloaded symbol tables.
5003 # Exclude shared library initialization/finalization symbols.
5004 dnl Note also adjust exclude_expsyms for C++ above.
5005 extract_expsyms_cmds=
5006
5007 case $host_os in
5008 cygwin* | mingw* | pw32* | cegcc*)
5009 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
5010 # When not using gcc, we currently assume that we are using
5011 # Microsoft Visual C++ or Intel C++ Compiler.
5012 if test yes != "$GCC"; then
5013 with_gnu_ld=no
5014 fi
5015 ;;
5016 interix*)
5017 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
5018 with_gnu_ld=yes
5019 ;;
5020 openbsd* | bitrig*)
5021 with_gnu_ld=no
5022 ;;
5023 esac
5024
5025 _LT_TAGVAR(ld_shlibs, $1)=yes
5026
5027 # On some targets, GNU ld is compatible enough with the native linker
5028 # that we're better off using the native interface for both.
5029 lt_use_gnu_ld_interface=no
5030 if test yes = "$with_gnu_ld"; then
5031 case $host_os in
5032 aix*)
5033 # The AIX port of GNU ld has always aspired to compatibility
5034 # with the native linker. However, as the warning in the GNU ld
5035 # block says, versions before 2.19.5* couldn't really create working
5036 # shared libraries, regardless of the interface used.
5037 case `$LD -v 2>&1` in
5038 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5039 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5040 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5041 *)
5042 lt_use_gnu_ld_interface=yes
5043 ;;
5044 esac
5045 ;;
5046 *)
5047 lt_use_gnu_ld_interface=yes
5048 ;;
5049 esac
5050 fi
5051
5052 if test yes = "$lt_use_gnu_ld_interface"; then
5053 # If archive_cmds runs LD, not CC, wlarc should be empty
5054 wlarc='$wl'
5055
5056 # Set some defaults for GNU ld with shared library support. These
5057 # are reset later if shared libraries are not supported. Putting them
5058 # here allows them to be overridden if necessary.
5059 runpath_var=LD_RUN_PATH
5060 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5061 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
5062 # ancient GNU ld didn't support --whole-archive et. al.
5063 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
5064 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
5065 else
5066 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5067 fi
5068 supports_anon_versioning=no
5069 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
5070 *GNU\ gold*) supports_anon_versioning=yes ;;
5071 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5072 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5073 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5074 *\ 2.11.*) ;; # other 2.11 versions
5075 *) supports_anon_versioning=yes ;;
5076 esac
5077
5078 # See if GNU ld supports shared libraries.
5079 case $host_os in
5080 aix[[3-9]]*)
5081 # On AIX/PPC, the GNU linker is very broken
5082 if test ia64 != "$host_cpu"; then
5083 _LT_TAGVAR(ld_shlibs, $1)=no
5084 cat <<_LT_EOF 1>&2
5085
5086 *** Warning: the GNU linker, at least up to release 2.19, is reported
5087 *** to be unable to reliably create shared libraries on AIX.
5088 *** Therefore, libtool is disabling shared libraries support. If you
5089 *** really care for shared libraries, you may want to install binutils
5090 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5091 *** You will then need to restart the configuration process.
5092
5093 _LT_EOF
5094 fi
5095 ;;
5096
5097 amigaos*)
5098 case $host_cpu in
5099 powerpc)
5100 # see comment about AmigaOS4 .so support
5101 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5102 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5103 ;;
5104 m68k)
5105 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5106 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5107 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5108 ;;
5109 esac
5110 ;;
5111
5112 beos*)
5113 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5114 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5115 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5116 # support --undefined. This deserves some investigation. FIXME
5117 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5118 else
5119 _LT_TAGVAR(ld_shlibs, $1)=no
5120 fi
5121 ;;
5122
5123 cygwin* | mingw* | pw32* | cegcc*)
5124 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5125 # as there is no search path for DLLs.
5126 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5127 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
5128 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5129 _LT_TAGVAR(always_export_symbols, $1)=no
5130 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5131 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
5132 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
5133
5134 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
5135 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5136 # If the export-symbols file already is a .def file, use it as
5137 # is; otherwise, prepend EXPORTS...
5138 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5139 cp $export_symbols $output_objdir/$soname.def;
5140 else
5141 echo EXPORTS > $output_objdir/$soname.def;
5142 cat $export_symbols >> $output_objdir/$soname.def;
5143 fi~
5144 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5145 else
5146 _LT_TAGVAR(ld_shlibs, $1)=no
5147 fi
5148 ;;
5149
5150 haiku*)
5151 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5152 _LT_TAGVAR(link_all_deplibs, $1)=yes
5153 ;;
5154
5155 os2*)
5156 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5157 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5158 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5159 shrext_cmds=.dll
5160 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5161 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5162 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5163 $ECHO EXPORTS >> $output_objdir/$libname.def~
5164 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5165 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5166 emximp -o $lib $output_objdir/$libname.def'
5167 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5168 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5169 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5170 $ECHO EXPORTS >> $output_objdir/$libname.def~
5171 prefix_cmds="$SED"~
5172 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5173 prefix_cmds="$prefix_cmds -e 1d";
5174 fi~
5175 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5176 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5177 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5178 emximp -o $lib $output_objdir/$libname.def'
5179 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5180 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5181 _LT_TAGVAR(file_list_spec, $1)='@'
5182 ;;
5183
5184 interix[[3-9]]*)
5185 _LT_TAGVAR(hardcode_direct, $1)=no
5186 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5187 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5188 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5189 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5190 # Instead, shared libraries are loaded at an image base (0x10000000 by
5191 # default) and relocated if they conflict, which is a slow very memory
5192 # consuming and fragmenting process. To avoid this, we pick a random,
5193 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5194 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5195 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5196 _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5197 ;;
5198
5199 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5200 tmp_diet=no
5201 if test linux-dietlibc = "$host_os"; then
5202 case $cc_basename in
5203 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
5204 esac
5205 fi
5206 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
5207 && test no = "$tmp_diet"
5208 then
5209 tmp_addflag=' $pic_flag'
5210 tmp_sharedflag='-shared'
5211 case $cc_basename,$host_cpu in
5212 pgcc*) # Portland Group C compiler
5213 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5214 tmp_addflag=' $pic_flag'
5215 ;;
5216 pgf77* | pgf90* | pgf95* | pgfortran*)
5217 # Portland Group f77 and f90 compilers
5218 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5219 tmp_addflag=' $pic_flag -Mnomain' ;;
5220 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5221 tmp_addflag=' -i_dynamic' ;;
5222 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5223 tmp_addflag=' -i_dynamic -nofor_main' ;;
5224 ifc* | ifort*) # Intel Fortran compiler
5225 tmp_addflag=' -nofor_main' ;;
5226 lf95*) # Lahey Fortran 8.1
5227 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5228 tmp_sharedflag='--shared' ;;
5229 nagfor*) # NAGFOR 5.3
5230 tmp_sharedflag='-Wl,-shared' ;;
5231 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
5232 tmp_sharedflag='-qmkshrobj'
5233 tmp_addflag= ;;
5234 nvcc*) # Cuda Compiler Driver 2.2
5235 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5236 _LT_TAGVAR(compiler_needs_object, $1)=yes
5237 ;;
5238 esac
5239 case `$CC -V 2>&1 | $SED 5q` in
5240 *Sun\ C*) # Sun C 5.9
5241 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
5242 _LT_TAGVAR(compiler_needs_object, $1)=yes
5243 tmp_sharedflag='-G' ;;
5244 *Sun\ F*) # Sun Fortran 8.3
5245 tmp_sharedflag='-G' ;;
5246 esac
5247 _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5248
5249 if test yes = "$supports_anon_versioning"; then
5250 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5251 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5252 echo "local: *; };" >> $output_objdir/$libname.ver~
5253 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
5254 fi
5255
5256 case $cc_basename in
5257 tcc*)
5258 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
5259 ;;
5260 xlf* | bgf* | bgxlf* | mpixlf*)
5261 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
5262 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
5263 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5264 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
5265 if test yes = "$supports_anon_versioning"; then
5266 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5267 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5268 echo "local: *; };" >> $output_objdir/$libname.ver~
5269 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
5270 fi
5271 ;;
5272 esac
5273 else
5274 _LT_TAGVAR(ld_shlibs, $1)=no
5275 fi
5276 ;;
5277
5278 netbsd*)
5279 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5280 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5281 wlarc=
5282 else
5283 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5284 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5285 fi
5286 ;;
5287
5288 solaris*)
5289 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
5290 _LT_TAGVAR(ld_shlibs, $1)=no
5291 cat <<_LT_EOF 1>&2
5292
5293 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5294 *** create shared libraries on Solaris systems. Therefore, libtool
5295 *** is disabling shared libraries support. We urge you to upgrade GNU
5296 *** binutils to release 2.9.1 or newer. Another option is to modify
5297 *** your PATH or compiler configuration so that the native linker is
5298 *** used, and then restart.
5299
5300 _LT_EOF
5301 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5302 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5303 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5304 else
5305 _LT_TAGVAR(ld_shlibs, $1)=no
5306 fi
5307 ;;
5308
5309 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5310 case `$LD -v 2>&1` in
5311 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5312 _LT_TAGVAR(ld_shlibs, $1)=no
5313 cat <<_LT_EOF 1>&2
5314
5315 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
5316 *** reliably create shared libraries on SCO systems. Therefore, libtool
5317 *** is disabling shared libraries support. We urge you to upgrade GNU
5318 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5319 *** your PATH or compiler configuration so that the native linker is
5320 *** used, and then restart.
5321
5322 _LT_EOF
5323 ;;
5324 *)
5325 # For security reasons, it is highly recommended that you always
5326 # use absolute paths for naming shared libraries, and exclude the
5327 # DT_RUNPATH tag from executables and libraries. But doing so
5328 # requires that you compile everything twice, which is a pain.
5329 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5330 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5331 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5332 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5333 else
5334 _LT_TAGVAR(ld_shlibs, $1)=no
5335 fi
5336 ;;
5337 esac
5338 ;;
5339
5340 sunos4*)
5341 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5342 wlarc=
5343 _LT_TAGVAR(hardcode_direct, $1)=yes
5344 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5345 ;;
5346
5347 *)
5348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
5349 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5350 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
5351 else
5352 _LT_TAGVAR(ld_shlibs, $1)=no
5353 fi
5354 ;;
5355 esac
5356
5357 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
5358 runpath_var=
5359 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5360 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
5361 _LT_TAGVAR(whole_archive_flag_spec, $1)=
5362 fi
5363 else
5364 # PORTME fill in a description of your system's linker (not GNU ld)
5365 case $host_os in
5366 aix3*)
5367 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5368 _LT_TAGVAR(always_export_symbols, $1)=yes
5369 _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5370 # Note: this linker hardcodes the directories in LIBPATH if there
5371 # are no directories specified by -L.
5372 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5373 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
5374 # Neither direct hardcoding nor static linking is supported with a
5375 # broken collect2.
5376 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5377 fi
5378 ;;
5379
5380 aix[[4-9]]*)
5381 if test ia64 = "$host_cpu"; then
5382 # On IA64, the linker does run time linking by default, so we don't
5383 # have to do anything special.
5384 aix_use_runtimelinking=no
5385 exp_sym_flag='-Bexport'
5386 no_entry_flag=
5387 else
5388 # If we're using GNU nm, then we don't want the "-C" option.
5389 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
5390 # Without the "-l" option, or with the "-B" option, AIX nm treats
5391 # weak defined symbols like other global defined symbols, whereas
5392 # GNU nm marks them as "W".
5393 # While the 'weak' keyword is ignored in the Export File, we need
5394 # it in the Import File for the 'aix-soname' feature, so we have
5395 # to replace the "-B" option with "-P" for AIX nm.
5396 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5397 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
5398 else
5399 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
5400 fi
5401 aix_use_runtimelinking=no
5402
5403 # Test if we are trying to use run time linking or normal
5404 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5405 # have runtime linking enabled, and use it for executables.
5406 # For shared libraries, we enable/disable runtime linking
5407 # depending on the kind of the shared library created -
5408 # when "with_aix_soname,aix_use_runtimelinking" is:
5409 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
5410 # "aix,yes" lib.so shared, rtl:yes, for executables
5411 # lib.a static archive
5412 # "both,no" lib.so.V(shr.o) shared, rtl:yes
5413 # lib.a(lib.so.V) shared, rtl:no, for executables
5414 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
5415 # lib.a(lib.so.V) shared, rtl:no
5416 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
5417 # lib.a static archive
5418 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5419 for ld_flag in $LDFLAGS; do
5420 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
5421 aix_use_runtimelinking=yes
5422 break
5423 fi
5424 done
5425 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
5426 # With aix-soname=svr4, we create the lib.so.V shared archives only,
5427 # so we don't have lib.a shared libs to link our executables.
5428 # We have to force runtime linking in this case.
5429 aix_use_runtimelinking=yes
5430 LDFLAGS="$LDFLAGS -Wl,-brtl"
5431 fi
5432 ;;
5433 esac
5434
5435 exp_sym_flag='-bexport'
5436 no_entry_flag='-bnoentry'
5437 fi
5438
5439 # When large executables or shared objects are built, AIX ld can
5440 # have problems creating the table of contents. If linking a library
5441 # or program results in "error TOC overflow" add -mminimal-toc to
5442 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5443 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5444
5445 _LT_TAGVAR(archive_cmds, $1)=''
5446 _LT_TAGVAR(hardcode_direct, $1)=yes
5447 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5448 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
5449 _LT_TAGVAR(link_all_deplibs, $1)=yes
5450 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
5451 case $with_aix_soname,$aix_use_runtimelinking in
5452 aix,*) ;; # traditional, no import file
5453 svr4,* | *,yes) # use import file
5454 # The Import File defines what to hardcode.
5455 _LT_TAGVAR(hardcode_direct, $1)=no
5456 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
5457 ;;
5458 esac
5459
5460 if test yes = "$GCC"; then
5461 case $host_os in aix4.[[012]]|aix4.[[012]].*)
5462 # We only want to do this on AIX 4.2 and lower, the check
5463 # below for broken collect2 doesn't work under 4.3+
5464 collect2name=`$CC -print-prog-name=collect2`
5465 if test -f "$collect2name" &&
5466 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
5467 then
5468 # We have reworked collect2
5469 :
5470 else
5471 # We have old collect2
5472 _LT_TAGVAR(hardcode_direct, $1)=unsupported
5473 # It fails to find uninstalled libraries when the uninstalled
5474 # path is not listed in the libpath. Setting hardcode_minus_L
5475 # to unsupported forces relinking
5476 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5477 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5478 _LT_TAGVAR(hardcode_libdir_separator, $1)=
5479 fi
5480 ;;
5481 esac
5482 shared_flag='-shared'
5483 if test yes = "$aix_use_runtimelinking"; then
5484 shared_flag="$shared_flag "'$wl-G'
5485 fi
5486 # Need to ensure runtime linking is disabled for the traditional
5487 # shared library, or the linker may eventually find shared libraries
5488 # /with/ Import File - we do not want to mix them.
5489 shared_flag_aix='-shared'
5490 shared_flag_svr4='-shared $wl-G'
5491 else
5492 # not using gcc
5493 if test ia64 = "$host_cpu"; then
5494 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5495 # chokes on -Wl,-G. The following line is correct:
5496 shared_flag='-G'
5497 else
5498 if test yes = "$aix_use_runtimelinking"; then
5499 shared_flag='$wl-G'
5500 else
5501 shared_flag='$wl-bM:SRE'
5502 fi
5503 shared_flag_aix='$wl-bM:SRE'
5504 shared_flag_svr4='$wl-G'
5505 fi
5506 fi
5507
5508 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
5509 # It seems that -bexpall does not export symbols beginning with
5510 # underscore (_), so it is better to generate a list of symbols to export.
5511 _LT_TAGVAR(always_export_symbols, $1)=yes
5512 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
5513 # Warning - without using the other runtime loading flags (-brtl),
5514 # -berok will link without error, but may produce a broken library.
5515 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
5516 # Determine the default libpath from the value encoded in an
5517 # empty executable.
5518 _LT_SYS_MODULE_PATH_AIX([$1])
5519 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5520 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
5521 else
5522 if test ia64 = "$host_cpu"; then
5523 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
5524 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5525 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
5526 else
5527 # Determine the default libpath from the value encoded in an
5528 # empty executable.
5529 _LT_SYS_MODULE_PATH_AIX([$1])
5530 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
5531 # Warning - without using the other run time loading flags,
5532 # -berok will link without error, but may produce a broken library.
5533 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
5534 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
5535 if test yes = "$with_gnu_ld"; then
5536 # We only use this code for GNU lds that support --whole-archive.
5537 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
5538 else
5539 # Exported symbols can be pulled into shared objects from archives
5540 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5541 fi
5542 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5543 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
5544 # -brtl affects multiple linker settings, -berok does not and is overridden later
5545 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
5546 if test svr4 != "$with_aix_soname"; then
5547 # This is similar to how AIX traditionally builds its shared libraries.
5548 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
5549 fi
5550 if test aix != "$with_aix_soname"; then
5551 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
5552 else
5553 # used by -dlpreopen to get the symbols
5554 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
5555 fi
5556 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
5557 fi
5558 fi
5559 ;;
5560
5561 amigaos*)
5562 case $host_cpu in
5563 powerpc)
5564 # see comment about AmigaOS4 .so support
5565 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
5566 _LT_TAGVAR(archive_expsym_cmds, $1)=''
5567 ;;
5568 m68k)
5569 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5570 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5571 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5572 ;;
5573 esac
5574 ;;
5575
5576 bsdi[[45]]*)
5577 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5578 ;;
5579
5580 cygwin* | mingw* | pw32* | cegcc*)
5581 # When not using gcc, we currently assume that we are using
5582 # Microsoft Visual C++ or Intel C++ Compiler.
5583 # hardcode_libdir_flag_spec is actually meaningless, as there is
5584 # no search path for DLLs.
5585 case $cc_basename in
5586 cl* | icl*)
5587 # Native MSVC or ICC
5588 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5589 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5590 _LT_TAGVAR(always_export_symbols, $1)=yes
5591 _LT_TAGVAR(file_list_spec, $1)='@'
5592 # Tell ltmain to make .lib files, not .a files.
5593 libext=lib
5594 # Tell ltmain to make .dll files, not .so files.
5595 shrext_cmds=.dll
5596 # FIXME: Setting linknames here is a bad hack.
5597 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
5598 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
5599 cp "$export_symbols" "$output_objdir/$soname.def";
5600 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
5601 else
5602 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
5603 fi~
5604 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
5605 linknames='
5606 # The linker will not automatically build a static lib if we build a DLL.
5607 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5608 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5609 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5610 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5611 # Don't use ranlib
5612 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5613 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
5614 lt_tool_outputfile="@TOOL_OUTPUT@"~
5615 case $lt_outputfile in
5616 *.exe|*.EXE) ;;
5617 *)
5618 lt_outputfile=$lt_outputfile.exe
5619 lt_tool_outputfile=$lt_tool_outputfile.exe
5620 ;;
5621 esac~
5622 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
5623 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
5624 $RM "$lt_outputfile.manifest";
5625 fi'
5626 ;;
5627 *)
5628 # Assume MSVC and ICC wrapper
5629 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5630 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5631 # Tell ltmain to make .lib files, not .a files.
5632 libext=lib
5633 # Tell ltmain to make .dll files, not .so files.
5634 shrext_cmds=.dll
5635 # FIXME: Setting linknames here is a bad hack.
5636 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
5637 # The linker will automatically build a .lib file if we build a DLL.
5638 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5639 # FIXME: Should let the user specify the lib program.
5640 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5641 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5642 ;;
5643 esac
5644 ;;
5645
5646 darwin* | rhapsody*)
5647 _LT_DARWIN_LINKER_FEATURES($1)
5648 ;;
5649
5650 dgux*)
5651 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5652 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5653 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5654 ;;
5655
5656 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5657 # support. Future versions do this automatically, but an explicit c++rt0.o
5658 # does not break anything, and helps significantly (at the cost of a little
5659 # extra space).
5660 freebsd2.2*)
5661 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5662 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5663 _LT_TAGVAR(hardcode_direct, $1)=yes
5664 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5665 ;;
5666
5667 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5668 freebsd2.*)
5669 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5670 _LT_TAGVAR(hardcode_direct, $1)=yes
5671 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5672 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5673 ;;
5674
5675 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5676 freebsd* | dragonfly* | midnightbsd*)
5677 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5678 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5679 _LT_TAGVAR(hardcode_direct, $1)=yes
5680 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5681 ;;
5682
5683 hpux9*)
5684 if test yes = "$GCC"; then
5685 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5686 else
5687 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
5688 fi
5689 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5690 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5691 _LT_TAGVAR(hardcode_direct, $1)=yes
5692
5693 # hardcode_minus_L: Not really in the search PATH,
5694 # but as the default location of the library.
5695 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5696 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5697 ;;
5698
5699 hpux10*)
5700 if test yes,no = "$GCC,$with_gnu_ld"; then
5701 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5702 else
5703 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5704 fi
5705 if test no = "$with_gnu_ld"; then
5706 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5707 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5708 _LT_TAGVAR(hardcode_direct, $1)=yes
5709 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5710 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5711 # hardcode_minus_L: Not really in the search PATH,
5712 # but as the default location of the library.
5713 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5714 fi
5715 ;;
5716
5717 hpux11*)
5718 if test yes,no = "$GCC,$with_gnu_ld"; then
5719 case $host_cpu in
5720 hppa*64*)
5721 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5722 ;;
5723 ia64*)
5724 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5725 ;;
5726 *)
5727 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5728 ;;
5729 esac
5730 else
5731 case $host_cpu in
5732 hppa*64*)
5733 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5734 ;;
5735 ia64*)
5736 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5737 ;;
5738 *)
5739 m4_if($1, [], [
5740 # Older versions of the 11.00 compiler do not understand -b yet
5741 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5742 _LT_LINKER_OPTION([if $CC understands -b],
5743 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5744 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
5745 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
5746 [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
5747 ;;
5748 esac
5749 fi
5750 if test no = "$with_gnu_ld"; then
5751 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
5752 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5753
5754 case $host_cpu in
5755 hppa*64*|ia64*)
5756 _LT_TAGVAR(hardcode_direct, $1)=no
5757 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5758 ;;
5759 *)
5760 _LT_TAGVAR(hardcode_direct, $1)=yes
5761 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5762 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5763
5764 # hardcode_minus_L: Not really in the search PATH,
5765 # but as the default location of the library.
5766 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5767 ;;
5768 esac
5769 fi
5770 ;;
5771
5772 irix5* | irix6* | nonstopux*)
5773 if test yes = "$GCC"; then
5774 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5775 # Try to use the -exported_symbol ld option, if it does not
5776 # work, assume that -exports_file does not work either and
5777 # implicitly export all symbols.
5778 # This should be the same for all languages, so no per-tag cache variable.
5779 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
5780 [lt_cv_irix_exported_symbol],
5781 [save_LDFLAGS=$LDFLAGS
5782 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
5783 AC_LINK_IFELSE(
5784 [AC_LANG_SOURCE(
5785 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
5786 [C++], [[int foo (void) { return 0; }]],
5787 [Fortran 77], [[
5788 subroutine foo
5789 end]],
5790 [Fortran], [[
5791 subroutine foo
5792 end]])])],
5793 [lt_cv_irix_exported_symbol=yes],
5794 [lt_cv_irix_exported_symbol=no])
5795 LDFLAGS=$save_LDFLAGS])
5796 if test yes = "$lt_cv_irix_exported_symbol"; then
5797 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
5798 fi
5799 else
5800 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5801 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
5802 fi
5803 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5804 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5805 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5806 _LT_TAGVAR(inherit_rpath, $1)=yes
5807 _LT_TAGVAR(link_all_deplibs, $1)=yes
5808 ;;
5809
5810 linux*)
5811 case $cc_basename in
5812 tcc*)
5813 # Fabrice Bellard et al's Tiny C Compiler
5814 _LT_TAGVAR(ld_shlibs, $1)=yes
5815 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5816 ;;
5817 esac
5818 ;;
5819
5820 netbsd*)
5821 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5822 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5823 else
5824 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5825 fi
5826 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5827 _LT_TAGVAR(hardcode_direct, $1)=yes
5828 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5829 ;;
5830
5831 newsos6)
5832 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5833 _LT_TAGVAR(hardcode_direct, $1)=yes
5834 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5835 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5836 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5837 ;;
5838
5839 *nto* | *qnx*)
5840 ;;
5841
5842 openbsd* | bitrig*)
5843 if test -f /usr/libexec/ld.so; then
5844 _LT_TAGVAR(hardcode_direct, $1)=yes
5845 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5846 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5847 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5848 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5849 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
5850 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5851 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
5852 else
5853 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5854 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
5855 fi
5856 else
5857 _LT_TAGVAR(ld_shlibs, $1)=no
5858 fi
5859 ;;
5860
5861 os2*)
5862 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5863 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5864 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5865 shrext_cmds=.dll
5866 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5867 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5868 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5869 $ECHO EXPORTS >> $output_objdir/$libname.def~
5870 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
5871 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5872 emximp -o $lib $output_objdir/$libname.def'
5873 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
5874 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
5875 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
5876 $ECHO EXPORTS >> $output_objdir/$libname.def~
5877 prefix_cmds="$SED"~
5878 if test EXPORTS = "`$SED 1q $export_symbols`"; then
5879 prefix_cmds="$prefix_cmds -e 1d";
5880 fi~
5881 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
5882 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
5883 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
5884 emximp -o $lib $output_objdir/$libname.def'
5885 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
5886 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5887 _LT_TAGVAR(file_list_spec, $1)='@'
5888 ;;
5889
5890 osf3*)
5891 if test yes = "$GCC"; then
5892 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5893 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5894 else
5895 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5896 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5897 fi
5898 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5899 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5900 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5901 ;;
5902
5903 osf4* | osf5*) # as osf3* with the addition of -msym flag
5904 if test yes = "$GCC"; then
5905 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
5906 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
5907 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
5908 else
5909 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5910 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5911 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5912 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
5913
5914 # Both c and cxx compiler support -rpath directly
5915 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5916 fi
5917 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5918 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5919 ;;
5920
5921 solaris*)
5922 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
5923 if test yes = "$GCC"; then
5924 wlarc='$wl'
5925 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
5926 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5927 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5928 else
5929 case `$CC -V 2>&1` in
5930 *"Compilers 5.0"*)
5931 wlarc=''
5932 _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
5933 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5934 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
5935 ;;
5936 *)
5937 wlarc='$wl'
5938 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
5939 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
5940 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
5941 ;;
5942 esac
5943 fi
5944 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5945 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5946 case $host_os in
5947 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5948 *)
5949 # The compiler driver will combine and reorder linker options,
5950 # but understands '-z linker_flag'. GCC discards it without '$wl',
5951 # but is careful enough not to reorder.
5952 # Supported since Solaris 2.6 (maybe 2.5.1?)
5953 if test yes = "$GCC"; then
5954 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
5955 else
5956 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5957 fi
5958 ;;
5959 esac
5960 _LT_TAGVAR(link_all_deplibs, $1)=yes
5961 ;;
5962
5963 sunos4*)
5964 if test sequent = "$host_vendor"; then
5965 # Use $CC to link under sequent, because it throws in some extra .o
5966 # files that make .init and .fini sections work.
5967 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5968 else
5969 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5970 fi
5971 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5972 _LT_TAGVAR(hardcode_direct, $1)=yes
5973 _LT_TAGVAR(hardcode_minus_L, $1)=yes
5974 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5975 ;;
5976
5977 sysv4)
5978 case $host_vendor in
5979 sni)
5980 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5981 _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5982 ;;
5983 siemens)
5984 ## LD is ld it makes a PLAMLIB
5985 ## CC just makes a GrossModule.
5986 _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5987 _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5988 _LT_TAGVAR(hardcode_direct, $1)=no
5989 ;;
5990 motorola)
5991 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5992 _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5993 ;;
5994 esac
5995 runpath_var='LD_RUN_PATH'
5996 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5997 ;;
5998
5999 sysv4.3*)
6000 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6001 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6002 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6003 ;;
6004
6005 sysv4*MP*)
6006 if test -d /usr/nec; then
6007 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6008 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6009 runpath_var=LD_RUN_PATH
6010 hardcode_runpath_var=yes
6011 _LT_TAGVAR(ld_shlibs, $1)=yes
6012 fi
6013 ;;
6014
6015 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6016 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6017 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6018 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6019 runpath_var='LD_RUN_PATH'
6020
6021 if test yes = "$GCC"; then
6022 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6023 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6024 else
6025 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6026 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6027 fi
6028 ;;
6029
6030 sysv5* | sco3.2v5* | sco5v6*)
6031 # Note: We CANNOT use -z defs as we might desire, because we do not
6032 # link with -lc, and that would cause any symbols used from libc to
6033 # always be unresolved, which means just about no library would
6034 # ever link correctly. If we're not using GNU ld we use -z text
6035 # though, which does catch some bad symbols but isn't as heavy-handed
6036 # as -z defs.
6037 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
6038 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
6039 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6040 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6041 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
6042 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6043 _LT_TAGVAR(link_all_deplibs, $1)=yes
6044 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
6045 runpath_var='LD_RUN_PATH'
6046
6047 if test yes = "$GCC"; then
6048 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6049 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6050 else
6051 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6052 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6053 fi
6054 ;;
6055
6056 uts4*)
6057 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6058 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6059 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6060 ;;
6061
6062 *)
6063 _LT_TAGVAR(ld_shlibs, $1)=no
6064 ;;
6065 esac
6066
6067 if test sni = "$host_vendor"; then
6068 case $host in
6069 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6070 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
6071 ;;
6072 esac
6073 fi
6074 fi
6075 ])
6076 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
6077 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
6078
6079 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
6080
6081 _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
6082 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
6083 _LT_DECL([], [extract_expsyms_cmds], [2],
6084 [The commands to extract the exported symbol list from a shared archive])
6085
6086 #
6087 # Do we need to explicitly link libc?
6088 #
6089 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
6090 x|xyes)
6091 # Assume -lc should be added
6092 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6093
6094 if test yes,yes = "$GCC,$enable_shared"; then
6095 case $_LT_TAGVAR(archive_cmds, $1) in
6096 *'~'*)
6097 # FIXME: we may have to deal with multi-command sequences.
6098 ;;
6099 '$CC '*)
6100 # Test whether the compiler implicitly links with -lc since on some
6101 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6102 # to ld, don't add -lc before -lgcc.
6103 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6104 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6105 [$RM conftest*
6106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6107
6108 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6109 soname=conftest
6110 lib=conftest
6111 libobjs=conftest.$ac_objext
6112 deplibs=
6113 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6114 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6115 compiler_flags=-v
6116 linker_flags=-v
6117 verstring=
6118 output_objdir=.
6119 libname=conftest
6120 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6121 _LT_TAGVAR(allow_undefined_flag, $1)=
6122 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6123 then
6124 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6125 else
6126 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6127 fi
6128 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6129 else
6130 cat conftest.err 1>&5
6131 fi
6132 $RM conftest*
6133 ])
6134 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
6135 ;;
6136 esac
6137 fi
6138 ;;
6139 esac
6140
6141 _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
6142 [Whether or not to add -lc for building shared libraries])
6143 _LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
6144 [enable_shared_with_static_runtimes], [0],
6145 [Whether or not to disallow shared libs when runtime libs are static])
6146 _LT_TAGDECL([], [export_dynamic_flag_spec], [1],
6147 [Compiler flag to allow reflexive dlopens])
6148 _LT_TAGDECL([], [whole_archive_flag_spec], [1],
6149 [Compiler flag to generate shared objects directly from archives])
6150 _LT_TAGDECL([], [compiler_needs_object], [1],
6151 [Whether the compiler copes with passing no objects directly])
6152 _LT_TAGDECL([], [old_archive_from_new_cmds], [2],
6153 [Create an old-style archive from a shared archive])
6154 _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
6155 [Create a temporary old-style archive to link instead of a shared archive])
6156 _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
6157 _LT_TAGDECL([], [archive_expsym_cmds], [2])
6158 _LT_TAGDECL([], [module_cmds], [2],
6159 [Commands used to build a loadable module if different from building
6160 a shared archive.])
6161 _LT_TAGDECL([], [module_expsym_cmds], [2])
6162 _LT_TAGDECL([], [with_gnu_ld], [1],
6163 [Whether we are building with GNU ld or not])
6164 _LT_TAGDECL([], [allow_undefined_flag], [1],
6165 [Flag that allows shared libraries with undefined symbols to be built])
6166 _LT_TAGDECL([], [no_undefined_flag], [1],
6167 [Flag that enforces no undefined symbols])
6168 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
6169 [Flag to hardcode $libdir into a binary during linking.
6170 This must work even if $libdir does not exist])
6171 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
6172 [Whether we need a single "-rpath" flag with a separated argument])
6173 _LT_TAGDECL([], [hardcode_direct], [0],
6174 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
6175 DIR into the resulting binary])
6176 _LT_TAGDECL([], [hardcode_direct_absolute], [0],
6177 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
6178 DIR into the resulting binary and the resulting library dependency is
6179 "absolute", i.e impossible to change by setting $shlibpath_var if the
6180 library is relocated])
6181 _LT_TAGDECL([], [hardcode_minus_L], [0],
6182 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
6183 into the resulting binary])
6184 _LT_TAGDECL([], [hardcode_shlibpath_var], [0],
6185 [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
6186 into the resulting binary])
6187 _LT_TAGDECL([], [hardcode_automatic], [0],
6188 [Set to "yes" if building a shared library automatically hardcodes DIR
6189 into the library and all subsequent libraries and executables linked
6190 against it])
6191 _LT_TAGDECL([], [inherit_rpath], [0],
6192 [Set to yes if linker adds runtime paths of dependent libraries
6193 to runtime path list])
6194 _LT_TAGDECL([], [link_all_deplibs], [0],
6195 [Whether libtool must link a program against all its dependency libraries])
6196 _LT_TAGDECL([], [always_export_symbols], [0],
6197 [Set to "yes" if exported symbols are required])
6198 _LT_TAGDECL([], [export_symbols_cmds], [2],
6199 [The commands to list exported symbols])
6200 _LT_TAGDECL([], [exclude_expsyms], [1],
6201 [Symbols that should not be listed in the preloaded symbols])
6202 _LT_TAGDECL([], [include_expsyms], [1],
6203 [Symbols that must always be exported])
6204 _LT_TAGDECL([], [prelink_cmds], [2],
6205 [Commands necessary for linking programs (against libraries) with templates])
6206 _LT_TAGDECL([], [postlink_cmds], [2],
6207 [Commands necessary for finishing linking programs])
6208 _LT_TAGDECL([], [file_list_spec], [1],
6209 [Specify filename containing input files])
6210 dnl FIXME: Not yet implemented
6211 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
6212 dnl [Compiler flag to generate thread safe objects])
6213 ])# _LT_LINKER_SHLIBS
6214
6215
6216 # _LT_LANG_C_CONFIG([TAG])
6217 # ------------------------
6218 # Ensure that the configuration variables for a C compiler are suitably
6219 # defined. These variables are subsequently used by _LT_CONFIG to write
6220 # the compiler configuration to 'libtool'.
6221 m4_defun([_LT_LANG_C_CONFIG],
6222 [m4_require([_LT_DECL_EGREP])dnl
6223 lt_save_CC=$CC
6224 AC_LANG_PUSH(C)
6225
6226 # Source file extension for C test sources.
6227 ac_ext=c
6228
6229 # Object file extension for compiled C test sources.
6230 objext=o
6231 _LT_TAGVAR(objext, $1)=$objext
6232
6233 # Code to be used in simple compile tests
6234 lt_simple_compile_test_code="int some_variable = 0;"
6235
6236 # Code to be used in simple link tests
6237 lt_simple_link_test_code='int main(){return(0);}'
6238
6239 _LT_TAG_COMPILER
6240 # Save the default compiler, since it gets overwritten when the other
6241 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6242 compiler_DEFAULT=$CC
6243
6244 # save warnings/boilerplate of simple test code
6245 _LT_COMPILER_BOILERPLATE
6246 _LT_LINKER_BOILERPLATE
6247
6248 ## CAVEAT EMPTOR:
6249 ## There is no encapsulation within the following macros, do not change
6250 ## the running order or otherwise move them around unless you know exactly
6251 ## what you are doing...
6252 if test -n "$compiler"; then
6253 _LT_COMPILER_NO_RTTI($1)
6254 _LT_COMPILER_PIC($1)
6255 _LT_COMPILER_C_O($1)
6256 _LT_COMPILER_FILE_LOCKS($1)
6257 _LT_LINKER_SHLIBS($1)
6258 _LT_SYS_DYNAMIC_LINKER($1)
6259 _LT_LINKER_HARDCODE_LIBPATH($1)
6260 LT_SYS_DLOPEN_SELF
6261 _LT_CMD_STRIPLIB
6262
6263 # Report what library types will actually be built
6264 AC_MSG_CHECKING([if libtool supports shared libraries])
6265 AC_MSG_RESULT([$can_build_shared])
6266
6267 AC_MSG_CHECKING([whether to build shared libraries])
6268 test no = "$can_build_shared" && enable_shared=no
6269
6270 # On AIX, shared libraries and static libraries use the same namespace, and
6271 # are all built from PIC.
6272 case $host_os in
6273 aix3*)
6274 test yes = "$enable_shared" && enable_static=no
6275 if test -n "$RANLIB"; then
6276 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6277 postinstall_cmds='$RANLIB $lib'
6278 fi
6279 ;;
6280
6281 aix[[4-9]]*)
6282 if test ia64 != "$host_cpu"; then
6283 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
6284 yes,aix,yes) ;; # shared object as lib.so file only
6285 yes,svr4,*) ;; # shared object as lib.so archive member only
6286 yes,*) enable_static=no ;; # shared object in lib.a archive as well
6287 esac
6288 fi
6289 ;;
6290 esac
6291 AC_MSG_RESULT([$enable_shared])
6292
6293 AC_MSG_CHECKING([whether to build static libraries])
6294 # Make sure either enable_shared or enable_static is yes.
6295 test yes = "$enable_shared" || enable_static=yes
6296 AC_MSG_RESULT([$enable_static])
6297
6298 _LT_CONFIG($1)
6299 fi
6300 AC_LANG_POP
6301 CC=$lt_save_CC
6302 ])# _LT_LANG_C_CONFIG
6303
6304
6305 # _LT_LANG_CXX_CONFIG([TAG])
6306 # --------------------------
6307 # Ensure that the configuration variables for a C++ compiler are suitably
6308 # defined. These variables are subsequently used by _LT_CONFIG to write
6309 # the compiler configuration to 'libtool'.
6310 m4_defun([_LT_LANG_CXX_CONFIG],
6311 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6312 m4_require([_LT_DECL_EGREP])dnl
6313 m4_require([_LT_PATH_MANIFEST_TOOL])dnl
6314 if test -n "$CXX" && ( test no != "$CXX" &&
6315 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
6316 (test g++ != "$CXX"))); then
6317 AC_PROG_CXXCPP
6318 else
6319 _lt_caught_CXX_error=yes
6320 fi
6321
6322 AC_LANG_PUSH(C++)
6323 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6324 _LT_TAGVAR(allow_undefined_flag, $1)=
6325 _LT_TAGVAR(always_export_symbols, $1)=no
6326 _LT_TAGVAR(archive_expsym_cmds, $1)=
6327 _LT_TAGVAR(compiler_needs_object, $1)=no
6328 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
6329 _LT_TAGVAR(hardcode_direct, $1)=no
6330 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6331 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6332 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6333 _LT_TAGVAR(hardcode_minus_L, $1)=no
6334 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6335 _LT_TAGVAR(hardcode_automatic, $1)=no
6336 _LT_TAGVAR(inherit_rpath, $1)=no
6337 _LT_TAGVAR(module_cmds, $1)=
6338 _LT_TAGVAR(module_expsym_cmds, $1)=
6339 _LT_TAGVAR(link_all_deplibs, $1)=unknown
6340 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6341 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6342 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
6343 _LT_TAGVAR(no_undefined_flag, $1)=
6344 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6345 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6346
6347 # Source file extension for C++ test sources.
6348 ac_ext=cpp
6349
6350 # Object file extension for compiled C++ test sources.
6351 objext=o
6352 _LT_TAGVAR(objext, $1)=$objext
6353
6354 # No sense in running all these tests if we already determined that
6355 # the CXX compiler isn't working. Some variables (like enable_shared)
6356 # are currently assumed to apply to all compilers on this platform,
6357 # and will be corrupted by setting them based on a non-working compiler.
6358 if test yes != "$_lt_caught_CXX_error"; then
6359 # Code to be used in simple compile tests
6360 lt_simple_compile_test_code="int some_variable = 0;"
6361
6362 # Code to be used in simple link tests
6363 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
6364
6365 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
6366 _LT_TAG_COMPILER
6367
6368 # save warnings/boilerplate of simple test code
6369 _LT_COMPILER_BOILERPLATE
6370 _LT_LINKER_BOILERPLATE
6371
6372 # Allow CC to be a program name with arguments.
6373 lt_save_CC=$CC
6374 lt_save_CFLAGS=$CFLAGS
6375 lt_save_LD=$LD
6376 lt_save_GCC=$GCC
6377 GCC=$GXX
6378 lt_save_with_gnu_ld=$with_gnu_ld
6379 lt_save_path_LD=$lt_cv_path_LD
6380 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6381 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
6382 else
6383 $as_unset lt_cv_prog_gnu_ld
6384 fi
6385 if test -n "${lt_cv_path_LDCXX+set}"; then
6386 lt_cv_path_LD=$lt_cv_path_LDCXX
6387 else
6388 $as_unset lt_cv_path_LD
6389 fi
6390 test -z "${LDCXX+set}" || LD=$LDCXX
6391 CC=${CXX-"c++"}
6392 CFLAGS=$CXXFLAGS
6393 compiler=$CC
6394 _LT_TAGVAR(compiler, $1)=$CC
6395 _LT_CC_BASENAME([$compiler])
6396
6397 if test -n "$compiler"; then
6398 # We don't want -fno-exception when compiling C++ code, so set the
6399 # no_builtin_flag separately
6400 if test yes = "$GXX"; then
6401 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6402 else
6403 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6404 fi
6405
6406 if test yes = "$GXX"; then
6407 # Set up default GNU C++ configuration
6408
6409 LT_PATH_LD
6410
6411 # Check if GNU C++ uses GNU ld as the underlying linker, since the
6412 # archiving commands below assume that GNU ld is being used.
6413 if test yes = "$with_gnu_ld"; then
6414 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6415 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6416
6417 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6418 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6419
6420 # If archive_cmds runs LD, not CC, wlarc should be empty
6421 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6422 # investigate it a little bit more. (MM)
6423 wlarc='$wl'
6424
6425 # ancient GNU ld didn't support --whole-archive et. al.
6426 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
6427 $GREP 'no-whole-archive' > /dev/null; then
6428 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
6429 else
6430 _LT_TAGVAR(whole_archive_flag_spec, $1)=
6431 fi
6432 else
6433 with_gnu_ld=no
6434 wlarc=
6435
6436 # A generic and very simple default shared library creation
6437 # command for GNU C++ for the case where it uses the native
6438 # linker, instead of GNU ld. If possible, this setting should
6439 # overridden to take advantage of the native linker features on
6440 # the platform it is being used on.
6441 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6442 fi
6443
6444 # Commands to make compiler produce verbose output that lists
6445 # what "hidden" libraries, object files and flags are used when
6446 # linking a shared library.
6447 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6448
6449 else
6450 GXX=no
6451 with_gnu_ld=no
6452 wlarc=
6453 fi
6454
6455 # PORTME: fill in a description of your system's C++ link characteristics
6456 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6457 _LT_TAGVAR(ld_shlibs, $1)=yes
6458 case $host_os in
6459 aix3*)
6460 # FIXME: insert proper C++ library support
6461 _LT_TAGVAR(ld_shlibs, $1)=no
6462 ;;
6463 aix[[4-9]]*)
6464 if test ia64 = "$host_cpu"; then
6465 # On IA64, the linker does run time linking by default, so we don't
6466 # have to do anything special.
6467 aix_use_runtimelinking=no
6468 exp_sym_flag='-Bexport'
6469 no_entry_flag=
6470 else
6471 aix_use_runtimelinking=no
6472
6473 # Test if we are trying to use run time linking or normal
6474 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6475 # have runtime linking enabled, and use it for executables.
6476 # For shared libraries, we enable/disable runtime linking
6477 # depending on the kind of the shared library created -
6478 # when "with_aix_soname,aix_use_runtimelinking" is:
6479 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
6480 # "aix,yes" lib.so shared, rtl:yes, for executables
6481 # lib.a static archive
6482 # "both,no" lib.so.V(shr.o) shared, rtl:yes
6483 # lib.a(lib.so.V) shared, rtl:no, for executables
6484 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
6485 # lib.a(lib.so.V) shared, rtl:no
6486 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
6487 # lib.a static archive
6488 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6489 for ld_flag in $LDFLAGS; do
6490 case $ld_flag in
6491 *-brtl*)
6492 aix_use_runtimelinking=yes
6493 break
6494 ;;
6495 esac
6496 done
6497 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
6498 # With aix-soname=svr4, we create the lib.so.V shared archives only,
6499 # so we don't have lib.a shared libs to link our executables.
6500 # We have to force runtime linking in this case.
6501 aix_use_runtimelinking=yes
6502 LDFLAGS="$LDFLAGS -Wl,-brtl"
6503 fi
6504 ;;
6505 esac
6506
6507 exp_sym_flag='-bexport'
6508 no_entry_flag='-bnoentry'
6509 fi
6510
6511 # When large executables or shared objects are built, AIX ld can
6512 # have problems creating the table of contents. If linking a library
6513 # or program results in "error TOC overflow" add -mminimal-toc to
6514 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6515 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6516
6517 _LT_TAGVAR(archive_cmds, $1)=''
6518 _LT_TAGVAR(hardcode_direct, $1)=yes
6519 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6520 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
6521 _LT_TAGVAR(link_all_deplibs, $1)=yes
6522 _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
6523 case $with_aix_soname,$aix_use_runtimelinking in
6524 aix,*) ;; # no import file
6525 svr4,* | *,yes) # use import file
6526 # The Import File defines what to hardcode.
6527 _LT_TAGVAR(hardcode_direct, $1)=no
6528 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6529 ;;
6530 esac
6531
6532 if test yes = "$GXX"; then
6533 case $host_os in aix4.[[012]]|aix4.[[012]].*)
6534 # We only want to do this on AIX 4.2 and lower, the check
6535 # below for broken collect2 doesn't work under 4.3+
6536 collect2name=`$CC -print-prog-name=collect2`
6537 if test -f "$collect2name" &&
6538 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
6539 then
6540 # We have reworked collect2
6541 :
6542 else
6543 # We have old collect2
6544 _LT_TAGVAR(hardcode_direct, $1)=unsupported
6545 # It fails to find uninstalled libraries when the uninstalled
6546 # path is not listed in the libpath. Setting hardcode_minus_L
6547 # to unsupported forces relinking
6548 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6549 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6550 _LT_TAGVAR(hardcode_libdir_separator, $1)=
6551 fi
6552 esac
6553 shared_flag='-shared'
6554 if test yes = "$aix_use_runtimelinking"; then
6555 shared_flag=$shared_flag' $wl-G'
6556 fi
6557 # Need to ensure runtime linking is disabled for the traditional
6558 # shared library, or the linker may eventually find shared libraries
6559 # /with/ Import File - we do not want to mix them.
6560 shared_flag_aix='-shared'
6561 shared_flag_svr4='-shared $wl-G'
6562 else
6563 # not using gcc
6564 if test ia64 = "$host_cpu"; then
6565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6566 # chokes on -Wl,-G. The following line is correct:
6567 shared_flag='-G'
6568 else
6569 if test yes = "$aix_use_runtimelinking"; then
6570 shared_flag='$wl-G'
6571 else
6572 shared_flag='$wl-bM:SRE'
6573 fi
6574 shared_flag_aix='$wl-bM:SRE'
6575 shared_flag_svr4='$wl-G'
6576 fi
6577 fi
6578
6579 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
6580 # It seems that -bexpall does not export symbols beginning with
6581 # underscore (_), so it is better to generate a list of symbols to
6582 # export.
6583 _LT_TAGVAR(always_export_symbols, $1)=yes
6584 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
6585 # Warning - without using the other runtime loading flags (-brtl),
6586 # -berok will link without error, but may produce a broken library.
6587 # The "-G" linker flag allows undefined symbols.
6588 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
6589 # Determine the default libpath from the value encoded in an empty
6590 # executable.
6591 _LT_SYS_MODULE_PATH_AIX([$1])
6592 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6593
6594 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
6595 else
6596 if test ia64 = "$host_cpu"; then
6597 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
6598 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6599 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
6600 else
6601 # Determine the default libpath from the value encoded in an
6602 # empty executable.
6603 _LT_SYS_MODULE_PATH_AIX([$1])
6604 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
6605 # Warning - without using the other run time loading flags,
6606 # -berok will link without error, but may produce a broken library.
6607 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
6608 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
6609 if test yes = "$with_gnu_ld"; then
6610 # We only use this code for GNU lds that support --whole-archive.
6611 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
6612 else
6613 # Exported symbols can be pulled into shared objects from archives
6614 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6615 fi
6616 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6617 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
6618 # -brtl affects multiple linker settings, -berok does not and is overridden later
6619 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
6620 if test svr4 != "$with_aix_soname"; then
6621 # This is similar to how AIX traditionally builds its shared
6622 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
6623 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
6624 fi
6625 if test aix != "$with_aix_soname"; then
6626 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
6627 else
6628 # used by -dlpreopen to get the symbols
6629 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
6630 fi
6631 _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
6632 fi
6633 fi
6634 ;;
6635
6636 beos*)
6637 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6638 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6639 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6640 # support --undefined. This deserves some investigation. FIXME
6641 _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6642 else
6643 _LT_TAGVAR(ld_shlibs, $1)=no
6644 fi
6645 ;;
6646
6647 chorus*)
6648 case $cc_basename in
6649 *)
6650 # FIXME: insert proper C++ library support
6651 _LT_TAGVAR(ld_shlibs, $1)=no
6652 ;;
6653 esac
6654 ;;
6655
6656 cygwin* | mingw* | pw32* | cegcc*)
6657 case $GXX,$cc_basename in
6658 ,cl* | no,cl* | ,icl* | no,icl*)
6659 # Native MSVC or ICC
6660 # hardcode_libdir_flag_spec is actually meaningless, as there is
6661 # no search path for DLLs.
6662 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6663 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6664 _LT_TAGVAR(always_export_symbols, $1)=yes
6665 _LT_TAGVAR(file_list_spec, $1)='@'
6666 # Tell ltmain to make .lib files, not .a files.
6667 libext=lib
6668 # Tell ltmain to make .dll files, not .so files.
6669 shrext_cmds=.dll
6670 # FIXME: Setting linknames here is a bad hack.
6671 _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
6672 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6673 cp "$export_symbols" "$output_objdir/$soname.def";
6674 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
6675 else
6676 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
6677 fi~
6678 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
6679 linknames='
6680 # The linker will not automatically build a static lib if we build a DLL.
6681 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6682 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6683 # Don't use ranlib
6684 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
6685 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
6686 lt_tool_outputfile="@TOOL_OUTPUT@"~
6687 case $lt_outputfile in
6688 *.exe|*.EXE) ;;
6689 *)
6690 lt_outputfile=$lt_outputfile.exe
6691 lt_tool_outputfile=$lt_tool_outputfile.exe
6692 ;;
6693 esac~
6694 func_to_tool_file "$lt_outputfile"~
6695 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
6696 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
6697 $RM "$lt_outputfile.manifest";
6698 fi'
6699 ;;
6700 *)
6701 # g++
6702 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6703 # as there is no search path for DLLs.
6704 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6705 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
6706 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6707 _LT_TAGVAR(always_export_symbols, $1)=no
6708 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6709
6710 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6711 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6712 # If the export-symbols file already is a .def file, use it as
6713 # is; otherwise, prepend EXPORTS...
6714 _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
6715 cp $export_symbols $output_objdir/$soname.def;
6716 else
6717 echo EXPORTS > $output_objdir/$soname.def;
6718 cat $export_symbols >> $output_objdir/$soname.def;
6719 fi~
6720 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6721 else
6722 _LT_TAGVAR(ld_shlibs, $1)=no
6723 fi
6724 ;;
6725 esac
6726 ;;
6727 darwin* | rhapsody*)
6728 _LT_DARWIN_LINKER_FEATURES($1)
6729 ;;
6730
6731 os2*)
6732 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6733 _LT_TAGVAR(hardcode_minus_L, $1)=yes
6734 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6735 shrext_cmds=.dll
6736 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6737 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6738 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6739 $ECHO EXPORTS >> $output_objdir/$libname.def~
6740 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
6741 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6742 emximp -o $lib $output_objdir/$libname.def'
6743 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
6744 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
6745 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
6746 $ECHO EXPORTS >> $output_objdir/$libname.def~
6747 prefix_cmds="$SED"~
6748 if test EXPORTS = "`$SED 1q $export_symbols`"; then
6749 prefix_cmds="$prefix_cmds -e 1d";
6750 fi~
6751 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
6752 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
6753 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
6754 emximp -o $lib $output_objdir/$libname.def'
6755 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
6756 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6757 _LT_TAGVAR(file_list_spec, $1)='@'
6758 ;;
6759
6760 dgux*)
6761 case $cc_basename in
6762 ec++*)
6763 # FIXME: insert proper C++ library support
6764 _LT_TAGVAR(ld_shlibs, $1)=no
6765 ;;
6766 ghcx*)
6767 # Green Hills C++ Compiler
6768 # FIXME: insert proper C++ library support
6769 _LT_TAGVAR(ld_shlibs, $1)=no
6770 ;;
6771 *)
6772 # FIXME: insert proper C++ library support
6773 _LT_TAGVAR(ld_shlibs, $1)=no
6774 ;;
6775 esac
6776 ;;
6777
6778 freebsd2.*)
6779 # C++ shared libraries reported to be fairly broken before
6780 # switch to ELF
6781 _LT_TAGVAR(ld_shlibs, $1)=no
6782 ;;
6783
6784 freebsd-elf*)
6785 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
6786 ;;
6787
6788 freebsd* | dragonfly* | midnightbsd*)
6789 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6790 # conventions
6791 _LT_TAGVAR(ld_shlibs, $1)=yes
6792 ;;
6793
6794 haiku*)
6795 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6796 _LT_TAGVAR(link_all_deplibs, $1)=yes
6797 ;;
6798
6799 hpux9*)
6800 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6801 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6802 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6803 _LT_TAGVAR(hardcode_direct, $1)=yes
6804 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6805 # but as the default
6806 # location of the library.
6807
6808 case $cc_basename in
6809 CC*)
6810 # FIXME: insert proper C++ library support
6811 _LT_TAGVAR(ld_shlibs, $1)=no
6812 ;;
6813 aCC*)
6814 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6815 # Commands to make compiler produce verbose output that lists
6816 # what "hidden" libraries, object files and flags are used when
6817 # linking a shared library.
6818 #
6819 # There doesn't appear to be a way to prevent this compiler from
6820 # explicitly linking system object files so we need to strip them
6821 # from the output so that they don't get included in the library
6822 # dependencies.
6823 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6824 ;;
6825 *)
6826 if test yes = "$GXX"; then
6827 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
6828 else
6829 # FIXME: insert proper C++ library support
6830 _LT_TAGVAR(ld_shlibs, $1)=no
6831 fi
6832 ;;
6833 esac
6834 ;;
6835
6836 hpux10*|hpux11*)
6837 if test no = "$with_gnu_ld"; then
6838 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
6839 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6840
6841 case $host_cpu in
6842 hppa*64*|ia64*)
6843 ;;
6844 *)
6845 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6846 ;;
6847 esac
6848 fi
6849 case $host_cpu in
6850 hppa*64*|ia64*)
6851 _LT_TAGVAR(hardcode_direct, $1)=no
6852 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6853 ;;
6854 *)
6855 _LT_TAGVAR(hardcode_direct, $1)=yes
6856 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
6857 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
6858 # but as the default
6859 # location of the library.
6860 ;;
6861 esac
6862
6863 case $cc_basename in
6864 CC*)
6865 # FIXME: insert proper C++ library support
6866 _LT_TAGVAR(ld_shlibs, $1)=no
6867 ;;
6868 aCC*)
6869 case $host_cpu in
6870 hppa*64*)
6871 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6872 ;;
6873 ia64*)
6874 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6875 ;;
6876 *)
6877 _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6878 ;;
6879 esac
6880 # Commands to make compiler produce verbose output that lists
6881 # what "hidden" libraries, object files and flags are used when
6882 # linking a shared library.
6883 #
6884 # There doesn't appear to be a way to prevent this compiler from
6885 # explicitly linking system object files so we need to strip them
6886 # from the output so that they don't get included in the library
6887 # dependencies.
6888 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6889 ;;
6890 *)
6891 if test yes = "$GXX"; then
6892 if test no = "$with_gnu_ld"; then
6893 case $host_cpu in
6894 hppa*64*)
6895 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6896 ;;
6897 ia64*)
6898 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6899 ;;
6900 *)
6901 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6902 ;;
6903 esac
6904 fi
6905 else
6906 # FIXME: insert proper C++ library support
6907 _LT_TAGVAR(ld_shlibs, $1)=no
6908 fi
6909 ;;
6910 esac
6911 ;;
6912
6913 interix[[3-9]]*)
6914 _LT_TAGVAR(hardcode_direct, $1)=no
6915 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6916 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6917 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
6918 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6919 # Instead, shared libraries are loaded at an image base (0x10000000 by
6920 # default) and relocated if they conflict, which is a slow very memory
6921 # consuming and fragmenting process. To avoid this, we pick a random,
6922 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6923 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6924 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6925 _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6926 ;;
6927 irix5* | irix6*)
6928 case $cc_basename in
6929 CC*)
6930 # SGI C++
6931 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
6932
6933 # Archives containing C++ object files must be created using
6934 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6935 # necessary to make sure instantiated templates are included
6936 # in the archive.
6937 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
6938 ;;
6939 *)
6940 if test yes = "$GXX"; then
6941 if test no = "$with_gnu_ld"; then
6942 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
6943 else
6944 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
6945 fi
6946 fi
6947 _LT_TAGVAR(link_all_deplibs, $1)=yes
6948 ;;
6949 esac
6950 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
6951 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6952 _LT_TAGVAR(inherit_rpath, $1)=yes
6953 ;;
6954
6955 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6956 case $cc_basename in
6957 KCC*)
6958 # Kuck and Associates, Inc. (KAI) C++ Compiler
6959
6960 # KCC will only create a shared library if the output file
6961 # ends with ".so" (or ".sl" for HP-UX), so rename the library
6962 # to its proper name (with version) after linking.
6963 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
6964 _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
6965 # Commands to make compiler produce verbose output that lists
6966 # what "hidden" libraries, object files and flags are used when
6967 # linking a shared library.
6968 #
6969 # There doesn't appear to be a way to prevent this compiler from
6970 # explicitly linking system object files so we need to strip them
6971 # from the output so that they don't get included in the library
6972 # dependencies.
6973 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6974
6975 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
6976 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
6977
6978 # Archives containing C++ object files must be created using
6979 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6980 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
6981 ;;
6982 icpc* | ecpc* )
6983 # Intel C++
6984 with_gnu_ld=yes
6985 # version 8.0 and above of icpc choke on multiply defined symbols
6986 # if we add $predep_objects and $postdep_objects, however 7.1 and
6987 # earlier do not add the objects themselves.
6988 case `$CC -V 2>&1` in
6989 *"Version 7."*)
6990 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
6991 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
6992 ;;
6993 *) # Version 8.0 or newer
6994 tmp_idyn=
6995 case $host_cpu in
6996 ia64*) tmp_idyn=' -i_dynamic';;
6997 esac
6998 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
6999 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
7000 ;;
7001 esac
7002 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7003 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7004 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7005 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
7006 ;;
7007 pgCC* | pgcpp*)
7008 # Portland Group C++ compiler
7009 case `$CC -V` in
7010 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
7011 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
7012 rm -rf $tpldir~
7013 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
7014 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
7015 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
7016 rm -rf $tpldir~
7017 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
7018 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
7019 $RANLIB $oldlib'
7020 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
7021 rm -rf $tpldir~
7022 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7023 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7024 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
7025 rm -rf $tpldir~
7026 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
7027 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
7028 ;;
7029 *) # Version 6 and above use weak symbols
7030 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7031 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
7032 ;;
7033 esac
7034
7035 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
7036 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7037 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
7038 ;;
7039 cxx*)
7040 # Compaq C++
7041 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
7042 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
7043
7044 runpath_var=LD_RUN_PATH
7045 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7046 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7047
7048 # Commands to make compiler produce verbose output that lists
7049 # what "hidden" libraries, object files and flags are used when
7050 # linking a shared library.
7051 #
7052 # There doesn't appear to be a way to prevent this compiler from
7053 # explicitly linking system object files so we need to strip them
7054 # from the output so that they don't get included in the library
7055 # dependencies.
7056 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
7057 ;;
7058 xl* | mpixl* | bgxl*)
7059 # IBM XL 8.0 on PPC, with GNU ld
7060 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7061 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
7062 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
7063 if test yes = "$supports_anon_versioning"; then
7064 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7065 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7066 echo "local: *; };" >> $output_objdir/$libname.ver~
7067 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
7068 fi
7069 ;;
7070 *)
7071 case `$CC -V 2>&1 | $SED 5q` in
7072 *Sun\ C*)
7073 # Sun C++ 5.9
7074 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7075 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7076 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
7077 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7078 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
7079 _LT_TAGVAR(compiler_needs_object, $1)=yes
7080
7081 # Not sure whether something based on
7082 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
7083 # would be better.
7084 output_verbose_link_cmd='func_echo_all'
7085
7086 # Archives containing C++ object files must be created using
7087 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7088 # necessary to make sure instantiated templates are included
7089 # in the archive.
7090 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7091 ;;
7092 esac
7093 ;;
7094 esac
7095 ;;
7096
7097 lynxos*)
7098 # FIXME: insert proper C++ library support
7099 _LT_TAGVAR(ld_shlibs, $1)=no
7100 ;;
7101
7102 m88k*)
7103 # FIXME: insert proper C++ library support
7104 _LT_TAGVAR(ld_shlibs, $1)=no
7105 ;;
7106
7107 mvs*)
7108 case $cc_basename in
7109 cxx*)
7110 # FIXME: insert proper C++ library support
7111 _LT_TAGVAR(ld_shlibs, $1)=no
7112 ;;
7113 *)
7114 # FIXME: insert proper C++ library support
7115 _LT_TAGVAR(ld_shlibs, $1)=no
7116 ;;
7117 esac
7118 ;;
7119
7120 netbsd*)
7121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7122 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7123 wlarc=
7124 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7125 _LT_TAGVAR(hardcode_direct, $1)=yes
7126 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7127 fi
7128 # Workaround some broken pre-1.5 toolchains
7129 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
7130 ;;
7131
7132 *nto* | *qnx*)
7133 _LT_TAGVAR(ld_shlibs, $1)=yes
7134 ;;
7135
7136 openbsd* | bitrig*)
7137 if test -f /usr/libexec/ld.so; then
7138 _LT_TAGVAR(hardcode_direct, $1)=yes
7139 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7140 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7141 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7142 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7143 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
7144 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
7145 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
7146 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
7147 fi
7148 output_verbose_link_cmd=func_echo_all
7149 else
7150 _LT_TAGVAR(ld_shlibs, $1)=no
7151 fi
7152 ;;
7153
7154 osf3* | osf4* | osf5*)
7155 case $cc_basename in
7156 KCC*)
7157 # Kuck and Associates, Inc. (KAI) C++ Compiler
7158
7159 # KCC will only create a shared library if the output file
7160 # ends with ".so" (or ".sl" for HP-UX), so rename the library
7161 # to its proper name (with version) after linking.
7162 _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
7163
7164 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
7165 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7166
7167 # Archives containing C++ object files must be created using
7168 # the KAI C++ compiler.
7169 case $host in
7170 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
7171 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
7172 esac
7173 ;;
7174 RCC*)
7175 # Rational C++ 2.4.1
7176 # FIXME: insert proper C++ library support
7177 _LT_TAGVAR(ld_shlibs, $1)=no
7178 ;;
7179 cxx*)
7180 case $host in
7181 osf3*)
7182 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7183 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
7184 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7185 ;;
7186 *)
7187 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7188 _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
7189 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
7190 echo "-hidden">> $lib.exp~
7191 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
7192 $RM $lib.exp'
7193 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7194 ;;
7195 esac
7196
7197 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7198
7199 # Commands to make compiler produce verbose output that lists
7200 # what "hidden" libraries, object files and flags are used when
7201 # linking a shared library.
7202 #
7203 # There doesn't appear to be a way to prevent this compiler from
7204 # explicitly linking system object files so we need to strip them
7205 # from the output so that they don't get included in the library
7206 # dependencies.
7207 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
7208 ;;
7209 *)
7210 if test yes,no = "$GXX,$with_gnu_ld"; then
7211 _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
7212 case $host in
7213 osf3*)
7214 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
7215 ;;
7216 *)
7217 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
7218 ;;
7219 esac
7220
7221 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
7222 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7223
7224 # Commands to make compiler produce verbose output that lists
7225 # what "hidden" libraries, object files and flags are used when
7226 # linking a shared library.
7227 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7228
7229 else
7230 # FIXME: insert proper C++ library support
7231 _LT_TAGVAR(ld_shlibs, $1)=no
7232 fi
7233 ;;
7234 esac
7235 ;;
7236
7237 psos*)
7238 # FIXME: insert proper C++ library support
7239 _LT_TAGVAR(ld_shlibs, $1)=no
7240 ;;
7241
7242 sunos4*)
7243 case $cc_basename in
7244 CC*)
7245 # Sun C++ 4.x
7246 # FIXME: insert proper C++ library support
7247 _LT_TAGVAR(ld_shlibs, $1)=no
7248 ;;
7249 lcc*)
7250 # Lucid
7251 # FIXME: insert proper C++ library support
7252 _LT_TAGVAR(ld_shlibs, $1)=no
7253 ;;
7254 *)
7255 # FIXME: insert proper C++ library support
7256 _LT_TAGVAR(ld_shlibs, $1)=no
7257 ;;
7258 esac
7259 ;;
7260
7261 solaris*)
7262 case $cc_basename in
7263 CC* | sunCC*)
7264 # Sun C++ 4.2, 5.x and Centerline C++
7265 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
7266 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
7267 _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7268 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7269 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7270
7271 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7272 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7273 case $host_os in
7274 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7275 *)
7276 # The compiler driver will combine and reorder linker options,
7277 # but understands '-z linker_flag'.
7278 # Supported since Solaris 2.6 (maybe 2.5.1?)
7279 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
7280 ;;
7281 esac
7282 _LT_TAGVAR(link_all_deplibs, $1)=yes
7283
7284 output_verbose_link_cmd='func_echo_all'
7285
7286 # Archives containing C++ object files must be created using
7287 # "CC -xar", where "CC" is the Sun C++ compiler. This is
7288 # necessary to make sure instantiated templates are included
7289 # in the archive.
7290 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
7291 ;;
7292 gcx*)
7293 # Green Hills C++ Compiler
7294 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7295
7296 # The C++ compiler must be used to create the archive.
7297 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7298 ;;
7299 *)
7300 # GNU C++ compiler with Solaris linker
7301 if test yes,no = "$GXX,$with_gnu_ld"; then
7302 _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
7303 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
7304 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7305 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7306 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7307
7308 # Commands to make compiler produce verbose output that lists
7309 # what "hidden" libraries, object files and flags are used when
7310 # linking a shared library.
7311 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7312 else
7313 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7314 # platform.
7315 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
7316 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7317 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
7318
7319 # Commands to make compiler produce verbose output that lists
7320 # what "hidden" libraries, object files and flags are used when
7321 # linking a shared library.
7322 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7323 fi
7324
7325 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
7326 case $host_os in
7327 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7328 *)
7329 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
7330 ;;
7331 esac
7332 fi
7333 ;;
7334 esac
7335 ;;
7336
7337 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
7338 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7339 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7340 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7341 runpath_var='LD_RUN_PATH'
7342
7343 case $cc_basename in
7344 CC*)
7345 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7346 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7347 ;;
7348 *)
7349 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7350 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7351 ;;
7352 esac
7353 ;;
7354
7355 sysv5* | sco3.2v5* | sco5v6*)
7356 # Note: We CANNOT use -z defs as we might desire, because we do not
7357 # link with -lc, and that would cause any symbols used from libc to
7358 # always be unresolved, which means just about no library would
7359 # ever link correctly. If we're not using GNU ld we use -z text
7360 # though, which does catch some bad symbols but isn't as heavy-handed
7361 # as -z defs.
7362 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
7363 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
7364 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7365 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7366 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
7367 _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
7368 _LT_TAGVAR(link_all_deplibs, $1)=yes
7369 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
7370 runpath_var='LD_RUN_PATH'
7371
7372 case $cc_basename in
7373 CC*)
7374 _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7375 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7376 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7377 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7378 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7379 '"$_LT_TAGVAR(reload_cmds, $1)"
7380 ;;
7381 *)
7382 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7383 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7384 ;;
7385 esac
7386 ;;
7387
7388 tandem*)
7389 case $cc_basename in
7390 NCC*)
7391 # NonStop-UX NCC 3.20
7392 # FIXME: insert proper C++ library support
7393 _LT_TAGVAR(ld_shlibs, $1)=no
7394 ;;
7395 *)
7396 # FIXME: insert proper C++ library support
7397 _LT_TAGVAR(ld_shlibs, $1)=no
7398 ;;
7399 esac
7400 ;;
7401
7402 vxworks*)
7403 # FIXME: insert proper C++ library support
7404 _LT_TAGVAR(ld_shlibs, $1)=no
7405 ;;
7406
7407 *)
7408 # FIXME: insert proper C++ library support
7409 _LT_TAGVAR(ld_shlibs, $1)=no
7410 ;;
7411 esac
7412
7413 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
7414 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
7415
7416 _LT_TAGVAR(GCC, $1)=$GXX
7417 _LT_TAGVAR(LD, $1)=$LD
7418
7419 ## CAVEAT EMPTOR:
7420 ## There is no encapsulation within the following macros, do not change
7421 ## the running order or otherwise move them around unless you know exactly
7422 ## what you are doing...
7423 _LT_SYS_HIDDEN_LIBDEPS($1)
7424 _LT_COMPILER_PIC($1)
7425 _LT_COMPILER_C_O($1)
7426 _LT_COMPILER_FILE_LOCKS($1)
7427 _LT_LINKER_SHLIBS($1)
7428 _LT_SYS_DYNAMIC_LINKER($1)
7429 _LT_LINKER_HARDCODE_LIBPATH($1)
7430
7431 _LT_CONFIG($1)
7432 fi # test -n "$compiler"
7433
7434 CC=$lt_save_CC
7435 CFLAGS=$lt_save_CFLAGS
7436 LDCXX=$LD
7437 LD=$lt_save_LD
7438 GCC=$lt_save_GCC
7439 with_gnu_ld=$lt_save_with_gnu_ld
7440 lt_cv_path_LDCXX=$lt_cv_path_LD
7441 lt_cv_path_LD=$lt_save_path_LD
7442 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
7443 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
7444 fi # test yes != "$_lt_caught_CXX_error"
7445
7446 AC_LANG_POP
7447 ])# _LT_LANG_CXX_CONFIG
7448
7449
7450 # _LT_FUNC_STRIPNAME_CNF
7451 # ----------------------
7452 # func_stripname_cnf prefix suffix name
7453 # strip PREFIX and SUFFIX off of NAME.
7454 # PREFIX and SUFFIX must not contain globbing or regex special
7455 # characters, hashes, percent signs, but SUFFIX may contain a leading
7456 # dot (in which case that matches only a dot).
7457 #
7458 # This function is identical to the (non-XSI) version of func_stripname,
7459 # except this one can be used by m4 code that may be executed by configure,
7460 # rather than the libtool script.
7461 m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
7462 AC_REQUIRE([_LT_DECL_SED])
7463 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
7464 func_stripname_cnf ()
7465 {
7466 case @S|@2 in
7467 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
7468 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
7469 esac
7470 } # func_stripname_cnf
7471 ])# _LT_FUNC_STRIPNAME_CNF
7472
7473
7474 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
7475 # ---------------------------------
7476 # Figure out "hidden" library dependencies from verbose
7477 # compiler output when linking a shared library.
7478 # Parse the compiler output and extract the necessary
7479 # objects, libraries and library flags.
7480 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
7481 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
7482 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
7483 # Dependencies to place before and after the object being linked:
7484 _LT_TAGVAR(predep_objects, $1)=
7485 _LT_TAGVAR(postdep_objects, $1)=
7486 _LT_TAGVAR(predeps, $1)=
7487 _LT_TAGVAR(postdeps, $1)=
7488 _LT_TAGVAR(compiler_lib_search_path, $1)=
7489
7490 dnl we can't use the lt_simple_compile_test_code here,
7491 dnl because it contains code intended for an executable,
7492 dnl not a library. It's possible we should let each
7493 dnl tag define a new lt_????_link_test_code variable,
7494 dnl but it's only used here...
7495 m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
7496 int a;
7497 void foo (void) { a = 0; }
7498 _LT_EOF
7499 ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
7500 class Foo
7501 {
7502 public:
7503 Foo (void) { a = 0; }
7504 private:
7505 int a;
7506 };
7507 _LT_EOF
7508 ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
7509 subroutine foo
7510 implicit none
7511 integer*4 a
7512 a=0
7513 return
7514 end
7515 _LT_EOF
7516 ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
7517 subroutine foo
7518 implicit none
7519 integer a
7520 a=0
7521 return
7522 end
7523 _LT_EOF
7524 ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
7525 public class foo {
7526 private int a;
7527 public void bar (void) {
7528 a = 0;
7529 }
7530 };
7531 _LT_EOF
7532 ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
7533 package foo
7534 func foo() {
7535 }
7536 _LT_EOF
7537 ])
7538
7539 _lt_libdeps_save_CFLAGS=$CFLAGS
7540 case "$CC $CFLAGS " in #(
7541 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
7542 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
7543 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
7544 esac
7545
7546 dnl Parse the compiler output and extract the necessary
7547 dnl objects, libraries and library flags.
7548 if AC_TRY_EVAL(ac_compile); then
7549 # Parse the compiler output and extract the necessary
7550 # objects, libraries and library flags.
7551
7552 # Sentinel used to keep track of whether or not we are before
7553 # the conftest object file.
7554 pre_test_object_deps_done=no
7555
7556 for p in `eval "$output_verbose_link_cmd"`; do
7557 case $prev$p in
7558
7559 -L* | -R* | -l*)
7560 # Some compilers place space between "-{L,R}" and the path.
7561 # Remove the space.
7562 if test x-L = "$p" ||
7563 test x-R = "$p"; then
7564 prev=$p
7565 continue
7566 fi
7567
7568 # Expand the sysroot to ease extracting the directories later.
7569 if test -z "$prev"; then
7570 case $p in
7571 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
7572 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
7573 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
7574 esac
7575 fi
7576 case $p in
7577 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
7578 esac
7579 if test no = "$pre_test_object_deps_done"; then
7580 case $prev in
7581 -L | -R)
7582 # Internal compiler library paths should come after those
7583 # provided the user. The postdeps already come after the
7584 # user supplied libs so there is no need to process them.
7585 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
7586 _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
7587 else
7588 _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
7589 fi
7590 ;;
7591 # The "-l" case would never come before the object being
7592 # linked, so don't bother handling this case.
7593 esac
7594 else
7595 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
7596 _LT_TAGVAR(postdeps, $1)=$prev$p
7597 else
7598 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
7599 fi
7600 fi
7601 prev=
7602 ;;
7603
7604 *.lto.$objext) ;; # Ignore GCC LTO objects
7605 *.$objext)
7606 # This assumes that the test object file only shows up
7607 # once in the compiler output.
7608 if test "$p" = "conftest.$objext"; then
7609 pre_test_object_deps_done=yes
7610 continue
7611 fi
7612
7613 if test no = "$pre_test_object_deps_done"; then
7614 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
7615 _LT_TAGVAR(predep_objects, $1)=$p
7616 else
7617 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
7618 fi
7619 else
7620 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
7621 _LT_TAGVAR(postdep_objects, $1)=$p
7622 else
7623 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
7624 fi
7625 fi
7626 ;;
7627
7628 *) ;; # Ignore the rest.
7629
7630 esac
7631 done
7632
7633 # Clean up.
7634 rm -f a.out a.exe
7635 else
7636 echo "libtool.m4: error: problem compiling $1 test program"
7637 fi
7638
7639 $RM -f confest.$objext
7640 CFLAGS=$_lt_libdeps_save_CFLAGS
7641
7642 # PORTME: override above test on systems where it is broken
7643 m4_if([$1], [CXX],
7644 [case $host_os in
7645 interix[[3-9]]*)
7646 # Interix 3.5 installs completely hosed .la files for C++, so rather than
7647 # hack all around it, let's just trust "g++" to DTRT.
7648 _LT_TAGVAR(predep_objects,$1)=
7649 _LT_TAGVAR(postdep_objects,$1)=
7650 _LT_TAGVAR(postdeps,$1)=
7651 ;;
7652 esac
7653 ])
7654
7655 case " $_LT_TAGVAR(postdeps, $1) " in
7656 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
7657 esac
7658 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
7659 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
7660 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
7661 fi
7662 _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
7663 [The directories searched by this compiler when creating a shared library])
7664 _LT_TAGDECL([], [predep_objects], [1],
7665 [Dependencies to place before and after the objects being linked to
7666 create a shared library])
7667 _LT_TAGDECL([], [postdep_objects], [1])
7668 _LT_TAGDECL([], [predeps], [1])
7669 _LT_TAGDECL([], [postdeps], [1])
7670 _LT_TAGDECL([], [compiler_lib_search_path], [1],
7671 [The library search path used internally by the compiler when linking
7672 a shared library])
7673 ])# _LT_SYS_HIDDEN_LIBDEPS
7674
7675
7676 # _LT_LANG_F77_CONFIG([TAG])
7677 # --------------------------
7678 # Ensure that the configuration variables for a Fortran 77 compiler are
7679 # suitably defined. These variables are subsequently used by _LT_CONFIG
7680 # to write the compiler configuration to 'libtool'.
7681 m4_defun([_LT_LANG_F77_CONFIG],
7682 [AC_LANG_PUSH(Fortran 77)
7683 if test -z "$F77" || test no = "$F77"; then
7684 _lt_disable_F77=yes
7685 fi
7686
7687 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7688 _LT_TAGVAR(allow_undefined_flag, $1)=
7689 _LT_TAGVAR(always_export_symbols, $1)=no
7690 _LT_TAGVAR(archive_expsym_cmds, $1)=
7691 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7692 _LT_TAGVAR(hardcode_direct, $1)=no
7693 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7694 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7695 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7696 _LT_TAGVAR(hardcode_minus_L, $1)=no
7697 _LT_TAGVAR(hardcode_automatic, $1)=no
7698 _LT_TAGVAR(inherit_rpath, $1)=no
7699 _LT_TAGVAR(module_cmds, $1)=
7700 _LT_TAGVAR(module_expsym_cmds, $1)=
7701 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7702 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7703 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7704 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7705 _LT_TAGVAR(no_undefined_flag, $1)=
7706 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7707 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7708
7709 # Source file extension for f77 test sources.
7710 ac_ext=f
7711
7712 # Object file extension for compiled f77 test sources.
7713 objext=o
7714 _LT_TAGVAR(objext, $1)=$objext
7715
7716 # No sense in running all these tests if we already determined that
7717 # the F77 compiler isn't working. Some variables (like enable_shared)
7718 # are currently assumed to apply to all compilers on this platform,
7719 # and will be corrupted by setting them based on a non-working compiler.
7720 if test yes != "$_lt_disable_F77"; then
7721 # Code to be used in simple compile tests
7722 lt_simple_compile_test_code="\
7723 subroutine t
7724 return
7725 end
7726 "
7727
7728 # Code to be used in simple link tests
7729 lt_simple_link_test_code="\
7730 program t
7731 end
7732 "
7733
7734 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7735 _LT_TAG_COMPILER
7736
7737 # save warnings/boilerplate of simple test code
7738 _LT_COMPILER_BOILERPLATE
7739 _LT_LINKER_BOILERPLATE
7740
7741 # Allow CC to be a program name with arguments.
7742 lt_save_CC=$CC
7743 lt_save_GCC=$GCC
7744 lt_save_CFLAGS=$CFLAGS
7745 CC=${F77-"f77"}
7746 CFLAGS=$FFLAGS
7747 compiler=$CC
7748 _LT_TAGVAR(compiler, $1)=$CC
7749 _LT_CC_BASENAME([$compiler])
7750 GCC=$G77
7751 if test -n "$compiler"; then
7752 AC_MSG_CHECKING([if libtool supports shared libraries])
7753 AC_MSG_RESULT([$can_build_shared])
7754
7755 AC_MSG_CHECKING([whether to build shared libraries])
7756 test no = "$can_build_shared" && enable_shared=no
7757
7758 # On AIX, shared libraries and static libraries use the same namespace, and
7759 # are all built from PIC.
7760 case $host_os in
7761 aix3*)
7762 test yes = "$enable_shared" && enable_static=no
7763 if test -n "$RANLIB"; then
7764 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7765 postinstall_cmds='$RANLIB $lib'
7766 fi
7767 ;;
7768 aix[[4-9]]*)
7769 if test ia64 != "$host_cpu"; then
7770 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7771 yes,aix,yes) ;; # shared object as lib.so file only
7772 yes,svr4,*) ;; # shared object as lib.so archive member only
7773 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7774 esac
7775 fi
7776 ;;
7777 esac
7778 AC_MSG_RESULT([$enable_shared])
7779
7780 AC_MSG_CHECKING([whether to build static libraries])
7781 # Make sure either enable_shared or enable_static is yes.
7782 test yes = "$enable_shared" || enable_static=yes
7783 AC_MSG_RESULT([$enable_static])
7784
7785 _LT_TAGVAR(GCC, $1)=$G77
7786 _LT_TAGVAR(LD, $1)=$LD
7787
7788 ## CAVEAT EMPTOR:
7789 ## There is no encapsulation within the following macros, do not change
7790 ## the running order or otherwise move them around unless you know exactly
7791 ## what you are doing...
7792 _LT_COMPILER_PIC($1)
7793 _LT_COMPILER_C_O($1)
7794 _LT_COMPILER_FILE_LOCKS($1)
7795 _LT_LINKER_SHLIBS($1)
7796 _LT_SYS_DYNAMIC_LINKER($1)
7797 _LT_LINKER_HARDCODE_LIBPATH($1)
7798
7799 _LT_CONFIG($1)
7800 fi # test -n "$compiler"
7801
7802 GCC=$lt_save_GCC
7803 CC=$lt_save_CC
7804 CFLAGS=$lt_save_CFLAGS
7805 fi # test yes != "$_lt_disable_F77"
7806
7807 AC_LANG_POP
7808 ])# _LT_LANG_F77_CONFIG
7809
7810
7811 # _LT_LANG_FC_CONFIG([TAG])
7812 # -------------------------
7813 # Ensure that the configuration variables for a Fortran compiler are
7814 # suitably defined. These variables are subsequently used by _LT_CONFIG
7815 # to write the compiler configuration to 'libtool'.
7816 m4_defun([_LT_LANG_FC_CONFIG],
7817 [AC_LANG_PUSH(Fortran)
7818
7819 if test -z "$FC" || test no = "$FC"; then
7820 _lt_disable_FC=yes
7821 fi
7822
7823 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7824 _LT_TAGVAR(allow_undefined_flag, $1)=
7825 _LT_TAGVAR(always_export_symbols, $1)=no
7826 _LT_TAGVAR(archive_expsym_cmds, $1)=
7827 _LT_TAGVAR(export_dynamic_flag_spec, $1)=
7828 _LT_TAGVAR(hardcode_direct, $1)=no
7829 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
7830 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7831 _LT_TAGVAR(hardcode_libdir_separator, $1)=
7832 _LT_TAGVAR(hardcode_minus_L, $1)=no
7833 _LT_TAGVAR(hardcode_automatic, $1)=no
7834 _LT_TAGVAR(inherit_rpath, $1)=no
7835 _LT_TAGVAR(module_cmds, $1)=
7836 _LT_TAGVAR(module_expsym_cmds, $1)=
7837 _LT_TAGVAR(link_all_deplibs, $1)=unknown
7838 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7839 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7840 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7841 _LT_TAGVAR(no_undefined_flag, $1)=
7842 _LT_TAGVAR(whole_archive_flag_spec, $1)=
7843 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7844
7845 # Source file extension for fc test sources.
7846 ac_ext=${ac_fc_srcext-f}
7847
7848 # Object file extension for compiled fc test sources.
7849 objext=o
7850 _LT_TAGVAR(objext, $1)=$objext
7851
7852 # No sense in running all these tests if we already determined that
7853 # the FC compiler isn't working. Some variables (like enable_shared)
7854 # are currently assumed to apply to all compilers on this platform,
7855 # and will be corrupted by setting them based on a non-working compiler.
7856 if test yes != "$_lt_disable_FC"; then
7857 # Code to be used in simple compile tests
7858 lt_simple_compile_test_code="\
7859 subroutine t
7860 return
7861 end
7862 "
7863
7864 # Code to be used in simple link tests
7865 lt_simple_link_test_code="\
7866 program t
7867 end
7868 "
7869
7870 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7871 _LT_TAG_COMPILER
7872
7873 # save warnings/boilerplate of simple test code
7874 _LT_COMPILER_BOILERPLATE
7875 _LT_LINKER_BOILERPLATE
7876
7877 # Allow CC to be a program name with arguments.
7878 lt_save_CC=$CC
7879 lt_save_GCC=$GCC
7880 lt_save_CFLAGS=$CFLAGS
7881 CC=${FC-"f95"}
7882 CFLAGS=$FCFLAGS
7883 compiler=$CC
7884 GCC=$ac_cv_fc_compiler_gnu
7885
7886 _LT_TAGVAR(compiler, $1)=$CC
7887 _LT_CC_BASENAME([$compiler])
7888
7889 if test -n "$compiler"; then
7890 AC_MSG_CHECKING([if libtool supports shared libraries])
7891 AC_MSG_RESULT([$can_build_shared])
7892
7893 AC_MSG_CHECKING([whether to build shared libraries])
7894 test no = "$can_build_shared" && enable_shared=no
7895
7896 # On AIX, shared libraries and static libraries use the same namespace, and
7897 # are all built from PIC.
7898 case $host_os in
7899 aix3*)
7900 test yes = "$enable_shared" && enable_static=no
7901 if test -n "$RANLIB"; then
7902 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7903 postinstall_cmds='$RANLIB $lib'
7904 fi
7905 ;;
7906 aix[[4-9]]*)
7907 if test ia64 != "$host_cpu"; then
7908 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
7909 yes,aix,yes) ;; # shared object as lib.so file only
7910 yes,svr4,*) ;; # shared object as lib.so archive member only
7911 yes,*) enable_static=no ;; # shared object in lib.a archive as well
7912 esac
7913 fi
7914 ;;
7915 esac
7916 AC_MSG_RESULT([$enable_shared])
7917
7918 AC_MSG_CHECKING([whether to build static libraries])
7919 # Make sure either enable_shared or enable_static is yes.
7920 test yes = "$enable_shared" || enable_static=yes
7921 AC_MSG_RESULT([$enable_static])
7922
7923 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
7924 _LT_TAGVAR(LD, $1)=$LD
7925
7926 ## CAVEAT EMPTOR:
7927 ## There is no encapsulation within the following macros, do not change
7928 ## the running order or otherwise move them around unless you know exactly
7929 ## what you are doing...
7930 _LT_SYS_HIDDEN_LIBDEPS($1)
7931 _LT_COMPILER_PIC($1)
7932 _LT_COMPILER_C_O($1)
7933 _LT_COMPILER_FILE_LOCKS($1)
7934 _LT_LINKER_SHLIBS($1)
7935 _LT_SYS_DYNAMIC_LINKER($1)
7936 _LT_LINKER_HARDCODE_LIBPATH($1)
7937
7938 _LT_CONFIG($1)
7939 fi # test -n "$compiler"
7940
7941 GCC=$lt_save_GCC
7942 CC=$lt_save_CC
7943 CFLAGS=$lt_save_CFLAGS
7944 fi # test yes != "$_lt_disable_FC"
7945
7946 AC_LANG_POP
7947 ])# _LT_LANG_FC_CONFIG
7948
7949
7950 # _LT_LANG_GCJ_CONFIG([TAG])
7951 # --------------------------
7952 # Ensure that the configuration variables for the GNU Java Compiler compiler
7953 # are suitably defined. These variables are subsequently used by _LT_CONFIG
7954 # to write the compiler configuration to 'libtool'.
7955 m4_defun([_LT_LANG_GCJ_CONFIG],
7956 [AC_REQUIRE([LT_PROG_GCJ])dnl
7957 AC_LANG_SAVE
7958
7959 # Source file extension for Java test sources.
7960 ac_ext=java
7961
7962 # Object file extension for compiled Java test sources.
7963 objext=o
7964 _LT_TAGVAR(objext, $1)=$objext
7965
7966 # Code to be used in simple compile tests
7967 lt_simple_compile_test_code="class foo {}"
7968
7969 # Code to be used in simple link tests
7970 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
7971
7972 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
7973 _LT_TAG_COMPILER
7974
7975 # save warnings/boilerplate of simple test code
7976 _LT_COMPILER_BOILERPLATE
7977 _LT_LINKER_BOILERPLATE
7978
7979 # Allow CC to be a program name with arguments.
7980 lt_save_CC=$CC
7981 lt_save_CFLAGS=$CFLAGS
7982 lt_save_GCC=$GCC
7983 GCC=yes
7984 CC=${GCJ-"gcj"}
7985 CFLAGS=$GCJFLAGS
7986 compiler=$CC
7987 _LT_TAGVAR(compiler, $1)=$CC
7988 _LT_TAGVAR(LD, $1)=$LD
7989 _LT_CC_BASENAME([$compiler])
7990
7991 # GCJ did not exist at the time GCC didn't implicitly link libc in.
7992 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7993
7994 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7995 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7996 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7997
7998 ## CAVEAT EMPTOR:
7999 ## There is no encapsulation within the following macros, do not change
8000 ## the running order or otherwise move them around unless you know exactly
8001 ## what you are doing...
8002 if test -n "$compiler"; then
8003 _LT_COMPILER_NO_RTTI($1)
8004 _LT_COMPILER_PIC($1)
8005 _LT_COMPILER_C_O($1)
8006 _LT_COMPILER_FILE_LOCKS($1)
8007 _LT_LINKER_SHLIBS($1)
8008 _LT_LINKER_HARDCODE_LIBPATH($1)
8009
8010 _LT_CONFIG($1)
8011 fi
8012
8013 AC_LANG_RESTORE
8014
8015 GCC=$lt_save_GCC
8016 CC=$lt_save_CC
8017 CFLAGS=$lt_save_CFLAGS
8018 ])# _LT_LANG_GCJ_CONFIG
8019
8020
8021 # _LT_LANG_GO_CONFIG([TAG])
8022 # --------------------------
8023 # Ensure that the configuration variables for the GNU Go compiler
8024 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8025 # to write the compiler configuration to 'libtool'.
8026 m4_defun([_LT_LANG_GO_CONFIG],
8027 [AC_REQUIRE([LT_PROG_GO])dnl
8028 AC_LANG_SAVE
8029
8030 # Source file extension for Go test sources.
8031 ac_ext=go
8032
8033 # Object file extension for compiled Go test sources.
8034 objext=o
8035 _LT_TAGVAR(objext, $1)=$objext
8036
8037 # Code to be used in simple compile tests
8038 lt_simple_compile_test_code="package main; func main() { }"
8039
8040 # Code to be used in simple link tests
8041 lt_simple_link_test_code='package main; func main() { }'
8042
8043 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
8044 _LT_TAG_COMPILER
8045
8046 # save warnings/boilerplate of simple test code
8047 _LT_COMPILER_BOILERPLATE
8048 _LT_LINKER_BOILERPLATE
8049
8050 # Allow CC to be a program name with arguments.
8051 lt_save_CC=$CC
8052 lt_save_CFLAGS=$CFLAGS
8053 lt_save_GCC=$GCC
8054 GCC=yes
8055 CC=${GOC-"gccgo"}
8056 CFLAGS=$GOFLAGS
8057 compiler=$CC
8058 _LT_TAGVAR(compiler, $1)=$CC
8059 _LT_TAGVAR(LD, $1)=$LD
8060 _LT_CC_BASENAME([$compiler])
8061
8062 # Go did not exist at the time GCC didn't implicitly link libc in.
8063 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
8064
8065 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
8066 _LT_TAGVAR(reload_flag, $1)=$reload_flag
8067 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8068
8069 ## CAVEAT EMPTOR:
8070 ## There is no encapsulation within the following macros, do not change
8071 ## the running order or otherwise move them around unless you know exactly
8072 ## what you are doing...
8073 if test -n "$compiler"; then
8074 _LT_COMPILER_NO_RTTI($1)
8075 _LT_COMPILER_PIC($1)
8076 _LT_COMPILER_C_O($1)
8077 _LT_COMPILER_FILE_LOCKS($1)
8078 _LT_LINKER_SHLIBS($1)
8079 _LT_LINKER_HARDCODE_LIBPATH($1)
8080
8081 _LT_CONFIG($1)
8082 fi
8083
8084 AC_LANG_RESTORE
8085
8086 GCC=$lt_save_GCC
8087 CC=$lt_save_CC
8088 CFLAGS=$lt_save_CFLAGS
8089 ])# _LT_LANG_GO_CONFIG
8090
8091
8092 # _LT_LANG_RC_CONFIG([TAG])
8093 # -------------------------
8094 # Ensure that the configuration variables for the Windows resource compiler
8095 # are suitably defined. These variables are subsequently used by _LT_CONFIG
8096 # to write the compiler configuration to 'libtool'.
8097 m4_defun([_LT_LANG_RC_CONFIG],
8098 [AC_REQUIRE([LT_PROG_RC])dnl
8099 AC_LANG_SAVE
8100
8101 # Source file extension for RC test sources.
8102 ac_ext=rc
8103
8104 # Object file extension for compiled RC test sources.
8105 objext=o
8106 _LT_TAGVAR(objext, $1)=$objext
8107
8108 # Code to be used in simple compile tests
8109 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
8110
8111 # Code to be used in simple link tests
8112 lt_simple_link_test_code=$lt_simple_compile_test_code
8113
8114 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
8115 _LT_TAG_COMPILER
8116
8117 # save warnings/boilerplate of simple test code
8118 _LT_COMPILER_BOILERPLATE
8119 _LT_LINKER_BOILERPLATE
8120
8121 # Allow CC to be a program name with arguments.
8122 lt_save_CC=$CC
8123 lt_save_CFLAGS=$CFLAGS
8124 lt_save_GCC=$GCC
8125 GCC=
8126 CC=${RC-"windres"}
8127 CFLAGS=
8128 compiler=$CC
8129 _LT_TAGVAR(compiler, $1)=$CC
8130 _LT_CC_BASENAME([$compiler])
8131 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
8132
8133 if test -n "$compiler"; then
8134 :
8135 _LT_CONFIG($1)
8136 fi
8137
8138 GCC=$lt_save_GCC
8139 AC_LANG_RESTORE
8140 CC=$lt_save_CC
8141 CFLAGS=$lt_save_CFLAGS
8142 ])# _LT_LANG_RC_CONFIG
8143
8144
8145 # LT_PROG_GCJ
8146 # -----------
8147 AC_DEFUN([LT_PROG_GCJ],
8148 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
8149 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
8150 [AC_CHECK_TOOL(GCJ, gcj,)
8151 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
8152 AC_SUBST(GCJFLAGS)])])[]dnl
8153 ])
8154
8155 # Old name:
8156 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
8157 dnl aclocal-1.4 backwards compatibility:
8158 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
8159
8160
8161 # LT_PROG_GO
8162 # ----------
8163 AC_DEFUN([LT_PROG_GO],
8164 [AC_CHECK_TOOL(GOC, gccgo,)
8165 ])
8166
8167
8168 # LT_PROG_RC
8169 # ----------
8170 AC_DEFUN([LT_PROG_RC],
8171 [AC_CHECK_TOOL(RC, windres,)
8172 ])
8173
8174 # Old name:
8175 AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
8176 dnl aclocal-1.4 backwards compatibility:
8177 dnl AC_DEFUN([LT_AC_PROG_RC], [])
8178
8179
8180 # _LT_DECL_EGREP
8181 # --------------
8182 # If we don't have a new enough Autoconf to choose the best grep
8183 # available, choose the one first in the user's PATH.
8184 m4_defun([_LT_DECL_EGREP],
8185 [AC_REQUIRE([AC_PROG_EGREP])dnl
8186 AC_REQUIRE([AC_PROG_FGREP])dnl
8187 test -z "$GREP" && GREP=grep
8188 _LT_DECL([], [GREP], [1], [A grep program that handles long lines])
8189 _LT_DECL([], [EGREP], [1], [An ERE matcher])
8190 _LT_DECL([], [FGREP], [1], [A literal string matcher])
8191 dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
8192 AC_SUBST([GREP])
8193 ])
8194
8195
8196 # _LT_DECL_OBJDUMP
8197 # --------------
8198 # If we don't have a new enough Autoconf to choose the best objdump
8199 # available, choose the one first in the user's PATH.
8200 m4_defun([_LT_DECL_OBJDUMP],
8201 [AC_CHECK_TOOL(OBJDUMP, objdump, false)
8202 test -z "$OBJDUMP" && OBJDUMP=objdump
8203 _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
8204 AC_SUBST([OBJDUMP])
8205 ])
8206
8207 # _LT_DECL_DLLTOOL
8208 # ----------------
8209 # Ensure DLLTOOL variable is set.
8210 m4_defun([_LT_DECL_DLLTOOL],
8211 [AC_CHECK_TOOL(DLLTOOL, dlltool, false)
8212 test -z "$DLLTOOL" && DLLTOOL=dlltool
8213 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
8214 AC_SUBST([DLLTOOL])
8215 ])
8216
8217 # _LT_DECL_FILECMD
8218 # ----------------
8219 # Check for a file(cmd) program that can be used to detect file type and magic
8220 m4_defun([_LT_DECL_FILECMD],
8221 [AC_CHECK_TOOL([FILECMD], [file], [:])
8222 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
8223 ])# _LD_DECL_FILECMD
8224
8225 # _LT_DECL_SED
8226 # ------------
8227 # Check for a fully-functional sed program, that truncates
8228 # as few characters as possible. Prefer GNU sed if found.
8229 m4_defun([_LT_DECL_SED],
8230 [AC_PROG_SED
8231 test -z "$SED" && SED=sed
8232 Xsed="$SED -e 1s/^X//"
8233 _LT_DECL([], [SED], [1], [A sed program that does not truncate output])
8234 _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
8235 [Sed that helps us avoid accidentally triggering echo(1) options like -n])
8236 ])# _LT_DECL_SED
8237
8238 m4_ifndef([AC_PROG_SED], [
8239 ############################################################
8240 # NOTE: This macro has been submitted for inclusion into #
8241 # GNU Autoconf as AC_PROG_SED. When it is available in #
8242 # a released version of Autoconf we should remove this #
8243 # macro and use it instead. #
8244 ############################################################
8245
8246 m4_defun([AC_PROG_SED],
8247 [AC_MSG_CHECKING([for a sed that does not truncate output])
8248 AC_CACHE_VAL(lt_cv_path_SED,
8249 [# Loop through the user's path and test for sed and gsed.
8250 # Then use that list of sed's as ones to test for truncation.
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8253 do
8254 IFS=$as_save_IFS
8255 test -z "$as_dir" && as_dir=.
8256 for lt_ac_prog in sed gsed; do
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
8259 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8260 fi
8261 done
8262 done
8263 done
8264 IFS=$as_save_IFS
8265 lt_ac_max=0
8266 lt_ac_count=0
8267 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
8268 # along with /bin/sed that truncates output.
8269 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8270 test ! -f "$lt_ac_sed" && continue
8271 cat /dev/null > conftest.in
8272 lt_ac_count=0
8273 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8274 # Check for GNU sed and select it if it is found.
8275 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8276 lt_cv_path_SED=$lt_ac_sed
8277 break
8278 fi
8279 while true; do
8280 cat conftest.in conftest.in >conftest.tmp
8281 mv conftest.tmp conftest.in
8282 cp conftest.in conftest.nl
8283 echo >>conftest.nl
8284 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8285 cmp -s conftest.out conftest.nl || break
8286 # 10000 chars as input seems more than enough
8287 test 10 -lt "$lt_ac_count" && break
8288 lt_ac_count=`expr $lt_ac_count + 1`
8289 if test "$lt_ac_count" -gt "$lt_ac_max"; then
8290 lt_ac_max=$lt_ac_count
8291 lt_cv_path_SED=$lt_ac_sed
8292 fi
8293 done
8294 done
8295 ])
8296 SED=$lt_cv_path_SED
8297 AC_SUBST([SED])
8298 AC_MSG_RESULT([$SED])
8299 ])#AC_PROG_SED
8300 ])#m4_ifndef
8301
8302 # Old name:
8303 AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
8304 dnl aclocal-1.4 backwards compatibility:
8305 dnl AC_DEFUN([LT_AC_PROG_SED], [])
8306
8307
8308 # _LT_CHECK_SHELL_FEATURES
8309 # ------------------------
8310 # Find out whether the shell is Bourne or XSI compatible,
8311 # or has some other useful features.
8312 m4_defun([_LT_CHECK_SHELL_FEATURES],
8313 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8314 lt_unset=unset
8315 else
8316 lt_unset=false
8317 fi
8318 _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
8319
8320 # test EBCDIC or ASCII
8321 case `echo X|tr X '\101'` in
8322 A) # ASCII based system
8323 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8324 lt_SP2NL='tr \040 \012'
8325 lt_NL2SP='tr \015\012 \040\040'
8326 ;;
8327 *) # EBCDIC based system
8328 lt_SP2NL='tr \100 \n'
8329 lt_NL2SP='tr \r\n \100\100'
8330 ;;
8331 esac
8332 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
8333 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
8334 ])# _LT_CHECK_SHELL_FEATURES
8335
8336
8337 # _LT_PATH_CONVERSION_FUNCTIONS
8338 # -----------------------------
8339 # Determine what file name conversion functions should be used by
8340 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed
8341 # for certain cross-compile configurations and native mingw.
8342 m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
8343 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
8344 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
8345 AC_MSG_CHECKING([how to convert $build file names to $host format])
8346 AC_CACHE_VAL(lt_cv_to_host_file_cmd,
8347 [case $host in
8348 *-*-mingw* )
8349 case $build in
8350 *-*-mingw* ) # actually msys
8351 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8352 ;;
8353 *-*-cygwin* )
8354 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8355 ;;
8356 * ) # otherwise, assume *nix
8357 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8358 ;;
8359 esac
8360 ;;
8361 *-*-cygwin* )
8362 case $build in
8363 *-*-mingw* ) # actually msys
8364 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8365 ;;
8366 *-*-cygwin* )
8367 lt_cv_to_host_file_cmd=func_convert_file_noop
8368 ;;
8369 * ) # otherwise, assume *nix
8370 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8371 ;;
8372 esac
8373 ;;
8374 * ) # unhandled hosts (and "normal" native builds)
8375 lt_cv_to_host_file_cmd=func_convert_file_noop
8376 ;;
8377 esac
8378 ])
8379 to_host_file_cmd=$lt_cv_to_host_file_cmd
8380 AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
8381 _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
8382 [0], [convert $build file names to $host format])dnl
8383
8384 AC_MSG_CHECKING([how to convert $build file names to toolchain format])
8385 AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
8386 [#assume ordinary cross tools, or native build.
8387 lt_cv_to_tool_file_cmd=func_convert_file_noop
8388 case $host in
8389 *-*-mingw* )
8390 case $build in
8391 *-*-mingw* ) # actually msys
8392 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8393 ;;
8394 esac
8395 ;;
8396 esac
8397 ])
8398 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8399 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
8400 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
8401 [0], [convert $build files to toolchain format])dnl
8402 ])# _LT_PATH_CONVERSION_FUNCTIONS
0 # Helper functions for option handling. -*- Autoconf -*-
1 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
4 # Written by Gary V. Vaughan, 2004
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 8 ltoptions.m4
11
12 # This is to help aclocal find these macros, as it can't see m4_define.
13 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
14
15
16 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
17 # ------------------------------------------
18 m4_define([_LT_MANGLE_OPTION],
19 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
20
21
22 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
23 # ---------------------------------------
24 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
25 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
26 # saved as a flag.
27 m4_define([_LT_SET_OPTION],
28 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
29 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
30 _LT_MANGLE_DEFUN([$1], [$2]),
31 [m4_warning([Unknown $1 option '$2'])])[]dnl
32 ])
33
34
35 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
36 # ------------------------------------------------------------
37 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
38 m4_define([_LT_IF_OPTION],
39 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
40
41
42 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
43 # -------------------------------------------------------
44 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
45 # are set.
46 m4_define([_LT_UNLESS_OPTIONS],
47 [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
48 [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
49 [m4_define([$0_found])])])[]dnl
50 m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
51 ])[]dnl
52 ])
53
54
55 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
56 # ----------------------------------------
57 # OPTION-LIST is a space-separated list of Libtool options associated
58 # with MACRO-NAME. If any OPTION has a matching handler declared with
59 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
60 # the unknown option and exit.
61 m4_defun([_LT_SET_OPTIONS],
62 [# Set options
63 m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
64 [_LT_SET_OPTION([$1], _LT_Option)])
65
66 m4_if([$1],[LT_INIT],[
67 dnl
68 dnl Simply set some default values (i.e off) if boolean options were not
69 dnl specified:
70 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
71 ])
72 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
73 ])
74 dnl
75 dnl If no reference was made to various pairs of opposing options, then
76 dnl we run the default mode handler for the pair. For example, if neither
77 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
78 dnl archives by default:
79 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
80 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
81 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
82 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
83 [_LT_ENABLE_FAST_INSTALL])
84 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
85 [_LT_WITH_AIX_SONAME([aix])])
86 ])
87 ])# _LT_SET_OPTIONS
88
89
90 ## --------------------------------- ##
91 ## Macros to handle LT_INIT options. ##
92 ## --------------------------------- ##
93
94 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
95 # -----------------------------------------
96 m4_define([_LT_MANGLE_DEFUN],
97 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
98
99
100 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
101 # -----------------------------------------------
102 m4_define([LT_OPTION_DEFINE],
103 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
104 ])# LT_OPTION_DEFINE
105
106
107 # dlopen
108 # ------
109 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
110 ])
111
112 AU_DEFUN([AC_LIBTOOL_DLOPEN],
113 [_LT_SET_OPTION([LT_INIT], [dlopen])
114 AC_DIAGNOSE([obsolete],
115 [$0: Remove this warning and the call to _LT_SET_OPTION when you
116 put the 'dlopen' option into LT_INIT's first parameter.])
117 ])
118
119 dnl aclocal-1.4 backwards compatibility:
120 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
121
122
123 # win32-dll
124 # ---------
125 # Declare package support for building win32 dll's.
126 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
127 [enable_win32_dll=yes
128
129 case $host in
130 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
131 AC_CHECK_TOOL(AS, as, false)
132 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
133 AC_CHECK_TOOL(OBJDUMP, objdump, false)
134 ;;
135 esac
136
137 test -z "$AS" && AS=as
138 _LT_DECL([], [AS], [1], [Assembler program])dnl
139
140 test -z "$DLLTOOL" && DLLTOOL=dlltool
141 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
142
143 test -z "$OBJDUMP" && OBJDUMP=objdump
144 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
145 ])# win32-dll
146
147 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
148 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
149 _LT_SET_OPTION([LT_INIT], [win32-dll])
150 AC_DIAGNOSE([obsolete],
151 [$0: Remove this warning and the call to _LT_SET_OPTION when you
152 put the 'win32-dll' option into LT_INIT's first parameter.])
153 ])
154
155 dnl aclocal-1.4 backwards compatibility:
156 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
157
158
159 # _LT_ENABLE_SHARED([DEFAULT])
160 # ----------------------------
161 # implement the --enable-shared flag, and supports the 'shared' and
162 # 'disable-shared' LT_INIT options.
163 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
164 m4_define([_LT_ENABLE_SHARED],
165 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
166 AC_ARG_ENABLE([shared],
167 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
168 [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
169 [p=${PACKAGE-default}
170 case $enableval in
171 yes) enable_shared=yes ;;
172 no) enable_shared=no ;;
173 *)
174 enable_shared=no
175 # Look at the argument we got. We use all the common list separators.
176 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
177 for pkg in $enableval; do
178 IFS=$lt_save_ifs
179 if test "X$pkg" = "X$p"; then
180 enable_shared=yes
181 fi
182 done
183 IFS=$lt_save_ifs
184 ;;
185 esac],
186 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
187
188 _LT_DECL([build_libtool_libs], [enable_shared], [0],
189 [Whether or not to build shared libraries])
190 ])# _LT_ENABLE_SHARED
191
192 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
193 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
194
195 # Old names:
196 AC_DEFUN([AC_ENABLE_SHARED],
197 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
198 ])
199
200 AC_DEFUN([AC_DISABLE_SHARED],
201 [_LT_SET_OPTION([LT_INIT], [disable-shared])
202 ])
203
204 AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
205 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
206
207 dnl aclocal-1.4 backwards compatibility:
208 dnl AC_DEFUN([AM_ENABLE_SHARED], [])
209 dnl AC_DEFUN([AM_DISABLE_SHARED], [])
210
211
212
213 # _LT_ENABLE_STATIC([DEFAULT])
214 # ----------------------------
215 # implement the --enable-static flag, and support the 'static' and
216 # 'disable-static' LT_INIT options.
217 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
218 m4_define([_LT_ENABLE_STATIC],
219 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
220 AC_ARG_ENABLE([static],
221 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
222 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
223 [p=${PACKAGE-default}
224 case $enableval in
225 yes) enable_static=yes ;;
226 no) enable_static=no ;;
227 *)
228 enable_static=no
229 # Look at the argument we got. We use all the common list separators.
230 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
231 for pkg in $enableval; do
232 IFS=$lt_save_ifs
233 if test "X$pkg" = "X$p"; then
234 enable_static=yes
235 fi
236 done
237 IFS=$lt_save_ifs
238 ;;
239 esac],
240 [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
241
242 _LT_DECL([build_old_libs], [enable_static], [0],
243 [Whether or not to build static libraries])
244 ])# _LT_ENABLE_STATIC
245
246 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
247 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
248
249 # Old names:
250 AC_DEFUN([AC_ENABLE_STATIC],
251 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
252 ])
253
254 AC_DEFUN([AC_DISABLE_STATIC],
255 [_LT_SET_OPTION([LT_INIT], [disable-static])
256 ])
257
258 AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
259 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
260
261 dnl aclocal-1.4 backwards compatibility:
262 dnl AC_DEFUN([AM_ENABLE_STATIC], [])
263 dnl AC_DEFUN([AM_DISABLE_STATIC], [])
264
265
266
267 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
268 # ----------------------------------
269 # implement the --enable-fast-install flag, and support the 'fast-install'
270 # and 'disable-fast-install' LT_INIT options.
271 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
272 m4_define([_LT_ENABLE_FAST_INSTALL],
273 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
274 AC_ARG_ENABLE([fast-install],
275 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
276 [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
277 [p=${PACKAGE-default}
278 case $enableval in
279 yes) enable_fast_install=yes ;;
280 no) enable_fast_install=no ;;
281 *)
282 enable_fast_install=no
283 # Look at the argument we got. We use all the common list separators.
284 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
285 for pkg in $enableval; do
286 IFS=$lt_save_ifs
287 if test "X$pkg" = "X$p"; then
288 enable_fast_install=yes
289 fi
290 done
291 IFS=$lt_save_ifs
292 ;;
293 esac],
294 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
295
296 _LT_DECL([fast_install], [enable_fast_install], [0],
297 [Whether or not to optimize for fast installation])dnl
298 ])# _LT_ENABLE_FAST_INSTALL
299
300 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
301 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
302
303 # Old names:
304 AU_DEFUN([AC_ENABLE_FAST_INSTALL],
305 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
306 AC_DIAGNOSE([obsolete],
307 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
308 the 'fast-install' option into LT_INIT's first parameter.])
309 ])
310
311 AU_DEFUN([AC_DISABLE_FAST_INSTALL],
312 [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
313 AC_DIAGNOSE([obsolete],
314 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
315 the 'disable-fast-install' option into LT_INIT's first parameter.])
316 ])
317
318 dnl aclocal-1.4 backwards compatibility:
319 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
320 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
321
322
323 # _LT_WITH_AIX_SONAME([DEFAULT])
324 # ----------------------------------
325 # implement the --with-aix-soname flag, and support the `aix-soname=aix'
326 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
327 # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
328 m4_define([_LT_WITH_AIX_SONAME],
329 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
330 shared_archive_member_spec=
331 case $host,$enable_shared in
332 power*-*-aix[[5-9]]*,yes)
333 AC_MSG_CHECKING([which variant of shared library versioning to provide])
334 AC_ARG_WITH([aix-soname],
335 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
336 [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
337 [case $withval in
338 aix|svr4|both)
339 ;;
340 *)
341 AC_MSG_ERROR([Unknown argument to --with-aix-soname])
342 ;;
343 esac
344 lt_cv_with_aix_soname=$with_aix_soname],
345 [AC_CACHE_VAL([lt_cv_with_aix_soname],
346 [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
347 with_aix_soname=$lt_cv_with_aix_soname])
348 AC_MSG_RESULT([$with_aix_soname])
349 if test aix != "$with_aix_soname"; then
350 # For the AIX way of multilib, we name the shared archive member
351 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
352 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
353 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
354 # the AIX toolchain works better with OBJECT_MODE set (default 32).
355 if test 64 = "${OBJECT_MODE-32}"; then
356 shared_archive_member_spec=shr_64
357 else
358 shared_archive_member_spec=shr
359 fi
360 fi
361 ;;
362 *)
363 with_aix_soname=aix
364 ;;
365 esac
366
367 _LT_DECL([], [shared_archive_member_spec], [0],
368 [Shared archive member basename, for filename based shared library versioning on AIX])dnl
369 ])# _LT_WITH_AIX_SONAME
370
371 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
372 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
373 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
374
375
376 # _LT_WITH_PIC([MODE])
377 # --------------------
378 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
379 # LT_INIT options.
380 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
381 m4_define([_LT_WITH_PIC],
382 [AC_ARG_WITH([pic],
383 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
384 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
385 [lt_p=${PACKAGE-default}
386 case $withval in
387 yes|no) pic_mode=$withval ;;
388 *)
389 pic_mode=default
390 # Look at the argument we got. We use all the common list separators.
391 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
392 for lt_pkg in $withval; do
393 IFS=$lt_save_ifs
394 if test "X$lt_pkg" = "X$lt_p"; then
395 pic_mode=yes
396 fi
397 done
398 IFS=$lt_save_ifs
399 ;;
400 esac],
401 [pic_mode=m4_default([$1], [default])])
402
403 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
404 ])# _LT_WITH_PIC
405
406 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
407 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
408
409 # Old name:
410 AU_DEFUN([AC_LIBTOOL_PICMODE],
411 [_LT_SET_OPTION([LT_INIT], [pic-only])
412 AC_DIAGNOSE([obsolete],
413 [$0: Remove this warning and the call to _LT_SET_OPTION when you
414 put the 'pic-only' option into LT_INIT's first parameter.])
415 ])
416
417 dnl aclocal-1.4 backwards compatibility:
418 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
419
420 ## ----------------- ##
421 ## LTDL_INIT Options ##
422 ## ----------------- ##
423
424 m4_define([_LTDL_MODE], [])
425 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
426 [m4_define([_LTDL_MODE], [nonrecursive])])
427 LT_OPTION_DEFINE([LTDL_INIT], [recursive],
428 [m4_define([_LTDL_MODE], [recursive])])
429 LT_OPTION_DEFINE([LTDL_INIT], [subproject],
430 [m4_define([_LTDL_MODE], [subproject])])
431
432 m4_define([_LTDL_TYPE], [])
433 LT_OPTION_DEFINE([LTDL_INIT], [installable],
434 [m4_define([_LTDL_TYPE], [installable])])
435 LT_OPTION_DEFINE([LTDL_INIT], [convenience],
436 [m4_define([_LTDL_TYPE], [convenience])])
0 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
1 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
3 # Foundation, Inc.
4 # Written by Gary V. Vaughan, 2004
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 6 ltsugar.m4
11
12 # This is to help aclocal find these macros, as it can't see m4_define.
13 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
14
15
16 # lt_join(SEP, ARG1, [ARG2...])
17 # -----------------------------
18 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
19 # associated separator.
20 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
21 # versions in m4sugar had bugs.
22 m4_define([lt_join],
23 [m4_if([$#], [1], [],
24 [$#], [2], [[$2]],
25 [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
26 m4_define([_lt_join],
27 [m4_if([$#$2], [2], [],
28 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
29
30
31 # lt_car(LIST)
32 # lt_cdr(LIST)
33 # ------------
34 # Manipulate m4 lists.
35 # These macros are necessary as long as will still need to support
36 # Autoconf-2.59, which quotes differently.
37 m4_define([lt_car], [[$1]])
38 m4_define([lt_cdr],
39 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
40 [$#], 1, [],
41 [m4_dquote(m4_shift($@))])])
42 m4_define([lt_unquote], $1)
43
44
45 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
46 # ------------------------------------------
47 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
48 # Note that neither SEPARATOR nor STRING are expanded; they are appended
49 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
50 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
51 # than defined and empty).
52 #
53 # This macro is needed until we can rely on Autoconf 2.62, since earlier
54 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
55 m4_define([lt_append],
56 [m4_define([$1],
57 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
58
59
60
61 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
62 # ----------------------------------------------------------
63 # Produce a SEP delimited list of all paired combinations of elements of
64 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
65 # has the form PREFIXmINFIXSUFFIXn.
66 # Needed until we can rely on m4_combine added in Autoconf 2.62.
67 m4_define([lt_combine],
68 [m4_if(m4_eval([$# > 3]), [1],
69 [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
70 [[m4_foreach([_Lt_prefix], [$2],
71 [m4_foreach([_Lt_suffix],
72 ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
73 [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
74
75
76 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
77 # -----------------------------------------------------------------------
78 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
79 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
80 m4_define([lt_if_append_uniq],
81 [m4_ifdef([$1],
82 [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
83 [lt_append([$1], [$2], [$3])$4],
84 [$5])],
85 [lt_append([$1], [$2], [$3])$4])])
86
87
88 # lt_dict_add(DICT, KEY, VALUE)
89 # -----------------------------
90 m4_define([lt_dict_add],
91 [m4_define([$1($2)], [$3])])
92
93
94 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
95 # --------------------------------------------
96 m4_define([lt_dict_add_subkey],
97 [m4_define([$1($2:$3)], [$4])])
98
99
100 # lt_dict_fetch(DICT, KEY, [SUBKEY])
101 # ----------------------------------
102 m4_define([lt_dict_fetch],
103 [m4_ifval([$3],
104 m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
105 m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
106
107
108 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
109 # -----------------------------------------------------------------
110 m4_define([lt_if_dict_fetch],
111 [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
112 [$5],
113 [$6])])
114
115
116 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
117 # --------------------------------------------------------------
118 m4_define([lt_dict_filter],
119 [m4_if([$5], [], [],
120 [lt_join(m4_quote(m4_default([$4], [[, ]])),
121 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
122 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
123 ])
0 # ltversion.m4 -- version numbers -*- Autoconf -*-
1 #
2 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
3 # Inc.
4 # Written by Scott James Remnant, 2004
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # @configure_input@
11
12 # serial 4245 ltversion.m4
13 # This file is part of GNU Libtool
14
15 m4_define([LT_PACKAGE_VERSION], [2.4.7])
16 m4_define([LT_PACKAGE_REVISION], [2.4.7])
17
18 AC_DEFUN([LTVERSION_VERSION],
19 [macro_version='2.4.7'
20 macro_revision='2.4.7'
21 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
22 _LT_DECL(, macro_revision, 0)
23 ])
0 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
1 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
4 # Written by Scott James Remnant, 2004.
5 #
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to copy and/or distribute it, with or without
8 # modifications, as long as this notice is preserved.
9
10 # serial 5 lt~obsolete.m4
11
12 # These exist entirely to fool aclocal when bootstrapping libtool.
13 #
14 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
15 # which have later been changed to m4_define as they aren't part of the
16 # exported API, or moved to Autoconf or Automake where they belong.
17 #
18 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
19 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
20 # using a macro with the same name in our local m4/libtool.m4 it'll
21 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
22 # and doesn't know about Autoconf macros at all.)
23 #
24 # So we provide this file, which has a silly filename so it's always
25 # included after everything else. This provides aclocal with the
26 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
27 # because those macros already exist, or will be overwritten later.
28 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
29 #
30 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
31 # Yes, that means every name once taken will need to remain here until
32 # we give up compatibility with versions before 1.7, at which point
33 # we need to keep only those names which we still refer to.
34
35 # This is to help aclocal find these macros, as it can't see m4_define.
36 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
37
38 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
39 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
40 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
41 m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
42 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
43 m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
44 m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
45 m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
46 m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
47 m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
48 m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
49 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
50 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
51 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
52 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
53 m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
54 m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
55 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
56 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
57 m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
58 m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
59 m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
60 m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
61 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
62 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
63 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
64 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
65 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
66 m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
67 m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
68 m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
69 m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
70 m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
71 m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
72 m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
73 m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
74 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
75 m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
76 m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
77 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
78 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
79 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
80 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
81 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
82 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
83 m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
84 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
85 m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
86 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
87 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
88 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
89 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
90 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
91 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
92 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
93 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
94 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
95 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
96 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
97 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
98 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
0 # nls.m4 serial 5 (gettext-0.18)
1 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software
2 dnl Foundation, 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 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 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 <drepper@cygnus.com>, 1995-2000.
18 dnl Bruno Haible <haible@clisp.cons.org>, 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, 2016 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 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 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 <drepper@cygnus.com>, 1995-2000.
17 dnl Bruno Haible <haible@clisp.cons.org>, 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-2016 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 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 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 <drepper@cygnus.com>, 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 #! /bin/sh
1 # Common wrapper for a few potentially missing GNU programs.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
6 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
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 <https://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 if test $# -eq 0; then
27 echo 1>&2 "Try '$0 --help' for more information"
28 exit 1
29 fi
30
31 case $1 in
32
33 --is-lightweight)
34 # Used by our autoconf macros to check whether the available missing
35 # script is modern enough.
36 exit 0
37 ;;
38
39 --run)
40 # Back-compat with the calling convention used by older automake.
41 shift
42 ;;
43
44 -h|--h|--he|--hel|--help)
45 echo "\
46 $0 [OPTION]... PROGRAM [ARGUMENT]...
47
48 Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
49 to PROGRAM being missing or too old.
50
51 Options:
52 -h, --help display this help and exit
53 -v, --version output version information and exit
54
55 Supported PROGRAM values:
56 aclocal autoconf autoheader autom4te automake makeinfo
57 bison yacc flex lex help2man
58
59 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
60 'g' are ignored when checking the name.
61
62 Send bug reports to <bug-automake@gnu.org>."
63 exit $?
64 ;;
65
66 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
67 echo "missing $scriptversion (GNU Automake)"
68 exit $?
69 ;;
70
71 -*)
72 echo 1>&2 "$0: unknown '$1' option"
73 echo 1>&2 "Try '$0 --help' for more information"
74 exit 1
75 ;;
76
77 esac
78
79 # Run the given program, remember its exit status.
80 "$@"; st=$?
81
82 # If it succeeded, we are done.
83 test $st -eq 0 && exit 0
84
85 # Also exit now if we it failed (or wasn't found), and '--version' was
86 # passed; such an option is passed most likely to detect whether the
87 # program is present and works.
88 case $2 in --version|--help) exit $st;; esac
89
90 # Exit code 63 means version mismatch. This often happens when the user
91 # tries to use an ancient version of a tool on a file that requires a
92 # minimum version.
93 if test $st -eq 63; then
94 msg="probably too old"
95 elif test $st -eq 127; then
96 # Program was missing.
97 msg="missing on your system"
98 else
99 # Program was found and executed, but failed. Give up.
100 exit $st
101 fi
102
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106
107 program_details ()
108 {
109 case $1 in
110 aclocal|automake)
111 echo "The '$1' program is part of the GNU Automake package:"
112 echo "<$gnu_software_URL/automake>"
113 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
114 echo "<$gnu_software_URL/autoconf>"
115 echo "<$gnu_software_URL/m4/>"
116 echo "<$perl_URL>"
117 ;;
118 autoconf|autom4te|autoheader)
119 echo "The '$1' program is part of the GNU Autoconf package:"
120 echo "<$gnu_software_URL/autoconf/>"
121 echo "It also requires GNU m4 and Perl in order to run:"
122 echo "<$gnu_software_URL/m4/>"
123 echo "<$perl_URL>"
124 ;;
125 esac
126 }
127
128 give_advice ()
129 {
130 # Normalize program name to check for.
131 normalized_program=`echo "$1" | sed '
132 s/^gnu-//; t
133 s/^gnu//; t
134 s/^g//; t'`
135
136 printf '%s\n' "'$1' is $msg."
137
138 configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
139 case $normalized_program in
140 autoconf*)
141 echo "You should only need it if you modified 'configure.ac',"
142 echo "or m4 files included by it."
143 program_details 'autoconf'
144 ;;
145 autoheader*)
146 echo "You should only need it if you modified 'acconfig.h' or"
147 echo "$configure_deps."
148 program_details 'autoheader'
149 ;;
150 automake*)
151 echo "You should only need it if you modified 'Makefile.am' or"
152 echo "$configure_deps."
153 program_details 'automake'
154 ;;
155 aclocal*)
156 echo "You should only need it if you modified 'acinclude.m4' or"
157 echo "$configure_deps."
158 program_details 'aclocal'
159 ;;
160 autom4te*)
161 echo "You might have modified some maintainer files that require"
162 echo "the 'autom4te' program to be rebuilt."
163 program_details 'autom4te'
164 ;;
165 bison*|yacc*)
166 echo "You should only need it if you modified a '.y' file."
167 echo "You may want to install the GNU Bison package:"
168 echo "<$gnu_software_URL/bison/>"
169 ;;
170 lex*|flex*)
171 echo "You should only need it if you modified a '.l' file."
172 echo "You may want to install the Fast Lexical Analyzer package:"
173 echo "<$flex_URL>"
174 ;;
175 help2man*)
176 echo "You should only need it if you modified a dependency" \
177 "of a man page."
178 echo "You may want to install the GNU Help2man package:"
179 echo "<$gnu_software_URL/help2man/>"
180 ;;
181 makeinfo*)
182 echo "You should only need it if you modified a '.texi' file, or"
183 echo "any other file indirectly affecting the aspect of the manual."
184 echo "You might want to install the Texinfo package:"
185 echo "<$gnu_software_URL/texinfo/>"
186 echo "The spurious makeinfo call might also be the consequence of"
187 echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
188 echo "want to install GNU make:"
189 echo "<$gnu_software_URL/make/>"
190 ;;
191 *)
192 echo "You might have modified some files without having the proper"
193 echo "tools for further handling them. Check the 'README' file, it"
194 echo "often tells you about the needed prerequisites for installing"
195 echo "this package. You may also peek at any GNU archive site, in"
196 echo "case some other package contains this missing '$1' program."
197 ;;
198 esac
199 }
200
201 give_advice "$1" | sed -e '1s/^/WARNING: /' \
202 -e '2,$s/^/ /' >&2
203
204 # Propagate the correct exit status (expected to be 127 for a program
205 # not found, 63 for a program that failed due to version mismatch).
206 exit $st
207
208 # Local variables:
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210 # time-stamp-start: "scriptversion="
211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC0"
213 # time-stamp-end: "; # UTC"
214 # End:
+0
-16
po/.gitignore less more
0 Makefile
1 Makefile.in
2 Makefile.in.in
3 Makevars.template
4 POTFILES
5 Rules-quot
6 boldquot.sed
7 en@boldquot.header
8 en@quot.header
9 insert-header.sin
10 quot.sed
11 remove-potcdate.sed
12 remove-potcdate.sin
13 stamp-po
14 stamp-it
15 *.gmo
0 # Makefile for PO directory in any package using GNU gettext.
1 # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
2 #
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 #
8 # Origin: gettext-0.19.7
9 GETTEXT_MACRO_VERSION = 0.19
10
11 PACKAGE = @PACKAGE@
12 VERSION = @VERSION@
13 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
14
15 SED = @SED@
16 SHELL = /bin/sh
17 @SET_MAKE@
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
25 datarootdir = @datarootdir@
26 datadir = @datadir@
27 localedir = @localedir@
28 gettextsrcdir = $(datadir)/gettext/po
29
30 INSTALL = @INSTALL@
31 INSTALL_DATA = @INSTALL_DATA@
32
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 # When building gettext-tools, we prefer to use the built programs
46 # rather than installed programs. However, we can't do that when we
47 # are cross compiling.
48 CROSS_COMPILING = @CROSS_COMPILING@
49
50 GMSGFMT_ = @GMSGFMT@
51 GMSGFMT_no = @GMSGFMT@
52 GMSGFMT_yes = @GMSGFMT_015@
53 GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
54 MSGFMT_ = @MSGFMT@
55 MSGFMT_no = @MSGFMT@
56 MSGFMT_yes = @MSGFMT_015@
57 MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
58 XGETTEXT_ = @XGETTEXT@
59 XGETTEXT_no = @XGETTEXT@
60 XGETTEXT_yes = @XGETTEXT_015@
61 XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
62 MSGMERGE = msgmerge
63 MSGMERGE_UPDATE = @MSGMERGE@ --update
64 MSGINIT = msginit
65 MSGCONV = msgconv
66 MSGFILTER = msgfilter
67
68 POFILES = @POFILES@
69 GMOFILES = @GMOFILES@
70 UPDATEPOFILES = @UPDATEPOFILES@
71 DUMMYPOFILES = @DUMMYPOFILES@
72 DISTFILES.common = Makefile.in.in remove-potcdate.sin \
73 $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
74 DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
75 $(POFILES) $(GMOFILES) \
76 $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
77
78 POTFILES = \
79
80 CATALOGS = @CATALOGS@
81
82 POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
83 POFILESDEPS_yes = $(POFILESDEPS_)
84 POFILESDEPS_no =
85 POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
86
87 DISTFILESDEPS_ = update-po
88 DISTFILESDEPS_yes = $(DISTFILESDEPS_)
89 DISTFILESDEPS_no =
90 DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO))
91
92 # Makevars gets inserted here. (Don't remove this line!)
93
94 .SUFFIXES:
95 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
96
97 .po.mo:
98 @echo "$(MSGFMT) -c -o $@ $<"; \
99 $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
100
101 .po.gmo:
102 @lang=`echo $* | sed -e 's,.*/,,'`; \
103 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
104 echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
105 cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
106
107 .sin.sed:
108 sed -e '/^#/d' $< > t-$@
109 mv t-$@ $@
110
111
112 all: all-@USE_NLS@
113
114 all-yes: stamp-po
115 all-no:
116
117 # Ensure that the gettext macros and this Makefile.in.in are in sync.
118 CHECK_MACRO_VERSION = \
119 test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
120 || { 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; \
121 exit 1; \
122 }
123
124 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
125 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
126 # we don't want to bother translators with empty POT files). We assume that
127 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
128 # In this case, stamp-po is a nop (i.e. a phony target).
129
130 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
131 # been loosely updated. Its purpose is that when a developer or translator
132 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
133 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
134 # invocations of "make" will do nothing. This timestamp would not be necessary
135 # if updating the $(CATALOGS) would always touch them; however, the rule for
136 # $(POFILES) has been designed to not touch files that don't need to be
137 # changed.
138 stamp-po: $(srcdir)/$(DOMAIN).pot
139 @$(CHECK_MACRO_VERSION)
140 test ! -f $(srcdir)/$(DOMAIN).pot || \
141 test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
142 @test ! -f $(srcdir)/$(DOMAIN).pot || { \
143 echo "touch stamp-po" && \
144 echo timestamp > stamp-poT && \
145 mv stamp-poT stamp-po; \
146 }
147
148 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
149 # otherwise packages like GCC can not be built if only parts of the source
150 # have been downloaded.
151
152 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
153 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
154 # The determination of whether the package xyz is a GNU one is based on the
155 # heuristic whether some file in the top level directory mentions "GNU xyz".
156 # If GNU 'find' is available, we avoid grepping through monster files.
157 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
158 package_gnu="$(PACKAGE_GNU)"; \
159 test -n "$$package_gnu" || { \
160 if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
161 LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \
162 -size -10000000c -exec grep 'GNU @PACKAGE@' \
163 /dev/null '{}' ';' 2>/dev/null; \
164 else \
165 LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \
166 fi; \
167 } | grep -v 'libtool:' >/dev/null; then \
168 package_gnu=yes; \
169 else \
170 package_gnu=no; \
171 fi; \
172 }; \
173 if test "$$package_gnu" = "yes"; then \
174 package_prefix='GNU '; \
175 else \
176 package_prefix=''; \
177 fi; \
178 if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
179 msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
180 else \
181 msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
182 fi; \
183 case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
184 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
185 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
186 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
187 --files-from=$(srcdir)/POTFILES.in \
188 --copyright-holder='$(COPYRIGHT_HOLDER)' \
189 --msgid-bugs-address="$$msgid_bugs_address" \
190 ;; \
191 *) \
192 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
193 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
194 --files-from=$(srcdir)/POTFILES.in \
195 --copyright-holder='$(COPYRIGHT_HOLDER)' \
196 --package-name="$${package_prefix}@PACKAGE@" \
197 --package-version='@VERSION@' \
198 --msgid-bugs-address="$$msgid_bugs_address" \
199 ;; \
200 esac
201 test ! -f $(DOMAIN).po || { \
202 if test -f $(srcdir)/$(DOMAIN).pot-header; then \
203 sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \
204 cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po; \
205 rm -f $(DOMAIN).1po; \
206 fi; \
207 if test -f $(srcdir)/$(DOMAIN).pot; then \
208 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
209 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
210 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
211 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
212 else \
213 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
214 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
215 fi; \
216 else \
217 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
218 fi; \
219 }
220
221 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
222 # every "make" invocation, only create it when it is missing.
223 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
224 $(srcdir)/$(DOMAIN).pot:
225 $(MAKE) $(DOMAIN).pot-update
226
227 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
228 # Note that a PO file is not touched if it doesn't need to be changed.
229 $(POFILES): $(POFILESDEPS)
230 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
231 if test -f "$(srcdir)/$${lang}.po"; then \
232 test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \
233 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
234 echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
235 cd $(srcdir) \
236 && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
237 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
238 $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
239 *) \
240 $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
241 esac; \
242 }; \
243 else \
244 $(MAKE) $${lang}.po-create; \
245 fi
246
247
248 install: install-exec install-data
249 install-exec:
250 install-data: install-data-@USE_NLS@
251 if test "$(PACKAGE)" = "gettext-tools"; then \
252 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
253 for file in $(DISTFILES.common) Makevars.template; do \
254 $(INSTALL_DATA) $(srcdir)/$$file \
255 $(DESTDIR)$(gettextsrcdir)/$$file; \
256 done; \
257 for file in Makevars; do \
258 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
259 done; \
260 else \
261 : ; \
262 fi
263 install-data-no: all
264 install-data-yes: all
265 @catalogs='$(CATALOGS)'; \
266 for cat in $$catalogs; do \
267 cat=`basename $$cat`; \
268 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
269 dir=$(localedir)/$$lang/LC_MESSAGES; \
270 $(mkdir_p) $(DESTDIR)$$dir; \
271 if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
272 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
273 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
274 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
275 if test -n "$$lc"; then \
276 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
277 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
278 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
279 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
280 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
281 for file in *; do \
282 if test -f $$file; then \
283 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
284 fi; \
285 done); \
286 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
287 else \
288 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
289 :; \
290 else \
291 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
292 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
293 fi; \
294 fi; \
295 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
296 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
297 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
298 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
299 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
300 fi; \
301 done; \
302 done
303
304 install-strip: install
305
306 installdirs: installdirs-exec installdirs-data
307 installdirs-exec:
308 installdirs-data: installdirs-data-@USE_NLS@
309 if test "$(PACKAGE)" = "gettext-tools"; then \
310 $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
311 else \
312 : ; \
313 fi
314 installdirs-data-no:
315 installdirs-data-yes:
316 @catalogs='$(CATALOGS)'; \
317 for cat in $$catalogs; do \
318 cat=`basename $$cat`; \
319 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
320 dir=$(localedir)/$$lang/LC_MESSAGES; \
321 $(mkdir_p) $(DESTDIR)$$dir; \
322 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
323 if test -n "$$lc"; then \
324 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
325 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
326 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
327 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
328 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
329 for file in *; do \
330 if test -f $$file; then \
331 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
332 fi; \
333 done); \
334 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
335 else \
336 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
337 :; \
338 else \
339 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
340 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
341 fi; \
342 fi; \
343 fi; \
344 done; \
345 done
346
347 # Define this as empty until I found a useful application.
348 installcheck:
349
350 uninstall: uninstall-exec uninstall-data
351 uninstall-exec:
352 uninstall-data: uninstall-data-@USE_NLS@
353 if test "$(PACKAGE)" = "gettext-tools"; then \
354 for file in $(DISTFILES.common) Makevars.template; do \
355 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
356 done; \
357 else \
358 : ; \
359 fi
360 uninstall-data-no:
361 uninstall-data-yes:
362 catalogs='$(CATALOGS)'; \
363 for cat in $$catalogs; do \
364 cat=`basename $$cat`; \
365 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
366 for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
367 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
368 done; \
369 done
370
371 check: all
372
373 info dvi ps pdf html tags TAGS ctags CTAGS ID:
374
375 mostlyclean:
376 rm -f remove-potcdate.sed
377 rm -f stamp-poT
378 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
379 rm -fr *.o
380
381 clean: mostlyclean
382
383 distclean: clean
384 rm -f Makefile Makefile.in POTFILES *.mo
385
386 maintainer-clean: distclean
387 @echo "This command is intended for maintainers to use;"
388 @echo "it deletes files that may require special tools to rebuild."
389 rm -f stamp-po $(GMOFILES)
390
391 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
392 dist distdir:
393 test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
394 @$(MAKE) dist2
395 # This is a separate target because 'update-po' must be executed before.
396 dist2: stamp-po $(DISTFILES)
397 dists="$(DISTFILES)"; \
398 if test "$(PACKAGE)" = "gettext-tools"; then \
399 dists="$$dists Makevars.template"; \
400 fi; \
401 if test -f $(srcdir)/$(DOMAIN).pot; then \
402 dists="$$dists $(DOMAIN).pot stamp-po"; \
403 fi; \
404 if test -f $(srcdir)/ChangeLog; then \
405 dists="$$dists ChangeLog"; \
406 fi; \
407 for i in 0 1 2 3 4 5 6 7 8 9; do \
408 if test -f $(srcdir)/ChangeLog.$$i; then \
409 dists="$$dists ChangeLog.$$i"; \
410 fi; \
411 done; \
412 if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
413 for file in $$dists; do \
414 if test -f $$file; then \
415 cp -p $$file $(distdir) || exit 1; \
416 else \
417 cp -p $(srcdir)/$$file $(distdir) || exit 1; \
418 fi; \
419 done
420
421 update-po: Makefile
422 $(MAKE) $(DOMAIN).pot-update
423 test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
424 $(MAKE) update-gmo
425
426 # General rule for creating PO files.
427
428 .nop.po-create:
429 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
430 echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
431 exit 1
432
433 # General rule for updating PO files.
434
435 .nop.po-update:
436 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
437 if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; fi; \
438 tmpdir=`pwd`; \
439 echo "$$lang:"; \
440 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
441 echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
442 cd $(srcdir); \
443 if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
444 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
445 $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
446 *) \
447 $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
448 esac; \
449 }; then \
450 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
451 rm -f $$tmpdir/$$lang.new.po; \
452 else \
453 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
454 :; \
455 else \
456 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
457 exit 1; \
458 fi; \
459 fi; \
460 else \
461 echo "msgmerge for $$lang.po failed!" 1>&2; \
462 rm -f $$tmpdir/$$lang.new.po; \
463 fi
464
465 $(DUMMYPOFILES):
466
467 update-gmo: Makefile $(GMOFILES)
468 @:
469
470 # Recreate Makefile by invoking config.status. Explicitly invoke the shell,
471 # because execution permission bits may not work on the current file system.
472 # Use @SHELL@, which is the shell determined by autoconf for the use by its
473 # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
474 Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@
475 cd $(top_builddir) \
476 && @SHELL@ ./config.status $(subdir)/$@.in po-directories
477
478 force:
479
480 # Tell versions [3.59,3.63) of GNU make not to export all variables.
481 # Otherwise a system limit (for SysV at least) may be exceeded.
482 .NOEXPORT:
+0
-3
po/POTFILES.skip less more
0 scripts/pydict.py
1 data/ibus-setup-libpinyin.desktop
2 data/ibus-setup-libbopomofo.desktop
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 en@quot.header en@boldquot.header insert-header.sin Rules-quot
4
5 .SUFFIXES: .insert-header .po-update-en
6
7 en@quot.po-create:
8 $(MAKE) en@quot.po-update
9 en@boldquot.po-create:
10 $(MAKE) en@boldquot.po-update
11
12 en@quot.po-update: en@quot.po-update-en
13 en@boldquot.po-update: en@boldquot.po-update-en
14
15 .insert-header.po-update-en:
16 @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
17 if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; 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 en@quot.insert-header: insert-header.sin
50 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
51
52 en@boldquot.insert-header: insert-header.sin
53 sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
54
55 mostlyclean: mostlyclean-quot
56 mostlyclean-quot:
57 rm -f *.insert-header
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/“/“/g
7 s/”/”/g
8 s/‘/‘/g
9 s/’/’/g
Binary diff not shown
Binary diff not shown
Binary diff not shown
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
Binary diff not shown
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 }
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 }
Binary diff not shown
Binary diff not shown
0 timestamp
Binary diff not shown
Binary diff not shown
Binary diff not shown
Binary diff not shown
0 #!/bin/sh
1 # py-compile - Compile a Python program
2
3 scriptversion=2021-02-27.01; # UTC
4
5 # Copyright (C) 2000-2021 Free Software Foundation, Inc.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 # This file is maintained in Automake, please report
26 # bugs to <bug-automake@gnu.org> or send patches to
27 # <automake-patches@gnu.org>.
28
29 if test -z "$PYTHON"; then
30 PYTHON=python
31 fi
32
33 me=py-compile
34
35 usage_error ()
36 {
37 echo "$me: $*" >&2
38 echo "Try '$me --help' for more information." >&2
39 exit 1
40 }
41
42 basedir=
43 destdir=
44 while test $# -ne 0; do
45 case "$1" in
46 --basedir)
47 if test $# -lt 2; then
48 usage_error "option '--basedir' requires an argument"
49 else
50 basedir=$2
51 fi
52 shift
53 ;;
54 --destdir)
55 if test $# -lt 2; then
56 usage_error "option '--destdir' requires an argument"
57 else
58 destdir=$2
59 fi
60 shift
61 ;;
62 -h|--help)
63 cat <<\EOF
64 Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..."
65
66 Byte compile some python scripts FILES. Use --destdir to specify any
67 leading directory path to the FILES that you don't want to include in the
68 byte compiled file. Specify --basedir for any additional path information you
69 do want to be shown in the byte compiled file.
70
71 Example:
72 py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py
73
74 Report bugs to <bug-automake@gnu.org>.
75 EOF
76 exit $?
77 ;;
78 -v|--version)
79 echo "$me $scriptversion"
80 exit $?
81 ;;
82 --)
83 shift
84 break
85 ;;
86 -*)
87 usage_error "unrecognized option '$1'"
88 ;;
89 *)
90 break
91 ;;
92 esac
93 shift
94 done
95
96 files=$*
97 if test -z "$files"; then
98 usage_error "no files given"
99 fi
100
101 # if basedir was given, then it should be prepended to filenames before
102 # byte compilation.
103 if test -z "$basedir"; then
104 pathtrans="path = file"
105 else
106 pathtrans="path = os.path.join('$basedir', file)"
107 fi
108
109 # if destdir was given, then it needs to be prepended to the filename to
110 # byte compile but not go into the compiled file.
111 if test -z "$destdir"; then
112 filetrans="filepath = path"
113 else
114 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
115 fi
116
117 python_major=`$PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q'`
118 if test -z "$python_major"; then
119 echo "$me: could not determine $PYTHON major version, guessing 3" >&2
120 python_major=3
121 fi
122
123 # The old way to import libraries was deprecated.
124 if test "$python_major" -le 2; then
125 import_lib=imp
126 import_test="hasattr(imp, 'get_tag')"
127 import_call=imp.cache_from_source
128 import_arg2=', False' # needed in one call and not the other
129 else
130 import_lib=importlib
131 import_test="hasattr(sys.implementation, 'cache_tag')"
132 import_call=importlib.util.cache_from_source
133 import_arg2=
134 fi
135
136 $PYTHON -c "
137 import sys, os, py_compile, $import_lib
138
139 files = '''$files'''
140
141 sys.stdout.write('Byte-compiling python modules...\n')
142 for file in files.split():
143 $pathtrans
144 $filetrans
145 if not os.path.exists(filepath) or not (len(filepath) >= 3
146 and filepath[-3:] == '.py'):
147 continue
148 sys.stdout.write(file)
149 sys.stdout.flush()
150 if $import_test:
151 py_compile.compile(filepath, $import_call(filepath), path)
152 else:
153 py_compile.compile(filepath, filepath + 'c', path)
154 sys.stdout.write('\n')" || exit $?
155
156 # this will fail for python < 1.5, but that doesn't matter ...
157 $PYTHON -O -c "
158 import sys, os, py_compile, $import_lib
159
160 # pypy does not use .pyo optimization
161 if hasattr(sys, 'pypy_translation_info'):
162 sys.exit(0)
163
164 files = '''$files'''
165 sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')
166 for file in files.split():
167 $pathtrans
168 $filetrans
169 if not os.path.exists(filepath) or not (len(filepath) >= 3
170 and filepath[-3:] == '.py'):
171 continue
172 sys.stdout.write(file)
173 sys.stdout.flush()
174 if $import_test:
175 py_compile.compile(filepath, $import_call(filepath$import_arg2), path)
176 else:
177 py_compile.compile(filepath, filepath + 'o', path)
178 sys.stdout.write('\n')" 2>/dev/null || exit $?
179
180 # Local Variables:
181 # mode: shell-script
182 # sh-indentation: 2
183 # eval: (add-hook 'before-save-hook 'time-stamp)
184 # time-stamp-start: "scriptversion="
185 # time-stamp-format: "%:y-%02m-%02d.%02H"
186 # time-stamp-time-zone: "UTC0"
187 # time-stamp-end: "; # UTC"
188 # End:
+0
-1
scripts/.gitignore less more
0 /ZhConversion.*
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = { \
17 if test -z '$(MAKELEVEL)'; then \
18 false; \
19 elif test -n '$(MAKE_HOST)'; then \
20 true; \
21 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
22 true; \
23 else \
24 false; \
25 fi; \
26 }
27 am__make_running_with_option = \
28 case $${target_option-} in \
29 ?) ;; \
30 *) echo "am__make_running_with_option: internal error: invalid" \
31 "target option '$${target_option-}' specified" >&2; \
32 exit 1;; \
33 esac; \
34 has_opt=no; \
35 sane_makeflags=$$MAKEFLAGS; \
36 if $(am__is_gnu_make); then \
37 sane_makeflags=$$MFLAGS; \
38 else \
39 case $$MAKEFLAGS in \
40 *\\[\ \ ]*) \
41 bs=\\; \
42 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
43 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
44 esac; \
45 fi; \
46 skip_next=no; \
47 strip_trailopt () \
48 { \
49 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
50 }; \
51 for flg in $$sane_makeflags; do \
52 test $$skip_next = yes && { skip_next=no; continue; }; \
53 case $$flg in \
54 *=*|--*) continue;; \
55 -*I) strip_trailopt 'I'; skip_next=yes;; \
56 -*I?*) strip_trailopt 'I';; \
57 -*O) strip_trailopt 'O'; skip_next=yes;; \
58 -*O?*) strip_trailopt 'O';; \
59 -*l) strip_trailopt 'l'; skip_next=yes;; \
60 -*l?*) strip_trailopt 'l';; \
61 -[dEDm]) skip_next=yes;; \
62 -[JT]) skip_next=yes;; \
63 esac; \
64 case $$flg in \
65 *$$target_option*) has_opt=yes; break;; \
66 esac; \
67 done; \
68 test $$has_opt = yes
69 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
70 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
71 pkgdatadir = $(datadir)/@PACKAGE@
72 pkgincludedir = $(includedir)/@PACKAGE@
73 pkglibdir = $(libdir)/@PACKAGE@
74 pkglibexecdir = $(libexecdir)/@PACKAGE@
75 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
76 install_sh_DATA = $(install_sh) -c -m 644
77 install_sh_PROGRAM = $(install_sh) -c
78 install_sh_SCRIPT = $(install_sh) -c
79 INSTALL_HEADER = $(INSTALL_DATA)
80 transform = $(program_transform_name)
81 NORMAL_INSTALL = :
82 PRE_INSTALL = :
83 POST_INSTALL = :
84 NORMAL_UNINSTALL = :
85 PRE_UNINSTALL = :
86 POST_UNINSTALL = :
87 build_triplet = @build@
88 host_triplet = @host@
89 subdir = scripts
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
92 $(top_srcdir)/m4/boost.m4 $(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/libtool.m4 \
96 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
97 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
98 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
99 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
100 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
101 $(ACLOCAL_M4)
102 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
103 mkinstalldirs = $(install_sh) -d
104 CONFIG_HEADER = $(top_builddir)/config.h
105 CONFIG_CLEAN_FILES =
106 CONFIG_CLEAN_VPATH_FILES =
107 AM_V_P = $(am__v_P_@AM_V@)
108 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
109 am__v_P_0 = false
110 am__v_P_1 = :
111 AM_V_GEN = $(am__v_GEN_@AM_V@)
112 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
113 am__v_GEN_0 = @echo " GEN " $@;
114 am__v_GEN_1 =
115 AM_V_at = $(am__v_at_@AM_V@)
116 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
117 am__v_at_0 = @
118 am__v_at_1 =
119 SOURCES =
120 DIST_SOURCES =
121 am__can_run_installinfo = \
122 case $$AM_UPDATE_INFO_DIR in \
123 n|no|NO) false;; \
124 *) (install-info --version) >/dev/null 2>&1;; \
125 esac
126 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
127 am__DIST_COMMON = $(srcdir)/Makefile.in
128 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
129 ACLOCAL = @ACLOCAL@
130 AMTAR = @AMTAR@
131 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
132 AR = @AR@
133 AUTOCONF = @AUTOCONF@
134 AUTOHEADER = @AUTOHEADER@
135 AUTOMAKE = @AUTOMAKE@
136 AWK = @AWK@
137 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
138 BOOST_ROOT = @BOOST_ROOT@
139 CC = @CC@
140 CCDEPMODE = @CCDEPMODE@
141 CFLAGS = @CFLAGS@
142 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
143 CPP = @CPP@
144 CPPFLAGS = @CPPFLAGS@
145 CSCOPE = @CSCOPE@
146 CTAGS = @CTAGS@
147 CXX = @CXX@
148 CXXCPP = @CXXCPP@
149 CXXDEPMODE = @CXXDEPMODE@
150 CXXFLAGS = @CXXFLAGS@
151 CYGPATH_W = @CYGPATH_W@
152 DEFS = @DEFS@
153 DEPDIR = @DEPDIR@
154 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
155 DLLTOOL = @DLLTOOL@
156 DSYMUTIL = @DSYMUTIL@
157 DUMPBIN = @DUMPBIN@
158 ECHO_C = @ECHO_C@
159 ECHO_N = @ECHO_N@
160 ECHO_T = @ECHO_T@
161 EGREP = @EGREP@
162 ENV = @ENV@
163 ETAGS = @ETAGS@
164 EXEEXT = @EXEEXT@
165 FGREP = @FGREP@
166 FILECMD = @FILECMD@
167 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
168 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
169 GIO2_CFLAGS = @GIO2_CFLAGS@
170 GIO2_LIBS = @GIO2_LIBS@
171 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
172 GMSGFMT = @GMSGFMT@
173 GMSGFMT_015 = @GMSGFMT_015@
174 GREP = @GREP@
175 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
176 IBUS_CFLAGS = @IBUS_CFLAGS@
177 IBUS_LIBS = @IBUS_LIBS@
178 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
179 INSTALL = @INSTALL@
180 INSTALL_DATA = @INSTALL_DATA@
181 INSTALL_PROGRAM = @INSTALL_PROGRAM@
182 INSTALL_SCRIPT = @INSTALL_SCRIPT@
183 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
184 INTLLIBS = @INTLLIBS@
185 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
186 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
187 JSONGLIB_LIBS = @JSONGLIB_LIBS@
188 LD = @LD@
189 LDFLAGS = @LDFLAGS@
190 LIBICONV = @LIBICONV@
191 LIBINTL = @LIBINTL@
192 LIBOBJS = @LIBOBJS@
193 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
194 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
195 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
196 LIBS = @LIBS@
197 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
198 LIBSOUP_LIBS = @LIBSOUP_LIBS@
199 LIBTOOL = @LIBTOOL@
200 LIPO = @LIPO@
201 LN_S = @LN_S@
202 LTLIBICONV = @LTLIBICONV@
203 LTLIBINTL = @LTLIBINTL@
204 LTLIBOBJS = @LTLIBOBJS@
205 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
206 LUA_CFLAGS = @LUA_CFLAGS@
207 LUA_LIBS = @LUA_LIBS@
208 MAINT = @MAINT@
209 MAKEINFO = @MAKEINFO@
210 MANIFEST_TOOL = @MANIFEST_TOOL@
211 MKDIR_P = @MKDIR_P@
212 MSGFMT = @MSGFMT@
213 MSGFMT_015 = @MSGFMT_015@
214 MSGMERGE = @MSGMERGE@
215 NM = @NM@
216 NMEDIT = @NMEDIT@
217 OBJDUMP = @OBJDUMP@
218 OBJEXT = @OBJEXT@
219 OPENCC_CFLAGS = @OPENCC_CFLAGS@
220 OPENCC_LIBS = @OPENCC_LIBS@
221 OTOOL = @OTOOL@
222 OTOOL64 = @OTOOL64@
223 PACKAGE = @PACKAGE@
224 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
225 PACKAGE_NAME = @PACKAGE_NAME@
226 PACKAGE_STRING = @PACKAGE_STRING@
227 PACKAGE_TARNAME = @PACKAGE_TARNAME@
228 PACKAGE_URL = @PACKAGE_URL@
229 PACKAGE_VERSION = @PACKAGE_VERSION@
230 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
231 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
232 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
233 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
234 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
235 PATH_SEPARATOR = @PATH_SEPARATOR@
236 PKG_CONFIG = @PKG_CONFIG@
237 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
238 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
239 POSUB = @POSUB@
240 PYTHON = @PYTHON@
241 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
242 PYTHON_PLATFORM = @PYTHON_PLATFORM@
243 PYTHON_PREFIX = @PYTHON_PREFIX@
244 PYTHON_VERSION = @PYTHON_VERSION@
245 RANLIB = @RANLIB@
246 SED = @SED@
247 SET_MAKE = @SET_MAKE@
248 SHELL = @SHELL@
249 SQLITE3 = @SQLITE3@
250 SQLITE_CFLAGS = @SQLITE_CFLAGS@
251 SQLITE_LIBS = @SQLITE_LIBS@
252 STRIP = @STRIP@
253 USE_NLS = @USE_NLS@
254 VERSION = @VERSION@
255 XGETTEXT = @XGETTEXT@
256 XGETTEXT_015 = @XGETTEXT_015@
257 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
258 abs_builddir = @abs_builddir@
259 abs_srcdir = @abs_srcdir@
260 abs_top_builddir = @abs_top_builddir@
261 abs_top_srcdir = @abs_top_srcdir@
262 ac_ct_AR = @ac_ct_AR@
263 ac_ct_CC = @ac_ct_CC@
264 ac_ct_CXX = @ac_ct_CXX@
265 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
266 am__include = @am__include@
267 am__leading_dot = @am__leading_dot@
268 am__quote = @am__quote@
269 am__tar = @am__tar@
270 am__untar = @am__untar@
271 bindir = @bindir@
272 build = @build@
273 build_alias = @build_alias@
274 build_cpu = @build_cpu@
275 build_os = @build_os@
276 build_vendor = @build_vendor@
277 builddir = @builddir@
278 datadir = @datadir@
279 datarootdir = @datarootdir@
280 docdir = @docdir@
281 dvidir = @dvidir@
282 exec_prefix = @exec_prefix@
283 gsettingsschemadir = @gsettingsschemadir@
284 host = @host@
285 host_alias = @host_alias@
286 host_cpu = @host_cpu@
287 host_os = @host_os@
288 host_vendor = @host_vendor@
289 htmldir = @htmldir@
290 includedir = @includedir@
291 infodir = @infodir@
292 install_sh = @install_sh@
293 libdir = @libdir@
294 libexecdir = @libexecdir@
295 localedir = @localedir@
296 localstatedir = @localstatedir@
297 mandir = @mandir@
298 mkdir_p = @mkdir_p@
299 oldincludedir = @oldincludedir@
300 pdfdir = @pdfdir@
301 pkgpyexecdir = @pkgpyexecdir@
302 pkgpythondir = @pkgpythondir@
303 prefix = @prefix@
304 program_transform_name = @program_transform_name@
305 psdir = @psdir@
306 pyexecdir = @pyexecdir@
307 pythondir = @pythondir@
308 runstatedir = @runstatedir@
309 sbindir = @sbindir@
310 sharedstatedir = @sharedstatedir@
311 srcdir = @srcdir@
312 sysconfdir = @sysconfdir@
313 target_alias = @target_alias@
314 top_build_prefix = @top_build_prefix@
315 top_builddir = @top_builddir@
316 top_srcdir = @top_srcdir@
317 CLEANFILES = \
318 ZhConversion.* \
319 $(NULL)
320
321 all: all-am
322
323 .SUFFIXES:
324 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
325 @for dep in $?; do \
326 case '$(am__configure_deps)' in \
327 *$$dep*) \
328 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
329 && { if test -f $@; then exit 0; else break; fi; }; \
330 exit 1;; \
331 esac; \
332 done; \
333 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \
334 $(am__cd) $(top_srcdir) && \
335 $(AUTOMAKE) --gnu scripts/Makefile
336 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
337 @case '$?' in \
338 *config.status*) \
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
340 *) \
341 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
342 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
343 esac;
344
345 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
346 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
347
348 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
349 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
350 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
351 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
352 $(am__aclocal_m4_deps):
353
354 mostlyclean-libtool:
355 -rm -f *.lo
356
357 clean-libtool:
358 -rm -rf .libs _libs
359 tags TAGS:
360
361 ctags CTAGS:
362
363 cscope cscopelist:
364
365 distdir: $(BUILT_SOURCES)
366 $(MAKE) $(AM_MAKEFLAGS) distdir-am
367
368 distdir-am: $(DISTFILES)
369 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
370 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
371 list='$(DISTFILES)'; \
372 dist_files=`for file in $$list; do echo $$file; done | \
373 sed -e "s|^$$srcdirstrip/||;t" \
374 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
375 case $$dist_files in \
376 */*) $(MKDIR_P) `echo "$$dist_files" | \
377 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
378 sort -u` ;; \
379 esac; \
380 for file in $$dist_files; do \
381 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
382 if test -d $$d/$$file; then \
383 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
384 if test -d "$(distdir)/$$file"; then \
385 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
386 fi; \
387 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
388 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
389 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
390 fi; \
391 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
392 else \
393 test -f "$(distdir)/$$file" \
394 || cp -p $$d/$$file "$(distdir)/$$file" \
395 || exit 1; \
396 fi; \
397 done
398 check-am: all-am
399 check: check-am
400 all-am: Makefile
401 installdirs:
402 install: install-am
403 install-exec: install-exec-am
404 install-data: install-data-am
405 uninstall: uninstall-am
406
407 install-am: all-am
408 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
409
410 installcheck: installcheck-am
411 install-strip:
412 if test -z '$(STRIP)'; then \
413 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
414 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
415 install; \
416 else \
417 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
418 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
419 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
420 fi
421 mostlyclean-generic:
422
423 clean-generic:
424 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
425
426 distclean-generic:
427 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
428 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
429
430 maintainer-clean-generic:
431 @echo "This command is intended for maintainers to use"
432 @echo "it deletes files that may require special tools to rebuild."
433 clean: clean-am
434
435 clean-am: clean-generic clean-libtool mostlyclean-am
436
437 distclean: distclean-am
438 -rm -f Makefile
439 distclean-am: clean-am distclean-generic
440
441 dvi: dvi-am
442
443 dvi-am:
444
445 html: html-am
446
447 html-am:
448
449 info: info-am
450
451 info-am:
452
453 install-data-am:
454
455 install-dvi: install-dvi-am
456
457 install-dvi-am:
458
459 install-exec-am:
460
461 install-html: install-html-am
462
463 install-html-am:
464
465 install-info: install-info-am
466
467 install-info-am:
468
469 install-man:
470
471 install-pdf: install-pdf-am
472
473 install-pdf-am:
474
475 install-ps: install-ps-am
476
477 install-ps-am:
478
479 installcheck-am:
480
481 maintainer-clean: maintainer-clean-am
482 -rm -f Makefile
483 maintainer-clean-am: distclean-am maintainer-clean-generic
484
485 mostlyclean: mostlyclean-am
486
487 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
488
489 pdf: pdf-am
490
491 pdf-am:
492
493 ps: ps-am
494
495 ps-am:
496
497 uninstall-am:
498
499 .MAKE: install-am install-strip
500
501 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
502 cscopelist-am ctags-am distclean distclean-generic \
503 distclean-libtool distdir dvi dvi-am html html-am info info-am \
504 install install-am install-data install-data-am install-dvi \
505 install-dvi-am install-exec install-exec-am install-html \
506 install-html-am install-info install-info-am install-man \
507 install-pdf install-pdf-am install-ps install-ps-am \
508 install-strip installcheck installcheck-am installdirs \
509 maintainer-clean maintainer-clean-generic mostlyclean \
510 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
511 tags-am uninstall uninstall-am
512
513 .PRECIOUS: Makefile
514
515
516 ZhConversion.php:
517 $(AM_V_GEN) \
518 curl https://raw.githubusercontent.com/wikimedia/mediawiki/master/includes/languages/data/ZhConversion.php > $@ || \
519 ( $(RM) $@; exit 1 )
520
521 ZhConversion.py: ZhConversion.php
522 $(AM_V_GEN) \
523 php $(srcdir)/php_2_py.php > $@ || \
524 ( $(RM) $@; exit 1 )
525
526 # Tell versions [3.59,3.63) of GNU make to not export all variables.
527 # Otherwise a system limit (for SysV at least) may be exceeded.
528 .NOEXPORT:
+0
-21
scripts/PYPEmojiTable.h.in less more
0 #ifndef __PY_LIB_PINYIN_EMOJI_TABLE_H
1 #define __PY_LIB_PINYIN_EMOJI_TABLE_H
2
3 namespace PY{
4
5 typedef struct {
6 const char * m_emoji_match;
7 const char * m_emoji_string;
8 } EmojiItem;
9
10 const EmojiItem english_emoji_table[] = {
11 @ENGLISH_EMOJIS@
12 };
13
14 const EmojiItem chinese_emoji_table[] = {
15 @CHINESE_EMOJIS@
16 };
17
18 };
19
20 #endif
+0
-148
scripts/extract_emoji.py less more
0 #!/usr/bin/python3
1 import os
2 import operator
3 from argparse import ArgumentParser
4
5 import xml.etree.ElementTree as ET
6
7 header = '''/* This file is generated by python scripts. Don't edit this file directly.
8 */
9 '''
10
11 alphabet = "abcdefghijklmnopqrstuvwxyz"
12
13 eng_emojis = []
14 chs_emojis = []
15
16 def load_emoji(filename):
17 tree = ET.parse(filename)
18 root = tree.getroot()
19
20 emojis = {}
21 for annotation in root.findall('.//annotation'):
22 for word in annotation.text.split('|'):
23 word = word.strip()
24
25 # only keep the first encountered emoji
26 if not word in emojis:
27 # print(annotation.get('cp'))
28 emojis[word] = annotation.get('cp')
29
30 return emojis
31
32 # no space allowed for English emoji
33
34 def filter_English_emoji(emojis):
35 emojis_copy = {}
36
37 for key, value in emojis.items():
38 if ' ' in key:
39 continue
40
41 if len(key) > 6:
42 continue
43
44 # only accept alphabet
45 isalphabet = True
46 for c in key:
47 if not c in alphabet:
48 isalphabet = False
49
50 if not isalphabet:
51 continue
52
53 #print(key, value)
54 emojis_copy[key] = value
55
56 return emojis_copy
57
58
59 # less than four characters for Chinese emoji
60
61 def filter_Chinese_emoji(emojis):
62 emojis_copy = {}
63
64 for key, value in emojis.items():
65 if len(key) > 3:
66 continue
67
68 # just reject alphabet
69 isalnum = False
70 for c in key:
71 if c.isdigit() or c in alphabet or c in alphabet.upper():
72 isalnum = True
73
74 if isalnum:
75 continue
76
77 #print(key, value)
78 emojis_copy[key] = value
79
80 return emojis_copy
81
82 def prepare_emojis():
83 global eng_emojis, chs_emojis
84 # need unicode cldr annotation from
85 # /usr/share/unicode/cldr/common/annotations
86 eng_emojis = filter_English_emoji(load_emoji('en.xml'))
87 chs_emojis = filter_Chinese_emoji(load_emoji('yue_Hans.xml'))
88
89 eng_emojis = [(key, value) for key, value in eng_emojis.items()]
90 chs_emojis = [(key, value) for key, value in chs_emojis.items()]
91
92 compare = operator.itemgetter(0)
93 eng_emojis = sorted(eng_emojis, key=compare)
94 chs_emojis = sorted(chs_emojis, key=compare)
95
96
97 def gen_english_emojis():
98 entries = []
99 for match, string in eng_emojis:
100 match = '"{0}"'.format(match)
101 entry = '{0:<10}, "{1}"'.format(match, string)
102 entries.append(entry)
103 return ',\n'.join(entries)
104
105 def gen_chinese_emojis():
106 entries = []
107 for match, string in chs_emojis:
108 match = '"{0}"'.format(match)
109 entry = '{0:<10}, "{1}"'.format(match, string)
110 entries.append(entry)
111 return ',\n'.join(entries)
112
113
114 def get_table_content(tablename):
115 # English Emojis
116 if tablename == 'ENGLISH_EMOJIS':
117 return gen_english_emojis()
118 # Chinese Emojis
119 if tablename == 'CHINESE_EMOJIS':
120 return gen_chinese_emojis()
121
122 def expand_file(filename):
123 infile = open(filename, "r")
124 print(header)
125 for line in infile.readlines():
126 line = line.rstrip(os.linesep)
127 if len(line) < 3:
128 print(line)
129 continue
130 if line[0] == '@' and line[-1] == '@':
131 tablename = line[1:-1]
132 print(get_table_content(tablename))
133 else:
134 print(line)
135
136
137 ### main function ###
138 if __name__ == "__main__":
139 parser = ArgumentParser(description='Generate header file from template.')
140 parser.add_argument('infile', action='store', \
141 help='input file.')
142
143 args = parser.parse_args()
144 #print(args)
145
146 prepare_emojis()
147 expand_file(args.infile)
+0
-32
scripts/genpuncttable.py less more
0 #!/usr/bin/python3
1 from punct import *
2
3
4 def tocstr(s: str):
5 s = s.replace("\\", "\\\\")
6 s = s.replace('"', '\\"')
7 return f'"{s}"'
8
9
10 def gen_table():
11 array = []
12 i = 0
13 print("static const gchar * const")
14 print("puncts[] = {")
15 for k, vs in punct_map:
16 k = tocstr(k)
17 vs = [tocstr(s) for s in vs]
18 array.append((i, k))
19 print(f" {k}, {', '.join(vs)}, NULL,")
20 i += len(vs) + 2
21 print("};")
22 print()
23 print("static const gchar * const * const")
24 print("punct_table[] = {")
25 for i, k in array:
26 print(f" &puncts[{i}], // {k}")
27 print("};")
28
29
30 if __name__ == "__main__":
31 gen_table()
+0
-24
scripts/php_2_py.php less more
0 <?php
1
2 namespace MediaWiki\Languages\Data;
3
4 include("ZhConversion.php");
5
6 echo "# -*- coding: utf-8 -*- \n";
7
8 function printDict($name, $dict) {
9 echo "$name = {\n";
10 foreach($dict as $key => $val) {
11 echo " u\"", $key, "\": u\"", $val, "\",\n";
12 }
13 echo "}\n";
14 echo "\n";
15 }
16
17 printDict("zh2Hant", ZhConversion::$zh2Hant);
18 printDict("zh2Hans", ZhConversion::$zh2Hans);
19 printDict("zh2TW", ZhConversion::$zh2TW);
20 printDict("zh2HK", ZhConversion::$zh2HK);
21 printDict("zh2CN", ZhConversion::$zh2CN);
22 # printDict("zh2SG", ZhConversion::$zh2SG);
23 ?>
+0
-100
scripts/punct.py less more
0 # vim:set et sts=4:
1 # -*- coding: utf-8 -*-
2
3 punct_map = (
4 (u'', (u'·', u',', u'。', u'「', u'」', u'、', u':', u';', u'?', u'!',)),
5 (u'!', (u'!', u'﹗', u'‼', u'⁉',)),
6 (u'"', (u'“', u'”', u'"',)),
7 (u'#', (u'#', u'﹟', u'♯',)),
8 (u'$', (u'$', u'€', u'﹩', u'¢', u'£', u'¥',)),
9 (u'%', (u'%', u'﹪', u'‰', u'‱', u'㏙', u'㏗',)),
10 (u'&', (u'&', u'﹠',)),
11 (u'\'', (u'、', u'‘', u'’',)),
12 (u'(', (u'(', u'︵', u'﹙',)),
13 (u')', (u')', u'︶', u'﹚',)),
14 (u'*', (u'*', u'×', u'※', u'╳', u'﹡', u'⁎', u'⁑', u'⁂', u'⌘',)),
15 (u'+', (u'+', u'±', u'﹢',)),
16 (u',', (u',', u'、', u'﹐', u'﹑',)),
17 (u'-', (u'…', u'—', u'-', u'¯', u'﹉', u' ̄', u'﹊', u'ˍ', u'–', u'‥',)),
18 (u'.', (u'。', u'·', u'‧', u'﹒', u'.',)),
19 (u'/', (u'/', u'÷', u'↗', u'↙', u'∕',)),
20 (u'0', (u'0', u'0')),
21 (u'1', (u'1', u'1')),
22 (u'2', (u'2', u'2')),
23 (u'3', (u'3', u'3')),
24 (u'4', (u'4', u'4')),
25 (u'5', (u'5', u'5')),
26 (u'6', (u'6', u'6')),
27 (u'7', (u'7', u'7')),
28 (u'8', (u'8', u'8')),
29 (u'9', (u'9', u'9')),
30 (u':', (u':', u'︰', u'﹕',)),
31 (u';', (u';', u'﹔',)),
32 (u'<', (u'<', u'〈', u'《', u'︽', u'︿', u'﹤',)),
33 (u'=', (u'=', u'≒', u'≠', u'≡', u'≦', u'≧', u'﹦',)),
34 (u'>', (u'>', u'〉', u'》', u'︾', u'﹀', u'﹥',)),
35 (u'?', (u'?', u'﹖', u'⁇', u'⁈',)),
36 (u'@', (u'@', u'⊕', u'⊙', u'㊣', u'﹫', u'◉', u'◎',)),
37 (u'A', (u'A', u'A')),
38 (u'B', (u'B', u'B')),
39 (u'C', (u'C', u'C')),
40 (u'D', (u'D', u'D')),
41 (u'E', (u'E', u'E')),
42 (u'F', (u'F', u'F')),
43 (u'G', (u'G', u'G')),
44 (u'H', (u'H', u'H')),
45 (u'I', (u'I', u'I')),
46 (u'J', (u'J', u'J')),
47 (u'K', (u'K', u'K')),
48 (u'L', (u'L', u'L')),
49 (u'M', (u'M', u'M')),
50 (u'N', (u'N', u'N')),
51 (u'O', (u'O', u'O')),
52 (u'P', (u'P', u'P')),
53 (u'Q', (u'Q', u'Q')),
54 (u'R', (u'R', u'R')),
55 (u'S', (u'S', u'S')),
56 (u'T', (u'T', u'T')),
57 (u'U', (u'U', u'U')),
58 (u'V', (u'V', u'V')),
59 (u'W', (u'W', u'W')),
60 (u'X', (u'X', u'X')),
61 (u'Y', (u'Y', u'Y')),
62 (u'Z', (u'Z', u'Z')),
63 (u'[', (u'「', u'[', u'『', u'【', u'「', u'︻', u'﹁', u'﹃',)),
64 (u'\\', (u'\', u'↖', u'↘', u'﹨',)),
65 (u']', (u'」', u']', u'』', u'】', u'」', u'︼', u'﹂', u'﹄',)),
66 (u'^', (u'︿', u'〈', u'《', u'︽', u'﹤', u'<',)),
67 (u'_', (u'_', u'╴', u'←', u'→',)),
68 (u'`', (u'‵', u'′',)),
69 (u'a', (u'a', u'a')),
70 (u'b', (u'b', u'b')),
71 (u'c', (u'c', u'c')),
72 (u'd', (u'd', u'd')),
73 (u'e', (u'e', u'e')),
74 (u'f', (u'f', u'f')),
75 (u'g', (u'g', u'g')),
76 (u'h', (u'h', u'h')),
77 (u'i', (u'i', u'i')),
78 (u'j', (u'j', u'j')),
79 (u'k', (u'k', u'k')),
80 (u'l', (u'l', u'l')),
81 (u'm', (u'm', u'm')),
82 (u'n', (u'n', u'n')),
83 (u'o', (u'o', u'o')),
84 (u'p', (u'p', u'p')),
85 (u'q', (u'q', u'q')),
86 (u'r', (u'r', u'r')),
87 (u's', (u's', u's')),
88 (u't', (u't', u't')),
89 (u'u', (u'u', u'u')),
90 (u'v', (u'v', u'v')),
91 (u'w', (u'w', u'w')),
92 (u'x', (u'x', u'x')),
93 (u'y', (u'y', u'y')),
94 (u'z', (u'z', u'z')),
95 (u'{', (u'{', u'︷', u'﹛', u'〔', u'﹝', u'︹',)),
96 (u'|', (u'|', u'↑', u'↓', u'∣', u'∥', u'︱', u'︳', u'︴', u'¦',)),
97 (u'}', (u'}', u'︸', u'﹜', u'〕', u'﹞', u'︺',)),
98 (u'~', (u'~', u'﹋', u'﹌',)),
99 )
+0
-69
scripts/update-simptrad-table.py less more
0 #!/usr/bin/python3
1 from ZhConversion import *
2 from valid_hanzi import *
3
4
5 def convert(s, d, n):
6 out = ""
7 end = len(s)
8 begin = 0
9 while begin < end:
10 for i in range(min(n, end - begin), 0, -1):
11 t = s[begin : begin + i]
12 t = d.get(t, t if i == 1 else None)
13 if t:
14 break
15 out = out + t
16 begin += i
17 return out
18
19
20 def filter_more(records, n):
21 han = [(k, v) for (k, v) in records if len(k) <= 0]
22 hand = dict(han)
23 hanm = [(k, v) for (k, v) in records if convert(k, hand, n) != v]
24 return hanm + han
25
26
27 def filter_func(args):
28 k, v = args
29 # length is not equal or length > 6
30 if len(k) != len(v) or len(k) > 6:
31 return False
32 # k includes invalid hanzi
33 if not all(c in valid_hanzi for c in k):
34 return False
35 # v includes invalid hanzi
36 if not all(c in valid_hanzi for c in v):
37 return False
38
39 # # check chars in k and v
40 # for c1, c2 in zip(k, v):
41 # if c1 == c2:
42 # continue
43 # if c2 not in S_2_T.get(c1, []):
44 # return False
45 return True
46
47
48 def get_records():
49 records = [kv for kv in zh2Hant.items() if filter_func(kv)]
50
51 maxlen = max([len(k) for (k, v) in records])
52 for i in range(1, maxlen - 1):
53 records = filter_more(records, i)
54 records.sort()
55 return maxlen, records
56
57
58 def main():
59 print("static const gchar *simp_to_trad[][2] = {")
60 maxlen, records = get_records()
61 for s, ts in records:
62 print(f' {{ "{s}", "{ts}" }},')
63 print("};")
64 print(f"#define SIMP_TO_TRAD_MAX_LEN ({maxlen})")
65
66
67 if __name__ == "__main__":
68 main()
+0
-1
scripts/valid_hanzi.py less more
0 ../data/db/android/valid_hanzi.py
+0
-2
setup/.gitignore less more
0 /ibus-setup-libpinyin
1 /config.py
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22
23 VPATH = @srcdir@
24 am__is_gnu_make = { \
25 if test -z '$(MAKELEVEL)'; then \
26 false; \
27 elif test -n '$(MAKE_HOST)'; then \
28 true; \
29 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
30 true; \
31 else \
32 false; \
33 fi; \
34 }
35 am__make_running_with_option = \
36 case $${target_option-} in \
37 ?) ;; \
38 *) echo "am__make_running_with_option: internal error: invalid" \
39 "target option '$${target_option-}' specified" >&2; \
40 exit 1;; \
41 esac; \
42 has_opt=no; \
43 sane_makeflags=$$MAKEFLAGS; \
44 if $(am__is_gnu_make); then \
45 sane_makeflags=$$MFLAGS; \
46 else \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 bs=\\; \
50 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
51 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
52 esac; \
53 fi; \
54 skip_next=no; \
55 strip_trailopt () \
56 { \
57 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
58 }; \
59 for flg in $$sane_makeflags; do \
60 test $$skip_next = yes && { skip_next=no; continue; }; \
61 case $$flg in \
62 *=*|--*) continue;; \
63 -*I) strip_trailopt 'I'; skip_next=yes;; \
64 -*I?*) strip_trailopt 'I';; \
65 -*O) strip_trailopt 'O'; skip_next=yes;; \
66 -*O?*) strip_trailopt 'O';; \
67 -*l) strip_trailopt 'l'; skip_next=yes;; \
68 -*l?*) strip_trailopt 'l';; \
69 -[dEDm]) skip_next=yes;; \
70 -[JT]) skip_next=yes;; \
71 esac; \
72 case $$flg in \
73 *$$target_option*) has_opt=yes; break;; \
74 esac; \
75 done; \
76 test $$has_opt = yes
77 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
78 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
79 pkgdatadir = $(datadir)/@PACKAGE@
80 pkgincludedir = $(includedir)/@PACKAGE@
81 pkglibdir = $(libdir)/@PACKAGE@
82 pkglibexecdir = $(libexecdir)/@PACKAGE@
83 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
84 install_sh_DATA = $(install_sh) -c -m 644
85 install_sh_PROGRAM = $(install_sh) -c
86 install_sh_SCRIPT = $(install_sh) -c
87 INSTALL_HEADER = $(INSTALL_DATA)
88 transform = $(program_transform_name)
89 NORMAL_INSTALL = :
90 PRE_INSTALL = :
91 POST_INSTALL = :
92 NORMAL_UNINSTALL = :
93 PRE_UNINSTALL = :
94 POST_UNINSTALL = :
95 build_triplet = @build@
96 host_triplet = @host@
97 subdir = setup
98 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
99 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
100 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
101 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
102 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
103 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
104 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
105 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
106 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
107 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
108 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
109 $(ACLOCAL_M4)
110 DIST_COMMON = $(srcdir)/Makefile.am $(setup_libpinyin_PYTHON) \
111 $(am__DIST_COMMON)
112 mkinstalldirs = $(install_sh) -d
113 CONFIG_HEADER = $(top_builddir)/config.h
114 CONFIG_CLEAN_FILES = ibus-setup-libpinyin config.py
115 CONFIG_CLEAN_VPATH_FILES =
116 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
117 am__vpath_adj = case $$p in \
118 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
119 *) f=$$p;; \
120 esac;
121 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
122 am__install_max = 40
123 am__nobase_strip_setup = \
124 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
125 am__nobase_strip = \
126 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
127 am__nobase_list = $(am__nobase_strip_setup); \
128 for p in $$list; do echo "$$p $$p"; done | \
129 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
130 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
131 if (++n[$$2] == $(am__install_max)) \
132 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
133 END { for (dir in files) print dir, files[dir] }'
134 am__base_list = \
135 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
136 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
137 am__uninstall_files_from_dir = { \
138 test -z "$$files" \
139 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
140 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
141 $(am__cd) "$$dir" && rm -f $$files; }; \
142 }
143 am__installdirs = "$(DESTDIR)$(libexecdir)" \
144 "$(DESTDIR)$(setup_libpinyindir)"
145 SCRIPTS = $(libexec_SCRIPTS)
146 AM_V_P = $(am__v_P_@AM_V@)
147 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
148 am__v_P_0 = false
149 am__v_P_1 = :
150 AM_V_GEN = $(am__v_GEN_@AM_V@)
151 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
152 am__v_GEN_0 = @echo " GEN " $@;
153 am__v_GEN_1 =
154 AM_V_at = $(am__v_at_@AM_V@)
155 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
156 am__v_at_0 = @
157 am__v_at_1 =
158 SOURCES =
159 DIST_SOURCES =
160 am__can_run_installinfo = \
161 case $$AM_UPDATE_INFO_DIR in \
162 n|no|NO) false;; \
163 *) (install-info --version) >/dev/null 2>&1;; \
164 esac
165 am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
166 am__pep3147_tweak = \
167 sed -e 's|\.py$$||' -e 's|[^/]*$$|__pycache__/&.*.pyc __pycache__/&.*.pyo|'
168 py_compile = $(top_srcdir)/py-compile
169 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
170 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.py.in \
171 $(srcdir)/ibus-setup-libpinyin.in $(top_srcdir)/py-compile
172 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
173 ACLOCAL = @ACLOCAL@
174 AMTAR = @AMTAR@
175 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
176 AR = @AR@
177 AUTOCONF = @AUTOCONF@
178 AUTOHEADER = @AUTOHEADER@
179 AUTOMAKE = @AUTOMAKE@
180 AWK = @AWK@
181 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
182 BOOST_ROOT = @BOOST_ROOT@
183 CC = @CC@
184 CCDEPMODE = @CCDEPMODE@
185 CFLAGS = @CFLAGS@
186 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
187 CPP = @CPP@
188 CPPFLAGS = @CPPFLAGS@
189 CSCOPE = @CSCOPE@
190 CTAGS = @CTAGS@
191 CXX = @CXX@
192 CXXCPP = @CXXCPP@
193 CXXDEPMODE = @CXXDEPMODE@
194 CXXFLAGS = @CXXFLAGS@
195 CYGPATH_W = @CYGPATH_W@
196 DEFS = @DEFS@
197 DEPDIR = @DEPDIR@
198 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
199 DLLTOOL = @DLLTOOL@
200 DSYMUTIL = @DSYMUTIL@
201 DUMPBIN = @DUMPBIN@
202 ECHO_C = @ECHO_C@
203 ECHO_N = @ECHO_N@
204 ECHO_T = @ECHO_T@
205 EGREP = @EGREP@
206 ENV = @ENV@
207 ETAGS = @ETAGS@
208 EXEEXT = @EXEEXT@
209 FGREP = @FGREP@
210 FILECMD = @FILECMD@
211 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
212 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
213 GIO2_CFLAGS = @GIO2_CFLAGS@
214 GIO2_LIBS = @GIO2_LIBS@
215 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
216 GMSGFMT = @GMSGFMT@
217 GMSGFMT_015 = @GMSGFMT_015@
218 GREP = @GREP@
219 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
220 IBUS_CFLAGS = @IBUS_CFLAGS@
221 IBUS_LIBS = @IBUS_LIBS@
222 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
223 INSTALL = @INSTALL@
224 INSTALL_DATA = @INSTALL_DATA@
225 INSTALL_PROGRAM = @INSTALL_PROGRAM@
226 INSTALL_SCRIPT = @INSTALL_SCRIPT@
227 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
228 INTLLIBS = @INTLLIBS@
229 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
230 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
231 JSONGLIB_LIBS = @JSONGLIB_LIBS@
232 LD = @LD@
233 LDFLAGS = @LDFLAGS@
234 LIBICONV = @LIBICONV@
235 LIBINTL = @LIBINTL@
236 LIBOBJS = @LIBOBJS@
237 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
238 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
239 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
240 LIBS = @LIBS@
241 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
242 LIBSOUP_LIBS = @LIBSOUP_LIBS@
243 LIBTOOL = @LIBTOOL@
244 LIPO = @LIPO@
245 LN_S = @LN_S@
246 LTLIBICONV = @LTLIBICONV@
247 LTLIBINTL = @LTLIBINTL@
248 LTLIBOBJS = @LTLIBOBJS@
249 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
250 LUA_CFLAGS = @LUA_CFLAGS@
251 LUA_LIBS = @LUA_LIBS@
252 MAINT = @MAINT@
253 MAKEINFO = @MAKEINFO@
254 MANIFEST_TOOL = @MANIFEST_TOOL@
255 MKDIR_P = @MKDIR_P@
256 MSGFMT = @MSGFMT@
257 MSGFMT_015 = @MSGFMT_015@
258 MSGMERGE = @MSGMERGE@
259 NM = @NM@
260 NMEDIT = @NMEDIT@
261 OBJDUMP = @OBJDUMP@
262 OBJEXT = @OBJEXT@
263 OPENCC_CFLAGS = @OPENCC_CFLAGS@
264 OPENCC_LIBS = @OPENCC_LIBS@
265 OTOOL = @OTOOL@
266 OTOOL64 = @OTOOL64@
267 PACKAGE = @PACKAGE@
268 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
269 PACKAGE_NAME = @PACKAGE_NAME@
270 PACKAGE_STRING = @PACKAGE_STRING@
271 PACKAGE_TARNAME = @PACKAGE_TARNAME@
272 PACKAGE_URL = @PACKAGE_URL@
273 PACKAGE_VERSION = @PACKAGE_VERSION@
274 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
275 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
276 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
277 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
278 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
279 PATH_SEPARATOR = @PATH_SEPARATOR@
280 PKG_CONFIG = @PKG_CONFIG@
281 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
282 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
283 POSUB = @POSUB@
284 PYTHON = @PYTHON@
285 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
286 PYTHON_PLATFORM = @PYTHON_PLATFORM@
287 PYTHON_PREFIX = @PYTHON_PREFIX@
288 PYTHON_VERSION = @PYTHON_VERSION@
289 RANLIB = @RANLIB@
290 SED = @SED@
291 SET_MAKE = @SET_MAKE@
292 SHELL = @SHELL@
293 SQLITE3 = @SQLITE3@
294 SQLITE_CFLAGS = @SQLITE_CFLAGS@
295 SQLITE_LIBS = @SQLITE_LIBS@
296 STRIP = @STRIP@
297 USE_NLS = @USE_NLS@
298 VERSION = @VERSION@
299 XGETTEXT = @XGETTEXT@
300 XGETTEXT_015 = @XGETTEXT_015@
301 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
302 abs_builddir = @abs_builddir@
303 abs_srcdir = @abs_srcdir@
304 abs_top_builddir = @abs_top_builddir@
305 abs_top_srcdir = @abs_top_srcdir@
306 ac_ct_AR = @ac_ct_AR@
307 ac_ct_CC = @ac_ct_CC@
308 ac_ct_CXX = @ac_ct_CXX@
309 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
310 am__include = @am__include@
311 am__leading_dot = @am__leading_dot@
312 am__quote = @am__quote@
313 am__tar = @am__tar@
314 am__untar = @am__untar@
315 bindir = @bindir@
316 build = @build@
317 build_alias = @build_alias@
318 build_cpu = @build_cpu@
319 build_os = @build_os@
320 build_vendor = @build_vendor@
321 builddir = @builddir@
322 datadir = @datadir@
323 datarootdir = @datarootdir@
324 docdir = @docdir@
325 dvidir = @dvidir@
326 exec_prefix = @exec_prefix@
327 gsettingsschemadir = @gsettingsschemadir@
328 host = @host@
329 host_alias = @host_alias@
330 host_cpu = @host_cpu@
331 host_os = @host_os@
332 host_vendor = @host_vendor@
333 htmldir = @htmldir@
334 includedir = @includedir@
335 infodir = @infodir@
336 install_sh = @install_sh@
337 libdir = @libdir@
338 libexecdir = @libexecdir@
339 localedir = @localedir@
340 localstatedir = @localstatedir@
341 mandir = @mandir@
342 mkdir_p = @mkdir_p@
343 oldincludedir = @oldincludedir@
344 pdfdir = @pdfdir@
345 pkgpyexecdir = @pkgpyexecdir@
346 pkgpythondir = @pkgpythondir@
347 prefix = @prefix@
348 program_transform_name = @program_transform_name@
349 psdir = @psdir@
350 pyexecdir = @pyexecdir@
351 pythondir = @pythondir@
352 runstatedir = @runstatedir@
353 sbindir = @sbindir@
354 sharedstatedir = @sharedstatedir@
355 srcdir = @srcdir@
356 sysconfdir = @sysconfdir@
357 target_alias = @target_alias@
358 top_build_prefix = @top_build_prefix@
359 top_builddir = @top_builddir@
360 top_srcdir = @top_srcdir@
361 setup_libpinyin_PYTHON = \
362 main2.py \
363 config.py \
364 dicttreeview.py \
365 shortcuteditor.py \
366 keyboardshortcut.py \
367 ibus-libpinyin-preferences.ui \
368 $(NULL)
369
370 setup_libpinyindir = $(datadir)/ibus-libpinyin/setup
371 libexec_SCRIPTS = \
372 ibus-setup-libpinyin \
373 $(NULL)
374
375 CLEANFILES = \
376 *.pyc \
377 $(NULL)
378
379 EXTRA_DIST = \
380 config.py.in \
381 ibus-setup-libpinyin.in \
382 $(NULL)
383
384 all: all-am
385
386 .SUFFIXES:
387 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
388 @for dep in $?; do \
389 case '$(am__configure_deps)' in \
390 *$$dep*) \
391 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
392 && { if test -f $@; then exit 0; else break; fi; }; \
393 exit 1;; \
394 esac; \
395 done; \
396 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu setup/Makefile'; \
397 $(am__cd) $(top_srcdir) && \
398 $(AUTOMAKE) --gnu setup/Makefile
399 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
400 @case '$?' in \
401 *config.status*) \
402 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
403 *) \
404 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
405 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
406 esac;
407
408 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
409 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
410
411 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
412 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
413 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
414 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
415 $(am__aclocal_m4_deps):
416 ibus-setup-libpinyin: $(top_builddir)/config.status $(srcdir)/ibus-setup-libpinyin.in
417 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
418 config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
419 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
420 install-libexecSCRIPTS: $(libexec_SCRIPTS)
421 @$(NORMAL_INSTALL)
422 @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || list=; \
423 if test -n "$$list"; then \
424 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
425 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
426 fi; \
427 for p in $$list; do \
428 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
429 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
430 done | \
431 sed -e 'p;s,.*/,,;n' \
432 -e 'h;s|.*|.|' \
433 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
434 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
435 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
436 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
437 if (++n[d] == $(am__install_max)) { \
438 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
439 else { print "f", d "/" $$4, $$1 } } \
440 END { for (d in files) print "f", d, files[d] }' | \
441 while read type dir files; do \
442 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
443 test -z "$$files" || { \
444 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
445 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
446 } \
447 ; done
448
449 uninstall-libexecSCRIPTS:
450 @$(NORMAL_UNINSTALL)
451 @list='$(libexec_SCRIPTS)'; test -n "$(libexecdir)" || exit 0; \
452 files=`for p in $$list; do echo "$$p"; done | \
453 sed -e 's,.*/,,;$(transform)'`; \
454 dir='$(DESTDIR)$(libexecdir)'; $(am__uninstall_files_from_dir)
455
456 mostlyclean-libtool:
457 -rm -f *.lo
458
459 clean-libtool:
460 -rm -rf .libs _libs
461 install-setup_libpinyinPYTHON: $(setup_libpinyin_PYTHON)
462 @$(NORMAL_INSTALL)
463 @list='$(setup_libpinyin_PYTHON)'; dlist=; list2=; test -n "$(setup_libpinyindir)" || list=; \
464 if test -n "$$list"; then \
465 echo " $(MKDIR_P) '$(DESTDIR)$(setup_libpinyindir)'"; \
466 $(MKDIR_P) "$(DESTDIR)$(setup_libpinyindir)" || exit 1; \
467 fi; \
468 for p in $$list; do \
469 if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
470 if test -f $$b$$p; then \
471 $(am__strip_dir) \
472 dlist="$$dlist $$f"; \
473 list2="$$list2 $$b$$p"; \
474 else :; fi; \
475 done; \
476 for file in $$list2; do echo $$file; done | $(am__base_list) | \
477 while read files; do \
478 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(setup_libpinyindir)'"; \
479 $(INSTALL_DATA) $$files "$(DESTDIR)$(setup_libpinyindir)" || exit $$?; \
480 done || exit $$?; \
481 if test -n "$$dlist"; then \
482 $(am__py_compile) --destdir "$(DESTDIR)" \
483 --basedir "$(setup_libpinyindir)" $$dlist; \
484 else :; fi
485
486 uninstall-setup_libpinyinPYTHON:
487 @$(NORMAL_UNINSTALL)
488 @list='$(setup_libpinyin_PYTHON)'; test -n "$(setup_libpinyindir)" || list=; \
489 py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
490 test -n "$$py_files" || exit 0; \
491 dir='$(DESTDIR)$(setup_libpinyindir)'; \
492 pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \
493 pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \
494 st=0; \
495 for files in "$$py_files" "$$pyc_files" "$$pyo_files"; do \
496 $(am__uninstall_files_from_dir) || st=$$?; \
497 done; \
498 dir='$(DESTDIR)$(setup_libpinyindir)'; \
499 echo "$$py_files" | $(am__pep3147_tweak) | $(am__base_list) | \
500 while read files; do \
501 $(am__uninstall_files_from_dir) || st=$$?; \
502 done || exit $$?; \
503 exit $$st
504 tags TAGS:
505
506 ctags CTAGS:
507
508 cscope cscopelist:
509
510 distdir: $(BUILT_SOURCES)
511 $(MAKE) $(AM_MAKEFLAGS) distdir-am
512
513 distdir-am: $(DISTFILES)
514 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
515 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
516 list='$(DISTFILES)'; \
517 dist_files=`for file in $$list; do echo $$file; done | \
518 sed -e "s|^$$srcdirstrip/||;t" \
519 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
520 case $$dist_files in \
521 */*) $(MKDIR_P) `echo "$$dist_files" | \
522 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
523 sort -u` ;; \
524 esac; \
525 for file in $$dist_files; do \
526 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
527 if test -d $$d/$$file; then \
528 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
529 if test -d "$(distdir)/$$file"; then \
530 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
531 fi; \
532 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
533 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
534 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
535 fi; \
536 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
537 else \
538 test -f "$(distdir)/$$file" \
539 || cp -p $$d/$$file "$(distdir)/$$file" \
540 || exit 1; \
541 fi; \
542 done
543 check-am: all-am
544 check: check-am
545 all-am: Makefile $(SCRIPTS)
546 installdirs:
547 for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(setup_libpinyindir)"; do \
548 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
549 done
550 install: install-am
551 install-exec: install-exec-am
552 install-data: install-data-am
553 uninstall: uninstall-am
554
555 install-am: all-am
556 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
557
558 installcheck: installcheck-am
559 install-strip:
560 if test -z '$(STRIP)'; then \
561 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
562 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
563 install; \
564 else \
565 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
566 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
567 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
568 fi
569 mostlyclean-generic:
570
571 clean-generic:
572 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
573
574 distclean-generic:
575 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
576 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
577
578 maintainer-clean-generic:
579 @echo "This command is intended for maintainers to use"
580 @echo "it deletes files that may require special tools to rebuild."
581 clean: clean-am
582
583 clean-am: clean-generic clean-libtool mostlyclean-am
584
585 distclean: distclean-am
586 -rm -f Makefile
587 distclean-am: clean-am distclean-generic
588
589 dvi: dvi-am
590
591 dvi-am:
592
593 html: html-am
594
595 html-am:
596
597 info: info-am
598
599 info-am:
600
601 install-data-am: install-setup_libpinyinPYTHON
602
603 install-dvi: install-dvi-am
604
605 install-dvi-am:
606
607 install-exec-am: install-libexecSCRIPTS
608
609 install-html: install-html-am
610
611 install-html-am:
612
613 install-info: install-info-am
614
615 install-info-am:
616
617 install-man:
618
619 install-pdf: install-pdf-am
620
621 install-pdf-am:
622
623 install-ps: install-ps-am
624
625 install-ps-am:
626
627 installcheck-am:
628
629 maintainer-clean: maintainer-clean-am
630 -rm -f Makefile
631 maintainer-clean-am: distclean-am maintainer-clean-generic
632
633 mostlyclean: mostlyclean-am
634
635 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
636
637 pdf: pdf-am
638
639 pdf-am:
640
641 ps: ps-am
642
643 ps-am:
644
645 uninstall-am: uninstall-libexecSCRIPTS uninstall-setup_libpinyinPYTHON
646
647 .MAKE: install-am install-strip
648
649 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
650 cscopelist-am ctags-am distclean distclean-generic \
651 distclean-libtool distdir dvi dvi-am html html-am info info-am \
652 install install-am install-data install-data-am install-dvi \
653 install-dvi-am install-exec install-exec-am install-html \
654 install-html-am install-info install-info-am \
655 install-libexecSCRIPTS install-man install-pdf install-pdf-am \
656 install-ps install-ps-am install-setup_libpinyinPYTHON \
657 install-strip installcheck installcheck-am installdirs \
658 maintainer-clean maintainer-clean-generic mostlyclean \
659 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
660 tags-am uninstall uninstall-am uninstall-libexecSCRIPTS \
661 uninstall-setup_libpinyinPYTHON
662
663 .PRECIOUS: Makefile
664
665
666 test-libpinyin:
667 $(ENV) DBUS_DEBUG=true \
668 IBUS_LOCALEDIR=@localedir@ \
669 IBUS_PKGDATADIR=$(pkgdatadir) \
670 PYTHONPATH=$(abs_top_srcdir):$(pyexecdir) \
671 $(PYTHON) $(srcdir)/main2.py libpinyin
672
673 test-libbopomofo:
674 $(ENV) DBUS_DEBUG=true \
675 IBUS_LOCALEDIR=@localedir@ \
676 IBUS_PKGDATADIR=$(pkgdatadir) \
677 PYTHONPATH=$(abs_top_srcdir):$(pyexecdir) \
678 $(PYTHON) $(srcdir)/main2.py libbopomofo
679
680 # Tell versions [3.59,3.63) of GNU make to not export all variables.
681 # Otherwise a system limit (for SysV at least) may be exceeded.
682 .NOEXPORT:
0 # vim:set et ts=4 sts=4:
1 #
2 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
3 #
4 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
5 # Copyright (c) 2013 Peng Wu <alexepico@gmail.com>
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
21 import gettext
22
23 gettext.install("ibus-libpinyin")
24
25 def get_version():
26 return "1.14.91"
27
28 def get_longname():
29 return _("Intelligent Pinyin")
30
31 def support_cloud_input():
32 return False
149149 </row>
150150 <row>
151151 <col id="0" translatable="yes">Pinyin Length</col>
152 </row>
153 <row>
154 <col id="0" translatable="yes">Legacy</col>
152155 </row>
153156 </data>
154157 </object>
5959 except AttributeError:
6060 pass
6161
62 gettext.bindtextdomain(DOMAINNAME, localedir)
63 gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')
62 # Python's gettext module doesn't provide all methods in
63 # new Python version
64 try:
65 gettext.bindtextdomain(DOMAINNAME, localedir)
66 gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')
67 except AttributeError:
68 pass
6469
6570 gettext.install(DOMAINNAME, localedir)
6671
+0
-4
src/.gitignore less more
0 *.o
1 /libpinyin.xml
2 /libpinyin.xml.in
3 /ibus-engine-libpinyin
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15
16 # vim:set noet ts=4:
17 #
18 # ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
19 #
20 # Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
21 #
22
23
24 VPATH = @srcdir@
25 am__is_gnu_make = { \
26 if test -z '$(MAKELEVEL)'; then \
27 false; \
28 elif test -n '$(MAKE_HOST)'; then \
29 true; \
30 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
31 true; \
32 else \
33 false; \
34 fi; \
35 }
36 am__make_running_with_option = \
37 case $${target_option-} in \
38 ?) ;; \
39 *) echo "am__make_running_with_option: internal error: invalid" \
40 "target option '$${target_option-}' specified" >&2; \
41 exit 1;; \
42 esac; \
43 has_opt=no; \
44 sane_makeflags=$$MAKEFLAGS; \
45 if $(am__is_gnu_make); then \
46 sane_makeflags=$$MFLAGS; \
47 else \
48 case $$MAKEFLAGS in \
49 *\\[\ \ ]*) \
50 bs=\\; \
51 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
53 esac; \
54 fi; \
55 skip_next=no; \
56 strip_trailopt () \
57 { \
58 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59 }; \
60 for flg in $$sane_makeflags; do \
61 test $$skip_next = yes && { skip_next=no; continue; }; \
62 case $$flg in \
63 *=*|--*) continue;; \
64 -*I) strip_trailopt 'I'; skip_next=yes;; \
65 -*I?*) strip_trailopt 'I';; \
66 -*O) strip_trailopt 'O'; skip_next=yes;; \
67 -*O?*) strip_trailopt 'O';; \
68 -*l) strip_trailopt 'l'; skip_next=yes;; \
69 -*l?*) strip_trailopt 'l';; \
70 -[dEDm]) skip_next=yes;; \
71 -[JT]) skip_next=yes;; \
72 esac; \
73 case $$flg in \
74 *$$target_option*) has_opt=yes; break;; \
75 esac; \
76 done; \
77 test $$has_opt = yes
78 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80 pkgdatadir = $(datadir)/@PACKAGE@
81 pkgincludedir = $(includedir)/@PACKAGE@
82 pkglibdir = $(libdir)/@PACKAGE@
83 pkglibexecdir = $(libexecdir)/@PACKAGE@
84 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85 install_sh_DATA = $(install_sh) -c -m 644
86 install_sh_PROGRAM = $(install_sh) -c
87 install_sh_SCRIPT = $(install_sh) -c
88 INSTALL_HEADER = $(INSTALL_DATA)
89 transform = $(program_transform_name)
90 NORMAL_INSTALL = :
91 PRE_INSTALL = :
92 POST_INSTALL = :
93 NORMAL_UNINSTALL = :
94 PRE_UNINSTALL = :
95 POST_UNINSTALL = :
96 build_triplet = @build@
97 host_triplet = @host@
98 libexec_PROGRAMS = ibus-engine-libpinyin$(EXEEXT)
99 @IBUS_BUILD_LUA_EXTENSION_TRUE@am__append_1 = \
100 @IBUS_BUILD_LUA_EXTENSION_TRUE@ PYExtEditor.cc \
101 @IBUS_BUILD_LUA_EXTENSION_TRUE@ PYPLuaTriggerCandidates.cc \
102 @IBUS_BUILD_LUA_EXTENSION_TRUE@ PYPLuaConverterCandidates.cc \
103 @IBUS_BUILD_LUA_EXTENSION_TRUE@ $(NULL)
104
105 @ENABLE_CLOUD_INPUT_MODE_TRUE@am__append_2 = \
106 @ENABLE_CLOUD_INPUT_MODE_TRUE@ PYPCloudCandidates.h \
107 @ENABLE_CLOUD_INPUT_MODE_TRUE@ $(NULL)
108
109 @ENABLE_CLOUD_INPUT_MODE_TRUE@am__append_3 = \
110 @ENABLE_CLOUD_INPUT_MODE_TRUE@ PYPCloudCandidates.cc \
111 @ENABLE_CLOUD_INPUT_MODE_TRUE@ $(NULL)
112
113 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@am__append_4 = \
114 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ PYTableDatabase.cc \
115 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ PYTableEditor.cc \
116 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ $(NULL)
117
118 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@am__append_5 = \
119 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ PYEnglishDatabase.cc \
120 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ PYEnglishEditor.cc \
121 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ PYPEnglishCandidates.cc \
122 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ $(NULL)
123
124 @HAVE_BOOST_TRUE@am__append_6 = \
125 @HAVE_BOOST_TRUE@ @BOOST_CPPFLAGS@ \
126 @HAVE_BOOST_TRUE@ $(NULL)
127
128 @HAVE_BOOST_FALSE@am__append_7 = \
129 @HAVE_BOOST_FALSE@ -std=c++0x \
130 @HAVE_BOOST_FALSE@ $(NULL)
131
132 @IBUS_BUILD_LUA_EXTENSION_TRUE@am__append_8 = \
133 @IBUS_BUILD_LUA_EXTENSION_TRUE@ @LUA_CFLAGS@ \
134 @IBUS_BUILD_LUA_EXTENSION_TRUE@ -DIBUS_BUILD_LUA_EXTENSION \
135 @IBUS_BUILD_LUA_EXTENSION_TRUE@ -I$(top_srcdir)/lua/ \
136 @IBUS_BUILD_LUA_EXTENSION_TRUE@ $(NULL)
137
138 @IBUS_BUILD_LUA_EXTENSION_TRUE@am__append_9 = \
139 @IBUS_BUILD_LUA_EXTENSION_TRUE@ @LUA_LIBS@ \
140 @IBUS_BUILD_LUA_EXTENSION_TRUE@ -L../lua/ \
141 @IBUS_BUILD_LUA_EXTENSION_TRUE@ -lpylua \
142 @IBUS_BUILD_LUA_EXTENSION_TRUE@ $(NULL)
143
144 @ENABLE_CLOUD_INPUT_MODE_TRUE@am__append_10 = \
145 @ENABLE_CLOUD_INPUT_MODE_TRUE@ @LIBSOUP_CFLAGS@ \
146 @ENABLE_CLOUD_INPUT_MODE_TRUE@ @JSONGLIB_CFLAGS@ \
147 @ENABLE_CLOUD_INPUT_MODE_TRUE@ -DENABLE_CLOUD_INPUT_MODE \
148 @ENABLE_CLOUD_INPUT_MODE_TRUE@ $(NULL)
149
150 @ENABLE_CLOUD_INPUT_MODE_TRUE@am__append_11 = \
151 @ENABLE_CLOUD_INPUT_MODE_TRUE@ @LIBSOUP_LIBS@ \
152 @ENABLE_CLOUD_INPUT_MODE_TRUE@ @JSONGLIB_LIBS@ \
153 @ENABLE_CLOUD_INPUT_MODE_TRUE@ $(NULL)
154
155 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@am__append_12 = \
156 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ -DIBUS_BUILD_ENGLISH_INPUT_MODE \
157 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ $(NULL)
158
159 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@am__append_13 = \
160 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ -DIBUS_BUILD_TABLE_INPUT_MODE \
161 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ $(NULL)
162
163 subdir = src
164 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
165 am__aclocal_m4_deps = $(top_srcdir)/m4/as-version.m4 \
166 $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/gettext.m4 \
167 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
168 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
169 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
170 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
171 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
172 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
173 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
174 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
175 $(ACLOCAL_M4)
176 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
177 mkinstalldirs = $(install_sh) -d
178 CONFIG_HEADER = $(top_builddir)/config.h
179 CONFIG_CLEAN_FILES = libpinyin.xml.in
180 CONFIG_CLEAN_VPATH_FILES =
181 am__installdirs = "$(DESTDIR)$(libexecdir)" \
182 "$(DESTDIR)$(componentdir)"
183 PROGRAMS = $(libexec_PROGRAMS)
184 am__ibus_engine_libpinyin_SOURCES_DIST = PYConfig.cc PYEditor.cc \
185 PYEngine.cc PYFallbackEditor.cc PYHalfFullConverter.cc \
186 PYMain.cc PYPinyinProperties.cc PYPunctEditor.cc \
187 PYSimpTradConverter.cc PYPConfig.cc PYLibPinyin.cc \
188 PYPPhoneticEditor.cc PYPPinyinEditor.cc PYPFullPinyinEditor.cc \
189 PYPDoublePinyinEditor.cc PYPBopomofoEditor.cc \
190 PYPPinyinEngine.cc PYPBopomofoEngine.cc \
191 PYPLibPinyinCandidates.cc PYPTradCandidates.cc \
192 PYPSuggestionEditor.cc PYPSuggestionCandidates.cc \
193 PYPEmojiCandidates.cc PYExtEditor.cc \
194 PYPLuaTriggerCandidates.cc PYPLuaConverterCandidates.cc \
195 PYPCloudCandidates.cc PYTableDatabase.cc PYTableEditor.cc \
196 PYEnglishDatabase.cc PYEnglishEditor.cc \
197 PYPEnglishCandidates.cc PYBus.h PYConfig.h PYEditor.h \
198 PYEngine.h PYExtEditor.h PYFallbackEditor.h \
199 PYHalfFullConverter.h PYLookupTable.h PYObject.h \
200 PYPinyinProperties.h PYPointer.h PYProperty.h PYPunctEditor.h \
201 PYRawEditor.h PYSignal.h PYSimpTradConverter.h PYString.h \
202 PYText.h PYTypes.h PYUtil.h PYTableDatabase.h PYTableEditor.h \
203 PYEnglishDatabase.h PYEnglishEditor.h PYPEnglishCandidates.h \
204 PYLibPinyin.h PYPPhoneticEditor.h PYPPinyinEditor.h \
205 PYPFullPinyinEditor.h PYPDoublePinyinEditor.h \
206 PYPBopomofoEditor.h PYPPinyinEngine.h PYPBopomofoEngine.h \
207 PYPConfig.h PYPEnhancedCandidates.h PYPLibPinyinCandidates.h \
208 PYPTradCandidates.h PYPLuaTriggerCandidates.h \
209 PYPLuaConverterCandidates.h PYPSuggestionEditor.h \
210 PYPSuggestionCandidates.h PYPEmojiTable.h PYPEmojiCandidates.h \
211 PYPCloudCandidates.h PYPunctTable.h PYSimpTradConverterTable.h
212 @IBUS_BUILD_LUA_EXTENSION_TRUE@am__objects_1 = ibus_engine_libpinyin-PYExtEditor.$(OBJEXT) \
213 @IBUS_BUILD_LUA_EXTENSION_TRUE@ ibus_engine_libpinyin-PYPLuaTriggerCandidates.$(OBJEXT) \
214 @IBUS_BUILD_LUA_EXTENSION_TRUE@ ibus_engine_libpinyin-PYPLuaConverterCandidates.$(OBJEXT)
215 @ENABLE_CLOUD_INPUT_MODE_TRUE@am__objects_2 = ibus_engine_libpinyin-PYPCloudCandidates.$(OBJEXT)
216 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@am__objects_3 = ibus_engine_libpinyin-PYTableDatabase.$(OBJEXT) \
217 @IBUS_BUILD_TABLE_INPUT_MODE_TRUE@ ibus_engine_libpinyin-PYTableEditor.$(OBJEXT)
218 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@am__objects_4 = ibus_engine_libpinyin-PYEnglishDatabase.$(OBJEXT) \
219 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ ibus_engine_libpinyin-PYEnglishEditor.$(OBJEXT) \
220 @IBUS_BUILD_ENGLISH_INPUT_MODE_TRUE@ ibus_engine_libpinyin-PYPEnglishCandidates.$(OBJEXT)
221 am__objects_5 = ibus_engine_libpinyin-PYConfig.$(OBJEXT) \
222 ibus_engine_libpinyin-PYEditor.$(OBJEXT) \
223 ibus_engine_libpinyin-PYEngine.$(OBJEXT) \
224 ibus_engine_libpinyin-PYFallbackEditor.$(OBJEXT) \
225 ibus_engine_libpinyin-PYHalfFullConverter.$(OBJEXT) \
226 ibus_engine_libpinyin-PYMain.$(OBJEXT) \
227 ibus_engine_libpinyin-PYPinyinProperties.$(OBJEXT) \
228 ibus_engine_libpinyin-PYPunctEditor.$(OBJEXT) \
229 ibus_engine_libpinyin-PYSimpTradConverter.$(OBJEXT) \
230 ibus_engine_libpinyin-PYPConfig.$(OBJEXT) \
231 ibus_engine_libpinyin-PYLibPinyin.$(OBJEXT) \
232 ibus_engine_libpinyin-PYPPhoneticEditor.$(OBJEXT) \
233 ibus_engine_libpinyin-PYPPinyinEditor.$(OBJEXT) \
234 ibus_engine_libpinyin-PYPFullPinyinEditor.$(OBJEXT) \
235 ibus_engine_libpinyin-PYPDoublePinyinEditor.$(OBJEXT) \
236 ibus_engine_libpinyin-PYPBopomofoEditor.$(OBJEXT) \
237 ibus_engine_libpinyin-PYPPinyinEngine.$(OBJEXT) \
238 ibus_engine_libpinyin-PYPBopomofoEngine.$(OBJEXT) \
239 ibus_engine_libpinyin-PYPLibPinyinCandidates.$(OBJEXT) \
240 ibus_engine_libpinyin-PYPTradCandidates.$(OBJEXT) \
241 ibus_engine_libpinyin-PYPSuggestionEditor.$(OBJEXT) \
242 ibus_engine_libpinyin-PYPSuggestionCandidates.$(OBJEXT) \
243 ibus_engine_libpinyin-PYPEmojiCandidates.$(OBJEXT) \
244 $(am__objects_1) $(am__objects_2) $(am__objects_3) \
245 $(am__objects_4)
246 am__objects_6 =
247 am__objects_7 = $(am__objects_6)
248 am_ibus_engine_libpinyin_OBJECTS = $(am__objects_5) $(am__objects_7) \
249 $(am__objects_6) $(am__objects_6)
250 ibus_engine_libpinyin_OBJECTS = $(am_ibus_engine_libpinyin_OBJECTS)
251 am__DEPENDENCIES_1 =
252 ibus_engine_libpinyin_DEPENDENCIES = $(am__DEPENDENCIES_1) \
253 $(am__DEPENDENCIES_1)
254 AM_V_lt = $(am__v_lt_@AM_V@)
255 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
256 am__v_lt_0 = --silent
257 am__v_lt_1 =
258 ibus_engine_libpinyin_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
259 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
260 $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
261 $(LDFLAGS) -o $@
262 AM_V_P = $(am__v_P_@AM_V@)
263 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
264 am__v_P_0 = false
265 am__v_P_1 = :
266 AM_V_GEN = $(am__v_GEN_@AM_V@)
267 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
268 am__v_GEN_0 = @echo " GEN " $@;
269 am__v_GEN_1 =
270 AM_V_at = $(am__v_at_@AM_V@)
271 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
272 am__v_at_0 = @
273 am__v_at_1 =
274 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
275 depcomp = $(SHELL) $(top_srcdir)/depcomp
276 am__maybe_remake_depfiles = depfiles
277 am__depfiles_remade = ./$(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po \
278 ./$(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po \
279 ./$(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po \
280 ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po \
281 ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po \
282 ./$(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po \
283 ./$(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po \
284 ./$(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po \
285 ./$(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po \
286 ./$(DEPDIR)/ibus_engine_libpinyin-PYMain.Po \
287 ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po \
288 ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po \
289 ./$(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po \
290 ./$(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po \
291 ./$(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po \
292 ./$(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po \
293 ./$(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po \
294 ./$(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po \
295 ./$(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po \
296 ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po \
297 ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po \
298 ./$(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po \
299 ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po \
300 ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po \
301 ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po \
302 ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po \
303 ./$(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po \
304 ./$(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po \
305 ./$(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po \
306 ./$(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po \
307 ./$(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po \
308 ./$(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po
309 am__mv = mv -f
310 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
311 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
312 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
313 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
314 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
315 $(AM_CXXFLAGS) $(CXXFLAGS)
316 AM_V_CXX = $(am__v_CXX_@AM_V@)
317 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
318 am__v_CXX_0 = @echo " CXX " $@;
319 am__v_CXX_1 =
320 CXXLD = $(CXX)
321 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
322 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
323 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
324 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
325 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
326 am__v_CXXLD_0 = @echo " CXXLD " $@;
327 am__v_CXXLD_1 =
328 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
329 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
330 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
331 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
332 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
333 $(AM_CFLAGS) $(CFLAGS)
334 AM_V_CC = $(am__v_CC_@AM_V@)
335 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
336 am__v_CC_0 = @echo " CC " $@;
337 am__v_CC_1 =
338 CCLD = $(CC)
339 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
340 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
341 $(AM_LDFLAGS) $(LDFLAGS) -o $@
342 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
343 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
344 am__v_CCLD_0 = @echo " CCLD " $@;
345 am__v_CCLD_1 =
346 SOURCES = $(ibus_engine_libpinyin_SOURCES)
347 DIST_SOURCES = $(am__ibus_engine_libpinyin_SOURCES_DIST)
348 am__can_run_installinfo = \
349 case $$AM_UPDATE_INFO_DIR in \
350 n|no|NO) false;; \
351 *) (install-info --version) >/dev/null 2>&1;; \
352 esac
353 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
354 am__vpath_adj = case $$p in \
355 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
356 *) f=$$p;; \
357 esac;
358 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
359 am__install_max = 40
360 am__nobase_strip_setup = \
361 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
362 am__nobase_strip = \
363 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
364 am__nobase_list = $(am__nobase_strip_setup); \
365 for p in $$list; do echo "$$p $$p"; done | \
366 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
367 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
368 if (++n[$$2] == $(am__install_max)) \
369 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
370 END { for (dir in files) print dir, files[dir] }'
371 am__base_list = \
372 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
373 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
374 am__uninstall_files_from_dir = { \
375 test -z "$$files" \
376 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
377 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
378 $(am__cd) "$$dir" && rm -f $$files; }; \
379 }
380 DATA = $(component_DATA)
381 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
382 # Read a list of newline-separated strings from the standard input,
383 # and print each of them once, without duplicates. Input order is
384 # *not* preserved.
385 am__uniquify_input = $(AWK) '\
386 BEGIN { nonempty = 0; } \
387 { items[$$0] = 1; nonempty = 1; } \
388 END { if (nonempty) { for (i in items) print i; }; } \
389 '
390 # Make sure the list of sources is unique. This is necessary because,
391 # e.g., the same source file might be shared among _SOURCES variables
392 # for different programs/libraries.
393 am__define_uniq_tagged_files = \
394 list='$(am__tagged_files)'; \
395 unique=`for i in $$list; do \
396 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
397 done | $(am__uniquify_input)`
398 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libpinyin.xml.in.in \
399 $(top_srcdir)/depcomp
400 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
401 ACLOCAL = @ACLOCAL@
402 AMTAR = @AMTAR@
403 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
404 AR = @AR@
405 AUTOCONF = @AUTOCONF@
406 AUTOHEADER = @AUTOHEADER@
407 AUTOMAKE = @AUTOMAKE@
408 AWK = @AWK@
409 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
410 BOOST_ROOT = @BOOST_ROOT@
411 CC = @CC@
412 CCDEPMODE = @CCDEPMODE@
413 CFLAGS = @CFLAGS@
414 CLOUD_INPUT_MODE = @CLOUD_INPUT_MODE@
415 CPP = @CPP@
416 CPPFLAGS = @CPPFLAGS@
417 CSCOPE = @CSCOPE@
418 CTAGS = @CTAGS@
419 CXX = @CXX@
420 CXXCPP = @CXXCPP@
421 CXXDEPMODE = @CXXDEPMODE@
422 CXXFLAGS = @CXXFLAGS@
423 CYGPATH_W = @CYGPATH_W@
424 DEFS = @DEFS@
425 DEPDIR = @DEPDIR@
426 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
427 DLLTOOL = @DLLTOOL@
428 DSYMUTIL = @DSYMUTIL@
429 DUMPBIN = @DUMPBIN@
430 ECHO_C = @ECHO_C@
431 ECHO_N = @ECHO_N@
432 ECHO_T = @ECHO_T@
433 EGREP = @EGREP@
434 ENV = @ENV@
435 ETAGS = @ETAGS@
436 EXEEXT = @EXEEXT@
437 FGREP = @FGREP@
438 FILECMD = @FILECMD@
439 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
440 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
441 GIO2_CFLAGS = @GIO2_CFLAGS@
442 GIO2_LIBS = @GIO2_LIBS@
443 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
444 GMSGFMT = @GMSGFMT@
445 GMSGFMT_015 = @GMSGFMT_015@
446 GREP = @GREP@
447 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
448 IBUS_CFLAGS = @IBUS_CFLAGS@
449 IBUS_LIBS = @IBUS_LIBS@
450 ICON_PROP_KEY_XML = @ICON_PROP_KEY_XML@
451 INSTALL = @INSTALL@
452 INSTALL_DATA = @INSTALL_DATA@
453 INSTALL_PROGRAM = @INSTALL_PROGRAM@
454 INSTALL_SCRIPT = @INSTALL_SCRIPT@
455 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
456 INTLLIBS = @INTLLIBS@
457 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
458 JSONGLIB_CFLAGS = @JSONGLIB_CFLAGS@
459 JSONGLIB_LIBS = @JSONGLIB_LIBS@
460 LD = @LD@
461 LDFLAGS = @LDFLAGS@
462 LIBICONV = @LIBICONV@
463 LIBINTL = @LIBINTL@
464 LIBOBJS = @LIBOBJS@
465 LIBPINYIN_CFLAGS = @LIBPINYIN_CFLAGS@
466 LIBPINYIN_DATADIR = @LIBPINYIN_DATADIR@
467 LIBPINYIN_LIBS = @LIBPINYIN_LIBS@
468 LIBS = @LIBS@
469 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
470 LIBSOUP_LIBS = @LIBSOUP_LIBS@
471 LIBTOOL = @LIBTOOL@
472 LIPO = @LIPO@
473 LN_S = @LN_S@
474 LTLIBICONV = @LTLIBICONV@
475 LTLIBINTL = @LTLIBINTL@
476 LTLIBOBJS = @LTLIBOBJS@
477 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
478 LUA_CFLAGS = @LUA_CFLAGS@
479 LUA_LIBS = @LUA_LIBS@
480 MAINT = @MAINT@
481 MAKEINFO = @MAKEINFO@
482 MANIFEST_TOOL = @MANIFEST_TOOL@
483 MKDIR_P = @MKDIR_P@
484 MSGFMT = @MSGFMT@
485 MSGFMT_015 = @MSGFMT_015@
486 MSGMERGE = @MSGMERGE@
487 NM = @NM@
488 NMEDIT = @NMEDIT@
489 OBJDUMP = @OBJDUMP@
490 OBJEXT = @OBJEXT@
491 OPENCC_CFLAGS = @OPENCC_CFLAGS@
492 OPENCC_LIBS = @OPENCC_LIBS@
493 OTOOL = @OTOOL@
494 OTOOL64 = @OTOOL64@
495 PACKAGE = @PACKAGE@
496 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
497 PACKAGE_NAME = @PACKAGE_NAME@
498 PACKAGE_STRING = @PACKAGE_STRING@
499 PACKAGE_TARNAME = @PACKAGE_TARNAME@
500 PACKAGE_URL = @PACKAGE_URL@
501 PACKAGE_VERSION = @PACKAGE_VERSION@
502 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
503 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
504 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
505 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
506 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
507 PATH_SEPARATOR = @PATH_SEPARATOR@
508 PKG_CONFIG = @PKG_CONFIG@
509 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
510 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
511 POSUB = @POSUB@
512 PYTHON = @PYTHON@
513 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
514 PYTHON_PLATFORM = @PYTHON_PLATFORM@
515 PYTHON_PREFIX = @PYTHON_PREFIX@
516 PYTHON_VERSION = @PYTHON_VERSION@
517 RANLIB = @RANLIB@
518 SED = @SED@
519 SET_MAKE = @SET_MAKE@
520 SHELL = @SHELL@
521 SQLITE3 = @SQLITE3@
522 SQLITE_CFLAGS = @SQLITE_CFLAGS@
523 SQLITE_LIBS = @SQLITE_LIBS@
524 STRIP = @STRIP@
525 USE_NLS = @USE_NLS@
526 VERSION = @VERSION@
527 XGETTEXT = @XGETTEXT@
528 XGETTEXT_015 = @XGETTEXT_015@
529 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
530 abs_builddir = @abs_builddir@
531 abs_srcdir = @abs_srcdir@
532 abs_top_builddir = @abs_top_builddir@
533 abs_top_srcdir = @abs_top_srcdir@
534 ac_ct_AR = @ac_ct_AR@
535 ac_ct_CC = @ac_ct_CC@
536 ac_ct_CXX = @ac_ct_CXX@
537 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
538 am__include = @am__include@
539 am__leading_dot = @am__leading_dot@
540 am__quote = @am__quote@
541 am__tar = @am__tar@
542 am__untar = @am__untar@
543 bindir = @bindir@
544 build = @build@
545 build_alias = @build_alias@
546 build_cpu = @build_cpu@
547 build_os = @build_os@
548 build_vendor = @build_vendor@
549 builddir = @builddir@
550 datadir = @datadir@
551 datarootdir = @datarootdir@
552 docdir = @docdir@
553 dvidir = @dvidir@
554 exec_prefix = @exec_prefix@
555 gsettingsschemadir = @gsettingsschemadir@
556 host = @host@
557 host_alias = @host_alias@
558 host_cpu = @host_cpu@
559 host_os = @host_os@
560 host_vendor = @host_vendor@
561 htmldir = @htmldir@
562 includedir = @includedir@
563 infodir = @infodir@
564 install_sh = @install_sh@
565 libdir = @libdir@
566 libexecdir = @libexecdir@
567 localedir = @localedir@
568 localstatedir = @localstatedir@
569 mandir = @mandir@
570 mkdir_p = @mkdir_p@
571 oldincludedir = @oldincludedir@
572 pdfdir = @pdfdir@
573 pkgpyexecdir = @pkgpyexecdir@
574 pkgpythondir = @pkgpythondir@
575 prefix = @prefix@
576 program_transform_name = @program_transform_name@
577 psdir = @psdir@
578 pyexecdir = @pyexecdir@
579 pythondir = @pythondir@
580 runstatedir = @runstatedir@
581 sbindir = @sbindir@
582 sharedstatedir = @sharedstatedir@
583 srcdir = @srcdir@
584 sysconfdir = @sysconfdir@
585 target_alias = @target_alias@
586 top_build_prefix = @top_build_prefix@
587 top_builddir = @top_builddir@
588 top_srcdir = @top_srcdir@
589 ibus_engine_libpinyin_built_c_sources = \
590 $(NULL)
591
592 ibus_engine_libpinyin_built_h_sources = \
593 PYPunctTable.h \
594 PYSimpTradConverterTable.h \
595 $(NULL)
596
597 ibus_engine_libpinyin_c_sources = PYConfig.cc PYEditor.cc PYEngine.cc \
598 PYFallbackEditor.cc PYHalfFullConverter.cc PYMain.cc \
599 PYPinyinProperties.cc PYPunctEditor.cc PYSimpTradConverter.cc \
600 $(NULL) PYPConfig.cc PYLibPinyin.cc PYPPhoneticEditor.cc \
601 PYPPinyinEditor.cc PYPFullPinyinEditor.cc \
602 PYPDoublePinyinEditor.cc PYPBopomofoEditor.cc \
603 PYPPinyinEngine.cc PYPBopomofoEngine.cc \
604 PYPLibPinyinCandidates.cc PYPTradCandidates.cc \
605 PYPSuggestionEditor.cc PYPSuggestionCandidates.cc \
606 PYPEmojiCandidates.cc $(NULL) $(am__append_1) $(am__append_3) \
607 $(am__append_4) $(am__append_5)
608 ibus_engine_libpinyin_h_sources = PYBus.h PYConfig.h PYEditor.h \
609 PYEngine.h PYExtEditor.h PYFallbackEditor.h \
610 PYHalfFullConverter.h PYLookupTable.h PYObject.h \
611 PYPinyinProperties.h PYPointer.h PYProperty.h PYPunctEditor.h \
612 PYRawEditor.h PYSignal.h PYSimpTradConverter.h PYString.h \
613 PYText.h PYTypes.h PYUtil.h PYTableDatabase.h PYTableEditor.h \
614 PYEnglishDatabase.h PYEnglishEditor.h PYPEnglishCandidates.h \
615 PYLibPinyin.h PYPPhoneticEditor.h PYPPinyinEditor.h \
616 PYPFullPinyinEditor.h PYPDoublePinyinEditor.h \
617 PYPBopomofoEditor.h PYPPinyinEngine.h PYPBopomofoEngine.h \
618 PYPConfig.h PYPEnhancedCandidates.h PYPLibPinyinCandidates.h \
619 PYPTradCandidates.h PYPLuaTriggerCandidates.h \
620 PYPLuaConverterCandidates.h PYPSuggestionEditor.h \
621 PYPSuggestionCandidates.h PYPEmojiTable.h PYPEmojiCandidates.h \
622 $(NULL) $(am__append_2)
623 ibus_engine_libpinyin_SOURCES = \
624 $(ibus_engine_libpinyin_c_sources) \
625 $(ibus_engine_libpinyin_h_sources) \
626 $(ibus_engine_libpinyin_built_c_sources) \
627 $(ibus_engine_libpinyin_built_h_sources) \
628 $(NULL)
629
630 ibus_engine_libpinyin_CXXFLAGS = @IBUS_CFLAGS@ @SQLITE_CFLAGS@ \
631 @LIBPINYIN_CFLAGS@ @OPENCC_CFLAGS@ \
632 -DGETTEXT_PACKAGE=\"@GETTEXT_PACKAGE@\" \
633 -DLOCALEDIR=\"$(localedir)\" -DPKGDATADIR=\"$(pkgdatadir)\" \
634 -DLIBEXECDIR=\"$(libexecdir)\" $(NULL) $(am__append_6) \
635 $(am__append_7) \
636 -DLIBPINYIN_DATADIR=\"@LIBPINYIN_DATADIR@\/data\" $(NULL) \
637 $(am__append_8) $(am__append_10) $(am__append_12) \
638 $(am__append_13)
639 ibus_engine_libpinyin_LDADD = @IBUS_LIBS@ @SQLITE_LIBS@ \
640 @LIBPINYIN_LIBS@ @OPENCC_LIBS@ $(NULL) $(am__append_9) \
641 $(am__append_11)
642 BUILT_SOURCES = \
643 $(ibus_engine_built_c_sources) \
644 $(ibus_engine_built_h_sources) \
645 $(NULL)
646
647 component_DATA = \
648 libpinyin.xml \
649 $(NULL)
650
651 componentdir = @datadir@/ibus/component
652 EXTRA_DIST = \
653 libpinyin.xml.in \
654 $(NULL)
655
656 CLEANFILES = \
657 libpinyin.xml \
658 $(NULL)
659
660 all: $(BUILT_SOURCES)
661 $(MAKE) $(AM_MAKEFLAGS) all-am
662
663 .SUFFIXES:
664 .SUFFIXES: .cc .lo .o .obj
665 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
666 @for dep in $?; do \
667 case '$(am__configure_deps)' in \
668 *$$dep*) \
669 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
670 && { if test -f $@; then exit 0; else break; fi; }; \
671 exit 1;; \
672 esac; \
673 done; \
674 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
675 $(am__cd) $(top_srcdir) && \
676 $(AUTOMAKE) --gnu src/Makefile
677 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
678 @case '$?' in \
679 *config.status*) \
680 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
681 *) \
682 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
683 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
684 esac;
685
686 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
687 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
688
689 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
690 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
691 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
692 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
693 $(am__aclocal_m4_deps):
694 libpinyin.xml.in: $(top_builddir)/config.status $(srcdir)/libpinyin.xml.in.in
695 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
696 install-libexecPROGRAMS: $(libexec_PROGRAMS)
697 @$(NORMAL_INSTALL)
698 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
699 if test -n "$$list"; then \
700 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
701 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
702 fi; \
703 for p in $$list; do echo "$$p $$p"; done | \
704 sed 's/$(EXEEXT)$$//' | \
705 while read p p1; do if test -f $$p \
706 || test -f $$p1 \
707 ; then echo "$$p"; echo "$$p"; else :; fi; \
708 done | \
709 sed -e 'p;s,.*/,,;n;h' \
710 -e 's|.*|.|' \
711 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
712 sed 'N;N;N;s,\n, ,g' | \
713 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
714 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
715 if ($$2 == $$4) files[d] = files[d] " " $$1; \
716 else { print "f", $$3 "/" $$4, $$1; } } \
717 END { for (d in files) print "f", d, files[d] }' | \
718 while read type dir files; do \
719 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
720 test -z "$$files" || { \
721 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
722 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
723 } \
724 ; done
725
726 uninstall-libexecPROGRAMS:
727 @$(NORMAL_UNINSTALL)
728 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
729 files=`for p in $$list; do echo "$$p"; done | \
730 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
731 -e 's/$$/$(EXEEXT)/' \
732 `; \
733 test -n "$$list" || exit 0; \
734 echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
735 cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
736
737 clean-libexecPROGRAMS:
738 @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
739 echo " rm -f" $$list; \
740 rm -f $$list || exit $$?; \
741 test -n "$(EXEEXT)" || exit 0; \
742 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
743 echo " rm -f" $$list; \
744 rm -f $$list
745
746 ibus-engine-libpinyin$(EXEEXT): $(ibus_engine_libpinyin_OBJECTS) $(ibus_engine_libpinyin_DEPENDENCIES) $(EXTRA_ibus_engine_libpinyin_DEPENDENCIES)
747 @rm -f ibus-engine-libpinyin$(EXEEXT)
748 $(AM_V_CXXLD)$(ibus_engine_libpinyin_LINK) $(ibus_engine_libpinyin_OBJECTS) $(ibus_engine_libpinyin_LDADD) $(LIBS)
749
750 mostlyclean-compile:
751 -rm -f *.$(OBJEXT)
752
753 distclean-compile:
754 -rm -f *.tab.c
755
756 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po@am__quote@ # am--include-marker
757 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po@am__quote@ # am--include-marker
758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po@am__quote@ # am--include-marker
759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po@am__quote@ # am--include-marker
760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po@am__quote@ # am--include-marker
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po@am__quote@ # am--include-marker
762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po@am__quote@ # am--include-marker
763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po@am__quote@ # am--include-marker
764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po@am__quote@ # am--include-marker
765 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYMain.Po@am__quote@ # am--include-marker
766 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po@am__quote@ # am--include-marker
767 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po@am__quote@ # am--include-marker
768 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po@am__quote@ # am--include-marker
769 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po@am__quote@ # am--include-marker
770 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po@am__quote@ # am--include-marker
771 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po@am__quote@ # am--include-marker
772 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po@am__quote@ # am--include-marker
773 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po@am__quote@ # am--include-marker
774 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po@am__quote@ # am--include-marker
775 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po@am__quote@ # am--include-marker
776 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po@am__quote@ # am--include-marker
777 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po@am__quote@ # am--include-marker
778 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po@am__quote@ # am--include-marker
779 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po@am__quote@ # am--include-marker
780 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po@am__quote@ # am--include-marker
781 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po@am__quote@ # am--include-marker
782 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po@am__quote@ # am--include-marker
783 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po@am__quote@ # am--include-marker
784 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po@am__quote@ # am--include-marker
785 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po@am__quote@ # am--include-marker
786 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po@am__quote@ # am--include-marker
787 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po@am__quote@ # am--include-marker
788
789 $(am__depfiles_remade):
790 @$(MKDIR_P) $(@D)
791 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
792
793 am--depfiles: $(am__depfiles_remade)
794
795 .cc.o:
796 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
797 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
798 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
799 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
800 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
801
802 .cc.obj:
803 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
804 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
805 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
806 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
807 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
808
809 .cc.lo:
810 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
811 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
812 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
813 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
814 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
815
816 ibus_engine_libpinyin-PYConfig.o: PYConfig.cc
817 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYConfig.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Tpo -c -o ibus_engine_libpinyin-PYConfig.o `test -f 'PYConfig.cc' || echo '$(srcdir)/'`PYConfig.cc
818 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po
819 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYConfig.cc' object='ibus_engine_libpinyin-PYConfig.o' libtool=no @AMDEPBACKSLASH@
820 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
821 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYConfig.o `test -f 'PYConfig.cc' || echo '$(srcdir)/'`PYConfig.cc
822
823 ibus_engine_libpinyin-PYConfig.obj: PYConfig.cc
824 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYConfig.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Tpo -c -o ibus_engine_libpinyin-PYConfig.obj `if test -f 'PYConfig.cc'; then $(CYGPATH_W) 'PYConfig.cc'; else $(CYGPATH_W) '$(srcdir)/PYConfig.cc'; fi`
825 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po
826 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYConfig.cc' object='ibus_engine_libpinyin-PYConfig.obj' libtool=no @AMDEPBACKSLASH@
827 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
828 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYConfig.obj `if test -f 'PYConfig.cc'; then $(CYGPATH_W) 'PYConfig.cc'; else $(CYGPATH_W) '$(srcdir)/PYConfig.cc'; fi`
829
830 ibus_engine_libpinyin-PYEditor.o: PYEditor.cc
831 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Tpo -c -o ibus_engine_libpinyin-PYEditor.o `test -f 'PYEditor.cc' || echo '$(srcdir)/'`PYEditor.cc
832 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po
833 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEditor.cc' object='ibus_engine_libpinyin-PYEditor.o' libtool=no @AMDEPBACKSLASH@
834 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
835 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEditor.o `test -f 'PYEditor.cc' || echo '$(srcdir)/'`PYEditor.cc
836
837 ibus_engine_libpinyin-PYEditor.obj: PYEditor.cc
838 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Tpo -c -o ibus_engine_libpinyin-PYEditor.obj `if test -f 'PYEditor.cc'; then $(CYGPATH_W) 'PYEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYEditor.cc'; fi`
839 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po
840 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEditor.cc' object='ibus_engine_libpinyin-PYEditor.obj' libtool=no @AMDEPBACKSLASH@
841 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
842 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEditor.obj `if test -f 'PYEditor.cc'; then $(CYGPATH_W) 'PYEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYEditor.cc'; fi`
843
844 ibus_engine_libpinyin-PYEngine.o: PYEngine.cc
845 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEngine.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Tpo -c -o ibus_engine_libpinyin-PYEngine.o `test -f 'PYEngine.cc' || echo '$(srcdir)/'`PYEngine.cc
846 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po
847 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEngine.cc' object='ibus_engine_libpinyin-PYEngine.o' libtool=no @AMDEPBACKSLASH@
848 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
849 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEngine.o `test -f 'PYEngine.cc' || echo '$(srcdir)/'`PYEngine.cc
850
851 ibus_engine_libpinyin-PYEngine.obj: PYEngine.cc
852 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEngine.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Tpo -c -o ibus_engine_libpinyin-PYEngine.obj `if test -f 'PYEngine.cc'; then $(CYGPATH_W) 'PYEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYEngine.cc'; fi`
853 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po
854 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEngine.cc' object='ibus_engine_libpinyin-PYEngine.obj' libtool=no @AMDEPBACKSLASH@
855 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
856 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEngine.obj `if test -f 'PYEngine.cc'; then $(CYGPATH_W) 'PYEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYEngine.cc'; fi`
857
858 ibus_engine_libpinyin-PYFallbackEditor.o: PYFallbackEditor.cc
859 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYFallbackEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Tpo -c -o ibus_engine_libpinyin-PYFallbackEditor.o `test -f 'PYFallbackEditor.cc' || echo '$(srcdir)/'`PYFallbackEditor.cc
860 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po
861 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYFallbackEditor.cc' object='ibus_engine_libpinyin-PYFallbackEditor.o' libtool=no @AMDEPBACKSLASH@
862 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
863 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYFallbackEditor.o `test -f 'PYFallbackEditor.cc' || echo '$(srcdir)/'`PYFallbackEditor.cc
864
865 ibus_engine_libpinyin-PYFallbackEditor.obj: PYFallbackEditor.cc
866 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYFallbackEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Tpo -c -o ibus_engine_libpinyin-PYFallbackEditor.obj `if test -f 'PYFallbackEditor.cc'; then $(CYGPATH_W) 'PYFallbackEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYFallbackEditor.cc'; fi`
867 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po
868 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYFallbackEditor.cc' object='ibus_engine_libpinyin-PYFallbackEditor.obj' libtool=no @AMDEPBACKSLASH@
869 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
870 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYFallbackEditor.obj `if test -f 'PYFallbackEditor.cc'; then $(CYGPATH_W) 'PYFallbackEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYFallbackEditor.cc'; fi`
871
872 ibus_engine_libpinyin-PYHalfFullConverter.o: PYHalfFullConverter.cc
873 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYHalfFullConverter.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Tpo -c -o ibus_engine_libpinyin-PYHalfFullConverter.o `test -f 'PYHalfFullConverter.cc' || echo '$(srcdir)/'`PYHalfFullConverter.cc
874 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po
875 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYHalfFullConverter.cc' object='ibus_engine_libpinyin-PYHalfFullConverter.o' libtool=no @AMDEPBACKSLASH@
876 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
877 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYHalfFullConverter.o `test -f 'PYHalfFullConverter.cc' || echo '$(srcdir)/'`PYHalfFullConverter.cc
878
879 ibus_engine_libpinyin-PYHalfFullConverter.obj: PYHalfFullConverter.cc
880 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYHalfFullConverter.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Tpo -c -o ibus_engine_libpinyin-PYHalfFullConverter.obj `if test -f 'PYHalfFullConverter.cc'; then $(CYGPATH_W) 'PYHalfFullConverter.cc'; else $(CYGPATH_W) '$(srcdir)/PYHalfFullConverter.cc'; fi`
881 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po
882 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYHalfFullConverter.cc' object='ibus_engine_libpinyin-PYHalfFullConverter.obj' libtool=no @AMDEPBACKSLASH@
883 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
884 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYHalfFullConverter.obj `if test -f 'PYHalfFullConverter.cc'; then $(CYGPATH_W) 'PYHalfFullConverter.cc'; else $(CYGPATH_W) '$(srcdir)/PYHalfFullConverter.cc'; fi`
885
886 ibus_engine_libpinyin-PYMain.o: PYMain.cc
887 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYMain.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYMain.Tpo -c -o ibus_engine_libpinyin-PYMain.o `test -f 'PYMain.cc' || echo '$(srcdir)/'`PYMain.cc
888 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYMain.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYMain.Po
889 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYMain.cc' object='ibus_engine_libpinyin-PYMain.o' libtool=no @AMDEPBACKSLASH@
890 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
891 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYMain.o `test -f 'PYMain.cc' || echo '$(srcdir)/'`PYMain.cc
892
893 ibus_engine_libpinyin-PYMain.obj: PYMain.cc
894 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYMain.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYMain.Tpo -c -o ibus_engine_libpinyin-PYMain.obj `if test -f 'PYMain.cc'; then $(CYGPATH_W) 'PYMain.cc'; else $(CYGPATH_W) '$(srcdir)/PYMain.cc'; fi`
895 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYMain.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYMain.Po
896 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYMain.cc' object='ibus_engine_libpinyin-PYMain.obj' libtool=no @AMDEPBACKSLASH@
897 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
898 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYMain.obj `if test -f 'PYMain.cc'; then $(CYGPATH_W) 'PYMain.cc'; else $(CYGPATH_W) '$(srcdir)/PYMain.cc'; fi`
899
900 ibus_engine_libpinyin-PYPinyinProperties.o: PYPinyinProperties.cc
901 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPinyinProperties.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Tpo -c -o ibus_engine_libpinyin-PYPinyinProperties.o `test -f 'PYPinyinProperties.cc' || echo '$(srcdir)/'`PYPinyinProperties.cc
902 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po
903 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPinyinProperties.cc' object='ibus_engine_libpinyin-PYPinyinProperties.o' libtool=no @AMDEPBACKSLASH@
904 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
905 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPinyinProperties.o `test -f 'PYPinyinProperties.cc' || echo '$(srcdir)/'`PYPinyinProperties.cc
906
907 ibus_engine_libpinyin-PYPinyinProperties.obj: PYPinyinProperties.cc
908 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPinyinProperties.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Tpo -c -o ibus_engine_libpinyin-PYPinyinProperties.obj `if test -f 'PYPinyinProperties.cc'; then $(CYGPATH_W) 'PYPinyinProperties.cc'; else $(CYGPATH_W) '$(srcdir)/PYPinyinProperties.cc'; fi`
909 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po
910 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPinyinProperties.cc' object='ibus_engine_libpinyin-PYPinyinProperties.obj' libtool=no @AMDEPBACKSLASH@
911 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
912 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPinyinProperties.obj `if test -f 'PYPinyinProperties.cc'; then $(CYGPATH_W) 'PYPinyinProperties.cc'; else $(CYGPATH_W) '$(srcdir)/PYPinyinProperties.cc'; fi`
913
914 ibus_engine_libpinyin-PYPunctEditor.o: PYPunctEditor.cc
915 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPunctEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Tpo -c -o ibus_engine_libpinyin-PYPunctEditor.o `test -f 'PYPunctEditor.cc' || echo '$(srcdir)/'`PYPunctEditor.cc
916 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po
917 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPunctEditor.cc' object='ibus_engine_libpinyin-PYPunctEditor.o' libtool=no @AMDEPBACKSLASH@
918 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
919 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPunctEditor.o `test -f 'PYPunctEditor.cc' || echo '$(srcdir)/'`PYPunctEditor.cc
920
921 ibus_engine_libpinyin-PYPunctEditor.obj: PYPunctEditor.cc
922 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPunctEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Tpo -c -o ibus_engine_libpinyin-PYPunctEditor.obj `if test -f 'PYPunctEditor.cc'; then $(CYGPATH_W) 'PYPunctEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPunctEditor.cc'; fi`
923 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po
924 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPunctEditor.cc' object='ibus_engine_libpinyin-PYPunctEditor.obj' libtool=no @AMDEPBACKSLASH@
925 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
926 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPunctEditor.obj `if test -f 'PYPunctEditor.cc'; then $(CYGPATH_W) 'PYPunctEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPunctEditor.cc'; fi`
927
928 ibus_engine_libpinyin-PYSimpTradConverter.o: PYSimpTradConverter.cc
929 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYSimpTradConverter.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Tpo -c -o ibus_engine_libpinyin-PYSimpTradConverter.o `test -f 'PYSimpTradConverter.cc' || echo '$(srcdir)/'`PYSimpTradConverter.cc
930 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po
931 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYSimpTradConverter.cc' object='ibus_engine_libpinyin-PYSimpTradConverter.o' libtool=no @AMDEPBACKSLASH@
932 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
933 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYSimpTradConverter.o `test -f 'PYSimpTradConverter.cc' || echo '$(srcdir)/'`PYSimpTradConverter.cc
934
935 ibus_engine_libpinyin-PYSimpTradConverter.obj: PYSimpTradConverter.cc
936 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYSimpTradConverter.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Tpo -c -o ibus_engine_libpinyin-PYSimpTradConverter.obj `if test -f 'PYSimpTradConverter.cc'; then $(CYGPATH_W) 'PYSimpTradConverter.cc'; else $(CYGPATH_W) '$(srcdir)/PYSimpTradConverter.cc'; fi`
937 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po
938 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYSimpTradConverter.cc' object='ibus_engine_libpinyin-PYSimpTradConverter.obj' libtool=no @AMDEPBACKSLASH@
939 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
940 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYSimpTradConverter.obj `if test -f 'PYSimpTradConverter.cc'; then $(CYGPATH_W) 'PYSimpTradConverter.cc'; else $(CYGPATH_W) '$(srcdir)/PYSimpTradConverter.cc'; fi`
941
942 ibus_engine_libpinyin-PYPConfig.o: PYPConfig.cc
943 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPConfig.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Tpo -c -o ibus_engine_libpinyin-PYPConfig.o `test -f 'PYPConfig.cc' || echo '$(srcdir)/'`PYPConfig.cc
944 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po
945 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPConfig.cc' object='ibus_engine_libpinyin-PYPConfig.o' libtool=no @AMDEPBACKSLASH@
946 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
947 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPConfig.o `test -f 'PYPConfig.cc' || echo '$(srcdir)/'`PYPConfig.cc
948
949 ibus_engine_libpinyin-PYPConfig.obj: PYPConfig.cc
950 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPConfig.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Tpo -c -o ibus_engine_libpinyin-PYPConfig.obj `if test -f 'PYPConfig.cc'; then $(CYGPATH_W) 'PYPConfig.cc'; else $(CYGPATH_W) '$(srcdir)/PYPConfig.cc'; fi`
951 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po
952 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPConfig.cc' object='ibus_engine_libpinyin-PYPConfig.obj' libtool=no @AMDEPBACKSLASH@
953 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
954 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPConfig.obj `if test -f 'PYPConfig.cc'; then $(CYGPATH_W) 'PYPConfig.cc'; else $(CYGPATH_W) '$(srcdir)/PYPConfig.cc'; fi`
955
956 ibus_engine_libpinyin-PYLibPinyin.o: PYLibPinyin.cc
957 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYLibPinyin.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Tpo -c -o ibus_engine_libpinyin-PYLibPinyin.o `test -f 'PYLibPinyin.cc' || echo '$(srcdir)/'`PYLibPinyin.cc
958 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po
959 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYLibPinyin.cc' object='ibus_engine_libpinyin-PYLibPinyin.o' libtool=no @AMDEPBACKSLASH@
960 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
961 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYLibPinyin.o `test -f 'PYLibPinyin.cc' || echo '$(srcdir)/'`PYLibPinyin.cc
962
963 ibus_engine_libpinyin-PYLibPinyin.obj: PYLibPinyin.cc
964 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYLibPinyin.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Tpo -c -o ibus_engine_libpinyin-PYLibPinyin.obj `if test -f 'PYLibPinyin.cc'; then $(CYGPATH_W) 'PYLibPinyin.cc'; else $(CYGPATH_W) '$(srcdir)/PYLibPinyin.cc'; fi`
965 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po
966 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYLibPinyin.cc' object='ibus_engine_libpinyin-PYLibPinyin.obj' libtool=no @AMDEPBACKSLASH@
967 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
968 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYLibPinyin.obj `if test -f 'PYLibPinyin.cc'; then $(CYGPATH_W) 'PYLibPinyin.cc'; else $(CYGPATH_W) '$(srcdir)/PYLibPinyin.cc'; fi`
969
970 ibus_engine_libpinyin-PYPPhoneticEditor.o: PYPPhoneticEditor.cc
971 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPhoneticEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Tpo -c -o ibus_engine_libpinyin-PYPPhoneticEditor.o `test -f 'PYPPhoneticEditor.cc' || echo '$(srcdir)/'`PYPPhoneticEditor.cc
972 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po
973 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPhoneticEditor.cc' object='ibus_engine_libpinyin-PYPPhoneticEditor.o' libtool=no @AMDEPBACKSLASH@
974 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
975 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPhoneticEditor.o `test -f 'PYPPhoneticEditor.cc' || echo '$(srcdir)/'`PYPPhoneticEditor.cc
976
977 ibus_engine_libpinyin-PYPPhoneticEditor.obj: PYPPhoneticEditor.cc
978 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPhoneticEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Tpo -c -o ibus_engine_libpinyin-PYPPhoneticEditor.obj `if test -f 'PYPPhoneticEditor.cc'; then $(CYGPATH_W) 'PYPPhoneticEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPhoneticEditor.cc'; fi`
979 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po
980 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPhoneticEditor.cc' object='ibus_engine_libpinyin-PYPPhoneticEditor.obj' libtool=no @AMDEPBACKSLASH@
981 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
982 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPhoneticEditor.obj `if test -f 'PYPPhoneticEditor.cc'; then $(CYGPATH_W) 'PYPPhoneticEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPhoneticEditor.cc'; fi`
983
984 ibus_engine_libpinyin-PYPPinyinEditor.o: PYPPinyinEditor.cc
985 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPinyinEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPPinyinEditor.o `test -f 'PYPPinyinEditor.cc' || echo '$(srcdir)/'`PYPPinyinEditor.cc
986 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po
987 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPinyinEditor.cc' object='ibus_engine_libpinyin-PYPPinyinEditor.o' libtool=no @AMDEPBACKSLASH@
988 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
989 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPinyinEditor.o `test -f 'PYPPinyinEditor.cc' || echo '$(srcdir)/'`PYPPinyinEditor.cc
990
991 ibus_engine_libpinyin-PYPPinyinEditor.obj: PYPPinyinEditor.cc
992 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPinyinEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPPinyinEditor.obj `if test -f 'PYPPinyinEditor.cc'; then $(CYGPATH_W) 'PYPPinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPinyinEditor.cc'; fi`
993 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po
994 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPinyinEditor.cc' object='ibus_engine_libpinyin-PYPPinyinEditor.obj' libtool=no @AMDEPBACKSLASH@
995 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
996 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPinyinEditor.obj `if test -f 'PYPPinyinEditor.cc'; then $(CYGPATH_W) 'PYPPinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPinyinEditor.cc'; fi`
997
998 ibus_engine_libpinyin-PYPFullPinyinEditor.o: PYPFullPinyinEditor.cc
999 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPFullPinyinEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPFullPinyinEditor.o `test -f 'PYPFullPinyinEditor.cc' || echo '$(srcdir)/'`PYPFullPinyinEditor.cc
1000 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po
1001 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPFullPinyinEditor.cc' object='ibus_engine_libpinyin-PYPFullPinyinEditor.o' libtool=no @AMDEPBACKSLASH@
1002 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1003 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPFullPinyinEditor.o `test -f 'PYPFullPinyinEditor.cc' || echo '$(srcdir)/'`PYPFullPinyinEditor.cc
1004
1005 ibus_engine_libpinyin-PYPFullPinyinEditor.obj: PYPFullPinyinEditor.cc
1006 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPFullPinyinEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPFullPinyinEditor.obj `if test -f 'PYPFullPinyinEditor.cc'; then $(CYGPATH_W) 'PYPFullPinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPFullPinyinEditor.cc'; fi`
1007 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po
1008 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPFullPinyinEditor.cc' object='ibus_engine_libpinyin-PYPFullPinyinEditor.obj' libtool=no @AMDEPBACKSLASH@
1009 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1010 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPFullPinyinEditor.obj `if test -f 'PYPFullPinyinEditor.cc'; then $(CYGPATH_W) 'PYPFullPinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPFullPinyinEditor.cc'; fi`
1011
1012 ibus_engine_libpinyin-PYPDoublePinyinEditor.o: PYPDoublePinyinEditor.cc
1013 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPDoublePinyinEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPDoublePinyinEditor.o `test -f 'PYPDoublePinyinEditor.cc' || echo '$(srcdir)/'`PYPDoublePinyinEditor.cc
1014 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po
1015 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPDoublePinyinEditor.cc' object='ibus_engine_libpinyin-PYPDoublePinyinEditor.o' libtool=no @AMDEPBACKSLASH@
1016 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1017 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPDoublePinyinEditor.o `test -f 'PYPDoublePinyinEditor.cc' || echo '$(srcdir)/'`PYPDoublePinyinEditor.cc
1018
1019 ibus_engine_libpinyin-PYPDoublePinyinEditor.obj: PYPDoublePinyinEditor.cc
1020 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPDoublePinyinEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Tpo -c -o ibus_engine_libpinyin-PYPDoublePinyinEditor.obj `if test -f 'PYPDoublePinyinEditor.cc'; then $(CYGPATH_W) 'PYPDoublePinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPDoublePinyinEditor.cc'; fi`
1021 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po
1022 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPDoublePinyinEditor.cc' object='ibus_engine_libpinyin-PYPDoublePinyinEditor.obj' libtool=no @AMDEPBACKSLASH@
1023 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1024 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPDoublePinyinEditor.obj `if test -f 'PYPDoublePinyinEditor.cc'; then $(CYGPATH_W) 'PYPDoublePinyinEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPDoublePinyinEditor.cc'; fi`
1025
1026 ibus_engine_libpinyin-PYPBopomofoEditor.o: PYPBopomofoEditor.cc
1027 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPBopomofoEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Tpo -c -o ibus_engine_libpinyin-PYPBopomofoEditor.o `test -f 'PYPBopomofoEditor.cc' || echo '$(srcdir)/'`PYPBopomofoEditor.cc
1028 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po
1029 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPBopomofoEditor.cc' object='ibus_engine_libpinyin-PYPBopomofoEditor.o' libtool=no @AMDEPBACKSLASH@
1030 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1031 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPBopomofoEditor.o `test -f 'PYPBopomofoEditor.cc' || echo '$(srcdir)/'`PYPBopomofoEditor.cc
1032
1033 ibus_engine_libpinyin-PYPBopomofoEditor.obj: PYPBopomofoEditor.cc
1034 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPBopomofoEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Tpo -c -o ibus_engine_libpinyin-PYPBopomofoEditor.obj `if test -f 'PYPBopomofoEditor.cc'; then $(CYGPATH_W) 'PYPBopomofoEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPBopomofoEditor.cc'; fi`
1035 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po
1036 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPBopomofoEditor.cc' object='ibus_engine_libpinyin-PYPBopomofoEditor.obj' libtool=no @AMDEPBACKSLASH@
1037 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1038 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPBopomofoEditor.obj `if test -f 'PYPBopomofoEditor.cc'; then $(CYGPATH_W) 'PYPBopomofoEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPBopomofoEditor.cc'; fi`
1039
1040 ibus_engine_libpinyin-PYPPinyinEngine.o: PYPPinyinEngine.cc
1041 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPinyinEngine.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Tpo -c -o ibus_engine_libpinyin-PYPPinyinEngine.o `test -f 'PYPPinyinEngine.cc' || echo '$(srcdir)/'`PYPPinyinEngine.cc
1042 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po
1043 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPinyinEngine.cc' object='ibus_engine_libpinyin-PYPPinyinEngine.o' libtool=no @AMDEPBACKSLASH@
1044 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1045 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPinyinEngine.o `test -f 'PYPPinyinEngine.cc' || echo '$(srcdir)/'`PYPPinyinEngine.cc
1046
1047 ibus_engine_libpinyin-PYPPinyinEngine.obj: PYPPinyinEngine.cc
1048 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPPinyinEngine.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Tpo -c -o ibus_engine_libpinyin-PYPPinyinEngine.obj `if test -f 'PYPPinyinEngine.cc'; then $(CYGPATH_W) 'PYPPinyinEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPinyinEngine.cc'; fi`
1049 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po
1050 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPPinyinEngine.cc' object='ibus_engine_libpinyin-PYPPinyinEngine.obj' libtool=no @AMDEPBACKSLASH@
1051 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1052 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPPinyinEngine.obj `if test -f 'PYPPinyinEngine.cc'; then $(CYGPATH_W) 'PYPPinyinEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYPPinyinEngine.cc'; fi`
1053
1054 ibus_engine_libpinyin-PYPBopomofoEngine.o: PYPBopomofoEngine.cc
1055 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPBopomofoEngine.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Tpo -c -o ibus_engine_libpinyin-PYPBopomofoEngine.o `test -f 'PYPBopomofoEngine.cc' || echo '$(srcdir)/'`PYPBopomofoEngine.cc
1056 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po
1057 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPBopomofoEngine.cc' object='ibus_engine_libpinyin-PYPBopomofoEngine.o' libtool=no @AMDEPBACKSLASH@
1058 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1059 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPBopomofoEngine.o `test -f 'PYPBopomofoEngine.cc' || echo '$(srcdir)/'`PYPBopomofoEngine.cc
1060
1061 ibus_engine_libpinyin-PYPBopomofoEngine.obj: PYPBopomofoEngine.cc
1062 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPBopomofoEngine.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Tpo -c -o ibus_engine_libpinyin-PYPBopomofoEngine.obj `if test -f 'PYPBopomofoEngine.cc'; then $(CYGPATH_W) 'PYPBopomofoEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYPBopomofoEngine.cc'; fi`
1063 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po
1064 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPBopomofoEngine.cc' object='ibus_engine_libpinyin-PYPBopomofoEngine.obj' libtool=no @AMDEPBACKSLASH@
1065 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1066 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPBopomofoEngine.obj `if test -f 'PYPBopomofoEngine.cc'; then $(CYGPATH_W) 'PYPBopomofoEngine.cc'; else $(CYGPATH_W) '$(srcdir)/PYPBopomofoEngine.cc'; fi`
1067
1068 ibus_engine_libpinyin-PYPLibPinyinCandidates.o: PYPLibPinyinCandidates.cc
1069 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLibPinyinCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLibPinyinCandidates.o `test -f 'PYPLibPinyinCandidates.cc' || echo '$(srcdir)/'`PYPLibPinyinCandidates.cc
1070 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po
1071 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLibPinyinCandidates.cc' object='ibus_engine_libpinyin-PYPLibPinyinCandidates.o' libtool=no @AMDEPBACKSLASH@
1072 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1073 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLibPinyinCandidates.o `test -f 'PYPLibPinyinCandidates.cc' || echo '$(srcdir)/'`PYPLibPinyinCandidates.cc
1074
1075 ibus_engine_libpinyin-PYPLibPinyinCandidates.obj: PYPLibPinyinCandidates.cc
1076 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLibPinyinCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLibPinyinCandidates.obj `if test -f 'PYPLibPinyinCandidates.cc'; then $(CYGPATH_W) 'PYPLibPinyinCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLibPinyinCandidates.cc'; fi`
1077 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po
1078 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLibPinyinCandidates.cc' object='ibus_engine_libpinyin-PYPLibPinyinCandidates.obj' libtool=no @AMDEPBACKSLASH@
1079 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1080 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLibPinyinCandidates.obj `if test -f 'PYPLibPinyinCandidates.cc'; then $(CYGPATH_W) 'PYPLibPinyinCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLibPinyinCandidates.cc'; fi`
1081
1082 ibus_engine_libpinyin-PYPTradCandidates.o: PYPTradCandidates.cc
1083 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPTradCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Tpo -c -o ibus_engine_libpinyin-PYPTradCandidates.o `test -f 'PYPTradCandidates.cc' || echo '$(srcdir)/'`PYPTradCandidates.cc
1084 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po
1085 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPTradCandidates.cc' object='ibus_engine_libpinyin-PYPTradCandidates.o' libtool=no @AMDEPBACKSLASH@
1086 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1087 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPTradCandidates.o `test -f 'PYPTradCandidates.cc' || echo '$(srcdir)/'`PYPTradCandidates.cc
1088
1089 ibus_engine_libpinyin-PYPTradCandidates.obj: PYPTradCandidates.cc
1090 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPTradCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Tpo -c -o ibus_engine_libpinyin-PYPTradCandidates.obj `if test -f 'PYPTradCandidates.cc'; then $(CYGPATH_W) 'PYPTradCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPTradCandidates.cc'; fi`
1091 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po
1092 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPTradCandidates.cc' object='ibus_engine_libpinyin-PYPTradCandidates.obj' libtool=no @AMDEPBACKSLASH@
1093 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1094 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPTradCandidates.obj `if test -f 'PYPTradCandidates.cc'; then $(CYGPATH_W) 'PYPTradCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPTradCandidates.cc'; fi`
1095
1096 ibus_engine_libpinyin-PYPSuggestionEditor.o: PYPSuggestionEditor.cc
1097 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPSuggestionEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Tpo -c -o ibus_engine_libpinyin-PYPSuggestionEditor.o `test -f 'PYPSuggestionEditor.cc' || echo '$(srcdir)/'`PYPSuggestionEditor.cc
1098 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po
1099 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPSuggestionEditor.cc' object='ibus_engine_libpinyin-PYPSuggestionEditor.o' libtool=no @AMDEPBACKSLASH@
1100 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1101 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPSuggestionEditor.o `test -f 'PYPSuggestionEditor.cc' || echo '$(srcdir)/'`PYPSuggestionEditor.cc
1102
1103 ibus_engine_libpinyin-PYPSuggestionEditor.obj: PYPSuggestionEditor.cc
1104 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPSuggestionEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Tpo -c -o ibus_engine_libpinyin-PYPSuggestionEditor.obj `if test -f 'PYPSuggestionEditor.cc'; then $(CYGPATH_W) 'PYPSuggestionEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPSuggestionEditor.cc'; fi`
1105 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po
1106 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPSuggestionEditor.cc' object='ibus_engine_libpinyin-PYPSuggestionEditor.obj' libtool=no @AMDEPBACKSLASH@
1107 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1108 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPSuggestionEditor.obj `if test -f 'PYPSuggestionEditor.cc'; then $(CYGPATH_W) 'PYPSuggestionEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYPSuggestionEditor.cc'; fi`
1109
1110 ibus_engine_libpinyin-PYPSuggestionCandidates.o: PYPSuggestionCandidates.cc
1111 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPSuggestionCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Tpo -c -o ibus_engine_libpinyin-PYPSuggestionCandidates.o `test -f 'PYPSuggestionCandidates.cc' || echo '$(srcdir)/'`PYPSuggestionCandidates.cc
1112 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po
1113 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPSuggestionCandidates.cc' object='ibus_engine_libpinyin-PYPSuggestionCandidates.o' libtool=no @AMDEPBACKSLASH@
1114 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1115 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPSuggestionCandidates.o `test -f 'PYPSuggestionCandidates.cc' || echo '$(srcdir)/'`PYPSuggestionCandidates.cc
1116
1117 ibus_engine_libpinyin-PYPSuggestionCandidates.obj: PYPSuggestionCandidates.cc
1118 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPSuggestionCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Tpo -c -o ibus_engine_libpinyin-PYPSuggestionCandidates.obj `if test -f 'PYPSuggestionCandidates.cc'; then $(CYGPATH_W) 'PYPSuggestionCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPSuggestionCandidates.cc'; fi`
1119 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po
1120 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPSuggestionCandidates.cc' object='ibus_engine_libpinyin-PYPSuggestionCandidates.obj' libtool=no @AMDEPBACKSLASH@
1121 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1122 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPSuggestionCandidates.obj `if test -f 'PYPSuggestionCandidates.cc'; then $(CYGPATH_W) 'PYPSuggestionCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPSuggestionCandidates.cc'; fi`
1123
1124 ibus_engine_libpinyin-PYPEmojiCandidates.o: PYPEmojiCandidates.cc
1125 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPEmojiCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Tpo -c -o ibus_engine_libpinyin-PYPEmojiCandidates.o `test -f 'PYPEmojiCandidates.cc' || echo '$(srcdir)/'`PYPEmojiCandidates.cc
1126 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po
1127 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPEmojiCandidates.cc' object='ibus_engine_libpinyin-PYPEmojiCandidates.o' libtool=no @AMDEPBACKSLASH@
1128 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1129 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPEmojiCandidates.o `test -f 'PYPEmojiCandidates.cc' || echo '$(srcdir)/'`PYPEmojiCandidates.cc
1130
1131 ibus_engine_libpinyin-PYPEmojiCandidates.obj: PYPEmojiCandidates.cc
1132 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPEmojiCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Tpo -c -o ibus_engine_libpinyin-PYPEmojiCandidates.obj `if test -f 'PYPEmojiCandidates.cc'; then $(CYGPATH_W) 'PYPEmojiCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPEmojiCandidates.cc'; fi`
1133 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po
1134 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPEmojiCandidates.cc' object='ibus_engine_libpinyin-PYPEmojiCandidates.obj' libtool=no @AMDEPBACKSLASH@
1135 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1136 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPEmojiCandidates.obj `if test -f 'PYPEmojiCandidates.cc'; then $(CYGPATH_W) 'PYPEmojiCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPEmojiCandidates.cc'; fi`
1137
1138 ibus_engine_libpinyin-PYExtEditor.o: PYExtEditor.cc
1139 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYExtEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Tpo -c -o ibus_engine_libpinyin-PYExtEditor.o `test -f 'PYExtEditor.cc' || echo '$(srcdir)/'`PYExtEditor.cc
1140 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po
1141 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYExtEditor.cc' object='ibus_engine_libpinyin-PYExtEditor.o' libtool=no @AMDEPBACKSLASH@
1142 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1143 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYExtEditor.o `test -f 'PYExtEditor.cc' || echo '$(srcdir)/'`PYExtEditor.cc
1144
1145 ibus_engine_libpinyin-PYExtEditor.obj: PYExtEditor.cc
1146 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYExtEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Tpo -c -o ibus_engine_libpinyin-PYExtEditor.obj `if test -f 'PYExtEditor.cc'; then $(CYGPATH_W) 'PYExtEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYExtEditor.cc'; fi`
1147 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po
1148 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYExtEditor.cc' object='ibus_engine_libpinyin-PYExtEditor.obj' libtool=no @AMDEPBACKSLASH@
1149 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1150 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYExtEditor.obj `if test -f 'PYExtEditor.cc'; then $(CYGPATH_W) 'PYExtEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYExtEditor.cc'; fi`
1151
1152 ibus_engine_libpinyin-PYPLuaTriggerCandidates.o: PYPLuaTriggerCandidates.cc
1153 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLuaTriggerCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLuaTriggerCandidates.o `test -f 'PYPLuaTriggerCandidates.cc' || echo '$(srcdir)/'`PYPLuaTriggerCandidates.cc
1154 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po
1155 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLuaTriggerCandidates.cc' object='ibus_engine_libpinyin-PYPLuaTriggerCandidates.o' libtool=no @AMDEPBACKSLASH@
1156 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1157 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLuaTriggerCandidates.o `test -f 'PYPLuaTriggerCandidates.cc' || echo '$(srcdir)/'`PYPLuaTriggerCandidates.cc
1158
1159 ibus_engine_libpinyin-PYPLuaTriggerCandidates.obj: PYPLuaTriggerCandidates.cc
1160 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLuaTriggerCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLuaTriggerCandidates.obj `if test -f 'PYPLuaTriggerCandidates.cc'; then $(CYGPATH_W) 'PYPLuaTriggerCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLuaTriggerCandidates.cc'; fi`
1161 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po
1162 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLuaTriggerCandidates.cc' object='ibus_engine_libpinyin-PYPLuaTriggerCandidates.obj' libtool=no @AMDEPBACKSLASH@
1163 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1164 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLuaTriggerCandidates.obj `if test -f 'PYPLuaTriggerCandidates.cc'; then $(CYGPATH_W) 'PYPLuaTriggerCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLuaTriggerCandidates.cc'; fi`
1165
1166 ibus_engine_libpinyin-PYPLuaConverterCandidates.o: PYPLuaConverterCandidates.cc
1167 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLuaConverterCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLuaConverterCandidates.o `test -f 'PYPLuaConverterCandidates.cc' || echo '$(srcdir)/'`PYPLuaConverterCandidates.cc
1168 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po
1169 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLuaConverterCandidates.cc' object='ibus_engine_libpinyin-PYPLuaConverterCandidates.o' libtool=no @AMDEPBACKSLASH@
1170 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1171 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLuaConverterCandidates.o `test -f 'PYPLuaConverterCandidates.cc' || echo '$(srcdir)/'`PYPLuaConverterCandidates.cc
1172
1173 ibus_engine_libpinyin-PYPLuaConverterCandidates.obj: PYPLuaConverterCandidates.cc
1174 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPLuaConverterCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Tpo -c -o ibus_engine_libpinyin-PYPLuaConverterCandidates.obj `if test -f 'PYPLuaConverterCandidates.cc'; then $(CYGPATH_W) 'PYPLuaConverterCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLuaConverterCandidates.cc'; fi`
1175 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po
1176 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPLuaConverterCandidates.cc' object='ibus_engine_libpinyin-PYPLuaConverterCandidates.obj' libtool=no @AMDEPBACKSLASH@
1177 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1178 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPLuaConverterCandidates.obj `if test -f 'PYPLuaConverterCandidates.cc'; then $(CYGPATH_W) 'PYPLuaConverterCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPLuaConverterCandidates.cc'; fi`
1179
1180 ibus_engine_libpinyin-PYPCloudCandidates.o: PYPCloudCandidates.cc
1181 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPCloudCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Tpo -c -o ibus_engine_libpinyin-PYPCloudCandidates.o `test -f 'PYPCloudCandidates.cc' || echo '$(srcdir)/'`PYPCloudCandidates.cc
1182 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po
1183 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPCloudCandidates.cc' object='ibus_engine_libpinyin-PYPCloudCandidates.o' libtool=no @AMDEPBACKSLASH@
1184 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1185 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPCloudCandidates.o `test -f 'PYPCloudCandidates.cc' || echo '$(srcdir)/'`PYPCloudCandidates.cc
1186
1187 ibus_engine_libpinyin-PYPCloudCandidates.obj: PYPCloudCandidates.cc
1188 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPCloudCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Tpo -c -o ibus_engine_libpinyin-PYPCloudCandidates.obj `if test -f 'PYPCloudCandidates.cc'; then $(CYGPATH_W) 'PYPCloudCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPCloudCandidates.cc'; fi`
1189 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po
1190 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPCloudCandidates.cc' object='ibus_engine_libpinyin-PYPCloudCandidates.obj' libtool=no @AMDEPBACKSLASH@
1191 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1192 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPCloudCandidates.obj `if test -f 'PYPCloudCandidates.cc'; then $(CYGPATH_W) 'PYPCloudCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPCloudCandidates.cc'; fi`
1193
1194 ibus_engine_libpinyin-PYTableDatabase.o: PYTableDatabase.cc
1195 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYTableDatabase.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Tpo -c -o ibus_engine_libpinyin-PYTableDatabase.o `test -f 'PYTableDatabase.cc' || echo '$(srcdir)/'`PYTableDatabase.cc
1196 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po
1197 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYTableDatabase.cc' object='ibus_engine_libpinyin-PYTableDatabase.o' libtool=no @AMDEPBACKSLASH@
1198 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1199 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYTableDatabase.o `test -f 'PYTableDatabase.cc' || echo '$(srcdir)/'`PYTableDatabase.cc
1200
1201 ibus_engine_libpinyin-PYTableDatabase.obj: PYTableDatabase.cc
1202 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYTableDatabase.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Tpo -c -o ibus_engine_libpinyin-PYTableDatabase.obj `if test -f 'PYTableDatabase.cc'; then $(CYGPATH_W) 'PYTableDatabase.cc'; else $(CYGPATH_W) '$(srcdir)/PYTableDatabase.cc'; fi`
1203 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po
1204 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYTableDatabase.cc' object='ibus_engine_libpinyin-PYTableDatabase.obj' libtool=no @AMDEPBACKSLASH@
1205 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1206 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYTableDatabase.obj `if test -f 'PYTableDatabase.cc'; then $(CYGPATH_W) 'PYTableDatabase.cc'; else $(CYGPATH_W) '$(srcdir)/PYTableDatabase.cc'; fi`
1207
1208 ibus_engine_libpinyin-PYTableEditor.o: PYTableEditor.cc
1209 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYTableEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Tpo -c -o ibus_engine_libpinyin-PYTableEditor.o `test -f 'PYTableEditor.cc' || echo '$(srcdir)/'`PYTableEditor.cc
1210 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po
1211 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYTableEditor.cc' object='ibus_engine_libpinyin-PYTableEditor.o' libtool=no @AMDEPBACKSLASH@
1212 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1213 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYTableEditor.o `test -f 'PYTableEditor.cc' || echo '$(srcdir)/'`PYTableEditor.cc
1214
1215 ibus_engine_libpinyin-PYTableEditor.obj: PYTableEditor.cc
1216 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYTableEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Tpo -c -o ibus_engine_libpinyin-PYTableEditor.obj `if test -f 'PYTableEditor.cc'; then $(CYGPATH_W) 'PYTableEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYTableEditor.cc'; fi`
1217 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po
1218 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYTableEditor.cc' object='ibus_engine_libpinyin-PYTableEditor.obj' libtool=no @AMDEPBACKSLASH@
1219 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1220 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYTableEditor.obj `if test -f 'PYTableEditor.cc'; then $(CYGPATH_W) 'PYTableEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYTableEditor.cc'; fi`
1221
1222 ibus_engine_libpinyin-PYEnglishDatabase.o: PYEnglishDatabase.cc
1223 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEnglishDatabase.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Tpo -c -o ibus_engine_libpinyin-PYEnglishDatabase.o `test -f 'PYEnglishDatabase.cc' || echo '$(srcdir)/'`PYEnglishDatabase.cc
1224 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po
1225 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEnglishDatabase.cc' object='ibus_engine_libpinyin-PYEnglishDatabase.o' libtool=no @AMDEPBACKSLASH@
1226 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1227 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEnglishDatabase.o `test -f 'PYEnglishDatabase.cc' || echo '$(srcdir)/'`PYEnglishDatabase.cc
1228
1229 ibus_engine_libpinyin-PYEnglishDatabase.obj: PYEnglishDatabase.cc
1230 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEnglishDatabase.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Tpo -c -o ibus_engine_libpinyin-PYEnglishDatabase.obj `if test -f 'PYEnglishDatabase.cc'; then $(CYGPATH_W) 'PYEnglishDatabase.cc'; else $(CYGPATH_W) '$(srcdir)/PYEnglishDatabase.cc'; fi`
1231 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po
1232 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEnglishDatabase.cc' object='ibus_engine_libpinyin-PYEnglishDatabase.obj' libtool=no @AMDEPBACKSLASH@
1233 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1234 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEnglishDatabase.obj `if test -f 'PYEnglishDatabase.cc'; then $(CYGPATH_W) 'PYEnglishDatabase.cc'; else $(CYGPATH_W) '$(srcdir)/PYEnglishDatabase.cc'; fi`
1235
1236 ibus_engine_libpinyin-PYEnglishEditor.o: PYEnglishEditor.cc
1237 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEnglishEditor.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Tpo -c -o ibus_engine_libpinyin-PYEnglishEditor.o `test -f 'PYEnglishEditor.cc' || echo '$(srcdir)/'`PYEnglishEditor.cc
1238 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po
1239 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEnglishEditor.cc' object='ibus_engine_libpinyin-PYEnglishEditor.o' libtool=no @AMDEPBACKSLASH@
1240 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1241 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEnglishEditor.o `test -f 'PYEnglishEditor.cc' || echo '$(srcdir)/'`PYEnglishEditor.cc
1242
1243 ibus_engine_libpinyin-PYEnglishEditor.obj: PYEnglishEditor.cc
1244 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYEnglishEditor.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Tpo -c -o ibus_engine_libpinyin-PYEnglishEditor.obj `if test -f 'PYEnglishEditor.cc'; then $(CYGPATH_W) 'PYEnglishEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYEnglishEditor.cc'; fi`
1245 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po
1246 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYEnglishEditor.cc' object='ibus_engine_libpinyin-PYEnglishEditor.obj' libtool=no @AMDEPBACKSLASH@
1247 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1248 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYEnglishEditor.obj `if test -f 'PYEnglishEditor.cc'; then $(CYGPATH_W) 'PYEnglishEditor.cc'; else $(CYGPATH_W) '$(srcdir)/PYEnglishEditor.cc'; fi`
1249
1250 ibus_engine_libpinyin-PYPEnglishCandidates.o: PYPEnglishCandidates.cc
1251 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPEnglishCandidates.o -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Tpo -c -o ibus_engine_libpinyin-PYPEnglishCandidates.o `test -f 'PYPEnglishCandidates.cc' || echo '$(srcdir)/'`PYPEnglishCandidates.cc
1252 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po
1253 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPEnglishCandidates.cc' object='ibus_engine_libpinyin-PYPEnglishCandidates.o' libtool=no @AMDEPBACKSLASH@
1254 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1255 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPEnglishCandidates.o `test -f 'PYPEnglishCandidates.cc' || echo '$(srcdir)/'`PYPEnglishCandidates.cc
1256
1257 ibus_engine_libpinyin-PYPEnglishCandidates.obj: PYPEnglishCandidates.cc
1258 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -MT ibus_engine_libpinyin-PYPEnglishCandidates.obj -MD -MP -MF $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Tpo -c -o ibus_engine_libpinyin-PYPEnglishCandidates.obj `if test -f 'PYPEnglishCandidates.cc'; then $(CYGPATH_W) 'PYPEnglishCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPEnglishCandidates.cc'; fi`
1259 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Tpo $(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po
1260 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='PYPEnglishCandidates.cc' object='ibus_engine_libpinyin-PYPEnglishCandidates.obj' libtool=no @AMDEPBACKSLASH@
1261 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1262 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ibus_engine_libpinyin_CXXFLAGS) $(CXXFLAGS) -c -o ibus_engine_libpinyin-PYPEnglishCandidates.obj `if test -f 'PYPEnglishCandidates.cc'; then $(CYGPATH_W) 'PYPEnglishCandidates.cc'; else $(CYGPATH_W) '$(srcdir)/PYPEnglishCandidates.cc'; fi`
1263
1264 mostlyclean-libtool:
1265 -rm -f *.lo
1266
1267 clean-libtool:
1268 -rm -rf .libs _libs
1269 install-componentDATA: $(component_DATA)
1270 @$(NORMAL_INSTALL)
1271 @list='$(component_DATA)'; test -n "$(componentdir)" || list=; \
1272 if test -n "$$list"; then \
1273 echo " $(MKDIR_P) '$(DESTDIR)$(componentdir)'"; \
1274 $(MKDIR_P) "$(DESTDIR)$(componentdir)" || exit 1; \
1275 fi; \
1276 for p in $$list; do \
1277 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1278 echo "$$d$$p"; \
1279 done | $(am__base_list) | \
1280 while read files; do \
1281 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(componentdir)'"; \
1282 $(INSTALL_DATA) $$files "$(DESTDIR)$(componentdir)" || exit $$?; \
1283 done
1284
1285 uninstall-componentDATA:
1286 @$(NORMAL_UNINSTALL)
1287 @list='$(component_DATA)'; test -n "$(componentdir)" || list=; \
1288 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1289 dir='$(DESTDIR)$(componentdir)'; $(am__uninstall_files_from_dir)
1290
1291 ID: $(am__tagged_files)
1292 $(am__define_uniq_tagged_files); mkid -fID $$unique
1293 tags: tags-am
1294 TAGS: tags
1295
1296 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1297 set x; \
1298 here=`pwd`; \
1299 $(am__define_uniq_tagged_files); \
1300 shift; \
1301 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1302 test -n "$$unique" || unique=$$empty_fix; \
1303 if test $$# -gt 0; then \
1304 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1305 "$$@" $$unique; \
1306 else \
1307 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1308 $$unique; \
1309 fi; \
1310 fi
1311 ctags: ctags-am
1312
1313 CTAGS: ctags
1314 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1315 $(am__define_uniq_tagged_files); \
1316 test -z "$(CTAGS_ARGS)$$unique" \
1317 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1318 $$unique
1319
1320 GTAGS:
1321 here=`$(am__cd) $(top_builddir) && pwd` \
1322 && $(am__cd) $(top_srcdir) \
1323 && gtags -i $(GTAGS_ARGS) "$$here"
1324 cscopelist: cscopelist-am
1325
1326 cscopelist-am: $(am__tagged_files)
1327 list='$(am__tagged_files)'; \
1328 case "$(srcdir)" in \
1329 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1330 *) sdir=$(subdir)/$(srcdir) ;; \
1331 esac; \
1332 for i in $$list; do \
1333 if test -f "$$i"; then \
1334 echo "$(subdir)/$$i"; \
1335 else \
1336 echo "$$sdir/$$i"; \
1337 fi; \
1338 done >> $(top_builddir)/cscope.files
1339
1340 distclean-tags:
1341 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1342 distdir: $(BUILT_SOURCES)
1343 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1344
1345 distdir-am: $(DISTFILES)
1346 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1347 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1348 list='$(DISTFILES)'; \
1349 dist_files=`for file in $$list; do echo $$file; done | \
1350 sed -e "s|^$$srcdirstrip/||;t" \
1351 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1352 case $$dist_files in \
1353 */*) $(MKDIR_P) `echo "$$dist_files" | \
1354 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1355 sort -u` ;; \
1356 esac; \
1357 for file in $$dist_files; do \
1358 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1359 if test -d $$d/$$file; then \
1360 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1361 if test -d "$(distdir)/$$file"; then \
1362 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1363 fi; \
1364 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1365 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1366 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1367 fi; \
1368 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1369 else \
1370 test -f "$(distdir)/$$file" \
1371 || cp -p $$d/$$file "$(distdir)/$$file" \
1372 || exit 1; \
1373 fi; \
1374 done
1375 check-am: all-am
1376 check: $(BUILT_SOURCES)
1377 $(MAKE) $(AM_MAKEFLAGS) check-am
1378 all-am: Makefile $(PROGRAMS) $(DATA)
1379 installdirs:
1380 for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(componentdir)"; do \
1381 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1382 done
1383 install: $(BUILT_SOURCES)
1384 $(MAKE) $(AM_MAKEFLAGS) install-am
1385 install-exec: $(BUILT_SOURCES)
1386 $(MAKE) $(AM_MAKEFLAGS) install-exec-am
1387 install-data: install-data-am
1388 uninstall: uninstall-am
1389
1390 install-am: all-am
1391 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1392
1393 installcheck: installcheck-am
1394 install-strip:
1395 if test -z '$(STRIP)'; then \
1396 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1397 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1398 install; \
1399 else \
1400 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1401 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1402 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1403 fi
1404 mostlyclean-generic:
1405
1406 clean-generic:
1407 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1408
1409 distclean-generic:
1410 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1411 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1412
1413 maintainer-clean-generic:
1414 @echo "This command is intended for maintainers to use"
1415 @echo "it deletes files that may require special tools to rebuild."
1416 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1417 clean: clean-am
1418
1419 clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
1420 mostlyclean-am
1421
1422 distclean: distclean-am
1423 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po
1424 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po
1425 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po
1426 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po
1427 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po
1428 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po
1429 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po
1430 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po
1431 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po
1432 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYMain.Po
1433 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po
1434 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po
1435 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po
1436 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po
1437 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po
1438 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po
1439 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po
1440 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po
1441 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po
1442 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po
1443 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po
1444 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po
1445 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po
1446 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po
1447 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po
1448 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po
1449 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po
1450 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po
1451 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po
1452 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po
1453 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po
1454 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po
1455 -rm -f Makefile
1456 distclean-am: clean-am distclean-compile distclean-generic \
1457 distclean-tags
1458
1459 dvi: dvi-am
1460
1461 dvi-am:
1462
1463 html: html-am
1464
1465 html-am:
1466
1467 info: info-am
1468
1469 info-am:
1470
1471 install-data-am: install-componentDATA
1472
1473 install-dvi: install-dvi-am
1474
1475 install-dvi-am:
1476
1477 install-exec-am: install-libexecPROGRAMS
1478
1479 install-html: install-html-am
1480
1481 install-html-am:
1482
1483 install-info: install-info-am
1484
1485 install-info-am:
1486
1487 install-man:
1488
1489 install-pdf: install-pdf-am
1490
1491 install-pdf-am:
1492
1493 install-ps: install-ps-am
1494
1495 install-ps-am:
1496
1497 installcheck-am:
1498
1499 maintainer-clean: maintainer-clean-am
1500 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYConfig.Po
1501 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEditor.Po
1502 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEngine.Po
1503 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishDatabase.Po
1504 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYEnglishEditor.Po
1505 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYExtEditor.Po
1506 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYFallbackEditor.Po
1507 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYHalfFullConverter.Po
1508 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYLibPinyin.Po
1509 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYMain.Po
1510 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEditor.Po
1511 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPBopomofoEngine.Po
1512 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPCloudCandidates.Po
1513 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPConfig.Po
1514 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPDoublePinyinEditor.Po
1515 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPEmojiCandidates.Po
1516 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPEnglishCandidates.Po
1517 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPFullPinyinEditor.Po
1518 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLibPinyinCandidates.Po
1519 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaConverterCandidates.Po
1520 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPLuaTriggerCandidates.Po
1521 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPhoneticEditor.Po
1522 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEditor.Po
1523 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPPinyinEngine.Po
1524 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionCandidates.Po
1525 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPSuggestionEditor.Po
1526 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPTradCandidates.Po
1527 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPinyinProperties.Po
1528 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYPunctEditor.Po
1529 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYSimpTradConverter.Po
1530 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYTableDatabase.Po
1531 -rm -f ./$(DEPDIR)/ibus_engine_libpinyin-PYTableEditor.Po
1532 -rm -f Makefile
1533 maintainer-clean-am: distclean-am maintainer-clean-generic
1534
1535 mostlyclean: mostlyclean-am
1536
1537 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1538 mostlyclean-libtool
1539
1540 pdf: pdf-am
1541
1542 pdf-am:
1543
1544 ps: ps-am
1545
1546 ps-am:
1547
1548 uninstall-am: uninstall-componentDATA uninstall-libexecPROGRAMS
1549
1550 .MAKE: all check install install-am install-exec install-strip
1551
1552 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
1553 clean-generic clean-libexecPROGRAMS clean-libtool \
1554 cscopelist-am ctags ctags-am distclean distclean-compile \
1555 distclean-generic distclean-libtool distclean-tags distdir dvi \
1556 dvi-am html html-am info info-am install install-am \
1557 install-componentDATA install-data install-data-am install-dvi \
1558 install-dvi-am install-exec install-exec-am install-html \
1559 install-html-am install-info install-info-am \
1560 install-libexecPROGRAMS install-man install-pdf install-pdf-am \
1561 install-ps install-ps-am install-strip installcheck \
1562 installcheck-am installdirs maintainer-clean \
1563 maintainer-clean-generic mostlyclean mostlyclean-compile \
1564 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1565 tags tags-am uninstall uninstall-am uninstall-componentDATA \
1566 uninstall-libexecPROGRAMS
1567
1568 .PRECIOUS: Makefile
1569
1570
1571 PYPunctTable.h:
1572 $(AM_V_GEN) \
1573 $(PYTHON) $(top_srcdir)/scripts/genpuncttable.py > $@ || \
1574 ( $(RM) $@; exit 1 )
1575
1576 PYSimpTradConverterTable.h:
1577 $(AM_V_GEN) \
1578 $(PYTHON) $(top_srcdir)/scripts/update-simptrad-table.py > $@ || \
1579 ( $(RM) $@; exit 1 )
1580
1581 update-simptrad-table:
1582 $(RM) $(top_srcdir)/scripts/ZhConversion.* PYSimpTradConverterTable.h
1583 $(MAKE) -C $(top_srcdir)/scripts ZhConversion.py
1584 $(MAKE) PYSimpTradConverterTable.h
1585
1586 libpinyin.xml: libpinyin.xml.in
1587 $(AM_V_GEN) \
1588 ( \
1589 libexecdir=${libexecdir}; \
1590 pkgdatadir=${pkgdatadir}; \
1591 s=`cat $<`; \
1592 eval "echo \"$${s}\""; \
1593 ) > $@
1594
1595 test: ibus-engine-libpinyin
1596 $(ENV) \
1597 G_DEBUG=fatal_criticals \
1598 $(builddir)/ibus-engine-libpinyin
1599
1600 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1601 # Otherwise a system limit (for SysV at least) may be exceeded.
1602 .NOEXPORT:
4242 m_page_size = 5;
4343 m_display_style = DISPLAY_STYLE_TRADITIONAL;
4444 m_remember_every_input = FALSE;
45 m_sort_option = SORT_BY_PHRASE_LENGTH_AND_PINYIN_LENGTH_AND_FREQUENCY;
45 m_sort_option = SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY;
4646
4747 m_shift_select_candidate = FALSE;
4848 m_minus_equal_page = TRUE;
5757 guint pageSize (void) const { return m_page_size; }
5858 DisplayStyle displayStyle (void) const { return m_display_style; }
5959 gboolean rememberEveryInput (void) const { return m_remember_every_input; }
60 sort_option_t sortOption (void) const { return m_sort_option; }
60 guint sortOption (void) const { return m_sort_option; }
6161 gboolean shiftSelectCandidate (void) const { return m_shift_select_candidate; }
6262 gboolean minusEqualPage (void) const { return m_minus_equal_page; }
6363 gboolean commaPeriodPage (void) const { return m_comma_period_page; }
143143 guint m_page_size;
144144 DisplayStyle m_display_style;
145145 gboolean m_remember_every_input;
146 sort_option_t m_sort_option;
146 guint m_sort_option;
147147
148148 gboolean m_shift_select_candidate;
149149 gboolean m_minus_equal_page;
151151 }
152152 }
153153
154 void
155 Editor::updateAll (void)
156 {
157 update ();
158 }
159
154160 int
155161 Editor::selectCandidateInternal (EnhancedCandidate & candidate)
156162 {
6262 virtual void cursorUp (void);
6363 virtual void cursorDown (void);
6464 virtual void update (void);
65 virtual void updateAll (void);
6566 virtual void reset (void);
6667 virtual void candidateClicked (guint index, guint button, guint state);
6768
6869 const String & text (void) const
6970 {
7071 return m_text;
72 }
73
74 const guint cursor (void) const
75 {
76 return m_cursor;
7177 }
7278
7379 void setText (const String & text, guint cursor)
2121 #include <string.h>
2222 #include <string>
2323 #include <stdio.h>
24 #include <limits>
2425 #include <libintl.h>
2526 #include "PYConfig.h"
2627
7980 m_cursor ++;
8081 } else {
8182 g_return_val_if_fail ('v' == m_text[0] || 'V' == m_text[0], FALSE);
83
8284 if ((keyval >= 'a' && keyval <= 'z') ||
8385 (keyval >= 'A' && keyval <= 'Z')) {
86 m_text.insert (m_cursor, keyval);
87 m_cursor ++;
88 }
89
90 if (keyval <= std::numeric_limits<char>::max() &&
91 g_unichar_ispunct (keyval) &&
92 EnglishSymbols.find(keyval) != std::string::npos) {
8493 m_text.insert (m_cursor, keyval);
8594 m_cursor ++;
8695 }
344353 }
345354
346355 void
356 EnglishEditor::updateAll (void)
357 {
358 updateStateFromInput ();
359 update ();
360 }
361
362 void
347363 EnglishEditor::reset (void)
348364 {
349365 m_text = "";
2828
2929 class EnglishDatabase;
3030
31 static const std::string EnglishSymbols = "`~!@*()+[]{}\\|;':\"/<>?";
32
3133 class EnglishEditor : public Editor {
3234 private:
3335 const float m_train_factor;
4143 virtual void cursorUp (void);
4244 virtual void cursorDown (void);
4345 virtual void update (void);
46 virtual void updateAll (void);
4447 virtual void reset (void);
4548 virtual void candidateClicked (guint index, guint button, guint state);
4649
460460 }
461461
462462 void
463 ExtEditor::updateAll (void)
464 {
465 updateStateFromInput ();
466 update ();
467 }
468
469 void
463470 ExtEditor::reset (void)
464471 {
465472 m_text = "";
3333 virtual void cursorUp (void);
3434 virtual void cursorDown (void);
3535 virtual void update (void);
36 virtual void updateAll (void);
3637 virtual void reset (void);
3738 virtual void candidateClicked (guint index, guint button, guint state);
3839
409409
410410 /* search the first non-ngram candidate position */
411411 for (pos = candidates.begin (); pos != candidates.end (); ++pos) {
412 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type)
412 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type &&
413 CANDIDATE_LONGER != pos->m_candidate_type &&
414 CANDIDATE_LONGER_USER != pos->m_candidate_type)
413415 break;
414416 m_candidate_cache.insert (pos->m_display_string);
415417 }
131131 m_page_size = 5;
132132 m_display_style = DISPLAY_STYLE_TRADITIONAL;
133133 m_remember_every_input = FALSE;
134 m_sort_option = SORT_BY_PHRASE_LENGTH_AND_PINYIN_LENGTH_AND_FREQUENCY;
134 m_sort_option = SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY;
135135
136136 m_emoji_candidate = TRUE;
137137 m_english_candidate = TRUE;
201201
202202 static const struct{
203203 gint sort_option_index;
204 sort_option_t sort_option;
204 guint sort_option;
205205 } sort_options [] = {
206 {0, SORT_BY_PHRASE_LENGTH_AND_FREQUENCY},
207 {1, SORT_BY_PHRASE_LENGTH_AND_PINYIN_LENGTH_AND_FREQUENCY}
206 {0, SORT_BY_PHRASE_LENGTH | SORT_BY_FREQUENCY},
207 {1, SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY},
208 {2, SORT_WITHOUT_SENTENCE_CANDIDATE | SORT_WITHOUT_LONGER_CANDIDATE |
209 SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY}
208210 };
209211
210212 static const struct{
289291 m_remember_every_input = read (CONFIG_REMEMBER_EVERY_INPUT, false);
290292
291293 index = read (CONFIG_SORT_OPTION, 0);
292 m_sort_option = SORT_BY_PHRASE_LENGTH_AND_PINYIN_LENGTH_AND_FREQUENCY;
294 m_sort_option = SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY;
293295
294296 for (guint i = 0; i < G_N_ELEMENTS (sort_options); i++) {
295297 if (index == sort_options[i].sort_option_index) {
392394 m_remember_every_input = normalizeGVariant (value, false);
393395 } else if (CONFIG_SORT_OPTION == name) {
394396 const gint index = normalizeGVariant (value, 0);
395 m_sort_option = SORT_BY_PHRASE_LENGTH_AND_PINYIN_LENGTH_AND_FREQUENCY;
397 m_sort_option = SORT_BY_PHRASE_LENGTH | SORT_BY_PINYIN_LENGTH | SORT_BY_FREQUENCY;
396398
397399 for (guint i = 0; i < G_N_ELEMENTS (sort_options); i++) {
398400 if (index == sort_options[i].sort_option_index) {
7070
7171 std::vector<EnhancedCandidate>::iterator pos;
7272 for (pos = candidates.begin (); pos != candidates.end (); ++pos) {
73 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type)
73 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type &&
74 CANDIDATE_LONGER != pos->m_candidate_type &&
75 CANDIDATE_LONGER_USER != pos->m_candidate_type)
7476 break;
7577 }
7678
4848 const char *prefix = m_editor->m_text.c_str ();
4949 std::vector<std::string> words;
5050
51 std::vector<EnhancedCandidate>::iterator pos;
52 for (pos = candidates.begin (); pos != candidates.end (); ++pos) {
53 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type &&
54 CANDIDATE_LONGER != pos->m_candidate_type &&
55 CANDIDATE_LONGER_USER != pos->m_candidate_type)
56 break;
57 }
58
5159 EnhancedCandidate enhanced;
5260 enhanced.m_candidate_type = CANDIDATE_ENGLISH;
5361
6371
6472 enhanced.m_candidate_id = count;
6573 enhanced.m_display_string = *iter;
66 candidates.insert (candidates.begin () + count, enhanced);
74 candidates.insert (pos + count, enhanced);
6775
6876 ++count;
6977 }
2828
2929 enum CandidateType {
3030 CANDIDATE_NBEST_MATCH = 1,
31 CANDIDATE_LONGER,
32 CANDIDATE_LONGER_USER,
3133 /* not included with user candidate */
3234 CANDIDATE_NORMAL,
3335 /* both normal candidate and user candidate */
3436 CANDIDATE_USER,
37 CANDIDATE_PREDICTED_BIGRAM,
38 CANDIDATE_PREDICTED_PREFIX,
3539 CANDIDATE_TRADITIONAL_CHINESE,
3640 CANDIDATE_LUA_TRIGGER,
3741 CANDIDATE_LUA_CONVERTER,
38 CANDIDATE_SUGGESTION,
3942 CANDIDATE_CLOUD_INPUT,
4043 CANDIDATE_EMOJI,
4144 CANDIDATE_ENGLISH
5252 enhanced.m_candidate_type = CANDIDATE_NBEST_MATCH;
5353 break;
5454
55 case LONGER_CANDIDATE:
56 enhanced.m_candidate_type = CANDIDATE_LONGER;
57
58 if (pinyin_is_user_candidate (instance, candidate))
59 enhanced.m_candidate_type = CANDIDATE_LONGER_USER;
60
61 break;
62
5563 case NORMAL_CANDIDATE:
5664 case ADDON_CANDIDATE:
5765 enhanced.m_candidate_type = CANDIDATE_NORMAL;
7987 {
8088 pinyin_instance_t * instance = m_editor->m_instance;
8189 assert (CANDIDATE_NBEST_MATCH == enhanced.m_candidate_type ||
90 CANDIDATE_LONGER == enhanced.m_candidate_type ||
91 CANDIDATE_LONGER_USER == enhanced.m_candidate_type ||
8292 CANDIDATE_NORMAL == enhanced.m_candidate_type ||
8393 CANDIDATE_USER == enhanced.m_candidate_type);
8494
110120 LibPinyinBackEnd::instance ().rememberUserInput (instance, str);
111121 LibPinyinBackEnd::instance ().modified ();
112122 g_free (str);
123
124 return SELECT_CANDIDATE_COMMIT;
125 }
126
127 if (CANDIDATE_LONGER == enhanced.m_candidate_type ||
128 CANDIDATE_LONGER_USER == enhanced.m_candidate_type) {
129 /* because longer candidate
130 starts from the beginning of user input. */
131 pinyin_choose_candidate (instance, 0, candidate);
132
133 LibPinyinBackEnd::instance ().modified ();
134
135 return SELECT_CANDIDATE_COMMIT;
136 }
137
138 if (m_editor->m_config.sortOption () & SORT_WITHOUT_SENTENCE_CANDIDATE) {
139 pinyin_choose_candidate (instance, 0, candidate);
140
141 LibPinyinBackEnd::instance ().modified ();
113142
114143 return SELECT_CANDIDATE_COMMIT;
115144 }
147176 {
148177 pinyin_instance_t * instance = m_editor->m_instance;
149178
150 if (enhanced.m_candidate_type != CANDIDATE_USER)
179 if (enhanced.m_candidate_type != CANDIDATE_USER &&
180 enhanced.m_candidate_type != CANDIDATE_LONGER_USER)
151181 return FALSE;
152182
153183 lookup_candidate_t * candidate = NULL;
4949
5050 std::vector<EnhancedCandidate>::iterator pos;
5151 for (pos = candidates.begin (); pos != candidates.end (); ++pos) {
52 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type)
52 if (CANDIDATE_NBEST_MATCH != pos->m_candidate_type &&
53 CANDIDATE_LONGER != pos->m_candidate_type &&
54 CANDIDATE_LONGER_USER != pos->m_candidate_type)
5355 break;
5456 }
5557
342342 PhoneticEditor::update (void)
343343 {
344344 guint lookup_cursor = getLookupCursor ();
345
346 /* The lookup cursor is not moved here. */
347 if (m_config.sortOption () & SORT_WITHOUT_SENTENCE_CANDIDATE)
348 lookup_cursor = 0;
349
345350 pinyin_guess_candidates (m_instance, lookup_cursor,
346351 m_config.sortOption ());
347352
348353 updateLookupTable ();
349354 updatePreeditText ();
350355 updateAuxiliaryText ();
356 }
357
358 void
359 PhoneticEditor::updateAll (void)
360 {
361 updatePinyin ();
362 update ();
351363 }
352364
353365 guint
376388 {
377389 switch (candidate.m_candidate_type) {
378390 case CANDIDATE_NBEST_MATCH:
391 case CANDIDATE_LONGER:
392 case CANDIDATE_LONGER_USER:
379393 case CANDIDATE_NORMAL:
380394 case CANDIDATE_USER:
381395 return m_libpinyin_candidates.selectCandidate (candidate);
414428 {
415429 switch (candidate.m_candidate_type) {
416430 case CANDIDATE_NBEST_MATCH:
431 case CANDIDATE_LONGER:
432 case CANDIDATE_LONGER_USER:
417433 case CANDIDATE_NORMAL:
418434 case CANDIDATE_USER:
419435 return m_libpinyin_candidates.removeCandidate (candidate);
6363 virtual void cursorUp (void);
6464 virtual void cursorDown (void);
6565 virtual void update (void);
66 virtual void updateAll (void);
6667 virtual void reset (void);
6768 virtual void candidateClicked (guint index, guint button, guint state);
6869 virtual gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers);
241241
242242 m_buffer.clear ();
243243
244 /* for Legacy mode */
245 if (m_config.sortOption () & SORT_WITHOUT_SENTENCE_CANDIDATE) {
246 hidePreeditText ();
247 return;
248 }
249
244250 /* probe nbest match candidate */
245251 lookup_candidate_type_t type;
246252 lookup_candidate_t * candidate = NULL;
2020 #include "PYPPinyinEngine.h"
2121 #include <string>
2222 #include <assert.h>
23 #include <limits>
2324 #include "PYConfig.h"
2425 #include "PYPConfig.h"
2526 #include "PYPunctEditor.h"
363364 #endif
364365
365366 } else {
367 #ifdef IBUS_BUILD_ENGLISH_INPUT_MODE
368 // for english mode switch with symbol key
369 if (keyval <= std::numeric_limits<char>::max() &&
370 g_unichar_ispunct (keyval) &&
371 EnglishSymbols.find(keyval) != std::string::npos &&
372 m_input_mode == MODE_INIT &&
373 PinyinConfig::instance ().englishInputMode ()) {
374 String text;
375 if (!PinyinConfig::instance ().doublePinyin ())
376 text = "v"; // full pinyin
377 else
378 text = "V"; // double pinyin
379 text += m_editors[m_input_mode]->text ();
380 guint cursor = m_editors[m_input_mode]->cursor () + 1;
381
382 /* insert the new symbol char here. */
383 text.insert(cursor, keyval);
384 cursor += 1;
385
386 m_editors[m_input_mode]->setText ("", 0);
387 m_input_mode = MODE_ENGLISH;
388 m_editors[m_input_mode]->setText (text, cursor);
389 Editor * editor = m_editors[m_input_mode].get ();
390 m_editors[m_input_mode]->updateAll ();
391 return TRUE;
392 }
393 #endif
366394 #ifdef IBUS_BUILD_TABLE_INPUT_MODE
367395 // for table mode switch with tab key
368396 if (keyval == IBUS_Tab &&
374402 else
375403 text = "U"; // double pinyin
376404 text += m_editors[m_input_mode]->text ();
405 guint cursor = m_editors[m_input_mode]->cursor () + 1;
406
377407 m_editors[m_input_mode]->setText ("", 0);
378
379408 m_input_mode = MODE_TABLE;
380 m_editors[m_input_mode]->setText (text, text.length ());
409 m_editors[m_input_mode]->setText (text, cursor);
381410 Editor * editor = m_editors[m_input_mode].get ();
382 /* Note: consider to remove the updateStateFromInput method call here. */
383 dynamic_cast<TableEditor *>(editor)->updateStateFromInput ();
384 m_editors[m_input_mode]->update ();
411 m_editors[m_input_mode]->updateAll ();
385412 return TRUE;
386413 }
387414 #endif
3838
3939 lookup_candidate_type_t type;
4040 pinyin_get_candidate_type (instance, candidate, &type);
41 assert (PREDICTED_CANDIDATE == type);
41 CandidateType candidate_type;
42 switch (type) {
43 case PREDICTED_BIGRAM_CANDIDATE:
44 candidate_type = CANDIDATE_PREDICTED_BIGRAM;
45 break;
46 case PREDICTED_PREFIX_CANDIDATE:
47 candidate_type = CANDIDATE_PREDICTED_PREFIX;
48 break;
49 default:
50 assert(FALSE);
51 }
4252
4353 const gchar * phrase_string = NULL;
4454 pinyin_get_candidate_string (instance, candidate, &phrase_string);
4555
4656 EnhancedCandidate enhanced;
47 enhanced.m_candidate_type = CANDIDATE_SUGGESTION;
57 enhanced.m_candidate_type = candidate_type;
4858 enhanced.m_candidate_id = i;
4959 enhanced.m_display_string = phrase_string;
5060
5868 SuggestionCandidates::selectCandidate (EnhancedCandidate & enhanced)
5969 {
6070 pinyin_instance_t * instance = m_editor->m_instance;
61 assert (CANDIDATE_SUGGESTION == enhanced.m_candidate_type);
71 assert (CANDIDATE_PREDICTED_BIGRAM == enhanced.m_candidate_type ||
72 CANDIDATE_PREDICTED_PREFIX == enhanced.m_candidate_type);
6273
6374 guint len = 0;
6475 pinyin_get_n_candidate (instance, &len);
340340 SuggestionEditor::selectCandidateInternal (EnhancedCandidate & candidate)
341341 {
342342 switch (candidate.m_candidate_type) {
343 case CANDIDATE_SUGGESTION:
343 case CANDIDATE_PREDICTED_BIGRAM:
344 case CANDIDATE_PREDICTED_PREFIX:
344345 return m_suggestion_candidates.selectCandidate (candidate);
345346
346347 case CANDIDATE_TRADITIONAL_CHINESE:
364364 }
365365
366366 void
367 TableEditor::updateAll (void)
368 {
369 updateStateFromInput ();
370 update ();
371 }
372
373 void
367374 TableEditor::reset (void)
368375 {
369376 m_text = "";
3030 class PinyinEngine;
3131
3232 class TableEditor : public Editor {
33 friend class PinyinEngine;
3433 public:
3534 TableEditor (PinyinProperties &props, Config & config);
3635 virtual ~TableEditor ();
4140 virtual void cursorUp (void);
4241 virtual void cursorDown (void);
4342 virtual void update (void);
43 virtual void updateAll (void);
4444 virtual void reset (void);
4545 virtual void candidateClicked (guint index, guint button, guint state);
4646
0 <?xml version=\"1.0\" encoding=\"utf-8\"?>
1 <!-- filename: pinyin.xml -->
2 <component>
3 <name>org.freedesktop.IBus.Libpinyin</name>
4 <description>Libpinyin Component</description>
5 <exec>${libexecdir}/ibus-engine-libpinyin --ibus</exec>
6 <version>1.14.91</version>
7 <author>Peng Wu &lt;alexepico@gmail.com&gt;</author>
8 <license>GPL</license>
9 <homepage>https://github.com/libpinyin/ibus-libpinyin</homepage>
10 <textdomain>ibus-libpinyin</textdomain>
11
12 <engines>
13 <engine>
14 <name>libpinyin</name>
15 <language>zh_CN</language>
16 <license>GPL</license>
17 <author>
18 Peng Wu &lt;alexepico@gmail.com&gt;
19 Peng Huang &lt;shawn.p.huang@gmail.com&gt;
20 BYVoid &lt;byvoid1@gmail.com&gt;
21 </author>
22 <icon>${pkgdatadir}/icons/ibus-pinyin.svg</icon>
23 <layout>default</layout>
24 <longname>Intelligent Pinyin</longname>
25 <description>Intelligent Pinyin input method</description>
26 <rank>99</rank>
27 <symbol>&#x62FC;</symbol>
28 <icon_prop_key>InputMode</icon_prop_key>
29 <setup>${libexecdir}/ibus-setup-libpinyin libpinyin</setup>
30 <textdomain>ibus-libpinyin</textdomain>
31 </engine>
32 <engine>
33 <name>libbopomofo</name>
34 <language>zh_TW</language>
35 <license>GPL</license>
36 <author>
37 Peng Wu &lt;alexepico@gmail.com&gt;
38 Peng Huang &lt;shawn.p.huang@gmail.com&gt;
39 BYVoid &lt;byvoid1@gmail.com&gt;
40 </author>
41 <icon>${pkgdatadir}/icons/ibus-bopomofo.svg</icon>
42 <layout>default</layout>
43 <longname>Bopomofo</longname>
44 <description>Bopomofo input method</description>
45 <rank>98</rank>
46 <symbol>&#x3109;</symbol>
47 <icon_prop_key>InputMode</icon_prop_key>
48 <setup>${libexecdir}/ibus-setup-libpinyin libbopomofo</setup>
49 <textdomain>ibus-libpinyin</textdomain>
50 </engine>
51 </engines>
52 </component>
+0
-573
src/special_table less more
0 # 该文件采用 UTF-8 编码.
1 #
2 # 以 # 号开头的行是注释.
3 #
4 # 等号左边是英文按键序列 等号右边是以逗号隔开的特殊字符串序列.
5 # 在输入的时候先键入 i 然后再键入相应的英文按键序列
6 # 候选词窗口中就会显示出对应应的特殊字符串序列.
7 #
8 # 以 X_ 开头的特殊字符串为内建标识 例如 X_DATE_1 代表阿拉伯数字格式的当前日期.
9 #
10 # 用户可以按照该文件格式自行编辑定制的用户文件 ~/.ibus/pinyin/special_table
11 #
12
13 # 当前日期
14 # riqi = "X_DATE_1","X_DATE_2","X_DATE_3","X_DATE_4","X_DATE_5"
15 # date = "X_DATE_1","X_DATE_2","X_DATE_3","X_DATE_4","X_DATE_5"
16 # rq = "X_DATE_1","X_DATE_2","X_DATE_3","X_DATE_4","X_DATE_5"
17
18 # 当前时间
19 # shijian = "X_TIME_1","X_TIME_2","X_TIME_3","X_TIME_4","X_TIME_5","X_TIME_6","X_TIME_7","X_TIME_8"
20 # time = "X_TIME_1","X_TIME_2","X_TIME_3","X_TIME_4","X_TIME_5","X_TIME_6","X_TIME_7","X_TIME_8"
21 # sj = "X_TIME_1","X_TIME_2","X_TIME_3","X_TIME_4","X_TIME_5","X_TIME_6","X_TIME_7","X_TIME_8"
22
23 # 当前星期
24 # xingqi = "X_DAY_1","X_DAY_2","X_DAY_3","X_DAY_4"
25 # tian = "X_DAY_1","X_DAY_2","X_DAY_3","X_DAY_4"
26 # day = "X_DAY_1","X_DAY_2","X_DAY_3","X_DAY_4"
27 # xq = "X_DAY_1","X_DAY_2","X_DAY_3","X_DAY_4"
28
29 # 各种标点符号
30 bdfh = "‐","–","—","―","‖","‘","’","“"
31 bdfh = "”","‥","…","‰","′","″","‵","※"
32 bdfh = "€","℃","℅","℉","№","℡","、","。"
33 bdfh = "〃","々","〆","〇","〈","〉","《","》"
34 bdfh = "「","」","『","』","【","】","〒","〓"
35 bdfh = "〔","〕","〖","〗","〝","〞","〡","〢"
36 bdfh = "〣","〤","〥","〦","〧","〨","〩","〾"
37 bdfh = "︰","︱","︳","︴","︵","︶","︷","︸"
38 bdfh = "︹","︺","︻","︼","︽","︾","︿","﹀"
39 bdfh = "﹁","﹂","﹃","﹄","﹉","﹊","﹋","﹌"
40 bdfh = "﹍","﹎","﹏","﹐","﹑","﹒","﹔","﹕"
41 bdfh = "﹖","﹗","﹙","﹚","﹛","﹜","﹝","﹞"
42 bdfh = "﹟","﹠","﹡","﹢","﹣","﹤","﹥","﹦"
43 bdfh = "﹨","﹩","﹪","﹫","!",""","#","$"
44 bdfh = "%","&","'","(",")","*","+",","
45 bdfh = "-",".","/",":",";","<","=",">"
46 bdfh = "?","@","[","\","]","^","_","`"
47 bdfh = "{","|","}","~","¢","£","¬"," ̄"
48 bdfh = "¦","¥","§","¨","°","±","·","×"
49 bdfh = "÷","㈱"
50
51 # 同上
52 fuhao = "‐","–","—","―","‖","‘","’","“"
53 fuhao = "”","‥","…","‰","′","″","‵","※"
54 fuhao = "€","℃","℅","℉","№","℡","、","。"
55 fuhao = "〃","々","〆","〇","〈","〉","《","》"
56 fuhao = "「","」","『","』","【","】","〒","〓"
57 fuhao = "〔","〕","〖","〗","〝","〞","〡","〢"
58 fuhao = "〣","〤","〥","〦","〧","〨","〩","〾"
59 fuhao = "︰","︱","︳","︴","︵","︶","︷","︸"
60 fuhao = "︹","︺","︻","︼","︽","︾","︿","﹀"
61 fuhao = "﹁","﹂","﹃","﹄","﹉","﹊","﹋","﹌"
62 fuhao = "﹍","﹎","﹏","﹐","﹑","﹒","﹔","﹕"
63 fuhao = "﹖","﹗","﹙","﹚","﹛","﹜","﹝","﹞"
64 fuhao = "﹟","﹠","﹡","﹢","﹣","﹤","﹥","﹦"
65 fuhao = "﹨","﹩","﹪","﹫","!",""","#","$"
66 fuhao = "%","&","'","(",")","*","+",","
67 fuhao = "-",".","/",":",";","<","=",">"
68 fuhao = "?","@","[","\","]","^","_","`"
69 fuhao = "{","|","}","~","¢","£","¬"," ̄"
70 fuhao = "¦","¥","§","¨","°","±","·","×"
71 fuhao = "÷","㈱"
72
73 # 同上
74 symbol = "‐","–","—","―","‖","‘","’","“"
75 symbol = "”","‥","…","‰","′","″","‵","※"
76 symbol = "€","℃","℅","℉","№","℡","、","。"
77 symbol = "〃","々","〆","〇","〈","〉","《","》"
78 symbol = "「","」","『","』","【","】","〒","〓"
79 symbol = "〔","〕","〖","〗","〝","〞","〡","〢"
80 symbol = "〣","〤","〥","〦","〧","〨","〩","〾"
81 symbol = "︰","︱","︳","︴","︵","︶","︷","︸"
82 symbol = "︹","︺","︻","︼","︽","︾","︿","﹀"
83 symbol = "﹁","﹂","﹃","﹄","﹉","﹊","﹋","﹌"
84 symbol = "﹍","﹎","﹏","﹐","﹑","﹒","﹔","﹕"
85 symbol = "﹖","﹗","﹙","﹚","﹛","﹜","﹝","﹞"
86 symbol = "﹟","﹠","﹡","﹢","﹣","﹤","﹥","﹦"
87 symbol = "﹨","﹩","﹪","﹫","!",""","#","$"
88 symbol = "%","&","'","(",")","*","+",","
89 symbol = "-",".","/",":",";","<","=",">"
90 symbol = "?","@","[","\","]","^","_","`"
91 symbol = "{","|","}","~","¢","£","¬"," ̄"
92 symbol = "¦","¥","§","¨","°","±","·","×"
93 symbol = "÷","㈱"
94
95 section = "§"
96 duanluo = "§"
97 dl = "§"
98
99 degree = "°","℃","℉"
100 du = "°","℃","℉"
101
102 centigrade = "℃"
103 sheshidu = "℃"
104 ssd = "℃"
105 fahrenheit = "℉"
106 huashidu = "℉"
107 hsd = "℉"
108
109 middledot = "·"
110 midpoint = "·"
111 zhongdian = "·"
112 zd = "·"
113
114 plusminus = "±"
115 jiajian = "±"
116 jj = "±"
117
118 multiplication = "×"
119 chenghao = "×"
120 ch = "×"
121
122 division = "÷"
123 chuhao = "÷"
124 ch = "÷"
125
126 numero = "№"
127 bianhao = "№"
128 no = "№"
129 No = "№"
130 bh = "№"
131
132 telephone = "℡"
133 dianhua = "℡"
134 dh = "℡"
135
136 # 各种数字
137 shuziromanc = "Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ"
138 shuziromans = "ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ"
139 shuziquan = "①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩"
140 shuzikuo = "⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽"
141 shuzikuo = "⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇"
142 shuzidian = "⒈","⒉","⒊","⒋","⒌","⒍","⒎","⒏","⒐","⒑"
143 shuzidian = "⒒","⒓","⒔","⒕","⒖","⒗","⒘","⒙","⒚","⒛"
144 shuzikuohan = "㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩"
145
146 dxrmsz = "Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ"
147 xxrmsz = "ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ"
148 yqsz = "①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩"
149 khsz = "⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽"
150 khsz = "⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇"
151 dsz = "⒈","⒉","⒊","⒋","⒌","⒍","⒎","⒏","⒐","⒑"
152 dsz = "⒒","⒓","⒔","⒕","⒖","⒗","⒘","⒙","⒚","⒛"
153 khhysz = "㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩"
154
155 # 同上
156 numromanc = "Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ"
157 numromans = "ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ"
158 numcircle = "①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩"
159 numparen = "⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽"
160 numparen = "⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇"
161 numdot = "⒈","⒉","⒊","⒋","⒌","⒍","⒎","⒏","⒐","⒑"
162 numdot = "⒒","⒓","⒔","⒕","⒖","⒗","⒘","⒙","⒚","⒛"
163 numpareni = "㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩"
164
165 # 大写数字
166 daxieshuzi = "零","壹","贰","叁","肆","伍","陆","柒","捌","玖","拾","佰","仟"
167 dxsz = "零","壹","贰","叁","肆","伍","陆","柒","捌","玖","拾","佰","仟"
168 shuzidaxie = "零","壹","贰","叁","肆","伍","陆","柒","捌","玖","拾","佰","仟"
169 dxling = "零"
170 dxyi = "壹"
171 dxer = "贰"
172 dxsan = "叁"
173 dxsi = "肆"
174 dxwu = "伍"
175 dxliu = "陆"
176 dxqi = "柒"
177 dxba = "捌"
178 dxjiu = "玖"
179 dxshi = "拾"
180 dxbai = "佰"
181 dxqian = "仟"
182
183 # 货币符号
184 huobi = "¤","€","$","¢","£","¥"
185 currency = "¤","€","$","¢","£","¥"
186 ouyuan = "€"
187 euro = "€"
188 meiyuan = "$"
189 dollar = "$"
190 yingbang = "£"
191 pound = "£"
192 renminbi = "¥"
193 rmb = "¥"
194 yen = "¥"
195 yuan = "¥"
196
197 # 箭头
198 jiantou = "←","↑","→","↓","↔","↕","↖","↗"
199 jiantou = "↘","↙","↵","⇐","⇑","⇒","⇓","⇔","⇕"
200 arrow = "←","↑","→","↓","↔","↕","↖","↗"
201 arrow = "↘","↙","↵","⇐","⇑","⇒","⇓","⇔","⇕"
202
203 # 音调符号
204 yindiao = "ˇ","ˉ","ˊ","ˋ","˙"
205 shengdiao = "ˇ","ˉ","ˊ","ˋ","˙"
206 tone = "ˇ","ˉ","ˊ","ˋ","˙"
207 sd = "ˇ","ˉ","ˊ","ˋ","˙"
208 yisheng = "ˉ"
209 ersheng = "ˊ"
210 sansheng = "ˇ"
211 sisheng = "ˋ"
212
213 # 数学符号
214 shuxue = "∀","∂","∃","∅","∆","∇","∈","∉"
215 shuxue = "∋","∏","∑","−","∕","∗","∙","√"
216 shuxue = "∝","∞","∟","∠","∣","∥","∧","∨"
217 shuxue = "∩","∪","∫","∬","∮","∴","∵","∶"
218 shuxue = "∷","∼","∽","≅","≈","≌","≒","≠"
219 shuxue = "≡","≤","≥","≦","≧","≪","≫","≮"
220 shuxue = "≯","⊂","⊃","⊄","⊆","⊇","⊕","⊗"
221 shuxue = "⊙","⊥","⊿","⋅","⌒","⌠","⌡","〈"
222 shuxue = "〉","㏑","㏒","±","×","÷"
223
224 # 同上
225 math = "∀","∂","∃","∅","∆","∇","∈","∉"
226 math = "∋","∏","∑","−","∕","∗","∙","√"
227 math = "∝","∞","∟","∠","∣","∥","∧","∨"
228 math = "∩","∪","∫","∬","∮","∴","∵","∶"
229 math = "∷","∼","∽","≅","≈","≌","≒","≠"
230 math = "≡","≤","≥","≦","≧","≪","≫","≮"
231 math = "≯","⊂","⊃","⊄","⊆","⊇","⊕","⊗"
232 math = "⊙","⊥","⊿","⋅","⌒","⌠","⌡","〈"
233 math = "〉","㏑","㏒","±","×","÷"
234
235 elementof = "∈"
236 shuyu = "∈"
237 sy = "∈"
238 product = "∏"
239 qiuji = "∏"
240 summation = "∑"
241 qiuhe = "∑"
242
243 squareroot = "√"
244 root = "√"
245 pingfanggen = "√"
246 gen = "√"
247 pfg = "√"
248
249 therefore = "∴"
250 suoyi = "∴"
251 sy = "∴"
252
253 because = "∵"
254 yinwei = "∵"
255 yw = "∵"
256
257 parallel = "∥"
258 pingxing = "∥"
259 px = "∥"
260
261 and = "∧"
262 yu = "∧"
263
264 or = "∨"
265 huo = "∨"
266
267 intersection = "∩"
268 jiao = "∩"
269
270 union = "∪"
271 lianhe = "∪"
272 bing = "∪"
273
274 integral = "∫"
275 jifen = "∫"
276 jf = "∫"
277
278 uptack = "⊥"
279 orthogonal = "⊥"
280 chuizhi = "⊥"
281 cz = "⊥"
282
283 # 拉丁扩展
284 latin = "à","á","è","é","ê","ì","í","ò"
285 latin = "ó","ù","ú","ü","ā","ē","ě","ī"
286 latin = "ń","ň","ō","ū","ǎ","ǐ","ǒ","ǔ"
287 latin = "ǖ","ǘ","ǚ","ǜ","ǹ","ɑ","ɡ"
288 lading = "à","á","è","é","ê","ì","í","ò"
289 lading = "ó","ù","ú","ü","ā","ē","ě","ī"
290 lading = "ń","ň","ō","ū","ǎ","ǐ","ǒ","ǔ"
291 lading = "ǖ","ǘ","ǚ","ǜ","ǹ","ɑ","ɡ"
292
293 # 希腊字母
294 xila = "Α","Β","Γ","Δ","Ε","Ζ","Η","Θ"
295 xila = "Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π"
296 xila = "Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω"
297 xila = "α","β","γ","δ","ε","ζ","η","θ"
298 xila = "ι","κ","λ","μ","ν","ξ","ο","π"
299 xila = "ρ","ς","σ","τ","υ","φ","χ","ψ"
300 xila = "ω","ϑ","ϕ"
301
302 # 同上
303 greek = "Α","Β","Γ","Δ","Ε","Ζ","Η","Θ"
304 greek = "Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π"
305 greek = "Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω"
306 greek = "α","β","γ","δ","ε","ζ","η","θ"
307 greek = "ι","κ","λ","μ","ν","ξ","ο","π"
308 greek = "ρ","ς","σ","τ","υ","φ","χ","ψ"
309 greek = "ω","ϑ","ϕ"
310
311 Alpha = "Α"
312 Beta = "Β"
313 Gamma = "Γ"
314 Delta = "Δ"
315 Epsilon = "Ε"
316 Zeta = "Ζ"
317 Eta = "Η"
318 Theta = "Θ"
319 Iota = "Ι"
320 Kappa = "Κ"
321 Lamda = "Λ"
322 Mu = "Μ"
323 Nu = "Ν"
324 Xi = "Ξ"
325 Omicron = "Ο"
326 Pi = "Π"
327 Rho = "Ρ"
328 Sigma = "Σ"
329 Tau = "Τ"
330 Upsilon = "Υ"
331 Phi = "Φ"
332 Chi = "Χ"
333 Psi = "Ψ"
334 Omega = "Ω"
335
336 ALPHA = "Α"
337 BETA = "Β"
338 GAMMA = "Γ"
339 DELTA = "Δ"
340 EPSILON = "Ε"
341 ZETA = "Ζ"
342 ETA = "Η"
343 THETA = "Θ"
344 IOTA = "Ι"
345 KAPPA = "Κ"
346 LAMDA = "Λ"
347 MU = "Μ"
348 NU = "Ν"
349 XI = "Ξ"
350 OMICRON = "Ο"
351 PI = "Π"
352 RHO = "Ρ"
353 SIGMA = "Σ"
354 TAU = "Τ"
355 UPSILON = "Υ"
356 PHI = "Φ"
357 CHI = "Χ"
358 PSI = "Ψ"
359 OMEGA = "Ω"
360
361 alpha = "α"
362 beta = "β"
363 gamma = "γ"
364 delta = "δ"
365 epsilon = "ε"
366 zeta = "ζ"
367 eta = "η"
368 theta = "θ"
369 iota = "ι"
370 kappa = "κ"
371 lamda = "λ"
372 mu = "μ"
373 nu = "ν"
374 xi = "ξ"
375 omicron = "ο"
376 pi = "π"
377 rho = "ρ"
378 stigma = "ς"
379 sigma = "σ"
380 tau = "τ"
381 upsilon = "υ"
382 phi = "φ"
383 chi = "χ"
384 psi = "ψ"
385 omega = "ω"
386
387
388 # 俄语字母
389 eyu = "Ё","А","Б","В","Г","Д","Е","Ж"
390 eyu = "З","И","Й","К","Л","М","Н","О"
391 eyu = "П","Р","С","Т","У","Ф","Х","Ц"
392 eyu = "Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю"
393 eyu = "Я","а","б","в","г","д","е","ж"
394 eyu = "з","и","й","к","л","м","н","о"
395 eyu = "п","р","с","т","у","ф","х","ц"
396 eyu = "ч","ш","щ","ъ","ы","ь","э","ю"
397 eyu = "я","ё"
398
399 # 同上
400 cyrillic = "Ё","А","Б","В","Г","Д","Е","Ж"
401 cyrillic = "З","И","Й","К","Л","М","Н","О"
402 cyrillic = "П","Р","С","Т","У","Ф","Х","Ц"
403 cyrillic = "Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю"
404 cyrillic = "Я","а","б","в","г","д","е","ж"
405 cyrillic = "з","и","й","к","л","м","н","о"
406 cyrillic = "п","р","с","т","у","ф","х","ц"
407 cyrillic = "ч","ш","щ","ъ","ы","ь","э","ю"
408 cyrillic = "я","ё"
409
410 # 制表符
411 table = "─","━","│","┃","┄","┅","┆","┇"
412 table = "┈","┉","┊","┋","┌","┍","┎","┏"
413 table = "┐","┑","┒","┓","└","┕","┖","┗"
414 table = "┘","┙","┚","┛","├","┝","┞","┟"
415 table = "┠","┡","┢","┣","┤","┥","┦","┧"
416 table = "┨","┩","┪","┫","┬","┭","┮","┯"
417 table = "┰","┱","┲","┳","┴","┵","┶","┷"
418 table = "┸","┹","┺","┻","┼","┽","┾","┿"
419 table = "╀","╁","╂","╃","╄","╅","╆","╇"
420 table = "╈","╉","╊","╋","═","║","╒","╓"
421 table = "╔","╕","╖","╗","╘","╙","╚","╛"
422 table = "╜","╝","╞","╟","╠","╡","╢","╣"
423 table = "╤","╥","╦","╧","╨","╩","╪","╫"
424 table = "╬","╭","╮","╯","╰","╱","╲","╳"
425
426 # 同上
427 zbf = "─","━","│","┃","┄","┅","┆","┇"
428 zbf = "┈","┉","┊","┋","┌","┍","┎","┏"
429 zbf = "┐","┑","┒","┓","└","┕","┖","┗"
430 zbf = "┘","┙","┚","┛","├","┝","┞","┟"
431 zbf = "┠","┡","┢","┣","┤","┥","┦","┧"
432 zbf = "┨","┩","┪","┫","┬","┭","┮","┯"
433 zbf = "┰","┱","┲","┳","┴","┵","┶","┷"
434 zbf = "┸","┹","┺","┻","┼","┽","┾","┿"
435 zbf = "╀","╁","╂","╃","╄","╅","╆","╇"
436 zbf = "╈","╉","╊","╋","═","║","╒","╓"
437 zbf = "╔","╕","╖","╗","╘","╙","╚","╛"
438 zbf = "╜","╝","╞","╟","╠","╡","╢","╣"
439 zbf = "╤","╥","╦","╧","╨","╩","╪","╫"
440 zbf = "╬","╭","╮","╯","╰","╱","╲","╳"
441
442 # 同上
443 zhibiao = "─","━","│","┃","┄","┅","┆","┇"
444 zhibiao = "┈","┉","┊","┋","┌","┍","┎","┏"
445 zhibiao = "┐","┑","┒","┓","└","┕","┖","┗"
446 zhibiao = "┘","┙","┚","┛","├","┝","┞","┟"
447 zhibiao = "┠","┡","┢","┣","┤","┥","┦","┧"
448 zhibiao = "┨","┩","┪","┫","┬","┭","┮","┯"
449 zhibiao = "┰","┱","┲","┳","┴","┵","┶","┷"
450 zhibiao = "┸","┹","┺","┻","┼","┽","┾","┿"
451 zhibiao = "╀","╁","╂","╃","╄","╅","╆","╇"
452 zhibiao = "╈","╉","╊","╋","═","║","╒","╓"
453 zhibiao = "╔","╕","╖","╗","╘","╙","╚","╛"
454 zhibiao = "╜","╝","╞","╟","╠","╡","╢","╣"
455 zhibiao = "╤","╥","╦","╧","╨","╩","╪","╫"
456 zhibiao = "╬","╭","╮","╯","╰","╱","╲","╳"
457
458
459 # 块状图案
460 block = "▁","▂","▃","▄","▅","▆","▇","█"
461 block = "▉","▊","▋","▌","▍","▎","▏","▓"
462 block = "▔","▕"
463
464 kuai = "▁","▂","▃","▄","▅","▆","▇","█"
465 kuai = "▉","▊","▋","▌","▍","▎","▏","▓"
466 kuai = "▔","▕"
467
468 cfx = "▁","▂","▃","▄","▅","▆","▇","█"
469 cfx = "▉","▊","▋","▌","▍","▎","▏","▓"
470 cfx = "▔","▕"
471
472 # 几何形状
473 fangkuai = "■","□"
474 square = "■","□"
475 zfx = "■","□"
476 heifangkuai = "■"
477 blacksquare = "■"
478 hfk = "■"
479 baifangkuai = "□"
480 whitesquare = "□"
481 bfk = "□"
482
483 sanjiao = "▲","△","▼","▽","◢","◣","◤","◥"
484 triangle = "▲","△","▼","▽"
485 sjx = "▲","△","▼","▽","◢","◣","◤","◥"
486 shangsanjiao = "▲","△"
487 xiasanjiao = "▼","▽"
488 ssj = "▲","△"
489 xsj = "▼","▽"
490 hssj = "▲"
491 bssj = "△"
492 hxsj = "▼"
493 bxsj = "▽"
494
495 zuanshi = "◆","◇"
496 diamond = "◆","◇"
497 hzs = "◆"
498 bzs = "◇"
499
500 yuanquan = "○","◎","●"
501 circle = "○","◎","●"
502 yq = "○","◎","●"
503 byq = "○"
504 syq = "◎"
505 hyq = "●"
506
507 wujiaoxing = "★","☆"
508 wjx = "★","☆"
509 star = "★","☆"
510 hwjx = "★"
511 bwjx = "☆"
512
513 taiyang = "☉"
514 sun = "☉"
515
516 xingbie = "♀","♂"
517 xb = "♀","♂"
518 cixing = "♀"
519 nvren = "♀"
520 female = "♀"
521
522 xiongxing = "♂"
523 nanren = "♂"
524 male = "♂"
525
526 # 偏旁部首
527 pianpang = "⺁","⺄","⺈","⺋","⺌","⺗","⺧","⺪"
528 pianpang = "⺮","⺳","⺶","⺷","⺻","⻊"
529 radical = "⺁","⺄","⺈","⺋","⺌","⺗","⺧","⺪"
530 radical = "⺮","⺳","⺶","⺷","⺻","⻊"
531 pp = "⺁","⺄","⺈","⺋","⺌","⺗","⺧","⺪"
532 pp = "⺮","⺳","⺶","⺷","⺻","⻊"
533
534 # 汉字结构描述符
535 jiegou = "⿰","⿱","⿲","⿳","⿴","⿵","⿶","⿷"
536 jiegou = "⿸","⿹","⿺","⿻"
537 struct = "⿰","⿱","⿲","⿳","⿴","⿵","⿶","⿷"
538 struct = "⿸","⿹","⿺","⿻"
539 hzjg = "⿰","⿱","⿲","⿳","⿴","⿵","⿶","⿷"
540 hzjg = "⿸","⿹","⿺","⿻"
541
542
543 # 度量单位
544 danwei = "㎎","㎏","㎜","㎝","㎞","㎡","㏄","㏎","㏕"
545 unit = "㎎","㎏","㎜","㎝","㎞","㎡","㏄","㏎","㏕"
546
547 mg = "㎎"
548 kg = "㎏"
549 mm = "㎜"
550 cm = "㎝"
551 km = "㎞"
552 m2 = "㎡"
553 cc = "㏄"
554 KM = "㏎"
555 mil = "㏕"
556
557 # 中文拼音
558 pinyina = "ā","á","ǎ","à"
559 pinyinA = "Ā","Á","Ǎ","À"
560 pinyine = "ē","é","ě","è"
561 pinyinE = "Ē","É","Ě","È"
562 pinyini = "ī","í","ǐ","ì"
563 pinyinI = "Ī","Í","Ǐ","Ì"
564 pinyino = "ō","ó","ǒ","ò"
565 pinyinO = "Ō","Ó","Ǒ","Ò"
566 pinyinu = "ū","ú","ǔ","ù"
567 pinyinU = "Ū","Ú","Ǔ","Ù"
568 pinyinv = "ǖ","ǘ","ǚ","ǜ","ü"
569 pinyinV = "Ǖ","Ǘ","Ǚ","Ǜ","Ü"
570
571 # 其他
572 hp = "Peng Huang <shawn.p.huang@gmail.com>"
0 #! /bin/sh
1 # test-driver - basic testsuite driver script.
2
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 # As a special exception to the GNU General Public License, if you
21 # distribute this file as part of a program that contains a
22 # configuration script generated by Autoconf, you may include it under
23 # the same distribution terms that you use for the rest of that program.
24
25 # This file is maintained in Automake, please report
26 # bugs to <bug-automake@gnu.org> or send patches to
27 # <automake-patches@gnu.org>.
28
29 # Make unconditional expansion of undefined variables an error. This
30 # helps a lot in preventing typo-related bugs.
31 set -u
32
33 usage_error ()
34 {
35 echo "$0: $*" >&2
36 print_usage >&2
37 exit 2
38 }
39
40 print_usage ()
41 {
42 cat <<END
43 Usage:
44 test-driver --test-name NAME --log-file PATH --trs-file PATH
45 [--expect-failure {yes|no}] [--color-tests {yes|no}]
46 [--enable-hard-errors {yes|no}] [--]
47 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48
49 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
50 See the GNU Automake documentation for information.
51 END
52 }
53
54 test_name= # Used for reporting.
55 log_file= # Where to save the output of the test script.
56 trs_file= # Where to save the metadata of the test run.
57 expect_failure=no
58 color_tests=no
59 enable_hard_errors=yes
60 while test $# -gt 0; do
61 case $1 in
62 --help) print_usage; exit $?;;
63 --version) echo "test-driver $scriptversion"; exit $?;;
64 --test-name) test_name=$2; shift;;
65 --log-file) log_file=$2; shift;;
66 --trs-file) trs_file=$2; shift;;
67 --color-tests) color_tests=$2; shift;;
68 --expect-failure) expect_failure=$2; shift;;
69 --enable-hard-errors) enable_hard_errors=$2; shift;;
70 --) shift; break;;
71 -*) usage_error "invalid option: '$1'";;
72 *) break;;
73 esac
74 shift
75 done
76
77 missing_opts=
78 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
79 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
80 test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
81 if test x"$missing_opts" != x; then
82 usage_error "the following mandatory options are missing:$missing_opts"
83 fi
84
85 if test $# -eq 0; then
86 usage_error "missing argument"
87 fi
88
89 if test $color_tests = yes; then
90 # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
91 red='' # Red.
92 grn='' # Green.
93 lgn='' # Light green.
94 blu='' # Blue.
95 mgn='' # Magenta.
96 std='' # No color.
97 else
98 red= grn= lgn= blu= mgn= std=
99 fi
100
101 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
102 trap "st=129; $do_exit" 1
103 trap "st=130; $do_exit" 2
104 trap "st=141; $do_exit" 13
105 trap "st=143; $do_exit" 15
106
107 # Test script is run here. We create the file first, then append to it,
108 # to ameliorate tests themselves also writing to the log file. Our tests
109 # don't, but others can (automake bug#35762).
110 : >"$log_file"
111 "$@" >>"$log_file" 2>&1
112 estatus=$?
113
114 if test $enable_hard_errors = no && test $estatus -eq 99; then
115 tweaked_estatus=1
116 else
117 tweaked_estatus=$estatus
118 fi
119
120 case $tweaked_estatus:$expect_failure in
121 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
122 0:*) col=$grn res=PASS recheck=no gcopy=no;;
123 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
124 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
125 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
126 *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
127 esac
128
129 # Report the test outcome and exit status in the logs, so that one can
130 # know whether the test passed or failed simply by looking at the '.log'
131 # file, without the need of also peaking into the corresponding '.trs'
132 # file (automake bug#11814).
133 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
134
135 # Report outcome to console.
136 echo "${col}${res}${std}: $test_name"
137
138 # Register the test result, and other relevant metadata.
139 echo ":test-result: $res" > $trs_file
140 echo ":global-test-result: $res" >> $trs_file
141 echo ":recheck: $recheck" >> $trs_file
142 echo ":copy-in-global-log: $gcopy" >> $trs_file
143
144 # Local Variables:
145 # mode: shell-script
146 # sh-indentation: 2
147 # eval: (add-hook 'before-save-hook 'time-stamp)
148 # time-stamp-start: "scriptversion="
149 # time-stamp-format: "%:y-%02m-%02d.%02H"
150 # time-stamp-time-zone: "UTC0"
151 # time-stamp-end: "; # UTC"
152 # End: