Codebase list libdiscid / 2f99d5a
Update upstream source from tag 'upstream/0.6.4' Update to upstream version '0.6.4' with Debian dir 4367339c476d5dfe2604b05331c2c8bffdf2bdb0 Sebastian Ramacher 1 year, 2 months ago
28 changed file(s) with 7183 addition(s) and 7454 deletion(s). Raw diff Collapse all Expand all
+0
-1282
ABOUT-NLS less more
0 1 Notes on the Free Translation Project
1 ***************************************
2
3 Free software is going international! The Free Translation Project is
4 a way to get maintainers of free software, translators, and users all
5 together, so that free software will gradually become able to speak many
6 languages. A few packages already provide translations for their
7 messages.
8
9 If you found this `ABOUT-NLS' file inside a distribution, you may
10 assume that the distributed package does use GNU `gettext' internally,
11 itself available at your nearest GNU archive site. But you do _not_
12 need to install GNU `gettext' prior to configuring, installing or using
13 this package with messages translated.
14
15 Installers will find here some useful hints. These notes also
16 explain how users should proceed for getting the programs to use the
17 available translations. They tell how people wanting to contribute and
18 work on translations can contact the appropriate team.
19
20 1.1 INSTALL Matters
21 ===================
22
23 Some packages are "localizable" when properly installed; the programs
24 they contain can be made to speak your own native language. Most such
25 packages use GNU `gettext'. Other packages have their own ways to
26 internationalization, predating GNU `gettext'.
27
28 By default, this package will be installed to allow translation of
29 messages. It will automatically detect whether the system already
30 provides the GNU `gettext' functions. Installers may use special
31 options at configuration time for changing the default behaviour. The
32 command:
33
34 ./configure --disable-nls
35
36 will _totally_ disable translation of messages.
37
38 When you already have GNU `gettext' installed on your system and run
39 configure without an option for your new package, `configure' will
40 probably detect the previously built and installed `libintl' library
41 and will decide to use it. If not, you may have to to use the
42 `--with-libintl-prefix' option to tell `configure' where to look for it.
43
44 Internationalized packages usually have many `po/LL.po' files, where
45 LL gives an ISO 639 two-letter code identifying the language. Unless
46 translations have been forbidden at `configure' time by using the
47 `--disable-nls' switch, all available translations are installed
48 together with the package. However, the environment variable `LINGUAS'
49 may be set, prior to configuration, to limit the installed set.
50 `LINGUAS' should then contain a space separated list of two-letter
51 codes, stating which languages are allowed.
52
53 1.2 Using This Package
54 ======================
55
56 As a user, if your language has been installed for this package, you
57 only have to set the `LANG' environment variable to the appropriate
58 `LL_CC' combination. If you happen to have the `LC_ALL' or some other
59 `LC_xxx' environment variables set, you should unset them before
60 setting `LANG', otherwise the setting of `LANG' will not have the
61 desired effect. Here `LL' is an ISO 639 two-letter language code, and
62 `CC' is an ISO 3166 two-letter country code. For example, let's
63 suppose that you speak German and live in Germany. At the shell
64 prompt, merely execute `setenv LANG de_DE' (in `csh'),
65 `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
66 This can be done from your `.login' or `.profile' file, once and for
67 all.
68
69 You might think that the country code specification is redundant.
70 But in fact, some languages have dialects in different countries. For
71 example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
72 country code serves to distinguish the dialects.
73
74 The locale naming convention of `LL_CC', with `LL' denoting the
75 language and `CC' denoting the country, is the one use on systems based
76 on GNU libc. On other systems, some variations of this scheme are
77 used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
78 locales supported by your system for your language by running the
79 command `locale -a | grep '^LL''.
80
81 Not all programs have translations for all languages. By default, an
82 English message is shown in place of a nonexistent translation. If you
83 understand other languages, you can set up a priority list of languages.
84 This is done through a different environment variable, called
85 `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
86 for the purpose of message handling, but you still need to have `LANG'
87 set to the primary language; this is required by other parts of the
88 system libraries. For example, some Swedish users who would rather
89 read translations in German than English for when Swedish is not
90 available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
91
92 Special advice for Norwegian users: The language code for Norwegian
93 bokma*l changed from `no' to `nb' recently (in 2003). During the
94 transition period, while some message catalogs for this language are
95 installed under `nb' and some older ones under `no', it's recommended
96 for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
97 older translations are used.
98
99 In the `LANGUAGE' environment variable, but not in the `LANG'
100 environment variable, `LL_CC' combinations can be abbreviated as `LL'
101 to denote the language's main dialect. For example, `de' is equivalent
102 to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
103 (Portuguese as spoken in Portugal) in this context.
104
105 1.3 Translating Teams
106 =====================
107
108 For the Free Translation Project to be a success, we need interested
109 people who like their own language and write it well, and who are also
110 able to synergize with other translators speaking the same language.
111 Each translation team has its own mailing list. The up-to-date list of
112 teams can be found at the Free Translation Project's homepage,
113 `http://translationproject.org/', in the "Teams" area.
114
115 If you'd like to volunteer to _work_ at translating messages, you
116 should become a member of the translating team for your own language.
117 The subscribing address is _not_ the same as the list itself, it has
118 `-request' appended. For example, speakers of Swedish can send a
119 message to `sv-request@li.org', having this message body:
120
121 subscribe
122
123 Keep in mind that team members are expected to participate
124 _actively_ in translations, or at solving translational difficulties,
125 rather than merely lurking around. If your team does not exist yet and
126 you want to start one, or if you are unsure about what to do or how to
127 get started, please write to `coordinator@translationproject.org' to
128 reach the coordinator for all translator teams.
129
130 The English team is special. It works at improving and uniformizing
131 the terminology in use. Proven linguistic skills are praised more than
132 programming skills, here.
133
134 1.4 Available Packages
135 ======================
136
137 Languages are not equally supported in all packages. The following
138 matrix shows the current state of internationalization, as of June
139 2010. The matrix shows, in regard of each package, for which languages
140 PO files have been submitted to translation coordination, with a
141 translation percentage of at least 50%.
142
143 Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca
144 +--------------------------------------------------+
145 a2ps | [] [] |
146 aegis | |
147 ant-phone | |
148 anubis | |
149 aspell | [] [] |
150 bash | |
151 bfd | |
152 bibshelf | [] |
153 binutils | |
154 bison | |
155 bison-runtime | [] |
156 bluez-pin | [] [] |
157 bombono-dvd | |
158 buzztard | |
159 cflow | |
160 clisp | |
161 coreutils | [] [] |
162 cpio | |
163 cppi | |
164 cpplib | [] |
165 cryptsetup | |
166 dfarc | |
167 dialog | [] [] |
168 dico | |
169 diffutils | [] |
170 dink | |
171 doodle | |
172 e2fsprogs | [] |
173 enscript | [] |
174 exif | |
175 fetchmail | [] |
176 findutils | [] |
177 flex | [] |
178 freedink | |
179 gas | |
180 gawk | [] [] |
181 gcal | [] |
182 gcc | |
183 gettext-examples | [] [] [] [] |
184 gettext-runtime | [] [] |
185 gettext-tools | [] [] |
186 gip | [] |
187 gjay | |
188 gliv | [] |
189 glunarclock | [] [] |
190 gnubiff | |
191 gnucash | [] |
192 gnuedu | |
193 gnulib | |
194 gnunet | |
195 gnunet-gtk | |
196 gnutls | |
197 gold | |
198 gpe-aerial | |
199 gpe-beam | |
200 gpe-bluetooth | |
201 gpe-calendar | |
202 gpe-clock | [] |
203 gpe-conf | |
204 gpe-contacts | |
205 gpe-edit | |
206 gpe-filemanager | |
207 gpe-go | |
208 gpe-login | |
209 gpe-ownerinfo | [] |
210 gpe-package | |
211 gpe-sketchbook | |
212 gpe-su | [] |
213 gpe-taskmanager | [] |
214 gpe-timesheet | [] |
215 gpe-today | [] |
216 gpe-todo | |
217 gphoto2 | |
218 gprof | [] |
219 gpsdrive | |
220 gramadoir | |
221 grep | |
222 grub | [] [] |
223 gsasl | |
224 gss | |
225 gst-plugins-bad | [] |
226 gst-plugins-base | [] |
227 gst-plugins-good | [] |
228 gst-plugins-ugly | [] |
229 gstreamer | [] [] [] |
230 gtick | |
231 gtkam | [] |
232 gtkorphan | [] |
233 gtkspell | [] [] [] |
234 gutenprint | |
235 hello | [] |
236 help2man | |
237 hylafax | |
238 idutils | |
239 indent | [] [] |
240 iso_15924 | |
241 iso_3166 | [] [] [] [] [] [] [] |
242 iso_3166_2 | |
243 iso_4217 | |
244 iso_639 | [] [] [] [] |
245 iso_639_3 | |
246 jwhois | |
247 kbd | |
248 keytouch | [] |
249 keytouch-editor | |
250 keytouch-keyboa... | [] |
251 klavaro | [] |
252 latrine | |
253 ld | [] |
254 leafpad | [] [] |
255 libc | [] [] |
256 libexif | () |
257 libextractor | |
258 libgnutls | |
259 libgpewidget | |
260 libgpg-error | |
261 libgphoto2 | |
262 libgphoto2_port | |
263 libgsasl | |
264 libiconv | [] |
265 libidn | |
266 lifelines | |
267 liferea | [] [] |
268 lilypond | |
269 linkdr | [] |
270 lordsawar | |
271 lprng | |
272 lynx | [] |
273 m4 | |
274 mailfromd | |
275 mailutils | |
276 make | |
277 man-db | |
278 man-db-manpages | |
279 minicom | |
280 mkisofs | |
281 myserver | |
282 nano | [] [] |
283 opcodes | |
284 parted | |
285 pies | |
286 popt | |
287 psmisc | |
288 pspp | [] |
289 pwdutils | |
290 radius | [] |
291 recode | [] [] |
292 rosegarden | |
293 rpm | |
294 rush | |
295 sarg | |
296 screem | |
297 scrollkeeper | [] [] [] |
298 sed | [] [] |
299 sharutils | [] [] |
300 shishi | |
301 skencil | |
302 solfege | |
303 solfege-manual | |
304 soundtracker | |
305 sp | |
306 sysstat | |
307 tar | [] |
308 texinfo | |
309 tin | |
310 unicode-han-tra... | |
311 unicode-transla... | |
312 util-linux-ng | [] |
313 vice | |
314 vmm | |
315 vorbis-tools | |
316 wastesedge | |
317 wdiff | |
318 wget | [] [] |
319 wyslij-po | |
320 xchat | [] [] [] [] |
321 xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
322 xkeyboard-config | [] [] |
323 +--------------------------------------------------+
324 af am an ar as ast az be be@latin bg bn_IN bs ca
325 6 0 1 2 3 19 1 10 3 28 3 1 38
326
327 crh cs da de el en en_GB en_ZA eo es et eu fa
328 +-------------------------------------------------+
329 a2ps | [] [] [] [] [] [] [] |
330 aegis | [] [] [] |
331 ant-phone | [] () |
332 anubis | [] [] |
333 aspell | [] [] [] [] [] |
334 bash | [] [] [] |
335 bfd | [] |
336 bibshelf | [] [] [] |
337 binutils | [] |
338 bison | [] [] |
339 bison-runtime | [] [] [] [] |
340 bluez-pin | [] [] [] [] [] [] |
341 bombono-dvd | [] |
342 buzztard | [] [] [] |
343 cflow | [] [] |
344 clisp | [] [] [] [] |
345 coreutils | [] [] [] [] |
346 cpio | |
347 cppi | |
348 cpplib | [] [] [] |
349 cryptsetup | [] |
350 dfarc | [] [] [] |
351 dialog | [] [] [] [] [] |
352 dico | |
353 diffutils | [] [] [] [] [] [] |
354 dink | [] [] [] |
355 doodle | [] |
356 e2fsprogs | [] [] [] |
357 enscript | [] [] [] |
358 exif | () [] [] |
359 fetchmail | [] [] () [] [] [] |
360 findutils | [] [] [] |
361 flex | [] [] |
362 freedink | [] [] [] |
363 gas | [] |
364 gawk | [] [] [] |
365 gcal | [] |
366 gcc | [] [] |
367 gettext-examples | [] [] [] [] |
368 gettext-runtime | [] [] [] [] |
369 gettext-tools | [] [] [] |
370 gip | [] [] [] [] |
371 gjay | [] |
372 gliv | [] [] [] |
373 glunarclock | [] [] |
374 gnubiff | () |
375 gnucash | [] () () () () |
376 gnuedu | [] [] |
377 gnulib | [] [] |
378 gnunet | |
379 gnunet-gtk | [] |
380 gnutls | [] [] |
381 gold | [] |
382 gpe-aerial | [] [] [] [] |
383 gpe-beam | [] [] [] [] |
384 gpe-bluetooth | [] [] |
385 gpe-calendar | [] |
386 gpe-clock | [] [] [] [] |
387 gpe-conf | [] [] [] |
388 gpe-contacts | [] [] [] |
389 gpe-edit | [] [] |
390 gpe-filemanager | [] [] [] |
391 gpe-go | [] [] [] [] |
392 gpe-login | [] [] |
393 gpe-ownerinfo | [] [] [] [] |
394 gpe-package | [] [] [] |
395 gpe-sketchbook | [] [] [] [] |
396 gpe-su | [] [] [] [] |
397 gpe-taskmanager | [] [] [] [] |
398 gpe-timesheet | [] [] [] [] |
399 gpe-today | [] [] [] [] |
400 gpe-todo | [] [] [] |
401 gphoto2 | [] [] () [] [] [] |
402 gprof | [] [] [] |
403 gpsdrive | [] [] [] |
404 gramadoir | [] [] [] |
405 grep | [] |
406 grub | [] [] |
407 gsasl | [] |
408 gss | |
409 gst-plugins-bad | [] [] [] [] [] |
410 gst-plugins-base | [] [] [] [] [] |
411 gst-plugins-good | [] [] [] [] [] [] |
412 gst-plugins-ugly | [] [] [] [] [] [] |
413 gstreamer | [] [] [] [] [] |
414 gtick | [] () [] |
415 gtkam | [] [] () [] [] |
416 gtkorphan | [] [] [] [] |
417 gtkspell | [] [] [] [] [] [] [] |
418 gutenprint | [] [] [] |
419 hello | [] [] [] [] |
420 help2man | [] |
421 hylafax | [] [] |
422 idutils | [] [] |
423 indent | [] [] [] [] [] [] [] |
424 iso_15924 | [] () [] [] |
425 iso_3166 | [] [] [] [] () [] [] [] () |
426 iso_3166_2 | () |
427 iso_4217 | [] [] [] () [] [] |
428 iso_639 | [] [] [] [] () [] [] |
429 iso_639_3 | [] |
430 jwhois | [] |
431 kbd | [] [] [] [] [] |
432 keytouch | [] [] |
433 keytouch-editor | [] [] |
434 keytouch-keyboa... | [] |
435 klavaro | [] [] [] [] |
436 latrine | [] () |
437 ld | [] [] |
438 leafpad | [] [] [] [] [] [] |
439 libc | [] [] [] [] |
440 libexif | [] [] () |
441 libextractor | |
442 libgnutls | [] |
443 libgpewidget | [] [] |
444 libgpg-error | [] [] |
445 libgphoto2 | [] () |
446 libgphoto2_port | [] () [] |
447 libgsasl | |
448 libiconv | [] [] [] [] [] |
449 libidn | [] [] [] |
450 lifelines | [] () |
451 liferea | [] [] [] [] [] |
452 lilypond | [] [] [] |
453 linkdr | [] [] [] |
454 lordsawar | [] |
455 lprng | |
456 lynx | [] [] [] [] |
457 m4 | [] [] [] [] |
458 mailfromd | |
459 mailutils | [] |
460 make | [] [] [] |
461 man-db | |
462 man-db-manpages | |
463 minicom | [] [] [] [] |
464 mkisofs | |
465 myserver | |
466 nano | [] [] [] |
467 opcodes | [] [] |
468 parted | [] [] |
469 pies | |
470 popt | [] [] [] [] [] |
471 psmisc | [] [] [] |
472 pspp | [] |
473 pwdutils | [] |
474 radius | [] |
475 recode | [] [] [] [] [] [] |
476 rosegarden | () () () |
477 rpm | [] [] [] |
478 rush | |
479 sarg | |
480 screem | |
481 scrollkeeper | [] [] [] [] [] |
482 sed | [] [] [] [] [] [] |
483 sharutils | [] [] [] [] |
484 shishi | |
485 skencil | [] () [] |
486 solfege | [] [] [] |
487 solfege-manual | [] [] |
488 soundtracker | [] [] [] |
489 sp | [] |
490 sysstat | [] [] [] |
491 tar | [] [] [] [] |
492 texinfo | [] [] [] |
493 tin | [] [] |
494 unicode-han-tra... | |
495 unicode-transla... | |
496 util-linux-ng | [] [] [] [] |
497 vice | () () |
498 vmm | [] |
499 vorbis-tools | [] [] |
500 wastesedge | [] |
501 wdiff | [] [] |
502 wget | [] [] [] |
503 wyslij-po | |
504 xchat | [] [] [] [] [] |
505 xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
506 xkeyboard-config | [] [] [] [] [] [] |
507 +-------------------------------------------------+
508 crh cs da de el en en_GB en_ZA eo es et eu fa
509 5 64 105 117 18 1 8 0 28 89 18 19 0
510
511 fi fr ga gl gu he hi hr hu hy id is it ja ka kn
512 +----------------------------------------------------+
513 a2ps | [] [] [] [] |
514 aegis | [] [] |
515 ant-phone | [] [] |
516 anubis | [] [] [] [] |
517 aspell | [] [] [] [] |
518 bash | [] [] [] [] |
519 bfd | [] [] [] |
520 bibshelf | [] [] [] [] [] |
521 binutils | [] [] [] |
522 bison | [] [] [] [] |
523 bison-runtime | [] [] [] [] [] [] |
524 bluez-pin | [] [] [] [] [] [] [] [] |
525 bombono-dvd | [] |
526 buzztard | [] |
527 cflow | [] [] [] |
528 clisp | [] |
529 coreutils | [] [] [] [] [] |
530 cpio | [] [] [] [] |
531 cppi | [] [] |
532 cpplib | [] [] [] |
533 cryptsetup | [] [] [] |
534 dfarc | [] [] [] |
535 dialog | [] [] [] [] [] [] [] |
536 dico | |
537 diffutils | [] [] [] [] [] [] [] [] [] |
538 dink | [] |
539 doodle | [] [] |
540 e2fsprogs | [] [] |
541 enscript | [] [] [] [] |
542 exif | [] [] [] [] [] [] |
543 fetchmail | [] [] [] [] |
544 findutils | [] [] [] [] [] [] |
545 flex | [] [] [] |
546 freedink | [] [] [] |
547 gas | [] [] |
548 gawk | [] [] [] [] () [] |
549 gcal | [] |
550 gcc | [] |
551 gettext-examples | [] [] [] [] [] [] [] |
552 gettext-runtime | [] [] [] [] [] [] |
553 gettext-tools | [] [] [] [] |
554 gip | [] [] [] [] [] [] |
555 gjay | [] |
556 gliv | [] () |
557 glunarclock | [] [] [] [] |
558 gnubiff | () [] () |
559 gnucash | () () () () () [] |
560 gnuedu | [] [] |
561 gnulib | [] [] [] [] [] [] |
562 gnunet | |
563 gnunet-gtk | [] |
564 gnutls | [] [] |
565 gold | [] [] |
566 gpe-aerial | [] [] [] |
567 gpe-beam | [] [] [] [] |
568 gpe-bluetooth | [] [] [] [] |
569 gpe-calendar | [] [] |
570 gpe-clock | [] [] [] [] [] |
571 gpe-conf | [] [] [] [] |
572 gpe-contacts | [] [] [] [] |
573 gpe-edit | [] [] [] |
574 gpe-filemanager | [] [] [] [] |
575 gpe-go | [] [] [] [] [] |
576 gpe-login | [] [] [] |
577 gpe-ownerinfo | [] [] [] [] [] |
578 gpe-package | [] [] [] |
579 gpe-sketchbook | [] [] [] [] |
580 gpe-su | [] [] [] [] [] [] |
581 gpe-taskmanager | [] [] [] [] [] |
582 gpe-timesheet | [] [] [] [] [] |
583 gpe-today | [] [] [] [] [] [] [] |
584 gpe-todo | [] [] [] |
585 gphoto2 | [] [] [] [] [] [] |
586 gprof | [] [] [] [] |
587 gpsdrive | [] [] [] |
588 gramadoir | [] [] [] |
589 grep | [] [] |
590 grub | [] [] [] [] |
591 gsasl | [] [] [] [] [] |
592 gss | [] [] [] [] [] |
593 gst-plugins-bad | [] [] [] [] [] [] |
594 gst-plugins-base | [] [] [] [] [] [] |
595 gst-plugins-good | [] [] [] [] [] [] |
596 gst-plugins-ugly | [] [] [] [] [] [] |
597 gstreamer | [] [] [] [] [] |
598 gtick | [] [] [] [] [] |
599 gtkam | [] [] [] [] [] |
600 gtkorphan | [] [] [] |
601 gtkspell | [] [] [] [] [] [] [] [] [] |
602 gutenprint | [] [] [] [] |
603 hello | [] [] [] |
604 help2man | [] [] |
605 hylafax | [] |
606 idutils | [] [] [] [] [] [] |
607 indent | [] [] [] [] [] [] [] [] |
608 iso_15924 | [] () [] [] |
609 iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] |
610 iso_3166_2 | () [] [] [] |
611 iso_4217 | [] () [] [] [] [] |
612 iso_639 | [] () [] [] [] [] [] [] [] |
613 iso_639_3 | () [] [] |
614 jwhois | [] [] [] [] [] |
615 kbd | [] [] |
616 keytouch | [] [] [] [] [] [] |
617 keytouch-editor | [] [] [] [] [] |
618 keytouch-keyboa... | [] [] [] [] [] |
619 klavaro | [] [] |
620 latrine | [] [] [] |
621 ld | [] [] [] [] |
622 leafpad | [] [] [] [] [] [] [] () |
623 libc | [] [] [] [] [] |
624 libexif | [] |
625 libextractor | |
626 libgnutls | [] [] |
627 libgpewidget | [] [] [] [] |
628 libgpg-error | [] [] |
629 libgphoto2 | [] [] [] |
630 libgphoto2_port | [] [] [] |
631 libgsasl | [] [] [] [] [] |
632 libiconv | [] [] [] [] [] [] |
633 libidn | [] [] [] [] |
634 lifelines | () |
635 liferea | [] [] [] [] |
636 lilypond | [] [] |
637 linkdr | [] [] [] [] [] |
638 lordsawar | |
639 lprng | [] |
640 lynx | [] [] [] [] [] |
641 m4 | [] [] [] [] [] [] |
642 mailfromd | |
643 mailutils | [] [] |
644 make | [] [] [] [] [] [] [] [] [] |
645 man-db | [] [] |
646 man-db-manpages | [] |
647 minicom | [] [] [] [] [] |
648 mkisofs | [] [] [] [] |
649 myserver | |
650 nano | [] [] [] [] [] [] |
651 opcodes | [] [] [] [] |
652 parted | [] [] [] [] |
653 pies | |
654 popt | [] [] [] [] [] [] [] [] [] |
655 psmisc | [] [] [] |
656 pspp | |
657 pwdutils | [] [] |
658 radius | [] [] |
659 recode | [] [] [] [] [] [] [] [] |
660 rosegarden | () () () () () |
661 rpm | [] [] |
662 rush | |
663 sarg | [] |
664 screem | [] [] |
665 scrollkeeper | [] [] [] [] |
666 sed | [] [] [] [] [] [] [] [] |
667 sharutils | [] [] [] [] [] [] [] |
668 shishi | [] |
669 skencil | [] |
670 solfege | [] [] [] [] |
671 solfege-manual | [] [] |
672 soundtracker | [] [] |
673 sp | [] () |
674 sysstat | [] [] [] [] [] |
675 tar | [] [] [] [] [] [] [] |
676 texinfo | [] [] [] [] |
677 tin | [] |
678 unicode-han-tra... | |
679 unicode-transla... | [] [] |
680 util-linux-ng | [] [] [] [] [] [] |
681 vice | () () () |
682 vmm | [] |
683 vorbis-tools | [] |
684 wastesedge | () () |
685 wdiff | [] |
686 wget | [] [] [] [] [] [] [] [] |
687 wyslij-po | [] [] [] |
688 xchat | [] [] [] [] [] [] [] [] [] |
689 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
690 xkeyboard-config | [] [] [] [] [] |
691 +----------------------------------------------------+
692 fi fr ga gl gu he hi hr hu hy id is it ja ka kn
693 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4
694
695 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
696 +-----------------------------------------------+
697 a2ps | [] |
698 aegis | |
699 ant-phone | |
700 anubis | [] [] |
701 aspell | [] |
702 bash | |
703 bfd | |
704 bibshelf | [] [] |
705 binutils | |
706 bison | [] |
707 bison-runtime | [] [] [] [] [] |
708 bluez-pin | [] [] [] [] [] |
709 bombono-dvd | |
710 buzztard | |
711 cflow | |
712 clisp | |
713 coreutils | [] |
714 cpio | |
715 cppi | |
716 cpplib | |
717 cryptsetup | |
718 dfarc | [] |
719 dialog | [] [] [] [] [] |
720 dico | |
721 diffutils | [] [] |
722 dink | |
723 doodle | |
724 e2fsprogs | |
725 enscript | |
726 exif | [] |
727 fetchmail | |
728 findutils | |
729 flex | |
730 freedink | [] |
731 gas | |
732 gawk | |
733 gcal | |
734 gcc | |
735 gettext-examples | [] [] [] [] |
736 gettext-runtime | [] |
737 gettext-tools | [] |
738 gip | [] [] |
739 gjay | |
740 gliv | |
741 glunarclock | [] |
742 gnubiff | |
743 gnucash | () () () () |
744 gnuedu | |
745 gnulib | |
746 gnunet | |
747 gnunet-gtk | |
748 gnutls | [] |
749 gold | |
750 gpe-aerial | [] |
751 gpe-beam | [] |
752 gpe-bluetooth | [] [] |
753 gpe-calendar | [] |
754 gpe-clock | [] [] [] [] [] |
755 gpe-conf | [] [] |
756 gpe-contacts | [] [] |
757 gpe-edit | [] |
758 gpe-filemanager | [] [] |
759 gpe-go | [] [] [] |
760 gpe-login | [] |
761 gpe-ownerinfo | [] [] |
762 gpe-package | [] [] |
763 gpe-sketchbook | [] [] |
764 gpe-su | [] [] [] [] [] [] |
765 gpe-taskmanager | [] [] [] [] [] [] |
766 gpe-timesheet | [] [] |
767 gpe-today | [] [] [] [] |
768 gpe-todo | [] [] |
769 gphoto2 | |
770 gprof | [] |
771 gpsdrive | |
772 gramadoir | |
773 grep | |
774 grub | |
775 gsasl | |
776 gss | |
777 gst-plugins-bad | [] [] [] [] |
778 gst-plugins-base | [] [] |
779 gst-plugins-good | [] [] |
780 gst-plugins-ugly | [] [] [] [] [] |
781 gstreamer | |
782 gtick | |
783 gtkam | [] |
784 gtkorphan | [] [] |
785 gtkspell | [] [] [] [] [] [] [] |
786 gutenprint | |
787 hello | [] [] [] |
788 help2man | |
789 hylafax | |
790 idutils | |
791 indent | |
792 iso_15924 | [] [] |
793 iso_3166 | [] [] () [] [] [] [] [] |
794 iso_3166_2 | |
795 iso_4217 | [] [] |
796 iso_639 | [] [] |
797 iso_639_3 | [] |
798 jwhois | [] |
799 kbd | |
800 keytouch | [] |
801 keytouch-editor | [] |
802 keytouch-keyboa... | [] |
803 klavaro | [] |
804 latrine | [] |
805 ld | |
806 leafpad | [] [] [] |
807 libc | [] |
808 libexif | |
809 libextractor | |
810 libgnutls | [] |
811 libgpewidget | [] [] |
812 libgpg-error | |
813 libgphoto2 | |
814 libgphoto2_port | |
815 libgsasl | |
816 libiconv | |
817 libidn | |
818 lifelines | |
819 liferea | |
820 lilypond | |
821 linkdr | |
822 lordsawar | |
823 lprng | |
824 lynx | |
825 m4 | |
826 mailfromd | |
827 mailutils | |
828 make | [] |
829 man-db | |
830 man-db-manpages | |
831 minicom | [] |
832 mkisofs | |
833 myserver | |
834 nano | [] [] |
835 opcodes | |
836 parted | |
837 pies | |
838 popt | [] [] [] |
839 psmisc | |
840 pspp | |
841 pwdutils | |
842 radius | |
843 recode | |
844 rosegarden | |
845 rpm | |
846 rush | |
847 sarg | |
848 screem | |
849 scrollkeeper | [] [] |
850 sed | |
851 sharutils | |
852 shishi | |
853 skencil | |
854 solfege | [] |
855 solfege-manual | |
856 soundtracker | |
857 sp | |
858 sysstat | [] |
859 tar | [] |
860 texinfo | [] |
861 tin | |
862 unicode-han-tra... | |
863 unicode-transla... | |
864 util-linux-ng | |
865 vice | |
866 vmm | |
867 vorbis-tools | |
868 wastesedge | |
869 wdiff | |
870 wget | [] |
871 wyslij-po | |
872 xchat | [] [] [] |
873 xdg-user-dirs | [] [] [] [] [] [] [] [] |
874 xkeyboard-config | [] [] [] |
875 +-----------------------------------------------+
876 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
877 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1
878
879 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
880 +---------------------------------------------------+
881 a2ps | [] [] [] [] [] [] [] [] |
882 aegis | [] [] [] |
883 ant-phone | [] [] |
884 anubis | [] [] [] |
885 aspell | [] [] [] [] [] |
886 bash | [] [] |
887 bfd | [] |
888 bibshelf | [] [] |
889 binutils | [] [] |
890 bison | [] [] [] |
891 bison-runtime | [] [] [] [] [] [] [] |
892 bluez-pin | [] [] [] [] [] [] [] [] |
893 bombono-dvd | [] () |
894 buzztard | [] [] |
895 cflow | [] |
896 clisp | [] [] |
897 coreutils | [] [] [] [] [] [] |
898 cpio | [] [] [] |
899 cppi | [] |
900 cpplib | [] |
901 cryptsetup | [] |
902 dfarc | [] |
903 dialog | [] [] [] [] |
904 dico | [] |
905 diffutils | [] [] [] [] [] [] |
906 dink | () |
907 doodle | [] [] |
908 e2fsprogs | [] [] |
909 enscript | [] [] [] [] [] |
910 exif | [] [] [] () [] |
911 fetchmail | [] [] [] [] |
912 findutils | [] [] [] [] [] |
913 flex | [] [] [] [] [] |
914 freedink | [] [] |
915 gas | |
916 gawk | [] [] [] [] |
917 gcal | |
918 gcc | [] |
919 gettext-examples | [] [] [] [] [] [] [] [] |
920 gettext-runtime | [] [] [] [] [] [] [] [] [] |
921 gettext-tools | [] [] [] [] [] [] |
922 gip | [] [] [] [] [] |
923 gjay | |
924 gliv | [] [] [] [] [] [] |
925 glunarclock | [] [] [] [] [] |
926 gnubiff | [] () |
927 gnucash | [] () () () |
928 gnuedu | [] |
929 gnulib | [] [] [] [] |
930 gnunet | |
931 gnunet-gtk | |
932 gnutls | [] [] |
933 gold | |
934 gpe-aerial | [] [] [] [] [] [] [] |
935 gpe-beam | [] [] [] [] [] [] [] |
936 gpe-bluetooth | [] [] |
937 gpe-calendar | [] [] [] [] |
938 gpe-clock | [] [] [] [] [] [] [] [] |
939 gpe-conf | [] [] [] [] [] [] [] |
940 gpe-contacts | [] [] [] [] [] |
941 gpe-edit | [] [] [] |
942 gpe-filemanager | [] [] [] |
943 gpe-go | [] [] [] [] [] [] [] [] |
944 gpe-login | [] [] |
945 gpe-ownerinfo | [] [] [] [] [] [] [] [] |
946 gpe-package | [] [] |
947 gpe-sketchbook | [] [] [] [] [] [] [] |
948 gpe-su | [] [] [] [] [] [] [] [] |
949 gpe-taskmanager | [] [] [] [] [] [] [] [] |
950 gpe-timesheet | [] [] [] [] [] [] [] [] |
951 gpe-today | [] [] [] [] [] [] [] [] |
952 gpe-todo | [] [] [] [] [] |
953 gphoto2 | [] [] [] [] [] [] [] [] |
954 gprof | [] [] [] |
955 gpsdrive | [] [] |
956 gramadoir | [] [] |
957 grep | [] [] [] [] |
958 grub | [] [] [] |
959 gsasl | [] [] [] [] |
960 gss | [] [] [] |
961 gst-plugins-bad | [] [] [] [] [] [] |
962 gst-plugins-base | [] [] [] [] [] |
963 gst-plugins-good | [] [] [] [] [] |
964 gst-plugins-ugly | [] [] [] [] [] [] |
965 gstreamer | [] [] [] [] [] |
966 gtick | [] [] [] |
967 gtkam | [] [] [] [] [] [] |
968 gtkorphan | [] |
969 gtkspell | [] [] [] [] [] [] [] [] [] [] |
970 gutenprint | [] [] |
971 hello | [] [] [] [] |
972 help2man | [] [] |
973 hylafax | [] |
974 idutils | [] [] [] [] [] |
975 indent | [] [] [] [] [] [] [] |
976 iso_15924 | [] [] [] [] |
977 iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] |
978 iso_3166_2 | [] [] [] |
979 iso_4217 | [] [] [] [] [] [] [] [] |
980 iso_639 | [] [] [] [] [] [] [] [] [] |
981 iso_639_3 | [] [] |
982 jwhois | [] [] [] [] |
983 kbd | [] [] [] |
984 keytouch | [] [] [] |
985 keytouch-editor | [] [] [] |
986 keytouch-keyboa... | [] [] [] |
987 klavaro | [] [] |
988 latrine | [] [] |
989 ld | |
990 leafpad | [] [] [] [] [] [] [] [] [] |
991 libc | [] [] [] [] |
992 libexif | [] [] () [] |
993 libextractor | |
994 libgnutls | [] [] |
995 libgpewidget | [] [] [] |
996 libgpg-error | [] [] |
997 libgphoto2 | [] [] |
998 libgphoto2_port | [] [] [] [] [] |
999 libgsasl | [] [] [] [] [] |
1000 libiconv | [] [] [] [] [] |
1001 libidn | [] [] |
1002 lifelines | [] [] |
1003 liferea | [] [] [] [] [] () () [] |
1004 lilypond | [] |
1005 linkdr | [] [] [] |
1006 lordsawar | |
1007 lprng | [] |
1008 lynx | [] [] [] |
1009 m4 | [] [] [] [] [] |
1010 mailfromd | [] |
1011 mailutils | [] |
1012 make | [] [] [] [] |
1013 man-db | [] [] [] |
1014 man-db-manpages | [] [] [] |
1015 minicom | [] [] [] [] |
1016 mkisofs | [] [] [] |
1017 myserver | |
1018 nano | [] [] [] [] |
1019 opcodes | [] [] |
1020 parted | [] [] [] [] |
1021 pies | [] |
1022 popt | [] [] [] [] |
1023 psmisc | [] [] [] |
1024 pspp | [] [] |
1025 pwdutils | [] |
1026 radius | [] [] [] |
1027 recode | [] [] [] [] [] [] [] [] |
1028 rosegarden | () () |
1029 rpm | [] [] [] |
1030 rush | [] [] |
1031 sarg | |
1032 screem | |
1033 scrollkeeper | [] [] [] [] [] [] [] [] |
1034 sed | [] [] [] [] [] [] [] [] [] |
1035 sharutils | [] [] [] [] |
1036 shishi | [] |
1037 skencil | [] [] |
1038 solfege | [] [] [] [] |
1039 solfege-manual | [] [] [] |
1040 soundtracker | [] |
1041 sp | |
1042 sysstat | [] [] [] [] |
1043 tar | [] [] [] [] |
1044 texinfo | [] [] [] [] |
1045 tin | [] |
1046 unicode-han-tra... | |
1047 unicode-transla... | |
1048 util-linux-ng | [] [] [] [] [] |
1049 vice | [] |
1050 vmm | [] |
1051 vorbis-tools | [] [] |
1052 wastesedge | [] |
1053 wdiff | [] [] |
1054 wget | [] [] [] [] [] [] [] |
1055 wyslij-po | [] [] [] |
1056 xchat | [] [] [] [] [] [] [] [] [] |
1057 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
1058 xkeyboard-config | [] [] [] |
1059 +---------------------------------------------------+
1060 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
1061 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37
1062
1063 sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
1064 +---------------------------------------------------+
1065 a2ps | [] [] [] [] [] | 27
1066 aegis | [] | 9
1067 ant-phone | [] [] [] [] | 9
1068 anubis | [] [] [] [] | 15
1069 aspell | [] [] [] | 20
1070 bash | [] [] [] | 12
1071 bfd | [] | 6
1072 bibshelf | [] [] [] | 16
1073 binutils | [] [] | 8
1074 bison | [] [] | 12
1075 bison-runtime | [] [] [] [] [] [] | 29
1076 bluez-pin | [] [] [] [] [] [] [] [] | 37
1077 bombono-dvd | [] | 4
1078 buzztard | [] | 7
1079 cflow | [] [] [] | 9
1080 clisp | | 10
1081 coreutils | [] [] [] [] | 22
1082 cpio | [] [] [] [] [] [] | 13
1083 cppi | [] [] | 5
1084 cpplib | [] [] [] [] [] [] | 14
1085 cryptsetup | [] [] | 7
1086 dfarc | [] | 9
1087 dialog | [] [] [] [] [] [] [] | 30
1088 dico | [] | 2
1089 diffutils | [] [] [] [] [] [] | 30
1090 dink | | 4
1091 doodle | [] [] | 7
1092 e2fsprogs | [] [] [] | 11
1093 enscript | [] [] [] [] | 17
1094 exif | [] [] [] | 16
1095 fetchmail | [] [] [] | 17
1096 findutils | [] [] [] [] [] | 20
1097 flex | [] [] [] [] | 15
1098 freedink | [] | 10
1099 gas | [] | 4
1100 gawk | [] [] [] [] | 18
1101 gcal | [] [] | 5
1102 gcc | [] [] [] | 7
1103 gettext-examples | [] [] [] [] [] [] [] | 34
1104 gettext-runtime | [] [] [] [] [] [] [] | 29
1105 gettext-tools | [] [] [] [] [] [] | 22
1106 gip | [] [] [] [] | 22
1107 gjay | [] | 3
1108 gliv | [] [] [] | 14
1109 glunarclock | [] [] [] [] [] | 19
1110 gnubiff | [] [] | 4
1111 gnucash | () [] () [] () | 10
1112 gnuedu | [] [] | 7
1113 gnulib | [] [] [] [] | 16
1114 gnunet | [] | 1
1115 gnunet-gtk | [] [] [] | 5
1116 gnutls | [] [] [] | 10
1117 gold | [] | 4
1118 gpe-aerial | [] [] [] | 18
1119 gpe-beam | [] [] [] | 19
1120 gpe-bluetooth | [] [] [] | 13
1121 gpe-calendar | [] [] [] [] | 12
1122 gpe-clock | [] [] [] [] [] | 28
1123 gpe-conf | [] [] [] [] | 20
1124 gpe-contacts | [] [] [] | 17
1125 gpe-edit | [] [] [] | 12
1126 gpe-filemanager | [] [] [] [] | 16
1127 gpe-go | [] [] [] [] [] | 25
1128 gpe-login | [] [] [] | 11
1129 gpe-ownerinfo | [] [] [] [] [] | 25
1130 gpe-package | [] [] [] | 13
1131 gpe-sketchbook | [] [] [] | 20
1132 gpe-su | [] [] [] [] [] | 30
1133 gpe-taskmanager | [] [] [] [] [] | 29
1134 gpe-timesheet | [] [] [] [] [] | 25
1135 gpe-today | [] [] [] [] [] [] | 30
1136 gpe-todo | [] [] [] [] | 17
1137 gphoto2 | [] [] [] [] [] | 24
1138 gprof | [] [] [] | 15
1139 gpsdrive | [] [] [] | 11
1140 gramadoir | [] [] [] | 11
1141 grep | [] [] [] | 10
1142 grub | [] [] [] | 14
1143 gsasl | [] [] [] [] | 14
1144 gss | [] [] [] | 11
1145 gst-plugins-bad | [] [] [] [] | 26
1146 gst-plugins-base | [] [] [] [] [] | 24
1147 gst-plugins-good | [] [] [] [] | 24
1148 gst-plugins-ugly | [] [] [] [] [] | 29
1149 gstreamer | [] [] [] [] | 22
1150 gtick | [] [] [] | 13
1151 gtkam | [] [] [] | 20
1152 gtkorphan | [] [] [] | 14
1153 gtkspell | [] [] [] [] [] [] [] [] [] | 45
1154 gutenprint | [] | 10
1155 hello | [] [] [] [] [] [] | 21
1156 help2man | [] [] | 7
1157 hylafax | [] | 5
1158 idutils | [] [] [] [] | 17
1159 indent | [] [] [] [] [] [] | 30
1160 iso_15924 | () [] () [] [] | 16
1161 iso_3166 | [] [] () [] [] () [] [] [] () | 53
1162 iso_3166_2 | () [] () [] | 9
1163 iso_4217 | [] () [] [] () [] [] | 26
1164 iso_639 | [] [] [] () [] () [] [] [] [] | 38
1165 iso_639_3 | [] () | 8
1166 jwhois | [] [] [] [] [] | 16
1167 kbd | [] [] [] [] [] | 15
1168 keytouch | [] [] [] | 16
1169 keytouch-editor | [] [] [] | 14
1170 keytouch-keyboa... | [] [] [] | 14
1171 klavaro | [] | 11
1172 latrine | [] [] [] | 10
1173 ld | [] [] [] [] | 11
1174 leafpad | [] [] [] [] [] [] | 33
1175 libc | [] [] [] [] [] | 21
1176 libexif | [] () | 7
1177 libextractor | [] | 1
1178 libgnutls | [] [] [] | 9
1179 libgpewidget | [] [] [] | 14
1180 libgpg-error | [] [] [] | 9
1181 libgphoto2 | [] [] | 8
1182 libgphoto2_port | [] [] [] [] | 14
1183 libgsasl | [] [] [] | 13
1184 libiconv | [] [] [] [] | 21
1185 libidn | () [] [] | 11
1186 lifelines | [] | 4
1187 liferea | [] [] [] | 21
1188 lilypond | [] | 7
1189 linkdr | [] [] [] [] [] | 17
1190 lordsawar | | 1
1191 lprng | [] | 3
1192 lynx | [] [] [] [] | 17
1193 m4 | [] [] [] [] | 19
1194 mailfromd | [] [] | 3
1195 mailutils | [] | 5
1196 make | [] [] [] [] | 21
1197 man-db | [] [] [] | 8
1198 man-db-manpages | | 4
1199 minicom | [] [] | 16
1200 mkisofs | [] [] | 9
1201 myserver | | 0
1202 nano | [] [] [] [] | 21
1203 opcodes | [] [] [] | 11
1204 parted | [] [] [] [] [] | 15
1205 pies | [] [] | 3
1206 popt | [] [] [] [] [] [] | 27
1207 psmisc | [] [] | 11
1208 pspp | | 4
1209 pwdutils | [] [] | 6
1210 radius | [] [] | 9
1211 recode | [] [] [] [] | 28
1212 rosegarden | () | 0
1213 rpm | [] [] [] | 11
1214 rush | [] [] | 4
1215 sarg | | 1
1216 screem | [] | 3
1217 scrollkeeper | [] [] [] [] [] | 27
1218 sed | [] [] [] [] [] | 30
1219 sharutils | [] [] [] [] [] | 22
1220 shishi | [] | 3
1221 skencil | [] [] | 7
1222 solfege | [] [] [] [] | 16
1223 solfege-manual | [] | 8
1224 soundtracker | [] [] [] | 9
1225 sp | [] | 3
1226 sysstat | [] [] | 15
1227 tar | [] [] [] [] [] [] | 23
1228 texinfo | [] [] [] [] [] | 17
1229 tin | | 4
1230 unicode-han-tra... | | 0
1231 unicode-transla... | | 2
1232 util-linux-ng | [] [] [] [] | 20
1233 vice | () () | 1
1234 vmm | [] | 4
1235 vorbis-tools | [] | 6
1236 wastesedge | | 2
1237 wdiff | [] [] | 7
1238 wget | [] [] [] [] [] | 26
1239 wyslij-po | [] [] | 8
1240 xchat | [] [] [] [] [] [] | 36
1241 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63
1242 xkeyboard-config | [] [] [] | 22
1243 +---------------------------------------------------+
1244 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
1245 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618
1246
1247 Some counters in the preceding matrix are higher than the number of
1248 visible blocks let us expect. This is because a few extra PO files are
1249 used for implementing regional variants of languages, or language
1250 dialects.
1251
1252 For a PO file in the matrix above to be effective, the package to
1253 which it applies should also have been internationalized and
1254 distributed as such by its maintainer. There might be an observable
1255 lag between the mere existence a PO file and its wide availability in a
1256 distribution.
1257
1258 If June 2010 seems to be old, you may fetch a more recent copy of
1259 this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
1260 matrix with full percentage details can be found at
1261 `http://translationproject.org/extra/matrix.html'.
1262
1263 1.5 Using `gettext' in new packages
1264 ===================================
1265
1266 If you are writing a freely available program and want to
1267 internationalize it you are welcome to use GNU `gettext' in your
1268 package. Of course you have to respect the GNU Library General Public
1269 License which covers the use of the GNU `gettext' library. This means
1270 in particular that even non-free programs can use `libintl' as a shared
1271 library, whereas only free software can use `libintl' as a static
1272 library or use modified versions of `libintl'.
1273
1274 Once the sources are changed appropriately and the setup can handle
1275 the use of `gettext' the only thing missing are the translations. The
1276 Free Translation Project is also available for packages which are not
1277 developed inside the GNU project. Therefore the information given above
1278 applies also for every other Free Software Project. Contact
1279 `coordinator@translationproject.org' to make the `.pot' files available
1280 to the translation teams.
1281
4242 - Implemented MCN reading on Linux
4343 - Implemented read_sparse()
4444 - Better Windows default drive detection
45 - Haiku TOC reading improvements
4546 - Various fixes and refactoring
4647
4748 Sebastian Ramacher <sramacher at debian dot org>
5859 Tim Van Holder <tim.vanholder at gmail dot com>
5960 - ISRC and MCN support for BSD
6061 - fixes for get_device on Linux
62
63 Xiang Fan
64 - Implemented Haiku support
0 cmake_minimum_required(VERSION 2.6)
0 cmake_minimum_required(VERSION 2.8.12)
11 set(CMAKE_LEGACY_CYGWIN_WIN32 0)
22
33 PROJECT(libdiscid C)
1010 # PATCH is increase for all other releases
1111 SET(libdiscid_MAJOR 0)
1212 SET(libdiscid_MINOR 6)
13 SET(libdiscid_PATCH 2)
13 SET(libdiscid_PATCH 4)
1414
1515
1616 SET(libdiscid_VERSION ${libdiscid_MAJOR}.${libdiscid_MINOR}.${libdiscid_PATCH})
2828 SET(PROJECT_VERSION ${libdiscid_VERSION})
2929
3030
31 SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
32 SET(EXEC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Installation prefix for executables and object code libraries" FORCE)
33 SET(BIN_INSTALL_DIR ${EXEC_INSTALL_PREFIX}/bin CACHE PATH "Installation prefix for user executables" FORCE)
34 SET(LIB_INSTALL_DIR ${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "Installation prefix for object code libraries" FORCE)
35 SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include CACHE PATH "Installation prefix for C header files" FORCE)
31 INCLUDE(GNUInstallDirs)
32 SET(BIN_INSTALL_DIR ${CMAKE_INSTALL_FULL_BINDIR} CACHE PATH "Installation prefix for user executables" FORCE)
33 SET(LIB_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR} CACHE PATH "Installation prefix for object code libraries" FORCE)
34 SET(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR} CACHE PATH "Installation prefix for C header files" FORCE)
3635
3736 # compatibility with automake
3837 SET(PACKAGE ${PROJECT_NAME})
3938 SET(VERSION ${PROJECT_VERSION})
4039 SET(PACKAGE_STRING "${PACKAGE} ${VERSION}")
41 SET(prefix ${CMAKE_INSTALL_PREFIX})
42 SET(exec_prefix ${EXEC_INSTALL_PREFIX})
43 SET(includedir ${INCLUDE_INSTALL_DIR})
44 SET(libdir ${LIB_INSTALL_DIR})
4540
4641 CONFIGURE_FILE(libdiscid.pc.in libdiscid.pc)
4742 CONFIGURE_FILE(versioninfo.rc.in versioninfo.rc)
6358 SET(libdiscid_OSDEP_LIBS util) # for getrawpartition
6459 ELSEIF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
6560 SET(libdiscid_OS "solaris")
61 ELSEIF(CMAKE_SYSTEM_NAME MATCHES "Haiku")
62 SET(libdiscid_OS "haiku")
6663 ELSEIF(CMAKE_SYSTEM_NAME MATCHES "Windows")
6764 SET(libdiscid_OS "win32")
6865 ELSEIF(CMAKE_SYSTEM_NAME MATCHES "CYGWIN")
7370 ENDIF()
7471
7572 # choose platform dependent source files
76 IF(libdiscid_OS EQUAL "win32")
73 IF(libdiscid_OS STREQUAL "win32")
7774 SET(libdiscid_OSDEP_SRCS src/toc.c src/disc_win32.c)
7875 SET(libdiscid_RCS ${CMAKE_CURRENT_BINARY_DIR}/versioninfo.rc)
79 ELSEIF(libdiscid_OS EQUAL "generic")
76 ELSEIF(libdiscid_OS STREQUAL "generic")
8077 SET(libdiscid_OSDEP_SRCS src/disc_${libdiscid_OS}.c)
8178 ELSE()
8279 # unix platforms are the standard/default case
8380 SET(libdiscid_OSDEP_SRCS src/toc.c src/unix.c src/disc_${libdiscid_OS}.c)
84 IF(libdiscid_OS EQUAL "darwin") # Extra libraries needed
81 IF(libdiscid_OS STREQUAL "darwin") # Extra libraries needed
8582 FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation)
86 SET(libdiscid_OSDEP_LIBS ${COREFOUNDATION_LIBRARY} IOKit)
83 FIND_LIBRARY(IOKIT_LIBRARY IOKit)
84 SET(libdiscid_OSDEP_LIBS ${COREFOUNDATION_LIBRARY} ${IOKIT_LIBRARY})
8785 ENDIF()
8886 ENDIF()
8987
00 libdiscid ChangeLog:
11 --------------------
2
3 libdiscid-0.6.4:
4
5 - LIB-69: Revert "Use discid_feature enum in discid_read_sparse". Fixes
6 compiler errors with C++.
7
8 libdiscid-0.6.3:
9
10 - LIB-66: fix for Debian kFreeBSD
11 - Haiku platform support (TOC only)
12 - Use discid_feature enum in discid_read_sparse
13 - Fixed building with CMake on macOS
14 - LIB-68: provide macOS universal2 binaries with support for both
15 x86_64 and arm64
16 - LIB-67: Source tarball with updated autotools configuration
17 - CMake: Use GNUInstallDirs to determine install location
18 - CMake 2.8.12 is now the minimum required version
219
320 libdiscid-0.6.2:
421
1330
1431 libdiscid-0.6.0:
1532
16 - LIB-41: add discid_get_troc_string() for fuzzy toc lookup
33 - LIB-41: add discid_get_toc_string() for fuzzy toc lookup
1734 - LIB-54: add libmusicbrainz example with fuzzy toc lookup
1835 - LIB-43: windows: the default drive is the first cd drive letter
1936 - LIB-45: Linux/BSD/Solaris: try several possible default device names
2037 - LIB-28: Mac: allow drive numbers as devices, default now "1"
21 - LIB-55, LIB-56: allow drive numbers for Windows and Linux
38 - LIB-55: LIB-56: allow drive numbers for Windows and Linux
2239 - LIB-53: discid_get_submission_url() returns the new NGS url
2340 currently no functional change, the old url was redirected
2441 - LIB-52: more validation for parameters of discid_put()
100117 - Replace custom MSVC makefile with CMake build system (Lukas).
101118 - Added support for FreeBSD (Patrick Hurrelmann).
102119 - Addded the discid_get_webservice_url() function (Rob).
103
120
104121
105122 libdiscid-0.1.1:
106123
107124 - Use generic 'cdaudio' device name on windows (Lukas).
108
125
109126
110127 libdiscid-0.1.0:
111128
1414 MACRO_EXPANSION = YES
1515 EXPAND_ONLY_PREDEF = YES
1616 HTML_TIMESTAMP = NO
17 EXAMPLE_PATH = "@CMAKE_SOURCE_DIR@/examples/"
7676 libdiscid_la_LDFLAGS = -version-number @libdiscid_VERSION_LT@ -no-undefined
7777 libdiscid_la_LIBADD =
7878
79 #if OS_BEOS
80 #libdiscid_la_LIBADD += -lbe -lroot
81 #endif
79 if OS_HAIKU
80 libdiscid_la_LIBADD += -lbe -lroot
81 libdiscid_la_SOURCES += src/toc.c src/unix.c src/disc_haiku.c
82 endif
8283 if OS_DARWIN
8384 libdiscid_la_LDFLAGS += -framework CoreFoundation -framework IOKit
8485 libdiscid_la_SOURCES += src/toc.c src/unix.c src/disc_darwin.c
0 # Makefile.in generated by automake 1.15 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
117117 test_read$(EXEEXT) test_read_full$(EXEEXT)
118118 noinst_PROGRAMS = discid$(EXEEXT) discisrc$(EXEEXT) $(am__EXEEXT_1)
119119 @HAVE_MUSICBRAINZ5_TRUE@am__append_1 = disc_metadata
120
121 #if OS_BEOS
122 #libdiscid_la_LIBADD += -lbe -lroot
123 #endif
124 @OS_DARWIN_TRUE@am__append_2 = -framework CoreFoundation -framework IOKit
125 @OS_DARWIN_TRUE@am__append_3 = src/toc.c src/unix.c src/disc_darwin.c
126 @OS_NETBSD_TRUE@am__append_4 = src/toc.c src/unix.c src/disc_bsd.c
127 @OS_NETBSD_TRUE@am__append_5 = -lutil
128 @OS_FREEBSD_TRUE@am__append_6 = src/toc.c src/unix.c src/disc_bsd.c
129 @OS_GENERIC_TRUE@am__append_7 = src/disc_generic.c
130 @OS_LINUX_TRUE@am__append_8 = src/toc.c src/unix.c src/disc_linux.c
120 @OS_HAIKU_TRUE@am__append_2 = -lbe -lroot
121 @OS_HAIKU_TRUE@am__append_3 = src/toc.c src/unix.c src/disc_haiku.c
122 @OS_DARWIN_TRUE@am__append_4 = -framework CoreFoundation -framework IOKit
123 @OS_DARWIN_TRUE@am__append_5 = src/toc.c src/unix.c src/disc_darwin.c
124 @OS_NETBSD_TRUE@am__append_6 = src/toc.c src/unix.c src/disc_bsd.c
125 @OS_NETBSD_TRUE@am__append_7 = -lutil
126 @OS_FREEBSD_TRUE@am__append_8 = src/toc.c src/unix.c src/disc_bsd.c
127 @OS_GENERIC_TRUE@am__append_9 = src/disc_generic.c
128 @OS_LINUX_TRUE@am__append_10 = src/toc.c src/unix.c src/disc_linux.c
131129 #if OS_QNX
132130 #libdiscid_la_LIBADD += -lsocket
133131 #endif
134 @OS_SOLARIS_TRUE@am__append_9 = src/toc.c src/unix.c src/disc_solaris.c
135 @OS_WIN32_TRUE@am__append_10 = src/toc.c src/disc_win32.c versioninfo.rc
132 @OS_SOLARIS_TRUE@am__append_11 = src/toc.c src/unix.c src/disc_solaris.c
133 @OS_WIN32_TRUE@am__append_12 = src/toc.c src/disc_win32.c versioninfo.rc
136134 subdir = .
137135 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
138136 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
148146 CONFIG_CLEAN_FILES = libdiscid.pc versioninfo.rc Doxyfile \
149147 include/discid/discid.h
150148 CONFIG_CLEAN_VPATH_FILES =
149 @HAVE_MUSICBRAINZ5_TRUE@am__EXEEXT_1 = disc_metadata$(EXEEXT)
150 PROGRAMS = $(noinst_PROGRAMS)
151151 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
152152 am__vpath_adj = case $$p in \
153153 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
179179 "$(DESTDIR)$(discid_incdir)"
180180 LTLIBRARIES = $(lib_LTLIBRARIES)
181181 am__DEPENDENCIES_1 =
182 libdiscid_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
182 libdiscid_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
183 $(am__DEPENDENCIES_1)
183184 am__libdiscid_la_SOURCES_DIST = src/base64.c src/sha1.c src/disc.c \
184 src/toc.c src/unix.c src/disc_darwin.c src/disc_bsd.c \
185 src/disc_generic.c src/disc_linux.c src/disc_solaris.c \
186 src/disc_win32.c versioninfo.rc
185 src/toc.c src/unix.c src/disc_haiku.c src/disc_darwin.c \
186 src/disc_bsd.c src/disc_generic.c src/disc_linux.c \
187 src/disc_solaris.c src/disc_win32.c versioninfo.rc
187188 am__dirstamp = $(am__leading_dot)dirstamp
188 @OS_DARWIN_TRUE@am__objects_1 = src/toc.lo src/unix.lo \
189 @OS_HAIKU_TRUE@am__objects_1 = src/toc.lo src/unix.lo \
190 @OS_HAIKU_TRUE@ src/disc_haiku.lo
191 @OS_DARWIN_TRUE@am__objects_2 = src/toc.lo src/unix.lo \
189192 @OS_DARWIN_TRUE@ src/disc_darwin.lo
190 @OS_NETBSD_TRUE@am__objects_2 = src/toc.lo src/unix.lo src/disc_bsd.lo
191 @OS_FREEBSD_TRUE@am__objects_3 = src/toc.lo src/unix.lo \
193 @OS_NETBSD_TRUE@am__objects_3 = src/toc.lo src/unix.lo src/disc_bsd.lo
194 @OS_FREEBSD_TRUE@am__objects_4 = src/toc.lo src/unix.lo \
192195 @OS_FREEBSD_TRUE@ src/disc_bsd.lo
193 @OS_GENERIC_TRUE@am__objects_4 = src/disc_generic.lo
194 @OS_LINUX_TRUE@am__objects_5 = src/toc.lo src/unix.lo \
196 @OS_GENERIC_TRUE@am__objects_5 = src/disc_generic.lo
197 @OS_LINUX_TRUE@am__objects_6 = src/toc.lo src/unix.lo \
195198 @OS_LINUX_TRUE@ src/disc_linux.lo
196 @OS_SOLARIS_TRUE@am__objects_6 = src/toc.lo src/unix.lo \
199 @OS_SOLARIS_TRUE@am__objects_7 = src/toc.lo src/unix.lo \
197200 @OS_SOLARIS_TRUE@ src/disc_solaris.lo
198 @OS_WIN32_TRUE@am__objects_7 = src/toc.lo src/disc_win32.lo \
201 @OS_WIN32_TRUE@am__objects_8 = src/toc.lo src/disc_win32.lo \
199202 @OS_WIN32_TRUE@ versioninfo.lo
200203 am_libdiscid_la_OBJECTS = src/base64.lo src/sha1.lo src/disc.lo \
201204 $(am__objects_1) $(am__objects_2) $(am__objects_3) \
202205 $(am__objects_4) $(am__objects_5) $(am__objects_6) \
203 $(am__objects_7)
206 $(am__objects_7) $(am__objects_8)
204207 libdiscid_la_OBJECTS = $(am_libdiscid_la_OBJECTS)
205208 AM_V_lt = $(am__v_lt_@AM_V@)
206209 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
209212 libdiscid_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
210213 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
211214 $(libdiscid_la_LDFLAGS) $(LDFLAGS) -o $@
212 @HAVE_MUSICBRAINZ5_TRUE@am__EXEEXT_1 = disc_metadata$(EXEEXT)
213 PROGRAMS = $(noinst_PROGRAMS)
214215 am__disc_metadata_SOURCES_DIST = examples/disc_metadata.c
215216 @HAVE_MUSICBRAINZ5_TRUE@am_disc_metadata_OBJECTS = \
216217 @HAVE_MUSICBRAINZ5_TRUE@ examples/disc_metadata.$(OBJEXT)
250251 am__v_at_1 =
251252 DEFAULT_INCLUDES = -I.@am__isrc@
252253 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
253 am__depfiles_maybe = depfiles
254 am__maybe_remake_depfiles = depfiles
255 am__depfiles_remade = examples/$(DEPDIR)/disc_metadata.Po \
256 examples/$(DEPDIR)/discid.Po examples/$(DEPDIR)/discisrc.Po \
257 src/$(DEPDIR)/base64.Plo src/$(DEPDIR)/disc.Plo \
258 src/$(DEPDIR)/disc_bsd.Plo src/$(DEPDIR)/disc_darwin.Plo \
259 src/$(DEPDIR)/disc_generic.Plo src/$(DEPDIR)/disc_haiku.Plo \
260 src/$(DEPDIR)/disc_linux.Plo src/$(DEPDIR)/disc_solaris.Plo \
261 src/$(DEPDIR)/disc_win32.Plo src/$(DEPDIR)/sha1.Plo \
262 src/$(DEPDIR)/toc.Plo src/$(DEPDIR)/unix.Plo \
263 test/$(DEPDIR)/test.Po test/$(DEPDIR)/test_core.Po \
264 test/$(DEPDIR)/test_put.Po test/$(DEPDIR)/test_read.Po \
265 test/$(DEPDIR)/test_read_full.Po
254266 am__mv = mv -f
255267 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
256268 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
285297 esac
286298 DATA = $(pc_DATA)
287299 HEADERS = $(discid_inc_HEADERS) $(noinst_HEADERS)
288 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
289 $(LISP)config.h.in
300 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
301 config.h.in
290302 # Read a list of newline-separated strings from the standard input,
291303 # and print each of them once, without duplicates. Input order is
292304 # *not* preserved.
303315 unique=`for i in $$list; do \
304316 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
305317 done | $(am__uniquify_input)`
306 ETAGS = etags
307 CTAGS = ctags
308 CSCOPE = cscope
309318 AM_RECURSIVE_TARGETS = cscope check recheck
310319 am__tty_colors_dummy = \
311320 mgn= red= grn= lgn= blu= brg= std=; \
462471 bases='$(TEST_LOGS)'; \
463472 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
464473 bases=`echo $$bases`
474 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
465475 RECHECK_LOGS = $(TEST_LOGS)
466476 TEST_SUITE_LOG = test-suite.log
467477 TEST_EXTENSIONS = @EXEEXT@ .test
494504 $(top_srcdir)/build-aux/ltmain.sh \
495505 $(top_srcdir)/build-aux/missing \
496506 $(top_srcdir)/build-aux/test-driver \
497 $(top_srcdir)/include/discid/discid.h.in ABOUT-NLS AUTHORS \
498 COPYING ChangeLog INSTALL README build-aux/ar-lib \
499 build-aux/compile build-aux/config.guess build-aux/config.sub \
500 build-aux/depcomp build-aux/install-sh build-aux/ltmain.sh \
501 build-aux/missing config.rpath
507 $(top_srcdir)/include/discid/discid.h.in AUTHORS COPYING \
508 ChangeLog INSTALL README build-aux/ar-lib build-aux/compile \
509 build-aux/config.guess build-aux/config.sub build-aux/depcomp \
510 build-aux/install-sh build-aux/ltmain.sh build-aux/missing
502511 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
503512 distdir = $(PACKAGE)-$(VERSION)
504513 top_distdir = $(distdir)
512521 DIST_ARCHIVES = $(distdir).tar.gz
513522 GZIP_ENV = --best
514523 DIST_TARGETS = dist-gzip
524 # Exists only to be overridden by the user if desired.
525 AM_DISTCHECK_DVI_TARGET = dvi
515526 distuninstallcheck_listfiles = find . -type f -print
516527 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
517528 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
528539 CC = @CC@
529540 CCDEPMODE = @CCDEPMODE@
530541 CFLAGS = @CFLAGS@
531 CPP = @CPP@
532542 CPPFLAGS = @CPPFLAGS@
543 CSCOPE = @CSCOPE@
544 CTAGS = @CTAGS@
533545 CYGPATH_W = @CYGPATH_W@
534546 DEFS = @DEFS@
535547 DEPDIR = @DEPDIR@
540552 ECHO_N = @ECHO_N@
541553 ECHO_T = @ECHO_T@
542554 EGREP = @EGREP@
555 ETAGS = @ETAGS@
543556 EXEEXT = @EXEEXT@
544557 FGREP = @FGREP@
545558 GREP = @GREP@
631644 prefix = @prefix@
632645 program_transform_name = @program_transform_name@
633646 psdir = @psdir@
647 runstatedir = @runstatedir@
634648 sbindir = @sbindir@
635649 sharedstatedir = @sharedstatedir@
636650 srcdir = @srcdir@
674688 @HAVE_MUSICBRAINZ5_TRUE@disc_metadata_LDADD = $(top_builddir)/libdiscid.la -lmusicbrainz5
675689 lib_LTLIBRARIES = libdiscid.la
676690 libdiscid_la_SOURCES = src/base64.c src/sha1.c src/disc.c \
677 $(am__append_3) $(am__append_4) $(am__append_6) \
678 $(am__append_7) $(am__append_8) $(am__append_9) \
679 $(am__append_10)
691 $(am__append_3) $(am__append_5) $(am__append_6) \
692 $(am__append_8) $(am__append_9) $(am__append_10) \
693 $(am__append_11) $(am__append_12)
680694
681695 # use a (well defined) version number, rather than version-info calculations
682696 libdiscid_la_LDFLAGS = -version-number @libdiscid_VERSION_LT@ \
683 -no-undefined $(am__append_2)
684 libdiscid_la_LIBADD = $(am__append_5)
697 -no-undefined $(am__append_4)
698 libdiscid_la_LIBADD = $(am__append_2) $(am__append_7)
685699
686700 # for Windows Resource Files
687701 RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
712726 echo ' $(SHELL) ./config.status'; \
713727 $(SHELL) ./config.status;; \
714728 *) \
715 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
716 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
729 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
730 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
717731 esac;
718732
719733 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
747761 cd $(top_builddir) && $(SHELL) ./config.status $@
748762 include/discid/discid.h: $(top_builddir)/config.status $(top_srcdir)/include/discid/discid.h.in
749763 cd $(top_builddir) && $(SHELL) ./config.status $@
764
765 clean-checkPROGRAMS:
766 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
767 echo " rm -f" $$list; \
768 rm -f $$list || exit $$?; \
769 test -n "$(EXEEXT)" || exit 0; \
770 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
771 echo " rm -f" $$list; \
772 rm -f $$list
773
774 clean-noinstPROGRAMS:
775 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
776 echo " rm -f" $$list; \
777 rm -f $$list || exit $$?; \
778 test -n "$(EXEEXT)" || exit 0; \
779 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
780 echo " rm -f" $$list; \
781 rm -f $$list
750782
751783 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
752784 @$(NORMAL_INSTALL)
793825 src/disc.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
794826 src/toc.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
795827 src/unix.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
828 src/disc_haiku.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
796829 src/disc_darwin.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
797830 src/disc_bsd.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
798831 src/disc_generic.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
802835
803836 libdiscid.la: $(libdiscid_la_OBJECTS) $(libdiscid_la_DEPENDENCIES) $(EXTRA_libdiscid_la_DEPENDENCIES)
804837 $(AM_V_CCLD)$(libdiscid_la_LINK) -rpath $(libdir) $(libdiscid_la_OBJECTS) $(libdiscid_la_LIBADD) $(LIBS)
805
806 clean-checkPROGRAMS:
807 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
808 echo " rm -f" $$list; \
809 rm -f $$list || exit $$?; \
810 test -n "$(EXEEXT)" || exit 0; \
811 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
812 echo " rm -f" $$list; \
813 rm -f $$list
814
815 clean-noinstPROGRAMS:
816 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
817 echo " rm -f" $$list; \
818 rm -f $$list || exit $$?; \
819 test -n "$(EXEEXT)" || exit 0; \
820 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
821 echo " rm -f" $$list; \
822 rm -f $$list
823838 examples/$(am__dirstamp):
824839 @$(MKDIR_P) examples
825840 @: > examples/$(am__dirstamp)
887902 distclean-compile:
888903 -rm -f *.tab.c
889904
890 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/disc_metadata.Po@am__quote@
891 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/discid.Po@am__quote@
892 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/discisrc.Po@am__quote@
893 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/base64.Plo@am__quote@
894 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc.Plo@am__quote@
895 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_bsd.Plo@am__quote@
896 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_darwin.Plo@am__quote@
897 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_generic.Plo@am__quote@
898 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_linux.Plo@am__quote@
899 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_solaris.Plo@am__quote@
900 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_win32.Plo@am__quote@
901 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/sha1.Plo@am__quote@
902 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/toc.Plo@am__quote@
903 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/unix.Plo@am__quote@
904 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test.Po@am__quote@
905 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_core.Po@am__quote@
906 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_put.Po@am__quote@
907 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_read.Po@am__quote@
908 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_read_full.Po@am__quote@
905 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/disc_metadata.Po@am__quote@ # am--include-marker
906 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/discid.Po@am__quote@ # am--include-marker
907 @AMDEP_TRUE@@am__include@ @am__quote@examples/$(DEPDIR)/discisrc.Po@am__quote@ # am--include-marker
908 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/base64.Plo@am__quote@ # am--include-marker
909 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc.Plo@am__quote@ # am--include-marker
910 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_bsd.Plo@am__quote@ # am--include-marker
911 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_darwin.Plo@am__quote@ # am--include-marker
912 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_generic.Plo@am__quote@ # am--include-marker
913 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_haiku.Plo@am__quote@ # am--include-marker
914 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_linux.Plo@am__quote@ # am--include-marker
915 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_solaris.Plo@am__quote@ # am--include-marker
916 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/disc_win32.Plo@am__quote@ # am--include-marker
917 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/sha1.Plo@am__quote@ # am--include-marker
918 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/toc.Plo@am__quote@ # am--include-marker
919 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/unix.Plo@am__quote@ # am--include-marker
920 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test.Po@am__quote@ # am--include-marker
921 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_core.Po@am__quote@ # am--include-marker
922 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_put.Po@am__quote@ # am--include-marker
923 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_read.Po@am__quote@ # am--include-marker
924 @AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/test_read_full.Po@am__quote@ # am--include-marker
925
926 $(am__depfiles_remade):
927 @$(MKDIR_P) $(@D)
928 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
929
930 am--depfiles: $(am__depfiles_remade)
909931
910932 .c.o:
911933 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
11491171 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
11501172 fi; \
11511173 echo "$${col}$$br$${std}"; \
1152 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1174 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
11531175 echo "$${col}$$br$${std}"; \
11541176 create_testsuite_report --maybe-color; \
11551177 echo "$$col$$br$$std"; \
11621184 fi; \
11631185 $$success || exit 1
11641186
1165 check-TESTS:
1187 check-TESTS: $(check_PROGRAMS)
11661188 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
11671189 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
11681190 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
12251247 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
12261248 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
12271249 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1228
1229 distdir: $(DISTFILES)
1250 distdir: $(BUILT_SOURCES)
1251 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1252
1253 distdir-am: $(DISTFILES)
12301254 $(am__remove_distdir)
12311255 test -d "$(distdir)" || mkdir "$(distdir)"
12321256 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
12811305 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
12821306 $(am__post_remove_distdir)
12831307
1308 dist-zstd: distdir
1309 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
1310 $(am__post_remove_distdir)
1311
12841312 dist-tarZ: distdir
12851313 @echo WARNING: "Support for distribution archives compressed with" \
12861314 "legacy program 'compress' is deprecated." >&2
13231351 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
13241352 *.zip*) \
13251353 unzip $(distdir).zip ;;\
1354 *.tar.zst*) \
1355 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
13261356 esac
13271357 chmod -R a-w $(distdir)
13281358 chmod u+w $(distdir)
13381368 $(DISTCHECK_CONFIGURE_FLAGS) \
13391369 --srcdir=../.. --prefix="$$dc_install_base" \
13401370 && $(MAKE) $(AM_MAKEFLAGS) \
1341 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1371 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
13421372 && $(MAKE) $(AM_MAKEFLAGS) check \
13431373 && $(MAKE) $(AM_MAKEFLAGS) install \
13441374 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
13931423 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
13941424 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
13951425 check: check-am
1396 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) \
1426 all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(DATA) $(HEADERS) \
13971427 config.h
1428 install-checkPROGRAMS: install-libLTLIBRARIES
1429
13981430 installdirs:
13991431 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pcdir)" "$(DESTDIR)$(discid_incdir)"; do \
14001432 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
14461478
14471479 distclean: distclean-am
14481480 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1449 -rm -rf examples/$(DEPDIR) src/$(DEPDIR) test/$(DEPDIR)
1481 -rm -f examples/$(DEPDIR)/disc_metadata.Po
1482 -rm -f examples/$(DEPDIR)/discid.Po
1483 -rm -f examples/$(DEPDIR)/discisrc.Po
1484 -rm -f src/$(DEPDIR)/base64.Plo
1485 -rm -f src/$(DEPDIR)/disc.Plo
1486 -rm -f src/$(DEPDIR)/disc_bsd.Plo
1487 -rm -f src/$(DEPDIR)/disc_darwin.Plo
1488 -rm -f src/$(DEPDIR)/disc_generic.Plo
1489 -rm -f src/$(DEPDIR)/disc_haiku.Plo
1490 -rm -f src/$(DEPDIR)/disc_linux.Plo
1491 -rm -f src/$(DEPDIR)/disc_solaris.Plo
1492 -rm -f src/$(DEPDIR)/disc_win32.Plo
1493 -rm -f src/$(DEPDIR)/sha1.Plo
1494 -rm -f src/$(DEPDIR)/toc.Plo
1495 -rm -f src/$(DEPDIR)/unix.Plo
1496 -rm -f test/$(DEPDIR)/test.Po
1497 -rm -f test/$(DEPDIR)/test_core.Po
1498 -rm -f test/$(DEPDIR)/test_put.Po
1499 -rm -f test/$(DEPDIR)/test_read.Po
1500 -rm -f test/$(DEPDIR)/test_read_full.Po
14501501 -rm -f Makefile
14511502 distclean-am: clean-am distclean-compile distclean-generic \
14521503 distclean-hdr distclean-libtool distclean-tags
14941545 maintainer-clean: maintainer-clean-am
14951546 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
14961547 -rm -rf $(top_srcdir)/autom4te.cache
1497 -rm -rf examples/$(DEPDIR) src/$(DEPDIR) test/$(DEPDIR)
1548 -rm -f examples/$(DEPDIR)/disc_metadata.Po
1549 -rm -f examples/$(DEPDIR)/discid.Po
1550 -rm -f examples/$(DEPDIR)/discisrc.Po
1551 -rm -f src/$(DEPDIR)/base64.Plo
1552 -rm -f src/$(DEPDIR)/disc.Plo
1553 -rm -f src/$(DEPDIR)/disc_bsd.Plo
1554 -rm -f src/$(DEPDIR)/disc_darwin.Plo
1555 -rm -f src/$(DEPDIR)/disc_generic.Plo
1556 -rm -f src/$(DEPDIR)/disc_haiku.Plo
1557 -rm -f src/$(DEPDIR)/disc_linux.Plo
1558 -rm -f src/$(DEPDIR)/disc_solaris.Plo
1559 -rm -f src/$(DEPDIR)/disc_win32.Plo
1560 -rm -f src/$(DEPDIR)/sha1.Plo
1561 -rm -f src/$(DEPDIR)/toc.Plo
1562 -rm -f src/$(DEPDIR)/unix.Plo
1563 -rm -f test/$(DEPDIR)/test.Po
1564 -rm -f test/$(DEPDIR)/test_core.Po
1565 -rm -f test/$(DEPDIR)/test_put.Po
1566 -rm -f test/$(DEPDIR)/test_read.Po
1567 -rm -f test/$(DEPDIR)/test_read_full.Po
14981568 -rm -f Makefile
14991569 maintainer-clean-am: distclean-am maintainer-clean-generic
15001570
15161586
15171587 .MAKE: all check-am install-am install-strip
15181588
1519 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
1520 check-am clean clean-checkPROGRAMS clean-cscope clean-generic \
1521 clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS cscope \
1522 cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1523 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
1524 distcheck distclean distclean-compile distclean-generic \
1525 distclean-hdr distclean-libtool distclean-tags distcleancheck \
1526 distdir distuninstallcheck dvi dvi-am html html-am info \
1527 info-am install install-am install-data install-data-am \
1589 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
1590 check-TESTS check-am clean clean-checkPROGRAMS clean-cscope \
1591 clean-generic clean-libLTLIBRARIES clean-libtool \
1592 clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \
1593 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1594 dist-xz dist-zip dist-zstd distcheck distclean \
1595 distclean-compile distclean-generic distclean-hdr \
1596 distclean-libtool distclean-tags distcleancheck distdir \
1597 distuninstallcheck dvi dvi-am html html-am info info-am \
1598 install install-am install-data install-data-am \
15281599 install-discid_incHEADERS install-dvi install-dvi-am \
15291600 install-exec install-exec-am install-html install-html-am \
15301601 install-info install-info-am install-libLTLIBRARIES \
22
33 libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs.
44 It reads a CD's table of contents (TOC) and generates an identifier which
5 can be used to lookup the CD at MusicBrainz (http://musicbrainz.org).
5 can be used to lookup the CD at MusicBrainz (https://musicbrainz.org).
66 Additionally, it provides a submission URL for adding the DiscID to the
77 database.
88
1010
1111 The interface of this library is new, but the DiscID algorithm and the
1212 operating system dependent CD-ROM/DVD-ROM access code have been ported
13 from libmusicbrainz version 2.
13 from libmusicbrainz version 2.
1414
1515
1616 Please report all bugs you find via the MusicBrainz bug tracker.
1717 Don't forget to state which OS and what version you are using:
1818
19 http://tickets.musicbrainz.org/browse/LIB
19 https://tickets.musicbrainz.org/browse/LIB
2020
2121 Questions about this package may be posted to the MusicBrainz
2222 development mailing list (mb-devel):
2323
24 http://musicbrainz.org/doc/Communication/Mailing_Lists
24 https://musicbrainz.org/doc/Communication/Mailing_Lists
2525
2626 More information can be found at the package's official homepage:
2727
28 http://musicbrainz.org/doc/libdiscid
28 https://musicbrainz.org/doc/libdiscid
2929
30 API documentation for the latest version is available at:
31
32 https://metabrainz.github.io/libdiscid/
33
34
35 libdiscid is free software licensed under the GNU Lesser General Public
36 License 2.1 or later. See COPYING for details. The source code is available on
37 https://github.com/metabrainz/libdiscid/ or from the official homepage.
0 # generated automatically by aclocal 1.15 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1313 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1414 m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
17 [m4_warning([this file was generated for autoconf 2.71.
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
743743 cat <<_LT_EOF >> "$cfgfile"
744744 #! $SHELL
745745 # Generated automatically by $as_me ($PACKAGE) $VERSION
746 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
747746 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
748747
749748 # Provide generalized library-building support services.
10551054 _LT_EOF
10561055 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10571056 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1058 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1059 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1057 echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1058 $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10601059 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10611060 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10621061 cat > conftest.c << _LT_EOF
10851084 # to the OS version, if on x86, and 10.4, the deployment
10861085 # target defaults to 10.4. Don't you love it?
10871086 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1088 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1087 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*)
10891088 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10901089 10.[[012]][[,.]]*)
10911090 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1092 10.*)
1091 10.*|11.*)
10931092 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10941093 esac
10951094 ;;
15061505 m4_defun([_LT_PROG_AR],
15071506 [AC_CHECK_TOOLS(AR, [ar], false)
15081507 : ${AR=ar}
1509 : ${AR_FLAGS=cru}
1508 : ${AR_FLAGS=cr}
15101509 _LT_DECL([], [AR], [1], [The archiver])
15111510 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
15121511
29002899 dynamic_linker='GNU/Linux ld.so'
29012900 ;;
29022901
2902 netbsdelf*-gnu)
2903 version_type=linux
2904 need_lib_prefix=no
2905 need_version=no
2906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2907 soname_spec='${libname}${release}${shared_ext}$major'
2908 shlibpath_var=LD_LIBRARY_PATH
2909 shlibpath_overrides_runpath=no
2910 hardcode_into_libs=yes
2911 dynamic_linker='NetBSD ld.elf_so'
2912 ;;
2913
29032914 netbsd*)
29042915 version_type=sunos
29052916 need_lib_prefix=no
35593570 lt_cv_deplibs_check_method=pass_all
35603571 ;;
35613572
3562 netbsd*)
3573 netbsd* | netbsdelf*-gnu)
35633574 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
35643575 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
35653576 else
40654076 if AC_TRY_EVAL(ac_compile); then
40664077 # Now try to grab the symbols.
40674078 nlist=conftest.nm
4068 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
4079 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
4080 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
40694081 # Try sorting and uniquifying the output.
40704082 if sort "$nlist" | uniq > "$nlist"T; then
40714083 mv -f "$nlist"T "$nlist"
44374449 ;;
44384450 esac
44394451 ;;
4440 netbsd*)
4452 netbsd* | netbsdelf*-gnu)
44414453 ;;
44424454 *qnx* | *nto*)
44434455 # QNX uses GNU C++, but need to define -shared option too, otherwise
47054717 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47064718 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
47074719 ;;
4720 # flang / f18. f95 an alias for gfortran or flang on Debian
4721 flang* | f18* | f95*)
4722 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4723 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4724 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4725 ;;
47084726 # icc used to be incompatible with GCC.
47094727 # ICC 10 doesn't accept -KPIC any more.
47104728 icc* | ifort*)
49494967 ;;
49504968 esac
49514969 ;;
4970 linux* | k*bsd*-gnu | gnu*)
4971 _LT_TAGVAR(link_all_deplibs, $1)=no
4972 ;;
49524973 *)
49534974 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
49544975 ;;
50105031 ;;
50115032 openbsd* | bitrig*)
50125033 with_gnu_ld=no
5034 ;;
5035 linux* | k*bsd*-gnu | gnu*)
5036 _LT_TAGVAR(link_all_deplibs, $1)=no
50135037 ;;
50145038 esac
50155039
52655289 fi
52665290 ;;
52675291
5268 netbsd*)
5292 netbsd* | netbsdelf*-gnu)
52695293 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
52705294 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
52715295 wlarc=
57865810 if test yes = "$lt_cv_irix_exported_symbol"; then
57875811 _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'
57885812 fi
5813 _LT_TAGVAR(link_all_deplibs, $1)=no
57895814 else
57905815 _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'
57915816 _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'
58075832 esac
58085833 ;;
58095834
5810 netbsd*)
5835 netbsd* | netbsdelf*-gnu)
58115836 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
58125837 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
58135838 else
64296454 # Commands to make compiler produce verbose output that lists
64306455 # what "hidden" libraries, object files and flags are used when
64316456 # linking a shared library.
6432 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6457 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
64336458
64346459 else
64356460 GXX=no
68046829 # explicitly linking system object files so we need to strip them
68056830 # from the output so that they don't get included in the library
68066831 # dependencies.
6807 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"'
6832 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"'
68086833 ;;
68096834 *)
68106835 if test yes = "$GXX"; then
68696894 # explicitly linking system object files so we need to strip them
68706895 # from the output so that they don't get included in the library
68716896 # dependencies.
6872 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"'
6897 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"'
68736898 ;;
68746899 *)
68756900 if test yes = "$GXX"; then
72087233 # Commands to make compiler produce verbose output that lists
72097234 # what "hidden" libraries, object files and flags are used when
72107235 # linking a shared library.
7211 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7236 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
72127237
72137238 else
72147239 # FIXME: insert proper C++ library support
72927317 # Commands to make compiler produce verbose output that lists
72937318 # what "hidden" libraries, object files and flags are used when
72947319 # linking a shared library.
7295 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7320 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
72967321 else
72977322 # g++ 2.7 appears to require '-G' NOT '-shared' on this
72987323 # platform.
73037328 # Commands to make compiler produce verbose output that lists
73047329 # what "hidden" libraries, object files and flags are used when
73057330 # linking a shared library.
7306 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7331 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
73077332 fi
73087333
73097334 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
90489073 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
90499074 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
90509075
9051 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
9076 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
90529077 #
90539078 # This file is free software; the Free Software Foundation
90549079 # gives unlimited permission to copy and/or distribute it,
90609085 # generated from the m4 files accompanying Automake X.Y.
90619086 # (This private macro should not be called outside this file.)
90629087 AC_DEFUN([AM_AUTOMAKE_VERSION],
9063 [am__api_version='1.15'
9088 [am__api_version='1.16'
90649089 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
90659090 dnl require some minimum version. Point them to the right macro.
9066 m4_if([$1], [1.15], [],
9091 m4_if([$1], [1.16.5], [],
90679092 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
90689093 ])
90699094
90799104 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
90809105 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
90819106 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9082 [AM_AUTOMAKE_VERSION([1.15])dnl
9107 [AM_AUTOMAKE_VERSION([1.16.5])dnl
90839108 m4_ifndef([AC_AUTOCONF_VERSION],
90849109 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
90859110 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
90869111
9087 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
9112 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
90889113 #
90899114 # This file is free software; the Free Software Foundation
90909115 # gives unlimited permission to copy and/or distribute it,
91469171
91479172 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
91489173
9149 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
9174 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
91509175 #
91519176 # This file is free software; the Free Software Foundation
91529177 # gives unlimited permission to copy and/or distribute it,
91989223
91999224 # AM_CONDITIONAL -*- Autoconf -*-
92009225
9201 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
9226 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
92029227 #
92039228 # This file is free software; the Free Software Foundation
92049229 # gives unlimited permission to copy and/or distribute it,
92299254 Usually this means the macro was only invoked conditionally.]])
92309255 fi])])
92319256
9232 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
9257 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
92339258 #
92349259 # This file is free software; the Free Software Foundation
92359260 # gives unlimited permission to copy and/or distribute it,
94209445
94219446 # Generate code to set up dependency tracking. -*- Autoconf -*-
94229447
9423 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
9448 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
94249449 #
94259450 # This file is free software; the Free Software Foundation
94269451 # gives unlimited permission to copy and/or distribute it,
94279452 # with or without modifications, as long as this notice is preserved.
9428
94299453
94309454 # _AM_OUTPUT_DEPENDENCY_COMMANDS
94319455 # ------------------------------
94349458 # Older Autoconf quotes --file arguments for eval, but not when files
94359459 # are listed without --file. Let's play safe and only enable the eval
94369460 # if we detect the quoting.
9437 case $CONFIG_FILES in
9438 *\'*) eval set x "$CONFIG_FILES" ;;
9439 *) set x $CONFIG_FILES ;;
9440 esac
9461 # TODO: see whether this extra hack can be removed once we start
9462 # requiring Autoconf 2.70 or later.
9463 AS_CASE([$CONFIG_FILES],
9464 [*\'*], [eval set x "$CONFIG_FILES"],
9465 [*], [set x $CONFIG_FILES])
94419466 shift
9442 for mf
9467 # Used to flag and report bootstrapping failures.
9468 am_rc=0
9469 for am_mf
94439470 do
94449471 # Strip MF so we end up with the name of the file.
9445 mf=`echo "$mf" | sed -e 's/:.*$//'`
9446 # Check whether this is an Automake generated Makefile or not.
9447 # We used to match only the files named 'Makefile.in', but
9448 # some people rename them; so instead we look at the file content.
9449 # Grep'ing the first line is not enough: some people post-process
9450 # each Makefile.in and add a new line on top of each file to say so.
9451 # Grep'ing the whole file is not good either: AIX grep has a line
9472 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
9473 # Check whether this is an Automake generated Makefile which includes
9474 # dependency-tracking related rules and includes.
9475 # Grep'ing the whole file directly is not great: AIX grep has a line
94529476 # limit of 2048, but all sed's we know have understand at least 4000.
9453 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9454 dirpart=`AS_DIRNAME("$mf")`
9455 else
9456 continue
9457 fi
9458 # Extract the definition of DEPDIR, am__include, and am__quote
9459 # from the Makefile without running 'make'.
9460 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9461 test -z "$DEPDIR" && continue
9462 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9463 test -z "$am__include" && continue
9464 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9465 # Find all dependency output files, they are included files with
9466 # $(DEPDIR) in their names. We invoke sed twice because it is the
9467 # simplest approach to changing $(DEPDIR) to its actual value in the
9468 # expansion.
9469 for file in `sed -n "
9470 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9471 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
9472 # Make sure the directory exists.
9473 test -f "$dirpart/$file" && continue
9474 fdir=`AS_DIRNAME(["$file"])`
9475 AS_MKDIR_P([$dirpart/$fdir])
9476 # echo "creating $dirpart/$file"
9477 echo '# dummy' > "$dirpart/$file"
9478 done
9477 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9478 || continue
9479 am_dirpart=`AS_DIRNAME(["$am_mf"])`
9480 am_filepart=`AS_BASENAME(["$am_mf"])`
9481 AM_RUN_LOG([cd "$am_dirpart" \
9482 && sed -e '/# am--include-marker/d' "$am_filepart" \
9483 | $MAKE -f - am--depfiles]) || am_rc=$?
94799484 done
9485 if test $am_rc -ne 0; then
9486 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
9487 for automatic dependency tracking. If GNU make was not used, consider
9488 re-running the configure script with MAKE="gmake" (or whatever is
9489 necessary). You can also try re-running configure with the
9490 '--disable-dependency-tracking' option to at least be able to build
9491 the package (albeit without support for automatic dependency tracking).])
9492 fi
9493 AS_UNSET([am_dirpart])
9494 AS_UNSET([am_filepart])
9495 AS_UNSET([am_mf])
9496 AS_UNSET([am_rc])
9497 rm -f conftest-deps.mk
94809498 }
94819499 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
94829500
94859503 # -----------------------------
94869504 # This macro should only be invoked once -- use via AC_REQUIRE.
94879505 #
9488 # This code is only required when automatic dependency tracking
9489 # is enabled. FIXME. This creates each '.P' file that we will
9490 # need in order to bootstrap the dependency handling code.
9506 # This code is only required when automatic dependency tracking is enabled.
9507 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
9508 # order to bootstrap the dependency handling code.
94919509 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
94929510 [AC_CONFIG_COMMANDS([depfiles],
94939511 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9494 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9495 ])
9512 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
94969513
94979514 # Do all the work for Automake. -*- Autoconf -*-
94989515
9499 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
9516 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
95009517 #
95019518 # This file is free software; the Free Software Foundation
95029519 # gives unlimited permission to copy and/or distribute it,
95249541 # release and drop the old call support.
95259542 AC_DEFUN([AM_INIT_AUTOMAKE],
95269543 [AC_PREREQ([2.65])dnl
9544 m4_ifdef([_$0_ALREADY_INIT],
9545 [m4_fatal([$0 expanded multiple times
9546 ]m4_defn([_$0_ALREADY_INIT]))],
9547 [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
95279548 dnl Autoconf wants to disallow AM_ names. We explicitly allow
95289549 dnl the ones we care about.
95299550 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
95609581 [_AM_SET_OPTIONS([$1])dnl
95619582 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
95629583 m4_if(
9563 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
9584 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
95649585 [ok:ok],,
95659586 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
95669587 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
95839604 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
95849605 # For better backward compatibility. To be removed once Automake 1.9.x
95859606 # dies out for good. For more background, see:
9586 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9587 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
9607 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
9608 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
95889609 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
95899610 # We need awk for the "check" target (and possibly the TAP driver). The
95909611 # system "awk" is bad on some platforms.
96129633 [m4_define([AC_PROG_OBJCXX],
96139634 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
96149635 ])
9636 # Variables for tags utilities; see am/tags.am
9637 if test -z "$CTAGS"; then
9638 CTAGS=ctags
9639 fi
9640 AC_SUBST([CTAGS])
9641 if test -z "$ETAGS"; then
9642 ETAGS=etags
9643 fi
9644 AC_SUBST([ETAGS])
9645 if test -z "$CSCOPE"; then
9646 CSCOPE=cscope
9647 fi
9648 AC_SUBST([CSCOPE])
9649
96159650 AC_REQUIRE([AM_SILENT_RULES])dnl
96169651 dnl The testsuite driver may need to know about EXEEXT, so add the
96179652 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
96519686 Aborting the configuration process, to ensure you take notice of the issue.
96529687
96539688 You can download and install GNU coreutils to get an 'rm' implementation
9654 that behaves properly: <http://www.gnu.org/software/coreutils/>.
9689 that behaves properly: <https://www.gnu.org/software/coreutils/>.
96559690
96569691 If you want to complete the configuration process using your problematic
96579692 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
96939728 done
96949729 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
96959730
9696 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
9731 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
96979732 #
96989733 # This file is free software; the Free Software Foundation
96999734 # gives unlimited permission to copy and/or distribute it,
97149749 fi
97159750 AC_SUBST([install_sh])])
97169751
9717 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
9752 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
97189753 #
97199754 # This file is free software; the Free Software Foundation
97209755 # gives unlimited permission to copy and/or distribute it,
97359770
97369771 # Check to see how 'make' treats includes. -*- Autoconf -*-
97379772
9738 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
9773 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
97399774 #
97409775 # This file is free software; the Free Software Foundation
97419776 # gives unlimited permission to copy and/or distribute it,
97439778
97449779 # AM_MAKE_INCLUDE()
97459780 # -----------------
9746 # Check to see how make treats includes.
9781 # Check whether make has an 'include' directive that can support all
9782 # the idioms we need for our automatic dependency tracking code.
97479783 AC_DEFUN([AM_MAKE_INCLUDE],
9748 [am_make=${MAKE-make}
9749 cat > confinc << 'END'
9784 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
9785 cat > confinc.mk << 'END'
97509786 am__doit:
9751 @echo this is the am__doit target
9787 @echo this is the am__doit target >confinc.out
97529788 .PHONY: am__doit
97539789 END
9754 # If we don't find an include directive, just comment out the code.
9755 AC_MSG_CHECKING([for style of include used by $am_make])
97569790 am__include="#"
97579791 am__quote=
9758 _am_result=none
9759 # First try GNU make style include.
9760 echo "include confinc" > confmf
9761 # Ignore all kinds of additional output from 'make'.
9762 case `$am_make -s -f confmf 2> /dev/null` in #(
9763 *the\ am__doit\ target*)
9764 am__include=include
9765 am__quote=
9766 _am_result=GNU
9767 ;;
9768 esac
9769 # Now try BSD make style include.
9770 if test "$am__include" = "#"; then
9771 echo '.include "confinc"' > confmf
9772 case `$am_make -s -f confmf 2> /dev/null` in #(
9773 *the\ am__doit\ target*)
9774 am__include=.include
9775 am__quote="\""
9776 _am_result=BSD
9777 ;;
9778 esac
9779 fi
9780 AC_SUBST([am__include])
9781 AC_SUBST([am__quote])
9782 AC_MSG_RESULT([$_am_result])
9783 rm -f confinc confmf
9784 ])
9792 # BSD make does it like this.
9793 echo '.include "confinc.mk" # ignored' > confmf.BSD
9794 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
9795 echo 'include confinc.mk # ignored' > confmf.GNU
9796 _am_result=no
9797 for s in GNU BSD; do
9798 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
9799 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
9800 ['0:this is the am__doit target'],
9801 [AS_CASE([$s],
9802 [BSD], [am__include='.include' am__quote='"'],
9803 [am__include='include' am__quote=''])])
9804 if test "$am__include" != "#"; then
9805 _am_result="yes ($s style)"
9806 break
9807 fi
9808 done
9809 rm -f confinc.* confmf.*
9810 AC_MSG_RESULT([${_am_result}])
9811 AC_SUBST([am__include])])
9812 AC_SUBST([am__quote])])
97859813
97869814 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
97879815
9788 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
9816 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
97899817 #
97909818 # This file is free software; the Free Software Foundation
97919819 # gives unlimited permission to copy and/or distribute it,
98069834 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
98079835 AC_REQUIRE_AUX_FILE([missing])dnl
98089836 if test x"${MISSING+set}" != xset; then
9809 case $am_aux_dir in
9810 *\ * | *\ *)
9811 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9812 *)
9813 MISSING="\${SHELL} $am_aux_dir/missing" ;;
9814 esac
9837 MISSING="\${SHELL} '$am_aux_dir/missing'"
98159838 fi
98169839 # Use eval to expand $SHELL
98179840 if eval "$MISSING --is-lightweight"; then
98249847
98259848 # Helper functions for option handling. -*- Autoconf -*-
98269849
9827 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
9850 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
98289851 #
98299852 # This file is free software; the Free Software Foundation
98309853 # gives unlimited permission to copy and/or distribute it,
98539876 AC_DEFUN([_AM_IF_OPTION],
98549877 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
98559878
9856 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
9879 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
98579880 #
98589881 # This file is free software; the Free Software Foundation
98599882 # gives unlimited permission to copy and/or distribute it,
99009923 # For backward compatibility.
99019924 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
99029925
9903 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
9926 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
99049927 #
99059928 # This file is free software; the Free Software Foundation
99069929 # gives unlimited permission to copy and/or distribute it,
99199942
99209943 # Check to make sure that the build environment is sane. -*- Autoconf -*-
99219944
9922 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
9945 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
99239946 #
99249947 # This file is free software; the Free Software Foundation
99259948 # gives unlimited permission to copy and/or distribute it,
1000010023 rm -f conftest.file
1000110024 ])
1000210025
10003 # Copyright (C) 2009-2014 Free Software Foundation, Inc.
10026 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
1000410027 #
1000510028 # This file is free software; the Free Software Foundation
1000610029 # gives unlimited permission to copy and/or distribute it,
1006010083 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1006110084 ])
1006210085
10063 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
10086 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1006410087 #
1006510088 # This file is free software; the Free Software Foundation
1006610089 # gives unlimited permission to copy and/or distribute it,
1008810111 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1008910112 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1009010113
10091 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
10114 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
1009210115 #
1009310116 # This file is free software; the Free Software Foundation
1009410117 # gives unlimited permission to copy and/or distribute it,
1010710130
1010810131 # Check how to create a tarball. -*- Autoconf -*-
1010910132
10110 # Copyright (C) 2004-2014 Free Software Foundation, Inc.
10133 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
1011110134 #
1011210135 # This file is free software; the Free Software Foundation
1011310136 # gives unlimited permission to copy and/or distribute it,
11 # Wrapper for Microsoft lib.exe
22
33 me=ar-lib
4 scriptversion=2012-03-01.08; # UTC
5
6 # Copyright (C) 2010-2014 Free Software Foundation, Inc.
4 scriptversion=2019-07-04.01; # UTC
5
6 # Copyright (C) 2010-2021 Free Software Foundation, Inc.
77 # Written by Peter Rosin <peda@lysator.liu.se>.
88 #
99 # This program is free software; you can redistribute it and/or modify
1717 # GNU General Public License for more details.
1818 #
1919 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2121
2222 # As a special exception to the GNU General Public License, if you
2323 # distribute this file as part of a program that contains a
5252 MINGW*)
5353 file_conv=mingw
5454 ;;
55 CYGWIN*)
55 CYGWIN* | MSYS*)
5656 file_conv=cygwin
5757 ;;
5858 *)
6464 mingw)
6565 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6666 ;;
67 cygwin)
67 cygwin | msys)
6868 file=`cygpath -m "$file" || echo "$file"`
6969 ;;
7070 wine)
223223 esac
224224 done
225225 else
226 $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member
227 do
228 $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
229 done
226 $AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \
227 | while read member
228 do
229 $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
230 done
230231 fi
231232
232233 elif test -n "$quick$replace"; then
00 #! /bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
5252 MINGW*)
5353 file_conv=mingw
5454 ;;
55 CYGWIN*)
55 CYGWIN* | MSYS*)
5656 file_conv=cygwin
5757 ;;
5858 *)
6666 mingw/*)
6767 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6868 ;;
69 cygwin/*)
69 cygwin/* | msys/*)
7070 file=`cygpath -m "$file" || echo "$file"`
7171 ;;
7272 wine/*)
254254 echo "compile $scriptversion"
255255 exit $?
256256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
258259 func_cl_wrapper "$@" # Doesn't return...
259260 ;;
260261 esac
338339 # Local Variables:
339340 # mode: shell-script
340341 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # eval: (add-hook 'before-save-hook 'time-stamp)
342343 # time-stamp-start: "scriptversion="
343344 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-time-zone: "UTC0"
345346 # time-stamp-end: "; # UTC"
346347 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2014 Free Software Foundation, Inc.
3
4 timestamp='2014-11-04'
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-01-09'
57
68 # This file is free software; you can redistribute it and/or modify it
79 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
10 # the Free Software Foundation, either version 3 of the License, or
911 # (at your option) any later version.
1012 #
1113 # This program is distributed in the hope that it will be useful, but
1416 # General Public License for more details.
1517 #
1618 # 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/>.
19 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1820 #
1921 # As a special exception to the GNU General Public License, if you
2022 # distribute this file as part of a program that contains a
2628 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2729 #
2830 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
31 # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
3032 #
3133 # Please send patches to <config-patches@gnu.org>.
3234
3335
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
3444 me=`echo "$0" | sed -e 's,.*/,,'`
3545
3646 usage="\
3848
3949 Output the configuration name of the system \`$me' is run on.
4050
41 Operation modes:
51 Options:
4252 -h, --help print this help, then exit
4353 -t, --time-stamp print date of last modification, then exit
4454 -v, --version print version number, then exit
4959 GNU config.guess ($timestamp)
5060
5161 Originally written by Per Bothner.
52 Copyright 1992-2014 Free Software Foundation, Inc.
62 Copyright 1992-2022 Free Software Foundation, Inc.
5363
5464 This is free software; see the source for copying conditions. There is NO
5565 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8393 exit 1
8494 fi
8595
86 trap 'exit 1' 1 2 15
96 # Just in case it came from the environment.
97 GUESS=
8798
8899 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
89100 # compiler to aid in system detection is discouraged as it requires
95106
96107 # Portable tmp directory creation inspired by the Autoconf team.
97108
98 set_cc_for_build='
99 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
100 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
101 : ${TMPDIR=/tmp} ;
102 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
103 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
104 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
105 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
106 dummy=$tmp/dummy ;
107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > $dummy.c ;
110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
112 CC_FOR_BUILD="$c"; break ;
113 fi ;
114 done ;
115 if test x"$CC_FOR_BUILD" = x ; then
116 CC_FOR_BUILD=no_compiler_found ;
117 fi
118 ;;
119 ,,*) CC_FOR_BUILD=$CC ;;
120 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
121 esac ; set_cc_for_build= ;'
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 }
122139
123140 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
124141 # (ghazi@noc.rutgers.edu 1994-08-24)
125 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
142 if test -f /.attbin/uname ; then
126143 PATH=$PATH:/.attbin ; export PATH
127144 fi
128145
129146 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
130147 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
148 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132149 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133150
134 case "${UNAME_SYSTEM}" in
151 case $UNAME_SYSTEM in
135152 Linux|GNU|GNU/*)
136 # If the system lacks a compiler, then just pick glibc.
137 # We could probably try harder.
138 LIBC=gnu
139
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
153 LIBC=unknown
154
155 set_cc_for_build
156 cat <<-EOF > "$dummy.c"
142157 #include <features.h>
143158 #if defined(__UCLIBC__)
144159 LIBC=uclibc
145160 #elif defined(__dietlibc__)
146161 LIBC=dietlibc
162 #elif defined(__GLIBC__)
163 LIBC=gnu
147164 #else
148 LIBC=gnu
165 #include <stdarg.h>
166 /* First heuristic to detect musl libc. */
167 #ifdef __DEFINED_va_list
168 LIBC=musl
169 #endif
149170 #endif
150171 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
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
152187 ;;
153188 esac
154189
155190 # Note: order is significant - the case branches are not exclusive.
156191
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
192 case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
158193 *:NetBSD:*:*)
159194 # NetBSD (nbsd) targets should (where applicable) match one or
160195 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
166201 #
167202 # Note: NetBSD doesn't particularly care about the vendor
168203 # portion of the name. We always set it to "unknown".
169 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
172 case "${UNAME_MACHINE_ARCH}" in
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 ;;
173210 armeb) machine=armeb-unknown ;;
174211 arm*) machine=arm-unknown ;;
175212 sh3el) machine=shl-unknown ;;
176213 sh3eb) machine=sh-unknown ;;
177214 sh5el) machine=sh5le-unknown ;;
178 *) machine=${UNAME_MACHINE_ARCH}-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 ;;
179221 esac
180222 # The Operating System including object format, if it has switched
181 # to ELF recently, or will in the future.
182 case "${UNAME_MACHINE_ARCH}" in
223 # to ELF recently (or will in the future) and ABI.
224 case $UNAME_MACHINE_ARCH in
225 earm*)
226 os=netbsdelf
227 ;;
183228 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
184 eval $set_cc_for_build
229 set_cc_for_build
185230 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
186231 | grep -q __ELF__
187232 then
196241 os=netbsd
197242 ;;
198243 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
199251 # The OS release
200252 # Debian GNU/NetBSD machines have a different userland, and
201253 # thus, need a distinct triplet. However, they do not need
202254 # kernel version information, so it can be replaced with a
203255 # suitable tag, in the style of linux-gnu.
204 case "${UNAME_VERSION}" in
256 case $UNAME_VERSION in
205257 Debian*)
206258 release='-gnu'
207259 ;;
208260 *)
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
261 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
210262 ;;
211263 esac
212264 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
213265 # contains redundant information, the shorter form:
214266 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
215 echo "${machine}-${os}${release}"
216 exit ;;
267 GUESS=$machine-${os}${release}${abi-}
268 ;;
217269 *:Bitrig:*:*)
218270 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
219 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
220 exit ;;
271 GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
272 ;;
221273 *:OpenBSD:*:*)
222274 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
223 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
224 exit ;;
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 ;;
225288 *:ekkoBSD:*:*)
226 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
227 exit ;;
289 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
290 ;;
228291 *:SolidBSD:*:*)
229 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
230 exit ;;
292 GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
293 ;;
294 *:OS108:*:*)
295 GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
296 ;;
231297 macppc:MirBSD:*:*)
232 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
233 exit ;;
298 GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
299 ;;
234300 *:MirBSD:*:*)
235 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
236 exit ;;
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 ;;
237315 alpha:OSF1:*:*)
316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
317 trap '' 0
238318 case $UNAME_RELEASE in
239319 *4.0)
240320 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
248328 # covers most systems running today. This code pipes the CPU
249329 # types through head -n 1, so we only detect the type of CPU 0.
250330 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
251 case "$ALPHA_CPU_TYPE" in
331 case $ALPHA_CPU_TYPE in
252332 "EV4 (21064)")
253 UNAME_MACHINE="alpha" ;;
333 UNAME_MACHINE=alpha ;;
254334 "EV4.5 (21064)")
255 UNAME_MACHINE="alpha" ;;
335 UNAME_MACHINE=alpha ;;
256336 "LCA4 (21066/21068)")
257 UNAME_MACHINE="alpha" ;;
337 UNAME_MACHINE=alpha ;;
258338 "EV5 (21164)")
259 UNAME_MACHINE="alphaev5" ;;
339 UNAME_MACHINE=alphaev5 ;;
260340 "EV5.6 (21164A)")
261 UNAME_MACHINE="alphaev56" ;;
341 UNAME_MACHINE=alphaev56 ;;
262342 "EV5.6 (21164PC)")
263 UNAME_MACHINE="alphapca56" ;;
343 UNAME_MACHINE=alphapca56 ;;
264344 "EV5.7 (21164PC)")
265 UNAME_MACHINE="alphapca57" ;;
345 UNAME_MACHINE=alphapca57 ;;
266346 "EV6 (21264)")
267 UNAME_MACHINE="alphaev6" ;;
347 UNAME_MACHINE=alphaev6 ;;
268348 "EV6.7 (21264A)")
269 UNAME_MACHINE="alphaev67" ;;
349 UNAME_MACHINE=alphaev67 ;;
270350 "EV6.8CB (21264C)")
271 UNAME_MACHINE="alphaev68" ;;
351 UNAME_MACHINE=alphaev68 ;;
272352 "EV6.8AL (21264B)")
273 UNAME_MACHINE="alphaev68" ;;
353 UNAME_MACHINE=alphaev68 ;;
274354 "EV6.8CX (21264D)")
275 UNAME_MACHINE="alphaev68" ;;
355 UNAME_MACHINE=alphaev68 ;;
276356 "EV6.9A (21264/EV69A)")
277 UNAME_MACHINE="alphaev69" ;;
357 UNAME_MACHINE=alphaev69 ;;
278358 "EV7 (21364)")
279 UNAME_MACHINE="alphaev7" ;;
359 UNAME_MACHINE=alphaev7 ;;
280360 "EV7.9 (21364A)")
281 UNAME_MACHINE="alphaev79" ;;
361 UNAME_MACHINE=alphaev79 ;;
282362 esac
283363 # A Pn.n version is a patched version.
284364 # A Vn.n version is a released version.
285365 # A Tn.n version is a released field test version.
286366 # A Xn.n version is an unreleased experimental baselevel.
287367 # 1.2 uses "1.2" for uname -r.
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
289 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
290 exitcode=$?
291 trap '' 0
292 exit $exitcode ;;
293 Alpha\ *:Windows_NT*:*)
294 # How do we know it's Interix rather than the generic POSIX subsystem?
295 # Should we change UNAME_MACHINE based on the output of uname instead
296 # of the specific Alpha model?
297 echo alpha-pc-interix
298 exit ;;
299 21064:Windows_NT:50:3)
300 echo alpha-dec-winnt3.5
301 exit ;;
368 OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
369 GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
370 ;;
302371 Amiga*:UNIX_System_V:4.0:*)
303 echo m68k-unknown-sysv4
304 exit ;;
372 GUESS=m68k-unknown-sysv4
373 ;;
305374 *:[Aa]miga[Oo][Ss]:*:*)
306 echo ${UNAME_MACHINE}-unknown-amigaos
307 exit ;;
375 GUESS=$UNAME_MACHINE-unknown-amigaos
376 ;;
308377 *:[Mm]orph[Oo][Ss]:*:*)
309 echo ${UNAME_MACHINE}-unknown-morphos
310 exit ;;
378 GUESS=$UNAME_MACHINE-unknown-morphos
379 ;;
311380 *:OS/390:*:*)
312 echo i370-ibm-openedition
313 exit ;;
381 GUESS=i370-ibm-openedition
382 ;;
314383 *:z/VM:*:*)
315 echo s390-ibm-zvmoe
316 exit ;;
384 GUESS=s390-ibm-zvmoe
385 ;;
317386 *:OS400:*:*)
318 echo powerpc-ibm-os400
319 exit ;;
387 GUESS=powerpc-ibm-os400
388 ;;
320389 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
321 echo arm-acorn-riscix${UNAME_RELEASE}
322 exit ;;
390 GUESS=arm-acorn-riscix$UNAME_RELEASE
391 ;;
323392 arm*:riscos:*:*|arm*:RISCOS:*:*)
324 echo arm-unknown-riscos
325 exit ;;
393 GUESS=arm-unknown-riscos
394 ;;
326395 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
327 echo hppa1.1-hitachi-hiuxmpp
328 exit ;;
396 GUESS=hppa1.1-hitachi-hiuxmpp
397 ;;
329398 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
330399 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
331 if test "`(/bin/universe) 2>/dev/null`" = att ; then
332 echo pyramid-pyramid-sysv3
333 else
334 echo pyramid-pyramid-bsd
335 fi
336 exit ;;
400 case `(/bin/universe) 2>/dev/null` in
401 att) GUESS=pyramid-pyramid-sysv3 ;;
402 *) GUESS=pyramid-pyramid-bsd ;;
403 esac
404 ;;
337405 NILE*:*:*:dcosx)
338 echo pyramid-pyramid-svr4
339 exit ;;
406 GUESS=pyramid-pyramid-svr4
407 ;;
340408 DRS?6000:unix:4.0:6*)
341 echo sparc-icl-nx6
342 exit ;;
409 GUESS=sparc-icl-nx6
410 ;;
343411 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
344412 case `/usr/bin/uname -p` in
345 sparc) echo sparc-icl-nx7; exit ;;
346 esac ;;
413 sparc) GUESS=sparc-icl-nx7 ;;
414 esac
415 ;;
347416 s390x:SunOS:*:*)
348 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
349 exit ;;
417 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
418 GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
419 ;;
350420 sun4H:SunOS:5.*:*)
351 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
352 exit ;;
421 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
422 GUESS=sparc-hal-solaris2$SUN_REL
423 ;;
353424 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
354 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
355 exit ;;
425 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
426 GUESS=sparc-sun-solaris2$SUN_REL
427 ;;
356428 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
357 echo i386-pc-auroraux${UNAME_RELEASE}
358 exit ;;
429 GUESS=i386-pc-auroraux$UNAME_RELEASE
430 ;;
359431 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
360 eval $set_cc_for_build
361 SUN_ARCH="i386"
432 set_cc_for_build
433 SUN_ARCH=i386
362434 # If there is a compiler, see if it is configured for 64-bit objects.
363435 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
364436 # This test works for both compilers.
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
437 if test "$CC_FOR_BUILD" != no_compiler_found; then
366438 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
439 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
368440 grep IS_64BIT_ARCH >/dev/null
369441 then
370 SUN_ARCH="x86_64"
442 SUN_ARCH=x86_64
371443 fi
372444 fi
373 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
374 exit ;;
445 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
446 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
447 ;;
375448 sun4*:SunOS:6*:*)
376449 # According to config.sub, this is the proper way to canonicalize
377450 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
378451 # it's likely to be more like Solaris than SunOS4.
379 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
380 exit ;;
452 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
453 GUESS=sparc-sun-solaris3$SUN_REL
454 ;;
381455 sun4*:SunOS:*:*)
382 case "`/usr/bin/arch -k`" in
456 case `/usr/bin/arch -k` in
383457 Series*|S4*)
384458 UNAME_RELEASE=`uname -v`
385459 ;;
386460 esac
387461 # Japanese Language versions have a version number like `4.1.3-JL'.
388 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
389 exit ;;
462 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
463 GUESS=sparc-sun-sunos$SUN_REL
464 ;;
390465 sun3*:SunOS:*:*)
391 echo m68k-sun-sunos${UNAME_RELEASE}
392 exit ;;
466 GUESS=m68k-sun-sunos$UNAME_RELEASE
467 ;;
393468 sun*:*:4.2BSD:*)
394469 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
396 case "`/bin/arch`" in
470 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
471 case `/bin/arch` in
397472 sun3)
398 echo m68k-sun-sunos${UNAME_RELEASE}
473 GUESS=m68k-sun-sunos$UNAME_RELEASE
399474 ;;
400475 sun4)
401 echo sparc-sun-sunos${UNAME_RELEASE}
476 GUESS=sparc-sun-sunos$UNAME_RELEASE
402477 ;;
403478 esac
404 exit ;;
479 ;;
405480 aushp:SunOS:*:*)
406 echo sparc-auspex-sunos${UNAME_RELEASE}
407 exit ;;
481 GUESS=sparc-auspex-sunos$UNAME_RELEASE
482 ;;
408483 # The situation for MiNT is a little confusing. The machine name
409484 # can be virtually everything (everything which is not
410485 # "atarist" or "atariste" at least should have a processor
414489 # MiNT. But MiNT is downward compatible to TOS, so this should
415490 # be no problem.
416491 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
417 echo m68k-atari-mint${UNAME_RELEASE}
418 exit ;;
492 GUESS=m68k-atari-mint$UNAME_RELEASE
493 ;;
419494 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
420 echo m68k-atari-mint${UNAME_RELEASE}
421 exit ;;
495 GUESS=m68k-atari-mint$UNAME_RELEASE
496 ;;
422497 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
423 echo m68k-atari-mint${UNAME_RELEASE}
424 exit ;;
498 GUESS=m68k-atari-mint$UNAME_RELEASE
499 ;;
425500 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
426 echo m68k-milan-mint${UNAME_RELEASE}
427 exit ;;
501 GUESS=m68k-milan-mint$UNAME_RELEASE
502 ;;
428503 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
429 echo m68k-hades-mint${UNAME_RELEASE}
430 exit ;;
504 GUESS=m68k-hades-mint$UNAME_RELEASE
505 ;;
431506 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
432 echo m68k-unknown-mint${UNAME_RELEASE}
433 exit ;;
507 GUESS=m68k-unknown-mint$UNAME_RELEASE
508 ;;
434509 m68k:machten:*:*)
435 echo m68k-apple-machten${UNAME_RELEASE}
436 exit ;;
510 GUESS=m68k-apple-machten$UNAME_RELEASE
511 ;;
437512 powerpc:machten:*:*)
438 echo powerpc-apple-machten${UNAME_RELEASE}
439 exit ;;
513 GUESS=powerpc-apple-machten$UNAME_RELEASE
514 ;;
440515 RISC*:Mach:*:*)
441 echo mips-dec-mach_bsd4.3
442 exit ;;
516 GUESS=mips-dec-mach_bsd4.3
517 ;;
443518 RISC*:ULTRIX:*:*)
444 echo mips-dec-ultrix${UNAME_RELEASE}
445 exit ;;
519 GUESS=mips-dec-ultrix$UNAME_RELEASE
520 ;;
446521 VAX*:ULTRIX*:*:*)
447 echo vax-dec-ultrix${UNAME_RELEASE}
448 exit ;;
522 GUESS=vax-dec-ultrix$UNAME_RELEASE
523 ;;
449524 2020:CLIX:*:* | 2430:CLIX:*:*)
450 echo clipper-intergraph-clix${UNAME_RELEASE}
451 exit ;;
525 GUESS=clipper-intergraph-clix$UNAME_RELEASE
526 ;;
452527 mips:*:*:UMIPS | mips:*:*:RISCos)
453 eval $set_cc_for_build
454 sed 's/^ //' << EOF >$dummy.c
528 set_cc_for_build
529 sed 's/^ //' << EOF > "$dummy.c"
455530 #ifdef __cplusplus
456531 #include <stdio.h> /* for printf() prototype */
457532 int main (int argc, char *argv[]) {
460535 #endif
461536 #if defined (host_mips) && defined (MIPSEB)
462537 #if defined (SYSTYPE_SYSV)
463 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
538 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
464539 #endif
465540 #if defined (SYSTYPE_SVR4)
466 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
541 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
467542 #endif
468543 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
469 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
544 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
470545 #endif
471546 #endif
472547 exit (-1);
473548 }
474549 EOF
475 $CC_FOR_BUILD -o $dummy $dummy.c &&
476 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
477 SYSTEM_NAME=`$dummy $dummyarg` &&
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"` &&
478553 { echo "$SYSTEM_NAME"; exit; }
479 echo mips-mips-riscos${UNAME_RELEASE}
480 exit ;;
554 GUESS=mips-mips-riscos$UNAME_RELEASE
555 ;;
481556 Motorola:PowerMAX_OS:*:*)
482 echo powerpc-motorola-powermax
483 exit ;;
557 GUESS=powerpc-motorola-powermax
558 ;;
484559 Motorola:*:4.3:PL8-*)
485 echo powerpc-harris-powermax
486 exit ;;
560 GUESS=powerpc-harris-powermax
561 ;;
487562 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
488 echo powerpc-harris-powermax
489 exit ;;
563 GUESS=powerpc-harris-powermax
564 ;;
490565 Night_Hawk:Power_UNIX:*:*)
491 echo powerpc-harris-powerunix
492 exit ;;
566 GUESS=powerpc-harris-powerunix
567 ;;
493568 m88k:CX/UX:7*:*)
494 echo m88k-harris-cxux7
495 exit ;;
569 GUESS=m88k-harris-cxux7
570 ;;
496571 m88k:*:4*:R4*)
497 echo m88k-motorola-sysv4
498 exit ;;
572 GUESS=m88k-motorola-sysv4
573 ;;
499574 m88k:*:3*:R3*)
500 echo m88k-motorola-sysv3
501 exit ;;
575 GUESS=m88k-motorola-sysv3
576 ;;
502577 AViiON:dgux:*:*)
503578 # DG/UX returns AViiON for all architectures
504579 UNAME_PROCESSOR=`/usr/bin/uname -p`
505 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
580 if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
506581 then
507 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
508 [ ${TARGET_BINARY_INTERFACE}x = x ]
582 if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
583 test "$TARGET_BINARY_INTERFACE"x = x
509584 then
510 echo m88k-dg-dgux${UNAME_RELEASE}
585 GUESS=m88k-dg-dgux$UNAME_RELEASE
511586 else
512 echo m88k-dg-dguxbcs${UNAME_RELEASE}
587 GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
513588 fi
514589 else
515 echo i586-dg-dgux${UNAME_RELEASE}
516 fi
517 exit ;;
590 GUESS=i586-dg-dgux$UNAME_RELEASE
591 fi
592 ;;
518593 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
519 echo m88k-dolphin-sysv3
520 exit ;;
594 GUESS=m88k-dolphin-sysv3
595 ;;
521596 M88*:*:R3*:*)
522597 # Delta 88k system running SVR3
523 echo m88k-motorola-sysv3
524 exit ;;
598 GUESS=m88k-motorola-sysv3
599 ;;
525600 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
526 echo m88k-tektronix-sysv3
527 exit ;;
601 GUESS=m88k-tektronix-sysv3
602 ;;
528603 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
529 echo m68k-tektronix-bsd
530 exit ;;
604 GUESS=m68k-tektronix-bsd
605 ;;
531606 *:IRIX*:*:*)
532 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
533 exit ;;
607 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
608 GUESS=mips-sgi-irix$IRIX_REL
609 ;;
534610 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
535 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
536 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
611 GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id
612 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
537613 i*86:AIX:*:*)
538 echo i386-ibm-aix
539 exit ;;
614 GUESS=i386-ibm-aix
615 ;;
540616 ia64:AIX:*:*)
541 if [ -x /usr/bin/oslevel ] ; then
617 if test -x /usr/bin/oslevel ; then
542618 IBM_REV=`/usr/bin/oslevel`
543619 else
544 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
545 fi
546 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
547 exit ;;
620 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
621 fi
622 GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
623 ;;
548624 *:AIX:2:3)
549625 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
550 eval $set_cc_for_build
551 sed 's/^ //' << EOF >$dummy.c
626 set_cc_for_build
627 sed 's/^ //' << EOF > "$dummy.c"
552628 #include <sys/systemcfg.h>
553629
554630 main()
559635 exit(0);
560636 }
561637 EOF
562 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
638 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
563639 then
564 echo "$SYSTEM_NAME"
640 GUESS=$SYSTEM_NAME
565641 else
566 echo rs6000-ibm-aix3.2.5
642 GUESS=rs6000-ibm-aix3.2.5
567643 fi
568644 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
569 echo rs6000-ibm-aix3.2.4
645 GUESS=rs6000-ibm-aix3.2.4
570646 else
571 echo rs6000-ibm-aix3.2
572 fi
573 exit ;;
647 GUESS=rs6000-ibm-aix3.2
648 fi
649 ;;
574650 *:AIX:*:[4567])
575651 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
576 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
652 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
577653 IBM_ARCH=rs6000
578654 else
579655 IBM_ARCH=powerpc
580656 fi
581 if [ -x /usr/bin/lslpp ] ; then
582 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
657 if test -x /usr/bin/lslpp ; then
658 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \
583659 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
584660 else
585 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
586 fi
587 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
588 exit ;;
661 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
662 fi
663 GUESS=$IBM_ARCH-ibm-aix$IBM_REV
664 ;;
589665 *:AIX:*:*)
590 echo rs6000-ibm-aix
591 exit ;;
592 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
593 echo romp-ibm-bsd4.4
594 exit ;;
666 GUESS=rs6000-ibm-aix
667 ;;
668 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
669 GUESS=romp-ibm-bsd4.4
670 ;;
595671 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
596 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
597 exit ;; # report: romp-ibm BSD 4.3
672 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
673 ;; # report: romp-ibm BSD 4.3
598674 *:BOSX:*:*)
599 echo rs6000-bull-bosx
600 exit ;;
675 GUESS=rs6000-bull-bosx
676 ;;
601677 DPX/2?00:B.O.S.:*:*)
602 echo m68k-bull-sysv3
603 exit ;;
678 GUESS=m68k-bull-sysv3
679 ;;
604680 9000/[34]??:4.3bsd:1.*:*)
605 echo m68k-hp-bsd
606 exit ;;
681 GUESS=m68k-hp-bsd
682 ;;
607683 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
608 echo m68k-hp-bsd4.4
609 exit ;;
684 GUESS=m68k-hp-bsd4.4
685 ;;
610686 9000/[34678]??:HP-UX:*:*)
611 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
612 case "${UNAME_MACHINE}" in
613 9000/31? ) HP_ARCH=m68000 ;;
614 9000/[34]?? ) HP_ARCH=m68k ;;
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 ;;
615691 9000/[678][0-9][0-9])
616 if [ -x /usr/bin/getconf ]; then
692 if test -x /usr/bin/getconf; then
617693 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
618694 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
619 case "${sc_cpu_version}" in
620 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
621 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
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
622698 532) # CPU_PA_RISC2_0
623 case "${sc_kernel_bits}" in
624 32) HP_ARCH="hppa2.0n" ;;
625 64) HP_ARCH="hppa2.0w" ;;
626 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
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
627703 esac ;;
628704 esac
629705 fi
630 if [ "${HP_ARCH}" = "" ]; then
631 eval $set_cc_for_build
632 sed 's/^ //' << EOF >$dummy.c
706 if test "$HP_ARCH" = ""; then
707 set_cc_for_build
708 sed 's/^ //' << EOF > "$dummy.c"
633709
634710 #define _HPUX_SOURCE
635711 #include <stdlib.h>
662738 exit (0);
663739 }
664740 EOF
665 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
741 (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
666742 test -z "$HP_ARCH" && HP_ARCH=hppa
667743 fi ;;
668744 esac
669 if [ ${HP_ARCH} = "hppa2.0w" ]
745 if test "$HP_ARCH" = hppa2.0w
670746 then
671 eval $set_cc_for_build
747 set_cc_for_build
672748
673749 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
674750 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
679755 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
680756 # => hppa64-hp-hpux11.23
681757
682 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
758 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
683759 grep -q __LP64__
684760 then
685 HP_ARCH="hppa2.0w"
761 HP_ARCH=hppa2.0w
686762 else
687 HP_ARCH="hppa64"
763 HP_ARCH=hppa64
688764 fi
689765 fi
690 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
691 exit ;;
766 GUESS=$HP_ARCH-hp-hpux$HPUX_REV
767 ;;
692768 ia64:HP-UX:*:*)
693 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
694 echo ia64-hp-hpux${HPUX_REV}
695 exit ;;
769 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
770 GUESS=ia64-hp-hpux$HPUX_REV
771 ;;
696772 3050*:HI-UX:*:*)
697 eval $set_cc_for_build
698 sed 's/^ //' << EOF >$dummy.c
773 set_cc_for_build
774 sed 's/^ //' << EOF > "$dummy.c"
699775 #include <unistd.h>
700776 int
701777 main ()
720796 exit (0);
721797 }
722798 EOF
723 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
799 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
724800 { echo "$SYSTEM_NAME"; exit; }
725 echo unknown-hitachi-hiuxwe2
726 exit ;;
727 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
728 echo hppa1.1-hp-bsd
729 exit ;;
801 GUESS=unknown-hitachi-hiuxwe2
802 ;;
803 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
804 GUESS=hppa1.1-hp-bsd
805 ;;
730806 9000/8??:4.3bsd:*:*)
731 echo hppa1.0-hp-bsd
732 exit ;;
807 GUESS=hppa1.0-hp-bsd
808 ;;
733809 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
734 echo hppa1.0-hp-mpeix
735 exit ;;
736 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
737 echo hppa1.1-hp-osf
738 exit ;;
810 GUESS=hppa1.0-hp-mpeix
811 ;;
812 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
813 GUESS=hppa1.1-hp-osf
814 ;;
739815 hp8??:OSF1:*:*)
740 echo hppa1.0-hp-osf
741 exit ;;
816 GUESS=hppa1.0-hp-osf
817 ;;
742818 i*86:OSF1:*:*)
743 if [ -x /usr/sbin/sysversion ] ; then
744 echo ${UNAME_MACHINE}-unknown-osf1mk
819 if test -x /usr/sbin/sysversion ; then
820 GUESS=$UNAME_MACHINE-unknown-osf1mk
745821 else
746 echo ${UNAME_MACHINE}-unknown-osf1
747 fi
748 exit ;;
822 GUESS=$UNAME_MACHINE-unknown-osf1
823 fi
824 ;;
749825 parisc*:Lites*:*:*)
750 echo hppa1.1-hp-lites
751 exit ;;
826 GUESS=hppa1.1-hp-lites
827 ;;
752828 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
753 echo c1-convex-bsd
754 exit ;;
829 GUESS=c1-convex-bsd
830 ;;
755831 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
756832 if getsysinfo -f scalar_acc
757833 then echo c32-convex-bsd
759835 fi
760836 exit ;;
761837 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
762 echo c34-convex-bsd
763 exit ;;
838 GUESS=c34-convex-bsd
839 ;;
764840 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
765 echo c38-convex-bsd
766 exit ;;
841 GUESS=c38-convex-bsd
842 ;;
767843 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
768 echo c4-convex-bsd
769 exit ;;
844 GUESS=c4-convex-bsd
845 ;;
770846 CRAY*Y-MP:*:*:*)
771 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
772 exit ;;
847 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
848 GUESS=ymp-cray-unicos$CRAY_REL
849 ;;
773850 CRAY*[A-Z]90:*:*:*)
774 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
851 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
775852 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
776853 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
777854 -e 's/\.[^.]*$/.X/'
778855 exit ;;
779856 CRAY*TS:*:*:*)
780 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
781 exit ;;
857 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
858 GUESS=t90-cray-unicos$CRAY_REL
859 ;;
782860 CRAY*T3E:*:*:*)
783 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
784 exit ;;
861 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
862 GUESS=alphaev5-cray-unicosmk$CRAY_REL
863 ;;
785864 CRAY*SV1:*:*:*)
786 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
787 exit ;;
865 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
866 GUESS=sv1-cray-unicos$CRAY_REL
867 ;;
788868 *:UNICOS/mp:*:*)
789 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
790 exit ;;
869 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 GUESS=craynv-cray-unicosmp$CRAY_REL
871 ;;
791872 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
792 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
793 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
794 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
795 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
796 exit ;;
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 ;;
797878 5000:UNIX_System_V:4.*:*)
798 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
799 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
800 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
801 exit ;;
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 ;;
802883 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
803 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
804 exit ;;
884 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
885 ;;
805886 sparc*:BSD/OS:*:*)
806 echo sparc-unknown-bsdi${UNAME_RELEASE}
807 exit ;;
887 GUESS=sparc-unknown-bsdi$UNAME_RELEASE
888 ;;
808889 *:BSD/OS:*:*)
809 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
810 exit ;;
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 ;;
811905 *:FreeBSD:*:*)
812906 UNAME_PROCESSOR=`/usr/bin/uname -p`
813 case ${UNAME_PROCESSOR} in
907 case $UNAME_PROCESSOR in
814908 amd64)
815 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816 *)
817 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
909 UNAME_PROCESSOR=x86_64 ;;
910 i386)
911 UNAME_PROCESSOR=i586 ;;
818912 esac
819 exit ;;
913 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
914 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
915 ;;
820916 i*:CYGWIN*:*)
821 echo ${UNAME_MACHINE}-pc-cygwin
822 exit ;;
917 GUESS=$UNAME_MACHINE-pc-cygwin
918 ;;
823919 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
825 exit ;;
920 GUESS=$UNAME_MACHINE-pc-mingw64
921 ;;
826922 *:MINGW*:*)
827 echo ${UNAME_MACHINE}-pc-mingw32
828 exit ;;
923 GUESS=$UNAME_MACHINE-pc-mingw32
924 ;;
829925 *:MSYS*:*)
830 echo ${UNAME_MACHINE}-pc-msys
831 exit ;;
832 i*:windows32*:*)
833 # uname -m includes "-pc" on this system.
834 echo ${UNAME_MACHINE}-mingw32
835 exit ;;
926 GUESS=$UNAME_MACHINE-pc-msys
927 ;;
836928 i*:PW*:*)
837 echo ${UNAME_MACHINE}-pc-pw32
838 exit ;;
929 GUESS=$UNAME_MACHINE-pc-pw32
930 ;;
931 *:SerenityOS:*:*)
932 GUESS=$UNAME_MACHINE-pc-serenity
933 ;;
839934 *:Interix*:*)
840 case ${UNAME_MACHINE} in
935 case $UNAME_MACHINE in
841936 x86)
842 echo i586-pc-interix${UNAME_RELEASE}
843 exit ;;
937 GUESS=i586-pc-interix$UNAME_RELEASE
938 ;;
844939 authenticamd | genuineintel | EM64T)
845 echo x86_64-unknown-interix${UNAME_RELEASE}
846 exit ;;
940 GUESS=x86_64-unknown-interix$UNAME_RELEASE
941 ;;
847942 IA64)
848 echo ia64-unknown-interix${UNAME_RELEASE}
849 exit ;;
943 GUESS=ia64-unknown-interix$UNAME_RELEASE
944 ;;
850945 esac ;;
851 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
852 echo i${UNAME_MACHINE}-pc-mks
853 exit ;;
854 8664:Windows_NT:*)
855 echo x86_64-pc-mks
856 exit ;;
857 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
858 # How do we know it's Interix rather than the generic POSIX subsystem?
859 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
860 # UNAME_MACHINE based on the output of uname instead of i386?
861 echo i586-pc-interix
862 exit ;;
863946 i*:UWIN*:*)
864 echo ${UNAME_MACHINE}-pc-uwin
865 exit ;;
947 GUESS=$UNAME_MACHINE-pc-uwin
948 ;;
866949 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867 echo x86_64-unknown-cygwin
868 exit ;;
869 p*:CYGWIN*:*)
870 echo powerpcle-unknown-cygwin
871 exit ;;
950 GUESS=x86_64-pc-cygwin
951 ;;
872952 prep*:SunOS:5.*:*)
873 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
874 exit ;;
953 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
954 GUESS=powerpcle-unknown-solaris2$SUN_REL
955 ;;
875956 *:GNU:*:*)
876957 # the GNU system
877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
878 exit ;;
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 ;;
879962 *:GNU/*:*:*)
880963 # other systems with GNU libc and userland
881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
882 exit ;;
883 i*86:Minix:*:*)
884 echo ${UNAME_MACHINE}-pc-minix
885 exit ;;
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 ;;
886971 aarch64:Linux:*:*)
887 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
888 exit ;;
972 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
973 ;;
889974 aarch64_be:Linux:*:*)
890975 UNAME_MACHINE=aarch64_be
891 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
892 exit ;;
976 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
977 ;;
893978 alpha:Linux:*:*)
894 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
979 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
895980 EV5) UNAME_MACHINE=alphaev5 ;;
896981 EV56) UNAME_MACHINE=alphaev56 ;;
897982 PCA56) UNAME_MACHINE=alphapca56 ;;
901986 EV68*) UNAME_MACHINE=alphaev68 ;;
902987 esac
903988 objdump --private-headers /bin/sh | grep -q ld.so.1
904 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
906 exit ;;
907 arc:Linux:*:* | arceb:Linux:*:*)
908 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
909 exit ;;
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 ;;
910995 arm*:Linux:*:*)
911 eval $set_cc_for_build
996 set_cc_for_build
912997 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913998 | grep -q __ARM_EABI__
914999 then
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1000 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
9161001 else
9171002 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
9181003 | grep -q __ARM_PCS_VFP
9191004 then
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
1005 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
9211006 else
922 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
1007 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
9231008 fi
9241009 fi
925 exit ;;
1010 ;;
9261011 avr32*:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928 exit ;;
1012 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1013 ;;
9291014 cris:Linux:*:*)
930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
931 exit ;;
1015 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1016 ;;
9321017 crisv32:Linux:*:*)
933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
934 exit ;;
1018 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1019 ;;
1020 e2k:Linux:*:*)
1021 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1022 ;;
9351023 frv:Linux:*:*)
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
937 exit ;;
1024 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1025 ;;
9381026 hexagon:Linux:*:*)
939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
940 exit ;;
1027 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1028 ;;
9411029 i*86:Linux:*:*)
942 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
943 exit ;;
1030 GUESS=$UNAME_MACHINE-pc-linux-$LIBC
1031 ;;
9441032 ia64:Linux:*:*)
945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
946 exit ;;
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 ;;
9471041 m32r*:Linux:*:*)
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
949 exit ;;
1042 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1043 ;;
9501044 m68*:Linux:*:*)
951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
952 exit ;;
1045 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1046 ;;
9531047 mips:Linux:*:* | mips64:Linux:*:*)
954 eval $set_cc_for_build
955 sed 's/^ //' << EOF >$dummy.c
1048 set_cc_for_build
1049 IS_GLIBC=0
1050 test x"${LIBC}" = xgnu && IS_GLIBC=1
1051 sed 's/^ //' << EOF > "$dummy.c"
9561052 #undef CPU
957 #undef ${UNAME_MACHINE}
958 #undef ${UNAME_MACHINE}el
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
9591081 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
960 CPU=${UNAME_MACHINE}el
1082 MIPS_ENDIAN=el
9611083 #else
9621084 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
963 CPU=${UNAME_MACHINE}
1085 MIPS_ENDIAN=
9641086 #else
965 CPU=
1087 MIPS_ENDIAN=
9661088 #endif
9671089 #endif
9681090 EOF
969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
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
9711097 ;;
9721098 openrisc*:Linux:*:*)
973 echo or1k-unknown-linux-${LIBC}
974 exit ;;
1099 GUESS=or1k-unknown-linux-$LIBC
1100 ;;
9751101 or32:Linux:*:* | or1k*:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
977 exit ;;
1102 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1103 ;;
9781104 padre:Linux:*:*)
979 echo sparc-unknown-linux-${LIBC}
980 exit ;;
1105 GUESS=sparc-unknown-linux-$LIBC
1106 ;;
9811107 parisc64:Linux:*:* | hppa64:Linux:*:*)
982 echo hppa64-unknown-linux-${LIBC}
983 exit ;;
1108 GUESS=hppa64-unknown-linux-$LIBC
1109 ;;
9841110 parisc:Linux:*:* | hppa:Linux:*:*)
9851111 # Look for CPU level
9861112 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989 *) echo hppa-unknown-linux-${LIBC} ;;
1113 PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
1114 PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
1115 *) GUESS=hppa-unknown-linux-$LIBC ;;
9901116 esac
991 exit ;;
1117 ;;
9921118 ppc64:Linux:*:*)
993 echo powerpc64-unknown-linux-${LIBC}
994 exit ;;
1119 GUESS=powerpc64-unknown-linux-$LIBC
1120 ;;
9951121 ppc:Linux:*:*)
996 echo powerpc-unknown-linux-${LIBC}
997 exit ;;
1122 GUESS=powerpc-unknown-linux-$LIBC
1123 ;;
9981124 ppc64le:Linux:*:*)
999 echo powerpc64le-unknown-linux-${LIBC}
1000 exit ;;
1125 GUESS=powerpc64le-unknown-linux-$LIBC
1126 ;;
10011127 ppcle:Linux:*:*)
1002 echo powerpcle-unknown-linux-${LIBC}
1003 exit ;;
1128 GUESS=powerpcle-unknown-linux-$LIBC
1129 ;;
1130 riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
1131 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1132 ;;
10041133 s390:Linux:*:* | s390x:Linux:*:*)
1005 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1006 exit ;;
1134 GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
1135 ;;
10071136 sh64*:Linux:*:*)
1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1009 exit ;;
1137 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1138 ;;
10101139 sh*:Linux:*:*)
1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1012 exit ;;
1140 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1141 ;;
10131142 sparc:Linux:*:* | sparc64:Linux:*:*)
1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1015 exit ;;
1143 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1144 ;;
10161145 tile*:Linux:*:*)
1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1018 exit ;;
1146 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1147 ;;
10191148 vax:Linux:*:*)
1020 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1021 exit ;;
1149 GUESS=$UNAME_MACHINE-dec-linux-$LIBC
1150 ;;
10221151 x86_64:Linux:*:*)
1023 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1024 exit ;;
1152 set_cc_for_build
1153 LIBCABI=$LIBC
1154 if test "$CC_FOR_BUILD" != no_compiler_found; then
1155 if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
1156 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1157 grep IS_X32 >/dev/null
1158 then
1159 LIBCABI=${LIBC}x32
1160 fi
1161 fi
1162 GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
1163 ;;
10251164 xtensa*:Linux:*:*)
1026 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1027 exit ;;
1165 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1166 ;;
10281167 i*86:DYNIX/ptx:4*:*)
10291168 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10301169 # earlier versions are messed up and put the nodename in both
10311170 # sysname and nodename.
1032 echo i386-sequent-sysv4
1033 exit ;;
1171 GUESS=i386-sequent-sysv4
1172 ;;
10341173 i*86:UNIX_SV:4.2MP:2.*)
10351174 # Unixware is an offshoot of SVR4, but it has its own version
10361175 # number series starting with 2...
10371176 # I am not positive that other SVR4 systems won't match this,
10381177 # I just have to hope. -- rms.
10391178 # Use sysv4.2uw... so that sysv4* matches it.
1040 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1041 exit ;;
1179 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
1180 ;;
10421181 i*86:OS/2:*:*)
10431182 # If we were able to find `uname', then EMX Unix compatibility
10441183 # is probably installed.
1045 echo ${UNAME_MACHINE}-pc-os2-emx
1046 exit ;;
1184 GUESS=$UNAME_MACHINE-pc-os2-emx
1185 ;;
10471186 i*86:XTS-300:*:STOP)
1048 echo ${UNAME_MACHINE}-unknown-stop
1049 exit ;;
1187 GUESS=$UNAME_MACHINE-unknown-stop
1188 ;;
10501189 i*86:atheos:*:*)
1051 echo ${UNAME_MACHINE}-unknown-atheos
1052 exit ;;
1190 GUESS=$UNAME_MACHINE-unknown-atheos
1191 ;;
10531192 i*86:syllable:*:*)
1054 echo ${UNAME_MACHINE}-pc-syllable
1055 exit ;;
1193 GUESS=$UNAME_MACHINE-pc-syllable
1194 ;;
10561195 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1057 echo i386-unknown-lynxos${UNAME_RELEASE}
1058 exit ;;
1196 GUESS=i386-unknown-lynxos$UNAME_RELEASE
1197 ;;
10591198 i*86:*DOS:*:*)
1060 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1061 exit ;;
1062 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1063 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1199 GUESS=$UNAME_MACHINE-pc-msdosdjgpp
1200 ;;
1201 i*86:*:4.*:*)
1202 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10641203 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1065 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1204 GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
10661205 else
1067 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1068 fi
1069 exit ;;
1206 GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
1207 fi
1208 ;;
10701209 i*86:*:5:[678]*)
10711210 # UnixWare 7.x, OpenUNIX and OpenServer 6.
10721211 case `/bin/uname -X | grep "^Machine"` in
10741213 *Pentium) UNAME_MACHINE=i586 ;;
10751214 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10761215 esac
1077 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1078 exit ;;
1216 GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1217 ;;
10791218 i*86:*:3.2:*)
10801219 if test -f /usr/options/cb.name; then
10811220 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1082 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1221 GUESS=$UNAME_MACHINE-pc-isc$UNAME_REL
10831222 elif /bin/uname -X 2>/dev/null >/dev/null ; then
10841223 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
10851224 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
10891228 && UNAME_MACHINE=i686
10901229 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
10911230 && UNAME_MACHINE=i686
1092 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1231 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
10931232 else
1094 echo ${UNAME_MACHINE}-pc-sysv32
1095 fi
1096 exit ;;
1233 GUESS=$UNAME_MACHINE-pc-sysv32
1234 fi
1235 ;;
10971236 pc:*:*:*)
10981237 # Left here for compatibility:
10991238 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11001239 # the processor, so we play safe by assuming i586.
11011240 # Note: whatever this is, it MUST be the same as what config.sub
1102 # prints for the "djgpp" host, or else GDB configury will decide that
1241 # prints for the "djgpp" host, or else GDB configure will decide that
11031242 # this is a cross-build.
1104 echo i586-pc-msdosdjgpp
1105 exit ;;
1243 GUESS=i586-pc-msdosdjgpp
1244 ;;
11061245 Intel:Mach:3*:*)
1107 echo i386-pc-mach3
1108 exit ;;
1246 GUESS=i386-pc-mach3
1247 ;;
11091248 paragon:*:*:*)
1110 echo i860-intel-osf1
1111 exit ;;
1249 GUESS=i860-intel-osf1
1250 ;;
11121251 i860:*:4.*:*) # i860-SVR4
11131252 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1114 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1253 GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
11151254 else # Add other i860-SVR4 vendors below as they are discovered.
1116 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1117 fi
1118 exit ;;
1255 GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
1256 fi
1257 ;;
11191258 mini*:CTIX:SYS*5:*)
11201259 # "miniframe"
1121 echo m68010-convergent-sysv
1122 exit ;;
1260 GUESS=m68010-convergent-sysv
1261 ;;
11231262 mc68k:UNIX:SYSTEM5:3.51m)
1124 echo m68k-convergent-sysv
1125 exit ;;
1263 GUESS=m68k-convergent-sysv
1264 ;;
11261265 M680?0:D-NIX:5.3:*)
1127 echo m68k-diab-dnix
1128 exit ;;
1266 GUESS=m68k-diab-dnix
1267 ;;
11291268 M68*:*:R3V[5678]*:*)
11301269 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
11311270 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)
11331272 test -r /etc/.relid \
11341273 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11351274 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1136 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1275 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11371276 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1138 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1277 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11391278 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11401279 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11411280 && { echo i486-ncr-sysv4; exit; } ;;
11441283 test -r /etc/.relid \
11451284 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11461285 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1147 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1286 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11481287 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1149 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1288 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
11501289 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1290 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11521291 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1153 echo m68k-unknown-lynxos${UNAME_RELEASE}
1154 exit ;;
1292 GUESS=m68k-unknown-lynxos$UNAME_RELEASE
1293 ;;
11551294 mc68030:UNIX_System_V:4.*:*)
1156 echo m68k-atari-sysv4
1157 exit ;;
1295 GUESS=m68k-atari-sysv4
1296 ;;
11581297 TSUNAMI:LynxOS:2.*:*)
1159 echo sparc-unknown-lynxos${UNAME_RELEASE}
1160 exit ;;
1298 GUESS=sparc-unknown-lynxos$UNAME_RELEASE
1299 ;;
11611300 rs6000:LynxOS:2.*:*)
1162 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1163 exit ;;
1301 GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
1302 ;;
11641303 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1165 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1166 exit ;;
1304 GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
1305 ;;
11671306 SM[BE]S:UNIX_SV:*:*)
1168 echo mips-dde-sysv${UNAME_RELEASE}
1169 exit ;;
1307 GUESS=mips-dde-sysv$UNAME_RELEASE
1308 ;;
11701309 RM*:ReliantUNIX-*:*:*)
1171 echo mips-sni-sysv4
1172 exit ;;
1310 GUESS=mips-sni-sysv4
1311 ;;
11731312 RM*:SINIX-*:*:*)
1174 echo mips-sni-sysv4
1175 exit ;;
1313 GUESS=mips-sni-sysv4
1314 ;;
11761315 *:SINIX-*:*:*)
11771316 if uname -p 2>/dev/null >/dev/null ; then
11781317 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1179 echo ${UNAME_MACHINE}-sni-sysv4
1318 GUESS=$UNAME_MACHINE-sni-sysv4
11801319 else
1181 echo ns32k-sni-sysv
1182 fi
1183 exit ;;
1320 GUESS=ns32k-sni-sysv
1321 fi
1322 ;;
11841323 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
11851324 # says <Richard.M.Bartel@ccMail.Census.GOV>
1186 echo i586-unisys-sysv4
1187 exit ;;
1325 GUESS=i586-unisys-sysv4
1326 ;;
11881327 *:UNIX_System_V:4*:FTX*)
11891328 # From Gerald Hewes <hewes@openmarket.com>.
11901329 # How about differentiating between stratus architectures? -djm
1191 echo hppa1.1-stratus-sysv4
1192 exit ;;
1330 GUESS=hppa1.1-stratus-sysv4
1331 ;;
11931332 *:*:*:FTX*)
11941333 # From seanf@swdc.stratus.com.
1195 echo i860-stratus-sysv4
1196 exit ;;
1334 GUESS=i860-stratus-sysv4
1335 ;;
11971336 i*86:VOS:*:*)
11981337 # From Paul.Green@stratus.com.
1199 echo ${UNAME_MACHINE}-stratus-vos
1200 exit ;;
1338 GUESS=$UNAME_MACHINE-stratus-vos
1339 ;;
12011340 *:VOS:*:*)
12021341 # From Paul.Green@stratus.com.
1203 echo hppa1.1-stratus-vos
1204 exit ;;
1342 GUESS=hppa1.1-stratus-vos
1343 ;;
12051344 mc68*:A/UX:*:*)
1206 echo m68k-apple-aux${UNAME_RELEASE}
1207 exit ;;
1345 GUESS=m68k-apple-aux$UNAME_RELEASE
1346 ;;
12081347 news*:NEWS-OS:6*:*)
1209 echo mips-sony-newsos6
1210 exit ;;
1348 GUESS=mips-sony-newsos6
1349 ;;
12111350 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1212 if [ -d /usr/nec ]; then
1213 echo mips-nec-sysv${UNAME_RELEASE}
1351 if test -d /usr/nec; then
1352 GUESS=mips-nec-sysv$UNAME_RELEASE
12141353 else
1215 echo mips-unknown-sysv${UNAME_RELEASE}
1216 fi
1217 exit ;;
1354 GUESS=mips-unknown-sysv$UNAME_RELEASE
1355 fi
1356 ;;
12181357 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1219 echo powerpc-be-beos
1220 exit ;;
1358 GUESS=powerpc-be-beos
1359 ;;
12211360 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1222 echo powerpc-apple-beos
1223 exit ;;
1361 GUESS=powerpc-apple-beos
1362 ;;
12241363 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1225 echo i586-pc-beos
1226 exit ;;
1364 GUESS=i586-pc-beos
1365 ;;
12271366 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1228 echo i586-pc-haiku
1229 exit ;;
1367 GUESS=i586-pc-haiku
1368 ;;
12301369 x86_64:Haiku:*:*)
1231 echo x86_64-unknown-haiku
1232 exit ;;
1370 GUESS=x86_64-unknown-haiku
1371 ;;
12331372 SX-4:SUPER-UX:*:*)
1234 echo sx4-nec-superux${UNAME_RELEASE}
1235 exit ;;
1373 GUESS=sx4-nec-superux$UNAME_RELEASE
1374 ;;
12361375 SX-5:SUPER-UX:*:*)
1237 echo sx5-nec-superux${UNAME_RELEASE}
1238 exit ;;
1376 GUESS=sx5-nec-superux$UNAME_RELEASE
1377 ;;
12391378 SX-6:SUPER-UX:*:*)
1240 echo sx6-nec-superux${UNAME_RELEASE}
1241 exit ;;
1379 GUESS=sx6-nec-superux$UNAME_RELEASE
1380 ;;
12421381 SX-7:SUPER-UX:*:*)
1243 echo sx7-nec-superux${UNAME_RELEASE}
1244 exit ;;
1382 GUESS=sx7-nec-superux$UNAME_RELEASE
1383 ;;
12451384 SX-8:SUPER-UX:*:*)
1246 echo sx8-nec-superux${UNAME_RELEASE}
1247 exit ;;
1385 GUESS=sx8-nec-superux$UNAME_RELEASE
1386 ;;
12481387 SX-8R:SUPER-UX:*:*)
1249 echo sx8r-nec-superux${UNAME_RELEASE}
1250 exit ;;
1388 GUESS=sx8r-nec-superux$UNAME_RELEASE
1389 ;;
1390 SX-ACE:SUPER-UX:*:*)
1391 GUESS=sxace-nec-superux$UNAME_RELEASE
1392 ;;
12511393 Power*:Rhapsody:*:*)
1252 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1253 exit ;;
1394 GUESS=powerpc-apple-rhapsody$UNAME_RELEASE
1395 ;;
12541396 *:Rhapsody:*:*)
1255 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1256 exit ;;
1397 GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE
1398 ;;
1399 arm64:Darwin:*:*)
1400 GUESS=aarch64-apple-darwin$UNAME_RELEASE
1401 ;;
12571402 *:Darwin:*:*)
1258 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1259 eval $set_cc_for_build
1260 if test "$UNAME_PROCESSOR" = unknown ; then
1261 UNAME_PROCESSOR=powerpc
1262 fi
1263 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1264 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1265 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1266 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1267 grep IS_64BIT_ARCH >/dev/null
1268 then
1269 case $UNAME_PROCESSOR in
1270 i386) UNAME_PROCESSOR=x86_64 ;;
1271 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1272 esac
1273 fi
1403 UNAME_PROCESSOR=`uname -p`
1404 case $UNAME_PROCESSOR in
1405 unknown) UNAME_PROCESSOR=powerpc ;;
1406 esac
1407 if command -v xcode-select > /dev/null 2> /dev/null && \
1408 ! xcode-select --print-path > /dev/null 2> /dev/null ; then
1409 # Avoid executing cc if there is no toolchain installed as
1410 # cc will be a stub that puts up a graphical alert
1411 # prompting the user to install developer tools.
1412 CC_FOR_BUILD=no_compiler_found
1413 else
1414 set_cc_for_build
1415 fi
1416 if test "$CC_FOR_BUILD" != no_compiler_found; then
1417 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1418 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1419 grep IS_64BIT_ARCH >/dev/null
1420 then
1421 case $UNAME_PROCESSOR in
1422 i386) UNAME_PROCESSOR=x86_64 ;;
1423 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1424 esac
1425 fi
1426 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1427 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1428 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1429 grep IS_PPC >/dev/null
1430 then
1431 UNAME_PROCESSOR=powerpc
12741432 fi
12751433 elif test "$UNAME_PROCESSOR" = i386 ; then
1276 # Avoid executing cc on OS X 10.9, as it ships with a stub
1277 # that puts up a graphical alert prompting to install
1278 # developer tools. Any system running Mac OS X 10.7 or
1279 # later (Darwin 11 and later) is required to have a 64-bit
1280 # processor. This is not true of the ARM version of Darwin
1281 # that Apple uses in portable devices.
1282 UNAME_PROCESSOR=x86_64
1283 fi
1284 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1285 exit ;;
1434 # uname -m returns i386 or x86_64
1435 UNAME_PROCESSOR=$UNAME_MACHINE
1436 fi
1437 GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE
1438 ;;
12861439 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12871440 UNAME_PROCESSOR=`uname -p`
1288 if test "$UNAME_PROCESSOR" = "x86"; then
1441 if test "$UNAME_PROCESSOR" = x86; then
12891442 UNAME_PROCESSOR=i386
12901443 UNAME_MACHINE=pc
12911444 fi
1292 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1293 exit ;;
1445 GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE
1446 ;;
12941447 *:QNX:*:4*)
1295 echo i386-pc-qnx
1296 exit ;;
1297 NEO-?:NONSTOP_KERNEL:*:*)
1298 echo neo-tandem-nsk${UNAME_RELEASE}
1299 exit ;;
1448 GUESS=i386-pc-qnx
1449 ;;
1450 NEO-*:NONSTOP_KERNEL:*:*)
1451 GUESS=neo-tandem-nsk$UNAME_RELEASE
1452 ;;
13001453 NSE-*:NONSTOP_KERNEL:*:*)
1301 echo nse-tandem-nsk${UNAME_RELEASE}
1302 exit ;;
1303 NSR-?:NONSTOP_KERNEL:*:*)
1304 echo nsr-tandem-nsk${UNAME_RELEASE}
1305 exit ;;
1454 GUESS=nse-tandem-nsk$UNAME_RELEASE
1455 ;;
1456 NSR-*:NONSTOP_KERNEL:*:*)
1457 GUESS=nsr-tandem-nsk$UNAME_RELEASE
1458 ;;
1459 NSV-*:NONSTOP_KERNEL:*:*)
1460 GUESS=nsv-tandem-nsk$UNAME_RELEASE
1461 ;;
1462 NSX-*:NONSTOP_KERNEL:*:*)
1463 GUESS=nsx-tandem-nsk$UNAME_RELEASE
1464 ;;
13061465 *:NonStop-UX:*:*)
1307 echo mips-compaq-nonstopux
1308 exit ;;
1466 GUESS=mips-compaq-nonstopux
1467 ;;
13091468 BS2000:POSIX*:*:*)
1310 echo bs2000-siemens-sysv
1311 exit ;;
1469 GUESS=bs2000-siemens-sysv
1470 ;;
13121471 DS/*:UNIX_System_V:*:*)
1313 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1314 exit ;;
1472 GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE
1473 ;;
13151474 *:Plan9:*:*)
13161475 # "uname -m" is not consistent, so use $cputype instead. 386
13171476 # is converted to i386 for consistency with other x86
13181477 # operating systems.
1319 if test "$cputype" = "386"; then
1478 if test "${cputype-}" = 386; then
13201479 UNAME_MACHINE=i386
1321 else
1322 UNAME_MACHINE="$cputype"
1323 fi
1324 echo ${UNAME_MACHINE}-unknown-plan9
1325 exit ;;
1480 elif test "x${cputype-}" != x; then
1481 UNAME_MACHINE=$cputype
1482 fi
1483 GUESS=$UNAME_MACHINE-unknown-plan9
1484 ;;
13261485 *:TOPS-10:*:*)
1327 echo pdp10-unknown-tops10
1328 exit ;;
1486 GUESS=pdp10-unknown-tops10
1487 ;;
13291488 *:TENEX:*:*)
1330 echo pdp10-unknown-tenex
1331 exit ;;
1489 GUESS=pdp10-unknown-tenex
1490 ;;
13321491 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1333 echo pdp10-dec-tops20
1334 exit ;;
1492 GUESS=pdp10-dec-tops20
1493 ;;
13351494 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1336 echo pdp10-xkl-tops20
1337 exit ;;
1495 GUESS=pdp10-xkl-tops20
1496 ;;
13381497 *:TOPS-20:*:*)
1339 echo pdp10-unknown-tops20
1340 exit ;;
1498 GUESS=pdp10-unknown-tops20
1499 ;;
13411500 *:ITS:*:*)
1342 echo pdp10-unknown-its
1343 exit ;;
1501 GUESS=pdp10-unknown-its
1502 ;;
13441503 SEI:*:*:SEIUX)
1345 echo mips-sei-seiux${UNAME_RELEASE}
1346 exit ;;
1504 GUESS=mips-sei-seiux$UNAME_RELEASE
1505 ;;
13471506 *:DragonFly:*:*)
1348 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1349 exit ;;
1507 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1508 GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL
1509 ;;
13501510 *:*VMS:*:*)
13511511 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1352 case "${UNAME_MACHINE}" in
1353 A*) echo alpha-dec-vms ; exit ;;
1354 I*) echo ia64-dec-vms ; exit ;;
1355 V*) echo vax-dec-vms ; exit ;;
1512 case $UNAME_MACHINE in
1513 A*) GUESS=alpha-dec-vms ;;
1514 I*) GUESS=ia64-dec-vms ;;
1515 V*) GUESS=vax-dec-vms ;;
13561516 esac ;;
13571517 *:XENIX:*:SysV)
1358 echo i386-pc-xenix
1359 exit ;;
1518 GUESS=i386-pc-xenix
1519 ;;
13601520 i*86:skyos:*:*)
1361 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1362 exit ;;
1521 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`
1522 GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL
1523 ;;
13631524 i*86:rdos:*:*)
1364 echo ${UNAME_MACHINE}-pc-rdos
1365 exit ;;
1366 i*86:AROS:*:*)
1367 echo ${UNAME_MACHINE}-pc-aros
1368 exit ;;
1525 GUESS=$UNAME_MACHINE-pc-rdos
1526 ;;
1527 i*86:Fiwix:*:*)
1528 GUESS=$UNAME_MACHINE-pc-fiwix
1529 ;;
1530 *:AROS:*:*)
1531 GUESS=$UNAME_MACHINE-unknown-aros
1532 ;;
13691533 x86_64:VMkernel:*:*)
1370 echo ${UNAME_MACHINE}-unknown-esx
1371 exit ;;
1534 GUESS=$UNAME_MACHINE-unknown-esx
1535 ;;
1536 amd64:Isilon\ OneFS:*:*)
1537 GUESS=x86_64-unknown-onefs
1538 ;;
1539 *:Unleashed:*:*)
1540 GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
1541 ;;
13721542 esac
13731543
1544 # Do we have a guess based on uname results?
1545 if test "x$GUESS" != x; then
1546 echo "$GUESS"
1547 exit
1548 fi
1549
1550 # No uname command or uname output not recognized.
1551 set_cc_for_build
1552 cat > "$dummy.c" <<EOF
1553 #ifdef _SEQUENT_
1554 #include <sys/types.h>
1555 #include <sys/utsname.h>
1556 #endif
1557 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1558 #if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1559 #include <signal.h>
1560 #if defined(_SIZE_T_) || defined(SIGLOST)
1561 #include <sys/utsname.h>
1562 #endif
1563 #endif
1564 #endif
1565 main ()
1566 {
1567 #if defined (sony)
1568 #if defined (MIPSEB)
1569 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1570 I don't know.... */
1571 printf ("mips-sony-bsd\n"); exit (0);
1572 #else
1573 #include <sys/param.h>
1574 printf ("m68k-sony-newsos%s\n",
1575 #ifdef NEWSOS4
1576 "4"
1577 #else
1578 ""
1579 #endif
1580 ); exit (0);
1581 #endif
1582 #endif
1583
1584 #if defined (NeXT)
1585 #if !defined (__ARCHITECTURE__)
1586 #define __ARCHITECTURE__ "m68k"
1587 #endif
1588 int version;
1589 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1590 if (version < 4)
1591 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1592 else
1593 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1594 exit (0);
1595 #endif
1596
1597 #if defined (MULTIMAX) || defined (n16)
1598 #if defined (UMAXV)
1599 printf ("ns32k-encore-sysv\n"); exit (0);
1600 #else
1601 #if defined (CMU)
1602 printf ("ns32k-encore-mach\n"); exit (0);
1603 #else
1604 printf ("ns32k-encore-bsd\n"); exit (0);
1605 #endif
1606 #endif
1607 #endif
1608
1609 #if defined (__386BSD__)
1610 printf ("i386-pc-bsd\n"); exit (0);
1611 #endif
1612
1613 #if defined (sequent)
1614 #if defined (i386)
1615 printf ("i386-sequent-dynix\n"); exit (0);
1616 #endif
1617 #if defined (ns32000)
1618 printf ("ns32k-sequent-dynix\n"); exit (0);
1619 #endif
1620 #endif
1621
1622 #if defined (_SEQUENT_)
1623 struct utsname un;
1624
1625 uname(&un);
1626 if (strncmp(un.version, "V2", 2) == 0) {
1627 printf ("i386-sequent-ptx2\n"); exit (0);
1628 }
1629 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1630 printf ("i386-sequent-ptx1\n"); exit (0);
1631 }
1632 printf ("i386-sequent-ptx\n"); exit (0);
1633 #endif
1634
1635 #if defined (vax)
1636 #if !defined (ultrix)
1637 #include <sys/param.h>
1638 #if defined (BSD)
1639 #if BSD == 43
1640 printf ("vax-dec-bsd4.3\n"); exit (0);
1641 #else
1642 #if BSD == 199006
1643 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1644 #else
1645 printf ("vax-dec-bsd\n"); exit (0);
1646 #endif
1647 #endif
1648 #else
1649 printf ("vax-dec-bsd\n"); exit (0);
1650 #endif
1651 #else
1652 #if defined(_SIZE_T_) || defined(SIGLOST)
1653 struct utsname un;
1654 uname (&un);
1655 printf ("vax-dec-ultrix%s\n", un.release); exit (0);
1656 #else
1657 printf ("vax-dec-ultrix\n"); exit (0);
1658 #endif
1659 #endif
1660 #endif
1661 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1662 #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1663 #if defined(_SIZE_T_) || defined(SIGLOST)
1664 struct utsname *un;
1665 uname (&un);
1666 printf ("mips-dec-ultrix%s\n", un.release); exit (0);
1667 #else
1668 printf ("mips-dec-ultrix\n"); exit (0);
1669 #endif
1670 #endif
1671 #endif
1672
1673 #if defined (alliant) && defined (i860)
1674 printf ("i860-alliant-bsd\n"); exit (0);
1675 #endif
1676
1677 exit (1);
1678 }
1679 EOF
1680
1681 $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` &&
1682 { echo "$SYSTEM_NAME"; exit; }
1683
1684 # Apollos put the system type in the environment.
1685 test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; }
1686
1687 echo "$0: unable to guess system type" >&2
1688
1689 case $UNAME_MACHINE:$UNAME_SYSTEM in
1690 mips:Linux | mips64:Linux)
1691 # If we got here on MIPS GNU/Linux, output extra information.
1692 cat >&2 <<EOF
1693
1694 NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1695 the system type. Please install a C compiler and try again.
1696 EOF
1697 ;;
1698 esac
1699
13741700 cat >&2 <<EOF
1375 $0: unable to guess system type
1376
1377 This script, last modified $timestamp, has failed to recognize
1378 the operating system you are using. It is advised that you
1379 download the most up to date version of the config scripts from
1380
1381 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1701
1702 This script (version $timestamp), has failed to recognize the
1703 operating system you are using. If your script is old, overwrite *all*
1704 copies of config.guess and config.sub with the latest versions from:
1705
1706 https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
13821707 and
1383 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1384
1385 If the version you run ($0) is already up to date, please
1386 send the following data and any information you think might be
1387 pertinent to <config-patches@gnu.org> in order to provide the needed
1388 information to handle your system.
1708 https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
1709 EOF
1710
1711 our_year=`echo $timestamp | sed 's,-.*,,'`
1712 thisyear=`date +%Y`
1713 # shellcheck disable=SC2003
1714 script_age=`expr "$thisyear" - "$our_year"`
1715 if test "$script_age" -lt 3 ; then
1716 cat >&2 <<EOF
1717
1718 If $0 has already been updated, send the following data and any
1719 information you think might be pertinent to config-patches@gnu.org to
1720 provide the necessary information to handle your system.
13891721
13901722 config.guess timestamp = $timestamp
13911723
14041736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
14051737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14061738
1407 UNAME_MACHINE = ${UNAME_MACHINE}
1408 UNAME_RELEASE = ${UNAME_RELEASE}
1409 UNAME_SYSTEM = ${UNAME_SYSTEM}
1410 UNAME_VERSION = ${UNAME_VERSION}
1739 UNAME_MACHINE = "$UNAME_MACHINE"
1740 UNAME_RELEASE = "$UNAME_RELEASE"
1741 UNAME_SYSTEM = "$UNAME_SYSTEM"
1742 UNAME_VERSION = "$UNAME_VERSION"
14111743 EOF
1744 fi
14121745
14131746 exit 1
14141747
14151748 # Local variables:
1416 # eval: (add-hook 'write-file-hooks 'time-stamp)
1749 # eval: (add-hook 'before-save-hook 'time-stamp)
14171750 # time-stamp-start: "timestamp='"
14181751 # time-stamp-format: "%:y-%02m-%02d"
14191752 # time-stamp-end: "'"
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2014 Free Software Foundation, Inc.
3
4 timestamp='2014-12-03'
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-01-03'
57
68 # This file is free software; you can redistribute it and/or modify it
79 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
10 # the Free Software Foundation, either version 3 of the License, or
911 # (at your option) any later version.
1012 #
1113 # This program is distributed in the hope that it will be useful, but
1416 # General Public License for more details.
1517 #
1618 # 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/>.
19 # along with this program; if not, see <https://www.gnu.org/licenses/>.
1820 #
1921 # As a special exception to the GNU General Public License, if you
2022 # distribute this file as part of a program that contains a
3234 # Otherwise, we print the canonical config type on stdout and succeed.
3335
3436 # You can get the latest version of this script from:
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
37 # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
3638
3739 # This file is supposed to be the same for all GNU packages
3840 # and recognize all the CPU types, system types and aliases
4951 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
5052 # It is wrong to echo any other type of specification.
5153
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
5261 me=`echo "$0" | sed -e 's,.*/,,'`
5362
5463 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS
56 $0 [OPTION] ALIAS
64 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5765
5866 Canonicalize a configuration name.
5967
60 Operation modes:
68 Options:
6169 -h, --help print this help, then exit
6270 -t, --time-stamp print date of last modification, then exit
6371 -v, --version print version number, then exit
6775 version="\
6876 GNU config.sub ($timestamp)
6977
70 Copyright 1992-2014 Free Software Foundation, Inc.
78 Copyright 1992-2022 Free Software Foundation, Inc.
7179
7280 This is free software; see the source for copying conditions. There is NO
7381 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8997 - ) # Use stdin as input.
9098 break ;;
9199 -* )
92 echo "$me: invalid option $1$help"
100 echo "$me: invalid option $1$help" >&2
93101 exit 1 ;;
94102
95103 *local*)
96104 # First pass through any local machine types.
97 echo $1
105 echo "$1"
98106 exit ;;
99107
100108 * )
110118 exit 1;;
111119 esac
112120
113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
115 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
116 case $maybe_os in
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | \
120 kopensolaris*-gnu* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 android-linux)
126 os=-linux-android
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;
129 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
134 ;;
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 ;;
135655 esac
136656
137 ### Let's recognize common machines as not being operating systems so
138 ### that things like config.sub decstation-3100 work. We also
139 ### recognize some manufacturers as not being operating systems, so we
140 ### can provide default operating systems below.
141 case $os in
142 -sun*os*)
143 # Prevent following clause from handling this invalid input.
144 ;;
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 -apple | -axis | -knuth | -cray | -microblaze*)
152 os=
153 basic_machine=$1
154 ;;
155 -bluegene*)
156 os=-cnk
157 ;;
158 -sim | -cisco | -oki | -wec | -winbond)
159 os=
160 basic_machine=$1
161 ;;
162 -scout)
163 ;;
164 -wrs)
165 os=-vxworks
166 basic_machine=$1
167 ;;
168 -chorusos*)
169 os=-chorusos
170 basic_machine=$1
171 ;;
172 -chorusrdb)
173 os=-chorusrdb
174 basic_machine=$1
175 ;;
176 -hiux*)
177 os=-hiuxwe2
178 ;;
179 -sco6)
180 os=-sco5v6
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
182 ;;
183 -sco5)
184 os=-sco3.2v5
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
186 ;;
187 -sco4)
188 os=-sco3.2v4
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
190 ;;
191 -sco3.2.[4-9]*)
192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco3.2v[4-9]*)
196 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
198 ;;
199 -sco5v6*)
200 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
202 ;;
203 -sco*)
204 os=-sco3.2v2
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -udk*)
208 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
209 ;;
210 -isc)
211 os=-isc2.2
212 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
213 ;;
214 -clix*)
215 basic_machine=clipper-intergraph
216 ;;
217 -isc*)
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
219 ;;
220 -lynx*178)
221 os=-lynxos178
222 ;;
223 -lynx*5)
224 os=-lynxos5
225 ;;
226 -lynx*)
227 os=-lynxos
228 ;;
229 -ptx*)
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
231 ;;
232 -windowsnt*)
233 os=`echo $os | sed -e 's/windowsnt/winnt/'`
234 ;;
235 -psos*)
236 os=-psos
237 ;;
238 -mint | -mint[0-9]*)
239 basic_machine=m68k-atari
240 os=-mint
241 ;;
242 esac
243
244 # Decode aliases for certain CPU-COMPANY combinations.
657 # Decode 1-component or ad-hoc basic machines
245658 case $basic_machine in
246 # Recognize the basic CPU types without company name.
247 # Some are omitted here because they have special meanings below.
248 1750a | 580 \
249 | a29k \
250 | aarch64 | aarch64_be \
251 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
252 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
253 | am33_2.0 \
254 | arc | arceb \
255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
256 | avr | avr32 \
257 | be32 | be64 \
258 | bfin \
259 | c4x | c8051 | clipper \
260 | d10v | d30v | dlx | dsp16xx \
261 | epiphany \
262 | fido | fr30 | frv \
263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264 | hexagon \
265 | i370 | i860 | i960 | ia64 \
266 | ip2k | iq2000 \
267 | k1om \
268 | le32 | le64 \
269 | lm32 \
270 | m32c | m32r | m32rle | m68000 | m68k | m88k \
271 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
272 | mips | mipsbe | mipseb | mipsel | mipsle \
273 | mips16 \
274 | mips64 | mips64el \
275 | mips64octeon | mips64octeonel \
276 | mips64orion | mips64orionel \
277 | mips64r5900 | mips64r5900el \
278 | mips64vr | mips64vrel \
279 | mips64vr4100 | mips64vr4100el \
280 | mips64vr4300 | mips64vr4300el \
281 | mips64vr5000 | mips64vr5000el \
282 | mips64vr5900 | mips64vr5900el \
283 | mipsisa32 | mipsisa32el \
284 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
286 | mipsisa64 | mipsisa64el \
287 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
289 | mipsisa64sb1 | mipsisa64sb1el \
290 | mipsisa64sr71k | mipsisa64sr71kel \
291 | mipsr5900 | mipsr5900el \
292 | mipstx39 | mipstx39el \
293 | mn10200 | mn10300 \
294 | moxie \
295 | mt \
296 | msp430 \
297 | nds32 | nds32le | nds32be \
298 | nios | nios2 | nios2eb | nios2el \
299 | ns16k | ns32k \
300 | open8 | or1k | or1knd | or32 \
301 | pdp10 | pdp11 | pj | pjl \
302 | powerpc | powerpc64 | powerpc64le | powerpcle \
303 | pyramid \
304 | riscv32 | riscv64 \
305 | rl78 | rx \
306 | score \
307 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
308 | sh64 | sh64le \
309 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
310 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
311 | spu \
312 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
313 | ubicom32 \
314 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
315 | visium \
316 | we32k \
317 | x86 | xc16x | xstormy16 | xtensa \
318 | z8k | z80)
319 basic_machine=$basic_machine-unknown
320 ;;
321 c54x)
322 basic_machine=tic54x-unknown
323 ;;
324 c55x)
325 basic_machine=tic55x-unknown
326 ;;
327 c6x)
328 basic_machine=tic6x-unknown
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
329927 ;;
330928 leon|leon[3-9])
331 basic_machine=sparc-$basic_machine
332 ;;
333 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
334 basic_machine=$basic_machine-unknown
335 os=-none
336 ;;
337 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
338 ;;
339 ms1)
340 basic_machine=mt-unknown
341 ;;
342
343 strongarm | thumb | xscale)
344 basic_machine=arm-unknown
345 ;;
346 xgate)
347 basic_machine=$basic_machine-unknown
348 os=-none
349 ;;
350 xscaleeb)
351 basic_machine=armeb-unknown
352 ;;
353
354 xscaleel)
355 basic_machine=armel-unknown
356 ;;
357
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 ;;
358945 # We use `pc' rather than `unknown'
359946 # because (1) that's what they normally are, and
360947 # (2) the word "unknown" tends to confuse beginning users.
361948 i*86 | x86_64)
362 basic_machine=$basic_machine-pc
363 ;;
364 # Object if more than one company name word.
365 *-*-*)
366 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
367 exit 1
368 ;;
369 # Recognize the basic CPU types with company name.
370 580-* \
371 | a29k-* \
372 | aarch64-* | aarch64_be-* \
373 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
374 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
375 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
376 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
377 | avr-* | avr32-* \
378 | be32-* | be64-* \
379 | bfin-* | bs2000-* \
380 | c[123]* | c30-* | [cjt]90-* | c4x-* \
381 | c8051-* | clipper-* | craynv-* | cydra-* \
382 | d10v-* | d30v-* | dlx-* \
383 | elxsi-* \
384 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
385 | h8300-* | h8500-* \
386 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
387 | hexagon-* \
388 | i*86-* | i860-* | i960-* | ia64-* \
389 | ip2k-* | iq2000-* \
390 | k1om-* \
391 | le32-* | le64-* \
392 | lm32-* \
393 | m32c-* | m32r-* | m32rle-* \
394 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
395 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
396 | microblaze-* | microblazeel-* \
397 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
398 | mips16-* \
399 | mips64-* | mips64el-* \
400 | mips64octeon-* | mips64octeonel-* \
401 | mips64orion-* | mips64orionel-* \
402 | mips64r5900-* | mips64r5900el-* \
403 | mips64vr-* | mips64vrel-* \
404 | mips64vr4100-* | mips64vr4100el-* \
405 | mips64vr4300-* | mips64vr4300el-* \
406 | mips64vr5000-* | mips64vr5000el-* \
407 | mips64vr5900-* | mips64vr5900el-* \
408 | mipsisa32-* | mipsisa32el-* \
409 | mipsisa32r2-* | mipsisa32r2el-* \
410 | mipsisa32r6-* | mipsisa32r6el-* \
411 | mipsisa64-* | mipsisa64el-* \
412 | mipsisa64r2-* | mipsisa64r2el-* \
413 | mipsisa64r6-* | mipsisa64r6el-* \
414 | mipsisa64sb1-* | mipsisa64sb1el-* \
415 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
416 | mipsr5900-* | mipsr5900el-* \
417 | mipstx39-* | mipstx39el-* \
418 | mmix-* \
419 | mt-* \
420 | msp430-* \
421 | nds32-* | nds32le-* | nds32be-* \
422 | nios-* | nios2-* | nios2eb-* | nios2el-* \
423 | none-* | np1-* | ns16k-* | ns32k-* \
424 | open8-* \
425 | or1k*-* \
426 | orion-* \
427 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
428 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
429 | pyramid-* \
430 | rl78-* | romp-* | rs6000-* | rx-* \
431 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
432 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
433 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
434 | sparclite-* \
435 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
436 | tahoe-* \
437 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
438 | tile*-* \
439 | tron-* \
440 | ubicom32-* \
441 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
442 | vax-* \
443 | visium-* \
444 | we32k-* \
445 | x86-* | x86_64-* | xc16x-* | xps100-* \
446 | xstormy16-* | xtensa*-* \
447 | ymp-* \
448 | z8k-* | z80-*)
449 ;;
450 # Recognize the basic CPU types without company name, with glob match.
451 xtensa*)
452 basic_machine=$basic_machine-unknown
453 ;;
454 # Recognize the various machine names and aliases which stand
455 # for a CPU type and a company and sometimes even an OS.
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 ;;
4561453 386bsd)
457 basic_machine=i386-unknown
458 os=-bsd
459 ;;
460 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
461 basic_machine=m68000-att
462 ;;
463 3b*)
464 basic_machine=we32k-att
465 ;;
466 a29khif)
467 basic_machine=a29k-amd
468 os=-udi
469 ;;
470 abacus)
471 basic_machine=abacus-unknown
472 ;;
473 adobe68k)
474 basic_machine=m68010-adobe
475 os=-scout
476 ;;
477 alliant | fx80)
478 basic_machine=fx80-alliant
479 ;;
480 altos | altos3068)
481 basic_machine=m68k-altos
482 ;;
483 am29k)
484 basic_machine=a29k-none
485 os=-bsd
486 ;;
487 amd64)
488 basic_machine=x86_64-pc
489 ;;
490 amd64-*)
491 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
492 ;;
493 amdahl)
494 basic_machine=580-amdahl
495 os=-sysv
496 ;;
497 amiga | amiga-*)
498 basic_machine=m68k-unknown
499 ;;
500 amigaos | amigados)
501 basic_machine=m68k-unknown
502 os=-amigaos
503 ;;
504 amigaunix | amix)
505 basic_machine=m68k-unknown
506 os=-sysv4
507 ;;
508 apollo68)
509 basic_machine=m68k-apollo
510 os=-sysv
511 ;;
512 apollo68bsd)
513 basic_machine=m68k-apollo
514 os=-bsd
515 ;;
516 aros)
517 basic_machine=i386-pc
518 os=-aros
519 ;;
520 aux)
521 basic_machine=m68k-apple
522 os=-aux
523 ;;
524 balance)
525 basic_machine=ns32k-sequent
526 os=-dynix
527 ;;
528 blackfin)
529 basic_machine=bfin-unknown
530 os=-linux
531 ;;
532 blackfin-*)
533 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
534 os=-linux
535 ;;
536 bluegene*)
537 basic_machine=powerpc-ibm
538 os=-cnk
539 ;;
540 c54x-*)
541 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
542 ;;
543 c55x-*)
544 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
545 ;;
546 c6x-*)
547 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
548 ;;
549 c90)
550 basic_machine=c90-cray
551 os=-unicos
552 ;;
553 cegcc)
554 basic_machine=arm-unknown
555 os=-cegcc
556 ;;
557 convex-c1)
558 basic_machine=c1-convex
559 os=-bsd
560 ;;
561 convex-c2)
562 basic_machine=c2-convex
563 os=-bsd
564 ;;
565 convex-c32)
566 basic_machine=c32-convex
567 os=-bsd
568 ;;
569 convex-c34)
570 basic_machine=c34-convex
571 os=-bsd
572 ;;
573 convex-c38)
574 basic_machine=c38-convex
575 os=-bsd
576 ;;
577 cray | j90)
578 basic_machine=j90-cray
579 os=-unicos
580 ;;
581 craynv)
582 basic_machine=craynv-cray
583 os=-unicosmp
584 ;;
585 cr16 | cr16-*)
586 basic_machine=cr16-unknown
587 os=-elf
588 ;;
589 crds | unos)
590 basic_machine=m68k-crds
591 ;;
592 crisv32 | crisv32-* | etraxfs*)
593 basic_machine=crisv32-axis
594 ;;
595 cris | cris-* | etrax*)
596 basic_machine=cris-axis
597 ;;
598 crx)
599 basic_machine=crx-unknown
600 os=-elf
601 ;;
602 da30 | da30-*)
603 basic_machine=m68k-da30
604 ;;
605 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
606 basic_machine=mips-dec
607 ;;
608 decsystem10* | dec10*)
609 basic_machine=pdp10-dec
610 os=-tops10
611 ;;
612 decsystem20* | dec20*)
613 basic_machine=pdp10-dec
614 os=-tops20
615 ;;
616 delta | 3300 | motorola-3300 | motorola-delta \
617 | 3300-motorola | delta-motorola)
618 basic_machine=m68k-motorola
619 ;;
620 delta88)
621 basic_machine=m88k-motorola
622 os=-sysv3
623 ;;
624 dicos)
625 basic_machine=i686-pc
626 os=-dicos
627 ;;
628 djgpp)
629 basic_machine=i586-pc
630 os=-msdosdjgpp
631 ;;
632 dpx20 | dpx20-*)
633 basic_machine=rs6000-bull
634 os=-bosx
635 ;;
636 dpx2* | dpx2*-bull)
637 basic_machine=m68k-bull
638 os=-sysv3
639 ;;
640 ebmon29k)
641 basic_machine=a29k-amd
642 os=-ebmon
643 ;;
644 elxsi)
645 basic_machine=elxsi-elxsi
646 os=-bsd
647 ;;
648 encore | umax | mmax)
649 basic_machine=ns32k-encore
650 ;;
651 es1800 | OSE68k | ose68k | ose | OSE)
652 basic_machine=m68k-ericsson
653 os=-ose
654 ;;
655 fx2800)
656 basic_machine=i860-alliant
657 ;;
658 genix)
659 basic_machine=ns32k-ns
660 ;;
661 gmicro)
662 basic_machine=tron-gmicro
663 os=-sysv
664 ;;
665 go32)
666 basic_machine=i386-pc
667 os=-go32
668 ;;
669 h3050r* | hiux*)
670 basic_machine=hppa1.1-hitachi
671 os=-hiuxwe2
672 ;;
673 h8300hms)
674 basic_machine=h8300-hitachi
675 os=-hms
676 ;;
677 h8300xray)
678 basic_machine=h8300-hitachi
679 os=-xray
680 ;;
681 h8500hms)
682 basic_machine=h8500-hitachi
683 os=-hms
684 ;;
685 harris)
686 basic_machine=m88k-harris
687 os=-sysv3
688 ;;
689 hp300-*)
690 basic_machine=m68k-hp
691 ;;
692 hp300bsd)
693 basic_machine=m68k-hp
694 os=-bsd
695 ;;
696 hp300hpux)
697 basic_machine=m68k-hp
698 os=-hpux
699 ;;
700 hp3k9[0-9][0-9] | hp9[0-9][0-9])
701 basic_machine=hppa1.0-hp
702 ;;
703 hp9k2[0-9][0-9] | hp9k31[0-9])
704 basic_machine=m68000-hp
705 ;;
706 hp9k3[2-9][0-9])
707 basic_machine=m68k-hp
708 ;;
709 hp9k6[0-9][0-9] | hp6[0-9][0-9])
710 basic_machine=hppa1.0-hp
711 ;;
712 hp9k7[0-79][0-9] | hp7[0-79][0-9])
713 basic_machine=hppa1.1-hp
714 ;;
715 hp9k78[0-9] | hp78[0-9])
716 # FIXME: really hppa2.0-hp
717 basic_machine=hppa1.1-hp
718 ;;
719 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
720 # FIXME: really hppa2.0-hp
721 basic_machine=hppa1.1-hp
722 ;;
723 hp9k8[0-9][13679] | hp8[0-9][13679])
724 basic_machine=hppa1.1-hp
725 ;;
726 hp9k8[0-9][0-9] | hp8[0-9][0-9])
727 basic_machine=hppa1.0-hp
728 ;;
729 hppa-next)
730 os=-nextstep3
731 ;;
732 hppaosf)
733 basic_machine=hppa1.1-hp
734 os=-osf
735 ;;
736 hppro)
737 basic_machine=hppa1.1-hp
738 os=-proelf
739 ;;
740 i370-ibm* | ibm*)
741 basic_machine=i370-ibm
742 ;;
743 i*86v32)
744 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
745 os=-sysv32
746 ;;
747 i*86v4*)
748 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
749 os=-sysv4
750 ;;
751 i*86v)
752 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
753 os=-sysv
754 ;;
755 i*86sol2)
756 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
757 os=-solaris2
758 ;;
759 i386mach)
760 basic_machine=i386-mach
761 os=-mach
762 ;;
763 i386-vsta | vsta)
764 basic_machine=i386-unknown
765 os=-vsta
766 ;;
767 iris | iris4d)
768 basic_machine=mips-sgi
769 case $os in
770 -irix*)
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
7711506 ;;
7721507 *)
773 os=-irix4
1508 os=elf
7741509 ;;
7751510 esac
7761511 ;;
777 isi68 | isi)
778 basic_machine=m68k-isi
779 os=-sysv
780 ;;
781 leon-*|leon[3-9]-*)
782 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
783 ;;
784 m68knommu)
785 basic_machine=m68k-unknown
786 os=-linux
787 ;;
788 m68knommu-*)
789 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
790 os=-linux
791 ;;
792 m88k-omron*)
793 basic_machine=m88k-omron
794 ;;
795 magnum | m3230)
796 basic_machine=mips-mips
797 os=-sysv
798 ;;
799 merlin)
800 basic_machine=ns32k-utek
801 os=-sysv
802 ;;
803 microblaze*)
804 basic_machine=microblaze-xilinx
805 ;;
806 mingw64)
807 basic_machine=x86_64-pc
808 os=-mingw64
809 ;;
810 mingw32)
811 basic_machine=i686-pc
812 os=-mingw32
813 ;;
814 mingw32ce)
815 basic_machine=arm-unknown
816 os=-mingw32ce
817 ;;
818 miniframe)
819 basic_machine=m68000-convergent
820 ;;
821 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
822 basic_machine=m68k-atari
823 os=-mint
824 ;;
825 mips3*-*)
826 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
827 ;;
828 mips3*)
829 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
830 ;;
831 monitor)
832 basic_machine=m68k-rom68k
833 os=-coff
834 ;;
835 morphos)
836 basic_machine=powerpc-unknown
837 os=-morphos
838 ;;
839 moxiebox)
840 basic_machine=moxie-unknown
841 os=-moxiebox
842 ;;
843 msdos)
844 basic_machine=i386-pc
845 os=-msdos
846 ;;
847 ms1-*)
848 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
849 ;;
850 msys)
851 basic_machine=i686-pc
852 os=-msys
853 ;;
854 mvs)
855 basic_machine=i370-ibm
856 os=-mvs
857 ;;
858 nacl)
859 basic_machine=le32-unknown
860 os=-nacl
861 ;;
862 ncr3000)
863 basic_machine=i486-ncr
864 os=-sysv4
865 ;;
866 netbsd386)
867 basic_machine=i386-unknown
868 os=-netbsd
869 ;;
870 netwinder)
871 basic_machine=armv4l-rebel
872 os=-linux
873 ;;
874 news | news700 | news800 | news900)
875 basic_machine=m68k-sony
876 os=-newsos
877 ;;
878 news1000)
879 basic_machine=m68030-sony
880 os=-newsos
881 ;;
882 news-3600 | risc-news)
883 basic_machine=mips-sony
884 os=-newsos
885 ;;
886 necv70)
887 basic_machine=v70-nec
888 os=-sysv
889 ;;
890 next | m*-next )
891 basic_machine=m68k-next
892 case $os in
893 -nextstep* )
894 ;;
895 -ns2*)
896 os=-nextstep2
897 ;;
898 *)
899 os=-nextstep3
900 ;;
901 esac
902 ;;
903 nh3000)
904 basic_machine=m68k-harris
905 os=-cxux
906 ;;
907 nh[45]000)
908 basic_machine=m88k-harris
909 os=-cxux
910 ;;
911 nindy960)
912 basic_machine=i960-intel
913 os=-nindy
914 ;;
915 mon960)
916 basic_machine=i960-intel
917 os=-mon960
918 ;;
919 nonstopux)
920 basic_machine=mips-compaq
921 os=-nonstopux
922 ;;
923 np1)
924 basic_machine=np1-gould
925 ;;
926 neo-tandem)
927 basic_machine=neo-tandem
928 ;;
929 nse-tandem)
930 basic_machine=nse-tandem
931 ;;
932 nsr-tandem)
933 basic_machine=nsr-tandem
934 ;;
935 op50n-* | op60c-*)
936 basic_machine=hppa1.1-oki
937 os=-proelf
938 ;;
939 openrisc | openrisc-*)
940 basic_machine=or32-unknown
941 ;;
942 os400)
943 basic_machine=powerpc-ibm
944 os=-os400
945 ;;
946 OSE68000 | ose68000)
947 basic_machine=m68000-ericsson
948 os=-ose
949 ;;
950 os68k)
951 basic_machine=m68k-none
952 os=-os68k
953 ;;
954 pa-hitachi)
955 basic_machine=hppa1.1-hitachi
956 os=-hiuxwe2
957 ;;
958 paragon)
959 basic_machine=i860-intel
960 os=-osf
961 ;;
962 parisc)
963 basic_machine=hppa-unknown
964 os=-linux
965 ;;
966 parisc-*)
967 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
968 os=-linux
969 ;;
970 pbd)
971 basic_machine=sparc-tti
972 ;;
973 pbb)
974 basic_machine=m68k-tti
975 ;;
976 pc532 | pc532-*)
977 basic_machine=ns32k-pc532
978 ;;
979 pc98)
980 basic_machine=i386-pc
981 ;;
982 pc98-*)
983 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
984 ;;
985 pentium | p5 | k5 | k6 | nexgen | viac3)
986 basic_machine=i586-pc
987 ;;
988 pentiumpro | p6 | 6x86 | athlon | athlon_*)
989 basic_machine=i686-pc
990 ;;
991 pentiumii | pentium2 | pentiumiii | pentium3)
992 basic_machine=i686-pc
993 ;;
994 pentium4)
995 basic_machine=i786-pc
996 ;;
997 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
998 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
999 ;;
1000 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1001 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1002 ;;
1003 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1004 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1005 ;;
1006 pentium4-*)
1007 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1008 ;;
1009 pn)
1010 basic_machine=pn-gould
1011 ;;
1012 power) basic_machine=power-ibm
1013 ;;
1014 ppc | ppcbe) basic_machine=powerpc-unknown
1015 ;;
1016 ppc-* | ppcbe-*)
1017 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1018 ;;
1019 ppcle | powerpclittle | ppc-le | powerpc-little)
1020 basic_machine=powerpcle-unknown
1021 ;;
1022 ppcle-* | powerpclittle-*)
1023 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1024 ;;
1025 ppc64) basic_machine=powerpc64-unknown
1026 ;;
1027 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1028 ;;
1029 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1030 basic_machine=powerpc64le-unknown
1031 ;;
1032 ppc64le-* | powerpc64little-*)
1033 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1034 ;;
1035 ps2)
1036 basic_machine=i386-ibm
1037 ;;
1038 pw32)
1039 basic_machine=i586-unknown
1040 os=-pw32
1041 ;;
1042 rdos | rdos64)
1043 basic_machine=x86_64-pc
1044 os=-rdos
1045 ;;
1046 rdos32)
1047 basic_machine=i386-pc
1048 os=-rdos
1049 ;;
1050 rom68k)
1051 basic_machine=m68k-rom68k
1052 os=-coff
1053 ;;
1054 rm[46]00)
1055 basic_machine=mips-siemens
1056 ;;
1057 rtpc | rtpc-*)
1058 basic_machine=romp-ibm
1059 ;;
1060 s390 | s390-*)
1061 basic_machine=s390-ibm
1062 ;;
1063 s390x | s390x-*)
1064 basic_machine=s390x-ibm
1065 ;;
1066 sa29200)
1067 basic_machine=a29k-amd
1068 os=-udi
1069 ;;
1070 sb1)
1071 basic_machine=mipsisa64sb1-unknown
1072 ;;
1073 sb1el)
1074 basic_machine=mipsisa64sb1el-unknown
1075 ;;
1076 sde)
1077 basic_machine=mipsisa32-sde
1078 os=-elf
1079 ;;
1080 sei)
1081 basic_machine=mips-sei
1082 os=-seiux
1083 ;;
1084 sequent)
1085 basic_machine=i386-sequent
1086 ;;
1087 sh)
1088 basic_machine=sh-hitachi
1089 os=-hms
1090 ;;
1091 sh5el)
1092 basic_machine=sh5le-unknown
1093 ;;
1094 sh64)
1095 basic_machine=sh64-unknown
1096 ;;
1097 sparclite-wrs | simso-wrs)
1098 basic_machine=sparclite-wrs
1099 os=-vxworks
1100 ;;
1101 sps7)
1102 basic_machine=m68k-bull
1103 os=-sysv2
1104 ;;
1105 spur)
1106 basic_machine=spur-unknown
1107 ;;
1108 st2000)
1109 basic_machine=m68k-tandem
1110 ;;
1111 stratus)
1112 basic_machine=i860-stratus
1113 os=-sysv4
1114 ;;
1115 strongarm-* | thumb-*)
1116 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1117 ;;
1118 sun2)
1119 basic_machine=m68000-sun
1120 ;;
1121 sun2os3)
1122 basic_machine=m68000-sun
1123 os=-sunos3
1124 ;;
1125 sun2os4)
1126 basic_machine=m68000-sun
1127 os=-sunos4
1128 ;;
1129 sun3os3)
1130 basic_machine=m68k-sun
1131 os=-sunos3
1132 ;;
1133 sun3os4)
1134 basic_machine=m68k-sun
1135 os=-sunos4
1136 ;;
1137 sun4os3)
1138 basic_machine=sparc-sun
1139 os=-sunos3
1140 ;;
1141 sun4os4)
1142 basic_machine=sparc-sun
1143 os=-sunos4
1144 ;;
1145 sun4sol2)
1146 basic_machine=sparc-sun
1147 os=-solaris2
1148 ;;
1149 sun3 | sun3-*)
1150 basic_machine=m68k-sun
1151 ;;
1152 sun4)
1153 basic_machine=sparc-sun
1154 ;;
1155 sun386 | sun386i | roadrunner)
1156 basic_machine=i386-sun
1157 ;;
1158 sv1)
1159 basic_machine=sv1-cray
1160 os=-unicos
1161 ;;
1162 symmetry)
1163 basic_machine=i386-sequent
1164 os=-dynix
1165 ;;
1166 t3e)
1167 basic_machine=alphaev5-cray
1168 os=-unicos
1169 ;;
1170 t90)
1171 basic_machine=t90-cray
1172 os=-unicos
1173 ;;
1174 tile*)
1175 basic_machine=$basic_machine-unknown
1176 os=-linux-gnu
1177 ;;
1178 tx39)
1179 basic_machine=mipstx39-unknown
1180 ;;
1181 tx39el)
1182 basic_machine=mipstx39el-unknown
1183 ;;
1184 toad1)
1185 basic_machine=pdp10-xkl
1186 os=-tops20
1187 ;;
1188 tower | tower-32)
1189 basic_machine=m68k-ncr
1190 ;;
1191 tpf)
1192 basic_machine=s390x-ibm
1193 os=-tpf
1194 ;;
1195 udi29k)
1196 basic_machine=a29k-amd
1197 os=-udi
1198 ;;
1199 ultra3)
1200 basic_machine=a29k-nyu
1201 os=-sym1
1202 ;;
1203 v810 | necv810)
1204 basic_machine=v810-nec
1205 os=-none
1206 ;;
1207 vaxv)
1208 basic_machine=vax-dec
1209 os=-sysv
1210 ;;
1211 vms)
1212 basic_machine=vax-dec
1213 os=-vms
1214 ;;
1215 vpp*|vx|vx-*)
1216 basic_machine=f301-fujitsu
1217 ;;
1218 vxworks960)
1219 basic_machine=i960-wrs
1220 os=-vxworks
1221 ;;
1222 vxworks68)
1223 basic_machine=m68k-wrs
1224 os=-vxworks
1225 ;;
1226 vxworks29k)
1227 basic_machine=a29k-wrs
1228 os=-vxworks
1229 ;;
1230 w65*)
1231 basic_machine=w65-wdc
1232 os=-none
1233 ;;
1234 w89k-*)
1235 basic_machine=hppa1.1-winbond
1236 os=-proelf
1237 ;;
1238 xbox)
1239 basic_machine=i686-pc
1240 os=-mingw32
1241 ;;
1242 xps | xps100)
1243 basic_machine=xps100-honeywell
1244 ;;
1245 xscale-* | xscalee[bl]-*)
1246 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1247 ;;
1248 ymp)
1249 basic_machine=ymp-cray
1250 os=-unicos
1251 ;;
1252 z8k-*-coff)
1253 basic_machine=z8k-unknown
1254 os=-sim
1255 ;;
1256 z80-*-coff)
1257 basic_machine=z80-unknown
1258 os=-sim
1259 ;;
1260 none)
1261 basic_machine=none-none
1262 os=-none
1263 ;;
1264
1265 # Here we handle the default manufacturer of certain CPU types. It is in
1266 # some cases the only manufacturer, in others, it is the most popular.
1267 w89k)
1268 basic_machine=hppa1.1-winbond
1269 ;;
1270 op50n)
1271 basic_machine=hppa1.1-oki
1272 ;;
1273 op60c)
1274 basic_machine=hppa1.1-oki
1275 ;;
1276 romp)
1277 basic_machine=romp-ibm
1278 ;;
1279 mmix)
1280 basic_machine=mmix-knuth
1281 ;;
1282 rs6000)
1283 basic_machine=rs6000-ibm
1284 ;;
1285 vax)
1286 basic_machine=vax-dec
1287 ;;
1288 pdp10)
1289 # there are many clones, so DEC is not a safe bet
1290 basic_machine=pdp10-unknown
1291 ;;
1292 pdp11)
1293 basic_machine=pdp11-dec
1294 ;;
1295 we32k)
1296 basic_machine=we32k-att
1297 ;;
1298 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1299 basic_machine=sh-unknown
1300 ;;
1301 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1302 basic_machine=sparc-sun
1303 ;;
1304 cydra)
1305 basic_machine=cydra-cydrome
1306 ;;
1307 orion)
1308 basic_machine=orion-highlevel
1309 ;;
1310 orion105)
1311 basic_machine=clipper-highlevel
1312 ;;
1313 mac | mpw | mac-mpw)
1314 basic_machine=m68k-apple
1315 ;;
1316 pmac | pmac-mpw)
1317 basic_machine=powerpc-apple
1318 ;;
1319 *-unknown)
1320 # Make sure to match an already-canonicalized machine name.
1321 ;;
13221512 *)
1323 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1324 exit 1
1513 # No normalization, but not necessarily accepted, that comes below.
13251514 ;;
13261515 esac
13271516
1328 # Here we canonicalize certain aliases for manufacturers.
1329 case $basic_machine in
1330 *-digital*)
1331 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1332 ;;
1333 *-commodore*)
1334 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1335 ;;
1336 *)
1337 ;;
1338 esac
1339
1340 # Decode manufacturer-specific aliases for certain operating systems.
1341
1342 if [ x"$os" != x"" ]
1343 then
1344 case $os in
1345 # First match some system type aliases
1346 # that might get confused with valid system types.
1347 # -solaris* is a basic system type, with this one exception.
1348 -auroraux)
1349 os=-auroraux
1350 ;;
1351 -solaris1 | -solaris1.*)
1352 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1353 ;;
1354 -solaris)
1355 os=-solaris2
1356 ;;
1357 -svr4*)
1358 os=-sysv4
1359 ;;
1360 -unixware*)
1361 os=-sysv4.2uw
1362 ;;
1363 -gnu/linux*)
1364 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1365 ;;
1366 # First accept the basic system types.
1367 # The portable systems comes first.
1368 # Each alternative MUST END IN A *, to match a version number.
1369 # -sysv* is not here because it comes later, after sysvr4.
1370 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1371 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1372 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1373 | -sym* | -kopensolaris* | -plan9* \
1374 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1375 | -aos* | -aros* \
1376 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1377 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1378 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1379 | -bitrig* | -openbsd* | -solidbsd* \
1380 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1381 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1382 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1383 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1384 | -chorusos* | -chorusrdb* | -cegcc* \
1385 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1386 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1387 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1388 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1389 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1390 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1391 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1392 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1393 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1394 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1395 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1396 # Remember, each alternative MUST END IN *, to match a version number.
1397 ;;
1398 -qnx*)
1399 case $basic_machine in
1400 x86-* | i*86-*)
1401 ;;
1402 *)
1403 os=-nto$os
1404 ;;
1405 esac
1406 ;;
1407 -nto-qnx*)
1408 ;;
1409 -nto*)
1410 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1411 ;;
1412 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1413 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1414 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1415 ;;
1416 -mac*)
1417 os=`echo $os | sed -e 's|mac|macos|'`
1418 ;;
1419 -linux-dietlibc)
1420 os=-linux-dietlibc
1421 ;;
1422 -linux*)
1423 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1424 ;;
1425 -sunos5*)
1426 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1427 ;;
1428 -sunos6*)
1429 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1430 ;;
1431 -opened*)
1432 os=-openedition
1433 ;;
1434 -os400*)
1435 os=-os400
1436 ;;
1437 -wince*)
1438 os=-wince
1439 ;;
1440 -osfrose*)
1441 os=-osfrose
1442 ;;
1443 -osf*)
1444 os=-osf
1445 ;;
1446 -utek*)
1447 os=-bsd
1448 ;;
1449 -dynix*)
1450 os=-bsd
1451 ;;
1452 -acis*)
1453 os=-aos
1454 ;;
1455 -atheos*)
1456 os=-atheos
1457 ;;
1458 -syllable*)
1459 os=-syllable
1460 ;;
1461 -386bsd)
1462 os=-bsd
1463 ;;
1464 -ctix* | -uts*)
1465 os=-sysv
1466 ;;
1467 -nova*)
1468 os=-rtmk-nova
1469 ;;
1470 -ns2 )
1471 os=-nextstep2
1472 ;;
1473 -nsk*)
1474 os=-nsk
1475 ;;
1476 # Preserve the version number of sinix5.
1477 -sinix5.*)
1478 os=`echo $os | sed -e 's|sinix|sysv|'`
1479 ;;
1480 -sinix*)
1481 os=-sysv4
1482 ;;
1483 -tpf*)
1484 os=-tpf
1485 ;;
1486 -triton*)
1487 os=-sysv3
1488 ;;
1489 -oss*)
1490 os=-sysv3
1491 ;;
1492 -svr4)
1493 os=-sysv4
1494 ;;
1495 -svr3)
1496 os=-sysv3
1497 ;;
1498 -sysvr4)
1499 os=-sysv4
1500 ;;
1501 # This must come after -sysvr4.
1502 -sysv*)
1503 ;;
1504 -ose*)
1505 os=-ose
1506 ;;
1507 -es1800*)
1508 os=-ose
1509 ;;
1510 -xenix)
1511 os=-xenix
1512 ;;
1513 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1514 os=-mint
1515 ;;
1516 -aros*)
1517 os=-aros
1518 ;;
1519 -zvmoe)
1520 os=-zvmoe
1521 ;;
1522 -dicos*)
1523 os=-dicos
1524 ;;
1525 -nacl*)
1526 ;;
1527 -none)
1528 ;;
1529 *)
1530 # Get rid of the `-' at the beginning of $os.
1531 os=`echo $os | sed 's/[^-]*-//'`
1532 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1533 exit 1
1534 ;;
1535 esac
15361517 else
15371518
15381519 # Here we handle the default operating systems that come with various machines.
15451526 # will signal an error saying that MANUFACTURER isn't an operating
15461527 # system, and we'll never get to this point.
15471528
1548 case $basic_machine in
1529 kernel=
1530 case $cpu-$vendor in
15491531 score-*)
1550 os=-elf
1532 os=elf
15511533 ;;
15521534 spu-*)
1553 os=-elf
1535 os=elf
15541536 ;;
15551537 *-acorn)
1556 os=-riscix1.2
1538 os=riscix1.2
15571539 ;;
15581540 arm*-rebel)
1559 os=-linux
1541 kernel=linux
1542 os=gnu
15601543 ;;
15611544 arm*-semi)
1562 os=-aout
1545 os=aout
15631546 ;;
15641547 c4x-* | tic4x-*)
1565 os=-coff
1548 os=coff
15661549 ;;
15671550 c8051-*)
1568 os=-elf
1551 os=elf
1552 ;;
1553 clipper-intergraph)
1554 os=clix
15691555 ;;
15701556 hexagon-*)
1571 os=-elf
1557 os=elf
15721558 ;;
15731559 tic54x-*)
1574 os=-coff
1560 os=coff
15751561 ;;
15761562 tic55x-*)
1577 os=-coff
1563 os=coff
15781564 ;;
15791565 tic6x-*)
1580 os=-coff
1566 os=coff
15811567 ;;
15821568 # This must come before the *-dec entry.
15831569 pdp10-*)
1584 os=-tops20
1570 os=tops20
15851571 ;;
15861572 pdp11-*)
1587 os=-none
1573 os=none
15881574 ;;
15891575 *-dec | vax-*)
1590 os=-ultrix4.2
1576 os=ultrix4.2
15911577 ;;
15921578 m68*-apollo)
1593 os=-domain
1579 os=domain
15941580 ;;
15951581 i386-sun)
1596 os=-sunos4.0.2
1582 os=sunos4.0.2
15971583 ;;
15981584 m68000-sun)
1599 os=-sunos3
1585 os=sunos3
16001586 ;;
16011587 m68*-cisco)
1602 os=-aout
1588 os=aout
16031589 ;;
16041590 mep-*)
1605 os=-elf
1591 os=elf
16061592 ;;
16071593 mips*-cisco)
1608 os=-elf
1594 os=elf
16091595 ;;
16101596 mips*-*)
1611 os=-elf
1597 os=elf
16121598 ;;
16131599 or32-*)
1614 os=-coff
1600 os=coff
16151601 ;;
16161602 *-tti) # must be before sparc entry or we get the wrong os.
1617 os=-sysv3
1603 os=sysv3
16181604 ;;
16191605 sparc-* | *-sun)
1620 os=-sunos4.1.1
1606 os=sunos4.1.1
1607 ;;
1608 pru-*)
1609 os=elf
16211610 ;;
16221611 *-be)
1623 os=-beos
1624 ;;
1625 *-haiku)
1626 os=-haiku
1612 os=beos
16271613 ;;
16281614 *-ibm)
1629 os=-aix
1615 os=aix
16301616 ;;
16311617 *-knuth)
1632 os=-mmixware
1618 os=mmixware
16331619 ;;
16341620 *-wec)
1635 os=-proelf
1621 os=proelf
16361622 ;;
16371623 *-winbond)
1638 os=-proelf
1624 os=proelf
16391625 ;;
16401626 *-oki)
1641 os=-proelf
1627 os=proelf
16421628 ;;
16431629 *-hp)
1644 os=-hpux
1630 os=hpux
16451631 ;;
16461632 *-hitachi)
1647 os=-hiux
1633 os=hiux
16481634 ;;
16491635 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1650 os=-sysv
1636 os=sysv
16511637 ;;
16521638 *-cbm)
1653 os=-amigaos
1639 os=amigaos
16541640 ;;
16551641 *-dg)
1656 os=-dgux
1642 os=dgux
16571643 ;;
16581644 *-dolphin)
1659 os=-sysv3
1645 os=sysv3
16601646 ;;
16611647 m68k-ccur)
1662 os=-rtu
1648 os=rtu
16631649 ;;
16641650 m88k-omron*)
1665 os=-luna
1666 ;;
1667 *-next )
1668 os=-nextstep
1651 os=luna
1652 ;;
1653 *-next)
1654 os=nextstep
16691655 ;;
16701656 *-sequent)
1671 os=-ptx
1657 os=ptx
16721658 ;;
16731659 *-crds)
1674 os=-unos
1660 os=unos
16751661 ;;
16761662 *-ns)
1677 os=-genix
1663 os=genix
16781664 ;;
16791665 i370-*)
1680 os=-mvs
1681 ;;
1682 *-next)
1683 os=-nextstep3
1666 os=mvs
16841667 ;;
16851668 *-gould)
1686 os=-sysv
1669 os=sysv
16871670 ;;
16881671 *-highlevel)
1689 os=-bsd
1672 os=bsd
16901673 ;;
16911674 *-encore)
1692 os=-bsd
1675 os=bsd
16931676 ;;
16941677 *-sgi)
1695 os=-irix
1678 os=irix
16961679 ;;
16971680 *-siemens)
1698 os=-sysv4
1681 os=sysv4
16991682 ;;
17001683 *-masscomp)
1701 os=-rtu
1684 os=rtu
17021685 ;;
17031686 f30[01]-fujitsu | f700-fujitsu)
1704 os=-uxpv
1687 os=uxpv
17051688 ;;
17061689 *-rom68k)
1707 os=-coff
1690 os=coff
17081691 ;;
17091692 *-*bug)
1710 os=-coff
1693 os=coff
17111694 ;;
17121695 *-apple)
1713 os=-macos
1696 os=macos
17141697 ;;
17151698 *-atari*)
1716 os=-mint
1699 os=mint
1700 ;;
1701 *-wrs)
1702 os=vxworks
17171703 ;;
17181704 *)
1719 os=-none
1705 os=none
17201706 ;;
17211707 esac
1708
17221709 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
17231802
17241803 # Here we handle the case where we know the os, and the CPU type, but not the
17251804 # manufacturer. We pick the logical manufacturer.
1726 vendor=unknown
1727 case $basic_machine in
1728 *-unknown)
1729 case $os in
1730 -riscix*)
1805 case $vendor in
1806 unknown)
1807 case $cpu-$os in
1808 *-riscix*)
17311809 vendor=acorn
17321810 ;;
1733 -sunos*)
1811 *-sunos*)
17341812 vendor=sun
17351813 ;;
1736 -cnk*|-aix*)
1814 *-cnk* | *-aix*)
17371815 vendor=ibm
17381816 ;;
1739 -beos*)
1817 *-beos*)
17401818 vendor=be
17411819 ;;
1742 -hpux*)
1820 *-hpux*)
17431821 vendor=hp
17441822 ;;
1745 -mpeix*)
1823 *-mpeix*)
17461824 vendor=hp
17471825 ;;
1748 -hiux*)
1826 *-hiux*)
17491827 vendor=hitachi
17501828 ;;
1751 -unos*)
1829 *-unos*)
17521830 vendor=crds
17531831 ;;
1754 -dgux*)
1832 *-dgux*)
17551833 vendor=dg
17561834 ;;
1757 -luna*)
1835 *-luna*)
17581836 vendor=omron
17591837 ;;
1760 -genix*)
1838 *-genix*)
17611839 vendor=ns
17621840 ;;
1763 -mvs* | -opened*)
1841 *-clix*)
1842 vendor=intergraph
1843 ;;
1844 *-mvs* | *-opened*)
17641845 vendor=ibm
17651846 ;;
1766 -os400*)
1847 *-os400*)
17671848 vendor=ibm
17681849 ;;
1769 -ptx*)
1850 s390-* | s390x-*)
1851 vendor=ibm
1852 ;;
1853 *-ptx*)
17701854 vendor=sequent
17711855 ;;
1772 -tpf*)
1856 *-tpf*)
17731857 vendor=ibm
17741858 ;;
1775 -vxsim* | -vxworks* | -windiss*)
1859 *-vxsim* | *-vxworks* | *-windiss*)
17761860 vendor=wrs
17771861 ;;
1778 -aux*)
1862 *-aux*)
17791863 vendor=apple
17801864 ;;
1781 -hms*)
1865 *-hms*)
17821866 vendor=hitachi
17831867 ;;
1784 -mpw* | -macos*)
1868 *-mpw* | *-macos*)
17851869 vendor=apple
17861870 ;;
1787 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1871 *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
17881872 vendor=atari
17891873 ;;
1790 -vos*)
1874 *-vos*)
17911875 vendor=stratus
17921876 ;;
17931877 esac
1794 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
17951878 ;;
17961879 esac
17971880
1798 echo $basic_machine$os
1881 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
17991882 exit
18001883
18011884 # Local variables:
1802 # eval: (add-hook 'write-file-hooks 'time-stamp)
1885 # eval: (add-hook 'before-save-hook 'time-stamp)
18031886 # time-stamp-start: "timestamp='"
18041887 # time-stamp-format: "%:y-%02m-%02d"
18051888 # time-stamp-end: "'"
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2013-05-30.07; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
782782 # Local Variables:
783783 # mode: shell-script
784784 # sh-indentation: 2
785 # eval: (add-hook 'write-file-hooks 'time-stamp)
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786786 # time-stamp-start: "scriptversion="
787787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788 # time-stamp-time-zone: "UTC"
788 # time-stamp-time-zone: "UTC0"
789789 # time-stamp-end: "; # UTC"
790790 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2013-12-25.23; # UTC
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
6868 # Desired mode of installed file.
6969 mode=0755
7070
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=
7176 chgrpcmd=
7277 chmodcmd=$chmodprog
7378 chowncmd=
98103 --version display version info and exit.
99104
100105 -c (ignored)
101 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
102107 -d create directories instead of installing files.
103108 -g GROUP $chgrpprog installed files to GROUP.
104109 -m MODE $chmodprog installed files to MODE.
105110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
106112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
107114 -t DIRECTORY install into DIRECTORY.
108115 -T report an error if DSTFILE is a directory.
109116
110117 Environment variables override the default commands:
111118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112119 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/
113128 "
114129
115130 while test $# -ne 0; do
136151 -o) chowncmd="$chownprog $2"
137152 shift;;
138153
154 -p) cpprog="$cpprog -p";;
155
139156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
140160
141161 -t)
142162 is_target_a_directory=always
254274 dstdir=$dst
255275 test -d "$dstdir"
256276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
257281 else
258282
259283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
270294 fi
271295 dst=$dst_arg
272296
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
297 # If destination is a directory, append the input filename.
275298 if test -d "$dst"; then
276299 if test "$is_target_a_directory" = never; then
277300 echo "$0: $dst_arg: Is a directory" >&2
278301 exit 1
279302 fi
280303 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
304 dstbase=`basename "$src"`
305 case $dst in
306 */) dst=$dst$dstbase;;
307 *) dst=$dst/$dstbase;;
308 esac
282309 dstdir_status=0
283310 else
284311 dstdir=`dirname "$dst"`
287314 fi
288315 fi
289316
317 case $dstdir in
318 */) dstdirslash=$dstdir;;
319 *) dstdirslash=$dstdir/;;
320 esac
321
290322 obsolete_mkdir_used=false
291323
292324 if test $dstdir_status != 0; then
293325 case $posix_mkdir in
294326 '')
295 # Create intermediate dirs using mode 755 as modified by the umask.
296 # This is like FreeBSD 'install' as of 1997-10-28.
297 umask=`umask`
298 case $stripcmd.$umask in
299 # Optimize common cases.
300 *[2367][2367]) mkdir_umask=$umask;;
301 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
302
303 *[0-7])
304 mkdir_umask=`expr $umask + 22 \
305 - $umask % 100 % 40 + $umask % 20 \
306 - $umask % 10 % 4 + $umask % 2
307 `;;
308 *) mkdir_umask=$umask,go-w;;
309 esac
310
311327 # With -d, create the new directory with the user-specified mode.
312328 # Otherwise, rely on $mkdir_umask.
313329 if test -n "$dir_arg"; then
317333 fi
318334
319335 posix_mkdir=false
320 case $umask in
321 *[123567][0-7][0-7])
322 # POSIX mkdir -p sets u+wx bits regardless of umask, which
323 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324 ;;
325 *)
326 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
329 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
331 then
332 if test -z "$dir_arg" || {
333 # Check for POSIX incompatibilities with -m.
334 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335 # other-writable bit of parent directory when it shouldn't.
336 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
338 case $ls_ld_tmpdir in
339 d????-?r-*) different_mode=700;;
340 d????-?--*) different_mode=755;;
341 *) false;;
342 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
345 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346 }
347 }
348 then posix_mkdir=:
349 fi
350 rmdir "$tmpdir/d" "$tmpdir"
351 else
352 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
354 fi
355 trap '' 0;;
356 esac;;
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;;
357379 esac
358380
359381 if
364386 then :
365387 else
366388
367 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
368390 # or it failed possibly due to a race condition. Create the
369391 # directory the slow way, step by step, checking for races as we go.
370392
393415 prefixes=
394416 else
395417 if $posix_mkdir; then
396 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
397419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
398420 # Don't fail if two instances are running concurrently.
399421 test -d "$prefix" || exit 1
426448 else
427449
428450 # Make a couple of temp file names in the proper directory.
429 dsttmp=$dstdir/_inst.$$_
430 rmtmp=$dstdir/_rm.$$_
451 dsttmp=${dstdirslash}_inst.$$_
452 rmtmp=${dstdirslash}_rm.$$_
431453
432454 # Trap to clean up those temp files at exit.
433455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
434456
435457 # Copy the file name to the temp name.
436 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
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") &&
437470
438471 # and set any options; do chmod last to preserve setuid bits.
439472 #
459492 then
460493 rm -f "$dsttmp"
461494 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
462502 # Rename the file to the real destination.
463503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
464504
473513 # file should still install successfully.
474514 {
475515 test ! -f "$dst" ||
476 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
477517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
478 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
479519 } ||
480520 { echo "$0: cannot unlink or rename $dst" >&2
481521 (exit 1); exit 1
492532 done
493533
494534 # Local variables:
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
535 # eval: (add-hook 'before-save-hook 'time-stamp)
496536 # time-stamp-start: "scriptversion="
497537 # time-stamp-format: "%:y-%02m-%02d.%02H"
498 # time-stamp-time-zone: "UTC"
538 # time-stamp-time-zone: "UTC0"
499539 # time-stamp-end: "; # UTC"
500540 # End:
3030
3131 PROGRAM=libtool
3232 PACKAGE=libtool
33 VERSION=2.4.6
33 VERSION="2.4.6 Debian-2.4.6-15build2"
3434 package_revision=2.4.6
3535
3636
386386 # putting '$debug_cmd' at the start of all your functions, you can get
387387 # bash to show function call trace with:
388388 #
389 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
389 # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
390390 debug_cmd=${debug_cmd-":"}
391391 exit_cmd=:
392392
13691369 #! /bin/sh
13701370
13711371 # Set a version string for this script.
1372 scriptversion=2014-01-07.03; # UTC
1372 scriptversion=2015-10-07.11; # UTC
13731373
13741374 # A portable, pluggable option parser for Bourne shell.
13751375 # Written by Gary V. Vaughan, 2010
15291529 {
15301530 $debug_cmd
15311531
1532 _G_rc_run_hooks=false
1533
15321534 case " $hookable_fns " in
15331535 *" $1 "*) ;;
15341536 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
15371539 eval _G_hook_fns=\$$1_hooks; shift
15381540
15391541 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1542 if eval $_G_hook '"$@"'; then
1543 # store returned options list back into positional
1544 # parameters for next 'cmd' execution.
1545 eval _G_hook_result=\$${_G_hook}_result
1546 eval set dummy "$_G_hook_result"; shift
1547 _G_rc_run_hooks=:
1548 fi
15461549 done
15471550
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
1551 $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result
15501552 }
15511553
15521554
15561558 ## --------------- ##
15571559
15581560 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # full positional parameter list in your hook function, you may remove/edit
1562 # any options that you action, and then pass back the remaining unprocessed
15611563 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1564 # 'eval'. In this case you also must return $EXIT_SUCCESS to let the
1565 # hook's caller know that it should pay attention to
1566 # '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that
1567 # arguments are left untouched by the hook and therefore caller will ignore the
1568 # result variable.
1569 #
1570 # Like this:
15631571 #
15641572 # my_options_prep ()
15651573 # {
15691577 # usage_message=$usage_message'
15701578 # -s, --silent don'\''t print informational messages
15711579 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1580 # # No change in '$@' (ignored completely by this hook). There is
1581 # # no need to do the equivalent (but slower) action:
1582 # # func_quote_for_eval ${1+"$@"}
1583 # # my_options_prep_result=$func_quote_for_eval_result
1584 # false
15751585 # }
15761586 # func_add_hook func_options_prep my_options_prep
15771587 #
15801590 # {
15811591 # $debug_cmd
15821592 #
1593 # args_changed=false
1594 #
15831595 # # Note that for efficiency, we parse as many options as we can
15841596 # # recognise in a loop before passing the remainder back to the
15851597 # # caller on the first unrecognised argument we encounter.
15861598 # while test $# -gt 0; do
15871599 # opt=$1; shift
15881600 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1601 # --silent|-s) opt_silent=:
1602 # args_changed=:
1603 # ;;
15901604 # # Separate non-argument short options:
15911605 # -s*) func_split_short_opt "$_G_opt"
15921606 # set dummy "$func_split_short_opt_name" \
15931607 # "-$func_split_short_opt_arg" ${1+"$@"}
15941608 # shift
1609 # args_changed=:
15951610 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1611 # *) # Make sure the first unrecognised option "$_G_opt"
1612 # # is added back to "$@", we could need that later
1613 # # if $args_changed is true.
1614 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
15971615 # esac
15981616 # done
15991617 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1618 # if $args_changed; then
1619 # func_quote_for_eval ${1+"$@"}
1620 # my_silent_option_result=$func_quote_for_eval_result
1621 # fi
1622 #
1623 # $args_changed
16021624 # }
16031625 # func_add_hook func_parse_options my_silent_option
16041626 #
16101632 # $opt_silent && $opt_verbose && func_fatal_help "\
16111633 # '--silent' and '--verbose' options are mutually exclusive."
16121634 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
1635 # false
16151636 # }
16161637 # func_add_hook func_validate_options my_option_validation
16171638 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1639 # You'll also need to manually amend $usage_message to reflect the extra
16191640 # options you parse. It's preferable to append if you can, so that
16201641 # multiple option parsing hooks can be added safely.
1642
1643
1644 # func_options_finish [ARG]...
1645 # ----------------------------
1646 # Finishing the option parse loop (call 'func_options' hooks ATM).
1647 func_options_finish ()
1648 {
1649 $debug_cmd
1650
1651 _G_func_options_finish_exit=false
1652 if func_run_hooks func_options ${1+"$@"}; then
1653 func_options_finish_result=$func_run_hooks_result
1654 _G_func_options_finish_exit=:
1655 fi
1656
1657 $_G_func_options_finish_exit
1658 }
16211659
16221660
16231661 # func_options [ARG]...
16291667 {
16301668 $debug_cmd
16311669
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1670 _G_rc_options=false
1671
1672 for my_func in options_prep parse_options validate_options options_finish
1673 do
1674 if eval func_$my_func '${1+"$@"}'; then
1675 eval _G_res_var='$'"func_${my_func}_result"
1676 eval set dummy "$_G_res_var" ; shift
1677 _G_rc_options=:
1678 fi
1679 done
1680
1681 # Save modified positional parameters for caller. As a top-level
1682 # options-parser function we always need to set the 'func_options_result'
1683 # variable (regardless the $_G_rc_options value).
1684 if $_G_rc_options; then
1685 func_options_result=$_G_res_var
1686 else
1687 func_quote_for_eval ${1+"$@"}
1688 func_options_result=$func_quote_for_eval_result
1689 fi
1690
1691 $_G_rc_options
16431692 }
16441693
16451694
16481697 # All initialisations required before starting the option parse loop.
16491698 # Note that when calling hook functions, we pass through the list of
16501699 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1700 # needs to propagate that back to rest of this script, then the complete
16521701 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1702 # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).
16541703 func_hookable func_options_prep
16551704 func_options_prep ()
16561705 {
16601709 opt_verbose=false
16611710 opt_warning_types=
16621711
1663 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1712 _G_rc_options_prep=false
1713 if func_run_hooks func_options_prep ${1+"$@"}; then
1714 _G_rc_options_prep=:
1715 # save modified positional parameters for caller
1716 func_options_prep_result=$func_run_hooks_result
1717 fi
1718
1719 $_G_rc_options_prep
16671720 }
16681721
16691722
16771730
16781731 func_parse_options_result=
16791732
1733 _G_rc_parse_options=false
16801734 # this just eases exit handling
16811735 while test $# -gt 0; do
16821736 # Defer to hook functions for initial option parsing, so they
16831737 # get priority in the event of reusing an option name.
1684 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1738 if func_run_hooks func_parse_options ${1+"$@"}; then
1739 eval set dummy "$func_run_hooks_result"; shift
1740 _G_rc_parse_options=:
1741 fi
16881742
16891743 # Break out of the loop if we already parsed every option.
16901744 test $# -gt 0 || break
16911745
1746 _G_match_parse_options=:
16921747 _G_opt=$1
16931748 shift
16941749 case $_G_opt in
17031758 ;;
17041759
17051760 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1761 if test $# = 0 && func_missing_arg $_G_opt; then
1762 _G_rc_parse_options=:
1763 break
1764 fi
17071765 case " $warning_categories $1" in
17081766 *" $1 "*)
17091767 # trailing space prevents matching last $1 above
17561814 shift
17571815 ;;
17581816
1759 --) break ;;
1817 --) _G_rc_parse_options=: ; break ;;
17601818 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1819 *) set dummy "$_G_opt" ${1+"$@"}; shift
1820 _G_match_parse_options=false
1821 break
1822 ;;
17621823 esac
1824
1825 $_G_match_parse_options && _G_rc_parse_options=:
17631826 done
17641827
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1828
1829 if $_G_rc_parse_options; then
1830 # save modified positional parameters for caller
1831 func_quote_for_eval ${1+"$@"}
1832 func_parse_options_result=$func_quote_for_eval_result
1833 fi
1834
1835 $_G_rc_parse_options
17681836 }
17691837
17701838
17771845 {
17781846 $debug_cmd
17791847
1848 _G_rc_validate_options=false
1849
17801850 # Display all warnings if -W was not given.
17811851 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17821852
1783 func_run_hooks func_validate_options ${1+"$@"}
1853 if func_run_hooks func_validate_options ${1+"$@"}; then
1854 # save modified positional parameters for caller
1855 func_validate_options_result=$func_run_hooks_result
1856 _G_rc_validate_options=:
1857 fi
17841858
17851859 # Bail if the options were screwed!
17861860 $exit_cmd $EXIT_FAILURE
17871861
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
1862 $_G_rc_validate_options
17901863 }
17911864
17921865
20672140 compiler: $LTCC
20682141 compiler flags: $LTCFLAGS
20692142 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2143 version: $progname $scriptversion Debian-2.4.6-15build2
20712144 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
20722145 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20732146
20742147 Report bugs to <bug-libtool@gnu.org>.
2075 GNU libtool home page: <http://www.gnu.org/software/libtool/>.
2148 GNU libtool home page: <http://www.gnu.org/s/libtool/>.
20762149 General help using GNU software: <http://www.gnu.org/gethelp/>."
20772150 exit 0
20782151 }
22692342 nonopt=
22702343 preserve_args=
22712344
2345 _G_rc_lt_options_prep=:
2346
22722347 # Shorthand for --mode=foo, only valid as the first argument
22732348 case $1 in
22742349 clean|clea|cle|cl)
22922367 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
22932368 shift; set dummy --mode uninstall ${1+"$@"}; shift
22942369 ;;
2370 *)
2371 _G_rc_lt_options_prep=false
2372 ;;
22952373 esac
22962374
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2375 if $_G_rc_lt_options_prep; then
2376 # Pass back the list of options.
2377 func_quote_for_eval ${1+"$@"}
2378 libtool_options_prep_result=$func_quote_for_eval_result
2379 fi
2380
2381 $_G_rc_lt_options_prep
23002382 }
23012383 func_add_hook func_options_prep libtool_options_prep
23022384
23082390 {
23092391 $debug_cmd
23102392
2393 _G_rc_lt_parse_options=false
2394
23112395 # Perform our own loop to consume as many options as possible in
23122396 # each iteration.
23132397 while test $# -gt 0; do
2398 _G_match_lt_parse_options=:
23142399 _G_opt=$1
23152400 shift
23162401 case $_G_opt in
23852470 func_append preserve_args " $_G_opt"
23862471 ;;
23872472
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2473 # An option not handled by this hook function:
2474 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2475 _G_match_lt_parse_options=false
2476 break
2477 ;;
23902478 esac
2479 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
23912480 done
23922481
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2482 if $_G_rc_lt_parse_options; then
2483 # save modified positional parameters for caller
2484 func_quote_for_eval ${1+"$@"}
2485 libtool_parse_options_result=$func_quote_for_eval_result
2486 fi
2487
2488 $_G_rc_lt_parse_options
23972489 }
23982490 func_add_hook func_parse_options libtool_parse_options
23992491
72717363 # -tp=* Portland pgcc target processor selection
72727364 # --sysroot=* for sysroot support
72737365 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7366 # -specs=* GCC specs files
72747367 # -stdlib=* select c++ std lib with clang
7368 # -fsanitize=* Clang/GCC memory and address sanitizer
7369 # -fuse-ld=* Linker select flags for GCC
7370 # -static-* direct GCC to link specific libraries statically
7371 # -fcilkplus Cilk Plus language extension features for C/C++
72757372 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767373 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7374 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7375 -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus)
72787376 func_quote_for_eval "$arg"
72797377 arg=$func_quote_for_eval_result
72807378 func_append compile_command " $arg"
75677665 case $pass in
75687666 dlopen) libs=$dlfiles ;;
75697667 dlpreopen) libs=$dlprefiles ;;
7570 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7668 link)
7669 libs="$deplibs %DEPLIBS%"
7670 test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7671 ;;
75717672 esac
75727673 fi
75737674 if test lib,dlpreopen = "$linkmode,$pass"; then
78867987 # It is a libtool convenience library, so add in its objects.
78877988 func_append convenience " $ladir/$objdir/$old_library"
78887989 func_append old_convenience " $ladir/$objdir/$old_library"
7990 tmp_libs=
7991 for deplib in $dependency_libs; do
7992 deplibs="$deplib $deplibs"
7993 if $opt_preserve_dup_deps; then
7994 case "$tmp_libs " in
7995 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7996 esac
7997 fi
7998 func_append tmp_libs " $deplib"
7999 done
78898000 elif test prog != "$linkmode" && test lib != "$linkmode"; then
78908001 func_fatal_error "'$lib' is not a convenience library"
78918002 fi
7892 tmp_libs=
7893 for deplib in $dependency_libs; do
7894 deplibs="$deplib $deplibs"
7895 if $opt_preserve_dup_deps; then
7896 case "$tmp_libs " in
7897 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7898 esac
7899 fi
7900 func_append tmp_libs " $deplib"
7901 done
79028003 continue
79038004 fi # $pass = conv
79048005
88218922 age=$number_minor
88228923 revision=$number_minor
88238924 lt_irix_increment=no
8925 ;;
8926 *)
8927 func_fatal_configuration "$modename: unknown library version type '$version_type'"
88248928 ;;
88258929 esac
88268930 ;;
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC"
212 # time-stamp-time-zone: "UTC0"
213213 # time-stamp-end: "; # UTC"
214214 # End:
00 #! /bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2013-07-13.22; # UTC
3 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
4141 {
4242 cat <<END
4343 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}] [--]
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}] [--]
4747 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48
4849 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
50 See the GNU Automake documentation for information.
4951 END
5052 }
5153
102104 trap "st=141; $do_exit" 13
103105 trap "st=143; $do_exit" 15
104106
105 # Test script is run here.
106 "$@" >$log_file 2>&1
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
107112 estatus=$?
108113
109114 if test $enable_hard_errors = no && test $estatus -eq 99; then
125130 # know whether the test passed or failed simply by looking at the '.log'
126131 # file, without the need of also peaking into the corresponding '.trs'
127132 # file (automake bug#11814).
128 echo "$res $test_name (exit status: $estatus)" >>$log_file
133 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
129134
130135 # Report outcome to console.
131136 echo "${col}${res}${std}: $test_name"
139144 # Local Variables:
140145 # mode: shell-script
141146 # sh-indentation: 2
142 # eval: (add-hook 'write-file-hooks 'time-stamp)
147 # eval: (add-hook 'before-save-hook 'time-stamp)
143148 # time-stamp-start: "scriptversion="
144149 # time-stamp-format: "%:y-%02m-%02d.%02H"
145 # time-stamp-time-zone: "UTC"
150 # time-stamp-time-zone: "UTC0"
146151 # time-stamp-end: "; # UTC"
147152 # End:
88 /* Define to 1 if you have the <inttypes.h> header file. */
99 #undef HAVE_INTTYPES_H
1010
11 /* Define to 1 if you have the <memory.h> header file. */
12 #undef HAVE_MEMORY_H
13
1411 /* Define to 1 if you have the <stdint.h> header file. */
1512 #undef HAVE_STDINT_H
13
14 /* Define to 1 if you have the <stdio.h> header file. */
15 #undef HAVE_STDIO_H
1616
1717 /* Define to 1 if you have the <stdlib.h> header file. */
1818 #undef HAVE_STDLIB_H
5959 /* The size of `long', as computed by sizeof. */
6060 #undef SIZEOF_LONG
6161
62 /* Define to 1 if you have the ANSI C header files. */
62 /* Define to 1 if all of the C90 standard headers exist (not just the ones
63 required in a freestanding environment). This macro is provided for
64 backward compatibility; new code need not use it. */
6365 #undef STDC_HEADERS
6466
6567 /* Version number of package */
+0
-672
config.rpath less more
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-2010 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 darwin*)
60 case $cc_basename in
61 xlc*)
62 wl='-Wl,'
63 ;;
64 esac
65 ;;
66 mingw* | cygwin* | pw32* | os2* | cegcc*)
67 ;;
68 hpux9* | hpux10* | hpux11*)
69 wl='-Wl,'
70 ;;
71 irix5* | irix6* | nonstopux*)
72 wl='-Wl,'
73 ;;
74 newsos6)
75 ;;
76 linux* | k*bsd*-gnu)
77 case $cc_basename in
78 ecc*)
79 wl='-Wl,'
80 ;;
81 icc* | ifort*)
82 wl='-Wl,'
83 ;;
84 lf95*)
85 wl='-Wl,'
86 ;;
87 pgcc | pgf77 | pgf90)
88 wl='-Wl,'
89 ;;
90 ccc*)
91 wl='-Wl,'
92 ;;
93 como)
94 wl='-lopt='
95 ;;
96 *)
97 case `$CC -V 2>&1 | sed 5q` in
98 *Sun\ C*)
99 wl='-Wl,'
100 ;;
101 esac
102 ;;
103 esac
104 ;;
105 osf3* | osf4* | osf5*)
106 wl='-Wl,'
107 ;;
108 rdos*)
109 ;;
110 solaris*)
111 wl='-Wl,'
112 ;;
113 sunos4*)
114 wl='-Qoption ld '
115 ;;
116 sysv4 | sysv4.2uw2* | sysv4.3*)
117 wl='-Wl,'
118 ;;
119 sysv4*MP*)
120 ;;
121 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
122 wl='-Wl,'
123 ;;
124 unicos*)
125 wl='-Wl,'
126 ;;
127 uts4*)
128 ;;
129 esac
130 fi
131
132 # Code taken from libtool.m4's _LT_LINKER_SHLIBS.
133
134 hardcode_libdir_flag_spec=
135 hardcode_libdir_separator=
136 hardcode_direct=no
137 hardcode_minus_L=no
138
139 case "$host_os" in
140 cygwin* | mingw* | pw32* | cegcc*)
141 # FIXME: the MSVC++ port hasn't been tested in a loooong time
142 # When not using gcc, we currently assume that we are using
143 # Microsoft Visual C++.
144 if test "$GCC" != yes; then
145 with_gnu_ld=no
146 fi
147 ;;
148 interix*)
149 # we just hope/assume this is gcc and not c89 (= MSVC++)
150 with_gnu_ld=yes
151 ;;
152 openbsd*)
153 with_gnu_ld=no
154 ;;
155 esac
156
157 ld_shlibs=yes
158 if test "$with_gnu_ld" = yes; then
159 # Set some defaults for GNU ld with shared library support. These
160 # are reset later if shared libraries are not supported. Putting them
161 # here allows them to be overridden if necessary.
162 # Unlike libtool, we use -rpath here, not --rpath, since the documented
163 # option of GNU ld is called -rpath, not --rpath.
164 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
165 case "$host_os" in
166 aix[3-9]*)
167 # On AIX/PPC, the GNU linker is very broken
168 if test "$host_cpu" != ia64; then
169 ld_shlibs=no
170 fi
171 ;;
172 amigaos*)
173 hardcode_libdir_flag_spec='-L$libdir'
174 hardcode_minus_L=yes
175 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
176 # that the semantics of dynamic libraries on AmigaOS, at least up
177 # to version 4, is to share data among multiple programs linked
178 # with the same dynamic library. Since this doesn't match the
179 # behavior of shared libraries on other platforms, we cannot use
180 # them.
181 ld_shlibs=no
182 ;;
183 beos*)
184 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
185 :
186 else
187 ld_shlibs=no
188 fi
189 ;;
190 cygwin* | mingw* | pw32* | cegcc*)
191 # hardcode_libdir_flag_spec is actually meaningless, as there is
192 # no search path for DLLs.
193 hardcode_libdir_flag_spec='-L$libdir'
194 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
195 :
196 else
197 ld_shlibs=no
198 fi
199 ;;
200 interix[3-9]*)
201 hardcode_direct=no
202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
203 ;;
204 gnu* | linux* | k*bsd*-gnu)
205 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
206 :
207 else
208 ld_shlibs=no
209 fi
210 ;;
211 netbsd*)
212 ;;
213 solaris*)
214 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
215 ld_shlibs=no
216 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
217 :
218 else
219 ld_shlibs=no
220 fi
221 ;;
222 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
223 case `$LD -v 2>&1` in
224 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
225 ld_shlibs=no
226 ;;
227 *)
228 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
229 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
230 else
231 ld_shlibs=no
232 fi
233 ;;
234 esac
235 ;;
236 sunos4*)
237 hardcode_direct=yes
238 ;;
239 *)
240 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
241 :
242 else
243 ld_shlibs=no
244 fi
245 ;;
246 esac
247 if test "$ld_shlibs" = no; then
248 hardcode_libdir_flag_spec=
249 fi
250 else
251 case "$host_os" in
252 aix3*)
253 # Note: this linker hardcodes the directories in LIBPATH if there
254 # are no directories specified by -L.
255 hardcode_minus_L=yes
256 if test "$GCC" = yes; then
257 # Neither direct hardcoding nor static linking is supported with a
258 # broken collect2.
259 hardcode_direct=unsupported
260 fi
261 ;;
262 aix[4-9]*)
263 if test "$host_cpu" = ia64; then
264 # On IA64, the linker does run time linking by default, so we don't
265 # have to do anything special.
266 aix_use_runtimelinking=no
267 else
268 aix_use_runtimelinking=no
269 # Test if we are trying to use run time linking or normal
270 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
271 # need to do runtime linking.
272 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
273 for ld_flag in $LDFLAGS; do
274 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
275 aix_use_runtimelinking=yes
276 break
277 fi
278 done
279 ;;
280 esac
281 fi
282 hardcode_direct=yes
283 hardcode_libdir_separator=':'
284 if test "$GCC" = yes; then
285 case $host_os in aix4.[012]|aix4.[012].*)
286 collect2name=`${CC} -print-prog-name=collect2`
287 if test -f "$collect2name" && \
288 strings "$collect2name" | grep resolve_lib_name >/dev/null
289 then
290 # We have reworked collect2
291 :
292 else
293 # We have old collect2
294 hardcode_direct=unsupported
295 hardcode_minus_L=yes
296 hardcode_libdir_flag_spec='-L$libdir'
297 hardcode_libdir_separator=
298 fi
299 ;;
300 esac
301 fi
302 # Begin _LT_AC_SYS_LIBPATH_AIX.
303 echo 'int main () { return 0; }' > conftest.c
304 ${CC} ${LDFLAGS} conftest.c -o conftest
305 aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
306 }'`
307 if test -z "$aix_libpath"; then
308 aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
309 }'`
310 fi
311 if test -z "$aix_libpath"; then
312 aix_libpath="/usr/lib:/lib"
313 fi
314 rm -f conftest.c conftest
315 # End _LT_AC_SYS_LIBPATH_AIX.
316 if test "$aix_use_runtimelinking" = yes; then
317 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
318 else
319 if test "$host_cpu" = ia64; then
320 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
321 else
322 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
323 fi
324 fi
325 ;;
326 amigaos*)
327 hardcode_libdir_flag_spec='-L$libdir'
328 hardcode_minus_L=yes
329 # see comment about different semantics on the GNU ld section
330 ld_shlibs=no
331 ;;
332 bsdi[45]*)
333 ;;
334 cygwin* | mingw* | pw32* | cegcc*)
335 # When not using gcc, we currently assume that we are using
336 # Microsoft Visual C++.
337 # hardcode_libdir_flag_spec is actually meaningless, as there is
338 # no search path for DLLs.
339 hardcode_libdir_flag_spec=' '
340 libext=lib
341 ;;
342 darwin* | rhapsody*)
343 hardcode_direct=no
344 if test "$GCC" = yes ; then
345 :
346 else
347 case $cc_basename in
348 xlc*)
349 ;;
350 *)
351 ld_shlibs=no
352 ;;
353 esac
354 fi
355 ;;
356 dgux*)
357 hardcode_libdir_flag_spec='-L$libdir'
358 ;;
359 freebsd1*)
360 ld_shlibs=no
361 ;;
362 freebsd2.2*)
363 hardcode_libdir_flag_spec='-R$libdir'
364 hardcode_direct=yes
365 ;;
366 freebsd2*)
367 hardcode_direct=yes
368 hardcode_minus_L=yes
369 ;;
370 freebsd* | dragonfly*)
371 hardcode_libdir_flag_spec='-R$libdir'
372 hardcode_direct=yes
373 ;;
374 hpux9*)
375 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
376 hardcode_libdir_separator=:
377 hardcode_direct=yes
378 # hardcode_minus_L: Not really in the search PATH,
379 # but as the default location of the library.
380 hardcode_minus_L=yes
381 ;;
382 hpux10*)
383 if test "$with_gnu_ld" = no; then
384 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
385 hardcode_libdir_separator=:
386 hardcode_direct=yes
387 # hardcode_minus_L: Not really in the search PATH,
388 # but as the default location of the library.
389 hardcode_minus_L=yes
390 fi
391 ;;
392 hpux11*)
393 if test "$with_gnu_ld" = no; then
394 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
395 hardcode_libdir_separator=:
396 case $host_cpu in
397 hppa*64*|ia64*)
398 hardcode_direct=no
399 ;;
400 *)
401 hardcode_direct=yes
402 # hardcode_minus_L: Not really in the search PATH,
403 # but as the default location of the library.
404 hardcode_minus_L=yes
405 ;;
406 esac
407 fi
408 ;;
409 irix5* | irix6* | nonstopux*)
410 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
411 hardcode_libdir_separator=:
412 ;;
413 netbsd*)
414 hardcode_libdir_flag_spec='-R$libdir'
415 hardcode_direct=yes
416 ;;
417 newsos6)
418 hardcode_direct=yes
419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
420 hardcode_libdir_separator=:
421 ;;
422 openbsd*)
423 if test -f /usr/libexec/ld.so; then
424 hardcode_direct=yes
425 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
426 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
427 else
428 case "$host_os" in
429 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
430 hardcode_libdir_flag_spec='-R$libdir'
431 ;;
432 *)
433 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
434 ;;
435 esac
436 fi
437 else
438 ld_shlibs=no
439 fi
440 ;;
441 os2*)
442 hardcode_libdir_flag_spec='-L$libdir'
443 hardcode_minus_L=yes
444 ;;
445 osf3*)
446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
447 hardcode_libdir_separator=:
448 ;;
449 osf4* | osf5*)
450 if test "$GCC" = yes; then
451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
452 else
453 # Both cc and cxx compiler support -rpath directly
454 hardcode_libdir_flag_spec='-rpath $libdir'
455 fi
456 hardcode_libdir_separator=:
457 ;;
458 solaris*)
459 hardcode_libdir_flag_spec='-R$libdir'
460 ;;
461 sunos4*)
462 hardcode_libdir_flag_spec='-L$libdir'
463 hardcode_direct=yes
464 hardcode_minus_L=yes
465 ;;
466 sysv4)
467 case $host_vendor in
468 sni)
469 hardcode_direct=yes # is this really true???
470 ;;
471 siemens)
472 hardcode_direct=no
473 ;;
474 motorola)
475 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
476 ;;
477 esac
478 ;;
479 sysv4.3*)
480 ;;
481 sysv4*MP*)
482 if test -d /usr/nec; then
483 ld_shlibs=yes
484 fi
485 ;;
486 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
487 ;;
488 sysv5* | sco3.2v5* | sco5v6*)
489 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
490 hardcode_libdir_separator=':'
491 ;;
492 uts4*)
493 hardcode_libdir_flag_spec='-L$libdir'
494 ;;
495 *)
496 ld_shlibs=no
497 ;;
498 esac
499 fi
500
501 # Check dynamic linker characteristics
502 # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
503 # Unlike libtool.m4, here we don't care about _all_ names of the library, but
504 # only about the one the linker finds when passed -lNAME. This is the last
505 # element of library_names_spec in libtool.m4, or possibly two of them if the
506 # linker has special search rules.
507 library_names_spec= # the last element of library_names_spec in libtool.m4
508 libname_spec='lib$name'
509 case "$host_os" in
510 aix3*)
511 library_names_spec='$libname.a'
512 ;;
513 aix[4-9]*)
514 library_names_spec='$libname$shrext'
515 ;;
516 amigaos*)
517 library_names_spec='$libname.a'
518 ;;
519 beos*)
520 library_names_spec='$libname$shrext'
521 ;;
522 bsdi[45]*)
523 library_names_spec='$libname$shrext'
524 ;;
525 cygwin* | mingw* | pw32* | cegcc*)
526 shrext=.dll
527 library_names_spec='$libname.dll.a $libname.lib'
528 ;;
529 darwin* | rhapsody*)
530 shrext=.dylib
531 library_names_spec='$libname$shrext'
532 ;;
533 dgux*)
534 library_names_spec='$libname$shrext'
535 ;;
536 freebsd1*)
537 ;;
538 freebsd* | dragonfly*)
539 case "$host_os" in
540 freebsd[123]*)
541 library_names_spec='$libname$shrext$versuffix' ;;
542 *)
543 library_names_spec='$libname$shrext' ;;
544 esac
545 ;;
546 gnu*)
547 library_names_spec='$libname$shrext'
548 ;;
549 hpux9* | hpux10* | hpux11*)
550 case $host_cpu in
551 ia64*)
552 shrext=.so
553 ;;
554 hppa*64*)
555 shrext=.sl
556 ;;
557 *)
558 shrext=.sl
559 ;;
560 esac
561 library_names_spec='$libname$shrext'
562 ;;
563 interix[3-9]*)
564 library_names_spec='$libname$shrext'
565 ;;
566 irix5* | irix6* | nonstopux*)
567 library_names_spec='$libname$shrext'
568 case "$host_os" in
569 irix5* | nonstopux*)
570 libsuff= shlibsuff=
571 ;;
572 *)
573 case $LD in
574 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
575 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
576 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
577 *) libsuff= shlibsuff= ;;
578 esac
579 ;;
580 esac
581 ;;
582 linux*oldld* | linux*aout* | linux*coff*)
583 ;;
584 linux* | k*bsd*-gnu)
585 library_names_spec='$libname$shrext'
586 ;;
587 knetbsd*-gnu)
588 library_names_spec='$libname$shrext'
589 ;;
590 netbsd*)
591 library_names_spec='$libname$shrext'
592 ;;
593 newsos6)
594 library_names_spec='$libname$shrext'
595 ;;
596 nto-qnx*)
597 library_names_spec='$libname$shrext'
598 ;;
599 openbsd*)
600 library_names_spec='$libname$shrext$versuffix'
601 ;;
602 os2*)
603 libname_spec='$name'
604 shrext=.dll
605 library_names_spec='$libname.a'
606 ;;
607 osf3* | osf4* | osf5*)
608 library_names_spec='$libname$shrext'
609 ;;
610 rdos*)
611 ;;
612 solaris*)
613 library_names_spec='$libname$shrext'
614 ;;
615 sunos4*)
616 library_names_spec='$libname$shrext$versuffix'
617 ;;
618 sysv4 | sysv4.3*)
619 library_names_spec='$libname$shrext'
620 ;;
621 sysv4*MP*)
622 library_names_spec='$libname$shrext'
623 ;;
624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
625 library_names_spec='$libname$shrext'
626 ;;
627 uts4*)
628 library_names_spec='$libname$shrext'
629 ;;
630 esac
631
632 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
633 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
634 shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
635 escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
636 escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
637 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
638
639 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
640
641 # How to pass a linker flag through the compiler.
642 wl="$escaped_wl"
643
644 # Static library suffix (normally "a").
645 libext="$libext"
646
647 # Shared library suffix (normally "so").
648 shlibext="$shlibext"
649
650 # Format of library name prefix.
651 libname_spec="$escaped_libname_spec"
652
653 # Library names that the linker finds when passed -lNAME.
654 library_names_spec="$escaped_library_names_spec"
655
656 # Flag to hardcode \$libdir into a binary during linking.
657 # This must work even if \$libdir does not exist.
658 hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
659
660 # Whether we need a single -rpath flag with a separated argument.
661 hardcode_libdir_separator="$hardcode_libdir_separator"
662
663 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
664 # resulting binary.
665 hardcode_direct="$hardcode_direct"
666
667 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
668 # resulting binary.
669 hardcode_minus_L="$hardcode_minus_L"
670
671 EOF
+3611
-2790
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for libdiscid 0.6.2.
2 # Generated by GNU Autoconf 2.71 for libdiscid 0.6.4.
33 #
44 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
5 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
6 # Inc.
67 #
78 #
89 # This configure script is free software; the Free Software Foundation
1314
1415 # Be more Bourne compatible
1516 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 as_nop=:
18 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
19 then :
1720 emulate sh
1821 NULLCMD=:
1922 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2023 # is contrary to our usage. Disable this feature.
2124 alias -g '${1+"$@"}'='"$@"'
2225 setopt NO_GLOB_SUBST
23 else
26 else $as_nop
2427 case `(set -o) 2>/dev/null` in #(
2528 *posix*) :
2629 set -o posix ;; #(
3033 fi
3134
3235
36
37 # Reset variables that may have inherited troublesome values from
38 # the environment.
39
40 # IFS needs to be set, to space, tab, and newline, in precisely that order.
41 # (If _AS_PATH_WALK were called with IFS unset, it would have the
42 # side effect of setting IFS to empty, thus disabling word splitting.)
43 # Quoting is to prevent editors from complaining about space-tab.
3344 as_nl='
3445 '
3546 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
47 IFS=" "" $as_nl"
48
49 PS1='$ '
50 PS2='> '
51 PS4='+ '
52
53 # Ensure predictable behavior from utilities with locale-dependent output.
54 LC_ALL=C
55 export LC_ALL
56 LANGUAGE=C
57 export LANGUAGE
58
59 # We cannot yet rely on "unset" to work, but we need these variables
60 # to be unset--not just set to an empty or harmless value--now, to
61 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
62 # also avoids known problems related to "unset" and subshell syntax
63 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
64 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
65 do eval test \${$as_var+y} \
66 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
67 done
68
69 # Ensure that fds 0, 1, and 2 are open.
70 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
71 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
72 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7073
7174 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
75 if ${PATH_SEPARATOR+false} :; then
7376 PATH_SEPARATOR=:
7477 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7780 }
7881 fi
7982
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
8783
8884 # Find who we are. Look in the path if we contain no directory separator.
8985 as_myself=
9389 for as_dir in $PATH
9490 do
9591 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
92 case $as_dir in #(((
93 '') as_dir=./ ;;
94 */) ;;
95 *) as_dir=$as_dir/ ;;
96 esac
97 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
9898 done
9999 IFS=$as_save_IFS
100100
106106 as_myself=$0
107107 fi
108108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
109 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110110 exit 1
111111 fi
112112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133113
134114 # Use a proper internal environment variable to ensure we don't fall
135115 # into an infinite loop, continuously re-executing ourselves.
151131 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152132 # Admittedly, this is quite paranoid, since all the known shells bail
153133 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
134 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
135 exit 255
156136 fi
157137 # We don't want this to propagate to other subprocesses.
158138 { _as_can_reexec=; unset _as_can_reexec;}
159139 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 as_bourne_compatible="as_nop=:
141 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
142 then :
161143 emulate sh
162144 NULLCMD=:
163145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164146 # is contrary to our usage. Disable this feature.
165147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166148 setopt NO_GLOB_SUBST
167 else
149 else \$as_nop
168150 case \`(set -o) 2>/dev/null\` in #(
169151 *posix*) :
170152 set -o posix ;; #(
184166 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185167 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186168 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
169 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
170 then :
171
172 else \$as_nop
190173 exitcode=1; echo positional parameters were not saved.
191174 fi
192175 test x\$exitcode = x0 || exit 1
176 blah=\$(echo \$(echo blah))
177 test x\"\$blah\" = xblah || exit 1
193178 test -x / || exit 1"
194179 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195180 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
204189 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
205190 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
206191 test \$(( 1 + 1 )) = 2 || exit 1"
207 if (eval "$as_required") 2>/dev/null; then :
192 if (eval "$as_required") 2>/dev/null
193 then :
208194 as_have_required=yes
209 else
195 else $as_nop
210196 as_have_required=no
211197 fi
212 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
213
214 else
198 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
199 then :
200
201 else $as_nop
215202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216203 as_found=false
217204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218205 do
219206 IFS=$as_save_IFS
220 test -z "$as_dir" && as_dir=.
207 case $as_dir in #(((
208 '') as_dir=./ ;;
209 */) ;;
210 *) as_dir=$as_dir/ ;;
211 esac
221212 as_found=:
222213 case $as_dir in #(
223214 /*)
224215 for as_base in sh bash ksh sh5; do
225216 # Try only shells that exist, to save several forks.
226 as_shell=$as_dir/$as_base
217 as_shell=$as_dir$as_base
227218 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
228 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
219 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
220 then :
229221 CONFIG_SHELL=$as_shell as_have_required=yes
230 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
223 then :
231224 break 2
232225 fi
233226 fi
235228 esac
236229 as_found=false
237230 done
238 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
231 IFS=$as_save_IFS
232 if $as_found
233 then :
234
235 else $as_nop
236 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
237 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
238 then :
240239 CONFIG_SHELL=$SHELL as_have_required=yes
241 fi; }
242 IFS=$as_save_IFS
243
244
245 if test "x$CONFIG_SHELL" != x; then :
240 fi
241 fi
242
243
244 if test "x$CONFIG_SHELL" != x
245 then :
246246 export CONFIG_SHELL
247247 # We cannot yet assume a decent shell, so we have to provide a
248248 # neutralization value for shells without unset; and this also
260260 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
261261 # Admittedly, this is quite paranoid, since all the known shells bail
262262 # out after a failed `exec'.
263 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
264264 exit 255
265265 fi
266266
267 if test x$as_have_required = xno; then :
268 $as_echo "$0: This script requires a shell more modern than all"
269 $as_echo "$0: the shells that I found on your system."
270 if test x${ZSH_VERSION+set} = xset ; then
271 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
272 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 if test x$as_have_required = xno
268 then :
269 printf "%s\n" "$0: This script requires a shell more modern than all"
270 printf "%s\n" "$0: the shells that I found on your system."
271 if test ${ZSH_VERSION+y} ; then
272 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
273274 else
274 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
275 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
275276 $0: including any error possibly output before this
276277 $0: message. Then install a modern shell, or manually run
277278 $0: the script under such a shell if you do have one."
298299 }
299300 as_unset=as_fn_unset
300301
302
301303 # as_fn_set_status STATUS
302304 # -----------------------
303305 # Set $? to STATUS, without forking.
315317 as_fn_set_status $1
316318 exit $1
317319 } # as_fn_exit
320 # as_fn_nop
321 # ---------
322 # Do nothing but, unlike ":", preserve the value of $?.
323 as_fn_nop ()
324 {
325 return $?
326 }
327 as_nop=as_fn_nop
318328
319329 # as_fn_mkdir_p
320330 # -------------
329339 as_dirs=
330340 while :; do
331341 case $as_dir in #(
332 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
342 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333343 *) as_qdir=$as_dir;;
334344 esac
335345 as_dirs="'$as_qdir' $as_dirs"
338348 X"$as_dir" : 'X\(//\)[^/]' \| \
339349 X"$as_dir" : 'X\(//\)$' \| \
340350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
341 $as_echo X"$as_dir" |
351 printf "%s\n" X"$as_dir" |
342352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343353 s//\1/
344354 q
377387 # advantage of any shell optimizations that allow amortized linear growth over
378388 # repeated appends, instead of the typical quadratic growth present in naive
379389 # implementations.
380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
391 then :
381392 eval 'as_fn_append ()
382393 {
383394 eval $1+=\$2
384395 }'
385 else
396 else $as_nop
386397 as_fn_append ()
387398 {
388399 eval $1=\$$1\$2
394405 # Perform arithmetic evaluation on the ARGs, and store the result in the
395406 # global $as_val. Take advantage of shells that can avoid forks. The arguments
396407 # must be portable across $(()) and expr.
397 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
408 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
409 then :
398410 eval 'as_fn_arith ()
399411 {
400412 as_val=$(( $* ))
401413 }'
402 else
414 else $as_nop
403415 as_fn_arith ()
404416 {
405417 as_val=`expr "$@" || test $? -eq 1`
406418 }
407419 fi # as_fn_arith
408420
421 # as_fn_nop
422 # ---------
423 # Do nothing but, unlike ":", preserve the value of $?.
424 as_fn_nop ()
425 {
426 return $?
427 }
428 as_nop=as_fn_nop
409429
410430 # as_fn_error STATUS ERROR [LINENO LOG_FD]
411431 # ----------------------------------------
417437 as_status=$1; test $as_status -eq 0 && as_status=1
418438 if test "$4"; then
419439 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
421441 fi
422 $as_echo "$as_me: error: $2" >&2
442 printf "%s\n" "$as_me: error: $2" >&2
423443 as_fn_exit $as_status
424444 } # as_fn_error
425445
446466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
447467 X"$0" : 'X\(//\)$' \| \
448468 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
449 $as_echo X/"$0" |
469 printf "%s\n" X/"$0" |
450470 sed '/^.*\/\([^/][^/]*\)\/*$/{
451471 s//\1/
452472 q
490510 s/-\n.*//
491511 ' >$as_me.lineno &&
492512 chmod +x "$as_me.lineno" ||
493 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
513 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
494514
495515 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
496516 # already done that, so ensure we don't try to do so again and fall
504524 exit
505525 }
506526
527
528 # Determine whether it's possible to make 'echo' print without a newline.
529 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
530 # for compatibility with existing Makefiles.
507531 ECHO_C= ECHO_N= ECHO_T=
508532 case `echo -n x` in #(((((
509533 -n*)
516540 *)
517541 ECHO_N='-n';;
518542 esac
543
544 # For backward compatibility with old third-party macros, we provide
545 # the shell variables $as_echo and $as_echo_n. New code should use
546 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
547 as_echo='printf %s\n'
548 as_echo_n='printf %s'
549
519550
520551 rm -f conf$$ conf$$.exe conf$$.file
521552 if test -d conf$$.dir; then
586617 # Identity of this package.
587618 PACKAGE_NAME='libdiscid'
588619 PACKAGE_TARNAME='libdiscid'
589 PACKAGE_VERSION='0.6.2'
590 PACKAGE_STRING='libdiscid 0.6.2'
620 PACKAGE_VERSION='0.6.4'
621 PACKAGE_STRING='libdiscid 0.6.4'
591622 PACKAGE_BUGREPORT=''
592623 PACKAGE_URL=''
593624
594625 ac_unique_file="src/disc.c"
595626 # Factoring default headers for most tests.
596627 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
628 #include <stddef.h>
629 #ifdef HAVE_STDIO_H
630 # include <stdio.h>
600631 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
632 #ifdef HAVE_STDLIB_H
605633 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611634 #endif
612635 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616636 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620637 #endif
621638 #ifdef HAVE_INTTYPES_H
622639 # include <inttypes.h>
624641 #ifdef HAVE_STDINT_H
625642 # include <stdint.h>
626643 #endif
644 #ifdef HAVE_STRINGS_H
645 # include <strings.h>
646 #endif
647 #ifdef HAVE_SYS_TYPES_H
648 # include <sys/types.h>
649 #endif
650 #ifdef HAVE_SYS_STAT_H
651 # include <sys/stat.h>
652 #endif
627653 #ifdef HAVE_UNISTD_H
628654 # include <unistd.h>
629655 #endif"
630656
657 ac_header_c_list=
631658 ac_subst_vars='am__EXEEXT_FALSE
632659 am__EXEEXT_TRUE
633660 LTLIBOBJS
637664 RUN_TESTS_FALSE
638665 RUN_TESTS_TRUE
639666 RC
640 CPP
641667 LT_SYS_LIBRARY_PATH
642668 OTOOL64
643669 OTOOL
673699 OS_FREEBSD_TRUE
674700 OS_DARWIN_FALSE
675701 OS_DARWIN_TRUE
702 OS_HAIKU_FALSE
703 OS_HAIKU_TRUE
676704 host_os
677705 host_vendor
678706 host_cpu
694722 AMDEPBACKSLASH
695723 AMDEP_FALSE
696724 AMDEP_TRUE
697 am__quote
698725 am__include
699726 DEPDIR
700727 OBJEXT
710737 AM_DEFAULT_VERBOSITY
711738 AM_DEFAULT_V
712739 AM_V
740 CSCOPE
741 ETAGS
742 CTAGS
713743 am__untar
714744 am__tar
715745 AMTAR
752782 docdir
753783 oldincludedir
754784 includedir
785 runstatedir
755786 localstatedir
756787 sharedstatedir
757788 sysconfdir
770801 PACKAGE_TARNAME
771802 PACKAGE_NAME
772803 PATH_SEPARATOR
773 SHELL'
804 SHELL
805 am__quote'
774806 ac_subst_files=''
775807 ac_user_opts='
776808 enable_option_checking
793825 LDFLAGS
794826 LIBS
795827 CPPFLAGS
796 LT_SYS_LIBRARY_PATH
797 CPP'
828 LT_SYS_LIBRARY_PATH'
798829
799830
800831 # Initialize some variables set by options.
833864 sysconfdir='${prefix}/etc'
834865 sharedstatedir='${prefix}/com'
835866 localstatedir='${prefix}/var'
867 runstatedir='${localstatedir}/run'
836868 includedir='${prefix}/include'
837869 oldincludedir='/usr/include'
838870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862894 *) ac_optarg=yes ;;
863895 esac
864896
865 # Accept the important Cygnus configure options, so we can diagnose typos.
866
867897 case $ac_dashdash$ac_option in
868898 --)
869899 ac_dashdash=yes ;;
904934 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905935 # Reject names that are not valid shell variable names.
906936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907 as_fn_error $? "invalid feature name: $ac_useropt"
937 as_fn_error $? "invalid feature name: \`$ac_useropt'"
908938 ac_useropt_orig=$ac_useropt
909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
910940 case $ac_user_opts in
911941 *"
912942 "enable_$ac_useropt"
930960 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931961 # Reject names that are not valid shell variable names.
932962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933 as_fn_error $? "invalid feature name: $ac_useropt"
963 as_fn_error $? "invalid feature name: \`$ac_useropt'"
934964 ac_useropt_orig=$ac_useropt
935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
936966 case $ac_user_opts in
937967 *"
938968 "enable_$ac_useropt"
10851115 | -silent | --silent | --silen | --sile | --sil)
10861116 silent=yes ;;
10871117
1118 -runstatedir | --runstatedir | --runstatedi | --runstated \
1119 | --runstate | --runstat | --runsta | --runst | --runs \
1120 | --run | --ru | --r)
1121 ac_prev=runstatedir ;;
1122 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1123 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1124 | --run=* | --ru=* | --r=*)
1125 runstatedir=$ac_optarg ;;
1126
10881127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10891128 ac_prev=sbindir ;;
10901129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11341173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11351174 # Reject names that are not valid shell variable names.
11361175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1176 as_fn_error $? "invalid package name: \`$ac_useropt'"
11381177 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11401179 case $ac_user_opts in
11411180 *"
11421181 "with_$ac_useropt"
11501189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11511190 # Reject names that are not valid shell variable names.
11521191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error $? "invalid package name: $ac_useropt"
1192 as_fn_error $? "invalid package name: \`$ac_useropt'"
11541193 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11561195 case $ac_user_opts in
11571196 *"
11581197 "with_$ac_useropt"
11961235
11971236 *)
11981237 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
12001239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
12021241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
12031242 ;;
12041243
12141253 case $enable_option_checking in
12151254 no) ;;
12161255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12181257 esac
12191258 fi
12201259
12221261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12231262 datadir sysconfdir sharedstatedir localstatedir includedir \
12241263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1264 libdir localedir mandir runstatedir
12261265 do
12271266 eval ac_val=\$$ac_var
12281267 # Remove trailing slashes.
12781317 X"$as_myself" : 'X\(//\)[^/]' \| \
12791318 X"$as_myself" : 'X\(//\)$' \| \
12801319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1281 $as_echo X"$as_myself" |
1320 printf "%s\n" X"$as_myself" |
12821321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12831322 s//\1/
12841323 q
13351374 # Omit some internal or obsolete options to make the list less imposing.
13361375 # This message is too long to be a string in the A/UX 3.1 sh.
13371376 cat <<_ACEOF
1338 \`configure' configures libdiscid 0.6.2 to adapt to many kinds of systems.
1377 \`configure' configures libdiscid 0.6.4 to adapt to many kinds of systems.
13391378
13401379 Usage: $0 [OPTION]... [VAR=VALUE]...
13411380
13751414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13761415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13771416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13781418 --libdir=DIR object code libraries [EPREFIX/lib]
13791419 --includedir=DIR C header files [PREFIX/include]
13801420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
14051445
14061446 if test -n "$ac_init_help"; then
14071447 case $ac_init_help in
1408 short | recursive ) echo "Configuration of libdiscid 0.6.2:";;
1448 short | recursive ) echo "Configuration of libdiscid 0.6.4:";;
14091449 esac
14101450 cat <<\_ACEOF
14111451
14471487 you have headers in a nonstandard directory <include dir>
14481488 LT_SYS_LIBRARY_PATH
14491489 User-defined run-time library search path.
1450 CPP C preprocessor
14511490
14521491 Use these variables to override the choices made by `configure' or to help
14531492 it to find libraries and programs with nonstandard names/locations.
14681507 case "$ac_dir" in
14691508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14701509 *)
1471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14721511 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14741513 case $ac_top_builddir_sub in
14751514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14761515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14981537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14991538
15001539 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1540 # Check for configure.gnu first; this name is used for a wrapper for
1541 # Metaconfig's "Configure" on case-insensitive file systems.
15021542 if test -f "$ac_srcdir/configure.gnu"; then
15031543 echo &&
15041544 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
15061546 echo &&
15071547 $SHELL "$ac_srcdir/configure" --help=recursive
15081548 else
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15101550 fi || ac_status=$?
15111551 cd "$ac_pwd" || { ac_status=$?; break; }
15121552 done
15151555 test -n "$ac_init_help" && exit $ac_status
15161556 if $ac_init_version; then
15171557 cat <<\_ACEOF
1518 libdiscid configure 0.6.2
1519 generated by GNU Autoconf 2.69
1520
1521 Copyright (C) 2012 Free Software Foundation, Inc.
1558 libdiscid configure 0.6.4
1559 generated by GNU Autoconf 2.71
1560
1561 Copyright (C) 2021 Free Software Foundation, Inc.
15221562 This configure script is free software; the Free Software Foundation
15231563 gives unlimited permission to copy, distribute and modify it.
15241564 _ACEOF
15351575 ac_fn_c_try_compile ()
15361576 {
15371577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 rm -f conftest.$ac_objext
1578 rm -f conftest.$ac_objext conftest.beam
15391579 if { { ac_try="$ac_compile"
15401580 case "(($ac_try" in
15411581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15421582 *) ac_try_echo=$ac_try;;
15431583 esac
15441584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1585 printf "%s\n" "$ac_try_echo"; } >&5
15461586 (eval "$ac_compile") 2>conftest.err
15471587 ac_status=$?
15481588 if test -s conftest.err; then
15501590 cat conftest.er1 >&5
15511591 mv -f conftest.er1 conftest.err
15521592 fi
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541594 test $ac_status = 0; } && {
15551595 test -z "$ac_c_werror_flag" ||
15561596 test ! -s conftest.err
1557 } && test -s conftest.$ac_objext; then :
1597 } && test -s conftest.$ac_objext
1598 then :
15581599 ac_retval=0
1559 else
1560 $as_echo "$as_me: failed program was:" >&5
1600 else $as_nop
1601 printf "%s\n" "$as_me: failed program was:" >&5
15611602 sed 's/^/| /' conftest.$ac_ext >&5
15621603
15631604 ac_retval=1
15731614 ac_fn_c_try_link ()
15741615 {
15751616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 rm -f conftest.$ac_objext conftest$ac_exeext
1617 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
15771618 if { { ac_try="$ac_link"
15781619 case "(($ac_try" in
15791620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15801621 *) ac_try_echo=$ac_try;;
15811622 esac
15821623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1624 printf "%s\n" "$ac_try_echo"; } >&5
15841625 (eval "$ac_link") 2>conftest.err
15851626 ac_status=$?
15861627 if test -s conftest.err; then
15881629 cat conftest.er1 >&5
15891630 mv -f conftest.er1 conftest.err
15901631 fi
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15921633 test $ac_status = 0; } && {
15931634 test -z "$ac_c_werror_flag" ||
15941635 test ! -s conftest.err
15951636 } && test -s conftest$ac_exeext && {
15961637 test "$cross_compiling" = yes ||
15971638 test -x conftest$ac_exeext
1598 }; then :
1639 }
1640 then :
15991641 ac_retval=0
1600 else
1601 $as_echo "$as_me: failed program was:" >&5
1642 else $as_nop
1643 printf "%s\n" "$as_me: failed program was:" >&5
16021644 sed 's/^/| /' conftest.$ac_ext >&5
16031645
16041646 ac_retval=1
16201662 ac_fn_c_check_header_compile ()
16211663 {
16221664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \${$3+:} false; then :
1626 $as_echo_n "(cached) " >&6
1627 else
1665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 printf %s "checking for $2... " >&6; }
1667 if eval test \${$3+y}
1668 then :
1669 printf %s "(cached) " >&6
1670 else $as_nop
16281671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291672 /* end confdefs.h. */
16301673 $4
16311674 #include <$2>
16321675 _ACEOF
1633 if ac_fn_c_try_compile "$LINENO"; then :
1676 if ac_fn_c_try_compile "$LINENO"
1677 then :
16341678 eval "$3=yes"
1635 else
1679 else $as_nop
16361680 eval "$3=no"
16371681 fi
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16391683 fi
16401684 eval ac_res=\$$3
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 printf "%s\n" "$ac_res" >&6; }
16431687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16441688
16451689 } # ac_fn_c_check_header_compile
1646
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_c_try_cpp ()
1651 {
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if { { ac_try="$ac_cpp conftest.$ac_ext"
1654 case "(($ac_try" in
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1657 esac
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1661 ac_status=$?
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1666 fi
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } > conftest.i && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 }; then :
1672 ac_retval=0
1673 else
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1676
1677 ac_retval=1
1678 fi
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1681
1682 } # ac_fn_c_try_cpp
1683
1684 # ac_fn_c_try_run LINENO
1685 # ----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1687 # that executables *can* be run.
1688 ac_fn_c_try_run ()
1689 {
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_link"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>&5
1699 ac_status=$?
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1702 { { case "(($ac_try" in
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_try") 2>&5
1709 ac_status=$?
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; }; }; then :
1712 ac_retval=0
1713 else
1714 $as_echo "$as_me: program exited with status $ac_status" >&5
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=$ac_status
1719 fi
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status $ac_retval
1723
1724 } # ac_fn_c_try_run
17251690
17261691 # ac_fn_c_check_func LINENO FUNC VAR
17271692 # ----------------------------------
17291694 ac_fn_c_check_func ()
17301695 {
17311696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1736 else
1697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 printf %s "checking for $2... " >&6; }
1699 if eval test \${$3+y}
1700 then :
1701 printf %s "(cached) " >&6
1702 else $as_nop
17371703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381704 /* end confdefs.h. */
17391705 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17411707 #define $2 innocuous_$2
17421708
17431709 /* System header to define __stub macros and hopefully few prototypes,
1744 which can conflict with char $2 (); below.
1745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1746 <limits.h> exists even on freestanding compilers. */
1747
1748 #ifdef __STDC__
1749 # include <limits.h>
1750 #else
1751 # include <assert.h>
1752 #endif
1753
1710 which can conflict with char $2 (); below. */
1711
1712 #include <limits.h>
17541713 #undef $2
17551714
17561715 /* Override any GCC internal prototype to avoid an error.
17681727 #endif
17691728
17701729 int
1771 main ()
1730 main (void)
17721731 {
17731732 return $2 ();
17741733 ;
17751734 return 0;
17761735 }
17771736 _ACEOF
1778 if ac_fn_c_try_link "$LINENO"; then :
1737 if ac_fn_c_try_link "$LINENO"
1738 then :
17791739 eval "$3=yes"
1780 else
1740 else $as_nop
17811741 eval "$3=no"
17821742 fi
1783 rm -f core conftest.err conftest.$ac_objext \
1743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17841744 conftest$ac_exeext conftest.$ac_ext
17851745 fi
17861746 eval ac_res=\$$3
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 printf "%s\n" "$ac_res" >&6; }
17891749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17901750
17911751 } # ac_fn_c_check_func
1752
1753 # ac_fn_c_try_run LINENO
1754 # ----------------------
1755 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1756 # executables *can* be run.
1757 ac_fn_c_try_run ()
1758 {
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_link"
1761 case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 printf "%s\n" "$ac_try_echo"; } >&5
1767 (eval "$ac_link") 2>&5
1768 ac_status=$?
1769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1771 { { case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 printf "%s\n" "$ac_try_echo"; } >&5
1777 (eval "$ac_try") 2>&5
1778 ac_status=$?
1779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; }; }
1781 then :
1782 ac_retval=0
1783 else $as_nop
1784 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1785 printf "%s\n" "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788 ac_retval=$ac_status
1789 fi
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1793
1794 } # ac_fn_c_try_run
17921795
17931796 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
17941797 # --------------------------------------------
18041807 /* end confdefs.h. */
18051808 $4
18061809 int
1807 main ()
1810 main (void)
18081811 {
18091812 static int test_array [1 - 2 * !(($2) >= 0)];
18101813 test_array [0] = 0;
18141817 return 0;
18151818 }
18161819 _ACEOF
1817 if ac_fn_c_try_compile "$LINENO"; then :
1820 if ac_fn_c_try_compile "$LINENO"
1821 then :
18181822 ac_lo=0 ac_mid=0
18191823 while :; do
18201824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211825 /* end confdefs.h. */
18221826 $4
18231827 int
1824 main ()
1828 main (void)
18251829 {
18261830 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
18271831 test_array [0] = 0;
18311835 return 0;
18321836 }
18331837 _ACEOF
1834 if ac_fn_c_try_compile "$LINENO"; then :
1838 if ac_fn_c_try_compile "$LINENO"
1839 then :
18351840 ac_hi=$ac_mid; break
1836 else
1841 else $as_nop
18371842 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
18381843 if test $ac_lo -le $ac_mid; then
18391844 ac_lo= ac_hi=
18411846 fi
18421847 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
18431848 fi
1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18451850 done
1846 else
1851 else $as_nop
18471852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481853 /* end confdefs.h. */
18491854 $4
18501855 int
1851 main ()
1856 main (void)
18521857 {
18531858 static int test_array [1 - 2 * !(($2) < 0)];
18541859 test_array [0] = 0;
18581863 return 0;
18591864 }
18601865 _ACEOF
1861 if ac_fn_c_try_compile "$LINENO"; then :
1866 if ac_fn_c_try_compile "$LINENO"
1867 then :
18621868 ac_hi=-1 ac_mid=-1
18631869 while :; do
18641870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651871 /* end confdefs.h. */
18661872 $4
18671873 int
1868 main ()
1874 main (void)
18691875 {
18701876 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
18711877 test_array [0] = 0;
18751881 return 0;
18761882 }
18771883 _ACEOF
1878 if ac_fn_c_try_compile "$LINENO"; then :
1884 if ac_fn_c_try_compile "$LINENO"
1885 then :
18791886 ac_lo=$ac_mid; break
1880 else
1887 else $as_nop
18811888 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
18821889 if test $ac_mid -le $ac_hi; then
18831890 ac_lo= ac_hi=
18851892 fi
18861893 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
18871894 fi
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18891896 done
1890 else
1897 else $as_nop
18911898 ac_lo= ac_hi=
18921899 fi
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 fi
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1901 fi
1902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18961903 # Binary search between lo and hi bounds.
18971904 while test "x$ac_lo" != "x$ac_hi"; do
18981905 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
19001907 /* end confdefs.h. */
19011908 $4
19021909 int
1903 main ()
1910 main (void)
19041911 {
19051912 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
19061913 test_array [0] = 0;
19101917 return 0;
19111918 }
19121919 _ACEOF
1913 if ac_fn_c_try_compile "$LINENO"; then :
1920 if ac_fn_c_try_compile "$LINENO"
1921 then :
19141922 ac_hi=$ac_mid
1915 else
1923 else $as_nop
19161924 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
19171925 fi
1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19191927 done
19201928 case $ac_lo in #((
19211929 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
19251933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261934 /* end confdefs.h. */
19271935 $4
1928 static long int longval () { return $2; }
1929 static unsigned long int ulongval () { return $2; }
1936 static long int longval (void) { return $2; }
1937 static unsigned long int ulongval (void) { return $2; }
19301938 #include <stdio.h>
19311939 #include <stdlib.h>
19321940 int
1933 main ()
1941 main (void)
19341942 {
19351943
19361944 FILE *f = fopen ("conftest.val", "w");
19581966 return 0;
19591967 }
19601968 _ACEOF
1961 if ac_fn_c_try_run "$LINENO"; then :
1969 if ac_fn_c_try_run "$LINENO"
1970 then :
19621971 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1963 else
1972 else $as_nop
19641973 ac_retval=1
19651974 fi
19661975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19721981 as_fn_set_status $ac_retval
19731982
19741983 } # ac_fn_c_compute_int
1975
1976 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1977 # -------------------------------------------------------
1978 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1979 # the include files in INCLUDES and setting the cache variable VAR
1980 # accordingly.
1981 ac_fn_c_check_header_mongrel ()
1982 {
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 if eval \${$3+:} false; then :
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1989 fi
1990 eval ac_res=\$$3
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1993 else
1994 # Is the header compilable?
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1996 $as_echo_n "checking $2 usability... " >&6; }
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
1999 $4
2000 #include <$2>
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 ac_header_compiler=yes
2004 else
2005 ac_header_compiler=no
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2009 $as_echo "$ac_header_compiler" >&6; }
2010
2011 # Is the header present?
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2013 $as_echo_n "checking $2 presence... " >&6; }
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2016 #include <$2>
2017 _ACEOF
2018 if ac_fn_c_try_cpp "$LINENO"; then :
2019 ac_header_preproc=yes
2020 else
2021 ac_header_preproc=no
2022 fi
2023 rm -f conftest.err conftest.i conftest.$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2025 $as_echo "$ac_header_preproc" >&6; }
2026
2027 # So? What about this header?
2028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 yes:no: )
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2031 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2034 ;;
2035 no:yes:* )
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2037 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2039 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2041 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2043 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 ;;
1984 ac_configure_args_raw=
1985 for ac_arg
1986 do
1987 case $ac_arg in
1988 *\'*)
1989 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1990 esac
1991 as_fn_append ac_configure_args_raw " '$ac_arg'"
1992 done
1993
1994 case $ac_configure_args_raw in
1995 *$as_nl*)
1996 ac_safe_unquote= ;;
1997 *)
1998 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1999 ac_unsafe_a="$ac_unsafe_z#~"
2000 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2001 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
20472002 esac
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2052 else
2053 eval "$3=\$ac_header_compiler"
2054 fi
2055 eval ac_res=\$$3
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2058 fi
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060
2061 } # ac_fn_c_check_header_mongrel
2003
20622004 cat >config.log <<_ACEOF
20632005 This file contains any messages produced by compilers while
20642006 running configure, to aid debugging if configure makes a mistake.
20652007
2066 It was created by libdiscid $as_me 0.6.2, which was
2067 generated by GNU Autoconf 2.69. Invocation command line was
2068
2069 $ $0 $@
2008 It was created by libdiscid $as_me 0.6.4, which was
2009 generated by GNU Autoconf 2.71. Invocation command line was
2010
2011 $ $0$ac_configure_args_raw
20702012
20712013 _ACEOF
20722014 exec 5>>config.log
20992041 for as_dir in $PATH
21002042 do
21012043 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 $as_echo "PATH: $as_dir"
2044 case $as_dir in #(((
2045 '') as_dir=./ ;;
2046 */) ;;
2047 *) as_dir=$as_dir/ ;;
2048 esac
2049 printf "%s\n" "PATH: $as_dir"
21042050 done
21052051 IFS=$as_save_IFS
21062052
21352081 | -silent | --silent | --silen | --sile | --sil)
21362082 continue ;;
21372083 *\'*)
2138 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21392085 esac
21402086 case $ac_pass in
21412087 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
21702116 # WARNING: Use '\'' to represent an apostrophe within the trap.
21712117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
21722118 trap 'exit_status=$?
2119 # Sanitize IFS.
2120 IFS=" "" $as_nl"
21732121 # Save into config.log some information that might help in debugging.
21742122 {
21752123 echo
21762124
2177 $as_echo "## ---------------- ##
2125 printf "%s\n" "## ---------------- ##
21782126 ## Cache variables. ##
21792127 ## ---------------- ##"
21802128 echo
21852133 case $ac_val in #(
21862134 *${as_nl}*)
21872135 case $ac_var in #(
2188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2136 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2137 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21902138 esac
21912139 case $ac_var in #(
21922140 _ | IFS | as_nl) ;; #(
22102158 )
22112159 echo
22122160
2213 $as_echo "## ----------------- ##
2161 printf "%s\n" "## ----------------- ##
22142162 ## Output variables. ##
22152163 ## ----------------- ##"
22162164 echo
22182166 do
22192167 eval ac_val=\$$ac_var
22202168 case $ac_val in
2221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22222170 esac
2223 $as_echo "$ac_var='\''$ac_val'\''"
2171 printf "%s\n" "$ac_var='\''$ac_val'\''"
22242172 done | sort
22252173 echo
22262174
22272175 if test -n "$ac_subst_files"; then
2228 $as_echo "## ------------------- ##
2176 printf "%s\n" "## ------------------- ##
22292177 ## File substitutions. ##
22302178 ## ------------------- ##"
22312179 echo
22332181 do
22342182 eval ac_val=\$$ac_var
22352183 case $ac_val in
2236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22372185 esac
2238 $as_echo "$ac_var='\''$ac_val'\''"
2186 printf "%s\n" "$ac_var='\''$ac_val'\''"
22392187 done | sort
22402188 echo
22412189 fi
22422190
22432191 if test -s confdefs.h; then
2244 $as_echo "## ----------- ##
2192 printf "%s\n" "## ----------- ##
22452193 ## confdefs.h. ##
22462194 ## ----------- ##"
22472195 echo
22492197 echo
22502198 fi
22512199 test "$ac_signal" != 0 &&
2252 $as_echo "$as_me: caught signal $ac_signal"
2253 $as_echo "$as_me: exit $exit_status"
2200 printf "%s\n" "$as_me: caught signal $ac_signal"
2201 printf "%s\n" "$as_me: exit $exit_status"
22542202 } >&5
22552203 rm -f core *.core core.conftest.* &&
22562204 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
22642212 # confdefs.h avoids OS command line length limits that DEFS can exceed.
22652213 rm -f -r conftest* confdefs.h
22662214
2267 $as_echo "/* confdefs.h */" > confdefs.h
2215 printf "%s\n" "/* confdefs.h */" > confdefs.h
22682216
22692217 # Predefined preprocessor variables.
22702218
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_NAME "$PACKAGE_NAME"
2273 _ACEOF
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2277 _ACEOF
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2281 _ACEOF
2282
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_STRING "$PACKAGE_STRING"
2285 _ACEOF
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2289 _ACEOF
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_URL "$PACKAGE_URL"
2293 _ACEOF
2219 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2220
2221 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2222
2223 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2224
2225 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2226
2227 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2228
2229 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
22942230
22952231
22962232 # Let the site file select an alternate cache file if it wants to.
22972233 # Prefer an explicitly selected file to automatically selected ones.
2298 ac_site_file1=NONE
2299 ac_site_file2=NONE
23002234 if test -n "$CONFIG_SITE"; then
2301 # We do not want a PATH search for config.site.
2302 case $CONFIG_SITE in #((
2303 -*) ac_site_file1=./$CONFIG_SITE;;
2304 */*) ac_site_file1=$CONFIG_SITE;;
2305 *) ac_site_file1=./$CONFIG_SITE;;
2306 esac
2235 ac_site_files="$CONFIG_SITE"
23072236 elif test "x$prefix" != xNONE; then
2308 ac_site_file1=$prefix/share/config.site
2309 ac_site_file2=$prefix/etc/config.site
2310 else
2311 ac_site_file1=$ac_default_prefix/share/config.site
2312 ac_site_file2=$ac_default_prefix/etc/config.site
2313 fi
2314 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2237 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2238 else
2239 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2240 fi
2241
2242 for ac_site_file in $ac_site_files
23152243 do
2316 test "x$ac_site_file" = xNONE && continue
2317 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2244 case $ac_site_file in #(
2245 */*) :
2246 ;; #(
2247 *) :
2248 ac_site_file=./$ac_site_file ;;
2249 esac
2250 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2252 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
23202253 sed 's/^/| /' "$ac_site_file" >&5
23212254 . "$ac_site_file" \
2322 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23242257 as_fn_error $? "failed to load site script $ac_site_file
23252258 See \`config.log' for more details" "$LINENO" 5; }
23262259 fi
23302263 # Some versions of bash will fail to source /dev/null (special files
23312264 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
23322265 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2334 $as_echo "$as_me: loading cache $cache_file" >&6;}
2266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2267 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
23352268 case $cache_file in
23362269 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23372270 *) . "./$cache_file";;
23382271 esac
23392272 fi
23402273 else
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2342 $as_echo "$as_me: creating cache $cache_file" >&6;}
2274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2275 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
23432276 >$cache_file
2277 fi
2278
2279 # Test code for whether the C compiler supports C89 (global declarations)
2280 ac_c_conftest_c89_globals='
2281 /* Does the compiler advertise C89 conformance?
2282 Do not test the value of __STDC__, because some compilers set it to 0
2283 while being otherwise adequately conformant. */
2284 #if !defined __STDC__
2285 # error "Compiler does not advertise C89 conformance"
2286 #endif
2287
2288 #include <stddef.h>
2289 #include <stdarg.h>
2290 struct stat;
2291 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2292 struct buf { int x; };
2293 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2294 static char *e (p, i)
2295 char **p;
2296 int i;
2297 {
2298 return p[i];
2299 }
2300 static char *f (char * (*g) (char **, int), char **p, ...)
2301 {
2302 char *s;
2303 va_list v;
2304 va_start (v,p);
2305 s = g (p, va_arg (v,int));
2306 va_end (v);
2307 return s;
2308 }
2309
2310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2311 function prototypes and stuff, but not \xHH hex character constants.
2312 These do not provoke an error unfortunately, instead are silently treated
2313 as an "x". The following induces an error, until -std is added to get
2314 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2315 array size at least. It is necessary to write \x00 == 0 to get something
2316 that is true only with -std. */
2317 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2318
2319 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2320 inside strings and character constants. */
2321 #define FOO(x) '\''x'\''
2322 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2323
2324 int test (int i, double x);
2325 struct s1 {int (*f) (int a);};
2326 struct s2 {int (*f) (double a);};
2327 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2328 int, int);'
2329
2330 # Test code for whether the C compiler supports C89 (body of main).
2331 ac_c_conftest_c89_main='
2332 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2333 '
2334
2335 # Test code for whether the C compiler supports C99 (global declarations)
2336 ac_c_conftest_c99_globals='
2337 // Does the compiler advertise C99 conformance?
2338 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2339 # error "Compiler does not advertise C99 conformance"
2340 #endif
2341
2342 #include <stdbool.h>
2343 extern int puts (const char *);
2344 extern int printf (const char *, ...);
2345 extern int dprintf (int, const char *, ...);
2346 extern void *malloc (size_t);
2347
2348 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2349 // dprintf is used instead of fprintf to avoid needing to declare
2350 // FILE and stderr.
2351 #define debug(...) dprintf (2, __VA_ARGS__)
2352 #define showlist(...) puts (#__VA_ARGS__)
2353 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2354 static void
2355 test_varargs_macros (void)
2356 {
2357 int x = 1234;
2358 int y = 5678;
2359 debug ("Flag");
2360 debug ("X = %d\n", x);
2361 showlist (The first, second, and third items.);
2362 report (x>y, "x is %d but y is %d", x, y);
2363 }
2364
2365 // Check long long types.
2366 #define BIG64 18446744073709551615ull
2367 #define BIG32 4294967295ul
2368 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2369 #if !BIG_OK
2370 #error "your preprocessor is broken"
2371 #endif
2372 #if BIG_OK
2373 #else
2374 #error "your preprocessor is broken"
2375 #endif
2376 static long long int bignum = -9223372036854775807LL;
2377 static unsigned long long int ubignum = BIG64;
2378
2379 struct incomplete_array
2380 {
2381 int datasize;
2382 double data[];
2383 };
2384
2385 struct named_init {
2386 int number;
2387 const wchar_t *name;
2388 double average;
2389 };
2390
2391 typedef const char *ccp;
2392
2393 static inline int
2394 test_restrict (ccp restrict text)
2395 {
2396 // See if C++-style comments work.
2397 // Iterate through items via the restricted pointer.
2398 // Also check for declarations in for loops.
2399 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2400 continue;
2401 return 0;
2402 }
2403
2404 // Check varargs and va_copy.
2405 static bool
2406 test_varargs (const char *format, ...)
2407 {
2408 va_list args;
2409 va_start (args, format);
2410 va_list args_copy;
2411 va_copy (args_copy, args);
2412
2413 const char *str = "";
2414 int number = 0;
2415 float fnumber = 0;
2416
2417 while (*format)
2418 {
2419 switch (*format++)
2420 {
2421 case '\''s'\'': // string
2422 str = va_arg (args_copy, const char *);
2423 break;
2424 case '\''d'\'': // int
2425 number = va_arg (args_copy, int);
2426 break;
2427 case '\''f'\'': // float
2428 fnumber = va_arg (args_copy, double);
2429 break;
2430 default:
2431 break;
2432 }
2433 }
2434 va_end (args_copy);
2435 va_end (args);
2436
2437 return *str && number && fnumber;
2438 }
2439 '
2440
2441 # Test code for whether the C compiler supports C99 (body of main).
2442 ac_c_conftest_c99_main='
2443 // Check bool.
2444 _Bool success = false;
2445 success |= (argc != 0);
2446
2447 // Check restrict.
2448 if (test_restrict ("String literal") == 0)
2449 success = true;
2450 char *restrict newvar = "Another string";
2451
2452 // Check varargs.
2453 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2454 test_varargs_macros ();
2455
2456 // Check flexible array members.
2457 struct incomplete_array *ia =
2458 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2459 ia->datasize = 10;
2460 for (int i = 0; i < ia->datasize; ++i)
2461 ia->data[i] = i * 1.234;
2462
2463 // Check named initializers.
2464 struct named_init ni = {
2465 .number = 34,
2466 .name = L"Test wide string",
2467 .average = 543.34343,
2468 };
2469
2470 ni.number = 58;
2471
2472 int dynamic_array[ni.number];
2473 dynamic_array[0] = argv[0][0];
2474 dynamic_array[ni.number - 1] = 543;
2475
2476 // work around unused variable warnings
2477 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2478 || dynamic_array[ni.number - 1] != 543);
2479 '
2480
2481 # Test code for whether the C compiler supports C11 (global declarations)
2482 ac_c_conftest_c11_globals='
2483 // Does the compiler advertise C11 conformance?
2484 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2485 # error "Compiler does not advertise C11 conformance"
2486 #endif
2487
2488 // Check _Alignas.
2489 char _Alignas (double) aligned_as_double;
2490 char _Alignas (0) no_special_alignment;
2491 extern char aligned_as_int;
2492 char _Alignas (0) _Alignas (int) aligned_as_int;
2493
2494 // Check _Alignof.
2495 enum
2496 {
2497 int_alignment = _Alignof (int),
2498 int_array_alignment = _Alignof (int[100]),
2499 char_alignment = _Alignof (char)
2500 };
2501 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2502
2503 // Check _Noreturn.
2504 int _Noreturn does_not_return (void) { for (;;) continue; }
2505
2506 // Check _Static_assert.
2507 struct test_static_assert
2508 {
2509 int x;
2510 _Static_assert (sizeof (int) <= sizeof (long int),
2511 "_Static_assert does not work in struct");
2512 long int y;
2513 };
2514
2515 // Check UTF-8 literals.
2516 #define u8 syntax error!
2517 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2518
2519 // Check duplicate typedefs.
2520 typedef long *long_ptr;
2521 typedef long int *long_ptr;
2522 typedef long_ptr long_ptr;
2523
2524 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2525 struct anonymous
2526 {
2527 union {
2528 struct { int i; int j; };
2529 struct { int k; long int l; } w;
2530 };
2531 int m;
2532 } v1;
2533 '
2534
2535 # Test code for whether the C compiler supports C11 (body of main).
2536 ac_c_conftest_c11_main='
2537 _Static_assert ((offsetof (struct anonymous, i)
2538 == offsetof (struct anonymous, w.k)),
2539 "Anonymous union alignment botch");
2540 v1.i = 2;
2541 v1.w.k = 5;
2542 ok |= v1.i != 5;
2543 '
2544
2545 # Test code for whether the C compiler supports C11 (complete).
2546 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2547 ${ac_c_conftest_c99_globals}
2548 ${ac_c_conftest_c11_globals}
2549
2550 int
2551 main (int argc, char **argv)
2552 {
2553 int ok = 0;
2554 ${ac_c_conftest_c89_main}
2555 ${ac_c_conftest_c99_main}
2556 ${ac_c_conftest_c11_main}
2557 return ok;
2558 }
2559 "
2560
2561 # Test code for whether the C compiler supports C99 (complete).
2562 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2563 ${ac_c_conftest_c99_globals}
2564
2565 int
2566 main (int argc, char **argv)
2567 {
2568 int ok = 0;
2569 ${ac_c_conftest_c89_main}
2570 ${ac_c_conftest_c99_main}
2571 return ok;
2572 }
2573 "
2574
2575 # Test code for whether the C compiler supports C89 (complete).
2576 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2577
2578 int
2579 main (int argc, char **argv)
2580 {
2581 int ok = 0;
2582 ${ac_c_conftest_c89_main}
2583 return ok;
2584 }
2585 "
2586
2587 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2588 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2589 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2590 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2591 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2592 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2593 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2594 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2595 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2596
2597 # Auxiliary files required by this configure script.
2598 ac_aux_files="ltmain.sh config.guess config.sub compile ar-lib missing install-sh"
2599
2600 # Locations in which to look for auxiliary files.
2601 ac_aux_dir_candidates="${srcdir}/build-aux"
2602
2603 # Search for a directory containing all of the required auxiliary files,
2604 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2605 # If we don't find one directory that contains all the files we need,
2606 # we report the set of missing files from the *first* directory in
2607 # $ac_aux_dir_candidates and give up.
2608 ac_missing_aux_files=""
2609 ac_first_candidate=:
2610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 as_found=false
2613 for as_dir in $ac_aux_dir_candidates
2614 do
2615 IFS=$as_save_IFS
2616 case $as_dir in #(((
2617 '') as_dir=./ ;;
2618 */) ;;
2619 *) as_dir=$as_dir/ ;;
2620 esac
2621 as_found=:
2622
2623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2624 ac_aux_dir_found=yes
2625 ac_install_sh=
2626 for ac_aux in $ac_aux_files
2627 do
2628 # As a special case, if "install-sh" is required, that requirement
2629 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2630 # and $ac_install_sh is set appropriately for whichever one is found.
2631 if test x"$ac_aux" = x"install-sh"
2632 then
2633 if test -f "${as_dir}install-sh"; then
2634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2635 ac_install_sh="${as_dir}install-sh -c"
2636 elif test -f "${as_dir}install.sh"; then
2637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2638 ac_install_sh="${as_dir}install.sh -c"
2639 elif test -f "${as_dir}shtool"; then
2640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2641 ac_install_sh="${as_dir}shtool install -c"
2642 else
2643 ac_aux_dir_found=no
2644 if $ac_first_candidate; then
2645 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2646 else
2647 break
2648 fi
2649 fi
2650 else
2651 if test -f "${as_dir}${ac_aux}"; then
2652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2653 else
2654 ac_aux_dir_found=no
2655 if $ac_first_candidate; then
2656 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2657 else
2658 break
2659 fi
2660 fi
2661 fi
2662 done
2663 if test "$ac_aux_dir_found" = yes; then
2664 ac_aux_dir="$as_dir"
2665 break
2666 fi
2667 ac_first_candidate=false
2668
2669 as_found=false
2670 done
2671 IFS=$as_save_IFS
2672 if $as_found
2673 then :
2674
2675 else $as_nop
2676 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2677 fi
2678
2679
2680 # These three variables are undocumented and unsupported,
2681 # and are intended to be withdrawn in a future Autoconf release.
2682 # They can cause serious problems if a builder's source tree is in a directory
2683 # whose full name contains unusual characters.
2684 if test -f "${ac_aux_dir}config.guess"; then
2685 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2686 fi
2687 if test -f "${ac_aux_dir}config.sub"; then
2688 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2689 fi
2690 if test -f "$ac_aux_dir/configure"; then
2691 ac_configure="$SHELL ${ac_aux_dir}configure"
23442692 fi
23452693
23462694 # Check that the precious variables saved in the cache have kept the same
23532701 eval ac_new_val=\$ac_env_${ac_var}_value
23542702 case $ac_old_set,$ac_new_set in
23552703 set,)
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2357 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2705 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
23582706 ac_cache_corrupted=: ;;
23592707 ,set)
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2709 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
23622710 ac_cache_corrupted=: ;;
23632711 ,);;
23642712 *)
23672715 ac_old_val_w=`echo x $ac_old_val`
23682716 ac_new_val_w=`echo x $ac_new_val`
23692717 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2719 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
23722720 ac_cache_corrupted=:
23732721 else
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2723 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
23762724 eval $ac_var=\$ac_old_val
23772725 fi
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2379 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2381 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2727 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2729 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
23822730 fi;;
23832731 esac
23842732 # Pass precious variables to config.status.
23852733 if test "$ac_new_set" = set; then
23862734 case $ac_new_val in
2387 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2735 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23882736 *) ac_arg=$ac_var=$ac_new_val ;;
23892737 esac
23902738 case " $ac_configure_args " in
23942742 fi
23952743 done
23962744 if $ac_cache_corrupted; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2401 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2746 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2748 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2749 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2750 and start over" "$LINENO" 5
24022751 fi
24032752 ## -------------------- ##
24042753 ## Main body of script. ##
24152764
24162765 ac_config_headers="$ac_config_headers config.h"
24172766
2418 ac_aux_dir=
2419 for ac_dir in build-aux "$srcdir"/build-aux; do
2420 if test -f "$ac_dir/install-sh"; then
2421 ac_aux_dir=$ac_dir
2422 ac_install_sh="$ac_aux_dir/install-sh -c"
2423 break
2424 elif test -f "$ac_dir/install.sh"; then
2425 ac_aux_dir=$ac_dir
2426 ac_install_sh="$ac_aux_dir/install.sh -c"
2427 break
2428 elif test -f "$ac_dir/shtool"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/shtool install -c"
2431 break
2432 fi
2433 done
2434 if test -z "$ac_aux_dir"; then
2435 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2436 fi
2437
2438 # These three variables are undocumented and unsupported,
2439 # and are intended to be withdrawn in a future Autoconf release.
2440 # They can cause serious problems if a builder's source tree is in a directory
2441 # whose full name contains unusual characters.
2442 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2443 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2444 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2445
24462767 # where to put config.guess etc.
2447 am__api_version='1.15'
2448
2449 # Find a good install program. We prefer a C program (faster),
2768 am__api_version='1.16'
2769
2770
2771
2772 # Find a good install program. We prefer a C program (faster),
24502773 # so one script is as good as another. But avoid the broken or
24512774 # incompatible versions:
24522775 # SysV /etc/install, /usr/sbin/install
24602783 # OS/2's system install, which has a completely different semantic
24612784 # ./install, which can be erroneously created by make from ./install.sh.
24622785 # Reject install programs that cannot install multiple files.
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2787 printf %s "checking for a BSD-compatible install... " >&6; }
24652788 if test -z "$INSTALL"; then
2466 if ${ac_cv_path_install+:} false; then :
2467 $as_echo_n "(cached) " >&6
2468 else
2789 if test ${ac_cv_path_install+y}
2790 then :
2791 printf %s "(cached) " >&6
2792 else $as_nop
24692793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24702794 for as_dir in $PATH
24712795 do
24722796 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=.
2474 # Account for people who put trailing slashes in PATH elements.
2475 case $as_dir/ in #((
2476 ./ | .// | /[cC]/* | \
2797 case $as_dir in #(((
2798 '') as_dir=./ ;;
2799 */) ;;
2800 *) as_dir=$as_dir/ ;;
2801 esac
2802 # Account for fact that we put trailing slashes in our PATH walk.
2803 case $as_dir in #((
2804 ./ | /[cC]/* | \
24772805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
24782806 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
24792807 /usr/ucb/* ) ;;
24832811 # by default.
24842812 for ac_prog in ginstall scoinst install; do
24852813 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2814 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
24872815 if test $ac_prog = install &&
2488 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2816 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24892817 # AIX install. It has an incompatible calling convention.
24902818 :
24912819 elif test $ac_prog = install &&
2492 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2820 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24932821 # program-specific install script used by HP pwplus--don't use.
24942822 :
24952823 else
24972825 echo one > conftest.one
24982826 echo two > conftest.two
24992827 mkdir conftest.dir
2500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2828 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
25012829 test -s conftest.one && test -s conftest.two &&
25022830 test -s conftest.dir/conftest.one &&
25032831 test -s conftest.dir/conftest.two
25042832 then
2505 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2833 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
25062834 break 3
25072835 fi
25082836 fi
25182846 rm -rf conftest.one conftest.two conftest.dir
25192847
25202848 fi
2521 if test "${ac_cv_path_install+set}" = set; then
2849 if test ${ac_cv_path_install+y}; then
25222850 INSTALL=$ac_cv_path_install
25232851 else
25242852 # As a last resort, use the slow shell script. Don't cache a
25282856 INSTALL=$ac_install_sh
25292857 fi
25302858 fi
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2532 $as_echo "$INSTALL" >&6; }
2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2860 printf "%s\n" "$INSTALL" >&6; }
25332861
25342862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25352863 # It thinks the first close brace ends the variable substitution.
25392867
25402868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25412869
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2543 $as_echo_n "checking whether build environment is sane... " >&6; }
2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2871 printf %s "checking whether build environment is sane... " >&6; }
25442872 # Reject unsafe characters in $srcdir or the absolute working directory
25452873 # name. Accept space and tab only in the latter.
25462874 am_lf='
25942922 as_fn_error $? "newly created file is older than distributed files!
25952923 Check your system clock" "$LINENO" 5
25962924 fi
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598 $as_echo "yes" >&6; }
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 printf "%s\n" "yes" >&6; }
25992927 # If we didn't sleep, we still need to ensure time stamps of config.status and
26002928 # generated files are strictly newer.
26012929 am_sleep_pid=
26142942 # Double any \ or $.
26152943 # By default was `s,x,x', remove it if useless.
26162944 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2945 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2946
26182947
26192948 # Expand $ac_aux_dir to an absolute path.
26202949 am_aux_dir=`cd "$ac_aux_dir" && pwd`
26212950
2622 if test x"${MISSING+set}" != xset; then
2623 case $am_aux_dir in
2624 *\ * | *\ *)
2625 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 *)
2627 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2628 esac
2951
2952 if test x"${MISSING+set}" != xset; then
2953 MISSING="\${SHELL} '$am_aux_dir/missing'"
26292954 fi
26302955 # Use eval to expand $SHELL
26312956 if eval "$MISSING --is-lightweight"; then
26322957 am_missing_run="$MISSING "
26332958 else
26342959 am_missing_run=
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2961 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
26372962 fi
26382963
26392964 if test x"${install_sh+set}" != xset; then
26532978 if test -n "$ac_tool_prefix"; then
26542979 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
26552980 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659 $as_echo_n "(cached) " >&6
2660 else
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 printf %s "checking for $ac_word... " >&6; }
2983 if test ${ac_cv_prog_STRIP+y}
2984 then :
2985 printf %s "(cached) " >&6
2986 else $as_nop
26612987 if test -n "$STRIP"; then
26622988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
26632989 else
26652991 for as_dir in $PATH
26662992 do
26672993 IFS=$as_save_IFS
2668 test -z "$as_dir" && as_dir=.
2994 case $as_dir in #(((
2995 '') as_dir=./ ;;
2996 */) ;;
2997 *) as_dir=$as_dir/ ;;
2998 esac
26692999 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3000 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26713001 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26733003 break 2
26743004 fi
26753005 done
26803010 fi
26813011 STRIP=$ac_cv_prog_STRIP
26823012 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2685 else
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3014 printf "%s\n" "$STRIP" >&6; }
3015 else
3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 printf "%s\n" "no" >&6; }
26883018 fi
26893019
26903020
26933023 ac_ct_STRIP=$STRIP
26943024 # Extract the first word of "strip", so it can be a program name with args.
26953025 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 printf %s "checking for $ac_word... " >&6; }
3028 if test ${ac_cv_prog_ac_ct_STRIP+y}
3029 then :
3030 printf %s "(cached) " >&6
3031 else $as_nop
27013032 if test -n "$ac_ct_STRIP"; then
27023033 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
27033034 else
27053036 for as_dir in $PATH
27063037 do
27073038 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
3039 case $as_dir in #(((
3040 '') as_dir=./ ;;
3041 */) ;;
3042 *) as_dir=$as_dir/ ;;
3043 esac
27093044 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27113046 ac_cv_prog_ac_ct_STRIP="strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27133048 break 2
27143049 fi
27153050 done
27203055 fi
27213056 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
27223057 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2725 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3059 printf "%s\n" "$ac_ct_STRIP" >&6; }
3060 else
3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 printf "%s\n" "no" >&6; }
27283063 fi
27293064
27303065 if test "x$ac_ct_STRIP" = x; then
27323067 else
27333068 case $cross_compiling:$ac_tool_warned in
27343069 yes:)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27373072 ac_tool_warned=yes ;;
27383073 esac
27393074 STRIP=$ac_ct_STRIP
27453080 fi
27463081 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
27473082
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3083
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3085 printf %s "checking for a race-free mkdir -p... " >&6; }
27503086 if test -z "$MKDIR_P"; then
2751 if ${ac_cv_path_mkdir+:} false; then :
2752 $as_echo_n "(cached) " >&6
2753 else
3087 if test ${ac_cv_path_mkdir+y}
3088 then :
3089 printf %s "(cached) " >&6
3090 else $as_nop
27543091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27553092 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27563093 do
27573094 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=.
3095 case $as_dir in #(((
3096 '') as_dir=./ ;;
3097 */) ;;
3098 *) as_dir=$as_dir/ ;;
3099 esac
27593100 for ac_prog in mkdir gmkdir; do
27603101 for ac_exec_ext in '' $ac_executable_extensions; do
2761 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
3102 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3103 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3104 'mkdir ('*'coreutils) '* | \
3105 'BusyBox '* | \
27653106 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3107 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
27673108 break 3;;
27683109 esac
27693110 done
27743115 fi
27753116
27763117 test -d ./--version && rmdir ./--version
2777 if test "${ac_cv_path_mkdir+set}" = set; then
3118 if test ${ac_cv_path_mkdir+y}; then
27783119 MKDIR_P="$ac_cv_path_mkdir -p"
27793120 else
27803121 # As a last resort, use the slow shell script. Don't cache a
27843125 MKDIR_P="$ac_install_sh -d"
27853126 fi
27863127 fi
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3129 printf "%s\n" "$MKDIR_P" >&6; }
27893130
27903131 for ac_prog in gawk mawk nawk awk
27913132 do
27923133 # Extract the first word of "$ac_prog", so it can be a program name with args.
27933134 set dummy $ac_prog; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_AWK+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 printf %s "checking for $ac_word... " >&6; }
3137 if test ${ac_cv_prog_AWK+y}
3138 then :
3139 printf %s "(cached) " >&6
3140 else $as_nop
27993141 if test -n "$AWK"; then
28003142 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28013143 else
28033145 for as_dir in $PATH
28043146 do
28053147 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
3148 case $as_dir in #(((
3149 '') as_dir=./ ;;
3150 */) ;;
3151 *) as_dir=$as_dir/ ;;
3152 esac
28073153 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28093155 ac_cv_prog_AWK="$ac_prog"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28113157 break 2
28123158 fi
28133159 done
28183164 fi
28193165 AWK=$ac_cv_prog_AWK
28203166 if test -n "$AWK"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2822 $as_echo "$AWK" >&6; }
2823 else
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3168 printf "%s\n" "$AWK" >&6; }
3169 else
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 printf "%s\n" "no" >&6; }
28263172 fi
28273173
28283174
28293175 test -n "$AWK" && break
28303176 done
28313177
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3179 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
28343180 set x ${MAKE-make}
2835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
3181 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3182 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3183 then :
3184 printf %s "(cached) " >&6
3185 else $as_nop
28393186 cat >conftest.make <<\_ACEOF
28403187 SHELL = /bin/sh
28413188 all:
28513198 rm -f conftest.make
28523199 fi
28533200 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2855 $as_echo "yes" >&6; }
3201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3202 printf "%s\n" "yes" >&6; }
28563203 SET_MAKE=
28573204 else
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 printf "%s\n" "no" >&6; }
28603207 SET_MAKE="MAKE=${MAKE-make}"
28613208 fi
28623209
28703217 rmdir .tst 2>/dev/null
28713218
28723219 # Check whether --enable-silent-rules was given.
2873 if test "${enable_silent_rules+set}" = set; then :
3220 if test ${enable_silent_rules+y}
3221 then :
28743222 enableval=$enable_silent_rules;
28753223 fi
28763224
28803228 *) AM_DEFAULT_VERBOSITY=1;;
28813229 esac
28823230 am_make=${MAKE-make}
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2884 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2885 if ${am_cv_make_support_nested_variables+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 if $as_echo 'TRUE=$(BAR$(V))
3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3232 printf %s "checking whether $am_make supports nested variables... " >&6; }
3233 if test ${am_cv_make_support_nested_variables+y}
3234 then :
3235 printf %s "(cached) " >&6
3236 else $as_nop
3237 if printf "%s\n" 'TRUE=$(BAR$(V))
28893238 BAR0=false
28903239 BAR1=true
28913240 V=1
28973246 am_cv_make_support_nested_variables=no
28983247 fi
28993248 fi
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2901 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3250 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
29023251 if test $am_cv_make_support_nested_variables = yes; then
29033252 AM_V='$(V)'
29043253 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
29303279
29313280 # Define the identity of the package.
29323281 PACKAGE='libdiscid'
2933 VERSION='0.6.2'
2934
2935
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2938 _ACEOF
2939
2940
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2943 _ACEOF
3282 VERSION='0.6.4'
3283
3284
3285 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3286
3287
3288 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
29443289
29453290 # Some tools Automake needs.
29463291
29603305
29613306 # For better backward compatibility. To be removed once Automake 1.9.x
29623307 # dies out for good. For more background, see:
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3308 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3309 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
29653310 mkdir_p='$(MKDIR_P)'
29663311
29673312 # We need awk for the "check" target (and possibly the TAP driver). The
29783323
29793324
29803325
3326
3327
3328 # Variables for tags utilities; see am/tags.am
3329 if test -z "$CTAGS"; then
3330 CTAGS=ctags
3331 fi
3332
3333 if test -z "$ETAGS"; then
3334 ETAGS=etags
3335 fi
3336
3337 if test -z "$CSCOPE"; then
3338 CSCOPE=cscope
3339 fi
29813340
29823341
29833342
30123371 Aborting the configuration process, to ensure you take notice of the issue.
30133372
30143373 You can download and install GNU coreutils to get an 'rm' implementation
3015 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3374 that behaves properly: <https://www.gnu.org/software/coreutils/>.
30163375
30173376 If you want to complete the configuration process using your problematic
30183377 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
30233382 fi
30243383 fi
30253384
3385
3386
3387
3388
3389
3390
3391
3392
3393
30263394 DEPDIR="${am__leading_dot}deps"
30273395
30283396 ac_config_commands="$ac_config_commands depfiles"
30293397
3030
3031 am_make=${MAKE-make}
3032 cat > confinc << 'END'
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3399 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3400 cat > confinc.mk << 'END'
30333401 am__doit:
3034 @echo this is the am__doit target
3402 @echo this is the am__doit target >confinc.out
30353403 .PHONY: am__doit
30363404 END
3037 # If we don't find an include directive, just comment out the code.
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3039 $as_echo_n "checking for style of include used by $am_make... " >&6; }
30403405 am__include="#"
30413406 am__quote=
3042 _am_result=none
3043 # First try GNU make style include.
3044 echo "include confinc" > confmf
3045 # Ignore all kinds of additional output from 'make'.
3046 case `$am_make -s -f confmf 2> /dev/null` in #(
3047 *the\ am__doit\ target*)
3048 am__include=include
3049 am__quote=
3050 _am_result=GNU
3051 ;;
3407 # BSD make does it like this.
3408 echo '.include "confinc.mk" # ignored' > confmf.BSD
3409 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3410 echo 'include confinc.mk # ignored' > confmf.GNU
3411 _am_result=no
3412 for s in GNU BSD; do
3413 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3414 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }
3418 case $?:`cat confinc.out 2>/dev/null` in #(
3419 '0:this is the am__doit target') :
3420 case $s in #(
3421 BSD) :
3422 am__include='.include' am__quote='"' ;; #(
3423 *) :
3424 am__include='include' am__quote='' ;;
3425 esac ;; #(
3426 *) :
3427 ;;
30523428 esac
3053 # Now try BSD make style include.
3054 if test "$am__include" = "#"; then
3055 echo '.include "confinc"' > confmf
3056 case `$am_make -s -f confmf 2> /dev/null` in #(
3057 *the\ am__doit\ target*)
3058 am__include=.include
3059 am__quote="\""
3060 _am_result=BSD
3061 ;;
3062 esac
3063 fi
3064
3065
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3067 $as_echo "$_am_result" >&6; }
3068 rm -f confinc confmf
3429 if test "$am__include" != "#"; then
3430 _am_result="yes ($s style)"
3431 break
3432 fi
3433 done
3434 rm -f confinc.* confmf.*
3435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3436 printf "%s\n" "${_am_result}" >&6; }
30693437
30703438 # Check whether --enable-dependency-tracking was given.
3071 if test "${enable_dependency_tracking+set}" = set; then :
3439 if test ${enable_dependency_tracking+y}
3440 then :
30723441 enableval=$enable_dependency_tracking;
30733442 fi
30743443
30943463 if test -n "$ac_tool_prefix"; then
30953464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
30963465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_CC+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 printf %s "checking for $ac_word... " >&6; }
3468 if test ${ac_cv_prog_CC+y}
3469 then :
3470 printf %s "(cached) " >&6
3471 else $as_nop
31023472 if test -n "$CC"; then
31033473 ac_cv_prog_CC="$CC" # Let the user override the test.
31043474 else
31063476 for as_dir in $PATH
31073477 do
31083478 IFS=$as_save_IFS
3109 test -z "$as_dir" && as_dir=.
3479 case $as_dir in #(((
3480 '') as_dir=./ ;;
3481 */) ;;
3482 *) as_dir=$as_dir/ ;;
3483 esac
31103484 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31123486 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31143488 break 2
31153489 fi
31163490 done
31213495 fi
31223496 CC=$ac_cv_prog_CC
31233497 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3126 else
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3499 printf "%s\n" "$CC" >&6; }
3500 else
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 printf "%s\n" "no" >&6; }
31293503 fi
31303504
31313505
31343508 ac_ct_CC=$CC
31353509 # Extract the first word of "gcc", so it can be a program name with args.
31363510 set dummy gcc; ac_word=$2
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3140 $as_echo_n "(cached) " >&6
3141 else
3511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 printf %s "checking for $ac_word... " >&6; }
3513 if test ${ac_cv_prog_ac_ct_CC+y}
3514 then :
3515 printf %s "(cached) " >&6
3516 else $as_nop
31423517 if test -n "$ac_ct_CC"; then
31433518 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31443519 else
31463521 for as_dir in $PATH
31473522 do
31483523 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3524 case $as_dir in #(((
3525 '') as_dir=./ ;;
3526 */) ;;
3527 *) as_dir=$as_dir/ ;;
3528 esac
31503529 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31523531 ac_cv_prog_ac_ct_CC="gcc"
3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31543533 break 2
31553534 fi
31563535 done
31613540 fi
31623541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31633542 if test -n "$ac_ct_CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3165 $as_echo "$ac_ct_CC" >&6; }
3166 else
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3544 printf "%s\n" "$ac_ct_CC" >&6; }
3545 else
3546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 printf "%s\n" "no" >&6; }
31693548 fi
31703549
31713550 if test "x$ac_ct_CC" = x; then
31733552 else
31743553 case $cross_compiling:$ac_tool_warned in
31753554 yes:)
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
31783557 ac_tool_warned=yes ;;
31793558 esac
31803559 CC=$ac_ct_CC
31873566 if test -n "$ac_tool_prefix"; then
31883567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
31893568 set dummy ${ac_tool_prefix}cc; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_CC+:} false; then :
3193 $as_echo_n "(cached) " >&6
3194 else
3569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 printf %s "checking for $ac_word... " >&6; }
3571 if test ${ac_cv_prog_CC+y}
3572 then :
3573 printf %s "(cached) " >&6
3574 else $as_nop
31953575 if test -n "$CC"; then
31963576 ac_cv_prog_CC="$CC" # Let the user override the test.
31973577 else
31993579 for as_dir in $PATH
32003580 do
32013581 IFS=$as_save_IFS
3202 test -z "$as_dir" && as_dir=.
3582 case $as_dir in #(((
3583 '') as_dir=./ ;;
3584 */) ;;
3585 *) as_dir=$as_dir/ ;;
3586 esac
32033587 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32053589 ac_cv_prog_CC="${ac_tool_prefix}cc"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32073591 break 2
32083592 fi
32093593 done
32143598 fi
32153599 CC=$ac_cv_prog_CC
32163600 if test -n "$CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3219 else
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 printf "%s\n" "$CC" >&6; }
3603 else
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 printf "%s\n" "no" >&6; }
32223606 fi
32233607
32243608
32273611 if test -z "$CC"; then
32283612 # Extract the first word of "cc", so it can be a program name with args.
32293613 set dummy cc; ac_word=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if ${ac_cv_prog_CC+:} false; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 printf %s "checking for $ac_word... " >&6; }
3616 if test ${ac_cv_prog_CC+y}
3617 then :
3618 printf %s "(cached) " >&6
3619 else $as_nop
32353620 if test -n "$CC"; then
32363621 ac_cv_prog_CC="$CC" # Let the user override the test.
32373622 else
32403625 for as_dir in $PATH
32413626 do
32423627 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3628 case $as_dir in #(((
3629 '') as_dir=./ ;;
3630 */) ;;
3631 *) as_dir=$as_dir/ ;;
3632 esac
32443633 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3635 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
32473636 ac_prog_rejected=yes
32483637 continue
32493638 fi
32503639 ac_cv_prog_CC="cc"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32523641 break 2
32533642 fi
32543643 done
32643653 # However, it has the same basename, so the bogon will be chosen
32653654 # first if we set CC to just the basename; use the full file name.
32663655 shift
3267 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3656 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
32683657 fi
32693658 fi
32703659 fi
32713660 fi
32723661 CC=$ac_cv_prog_CC
32733662 if test -n "$CC"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275 $as_echo "$CC" >&6; }
3276 else
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 printf "%s\n" "$CC" >&6; }
3665 else
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 printf "%s\n" "no" >&6; }
32793668 fi
32803669
32813670
32863675 do
32873676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
32883677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290 $as_echo_n "checking for $ac_word... " >&6; }
3291 if ${ac_cv_prog_CC+:} false; then :
3292 $as_echo_n "(cached) " >&6
3293 else
3678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 printf %s "checking for $ac_word... " >&6; }
3680 if test ${ac_cv_prog_CC+y}
3681 then :
3682 printf %s "(cached) " >&6
3683 else $as_nop
32943684 if test -n "$CC"; then
32953685 ac_cv_prog_CC="$CC" # Let the user override the test.
32963686 else
32983688 for as_dir in $PATH
32993689 do
33003690 IFS=$as_save_IFS
3301 test -z "$as_dir" && as_dir=.
3691 case $as_dir in #(((
3692 '') as_dir=./ ;;
3693 */) ;;
3694 *) as_dir=$as_dir/ ;;
3695 esac
33023696 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33043698 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33063700 break 2
33073701 fi
33083702 done
33133707 fi
33143708 CC=$ac_cv_prog_CC
33153709 if test -n "$CC"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3317 $as_echo "$CC" >&6; }
3318 else
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3711 printf "%s\n" "$CC" >&6; }
3712 else
3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714 printf "%s\n" "no" >&6; }
33213715 fi
33223716
33233717
33303724 do
33313725 # Extract the first word of "$ac_prog", so it can be a program name with args.
33323726 set dummy $ac_prog; ac_word=$2
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3334 $as_echo_n "checking for $ac_word... " >&6; }
3335 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3336 $as_echo_n "(cached) " >&6
3337 else
3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 printf %s "checking for $ac_word... " >&6; }
3729 if test ${ac_cv_prog_ac_ct_CC+y}
3730 then :
3731 printf %s "(cached) " >&6
3732 else $as_nop
33383733 if test -n "$ac_ct_CC"; then
33393734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
33403735 else
33423737 for as_dir in $PATH
33433738 do
33443739 IFS=$as_save_IFS
3345 test -z "$as_dir" && as_dir=.
3740 case $as_dir in #(((
3741 '') as_dir=./ ;;
3742 */) ;;
3743 *) as_dir=$as_dir/ ;;
3744 esac
33463745 for ac_exec_ext in '' $ac_executable_extensions; do
3347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33483747 ac_cv_prog_ac_ct_CC="$ac_prog"
3349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33503749 break 2
33513750 fi
33523751 done
33573756 fi
33583757 ac_ct_CC=$ac_cv_prog_ac_ct_CC
33593758 if test -n "$ac_ct_CC"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3361 $as_echo "$ac_ct_CC" >&6; }
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3760 printf "%s\n" "$ac_ct_CC" >&6; }
3761 else
3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 printf "%s\n" "no" >&6; }
33653764 fi
33663765
33673766
33733772 else
33743773 case $cross_compiling:$ac_tool_warned in
33753774 yes:)
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33783777 ac_tool_warned=yes ;;
33793778 esac
33803779 CC=$ac_ct_CC
33823781 fi
33833782
33843783 fi
3385
3386
3387 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3787 set dummy ${ac_tool_prefix}clang; ac_word=$2
3788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 printf %s "checking for $ac_word... " >&6; }
3790 if test ${ac_cv_prog_CC+y}
3791 then :
3792 printf %s "(cached) " >&6
3793 else $as_nop
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC="$CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3799 do
3800 IFS=$as_save_IFS
3801 case $as_dir in #(((
3802 '') as_dir=./ ;;
3803 */) ;;
3804 *) as_dir=$as_dir/ ;;
3805 esac
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC="${ac_tool_prefix}clang"
3809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3810 break 2
3811 fi
3812 done
3813 done
3814 IFS=$as_save_IFS
3815
3816 fi
3817 fi
3818 CC=$ac_cv_prog_CC
3819 if test -n "$CC"; then
3820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 printf "%s\n" "$CC" >&6; }
3822 else
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 printf "%s\n" "no" >&6; }
3825 fi
3826
3827
3828 fi
3829 if test -z "$ac_cv_prog_CC"; then
3830 ac_ct_CC=$CC
3831 # Extract the first word of "clang", so it can be a program name with args.
3832 set dummy clang; ac_word=$2
3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 printf %s "checking for $ac_word... " >&6; }
3835 if test ${ac_cv_prog_ac_ct_CC+y}
3836 then :
3837 printf %s "(cached) " >&6
3838 else $as_nop
3839 if test -n "$ac_ct_CC"; then
3840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845 IFS=$as_save_IFS
3846 case $as_dir in #(((
3847 '') as_dir=./ ;;
3848 */) ;;
3849 *) as_dir=$as_dir/ ;;
3850 esac
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_CC="clang"
3854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3855 break 2
3856 fi
3857 done
3858 done
3859 IFS=$as_save_IFS
3860
3861 fi
3862 fi
3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 printf "%s\n" "$ac_ct_CC" >&6; }
3867 else
3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 printf "%s\n" "no" >&6; }
3870 fi
3871
3872 if test "x$ac_ct_CC" = x; then
3873 CC=""
3874 else
3875 case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881 CC=$ac_ct_CC
3882 fi
3883 else
3884 CC="$ac_cv_prog_CC"
3885 fi
3886
3887 fi
3888
3889
3890 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33893892 as_fn_error $? "no acceptable C compiler found in \$PATH
33903893 See \`config.log' for more details" "$LINENO" 5; }
33913894
33923895 # Provide some information about the compiler.
3393 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
33943897 set X $ac_compile
33953898 ac_compiler=$2
3396 for ac_option in --version -v -V -qversion; do
3899 for ac_option in --version -v -V -qversion -version; do
33973900 { { ac_try="$ac_compiler $ac_option >&5"
33983901 case "(($ac_try" in
33993902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34003903 *) ac_try_echo=$ac_try;;
34013904 esac
34023905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 $as_echo "$ac_try_echo"; } >&5
3906 printf "%s\n" "$ac_try_echo"; } >&5
34043907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
34053908 ac_status=$?
34063909 if test -s conftest.err; then
34103913 cat conftest.er1 >&5
34113914 fi
34123915 rm -f conftest.er1 conftest.err
3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34143917 test $ac_status = 0; }
34153918 done
34163919
34183921 /* end confdefs.h. */
34193922
34203923 int
3421 main ()
3924 main (void)
34223925 {
34233926
34243927 ;
34303933 # Try to create an executable without -o first, disregard a.out.
34313934 # It will help us diagnose broken compilers, and finding out an intuition
34323935 # of exeext.
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3434 $as_echo_n "checking whether the C compiler works... " >&6; }
3435 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3937 printf %s "checking whether the C compiler works... " >&6; }
3938 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
34363939
34373940 # The possible output files:
34383941 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
34533956 *) ac_try_echo=$ac_try;;
34543957 esac
34553958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3456 $as_echo "$ac_try_echo"; } >&5
3959 printf "%s\n" "$ac_try_echo"; } >&5
34573960 (eval "$ac_link_default") 2>&5
34583961 ac_status=$?
3459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460 test $ac_status = 0; }; then :
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }
3964 then :
34613965 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
34623966 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
34633967 # in a Makefile. We should not override ac_cv_exeext if it was cached,
34743978 # certainly right.
34753979 break;;
34763980 *.* )
3477 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3981 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
34783982 then :; else
34793983 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
34803984 fi
34903994 done
34913995 test "$ac_cv_exeext" = no && ac_cv_exeext=
34923996
3493 else
3997 else $as_nop
34943998 ac_file=''
34953999 fi
3496 if test -z "$ac_file"; then :
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 $as_echo "$as_me: failed program was:" >&5
4000 if test -z "$ac_file"
4001 then :
4002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 printf "%s\n" "no" >&6; }
4004 printf "%s\n" "$as_me: failed program was:" >&5
35004005 sed 's/^/| /' conftest.$ac_ext >&5
35014006
3502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
35044009 as_fn_error 77 "C compiler cannot create executables
35054010 See \`config.log' for more details" "$LINENO" 5; }
3506 else
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3508 $as_echo "yes" >&6; }
3509 fi
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3511 $as_echo_n "checking for C compiler default output file name... " >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3513 $as_echo "$ac_file" >&6; }
4011 else $as_nop
4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 printf "%s\n" "yes" >&6; }
4014 fi
4015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4016 printf %s "checking for C compiler default output file name... " >&6; }
4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4018 printf "%s\n" "$ac_file" >&6; }
35144019 ac_exeext=$ac_cv_exeext
35154020
35164021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
35174022 ac_clean_files=$ac_clean_files_save
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3519 $as_echo_n "checking for suffix of executables... " >&6; }
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4024 printf %s "checking for suffix of executables... " >&6; }
35204025 if { { ac_try="$ac_link"
35214026 case "(($ac_try" in
35224027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35234028 *) ac_try_echo=$ac_try;;
35244029 esac
35254030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
4031 printf "%s\n" "$ac_try_echo"; } >&5
35274032 (eval "$ac_link") 2>&5
35284033 ac_status=$?
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; then :
4034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }
4036 then :
35314037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
35324038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
35334039 # work properly (i.e., refer to `conftest.exe'), while it won't with
35414047 * ) break;;
35424048 esac
35434049 done
3544 else
3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 else $as_nop
4051 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
35474053 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
35484054 See \`config.log' for more details" "$LINENO" 5; }
35494055 fi
35504056 rm -f conftest conftest$ac_cv_exeext
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3552 $as_echo "$ac_cv_exeext" >&6; }
4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 printf "%s\n" "$ac_cv_exeext" >&6; }
35534059
35544060 rm -f conftest.$ac_ext
35554061 EXEEXT=$ac_cv_exeext
35584064 /* end confdefs.h. */
35594065 #include <stdio.h>
35604066 int
3561 main ()
4067 main (void)
35624068 {
35634069 FILE *f = fopen ("conftest.out", "w");
35644070 return ferror (f) || fclose (f) != 0;
35704076 ac_clean_files="$ac_clean_files conftest.out"
35714077 # Check that the compiler produces executables we can run. If not, either
35724078 # the compiler is broken, or we cross compile.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3574 $as_echo_n "checking whether we are cross compiling... " >&6; }
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4080 printf %s "checking whether we are cross compiling... " >&6; }
35754081 if test "$cross_compiling" != yes; then
35764082 { { ac_try="$ac_link"
35774083 case "(($ac_try" in
35794085 *) ac_try_echo=$ac_try;;
35804086 esac
35814087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
4088 printf "%s\n" "$ac_try_echo"; } >&5
35834089 (eval "$ac_link") 2>&5
35844090 ac_status=$?
3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35864092 test $ac_status = 0; }
35874093 if { ac_try='./conftest$ac_cv_exeext'
35884094 { { case "(($ac_try" in
35904096 *) ac_try_echo=$ac_try;;
35914097 esac
35924098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
4099 printf "%s\n" "$ac_try_echo"; } >&5
35944100 (eval "$ac_try") 2>&5
35954101 ac_status=$?
3596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35974103 test $ac_status = 0; }; }; then
35984104 cross_compiling=no
35994105 else
36004106 if test "$cross_compiling" = maybe; then
36014107 cross_compiling=yes
36024108 else
3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $? "cannot run C compiled programs.
4109 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error 77 "cannot run C compiled programs.
36064112 If you meant to cross compile, use \`--host'.
36074113 See \`config.log' for more details" "$LINENO" 5; }
36084114 fi
36094115 fi
36104116 fi
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3612 $as_echo "$cross_compiling" >&6; }
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 printf "%s\n" "$cross_compiling" >&6; }
36134119
36144120 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
36154121 ac_clean_files=$ac_clean_files_save
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3617 $as_echo_n "checking for suffix of object files... " >&6; }
3618 if ${ac_cv_objext+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620 else
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4123 printf %s "checking for suffix of object files... " >&6; }
4124 if test ${ac_cv_objext+y}
4125 then :
4126 printf %s "(cached) " >&6
4127 else $as_nop
36214128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224129 /* end confdefs.h. */
36234130
36244131 int
3625 main ()
4132 main (void)
36264133 {
36274134
36284135 ;
36364143 *) ac_try_echo=$ac_try;;
36374144 esac
36384145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3639 $as_echo "$ac_try_echo"; } >&5
4146 printf "%s\n" "$ac_try_echo"; } >&5
36404147 (eval "$ac_compile") 2>&5
36414148 ac_status=$?
3642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3643 test $ac_status = 0; }; then :
4149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }
4151 then :
36444152 for ac_file in conftest.o conftest.obj conftest.*; do
36454153 test -f "$ac_file" || continue;
36464154 case $ac_file in
36494157 break;;
36504158 esac
36514159 done
3652 else
3653 $as_echo "$as_me: failed program was:" >&5
4160 else $as_nop
4161 printf "%s\n" "$as_me: failed program was:" >&5
36544162 sed 's/^/| /' conftest.$ac_ext >&5
36554163
3656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
36584166 as_fn_error $? "cannot compute suffix of object files: cannot compile
36594167 See \`config.log' for more details" "$LINENO" 5; }
36604168 fi
36614169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
36624170 fi
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3664 $as_echo "$ac_cv_objext" >&6; }
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 printf "%s\n" "$ac_cv_objext" >&6; }
36654173 OBJEXT=$ac_cv_objext
36664174 ac_objext=$OBJEXT
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3668 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3669 if ${ac_cv_c_compiler_gnu+:} false; then :
3670 $as_echo_n "(cached) " >&6
3671 else
4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4176 printf %s "checking whether the compiler supports GNU C... " >&6; }
4177 if test ${ac_cv_c_compiler_gnu+y}
4178 then :
4179 printf %s "(cached) " >&6
4180 else $as_nop
36724181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36734182 /* end confdefs.h. */
36744183
36754184 int
3676 main ()
4185 main (void)
36774186 {
36784187 #ifndef __GNUC__
36794188 choke me
36834192 return 0;
36844193 }
36854194 _ACEOF
3686 if ac_fn_c_try_compile "$LINENO"; then :
4195 if ac_fn_c_try_compile "$LINENO"
4196 then :
36874197 ac_compiler_gnu=yes
3688 else
4198 else $as_nop
36894199 ac_compiler_gnu=no
36904200 fi
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36924202 ac_cv_c_compiler_gnu=$ac_compiler_gnu
36934203
36944204 fi
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3696 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4206 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208
36974209 if test $ac_compiler_gnu = yes; then
36984210 GCC=yes
36994211 else
37004212 GCC=
37014213 fi
3702 ac_test_CFLAGS=${CFLAGS+set}
4214 ac_test_CFLAGS=${CFLAGS+y}
37034215 ac_save_CFLAGS=$CFLAGS
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3705 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3706 if ${ac_cv_prog_cc_g+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
4216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4217 printf %s "checking whether $CC accepts -g... " >&6; }
4218 if test ${ac_cv_prog_cc_g+y}
4219 then :
4220 printf %s "(cached) " >&6
4221 else $as_nop
37094222 ac_save_c_werror_flag=$ac_c_werror_flag
37104223 ac_c_werror_flag=yes
37114224 ac_cv_prog_cc_g=no
37144227 /* end confdefs.h. */
37154228
37164229 int
3717 main ()
4230 main (void)
37184231 {
37194232
37204233 ;
37214234 return 0;
37224235 }
37234236 _ACEOF
3724 if ac_fn_c_try_compile "$LINENO"; then :
4237 if ac_fn_c_try_compile "$LINENO"
4238 then :
37254239 ac_cv_prog_cc_g=yes
3726 else
4240 else $as_nop
37274241 CFLAGS=""
37284242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37294243 /* end confdefs.h. */
37304244
37314245 int
3732 main ()
4246 main (void)
37334247 {
37344248
37354249 ;
37364250 return 0;
37374251 }
37384252 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740
3741 else
4253 if ac_fn_c_try_compile "$LINENO"
4254 then :
4255
4256 else $as_nop
37424257 ac_c_werror_flag=$ac_save_c_werror_flag
37434258 CFLAGS="-g"
37444259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37454260 /* end confdefs.h. */
37464261
37474262 int
3748 main ()
4263 main (void)
37494264 {
37504265
37514266 ;
37524267 return 0;
37534268 }
37544269 _ACEOF
3755 if ac_fn_c_try_compile "$LINENO"; then :
4270 if ac_fn_c_try_compile "$LINENO"
4271 then :
37564272 ac_cv_prog_cc_g=yes
37574273 fi
3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759 fi
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761 fi
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4275 fi
4276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4277 fi
4278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37634279 ac_c_werror_flag=$ac_save_c_werror_flag
37644280 fi
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3766 $as_echo "$ac_cv_prog_cc_g" >&6; }
3767 if test "$ac_test_CFLAGS" = set; then
4281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4282 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4283 if test $ac_test_CFLAGS; then
37684284 CFLAGS=$ac_save_CFLAGS
37694285 elif test $ac_cv_prog_cc_g = yes; then
37704286 if test "$GCC" = yes; then
37794295 CFLAGS=
37804296 fi
37814297 fi
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3783 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3784 if ${ac_cv_prog_cc_c89+:} false; then :
3785 $as_echo_n "(cached) " >&6
3786 else
4298 ac_prog_cc_stdc=no
4299 if test x$ac_prog_cc_stdc = xno
4300 then :
4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4302 printf %s "checking for $CC option to enable C11 features... " >&6; }
4303 if test ${ac_cv_prog_cc_c11+y}
4304 then :
4305 printf %s "(cached) " >&6
4306 else $as_nop
4307 ac_cv_prog_cc_c11=no
4308 ac_save_CC=$CC
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4311 $ac_c_conftest_c11_program
4312 _ACEOF
4313 for ac_arg in '' -std=gnu11
4314 do
4315 CC="$ac_save_CC $ac_arg"
4316 if ac_fn_c_try_compile "$LINENO"
4317 then :
4318 ac_cv_prog_cc_c11=$ac_arg
4319 fi
4320 rm -f core conftest.err conftest.$ac_objext conftest.beam
4321 test "x$ac_cv_prog_cc_c11" != "xno" && break
4322 done
4323 rm -f conftest.$ac_ext
4324 CC=$ac_save_CC
4325 fi
4326
4327 if test "x$ac_cv_prog_cc_c11" = xno
4328 then :
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 printf "%s\n" "unsupported" >&6; }
4331 else $as_nop
4332 if test "x$ac_cv_prog_cc_c11" = x
4333 then :
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4335 printf "%s\n" "none needed" >&6; }
4336 else $as_nop
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4338 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4339 CC="$CC $ac_cv_prog_cc_c11"
4340 fi
4341 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4342 ac_prog_cc_stdc=c11
4343 fi
4344 fi
4345 if test x$ac_prog_cc_stdc = xno
4346 then :
4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4348 printf %s "checking for $CC option to enable C99 features... " >&6; }
4349 if test ${ac_cv_prog_cc_c99+y}
4350 then :
4351 printf %s "(cached) " >&6
4352 else $as_nop
4353 ac_cv_prog_cc_c99=no
4354 ac_save_CC=$CC
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4357 $ac_c_conftest_c99_program
4358 _ACEOF
4359 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4360 do
4361 CC="$ac_save_CC $ac_arg"
4362 if ac_fn_c_try_compile "$LINENO"
4363 then :
4364 ac_cv_prog_cc_c99=$ac_arg
4365 fi
4366 rm -f core conftest.err conftest.$ac_objext conftest.beam
4367 test "x$ac_cv_prog_cc_c99" != "xno" && break
4368 done
4369 rm -f conftest.$ac_ext
4370 CC=$ac_save_CC
4371 fi
4372
4373 if test "x$ac_cv_prog_cc_c99" = xno
4374 then :
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4376 printf "%s\n" "unsupported" >&6; }
4377 else $as_nop
4378 if test "x$ac_cv_prog_cc_c99" = x
4379 then :
4380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4381 printf "%s\n" "none needed" >&6; }
4382 else $as_nop
4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4384 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4385 CC="$CC $ac_cv_prog_cc_c99"
4386 fi
4387 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4388 ac_prog_cc_stdc=c99
4389 fi
4390 fi
4391 if test x$ac_prog_cc_stdc = xno
4392 then :
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4394 printf %s "checking for $CC option to enable C89 features... " >&6; }
4395 if test ${ac_cv_prog_cc_c89+y}
4396 then :
4397 printf %s "(cached) " >&6
4398 else $as_nop
37874399 ac_cv_prog_cc_c89=no
37884400 ac_save_CC=$CC
37894401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37904402 /* end confdefs.h. */
3791 #include <stdarg.h>
3792 #include <stdio.h>
3793 struct stat;
3794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3795 struct buf { int x; };
3796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797 static char *e (p, i)
3798 char **p;
3799 int i;
3800 {
3801 return p[i];
3802 }
3803 static char *f (char * (*g) (char **, int), char **p, ...)
3804 {
3805 char *s;
3806 va_list v;
3807 va_start (v,p);
3808 s = g (p, va_arg (v,int));
3809 va_end (v);
3810 return s;
3811 }
3812
3813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3814 function prototypes and stuff, but not '\xHH' hex character constants.
3815 These don't provoke an error unfortunately, instead are silently treated
3816 as 'x'. The following induces an error, until -std is added to get
3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3818 array size at least. It's necessary to write '\x00'==0 to get something
3819 that's true only with -std. */
3820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3821
3822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823 inside strings and character constants. */
3824 #define FOO(x) 'x'
3825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3826
3827 int test (int i, double x);
3828 struct s1 {int (*f) (int a);};
3829 struct s2 {int (*f) (double a);};
3830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3831 int argc;
3832 char **argv;
3833 int
3834 main ()
3835 {
3836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3837 ;
3838 return 0;
3839 }
4403 $ac_c_conftest_c89_program
38404404 _ACEOF
3841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4405 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
38434406 do
38444407 CC="$ac_save_CC $ac_arg"
3845 if ac_fn_c_try_compile "$LINENO"; then :
4408 if ac_fn_c_try_compile "$LINENO"
4409 then :
38464410 ac_cv_prog_cc_c89=$ac_arg
38474411 fi
3848 rm -f core conftest.err conftest.$ac_objext
4412 rm -f core conftest.err conftest.$ac_objext conftest.beam
38494413 test "x$ac_cv_prog_cc_c89" != "xno" && break
38504414 done
38514415 rm -f conftest.$ac_ext
38524416 CC=$ac_save_CC
3853
3854 fi
3855 # AC_CACHE_VAL
3856 case "x$ac_cv_prog_cc_c89" in
3857 x)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3859 $as_echo "none needed" >&6; } ;;
3860 xno)
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3862 $as_echo "unsupported" >&6; } ;;
3863 *)
3864 CC="$CC $ac_cv_prog_cc_c89"
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3866 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3867 esac
3868 if test "x$ac_cv_prog_cc_c89" != xno; then :
3869
4417 fi
4418
4419 if test "x$ac_cv_prog_cc_c89" = xno
4420 then :
4421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4422 printf "%s\n" "unsupported" >&6; }
4423 else $as_nop
4424 if test "x$ac_cv_prog_cc_c89" = x
4425 then :
4426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4427 printf "%s\n" "none needed" >&6; }
4428 else $as_nop
4429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4430 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4431 CC="$CC $ac_cv_prog_cc_c89"
4432 fi
4433 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4434 ac_prog_cc_stdc=c89
4435 fi
38704436 fi
38714437
38724438 ac_ext=c
38754441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774443
3878 ac_ext=c
4444
4445 ac_ext=c
38794446 ac_cpp='$CPP $CPPFLAGS'
38804447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3884 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3885 if ${am_cv_prog_cc_c_o+:} false; then :
3886 $as_echo_n "(cached) " >&6
3887 else
4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4451 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4452 if test ${am_cv_prog_cc_c_o+y}
4453 then :
4454 printf %s "(cached) " >&6
4455 else $as_nop
38884456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38894457 /* end confdefs.h. */
38904458
38914459 int
3892 main ()
4460 main (void)
38934461 {
38944462
38954463 ;
39174485 rm -f core conftest*
39184486 unset am_i
39194487 fi
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3921 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4489 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
39224490 if test "$am_cv_prog_cc_c_o" != yes; then
39234491 # Losing compiler, so override with the script.
39244492 # FIXME: It is wrong to rewrite CC.
39364504
39374505 depcc="$CC" am_compiler_list=
39384506
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3940 $as_echo_n "checking dependency style of $depcc... " >&6; }
3941 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4508 printf %s "checking dependency style of $depcc... " >&6; }
4509 if test ${am_cv_CC_dependencies_compiler_type+y}
4510 then :
4511 printf %s "(cached) " >&6
4512 else $as_nop
39444513 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
39454514 # We make a subdir and do the tests there. Otherwise we can end up
39464515 # making bogus files that we don't know about and never remove. For
40474616 fi
40484617
40494618 fi
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4051 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4620 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
40524621 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
40534622
40544623 if
40634632
40644633
40654634
4066 if test -n "$ac_tool_prefix"; then
4635
4636 if test -n "$ac_tool_prefix"; then
40674637 for ac_prog in ar lib "link -lib"
40684638 do
40694639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
40704640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_prog_AR+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 printf %s "checking for $ac_word... " >&6; }
4643 if test ${ac_cv_prog_AR+y}
4644 then :
4645 printf %s "(cached) " >&6
4646 else $as_nop
40764647 if test -n "$AR"; then
40774648 ac_cv_prog_AR="$AR" # Let the user override the test.
40784649 else
40804651 for as_dir in $PATH
40814652 do
40824653 IFS=$as_save_IFS
4083 test -z "$as_dir" && as_dir=.
4654 case $as_dir in #(((
4655 '') as_dir=./ ;;
4656 */) ;;
4657 *) as_dir=$as_dir/ ;;
4658 esac
40844659 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
40864661 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
40884663 break 2
40894664 fi
40904665 done
40954670 fi
40964671 AR=$ac_cv_prog_AR
40974672 if test -n "$AR"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4099 $as_echo "$AR" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4674 printf "%s\n" "$AR" >&6; }
4675 else
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 printf "%s\n" "no" >&6; }
41034678 fi
41044679
41054680
41124687 do
41134688 # Extract the first word of "$ac_prog", so it can be a program name with args.
41144689 set dummy $ac_prog; ac_word=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4118 $as_echo_n "(cached) " >&6
4119 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 printf %s "checking for $ac_word... " >&6; }
4692 if test ${ac_cv_prog_ac_ct_AR+y}
4693 then :
4694 printf %s "(cached) " >&6
4695 else $as_nop
41204696 if test -n "$ac_ct_AR"; then
41214697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41224698 else
41244700 for as_dir in $PATH
41254701 do
41264702 IFS=$as_save_IFS
4127 test -z "$as_dir" && as_dir=.
4703 case $as_dir in #(((
4704 '') as_dir=./ ;;
4705 */) ;;
4706 *) as_dir=$as_dir/ ;;
4707 esac
41284708 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
41304710 ac_cv_prog_ac_ct_AR="$ac_prog"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
41324712 break 2
41334713 fi
41344714 done
41394719 fi
41404720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41414721 if test -n "$ac_ct_AR"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4143 $as_echo "$ac_ct_AR" >&6; }
4144 else
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4723 printf "%s\n" "$ac_ct_AR" >&6; }
4724 else
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 printf "%s\n" "no" >&6; }
41474727 fi
41484728
41494729
41554735 else
41564736 case $cross_compiling:$ac_tool_warned in
41574737 yes:)
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
41604740 ac_tool_warned=yes ;;
41614741 esac
41624742 AR=$ac_ct_AR
41654745
41664746 : ${AR=ar}
41674747
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4169 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4170 if ${am_cv_ar_interface+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4749 printf %s "checking the archiver ($AR) interface... " >&6; }
4750 if test ${am_cv_ar_interface+y}
4751 then :
4752 printf %s "(cached) " >&6
4753 else $as_nop
41734754 ac_ext=c
41744755 ac_cpp='$CPP $CPPFLAGS'
41754756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41814762 /* end confdefs.h. */
41824763 int some_variable = 0;
41834764 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4765 if ac_fn_c_try_compile "$LINENO"
4766 then :
41854767 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
41864768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
41874769 (eval $am_ar_try) 2>&5
41884770 ac_status=$?
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41904772 test $ac_status = 0; }
41914773 if test "$ac_status" -eq 0; then
41924774 am_cv_ar_interface=ar
41954777 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
41964778 (eval $am_ar_try) 2>&5
41974779 ac_status=$?
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41994781 test $ac_status = 0; }
42004782 if test "$ac_status" -eq 0; then
42014783 am_cv_ar_interface=lib
42064788 rm -f conftest.lib libconftest.a
42074789
42084790 fi
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42104792 ac_ext=c
42114793 ac_cpp='$CPP $CPPFLAGS'
42124794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154797
42164798 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4218 $as_echo "$am_cv_ar_interface" >&6; }
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4800 printf "%s\n" "$am_cv_ar_interface" >&6; }
42194801
42204802 case $am_cv_ar_interface in
42214803 ar)
42374819
42384820 libdiscid_MAJOR=0
42394821 libdiscid_MINOR=6
4240 libdiscid_PATCH=2
4822 libdiscid_PATCH=4
42414823
42424824 libdiscid_VERSION_LT=${libdiscid_MAJOR}:${libdiscid_MINOR}:${libdiscid_PATCH}
42434825 libdiscid_VERSION_RC=${libdiscid_MAJOR},${libdiscid_MINOR},${libdiscid_PATCH},0
42544836
42554837
42564838
4257 # Make sure we can run config.sub.
4258 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4259 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4260
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4262 $as_echo_n "checking build system type... " >&6; }
4263 if ${ac_cv_build+:} false; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4839
4840
4841 # Make sure we can run config.sub.
4842 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4843 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4844
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4846 printf %s "checking build system type... " >&6; }
4847 if test ${ac_cv_build+y}
4848 then :
4849 printf %s "(cached) " >&6
4850 else $as_nop
42664851 ac_build_alias=$build_alias
42674852 test "x$ac_build_alias" = x &&
4268 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4853 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
42694854 test "x$ac_build_alias" = x &&
42704855 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4271 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4272 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4273
4274 fi
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4276 $as_echo "$ac_cv_build" >&6; }
4856 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4857 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4858
4859 fi
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4861 printf "%s\n" "$ac_cv_build" >&6; }
42774862 case $ac_cv_build in
42784863 *-*-*) ;;
42794864 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
42924877 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
42934878
42944879
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4296 $as_echo_n "checking host system type... " >&6; }
4297 if ${ac_cv_host+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4881 printf %s "checking host system type... " >&6; }
4882 if test ${ac_cv_host+y}
4883 then :
4884 printf %s "(cached) " >&6
4885 else $as_nop
43004886 if test "x$host_alias" = x; then
43014887 ac_cv_host=$ac_cv_build
43024888 else
4303 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4305 fi
4306
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4309 $as_echo "$ac_cv_host" >&6; }
4889 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4890 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4891 fi
4892
4893 fi
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4895 printf "%s\n" "$ac_cv_host" >&6; }
43104896 case $ac_cv_host in
43114897 *-*-*) ;;
43124898 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
43274913
43284914
43294915
4330 $as_echo "#define libdiscid_EXPORTS /**/" >>confdefs.h
4916 printf "%s\n" "#define libdiscid_EXPORTS /**/" >>confdefs.h
43314917
43324918
43334919
43344920 case "${host_cpu}-${host_os}" in
4335 #*-beos*) os=beos;;
4921 *-haiku*) os=haiku;;
43364922 *-mingw*) os=win32;;
43374923 *-cygwin*) os=win32;;
43384924 *-freebsd*) os=freebsd ;;
43464932 *-solaris*) os=solaris ;;
43474933 #*-qnx*) os=qnx;;
43484934 *) os=generic;
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported operating system, no disc reading available!" >&5
4350 $as_echo "$as_me: WARNING: unsupported operating system, no disc reading available!" >&2;} ;;
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unsupported operating system, no disc reading available!" >&5
4936 printf "%s\n" "$as_me: WARNING: unsupported operating system, no disc reading available!" >&2;} ;;
43514937 esac
43524938
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: Using disc read implementation for: $os" >&5
4354 $as_echo "$as_me: Using disc read implementation for: $os" >&6;}
4355 #AM_CONDITIONAL([OS_BEOS], [test x$os = xbeos])
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using disc read implementation for: $os" >&5
4940 printf "%s\n" "$as_me: Using disc read implementation for: $os" >&6;}
4941 if test x$os = xhaiku; then
4942 OS_HAIKU_TRUE=
4943 OS_HAIKU_FALSE='#'
4944 else
4945 OS_HAIKU_TRUE='#'
4946 OS_HAIKU_FALSE=
4947 fi
4948
43564949 if test x$os = xdarwin; then
43574950 OS_DARWIN_TRUE=
43584951 OS_DARWIN_FALSE='#'
44145007
44155008 case `pwd` in
44165009 *\ * | *\ *)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4418 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5011 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
44195012 esac
44205013
44215014
44225015
44235016 macro_version='2.4.6'
44245017 macro_revision='2.4.6'
5018
44255019
44265020
44275021
44585052 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
44595053 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
44605054
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4462 $as_echo_n "checking how to print strings... " >&6; }
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5056 printf %s "checking how to print strings... " >&6; }
44635057 # Test print first, because it will be a builtin if present.
44645058 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
44655059 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
44855079 }
44865080
44875081 case $ECHO in
4488 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4489 $as_echo "printf" >&6; } ;;
4490 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4491 $as_echo "print -r" >&6; } ;;
4492 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4493 $as_echo "cat" >&6; } ;;
5082 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5083 printf "%s\n" "printf" >&6; } ;;
5084 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5085 printf "%s\n" "print -r" >&6; } ;;
5086 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5087 printf "%s\n" "cat" >&6; } ;;
44945088 esac
44955089
44965090
45065100
45075101
45085102
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4510 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4511 if ${ac_cv_path_SED+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5104 printf %s "checking for a sed that does not truncate output... " >&6; }
5105 if test ${ac_cv_path_SED+y}
5106 then :
5107 printf %s "(cached) " >&6
5108 else $as_nop
45145109 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
45155110 for ac_i in 1 2 3 4 5 6 7; do
45165111 ac_script="$ac_script$as_nl$ac_script"
45245119 for as_dir in $PATH
45255120 do
45265121 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_prog in sed gsed; do
5122 case $as_dir in #(((
5123 '') as_dir=./ ;;
5124 */) ;;
5125 *) as_dir=$as_dir/ ;;
5126 esac
5127 for ac_prog in sed gsed
5128 do
45295129 for ac_exec_ext in '' $ac_executable_extensions; do
4530 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5130 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
45315131 as_fn_executable_p "$ac_path_SED" || continue
45325132 # Check for GNU ac_path_SED and select it if it is found.
45335133 # Check for GNU $ac_path_SED
45365136 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
45375137 *)
45385138 ac_count=0
4539 $as_echo_n 0123456789 >"conftest.in"
5139 printf %s 0123456789 >"conftest.in"
45405140 while :
45415141 do
45425142 cat "conftest.in" "conftest.in" >"conftest.tmp"
45435143 mv "conftest.tmp" "conftest.in"
45445144 cp "conftest.in" "conftest.nl"
4545 $as_echo '' >> "conftest.nl"
5145 printf "%s\n" '' >> "conftest.nl"
45465146 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
45475147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45485148 as_fn_arith $ac_count + 1 && ac_count=$as_val
45705170 fi
45715171
45725172 fi
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4574 $as_echo "$ac_cv_path_SED" >&6; }
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5174 printf "%s\n" "$ac_cv_path_SED" >&6; }
45755175 SED="$ac_cv_path_SED"
45765176 rm -f conftest.sed
45775177
45885188
45895189
45905190
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4592 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4593 if ${ac_cv_path_GREP+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5192 printf %s "checking for grep that handles long lines and -e... " >&6; }
5193 if test ${ac_cv_path_GREP+y}
5194 then :
5195 printf %s "(cached) " >&6
5196 else $as_nop
45965197 if test -z "$GREP"; then
45975198 ac_path_GREP_found=false
45985199 # Loop through the user's path and test for each of PROGNAME-LIST
46005201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46015202 do
46025203 IFS=$as_save_IFS
4603 test -z "$as_dir" && as_dir=.
4604 for ac_prog in grep ggrep; do
5204 case $as_dir in #(((
5205 '') as_dir=./ ;;
5206 */) ;;
5207 *) as_dir=$as_dir/ ;;
5208 esac
5209 for ac_prog in grep ggrep
5210 do
46055211 for ac_exec_ext in '' $ac_executable_extensions; do
4606 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5212 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
46075213 as_fn_executable_p "$ac_path_GREP" || continue
46085214 # Check for GNU ac_path_GREP and select it if it is found.
46095215 # Check for GNU $ac_path_GREP
46125218 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
46135219 *)
46145220 ac_count=0
4615 $as_echo_n 0123456789 >"conftest.in"
5221 printf %s 0123456789 >"conftest.in"
46165222 while :
46175223 do
46185224 cat "conftest.in" "conftest.in" >"conftest.tmp"
46195225 mv "conftest.tmp" "conftest.in"
46205226 cp "conftest.in" "conftest.nl"
4621 $as_echo 'GREP' >> "conftest.nl"
5227 printf "%s\n" 'GREP' >> "conftest.nl"
46225228 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46235229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46245230 as_fn_arith $ac_count + 1 && ac_count=$as_val
46465252 fi
46475253
46485254 fi
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4650 $as_echo "$ac_cv_path_GREP" >&6; }
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5256 printf "%s\n" "$ac_cv_path_GREP" >&6; }
46515257 GREP="$ac_cv_path_GREP"
46525258
46535259
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4655 $as_echo_n "checking for egrep... " >&6; }
4656 if ${ac_cv_path_EGREP+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5261 printf %s "checking for egrep... " >&6; }
5262 if test ${ac_cv_path_EGREP+y}
5263 then :
5264 printf %s "(cached) " >&6
5265 else $as_nop
46595266 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
46605267 then ac_cv_path_EGREP="$GREP -E"
46615268 else
46665273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
46675274 do
46685275 IFS=$as_save_IFS
4669 test -z "$as_dir" && as_dir=.
4670 for ac_prog in egrep; do
5276 case $as_dir in #(((
5277 '') as_dir=./ ;;
5278 */) ;;
5279 *) as_dir=$as_dir/ ;;
5280 esac
5281 for ac_prog in egrep
5282 do
46715283 for ac_exec_ext in '' $ac_executable_extensions; do
4672 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5284 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
46735285 as_fn_executable_p "$ac_path_EGREP" || continue
46745286 # Check for GNU ac_path_EGREP and select it if it is found.
46755287 # Check for GNU $ac_path_EGREP
46785290 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
46795291 *)
46805292 ac_count=0
4681 $as_echo_n 0123456789 >"conftest.in"
5293 printf %s 0123456789 >"conftest.in"
46825294 while :
46835295 do
46845296 cat "conftest.in" "conftest.in" >"conftest.tmp"
46855297 mv "conftest.tmp" "conftest.in"
46865298 cp "conftest.in" "conftest.nl"
4687 $as_echo 'EGREP' >> "conftest.nl"
5299 printf "%s\n" 'EGREP' >> "conftest.nl"
46885300 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
46895301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
46905302 as_fn_arith $ac_count + 1 && ac_count=$as_val
47135325
47145326 fi
47155327 fi
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4717 $as_echo "$ac_cv_path_EGREP" >&6; }
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5329 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
47185330 EGREP="$ac_cv_path_EGREP"
47195331
47205332
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4722 $as_echo_n "checking for fgrep... " >&6; }
4723 if ${ac_cv_path_FGREP+:} false; then :
4724 $as_echo_n "(cached) " >&6
4725 else
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5334 printf %s "checking for fgrep... " >&6; }
5335 if test ${ac_cv_path_FGREP+y}
5336 then :
5337 printf %s "(cached) " >&6
5338 else $as_nop
47265339 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
47275340 then ac_cv_path_FGREP="$GREP -F"
47285341 else
47335346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
47345347 do
47355348 IFS=$as_save_IFS
4736 test -z "$as_dir" && as_dir=.
4737 for ac_prog in fgrep; do
5349 case $as_dir in #(((
5350 '') as_dir=./ ;;
5351 */) ;;
5352 *) as_dir=$as_dir/ ;;
5353 esac
5354 for ac_prog in fgrep
5355 do
47385356 for ac_exec_ext in '' $ac_executable_extensions; do
4739 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5357 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
47405358 as_fn_executable_p "$ac_path_FGREP" || continue
47415359 # Check for GNU ac_path_FGREP and select it if it is found.
47425360 # Check for GNU $ac_path_FGREP
47455363 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
47465364 *)
47475365 ac_count=0
4748 $as_echo_n 0123456789 >"conftest.in"
5366 printf %s 0123456789 >"conftest.in"
47495367 while :
47505368 do
47515369 cat "conftest.in" "conftest.in" >"conftest.tmp"
47525370 mv "conftest.tmp" "conftest.in"
47535371 cp "conftest.in" "conftest.nl"
4754 $as_echo 'FGREP' >> "conftest.nl"
5372 printf "%s\n" 'FGREP' >> "conftest.nl"
47555373 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
47565374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
47575375 as_fn_arith $ac_count + 1 && ac_count=$as_val
47805398
47815399 fi
47825400 fi
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4784 $as_echo "$ac_cv_path_FGREP" >&6; }
5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5402 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
47855403 FGREP="$ac_cv_path_FGREP"
47865404
47875405
48065424
48075425
48085426 # Check whether --with-gnu-ld was given.
4809 if test "${with_gnu_ld+set}" = set; then :
5427 if test ${with_gnu_ld+y}
5428 then :
48105429 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4811 else
5430 else $as_nop
48125431 with_gnu_ld=no
48135432 fi
48145433
48155434 ac_prog=ld
48165435 if test yes = "$GCC"; then
48175436 # Check if gcc -print-prog-name=ld gives a path.
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4819 $as_echo_n "checking for ld used by $CC... " >&6; }
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5438 printf %s "checking for ld used by $CC... " >&6; }
48205439 case $host in
48215440 *-*-mingw*)
48225441 # gcc leaves a trailing carriage return, which upsets mingw
48455464 ;;
48465465 esac
48475466 elif test yes = "$with_gnu_ld"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4849 $as_echo_n "checking for GNU ld... " >&6; }
4850 else
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4852 $as_echo_n "checking for non-GNU ld... " >&6; }
4853 fi
4854 if ${lt_cv_path_LD+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5468 printf %s "checking for GNU ld... " >&6; }
5469 else
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5471 printf %s "checking for non-GNU ld... " >&6; }
5472 fi
5473 if test ${lt_cv_path_LD+y}
5474 then :
5475 printf %s "(cached) " >&6
5476 else $as_nop
48575477 if test -z "$LD"; then
48585478 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
48595479 for ac_dir in $PATH; do
48825502
48835503 LD=$lt_cv_path_LD
48845504 if test -n "$LD"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4886 $as_echo "$LD" >&6; }
4887 else
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5506 printf "%s\n" "$LD" >&6; }
5507 else
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 printf "%s\n" "no" >&6; }
48905510 fi
48915511 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4893 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4894 if ${lt_cv_prog_gnu_ld+:} false; then :
4895 $as_echo_n "(cached) " >&6
4896 else
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5513 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5514 if test ${lt_cv_prog_gnu_ld+y}
5515 then :
5516 printf %s "(cached) " >&6
5517 else $as_nop
48975518 # I'd rather use --version here, but apparently some GNU lds only accept -v.
48985519 case `$LD -v 2>&1 </dev/null` in
48995520 *GNU* | *'with BFD'*)
49045525 ;;
49055526 esac
49065527 fi
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4908 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5529 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
49095530 with_gnu_ld=$lt_cv_prog_gnu_ld
49105531
49115532
49165537
49175538
49185539
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4920 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4921 if ${lt_cv_path_NM+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5541 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5542 if test ${lt_cv_path_NM+y}
5543 then :
5544 printf %s "(cached) " >&6
5545 else $as_nop
49245546 if test -n "$NM"; then
49255547 # Let the user override the test.
49265548 lt_cv_path_NM=$NM
49705592 : ${lt_cv_path_NM=no}
49715593 fi
49725594 fi
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4974 $as_echo "$lt_cv_path_NM" >&6; }
5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5596 printf "%s\n" "$lt_cv_path_NM" >&6; }
49755597 if test no != "$lt_cv_path_NM"; then
49765598 NM=$lt_cv_path_NM
49775599 else
49845606 do
49855607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
49865608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_DUMPBIN+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 printf %s "checking for $ac_word... " >&6; }
5611 if test ${ac_cv_prog_DUMPBIN+y}
5612 then :
5613 printf %s "(cached) " >&6
5614 else $as_nop
49925615 if test -n "$DUMPBIN"; then
49935616 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
49945617 else
49965619 for as_dir in $PATH
49975620 do
49985621 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5622 case $as_dir in #(((
5623 '') as_dir=./ ;;
5624 */) ;;
5625 *) as_dir=$as_dir/ ;;
5626 esac
50005627 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
50025629 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
50045631 break 2
50055632 fi
50065633 done
50115638 fi
50125639 DUMPBIN=$ac_cv_prog_DUMPBIN
50135640 if test -n "$DUMPBIN"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5015 $as_echo "$DUMPBIN" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5642 printf "%s\n" "$DUMPBIN" >&6; }
5643 else
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 printf "%s\n" "no" >&6; }
50195646 fi
50205647
50215648
50285655 do
50295656 # Extract the first word of "$ac_prog", so it can be a program name with args.
50305657 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 printf %s "checking for $ac_word... " >&6; }
5660 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5661 then :
5662 printf %s "(cached) " >&6
5663 else $as_nop
50365664 if test -n "$ac_ct_DUMPBIN"; then
50375665 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
50385666 else
50405668 for as_dir in $PATH
50415669 do
50425670 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5671 case $as_dir in #(((
5672 '') as_dir=./ ;;
5673 */) ;;
5674 *) as_dir=$as_dir/ ;;
5675 esac
50445676 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
50465678 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
50485680 break 2
50495681 fi
50505682 done
50555687 fi
50565688 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
50575689 if test -n "$ac_ct_DUMPBIN"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5059 $as_echo "$ac_ct_DUMPBIN" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5691 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5692 else
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 printf "%s\n" "no" >&6; }
50635695 fi
50645696
50655697
50715703 else
50725704 case $cross_compiling:$ac_tool_warned in
50735705 yes:)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50765708 ac_tool_warned=yes ;;
50775709 esac
50785710 DUMPBIN=$ac_ct_DUMPBIN
51005732
51015733
51025734
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5104 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5105 if ${lt_cv_nm_interface+:} false; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5736 printf %s "checking the name lister ($NM) interface... " >&6; }
5737 if test ${lt_cv_nm_interface+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else $as_nop
51085741 lt_cv_nm_interface="BSD nm"
51095742 echo "int some_variable = 0;" > conftest.$ac_ext
51105743 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
51205753 fi
51215754 rm -f conftest*
51225755 fi
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5124 $as_echo "$lt_cv_nm_interface" >&6; }
5125
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5127 $as_echo_n "checking whether ln -s works... " >&6; }
5756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5757 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5758
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5760 printf %s "checking whether ln -s works... " >&6; }
51285761 LN_S=$as_ln_s
51295762 if test "$LN_S" = "ln -s"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5131 $as_echo "yes" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5134 $as_echo "no, using $LN_S" >&6; }
5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5764 printf "%s\n" "yes" >&6; }
5765 else
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5767 printf "%s\n" "no, using $LN_S" >&6; }
51355768 fi
51365769
51375770 # find the maximum length of command line arguments
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5139 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5140 if ${lt_cv_sys_max_cmd_len+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5772 printf %s "checking the maximum length of command line arguments... " >&6; }
5773 if test ${lt_cv_sys_max_cmd_len+y}
5774 then :
5775 printf %s "(cached) " >&6
5776 else $as_nop
51435777 i=0
51445778 teststring=ABCD
51455779
52665900 fi
52675901
52685902 if test -n "$lt_cv_sys_max_cmd_len"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5270 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5273 $as_echo "none" >&6; }
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5904 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5905 else
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5907 printf "%s\n" "none" >&6; }
52745908 fi
52755909 max_cmd_len=$lt_cv_sys_max_cmd_len
52765910
53145948
53155949
53165950
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5318 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5319 if ${lt_cv_to_host_file_cmd+:} false; then :
5320 $as_echo_n "(cached) " >&6
5321 else
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5952 printf %s "checking how to convert $build file names to $host format... " >&6; }
5953 if test ${lt_cv_to_host_file_cmd+y}
5954 then :
5955 printf %s "(cached) " >&6
5956 else $as_nop
53225957 case $host in
53235958 *-*-mingw* )
53245959 case $build in
53545989 fi
53555990
53565991 to_host_file_cmd=$lt_cv_to_host_file_cmd
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5358 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5359
5360
5361
5362
5363
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5365 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5366 if ${lt_cv_to_tool_file_cmd+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5993 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5994
5995
5996
5997
5998
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6000 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6001 if test ${lt_cv_to_tool_file_cmd+y}
6002 then :
6003 printf %s "(cached) " >&6
6004 else $as_nop
53696005 #assume ordinary cross tools, or native build.
53706006 lt_cv_to_tool_file_cmd=func_convert_file_noop
53716007 case $host in
53816017 fi
53826018
53836019 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5385 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5392 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5393 if ${lt_cv_ld_reload_flag+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6021 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6022
6023
6024
6025
6026
6027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6028 printf %s "checking for $LD option to reload object files... " >&6; }
6029 if test ${lt_cv_ld_reload_flag+y}
6030 then :
6031 printf %s "(cached) " >&6
6032 else $as_nop
53966033 lt_cv_ld_reload_flag='-r'
53976034 fi
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5399 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6036 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
54006037 reload_flag=$lt_cv_ld_reload_flag
54016038 case $reload_flag in
54026039 "" | " "*) ;;
54296066 if test -n "$ac_tool_prefix"; then
54306067 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
54316068 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_OBJDUMP+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 printf %s "checking for $ac_word... " >&6; }
6071 if test ${ac_cv_prog_OBJDUMP+y}
6072 then :
6073 printf %s "(cached) " >&6
6074 else $as_nop
54376075 if test -n "$OBJDUMP"; then
54386076 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
54396077 else
54416079 for as_dir in $PATH
54426080 do
54436081 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
6082 case $as_dir in #(((
6083 '') as_dir=./ ;;
6084 */) ;;
6085 *) as_dir=$as_dir/ ;;
6086 esac
54456087 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
54476089 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
54496091 break 2
54506092 fi
54516093 done
54566098 fi
54576099 OBJDUMP=$ac_cv_prog_OBJDUMP
54586100 if test -n "$OBJDUMP"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5460 $as_echo "$OBJDUMP" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6102 printf "%s\n" "$OBJDUMP" >&6; }
6103 else
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 printf "%s\n" "no" >&6; }
54646106 fi
54656107
54666108
54696111 ac_ct_OBJDUMP=$OBJDUMP
54706112 # Extract the first word of "objdump", so it can be a program name with args.
54716113 set dummy objdump; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s "checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6117 then :
6118 printf %s "(cached) " >&6
6119 else $as_nop
54776120 if test -n "$ac_ct_OBJDUMP"; then
54786121 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
54796122 else
54816124 for as_dir in $PATH
54826125 do
54836126 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
6127 case $as_dir in #(((
6128 '') as_dir=./ ;;
6129 */) ;;
6130 *) as_dir=$as_dir/ ;;
6131 esac
54856132 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
54876134 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
54896136 break 2
54906137 fi
54916138 done
54966143 fi
54976144 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
54986145 if test -n "$ac_ct_OBJDUMP"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5500 $as_echo "$ac_ct_OBJDUMP" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6147 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6148 else
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
55046151 fi
55056152
55066153 if test "x$ac_ct_OBJDUMP" = x; then
55086155 else
55096156 case $cross_compiling:$ac_tool_warned in
55106157 yes:)
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
55136160 ac_tool_warned=yes ;;
55146161 esac
55156162 OBJDUMP=$ac_ct_OBJDUMP
55256172
55266173
55276174
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5529 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5530 if ${lt_cv_deplibs_check_method+:} false; then :
5531 $as_echo_n "(cached) " >&6
5532 else
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6176 printf %s "checking how to recognize dependent libraries... " >&6; }
6177 if test ${lt_cv_deplibs_check_method+y}
6178 then :
6179 printf %s "(cached) " >&6
6180 else $as_nop
55336181 lt_cv_file_magic_cmd='$MAGIC_CMD'
55346182 lt_cv_file_magic_test_file=
55356183 lt_cv_deplibs_check_method='unknown'
56476295 lt_cv_deplibs_check_method=pass_all
56486296 ;;
56496297
5650 netbsd*)
6298 netbsd* | netbsdelf*-gnu)
56516299 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
56526300 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
56536301 else
57256373 esac
57266374
57276375 fi
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5729 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6377 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
57306378
57316379 file_magic_glob=
57326380 want_nocaseglob=no
57706418 if test -n "$ac_tool_prefix"; then
57716419 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
57726420 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_DLLTOOL+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 printf %s "checking for $ac_word... " >&6; }
6423 if test ${ac_cv_prog_DLLTOOL+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
57786427 if test -n "$DLLTOOL"; then
57796428 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
57806429 else
57826431 for as_dir in $PATH
57836432 do
57846433 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
6434 case $as_dir in #(((
6435 '') as_dir=./ ;;
6436 */) ;;
6437 *) as_dir=$as_dir/ ;;
6438 esac
57866439 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57886441 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57906443 break 2
57916444 fi
57926445 done
57976450 fi
57986451 DLLTOOL=$ac_cv_prog_DLLTOOL
57996452 if test -n "$DLLTOOL"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5801 $as_echo "$DLLTOOL" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6454 printf "%s\n" "$DLLTOOL" >&6; }
6455 else
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 printf "%s\n" "no" >&6; }
58056458 fi
58066459
58076460
58106463 ac_ct_DLLTOOL=$DLLTOOL
58116464 # Extract the first word of "dlltool", so it can be a program name with args.
58126465 set dummy dlltool; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 printf %s "checking for $ac_word... " >&6; }
6468 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6469 then :
6470 printf %s "(cached) " >&6
6471 else $as_nop
58186472 if test -n "$ac_ct_DLLTOOL"; then
58196473 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
58206474 else
58226476 for as_dir in $PATH
58236477 do
58246478 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
6479 case $as_dir in #(((
6480 '') as_dir=./ ;;
6481 */) ;;
6482 *) as_dir=$as_dir/ ;;
6483 esac
58266484 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
58286486 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
58306488 break 2
58316489 fi
58326490 done
58376495 fi
58386496 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
58396497 if test -n "$ac_ct_DLLTOOL"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5841 $as_echo "$ac_ct_DLLTOOL" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6499 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6500 else
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 printf "%s\n" "no" >&6; }
58456503 fi
58466504
58476505 if test "x$ac_ct_DLLTOOL" = x; then
58496507 else
58506508 case $cross_compiling:$ac_tool_warned in
58516509 yes:)
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6511 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
58546512 ac_tool_warned=yes ;;
58556513 esac
58566514 DLLTOOL=$ac_ct_DLLTOOL
58676525
58686526
58696527
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5871 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5872 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6529 printf %s "checking how to associate runtime and link libraries... " >&6; }
6530 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6531 then :
6532 printf %s "(cached) " >&6
6533 else $as_nop
58756534 lt_cv_sharedlib_from_linklib_cmd='unknown'
58766535
58776536 case $host_os in
58946553 esac
58956554
58966555 fi
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5898 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6557 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
58996558 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
59006559 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
59016560
59106569 do
59116570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
59126571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_AR+:} false; then :
5916 $as_echo_n "(cached) " >&6
5917 else
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 printf %s "checking for $ac_word... " >&6; }
6574 if test ${ac_cv_prog_AR+y}
6575 then :
6576 printf %s "(cached) " >&6
6577 else $as_nop
59186578 if test -n "$AR"; then
59196579 ac_cv_prog_AR="$AR" # Let the user override the test.
59206580 else
59226582 for as_dir in $PATH
59236583 do
59246584 IFS=$as_save_IFS
5925 test -z "$as_dir" && as_dir=.
6585 case $as_dir in #(((
6586 '') as_dir=./ ;;
6587 */) ;;
6588 *) as_dir=$as_dir/ ;;
6589 esac
59266590 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
59286592 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
59306594 break 2
59316595 fi
59326596 done
59376601 fi
59386602 AR=$ac_cv_prog_AR
59396603 if test -n "$AR"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5941 $as_echo "$AR" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6605 printf "%s\n" "$AR" >&6; }
6606 else
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 printf "%s\n" "no" >&6; }
59456609 fi
59466610
59476611
59546618 do
59556619 # Extract the first word of "$ac_prog", so it can be a program name with args.
59566620 set dummy $ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 printf %s "checking for $ac_word... " >&6; }
6623 if test ${ac_cv_prog_ac_ct_AR+y}
6624 then :
6625 printf %s "(cached) " >&6
6626 else $as_nop
59626627 if test -n "$ac_ct_AR"; then
59636628 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
59646629 else
59666631 for as_dir in $PATH
59676632 do
59686633 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
6634 case $as_dir in #(((
6635 '') as_dir=./ ;;
6636 */) ;;
6637 *) as_dir=$as_dir/ ;;
6638 esac
59706639 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
59726641 ac_cv_prog_ac_ct_AR="$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
59746643 break 2
59756644 fi
59766645 done
59816650 fi
59826651 ac_ct_AR=$ac_cv_prog_ac_ct_AR
59836652 if test -n "$ac_ct_AR"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5985 $as_echo "$ac_ct_AR" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6654 printf "%s\n" "$ac_ct_AR" >&6; }
6655 else
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 printf "%s\n" "no" >&6; }
59896658 fi
59906659
59916660
59976666 else
59986667 case $cross_compiling:$ac_tool_warned in
59996668 yes:)
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6670 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
60026671 ac_tool_warned=yes ;;
60036672 esac
60046673 AR=$ac_ct_AR
60066675 fi
60076676
60086677 : ${AR=ar}
6009 : ${AR_FLAGS=cru}
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6022 $as_echo_n "checking for archiver @FILE support... " >&6; }
6023 if ${lt_cv_ar_at_file+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6678 : ${AR_FLAGS=cr}
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6691 printf %s "checking for archiver @FILE support... " >&6; }
6692 if test ${lt_cv_ar_at_file+y}
6693 then :
6694 printf %s "(cached) " >&6
6695 else $as_nop
60266696 lt_cv_ar_at_file=no
60276697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60286698 /* end confdefs.h. */
60296699
60306700 int
6031 main ()
6701 main (void)
60326702 {
60336703
60346704 ;
60356705 return 0;
60366706 }
60376707 _ACEOF
6038 if ac_fn_c_try_compile "$LINENO"; then :
6708 if ac_fn_c_try_compile "$LINENO"
6709 then :
60396710 echo conftest.$ac_objext > conftest.lst
60406711 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
60416712 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
60426713 (eval $lt_ar_try) 2>&5
60436714 ac_status=$?
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60456716 test $ac_status = 0; }
60466717 if test 0 -eq "$ac_status"; then
60476718 # Ensure the archiver fails upon bogus file names.
60496720 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
60506721 (eval $lt_ar_try) 2>&5
60516722 ac_status=$?
6052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60536724 test $ac_status = 0; }
60546725 if test 0 -ne "$ac_status"; then
60556726 lt_cv_ar_at_file=@
60586729 rm -f conftest.* libconftest.a
60596730
60606731 fi
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062
6063 fi
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6065 $as_echo "$lt_cv_ar_at_file" >&6; }
6732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6733
6734 fi
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6736 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
60666737
60676738 if test no = "$lt_cv_ar_at_file"; then
60686739 archiver_list_spec=
60796750 if test -n "$ac_tool_prefix"; then
60806751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
60816752 set dummy ${ac_tool_prefix}strip; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_STRIP+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 printf %s "checking for $ac_word... " >&6; }
6755 if test ${ac_cv_prog_STRIP+y}
6756 then :
6757 printf %s "(cached) " >&6
6758 else $as_nop
60876759 if test -n "$STRIP"; then
60886760 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
60896761 else
60916763 for as_dir in $PATH
60926764 do
60936765 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6766 case $as_dir in #(((
6767 '') as_dir=./ ;;
6768 */) ;;
6769 *) as_dir=$as_dir/ ;;
6770 esac
60956771 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
60976773 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
60996775 break 2
61006776 fi
61016777 done
61066782 fi
61076783 STRIP=$ac_cv_prog_STRIP
61086784 if test -n "$STRIP"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6110 $as_echo "$STRIP" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6786 printf "%s\n" "$STRIP" >&6; }
6787 else
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 printf "%s\n" "no" >&6; }
61146790 fi
61156791
61166792
61196795 ac_ct_STRIP=$STRIP
61206796 # Extract the first word of "strip", so it can be a program name with args.
61216797 set dummy strip; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 printf %s "checking for $ac_word... " >&6; }
6800 if test ${ac_cv_prog_ac_ct_STRIP+y}
6801 then :
6802 printf %s "(cached) " >&6
6803 else $as_nop
61276804 if test -n "$ac_ct_STRIP"; then
61286805 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
61296806 else
61316808 for as_dir in $PATH
61326809 do
61336810 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6811 case $as_dir in #(((
6812 '') as_dir=./ ;;
6813 */) ;;
6814 *) as_dir=$as_dir/ ;;
6815 esac
61356816 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
61376818 ac_cv_prog_ac_ct_STRIP="strip"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
61396820 break 2
61406821 fi
61416822 done
61466827 fi
61476828 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
61486829 if test -n "$ac_ct_STRIP"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6150 $as_echo "$ac_ct_STRIP" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6831 printf "%s\n" "$ac_ct_STRIP" >&6; }
6832 else
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 printf "%s\n" "no" >&6; }
61546835 fi
61556836
61566837 if test "x$ac_ct_STRIP" = x; then
61586839 else
61596840 case $cross_compiling:$ac_tool_warned in
61606841 yes:)
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6843 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
61636844 ac_tool_warned=yes ;;
61646845 esac
61656846 STRIP=$ac_ct_STRIP
61786859 if test -n "$ac_tool_prefix"; then
61796860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
61806861 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if ${ac_cv_prog_RANLIB+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 printf %s "checking for $ac_word... " >&6; }
6864 if test ${ac_cv_prog_RANLIB+y}
6865 then :
6866 printf %s "(cached) " >&6
6867 else $as_nop
61866868 if test -n "$RANLIB"; then
61876869 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
61886870 else
61906872 for as_dir in $PATH
61916873 do
61926874 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6875 case $as_dir in #(((
6876 '') as_dir=./ ;;
6877 */) ;;
6878 *) as_dir=$as_dir/ ;;
6879 esac
61946880 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
61966882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
61986884 break 2
61996885 fi
62006886 done
62056891 fi
62066892 RANLIB=$ac_cv_prog_RANLIB
62076893 if test -n "$RANLIB"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6209 $as_echo "$RANLIB" >&6; }
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6895 printf "%s\n" "$RANLIB" >&6; }
6896 else
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 printf "%s\n" "no" >&6; }
62136899 fi
62146900
62156901
62186904 ac_ct_RANLIB=$RANLIB
62196905 # Extract the first word of "ranlib", so it can be a program name with args.
62206906 set dummy ranlib; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6224 $as_echo_n "(cached) " >&6
6225 else
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 printf %s "checking for $ac_word... " >&6; }
6909 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6910 then :
6911 printf %s "(cached) " >&6
6912 else $as_nop
62266913 if test -n "$ac_ct_RANLIB"; then
62276914 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
62286915 else
62306917 for as_dir in $PATH
62316918 do
62326919 IFS=$as_save_IFS
6233 test -z "$as_dir" && as_dir=.
6920 case $as_dir in #(((
6921 '') as_dir=./ ;;
6922 */) ;;
6923 *) as_dir=$as_dir/ ;;
6924 esac
62346925 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
62366927 ac_cv_prog_ac_ct_RANLIB="ranlib"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
62386929 break 2
62396930 fi
62406931 done
62456936 fi
62466937 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
62476938 if test -n "$ac_ct_RANLIB"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6249 $as_echo "$ac_ct_RANLIB" >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6941 else
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 printf "%s\n" "no" >&6; }
62536944 fi
62546945
62556946 if test "x$ac_ct_RANLIB" = x; then
62576948 else
62586949 case $cross_compiling:$ac_tool_warned in
62596950 yes:)
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
62626953 ac_tool_warned=yes ;;
62636954 esac
62646955 RANLIB=$ac_ct_RANLIB
63477038
63487039
63497040 # Check for command to grab the raw symbol name followed by C symbol from nm.
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6351 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6352 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7042 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7043 if test ${lt_cv_sys_global_symbol_pipe+y}
7044 then :
7045 printf %s "(cached) " >&6
7046 else $as_nop
63557047
63567048 # These are sane defaults that work on at least a few old systems.
63577049 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
65037195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
65047196 (eval $ac_compile) 2>&5
65057197 ac_status=$?
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
65077199 test $ac_status = 0; }; then
65087200 # Now try to grab the symbols.
65097201 nlist=conftest.nm
6510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6511 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6512 ac_status=$?
6513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6514 test $ac_status = 0; } && test -s "$nlist"; then
7202 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7203 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
65157204 # Try sorting and uniquifying the output.
65167205 if sort "$nlist" | uniq > "$nlist"T; then
65177206 mv -f "$nlist"T "$nlist"
65797268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
65807269 (eval $ac_link) 2>&5
65817270 ac_status=$?
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
65837272 test $ac_status = 0; } && test -s conftest$ac_exeext; then
65847273 pipe_works=yes
65857274 fi
66147303 lt_cv_sys_global_symbol_to_cdecl=
66157304 fi
66167305 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6618 $as_echo "failed" >&6; }
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6621 $as_echo "ok" >&6; }
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7307 printf "%s\n" "failed" >&6; }
7308 else
7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7310 printf "%s\n" "ok" >&6; }
66227311 fi
66237312
66247313 # Response file support.
66647353
66657354
66667355
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6668 $as_echo_n "checking for sysroot... " >&6; }
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7357 printf %s "checking for sysroot... " >&6; }
66697358
66707359 # Check whether --with-sysroot was given.
6671 if test "${with_sysroot+set}" = set; then :
7360 if test ${with_sysroot+y}
7361 then :
66727362 withval=$with_sysroot;
6673 else
7363 else $as_nop
66747364 with_sysroot=no
66757365 fi
66767366
66887378 no|'')
66897379 ;; #(
66907380 *)
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6692 $as_echo "$with_sysroot" >&6; }
7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7382 printf "%s\n" "$with_sysroot" >&6; }
66937383 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
66947384 ;;
66957385 esac
66967386
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6698 $as_echo "${lt_sysroot:-no}" >&6; }
6699
6700
6701
6702
6703
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6705 $as_echo_n "checking for a working dd... " >&6; }
6706 if ${ac_cv_path_lt_DD+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7388 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7389
7390
7391
7392
7393
7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7395 printf %s "checking for a working dd... " >&6; }
7396 if test ${ac_cv_path_lt_DD+y}
7397 then :
7398 printf %s "(cached) " >&6
7399 else $as_nop
67097400 printf 0123456789abcdef0123456789abcdef >conftest.i
67107401 cat conftest.i conftest.i >conftest2.i
67117402 : ${lt_DD:=$DD}
67167407 for as_dir in $PATH
67177408 do
67187409 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_prog in dd; do
7410 case $as_dir in #(((
7411 '') as_dir=./ ;;
7412 */) ;;
7413 *) as_dir=$as_dir/ ;;
7414 esac
7415 for ac_prog in dd
7416 do
67217417 for ac_exec_ext in '' $ac_executable_extensions; do
6722 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7418 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
67237419 as_fn_executable_p "$ac_path_lt_DD" || continue
67247420 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
67257421 cmp -s conftest.i conftest.out \
67397435
67407436 rm -f conftest.i conftest2.i conftest.out
67417437 fi
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6743 $as_echo "$ac_cv_path_lt_DD" >&6; }
6744
6745
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6747 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6748 if ${lt_cv_truncate_bin+:} false; then :
6749 $as_echo_n "(cached) " >&6
6750 else
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7439 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7440
7441
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7443 printf %s "checking how to truncate binary pipes... " >&6; }
7444 if test ${lt_cv_truncate_bin+y}
7445 then :
7446 printf %s "(cached) " >&6
7447 else $as_nop
67517448 printf 0123456789abcdef0123456789abcdef >conftest.i
67527449 cat conftest.i conftest.i >conftest2.i
67537450 lt_cv_truncate_bin=
67587455 rm -f conftest.i conftest2.i conftest.out
67597456 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
67607457 fi
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6762 $as_echo "$lt_cv_truncate_bin" >&6; }
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7459 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
67637460
67647461
67657462
67827479 }
67837480
67847481 # Check whether --enable-libtool-lock was given.
6785 if test "${enable_libtool_lock+set}" = set; then :
7482 if test ${enable_libtool_lock+y}
7483 then :
67867484 enableval=$enable_libtool_lock;
67877485 fi
67887486
67987496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
67997497 (eval $ac_compile) 2>&5
68007498 ac_status=$?
6801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68027500 test $ac_status = 0; }; then
68037501 case `/usr/bin/file conftest.$ac_objext` in
68047502 *ELF-32*)
68187516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
68197517 (eval $ac_compile) 2>&5
68207518 ac_status=$?
6821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68227520 test $ac_status = 0; }; then
68237521 if test yes = "$lt_cv_prog_gnu_ld"; then
68247522 case `/usr/bin/file conftest.$ac_objext` in
68567554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
68577555 (eval $ac_compile) 2>&5
68587556 ac_status=$?
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68607558 test $ac_status = 0; }; then
68617559 emul=elf
68627560 case `/usr/bin/file conftest.$ac_objext` in
68977595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
68987596 (eval $ac_compile) 2>&5
68997597 ac_status=$?
6900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
69017599 test $ac_status = 0; }; then
69027600 case `/usr/bin/file conftest.o` in
69037601 *32-bit*)
69607658 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
69617659 SAVE_CFLAGS=$CFLAGS
69627660 CFLAGS="$CFLAGS -belf"
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6964 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6965 if ${lt_cv_cc_needs_belf+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
7661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7662 printf %s "checking whether the C compiler needs -belf... " >&6; }
7663 if test ${lt_cv_cc_needs_belf+y}
7664 then :
7665 printf %s "(cached) " >&6
7666 else $as_nop
69687667 ac_ext=c
69697668 ac_cpp='$CPP $CPPFLAGS'
69707669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757674 /* end confdefs.h. */
69767675
69777676 int
6978 main ()
7677 main (void)
69797678 {
69807679
69817680 ;
69827681 return 0;
69837682 }
69847683 _ACEOF
6985 if ac_fn_c_try_link "$LINENO"; then :
7684 if ac_fn_c_try_link "$LINENO"
7685 then :
69867686 lt_cv_cc_needs_belf=yes
6987 else
7687 else $as_nop
69887688 lt_cv_cc_needs_belf=no
69897689 fi
6990 rm -f core conftest.err conftest.$ac_objext \
7690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
69917691 conftest$ac_exeext conftest.$ac_ext
69927692 ac_ext=c
69937693 ac_cpp='$CPP $CPPFLAGS'
69967696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69977697
69987698 fi
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7000 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7700 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
70017701 if test yes != "$lt_cv_cc_needs_belf"; then
70027702 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
70037703 CFLAGS=$SAVE_CFLAGS
70107710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70117711 (eval $ac_compile) 2>&5
70127712 ac_status=$?
7013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70147714 test $ac_status = 0; }; then
70157715 case `/usr/bin/file conftest.o` in
70167716 *64-bit*)
70477747 if test -n "$ac_tool_prefix"; then
70487748 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
70497749 set dummy ${ac_tool_prefix}mt; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751 printf %s "checking for $ac_word... " >&6; }
7752 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7753 then :
7754 printf %s "(cached) " >&6
7755 else $as_nop
70557756 if test -n "$MANIFEST_TOOL"; then
70567757 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
70577758 else
70597760 for as_dir in $PATH
70607761 do
70617762 IFS=$as_save_IFS
7062 test -z "$as_dir" && as_dir=.
7763 case $as_dir in #(((
7764 '') as_dir=./ ;;
7765 */) ;;
7766 *) as_dir=$as_dir/ ;;
7767 esac
70637768 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70657770 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70677772 break 2
70687773 fi
70697774 done
70747779 fi
70757780 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
70767781 if test -n "$MANIFEST_TOOL"; then
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7078 $as_echo "$MANIFEST_TOOL" >&6; }
7079 else
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7783 printf "%s\n" "$MANIFEST_TOOL" >&6; }
7784 else
7785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 printf "%s\n" "no" >&6; }
70827787 fi
70837788
70847789
70877792 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
70887793 # Extract the first word of "mt", so it can be a program name with args.
70897794 set dummy mt; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7093 $as_echo_n "(cached) " >&6
7094 else
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796 printf %s "checking for $ac_word... " >&6; }
7797 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7798 then :
7799 printf %s "(cached) " >&6
7800 else $as_nop
70957801 if test -n "$ac_ct_MANIFEST_TOOL"; then
70967802 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
70977803 else
70997805 for as_dir in $PATH
71007806 do
71017807 IFS=$as_save_IFS
7102 test -z "$as_dir" && as_dir=.
7808 case $as_dir in #(((
7809 '') as_dir=./ ;;
7810 */) ;;
7811 *) as_dir=$as_dir/ ;;
7812 esac
71037813 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71057815 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71077817 break 2
71087818 fi
71097819 done
71147824 fi
71157825 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
71167826 if test -n "$ac_ct_MANIFEST_TOOL"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7118 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7119 else
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7828 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7829 else
7830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831 printf "%s\n" "no" >&6; }
71227832 fi
71237833
71247834 if test "x$ac_ct_MANIFEST_TOOL" = x; then
71267836 else
71277837 case $cross_compiling:$ac_tool_warned in
71287838 yes:)
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7840 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
71317841 ac_tool_warned=yes ;;
71327842 esac
71337843 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
71377847 fi
71387848
71397849 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7141 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7142 if ${lt_cv_path_mainfest_tool+:} false; then :
7143 $as_echo_n "(cached) " >&6
7144 else
7850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7851 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7852 if test ${lt_cv_path_mainfest_tool+y}
7853 then :
7854 printf %s "(cached) " >&6
7855 else $as_nop
71457856 lt_cv_path_mainfest_tool=no
71467857 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
71477858 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
71517862 fi
71527863 rm -f conftest*
71537864 fi
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7155 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7866 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
71567867 if test yes != "$lt_cv_path_mainfest_tool"; then
71577868 MANIFEST_TOOL=:
71587869 fi
71677878 if test -n "$ac_tool_prefix"; then
71687879 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
71697880 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7882 printf %s "checking for $ac_word... " >&6; }
7883 if test ${ac_cv_prog_DSYMUTIL+y}
7884 then :
7885 printf %s "(cached) " >&6
7886 else $as_nop
71757887 if test -n "$DSYMUTIL"; then
71767888 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
71777889 else
71797891 for as_dir in $PATH
71807892 do
71817893 IFS=$as_save_IFS
7182 test -z "$as_dir" && as_dir=.
7894 case $as_dir in #(((
7895 '') as_dir=./ ;;
7896 */) ;;
7897 *) as_dir=$as_dir/ ;;
7898 esac
71837899 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71857901 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71877903 break 2
71887904 fi
71897905 done
71947910 fi
71957911 DSYMUTIL=$ac_cv_prog_DSYMUTIL
71967912 if test -n "$DSYMUTIL"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7198 $as_echo "$DSYMUTIL" >&6; }
7199 else
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7914 printf "%s\n" "$DSYMUTIL" >&6; }
7915 else
7916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 printf "%s\n" "no" >&6; }
72027918 fi
72037919
72047920
72077923 ac_ct_DSYMUTIL=$DSYMUTIL
72087924 # Extract the first word of "dsymutil", so it can be a program name with args.
72097925 set dummy dsymutil; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7213 $as_echo_n "(cached) " >&6
7214 else
7926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 printf %s "checking for $ac_word... " >&6; }
7928 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7929 then :
7930 printf %s "(cached) " >&6
7931 else $as_nop
72157932 if test -n "$ac_ct_DSYMUTIL"; then
72167933 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
72177934 else
72197936 for as_dir in $PATH
72207937 do
72217938 IFS=$as_save_IFS
7222 test -z "$as_dir" && as_dir=.
7939 case $as_dir in #(((
7940 '') as_dir=./ ;;
7941 */) ;;
7942 *) as_dir=$as_dir/ ;;
7943 esac
72237944 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
72257946 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
72277948 break 2
72287949 fi
72297950 done
72347955 fi
72357956 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
72367957 if test -n "$ac_ct_DSYMUTIL"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7238 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7239 else
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7959 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7960 else
7961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 printf "%s\n" "no" >&6; }
72427963 fi
72437964
72447965 if test "x$ac_ct_DSYMUTIL" = x; then
72467967 else
72477968 case $cross_compiling:$ac_tool_warned in
72487969 yes:)
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
72517972 ac_tool_warned=yes ;;
72527973 esac
72537974 DSYMUTIL=$ac_ct_DSYMUTIL
72597980 if test -n "$ac_tool_prefix"; then
72607981 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
72617982 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_NMEDIT+:} false; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 printf %s "checking for $ac_word... " >&6; }
7985 if test ${ac_cv_prog_NMEDIT+y}
7986 then :
7987 printf %s "(cached) " >&6
7988 else $as_nop
72677989 if test -n "$NMEDIT"; then
72687990 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
72697991 else
72717993 for as_dir in $PATH
72727994 do
72737995 IFS=$as_save_IFS
7274 test -z "$as_dir" && as_dir=.
7996 case $as_dir in #(((
7997 '') as_dir=./ ;;
7998 */) ;;
7999 *) as_dir=$as_dir/ ;;
8000 esac
72758001 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8002 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
72778003 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
72798005 break 2
72808006 fi
72818007 done
72868012 fi
72878013 NMEDIT=$ac_cv_prog_NMEDIT
72888014 if test -n "$NMEDIT"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7290 $as_echo "$NMEDIT" >&6; }
7291 else
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
8015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8016 printf "%s\n" "$NMEDIT" >&6; }
8017 else
8018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 printf "%s\n" "no" >&6; }
72948020 fi
72958021
72968022
72998025 ac_ct_NMEDIT=$NMEDIT
73008026 # Extract the first word of "nmedit", so it can be a program name with args.
73018027 set dummy nmedit; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7305 $as_echo_n "(cached) " >&6
7306 else
8028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 printf %s "checking for $ac_word... " >&6; }
8030 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8031 then :
8032 printf %s "(cached) " >&6
8033 else $as_nop
73078034 if test -n "$ac_ct_NMEDIT"; then
73088035 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
73098036 else
73118038 for as_dir in $PATH
73128039 do
73138040 IFS=$as_save_IFS
7314 test -z "$as_dir" && as_dir=.
8041 case $as_dir in #(((
8042 '') as_dir=./ ;;
8043 */) ;;
8044 *) as_dir=$as_dir/ ;;
8045 esac
73158046 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8047 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
73178048 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
73198050 break 2
73208051 fi
73218052 done
73268057 fi
73278058 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
73288059 if test -n "$ac_ct_NMEDIT"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7330 $as_echo "$ac_ct_NMEDIT" >&6; }
7331 else
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
8060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8061 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8062 else
8063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 printf "%s\n" "no" >&6; }
73348065 fi
73358066
73368067 if test "x$ac_ct_NMEDIT" = x; then
73388069 else
73398070 case $cross_compiling:$ac_tool_warned in
73408071 yes:)
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
73438074 ac_tool_warned=yes ;;
73448075 esac
73458076 NMEDIT=$ac_ct_NMEDIT
73518082 if test -n "$ac_tool_prefix"; then
73528083 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
73538084 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_LIPO+:} false; then :
7357 $as_echo_n "(cached) " >&6
7358 else
8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 printf %s "checking for $ac_word... " >&6; }
8087 if test ${ac_cv_prog_LIPO+y}
8088 then :
8089 printf %s "(cached) " >&6
8090 else $as_nop
73598091 if test -n "$LIPO"; then
73608092 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
73618093 else
73638095 for as_dir in $PATH
73648096 do
73658097 IFS=$as_save_IFS
7366 test -z "$as_dir" && as_dir=.
8098 case $as_dir in #(((
8099 '') as_dir=./ ;;
8100 */) ;;
8101 *) as_dir=$as_dir/ ;;
8102 esac
73678103 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
73698105 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
73718107 break 2
73728108 fi
73738109 done
73788114 fi
73798115 LIPO=$ac_cv_prog_LIPO
73808116 if test -n "$LIPO"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7382 $as_echo "$LIPO" >&6; }
7383 else
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
8117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8118 printf "%s\n" "$LIPO" >&6; }
8119 else
8120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 printf "%s\n" "no" >&6; }
73868122 fi
73878123
73888124
73918127 ac_ct_LIPO=$LIPO
73928128 # Extract the first word of "lipo", so it can be a program name with args.
73938129 set dummy lipo; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7397 $as_echo_n "(cached) " >&6
7398 else
8130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 printf %s "checking for $ac_word... " >&6; }
8132 if test ${ac_cv_prog_ac_ct_LIPO+y}
8133 then :
8134 printf %s "(cached) " >&6
8135 else $as_nop
73998136 if test -n "$ac_ct_LIPO"; then
74008137 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
74018138 else
74038140 for as_dir in $PATH
74048141 do
74058142 IFS=$as_save_IFS
7406 test -z "$as_dir" && as_dir=.
8143 case $as_dir in #(((
8144 '') as_dir=./ ;;
8145 */) ;;
8146 *) as_dir=$as_dir/ ;;
8147 esac
74078148 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
74098150 ac_cv_prog_ac_ct_LIPO="lipo"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
74118152 break 2
74128153 fi
74138154 done
74188159 fi
74198160 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
74208161 if test -n "$ac_ct_LIPO"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7422 $as_echo "$ac_ct_LIPO" >&6; }
7423 else
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
8162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8163 printf "%s\n" "$ac_ct_LIPO" >&6; }
8164 else
8165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 printf "%s\n" "no" >&6; }
74268167 fi
74278168
74288169 if test "x$ac_ct_LIPO" = x; then
74308171 else
74318172 case $cross_compiling:$ac_tool_warned in
74328173 yes:)
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8175 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
74358176 ac_tool_warned=yes ;;
74368177 esac
74378178 LIPO=$ac_ct_LIPO
74438184 if test -n "$ac_tool_prefix"; then
74448185 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
74458186 set dummy ${ac_tool_prefix}otool; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447 $as_echo_n "checking for $ac_word... " >&6; }
7448 if ${ac_cv_prog_OTOOL+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
8187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 printf %s "checking for $ac_word... " >&6; }
8189 if test ${ac_cv_prog_OTOOL+y}
8190 then :
8191 printf %s "(cached) " >&6
8192 else $as_nop
74518193 if test -n "$OTOOL"; then
74528194 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
74538195 else
74558197 for as_dir in $PATH
74568198 do
74578199 IFS=$as_save_IFS
7458 test -z "$as_dir" && as_dir=.
8200 case $as_dir in #(((
8201 '') as_dir=./ ;;
8202 */) ;;
8203 *) as_dir=$as_dir/ ;;
8204 esac
74598205 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
74618207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
74638209 break 2
74648210 fi
74658211 done
74708216 fi
74718217 OTOOL=$ac_cv_prog_OTOOL
74728218 if test -n "$OTOOL"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7474 $as_echo "$OTOOL" >&6; }
7475 else
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7477 $as_echo "no" >&6; }
8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8220 printf "%s\n" "$OTOOL" >&6; }
8221 else
8222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 printf "%s\n" "no" >&6; }
74788224 fi
74798225
74808226
74838229 ac_ct_OTOOL=$OTOOL
74848230 # Extract the first word of "otool", so it can be a program name with args.
74858231 set dummy otool; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7489 $as_echo_n "(cached) " >&6
7490 else
8232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 printf %s "checking for $ac_word... " >&6; }
8234 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8235 then :
8236 printf %s "(cached) " >&6
8237 else $as_nop
74918238 if test -n "$ac_ct_OTOOL"; then
74928239 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
74938240 else
74958242 for as_dir in $PATH
74968243 do
74978244 IFS=$as_save_IFS
7498 test -z "$as_dir" && as_dir=.
8245 case $as_dir in #(((
8246 '') as_dir=./ ;;
8247 */) ;;
8248 *) as_dir=$as_dir/ ;;
8249 esac
74998250 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
75018252 ac_cv_prog_ac_ct_OTOOL="otool"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
75038254 break 2
75048255 fi
75058256 done
75108261 fi
75118262 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
75128263 if test -n "$ac_ct_OTOOL"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7514 $as_echo "$ac_ct_OTOOL" >&6; }
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
8264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8265 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8266 else
8267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8268 printf "%s\n" "no" >&6; }
75188269 fi
75198270
75208271 if test "x$ac_ct_OTOOL" = x; then
75228273 else
75238274 case $cross_compiling:$ac_tool_warned in
75248275 yes:)
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8277 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
75278278 ac_tool_warned=yes ;;
75288279 esac
75298280 OTOOL=$ac_ct_OTOOL
75358286 if test -n "$ac_tool_prefix"; then
75368287 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
75378288 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_OTOOL64+:} false; then :
7541 $as_echo_n "(cached) " >&6
7542 else
8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 printf %s "checking for $ac_word... " >&6; }
8291 if test ${ac_cv_prog_OTOOL64+y}
8292 then :
8293 printf %s "(cached) " >&6
8294 else $as_nop
75438295 if test -n "$OTOOL64"; then
75448296 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
75458297 else
75478299 for as_dir in $PATH
75488300 do
75498301 IFS=$as_save_IFS
7550 test -z "$as_dir" && as_dir=.
8302 case $as_dir in #(((
8303 '') as_dir=./ ;;
8304 */) ;;
8305 *) as_dir=$as_dir/ ;;
8306 esac
75518307 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
75538309 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
75558311 break 2
75568312 fi
75578313 done
75628318 fi
75638319 OTOOL64=$ac_cv_prog_OTOOL64
75648320 if test -n "$OTOOL64"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7566 $as_echo "$OTOOL64" >&6; }
7567 else
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
8321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8322 printf "%s\n" "$OTOOL64" >&6; }
8323 else
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 printf "%s\n" "no" >&6; }
75708326 fi
75718327
75728328
75758331 ac_ct_OTOOL64=$OTOOL64
75768332 # Extract the first word of "otool64", so it can be a program name with args.
75778333 set dummy otool64; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
8334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335 printf %s "checking for $ac_word... " >&6; }
8336 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8337 then :
8338 printf %s "(cached) " >&6
8339 else $as_nop
75838340 if test -n "$ac_ct_OTOOL64"; then
75848341 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
75858342 else
75878344 for as_dir in $PATH
75888345 do
75898346 IFS=$as_save_IFS
7590 test -z "$as_dir" && as_dir=.
8347 case $as_dir in #(((
8348 '') as_dir=./ ;;
8349 */) ;;
8350 *) as_dir=$as_dir/ ;;
8351 esac
75918352 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8353 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
75938354 ac_cv_prog_ac_ct_OTOOL64="otool64"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
75958356 break 2
75968357 fi
75978358 done
76028363 fi
76038364 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
76048365 if test -n "$ac_ct_OTOOL64"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7606 $as_echo "$ac_ct_OTOOL64" >&6; }
7607 else
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8367 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8368 else
8369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 printf "%s\n" "no" >&6; }
76108371 fi
76118372
76128373 if test "x$ac_ct_OTOOL64" = x; then
76148375 else
76158376 case $cross_compiling:$ac_tool_warned in
76168377 yes:)
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8379 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
76198380 ac_tool_warned=yes ;;
76208381 esac
76218382 OTOOL64=$ac_ct_OTOOL64
76508411
76518412
76528413
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7654 $as_echo_n "checking for -single_module linker flag... " >&6; }
7655 if ${lt_cv_apple_cc_single_mod+:} false; then :
7656 $as_echo_n "(cached) " >&6
7657 else
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8415 printf %s "checking for -single_module linker flag... " >&6; }
8416 if test ${lt_cv_apple_cc_single_mod+y}
8417 then :
8418 printf %s "(cached) " >&6
8419 else $as_nop
76588420 lt_cv_apple_cc_single_mod=no
76598421 if test -z "$LT_MULTI_MODULE"; then
76608422 # By default we will add the -single_module flag. You can override
76838445 rm -f conftest.*
76848446 fi
76858447 fi
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7687 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7688
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7690 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7691 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7692 $as_echo_n "(cached) " >&6
7693 else
8448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8449 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8450
8451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8452 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8453 if test ${lt_cv_ld_exported_symbols_list+y}
8454 then :
8455 printf %s "(cached) " >&6
8456 else $as_nop
76948457 lt_cv_ld_exported_symbols_list=no
76958458 save_LDFLAGS=$LDFLAGS
76968459 echo "_main" > conftest.sym
76998462 /* end confdefs.h. */
77008463
77018464 int
7702 main ()
8465 main (void)
77038466 {
77048467
77058468 ;
77068469 return 0;
77078470 }
77088471 _ACEOF
7709 if ac_fn_c_try_link "$LINENO"; then :
8472 if ac_fn_c_try_link "$LINENO"
8473 then :
77108474 lt_cv_ld_exported_symbols_list=yes
7711 else
8475 else $as_nop
77128476 lt_cv_ld_exported_symbols_list=no
77138477 fi
7714 rm -f core conftest.err conftest.$ac_objext \
8478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
77158479 conftest$ac_exeext conftest.$ac_ext
77168480 LDFLAGS=$save_LDFLAGS
77178481
77188482 fi
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7720 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7721
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7723 $as_echo_n "checking for -force_load linker flag... " >&6; }
7724 if ${lt_cv_ld_force_load+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
8483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8484 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8485
8486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8487 printf %s "checking for -force_load linker flag... " >&6; }
8488 if test ${lt_cv_ld_force_load+y}
8489 then :
8490 printf %s "(cached) " >&6
8491 else $as_nop
77278492 lt_cv_ld_force_load=no
77288493 cat > conftest.c << _LT_EOF
77298494 int forced_loaded() { return 2;}
77308495 _LT_EOF
77318496 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
77328497 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7733 echo "$AR cru libconftest.a conftest.o" >&5
7734 $AR cru libconftest.a conftest.o 2>&5
8498 echo "$AR cr libconftest.a conftest.o" >&5
8499 $AR cr libconftest.a conftest.o 2>&5
77358500 echo "$RANLIB libconftest.a" >&5
77368501 $RANLIB libconftest.a 2>&5
77378502 cat > conftest.c << _LT_EOF
77518516 rm -rf conftest.dSYM
77528517
77538518 fi
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7755 $as_echo "$lt_cv_ld_force_load" >&6; }
8519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8520 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
77568521 case $host_os in
77578522 rhapsody* | darwin1.[012])
77588523 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
77638528 # to the OS version, if on x86, and 10.4, the deployment
77648529 # target defaults to 10.4. Don't you love it?
77658530 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7766 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8531 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
77678532 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
77688533 10.[012][,.]*)
77698534 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7770 10.*)
8535 10.*|11.*)
77718536 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
77728537 esac
77738538 ;;
78238588 esac
78248589 }
78258590
7826 ac_ext=c
7827 ac_cpp='$CPP $CPPFLAGS'
7828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7832 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7833 # On Suns, sometimes $CPP names a directory.
7834 if test -n "$CPP" && test -d "$CPP"; then
7835 CPP=
7836 fi
7837 if test -z "$CPP"; then
7838 if ${ac_cv_prog_CPP+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 # Double quotes because CPP needs to be expanded
7842 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7843 do
7844 ac_preproc_ok=false
7845 for ac_c_preproc_warn_flag in '' yes
8591 ac_header= ac_cache=
8592 for ac_item in $ac_header_c_list
78468593 do
7847 # Use a header file that comes with gcc, so configuring glibc
7848 # with a fresh cross-compiler works.
7849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7850 # <limits.h> exists even on freestanding compilers.
7851 # On the NeXT, cc -E runs the code through the compiler's parser,
7852 # not just through cpp. "Syntax error" is here to catch this case.
7853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7855 #ifdef __STDC__
7856 # include <limits.h>
7857 #else
7858 # include <assert.h>
7859 #endif
7860 Syntax error
7861 _ACEOF
7862 if ac_fn_c_try_cpp "$LINENO"; then :
7863
7864 else
7865 # Broken: fails on valid input.
7866 continue
7867 fi
7868 rm -f conftest.err conftest.i conftest.$ac_ext
7869
7870 # OK, works on sane cases. Now check whether nonexistent headers
7871 # can be detected and how.
7872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7874 #include <ac_nonexistent.h>
7875 _ACEOF
7876 if ac_fn_c_try_cpp "$LINENO"; then :
7877 # Broken: success on invalid input.
7878 continue
7879 else
7880 # Passes both tests.
7881 ac_preproc_ok=:
7882 break
7883 fi
7884 rm -f conftest.err conftest.i conftest.$ac_ext
7885
8594 if test $ac_cache; then
8595 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8596 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8597 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8598 fi
8599 ac_header= ac_cache=
8600 elif test $ac_header; then
8601 ac_cache=$ac_item
8602 else
8603 ac_header=$ac_item
8604 fi
78868605 done
7887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7888 rm -f conftest.i conftest.err conftest.$ac_ext
7889 if $ac_preproc_ok; then :
7890 break
7891 fi
7892
7893 done
7894 ac_cv_prog_CPP=$CPP
7895
7896 fi
7897 CPP=$ac_cv_prog_CPP
7898 else
7899 ac_cv_prog_CPP=$CPP
7900 fi
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7902 $as_echo "$CPP" >&6; }
7903 ac_preproc_ok=false
7904 for ac_c_preproc_warn_flag in '' yes
7905 do
7906 # Use a header file that comes with gcc, so configuring glibc
7907 # with a fresh cross-compiler works.
7908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7909 # <limits.h> exists even on freestanding compilers.
7910 # On the NeXT, cc -E runs the code through the compiler's parser,
7911 # not just through cpp. "Syntax error" is here to catch this case.
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7914 #ifdef __STDC__
7915 # include <limits.h>
7916 #else
7917 # include <assert.h>
7918 #endif
7919 Syntax error
7920 _ACEOF
7921 if ac_fn_c_try_cpp "$LINENO"; then :
7922
7923 else
7924 # Broken: fails on valid input.
7925 continue
7926 fi
7927 rm -f conftest.err conftest.i conftest.$ac_ext
7928
7929 # OK, works on sane cases. Now check whether nonexistent headers
7930 # can be detected and how.
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7933 #include <ac_nonexistent.h>
7934 _ACEOF
7935 if ac_fn_c_try_cpp "$LINENO"; then :
7936 # Broken: success on invalid input.
7937 continue
7938 else
7939 # Passes both tests.
7940 ac_preproc_ok=:
7941 break
7942 fi
7943 rm -f conftest.err conftest.i conftest.$ac_ext
7944
7945 done
7946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7947 rm -f conftest.i conftest.err conftest.$ac_ext
7948 if $ac_preproc_ok; then :
7949
7950 else
7951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7953 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7954 See \`config.log' for more details" "$LINENO" 5; }
7955 fi
7956
7957 ac_ext=c
7958 ac_cpp='$CPP $CPPFLAGS'
7959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7962
7963
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7965 $as_echo_n "checking for ANSI C header files... " >&6; }
7966 if ${ac_cv_header_stdc+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 #include <stdlib.h>
7972 #include <stdarg.h>
7973 #include <string.h>
7974 #include <float.h>
7975
7976 int
7977 main ()
7978 {
7979
7980 ;
7981 return 0;
7982 }
7983 _ACEOF
7984 if ac_fn_c_try_compile "$LINENO"; then :
7985 ac_cv_header_stdc=yes
7986 else
7987 ac_cv_header_stdc=no
7988 fi
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7990
7991 if test $ac_cv_header_stdc = yes; then
7992 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 #include <string.h>
7996
7997 _ACEOF
7998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999 $EGREP "memchr" >/dev/null 2>&1; then :
8000
8001 else
8002 ac_cv_header_stdc=no
8003 fi
8004 rm -f conftest*
8005
8006 fi
8007
8008 if test $ac_cv_header_stdc = yes; then
8009 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 #include <stdlib.h>
8013
8014 _ACEOF
8015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016 $EGREP "free" >/dev/null 2>&1; then :
8017
8018 else
8019 ac_cv_header_stdc=no
8020 fi
8021 rm -f conftest*
8022
8023 fi
8024
8025 if test $ac_cv_header_stdc = yes; then
8026 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8027 if test "$cross_compiling" = yes; then :
8028 :
8029 else
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 #include <ctype.h>
8033 #include <stdlib.h>
8034 #if ((' ' & 0x0FF) == 0x020)
8035 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8036 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8037 #else
8038 # define ISLOWER(c) \
8039 (('a' <= (c) && (c) <= 'i') \
8040 || ('j' <= (c) && (c) <= 'r') \
8041 || ('s' <= (c) && (c) <= 'z'))
8042 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8043 #endif
8044
8045 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8046 int
8047 main ()
8048 {
8049 int i;
8050 for (i = 0; i < 256; i++)
8051 if (XOR (islower (i), ISLOWER (i))
8052 || toupper (i) != TOUPPER (i))
8053 return 2;
8054 return 0;
8055 }
8056 _ACEOF
8057 if ac_fn_c_try_run "$LINENO"; then :
8058
8059 else
8060 ac_cv_header_stdc=no
8061 fi
8062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8063 conftest.$ac_objext conftest.beam conftest.$ac_ext
8064 fi
8065
8066 fi
8067 fi
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8069 $as_echo "$ac_cv_header_stdc" >&6; }
8070 if test $ac_cv_header_stdc = yes; then
8071
8072 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8073
8074 fi
8075
8076 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8078 inttypes.h stdint.h unistd.h
8079 do :
8080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8081 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8606
8607
8608
8609
8610
8611
8612
8613
8614 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8615 then :
8616
8617 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8618
8619 fi
8620 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
80828621 "
8083 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8087
8088 fi
8089
8090 done
8091
8092
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 "
8097 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8101
8102 fi
8103
8104 done
8622 if test "x$ac_cv_header_dlfcn_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8625
8626 fi
81058627
81068628
81078629
81158637 if test -n "$ac_tool_prefix"; then
81168638 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
81178639 set dummy ${ac_tool_prefix}as; ac_word=$2
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8119 $as_echo_n "checking for $ac_word... " >&6; }
8120 if ${ac_cv_prog_AS+:} false; then :
8121 $as_echo_n "(cached) " >&6
8122 else
8640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 printf %s "checking for $ac_word... " >&6; }
8642 if test ${ac_cv_prog_AS+y}
8643 then :
8644 printf %s "(cached) " >&6
8645 else $as_nop
81238646 if test -n "$AS"; then
81248647 ac_cv_prog_AS="$AS" # Let the user override the test.
81258648 else
81278650 for as_dir in $PATH
81288651 do
81298652 IFS=$as_save_IFS
8130 test -z "$as_dir" && as_dir=.
8653 case $as_dir in #(((
8654 '') as_dir=./ ;;
8655 */) ;;
8656 *) as_dir=$as_dir/ ;;
8657 esac
81318658 for ac_exec_ext in '' $ac_executable_extensions; do
8132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8659 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
81338660 ac_cv_prog_AS="${ac_tool_prefix}as"
8134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
81358662 break 2
81368663 fi
81378664 done
81428669 fi
81438670 AS=$ac_cv_prog_AS
81448671 if test -n "$AS"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8146 $as_echo "$AS" >&6; }
8147 else
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8149 $as_echo "no" >&6; }
8672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8673 printf "%s\n" "$AS" >&6; }
8674 else
8675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676 printf "%s\n" "no" >&6; }
81508677 fi
81518678
81528679
81558682 ac_ct_AS=$AS
81568683 # Extract the first word of "as", so it can be a program name with args.
81578684 set dummy as; ac_word=$2
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8159 $as_echo_n "checking for $ac_word... " >&6; }
8160 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 printf %s "checking for $ac_word... " >&6; }
8687 if test ${ac_cv_prog_ac_ct_AS+y}
8688 then :
8689 printf %s "(cached) " >&6
8690 else $as_nop
81638691 if test -n "$ac_ct_AS"; then
81648692 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
81658693 else
81678695 for as_dir in $PATH
81688696 do
81698697 IFS=$as_save_IFS
8170 test -z "$as_dir" && as_dir=.
8698 case $as_dir in #(((
8699 '') as_dir=./ ;;
8700 */) ;;
8701 *) as_dir=$as_dir/ ;;
8702 esac
81718703 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
81738705 ac_cv_prog_ac_ct_AS="as"
8174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
81758707 break 2
81768708 fi
81778709 done
81828714 fi
81838715 ac_ct_AS=$ac_cv_prog_ac_ct_AS
81848716 if test -n "$ac_ct_AS"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8186 $as_echo "$ac_ct_AS" >&6; }
8187 else
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8718 printf "%s\n" "$ac_ct_AS" >&6; }
8719 else
8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 printf "%s\n" "no" >&6; }
81908722 fi
81918723
81928724 if test "x$ac_ct_AS" = x; then
81948726 else
81958727 case $cross_compiling:$ac_tool_warned in
81968728 yes:)
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
81998731 ac_tool_warned=yes ;;
82008732 esac
82018733 AS=$ac_ct_AS
82078739 if test -n "$ac_tool_prefix"; then
82088740 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
82098741 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211 $as_echo_n "checking for $ac_word... " >&6; }
8212 if ${ac_cv_prog_DLLTOOL+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743 printf %s "checking for $ac_word... " >&6; }
8744 if test ${ac_cv_prog_DLLTOOL+y}
8745 then :
8746 printf %s "(cached) " >&6
8747 else $as_nop
82158748 if test -n "$DLLTOOL"; then
82168749 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
82178750 else
82198752 for as_dir in $PATH
82208753 do
82218754 IFS=$as_save_IFS
8222 test -z "$as_dir" && as_dir=.
8755 case $as_dir in #(((
8756 '') as_dir=./ ;;
8757 */) ;;
8758 *) as_dir=$as_dir/ ;;
8759 esac
82238760 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
82258762 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
82278764 break 2
82288765 fi
82298766 done
82348771 fi
82358772 DLLTOOL=$ac_cv_prog_DLLTOOL
82368773 if test -n "$DLLTOOL"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8238 $as_echo "$DLLTOOL" >&6; }
8239 else
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8775 printf "%s\n" "$DLLTOOL" >&6; }
8776 else
8777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778 printf "%s\n" "no" >&6; }
82428779 fi
82438780
82448781
82478784 ac_ct_DLLTOOL=$DLLTOOL
82488785 # Extract the first word of "dlltool", so it can be a program name with args.
82498786 set dummy dlltool; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8788 printf %s "checking for $ac_word... " >&6; }
8789 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
8790 then :
8791 printf %s "(cached) " >&6
8792 else $as_nop
82558793 if test -n "$ac_ct_DLLTOOL"; then
82568794 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
82578795 else
82598797 for as_dir in $PATH
82608798 do
82618799 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8800 case $as_dir in #(((
8801 '') as_dir=./ ;;
8802 */) ;;
8803 *) as_dir=$as_dir/ ;;
8804 esac
82638805 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
82658807 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
82678809 break 2
82688810 fi
82698811 done
82748816 fi
82758817 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
82768818 if test -n "$ac_ct_DLLTOOL"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8278 $as_echo "$ac_ct_DLLTOOL" >&6; }
8279 else
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8820 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
8821 else
8822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8823 printf "%s\n" "no" >&6; }
82828824 fi
82838825
82848826 if test "x$ac_ct_DLLTOOL" = x; then
82868828 else
82878829 case $cross_compiling:$ac_tool_warned in
82888830 yes:)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8832 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
82918833 ac_tool_warned=yes ;;
82928834 esac
82938835 DLLTOOL=$ac_ct_DLLTOOL
82998841 if test -n "$ac_tool_prefix"; then
83008842 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
83018843 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if ${ac_cv_prog_OBJDUMP+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 printf %s "checking for $ac_word... " >&6; }
8846 if test ${ac_cv_prog_OBJDUMP+y}
8847 then :
8848 printf %s "(cached) " >&6
8849 else $as_nop
83078850 if test -n "$OBJDUMP"; then
83088851 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
83098852 else
83118854 for as_dir in $PATH
83128855 do
83138856 IFS=$as_save_IFS
8314 test -z "$as_dir" && as_dir=.
8857 case $as_dir in #(((
8858 '') as_dir=./ ;;
8859 */) ;;
8860 *) as_dir=$as_dir/ ;;
8861 esac
83158862 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83178864 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83198866 break 2
83208867 fi
83218868 done
83268873 fi
83278874 OBJDUMP=$ac_cv_prog_OBJDUMP
83288875 if test -n "$OBJDUMP"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8330 $as_echo "$OBJDUMP" >&6; }
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8877 printf "%s\n" "$OBJDUMP" >&6; }
8878 else
8879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 printf "%s\n" "no" >&6; }
83348881 fi
83358882
83368883
83398886 ac_ct_OBJDUMP=$OBJDUMP
83408887 # Extract the first word of "objdump", so it can be a program name with args.
83418888 set dummy objdump; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8890 printf %s "checking for $ac_word... " >&6; }
8891 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
8892 then :
8893 printf %s "(cached) " >&6
8894 else $as_nop
83478895 if test -n "$ac_ct_OBJDUMP"; then
83488896 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
83498897 else
83518899 for as_dir in $PATH
83528900 do
83538901 IFS=$as_save_IFS
8354 test -z "$as_dir" && as_dir=.
8902 case $as_dir in #(((
8903 '') as_dir=./ ;;
8904 */) ;;
8905 *) as_dir=$as_dir/ ;;
8906 esac
83558907 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8908 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83578909 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83598911 break 2
83608912 fi
83618913 done
83668918 fi
83678919 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
83688920 if test -n "$ac_ct_OBJDUMP"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8370 $as_echo "$ac_ct_OBJDUMP" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8922 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
8923 else
8924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 printf "%s\n" "no" >&6; }
83748926 fi
83758927
83768928 if test "x$ac_ct_OBJDUMP" = x; then
83788930 else
83798931 case $cross_compiling:$ac_tool_warned in
83808932 yes:)
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8934 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
83838935 ac_tool_warned=yes ;;
83848936 esac
83858937 OBJDUMP=$ac_ct_OBJDUMP
84168968
84178969
84188970 # Check whether --enable-shared was given.
8419 if test "${enable_shared+set}" = set; then :
8971 if test ${enable_shared+y}
8972 then :
84208973 enableval=$enable_shared; p=${PACKAGE-default}
84218974 case $enableval in
84228975 yes) enable_shared=yes ;;
84348987 IFS=$lt_save_ifs
84358988 ;;
84368989 esac
8437 else
8990 else $as_nop
84388991 enable_shared=yes
84398992 fi
84408993
84479000
84489001
84499002 # Check whether --enable-static was given.
8450 if test "${enable_static+set}" = set; then :
9003 if test ${enable_static+y}
9004 then :
84519005 enableval=$enable_static; p=${PACKAGE-default}
84529006 case $enableval in
84539007 yes) enable_static=yes ;;
84659019 IFS=$lt_save_ifs
84669020 ;;
84679021 esac
8468 else
9022 else $as_nop
84699023 enable_static=yes
84709024 fi
84719025
84799033
84809034
84819035 # Check whether --with-pic was given.
8482 if test "${with_pic+set}" = set; then :
9036 if test ${with_pic+y}
9037 then :
84839038 withval=$with_pic; lt_p=${PACKAGE-default}
84849039 case $withval in
84859040 yes|no) pic_mode=$withval ;;
84969051 IFS=$lt_save_ifs
84979052 ;;
84989053 esac
8499 else
9054 else $as_nop
85009055 pic_mode=default
85019056 fi
85029057
85089063
85099064
85109065 # Check whether --enable-fast-install was given.
8511 if test "${enable_fast_install+set}" = set; then :
9066 if test ${enable_fast_install+y}
9067 then :
85129068 enableval=$enable_fast_install; p=${PACKAGE-default}
85139069 case $enableval in
85149070 yes) enable_fast_install=yes ;;
85269082 IFS=$lt_save_ifs
85279083 ;;
85289084 esac
8529 else
9085 else $as_nop
85309086 enable_fast_install=yes
85319087 fi
85329088
85409096 shared_archive_member_spec=
85419097 case $host,$enable_shared in
85429098 power*-*-aix[5-9]*,yes)
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8544 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9100 printf %s "checking which variant of shared library versioning to provide... " >&6; }
85459101
85469102 # Check whether --with-aix-soname was given.
8547 if test "${with_aix_soname+set}" = set; then :
9103 if test ${with_aix_soname+y}
9104 then :
85489105 withval=$with_aix_soname; case $withval in
85499106 aix|svr4|both)
85509107 ;;
85539110 ;;
85549111 esac
85559112 lt_cv_with_aix_soname=$with_aix_soname
8556 else
8557 if ${lt_cv_with_aix_soname+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
9113 else $as_nop
9114 if test ${lt_cv_with_aix_soname+y}
9115 then :
9116 printf %s "(cached) " >&6
9117 else $as_nop
85609118 lt_cv_with_aix_soname=aix
85619119 fi
85629120
85639121 with_aix_soname=$lt_cv_with_aix_soname
85649122 fi
85659123
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8567 $as_echo "$with_aix_soname" >&6; }
9124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9125 printf "%s\n" "$with_aix_soname" >&6; }
85689126 if test aix != "$with_aix_soname"; then
85699127 # For the AIX way of multilib, we name the shared archive member
85709128 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
86469204 setopt NO_GLOB_SUBST
86479205 fi
86489206
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8650 $as_echo_n "checking for objdir... " >&6; }
8651 if ${lt_cv_objdir+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9208 printf %s "checking for objdir... " >&6; }
9209 if test ${lt_cv_objdir+y}
9210 then :
9211 printf %s "(cached) " >&6
9212 else $as_nop
86549213 rm -f .libs 2>/dev/null
86559214 mkdir .libs 2>/dev/null
86569215 if test -d .libs; then
86619220 fi
86629221 rmdir .libs 2>/dev/null
86639222 fi
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8665 $as_echo "$lt_cv_objdir" >&6; }
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9224 printf "%s\n" "$lt_cv_objdir" >&6; }
86669225 objdir=$lt_cv_objdir
86679226
86689227
86699228
86709229
86719230
8672 cat >>confdefs.h <<_ACEOF
8673 #define LT_OBJDIR "$lt_cv_objdir/"
8674 _ACEOF
9231 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
86759232
86769233
86779234
87179274 case $deplibs_check_method in
87189275 file_magic*)
87199276 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8721 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8722 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9278 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9279 if test ${lt_cv_path_MAGIC_CMD+y}
9280 then :
9281 printf %s "(cached) " >&6
9282 else $as_nop
87259283 case $MAGIC_CMD in
87269284 [\\/*] | ?:[\\/]*)
87279285 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
87709328
87719329 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
87729330 if test -n "$MAGIC_CMD"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8774 $as_echo "$MAGIC_CMD" >&6; }
8775 else
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9332 printf "%s\n" "$MAGIC_CMD" >&6; }
9333 else
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 printf "%s\n" "no" >&6; }
87789336 fi
87799337
87809338
87839341
87849342 if test -z "$lt_cv_path_MAGIC_CMD"; then
87859343 if test -n "$ac_tool_prefix"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8787 $as_echo_n "checking for file... " >&6; }
8788 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9345 printf %s "checking for file... " >&6; }
9346 if test ${lt_cv_path_MAGIC_CMD+y}
9347 then :
9348 printf %s "(cached) " >&6
9349 else $as_nop
87919350 case $MAGIC_CMD in
87929351 [\\/*] | ?:[\\/]*)
87939352 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
88369395
88379396 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
88389397 if test -n "$MAGIC_CMD"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8840 $as_echo "$MAGIC_CMD" >&6; }
8841 else
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9399 printf "%s\n" "$MAGIC_CMD" >&6; }
9400 else
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9402 printf "%s\n" "no" >&6; }
88449403 fi
88459404
88469405
89219480 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
89229481 esac
89239482
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8925 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8926 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8927 $as_echo_n "(cached) " >&6
8928 else
9483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9484 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9485 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9486 then :
9487 printf %s "(cached) " >&6
9488 else $as_nop
89299489 lt_cv_prog_compiler_rtti_exceptions=no
89309490 ac_outfile=conftest.$ac_objext
89319491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
89569516 $RM conftest*
89579517
89589518 fi
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8960 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9520 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
89619521
89629522 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
89639523 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
91529712 ecc*)
91539713 lt_prog_compiler_wl='-Wl,'
91549714 lt_prog_compiler_pic='-KPIC'
9715 lt_prog_compiler_static='-static'
9716 ;;
9717 # flang / f18. f95 an alias for gfortran or flang on Debian
9718 flang* | f18* | f95*)
9719 lt_prog_compiler_wl='-Wl,'
9720 lt_prog_compiler_pic='-fPIC'
91559721 lt_prog_compiler_static='-static'
91569722 ;;
91579723 # icc used to be incompatible with GCC.
93149880 ;;
93159881 esac
93169882
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9318 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9319 if ${lt_cv_prog_compiler_pic+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9884 printf %s "checking for $compiler option to produce PIC... " >&6; }
9885 if test ${lt_cv_prog_compiler_pic+y}
9886 then :
9887 printf %s "(cached) " >&6
9888 else $as_nop
93229889 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
93239890 fi
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9325 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9892 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
93269893 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
93279894
93289895 #
93299896 # Check to make sure the PIC flag actually works.
93309897 #
93319898 if test -n "$lt_prog_compiler_pic"; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9333 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9334 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9900 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9901 if test ${lt_cv_prog_compiler_pic_works+y}
9902 then :
9903 printf %s "(cached) " >&6
9904 else $as_nop
93379905 lt_cv_prog_compiler_pic_works=no
93389906 ac_outfile=conftest.$ac_objext
93399907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
93649932 $RM conftest*
93659933
93669934 fi
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9368 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9936 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
93699937
93709938 if test yes = "$lt_cv_prog_compiler_pic_works"; then
93719939 case $lt_prog_compiler_pic in
93939961 # Check to make sure the static flag actually works.
93949962 #
93959963 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9397 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9398 if ${lt_cv_prog_compiler_static_works+:} false; then :
9399 $as_echo_n "(cached) " >&6
9400 else
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9965 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9966 if test ${lt_cv_prog_compiler_static_works+y}
9967 then :
9968 printf %s "(cached) " >&6
9969 else $as_nop
94019970 lt_cv_prog_compiler_static_works=no
94029971 save_LDFLAGS=$LDFLAGS
94039972 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
94219990 LDFLAGS=$save_LDFLAGS
94229991
94239992 fi
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9425 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9994 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
94269995
94279996 if test yes = "$lt_cv_prog_compiler_static_works"; then
94289997 :
943610005
943710006
943810007
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9440 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9441 if ${lt_cv_prog_compiler_c_o+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10009 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10010 if test ${lt_cv_prog_compiler_c_o+y}
10011 then :
10012 printf %s "(cached) " >&6
10013 else $as_nop
944410014 lt_cv_prog_compiler_c_o=no
944510015 $RM -r conftest 2>/dev/null
944610016 mkdir conftest
948310053 $RM conftest*
948410054
948510055 fi
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9487 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9488
9489
9490
9491
9492
9493
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9495 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9496 if ${lt_cv_prog_compiler_c_o+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10057 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10058
10059
10060
10061
10062
10063
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10065 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10066 if test ${lt_cv_prog_compiler_c_o+y}
10067 then :
10068 printf %s "(cached) " >&6
10069 else $as_nop
949910070 lt_cv_prog_compiler_c_o=no
950010071 $RM -r conftest 2>/dev/null
950110072 mkdir conftest
953810109 $RM conftest*
953910110
954010111 fi
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9542 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10113 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
954310114
954410115
954510116
954710118 hard_links=nottested
954810119 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
954910120 # do not overwrite the value of need_locks provided by the user
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9551 $as_echo_n "checking if we can lock with hard links... " >&6; }
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10122 printf %s "checking if we can lock with hard links... " >&6; }
955210123 hard_links=yes
955310124 $RM conftest*
955410125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
955510126 touch conftest.a
955610127 ln conftest.a conftest.b 2>&5 || hard_links=no
955710128 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9559 $as_echo "$hard_links" >&6; }
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10130 printf "%s\n" "$hard_links" >&6; }
956010131 if test no = "$hard_links"; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9562 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10133 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
956310134 need_locks=warn
956410135 fi
956510136 else
957110142
957210143
957310144
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9575 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10146 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
957610147
957710148 runpath_var=
957810149 allow_undefined_flag=
962910200 ;;
963010201 openbsd* | bitrig*)
963110202 with_gnu_ld=no
10203 ;;
10204 linux* | k*bsd*-gnu | gnu*)
10205 link_all_deplibs=no
963210206 ;;
963310207 esac
963410208
988410458 fi
988510459 ;;
988610460
9887 netbsd*)
10461 netbsd* | netbsdelf*-gnu)
988810462 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
988910463 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
989010464 wlarc=
1012710701 if test set = "${lt_cv_aix_libpath+set}"; then
1012810702 aix_libpath=$lt_cv_aix_libpath
1012910703 else
10130 if ${lt_cv_aix_libpath_+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10704 if test ${lt_cv_aix_libpath_+y}
10705 then :
10706 printf %s "(cached) " >&6
10707 else $as_nop
1013310708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1013410709 /* end confdefs.h. */
1013510710
1013610711 int
10137 main ()
10712 main (void)
1013810713 {
1013910714
1014010715 ;
1014110716 return 0;
1014210717 }
1014310718 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
1014510721
1014610722 lt_aix_libpath_sed='
1014710723 /Import File Strings/,/^$/ {
1015610732 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1015710733 fi
1015810734 fi
10159 rm -f core conftest.err conftest.$ac_objext \
10735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1016010736 conftest$ac_exeext conftest.$ac_ext
1016110737 if test -z "$lt_cv_aix_libpath_"; then
1016210738 lt_cv_aix_libpath_=/usr/lib:/lib
1018010756 if test set = "${lt_cv_aix_libpath+set}"; then
1018110757 aix_libpath=$lt_cv_aix_libpath
1018210758 else
10183 if ${lt_cv_aix_libpath_+:} false; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10759 if test ${lt_cv_aix_libpath_+y}
10760 then :
10761 printf %s "(cached) " >&6
10762 else $as_nop
1018610763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1018710764 /* end confdefs.h. */
1018810765
1018910766 int
10190 main ()
10767 main (void)
1019110768 {
1019210769
1019310770 ;
1019410771 return 0;
1019510772 }
1019610773 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10774 if ac_fn_c_try_link "$LINENO"
10775 then :
1019810776
1019910777 lt_aix_libpath_sed='
1020010778 /Import File Strings/,/^$/ {
1020910787 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1021010788 fi
1021110789 fi
10212 rm -f core conftest.err conftest.$ac_objext \
10790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1021310791 conftest$ac_exeext conftest.$ac_ext
1021410792 if test -z "$lt_cv_aix_libpath_"; then
1021510793 lt_cv_aix_libpath_=/usr/lib:/lib
1046011038
1046111039 # Older versions of the 11.00 compiler do not understand -b yet
1046211040 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10464 $as_echo_n "checking if $CC understands -b... " >&6; }
10465 if ${lt_cv_prog_compiler__b+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11042 printf %s "checking if $CC understands -b... " >&6; }
11043 if test ${lt_cv_prog_compiler__b+y}
11044 then :
11045 printf %s "(cached) " >&6
11046 else $as_nop
1046811047 lt_cv_prog_compiler__b=no
1046911048 save_LDFLAGS=$LDFLAGS
1047011049 LDFLAGS="$LDFLAGS -b"
1048811067 LDFLAGS=$save_LDFLAGS
1048911068
1049011069 fi
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10492 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11071 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1049311072
1049411073 if test yes = "$lt_cv_prog_compiler__b"; then
1049511074 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1052911108 # work, assume that -exports_file does not work either and
1053011109 # implicitly export all symbols.
1053111110 # This should be the same for all languages, so no per-tag cache variable.
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10533 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10534 if ${lt_cv_irix_exported_symbol+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11112 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11113 if test ${lt_cv_irix_exported_symbol+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
1053711117 save_LDFLAGS=$LDFLAGS
1053811118 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1053911119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1054011120 /* end confdefs.h. */
1054111121 int foo (void) { return 0; }
1054211122 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
11123 if ac_fn_c_try_link "$LINENO"
11124 then :
1054411125 lt_cv_irix_exported_symbol=yes
10545 else
11126 else $as_nop
1054611127 lt_cv_irix_exported_symbol=no
1054711128 fi
10548 rm -f core conftest.err conftest.$ac_objext \
11129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1054911130 conftest$ac_exeext conftest.$ac_ext
1055011131 LDFLAGS=$save_LDFLAGS
1055111132 fi
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10553 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11134 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
1055411135 if test yes = "$lt_cv_irix_exported_symbol"; then
1055511136 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'
1055611137 fi
11138 link_all_deplibs=no
1055711139 else
1055811140 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'
1055911141 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'
1057511157 esac
1057611158 ;;
1057711159
10578 netbsd*)
11160 netbsd* | netbsdelf*-gnu)
1057911161 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1058011162 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1058111163 else
1083011412 fi
1083111413 fi
1083211414
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10834 $as_echo "$ld_shlibs" >&6; }
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11416 printf "%s\n" "$ld_shlibs" >&6; }
1083511417 test no = "$ld_shlibs" && can_build_shared=no
1083611418
1083711419 with_gnu_ld=$with_gnu_ld
1086711449 # Test whether the compiler implicitly links with -lc since on some
1086811450 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1086911451 # to ld, don't add -lc before -lgcc.
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10871 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10872 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11453 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11454 if test ${lt_cv_archive_cmds_need_lc+y}
11455 then :
11456 printf %s "(cached) " >&6
11457 else $as_nop
1087511458 $RM conftest*
1087611459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1087711460
1087811461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1087911462 (eval $ac_compile) 2>&5
1088011463 ac_status=$?
10881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1088211465 test $ac_status = 0; } 2>conftest.err; then
1088311466 soname=conftest
1088411467 lib=conftest
1089611479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1089711480 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1089811481 ac_status=$?
10899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1090011483 test $ac_status = 0; }
1090111484 then
1090211485 lt_cv_archive_cmds_need_lc=no
1091011493 $RM conftest*
1091111494
1091211495 fi
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10914 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11497 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1091511498 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1091611499 ;;
1091711500 esac
1107011653
1107111654
1107211655
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11074 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11657 printf %s "checking dynamic linker characteristics... " >&6; }
1107511658
1107611659 if test yes = "$GCC"; then
1107711660 case $host_os in
1163212215 shlibpath_overrides_runpath=no
1163312216
1163412217 # Some binutils ld are patched to set DT_RUNPATH
11635 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11636 $as_echo_n "(cached) " >&6
11637 else
12218 if test ${lt_cv_shlibpath_overrides_runpath+y}
12219 then :
12220 printf %s "(cached) " >&6
12221 else $as_nop
1163812222 lt_cv_shlibpath_overrides_runpath=no
1163912223 save_LDFLAGS=$LDFLAGS
1164012224 save_libdir=$libdir
1164412228 /* end confdefs.h. */
1164512229
1164612230 int
11647 main ()
12231 main (void)
1164812232 {
1164912233
1165012234 ;
1165112235 return 0;
1165212236 }
1165312237 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12238 if ac_fn_c_try_link "$LINENO"
12239 then :
12240 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12241 then :
1165612242 lt_cv_shlibpath_overrides_runpath=yes
1165712243 fi
1165812244 fi
11659 rm -f core conftest.err conftest.$ac_objext \
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1166012246 conftest$ac_exeext conftest.$ac_ext
1166112247 LDFLAGS=$save_LDFLAGS
1166212248 libdir=$save_libdir
1168812274 # people can always --disable-shared, the test was removed, and we
1168912275 # assume the GNU/Linux dynamic linker is in use.
1169012276 dynamic_linker='GNU/Linux ld.so'
12277 ;;
12278
12279 netbsdelf*-gnu)
12280 version_type=linux
12281 need_lib_prefix=no
12282 need_version=no
12283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12284 soname_spec='${libname}${release}${shared_ext}$major'
12285 shlibpath_var=LD_LIBRARY_PATH
12286 shlibpath_overrides_runpath=no
12287 hardcode_into_libs=yes
12288 dynamic_linker='NetBSD ld.elf_so'
1169112289 ;;
1169212290
1169312291 netbsd*)
1188812486 dynamic_linker=no
1188912487 ;;
1189012488 esac
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11892 $as_echo "$dynamic_linker" >&6; }
12489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12490 printf "%s\n" "$dynamic_linker" >&6; }
1189312491 test no = "$dynamic_linker" && can_build_shared=no
1189412492
1189512493 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1201012608
1201112609
1201212610
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12014 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12612 printf %s "checking how to hardcode library paths into programs... " >&6; }
1201512613 hardcode_action=
1201612614 if test -n "$hardcode_libdir_flag_spec" ||
1201712615 test -n "$runpath_var" ||
1203512633 # directories.
1203612634 hardcode_action=unsupported
1203712635 fi
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12039 $as_echo "$hardcode_action" >&6; }
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12637 printf "%s\n" "$hardcode_action" >&6; }
1204012638
1204112639 if test relink = "$hardcode_action" ||
1204212640 test yes = "$inherit_rpath"; then
1208012678
1208112679 darwin*)
1208212680 # if libdl is installed we need to link against it
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12084 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12085 if ${ac_cv_lib_dl_dlopen+:} false; then :
12086 $as_echo_n "(cached) " >&6
12087 else
12681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12682 printf %s "checking for dlopen in -ldl... " >&6; }
12683 if test ${ac_cv_lib_dl_dlopen+y}
12684 then :
12685 printf %s "(cached) " >&6
12686 else $as_nop
1208812687 ac_check_lib_save_LIBS=$LIBS
1208912688 LIBS="-ldl $LIBS"
1209012689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1209312692 /* Override any GCC internal prototype to avoid an error.
1209412693 Use char because int might match the return type of a GCC
1209512694 builtin and then its argument prototype would still apply. */
12096 #ifdef __cplusplus
12097 extern "C"
12098 #endif
1209912695 char dlopen ();
1210012696 int
12101 main ()
12697 main (void)
1210212698 {
1210312699 return dlopen ();
1210412700 ;
1210512701 return 0;
1210612702 }
1210712703 _ACEOF
12108 if ac_fn_c_try_link "$LINENO"; then :
12704 if ac_fn_c_try_link "$LINENO"
12705 then :
1210912706 ac_cv_lib_dl_dlopen=yes
12110 else
12707 else $as_nop
1211112708 ac_cv_lib_dl_dlopen=no
1211212709 fi
12113 rm -f core conftest.err conftest.$ac_objext \
12710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1211412711 conftest$ac_exeext conftest.$ac_ext
1211512712 LIBS=$ac_check_lib_save_LIBS
1211612713 fi
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12118 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12119 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12715 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12716 if test "x$ac_cv_lib_dl_dlopen" = xyes
12717 then :
1212012718 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12121 else
12719 else $as_nop
1212212720
1212312721 lt_cv_dlopen=dyld
1212412722 lt_cv_dlopen_libs=
1213812736
1213912737 *)
1214012738 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12141 if test "x$ac_cv_func_shl_load" = xyes; then :
12739 if test "x$ac_cv_func_shl_load" = xyes
12740 then :
1214212741 lt_cv_dlopen=shl_load
12143 else
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12145 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12146 if ${ac_cv_lib_dld_shl_load+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12742 else $as_nop
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12744 printf %s "checking for shl_load in -ldld... " >&6; }
12745 if test ${ac_cv_lib_dld_shl_load+y}
12746 then :
12747 printf %s "(cached) " >&6
12748 else $as_nop
1214912749 ac_check_lib_save_LIBS=$LIBS
1215012750 LIBS="-ldld $LIBS"
1215112751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1215412754 /* Override any GCC internal prototype to avoid an error.
1215512755 Use char because int might match the return type of a GCC
1215612756 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
1216012757 char shl_load ();
1216112758 int
12162 main ()
12759 main (void)
1216312760 {
1216412761 return shl_load ();
1216512762 ;
1216612763 return 0;
1216712764 }
1216812765 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12766 if ac_fn_c_try_link "$LINENO"
12767 then :
1217012768 ac_cv_lib_dld_shl_load=yes
12171 else
12769 else $as_nop
1217212770 ac_cv_lib_dld_shl_load=no
1217312771 fi
12174 rm -f core conftest.err conftest.$ac_objext \
12772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1217512773 conftest$ac_exeext conftest.$ac_ext
1217612774 LIBS=$ac_check_lib_save_LIBS
1217712775 fi
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12179 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12180 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12777 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12778 if test "x$ac_cv_lib_dld_shl_load" = xyes
12779 then :
1218112780 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12182 else
12781 else $as_nop
1218312782 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12184 if test "x$ac_cv_func_dlopen" = xyes; then :
12783 if test "x$ac_cv_func_dlopen" = xyes
12784 then :
1218512785 lt_cv_dlopen=dlopen
12186 else
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12188 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12189 if ${ac_cv_lib_dl_dlopen+:} false; then :
12190 $as_echo_n "(cached) " >&6
12191 else
12786 else $as_nop
12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12788 printf %s "checking for dlopen in -ldl... " >&6; }
12789 if test ${ac_cv_lib_dl_dlopen+y}
12790 then :
12791 printf %s "(cached) " >&6
12792 else $as_nop
1219212793 ac_check_lib_save_LIBS=$LIBS
1219312794 LIBS="-ldl $LIBS"
1219412795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1219712798 /* Override any GCC internal prototype to avoid an error.
1219812799 Use char because int might match the return type of a GCC
1219912800 builtin and then its argument prototype would still apply. */
12200 #ifdef __cplusplus
12201 extern "C"
12202 #endif
1220312801 char dlopen ();
1220412802 int
12205 main ()
12803 main (void)
1220612804 {
1220712805 return dlopen ();
1220812806 ;
1220912807 return 0;
1221012808 }
1221112809 _ACEOF
12212 if ac_fn_c_try_link "$LINENO"; then :
12810 if ac_fn_c_try_link "$LINENO"
12811 then :
1221312812 ac_cv_lib_dl_dlopen=yes
12214 else
12813 else $as_nop
1221512814 ac_cv_lib_dl_dlopen=no
1221612815 fi
12217 rm -f core conftest.err conftest.$ac_objext \
12816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1221812817 conftest$ac_exeext conftest.$ac_ext
1221912818 LIBS=$ac_check_lib_save_LIBS
1222012819 fi
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12222 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12223 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12821 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12822 if test "x$ac_cv_lib_dl_dlopen" = xyes
12823 then :
1222412824 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12225 else
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12227 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12228 if ${ac_cv_lib_svld_dlopen+:} false; then :
12229 $as_echo_n "(cached) " >&6
12230 else
12825 else $as_nop
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12827 printf %s "checking for dlopen in -lsvld... " >&6; }
12828 if test ${ac_cv_lib_svld_dlopen+y}
12829 then :
12830 printf %s "(cached) " >&6
12831 else $as_nop
1223112832 ac_check_lib_save_LIBS=$LIBS
1223212833 LIBS="-lsvld $LIBS"
1223312834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1223612837 /* Override any GCC internal prototype to avoid an error.
1223712838 Use char because int might match the return type of a GCC
1223812839 builtin and then its argument prototype would still apply. */
12239 #ifdef __cplusplus
12240 extern "C"
12241 #endif
1224212840 char dlopen ();
1224312841 int
12244 main ()
12842 main (void)
1224512843 {
1224612844 return dlopen ();
1224712845 ;
1224812846 return 0;
1224912847 }
1225012848 _ACEOF
12251 if ac_fn_c_try_link "$LINENO"; then :
12849 if ac_fn_c_try_link "$LINENO"
12850 then :
1225212851 ac_cv_lib_svld_dlopen=yes
12253 else
12852 else $as_nop
1225412853 ac_cv_lib_svld_dlopen=no
1225512854 fi
12256 rm -f core conftest.err conftest.$ac_objext \
12855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1225712856 conftest$ac_exeext conftest.$ac_ext
1225812857 LIBS=$ac_check_lib_save_LIBS
1225912858 fi
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12261 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12262 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12860 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12861 if test "x$ac_cv_lib_svld_dlopen" = xyes
12862 then :
1226312863 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12264 else
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12266 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12267 if ${ac_cv_lib_dld_dld_link+:} false; then :
12268 $as_echo_n "(cached) " >&6
12269 else
12864 else $as_nop
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12866 printf %s "checking for dld_link in -ldld... " >&6; }
12867 if test ${ac_cv_lib_dld_dld_link+y}
12868 then :
12869 printf %s "(cached) " >&6
12870 else $as_nop
1227012871 ac_check_lib_save_LIBS=$LIBS
1227112872 LIBS="-ldld $LIBS"
1227212873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1227512876 /* Override any GCC internal prototype to avoid an error.
1227612877 Use char because int might match the return type of a GCC
1227712878 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
1228112879 char dld_link ();
1228212880 int
12283 main ()
12881 main (void)
1228412882 {
1228512883 return dld_link ();
1228612884 ;
1228712885 return 0;
1228812886 }
1228912887 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12888 if ac_fn_c_try_link "$LINENO"
12889 then :
1229112890 ac_cv_lib_dld_dld_link=yes
12292 else
12891 else $as_nop
1229312892 ac_cv_lib_dld_dld_link=no
1229412893 fi
12295 rm -f core conftest.err conftest.$ac_objext \
12894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1229612895 conftest$ac_exeext conftest.$ac_ext
1229712896 LIBS=$ac_check_lib_save_LIBS
1229812897 fi
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12300 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12301 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12899 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12900 if test "x$ac_cv_lib_dld_dld_link" = xyes
12901 then :
1230212902 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1230312903 fi
1230412904
1233712937 save_LIBS=$LIBS
1233812938 LIBS="$lt_cv_dlopen_libs $LIBS"
1233912939
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12341 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12342 if ${lt_cv_dlopen_self+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12941 printf %s "checking whether a program can dlopen itself... " >&6; }
12942 if test ${lt_cv_dlopen_self+y}
12943 then :
12944 printf %s "(cached) " >&6
12945 else $as_nop
1234512946 if test yes = "$cross_compiling"; then :
1234612947 lt_cv_dlopen_self=cross
1234712948 else
1242013021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1242113022 (eval $ac_link) 2>&5
1242213023 ac_status=$?
12423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1242413025 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1242513026 (./conftest; exit; ) >&5 2>/dev/null
1242613027 lt_status=$?
1243813039
1243913040
1244013041 fi
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12442 $as_echo "$lt_cv_dlopen_self" >&6; }
13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13043 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1244313044
1244413045 if test yes = "$lt_cv_dlopen_self"; then
1244513046 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12447 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12448 if ${lt_cv_dlopen_self_static+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13048 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
13049 if test ${lt_cv_dlopen_self_static+y}
13050 then :
13051 printf %s "(cached) " >&6
13052 else $as_nop
1245113053 if test yes = "$cross_compiling"; then :
1245213054 lt_cv_dlopen_self_static=cross
1245313055 else
1252613128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1252713129 (eval $ac_link) 2>&5
1252813130 ac_status=$?
12529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1253013132 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1253113133 (./conftest; exit; ) >&5 2>/dev/null
1253213134 lt_status=$?
1254413146
1254513147
1254613148 fi
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12548 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13150 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1254913151 fi
1255013152
1255113153 CPPFLAGS=$save_CPPFLAGS
1258313185
1258413186 striplib=
1258513187 old_striplib=
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12587 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13189 printf %s "checking whether stripping libraries is possible... " >&6; }
1258813190 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
1258913191 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1259013192 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12592 $as_echo "yes" >&6; }
13193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13194 printf "%s\n" "yes" >&6; }
1259313195 else
1259413196 # FIXME - insert some real tests, host_os isn't really good enough
1259513197 case $host_os in
1259713199 if test -n "$STRIP"; then
1259813200 striplib="$STRIP -x"
1259913201 old_striplib="$STRIP -S"
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12601 $as_echo "yes" >&6; }
13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13203 printf "%s\n" "yes" >&6; }
1260213204 else
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604 $as_echo "no" >&6; }
13205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206 printf "%s\n" "no" >&6; }
1260513207 fi
1260613208 ;;
1260713209 *)
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12609 $as_echo "no" >&6; }
13210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13211 printf "%s\n" "no" >&6; }
1261013212 ;;
1261113213 esac
1261213214 fi
1262313225
1262413226
1262513227 # Report what library types will actually be built
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12627 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12629 $as_echo "$can_build_shared" >&6; }
12630
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12632 $as_echo_n "checking whether to build shared libraries... " >&6; }
13228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13229 printf %s "checking if libtool supports shared libraries... " >&6; }
13230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13231 printf "%s\n" "$can_build_shared" >&6; }
13232
13233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13234 printf %s "checking whether to build shared libraries... " >&6; }
1263313235 test no = "$can_build_shared" && enable_shared=no
1263413236
1263513237 # On AIX, shared libraries and static libraries use the same namespace, and
1265313255 fi
1265413256 ;;
1265513257 esac
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12657 $as_echo "$enable_shared" >&6; }
12658
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12660 $as_echo_n "checking whether to build static libraries... " >&6; }
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13259 printf "%s\n" "$enable_shared" >&6; }
13260
13261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13262 printf %s "checking whether to build static libraries... " >&6; }
1266113263 # Make sure either enable_shared or enable_static is yes.
1266213264 test yes = "$enable_shared" || enable_static=yes
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12664 $as_echo "$enable_static" >&6; }
13265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13266 printf "%s\n" "$enable_static" >&6; }
1266513267
1266613268
1266713269
1270013302 if test -n "$ac_tool_prefix"; then
1270113303 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
1270213304 set dummy ${ac_tool_prefix}windres; ac_word=$2
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12704 $as_echo_n "checking for $ac_word... " >&6; }
12705 if ${ac_cv_prog_RC+:} false; then :
12706 $as_echo_n "(cached) " >&6
12707 else
13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13306 printf %s "checking for $ac_word... " >&6; }
13307 if test ${ac_cv_prog_RC+y}
13308 then :
13309 printf %s "(cached) " >&6
13310 else $as_nop
1270813311 if test -n "$RC"; then
1270913312 ac_cv_prog_RC="$RC" # Let the user override the test.
1271013313 else
1271213315 for as_dir in $PATH
1271313316 do
1271413317 IFS=$as_save_IFS
12715 test -z "$as_dir" && as_dir=.
13318 case $as_dir in #(((
13319 '') as_dir=./ ;;
13320 */) ;;
13321 *) as_dir=$as_dir/ ;;
13322 esac
1271613323 for ac_exec_ext in '' $ac_executable_extensions; do
12717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1271813325 ac_cv_prog_RC="${ac_tool_prefix}windres"
12719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1272013327 break 2
1272113328 fi
1272213329 done
1272713334 fi
1272813335 RC=$ac_cv_prog_RC
1272913336 if test -n "$RC"; then
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
12731 $as_echo "$RC" >&6; }
12732 else
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734 $as_echo "no" >&6; }
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
13338 printf "%s\n" "$RC" >&6; }
13339 else
13340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13341 printf "%s\n" "no" >&6; }
1273513342 fi
1273613343
1273713344
1274013347 ac_ct_RC=$RC
1274113348 # Extract the first word of "windres", so it can be a program name with args.
1274213349 set dummy windres; ac_word=$2
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12744 $as_echo_n "checking for $ac_word... " >&6; }
12745 if ${ac_cv_prog_ac_ct_RC+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
13350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13351 printf %s "checking for $ac_word... " >&6; }
13352 if test ${ac_cv_prog_ac_ct_RC+y}
13353 then :
13354 printf %s "(cached) " >&6
13355 else $as_nop
1274813356 if test -n "$ac_ct_RC"; then
1274913357 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
1275013358 else
1275213360 for as_dir in $PATH
1275313361 do
1275413362 IFS=$as_save_IFS
12755 test -z "$as_dir" && as_dir=.
13363 case $as_dir in #(((
13364 '') as_dir=./ ;;
13365 */) ;;
13366 *) as_dir=$as_dir/ ;;
13367 esac
1275613368 for ac_exec_ext in '' $ac_executable_extensions; do
12757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13369 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1275813370 ac_cv_prog_ac_ct_RC="windres"
12759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1276013372 break 2
1276113373 fi
1276213374 done
1276713379 fi
1276813380 ac_ct_RC=$ac_cv_prog_ac_ct_RC
1276913381 if test -n "$ac_ct_RC"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
12771 $as_echo "$ac_ct_RC" >&6; }
12772 else
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
13382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
13383 printf "%s\n" "$ac_ct_RC" >&6; }
13384 else
13385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13386 printf "%s\n" "no" >&6; }
1277513387 fi
1277613388
1277713389 if test "x$ac_ct_RC" = x; then
1277913391 else
1278013392 case $cross_compiling:$ac_tool_warned in
1278113393 yes:)
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13395 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1278413396 ac_tool_warned=yes ;;
1278513397 esac
1278613398 RC=$ac_ct_RC
1287613488 if test -n "$ac_tool_prefix"; then
1287713489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1287813490 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_prog_CC+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13492 printf %s "checking for $ac_word... " >&6; }
13493 if test ${ac_cv_prog_CC+y}
13494 then :
13495 printf %s "(cached) " >&6
13496 else $as_nop
1288413497 if test -n "$CC"; then
1288513498 ac_cv_prog_CC="$CC" # Let the user override the test.
1288613499 else
1288813501 for as_dir in $PATH
1288913502 do
1289013503 IFS=$as_save_IFS
12891 test -z "$as_dir" && as_dir=.
13504 case $as_dir in #(((
13505 '') as_dir=./ ;;
13506 */) ;;
13507 *) as_dir=$as_dir/ ;;
13508 esac
1289213509 for ac_exec_ext in '' $ac_executable_extensions; do
12893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1289413511 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1289613513 break 2
1289713514 fi
1289813515 done
1290313520 fi
1290413521 CC=$ac_cv_prog_CC
1290513522 if test -n "$CC"; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12907 $as_echo "$CC" >&6; }
12908 else
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
13523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13524 printf "%s\n" "$CC" >&6; }
13525 else
13526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13527 printf "%s\n" "no" >&6; }
1291113528 fi
1291213529
1291313530
1291613533 ac_ct_CC=$CC
1291713534 # Extract the first word of "gcc", so it can be a program name with args.
1291813535 set dummy gcc; ac_word=$2
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12920 $as_echo_n "checking for $ac_word... " >&6; }
12921 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
13536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13537 printf %s "checking for $ac_word... " >&6; }
13538 if test ${ac_cv_prog_ac_ct_CC+y}
13539 then :
13540 printf %s "(cached) " >&6
13541 else $as_nop
1292413542 if test -n "$ac_ct_CC"; then
1292513543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1292613544 else
1292813546 for as_dir in $PATH
1292913547 do
1293013548 IFS=$as_save_IFS
12931 test -z "$as_dir" && as_dir=.
13549 case $as_dir in #(((
13550 '') as_dir=./ ;;
13551 */) ;;
13552 *) as_dir=$as_dir/ ;;
13553 esac
1293213554 for ac_exec_ext in '' $ac_executable_extensions; do
12933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1293413556 ac_cv_prog_ac_ct_CC="gcc"
12935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1293613558 break 2
1293713559 fi
1293813560 done
1294313565 fi
1294413566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1294513567 if test -n "$ac_ct_CC"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12947 $as_echo "$ac_ct_CC" >&6; }
12948 else
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12950 $as_echo "no" >&6; }
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13569 printf "%s\n" "$ac_ct_CC" >&6; }
13570 else
13571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13572 printf "%s\n" "no" >&6; }
1295113573 fi
1295213574
1295313575 if test "x$ac_ct_CC" = x; then
1295513577 else
1295613578 case $cross_compiling:$ac_tool_warned in
1295713579 yes:)
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1296013582 ac_tool_warned=yes ;;
1296113583 esac
1296213584 CC=$ac_ct_CC
1296913591 if test -n "$ac_tool_prefix"; then
1297013592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1297113593 set dummy ${ac_tool_prefix}cc; ac_word=$2
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12973 $as_echo_n "checking for $ac_word... " >&6; }
12974 if ${ac_cv_prog_CC+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
13594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13595 printf %s "checking for $ac_word... " >&6; }
13596 if test ${ac_cv_prog_CC+y}
13597 then :
13598 printf %s "(cached) " >&6
13599 else $as_nop
1297713600 if test -n "$CC"; then
1297813601 ac_cv_prog_CC="$CC" # Let the user override the test.
1297913602 else
1298113604 for as_dir in $PATH
1298213605 do
1298313606 IFS=$as_save_IFS
12984 test -z "$as_dir" && as_dir=.
13607 case $as_dir in #(((
13608 '') as_dir=./ ;;
13609 */) ;;
13610 *) as_dir=$as_dir/ ;;
13611 esac
1298513612 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13613 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1298713614 ac_cv_prog_CC="${ac_tool_prefix}cc"
12988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1298913616 break 2
1299013617 fi
1299113618 done
1299613623 fi
1299713624 CC=$ac_cv_prog_CC
1299813625 if test -n "$CC"; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13000 $as_echo "$CC" >&6; }
13001 else
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13003 $as_echo "no" >&6; }
13626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13627 printf "%s\n" "$CC" >&6; }
13628 else
13629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 printf "%s\n" "no" >&6; }
1300413631 fi
1300513632
1300613633
1300913636 if test -z "$CC"; then
1301013637 # Extract the first word of "cc", so it can be a program name with args.
1301113638 set dummy cc; ac_word=$2
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13013 $as_echo_n "checking for $ac_word... " >&6; }
13014 if ${ac_cv_prog_CC+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13640 printf %s "checking for $ac_word... " >&6; }
13641 if test ${ac_cv_prog_CC+y}
13642 then :
13643 printf %s "(cached) " >&6
13644 else $as_nop
1301713645 if test -n "$CC"; then
1301813646 ac_cv_prog_CC="$CC" # Let the user override the test.
1301913647 else
1302213650 for as_dir in $PATH
1302313651 do
1302413652 IFS=$as_save_IFS
13025 test -z "$as_dir" && as_dir=.
13653 case $as_dir in #(((
13654 '') as_dir=./ ;;
13655 */) ;;
13656 *) as_dir=$as_dir/ ;;
13657 esac
1302613658 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13659 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13660 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1302913661 ac_prog_rejected=yes
1303013662 continue
1303113663 fi
1303213664 ac_cv_prog_CC="cc"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1303413666 break 2
1303513667 fi
1303613668 done
1304613678 # However, it has the same basename, so the bogon will be chosen
1304713679 # first if we set CC to just the basename; use the full file name.
1304813680 shift
13049 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13681 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1305013682 fi
1305113683 fi
1305213684 fi
1305313685 fi
1305413686 CC=$ac_cv_prog_CC
1305513687 if test -n "$CC"; then
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13057 $as_echo "$CC" >&6; }
13058 else
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13060 $as_echo "no" >&6; }
13688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13689 printf "%s\n" "$CC" >&6; }
13690 else
13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13692 printf "%s\n" "no" >&6; }
1306113693 fi
1306213694
1306313695
1306813700 do
1306913701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1307013702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13072 $as_echo_n "checking for $ac_word... " >&6; }
13073 if ${ac_cv_prog_CC+:} false; then :
13074 $as_echo_n "(cached) " >&6
13075 else
13703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13704 printf %s "checking for $ac_word... " >&6; }
13705 if test ${ac_cv_prog_CC+y}
13706 then :
13707 printf %s "(cached) " >&6
13708 else $as_nop
1307613709 if test -n "$CC"; then
1307713710 ac_cv_prog_CC="$CC" # Let the user override the test.
1307813711 else
1308013713 for as_dir in $PATH
1308113714 do
1308213715 IFS=$as_save_IFS
13083 test -z "$as_dir" && as_dir=.
13716 case $as_dir in #(((
13717 '') as_dir=./ ;;
13718 */) ;;
13719 *) as_dir=$as_dir/ ;;
13720 esac
1308413721 for ac_exec_ext in '' $ac_executable_extensions; do
13085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1308613723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1308813725 break 2
1308913726 fi
1309013727 done
1309513732 fi
1309613733 CC=$ac_cv_prog_CC
1309713734 if test -n "$CC"; then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13099 $as_echo "$CC" >&6; }
13100 else
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102 $as_echo "no" >&6; }
13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13736 printf "%s\n" "$CC" >&6; }
13737 else
13738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13739 printf "%s\n" "no" >&6; }
1310313740 fi
1310413741
1310513742
1311213749 do
1311313750 # Extract the first word of "$ac_prog", so it can be a program name with args.
1311413751 set dummy $ac_prog; ac_word=$2
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13116 $as_echo_n "checking for $ac_word... " >&6; }
13117 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13118 $as_echo_n "(cached) " >&6
13119 else
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13753 printf %s "checking for $ac_word... " >&6; }
13754 if test ${ac_cv_prog_ac_ct_CC+y}
13755 then :
13756 printf %s "(cached) " >&6
13757 else $as_nop
1312013758 if test -n "$ac_ct_CC"; then
1312113759 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1312213760 else
1312413762 for as_dir in $PATH
1312513763 do
1312613764 IFS=$as_save_IFS
13127 test -z "$as_dir" && as_dir=.
13765 case $as_dir in #(((
13766 '') as_dir=./ ;;
13767 */) ;;
13768 *) as_dir=$as_dir/ ;;
13769 esac
1312813770 for ac_exec_ext in '' $ac_executable_extensions; do
13129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1313013772 ac_cv_prog_ac_ct_CC="$ac_prog"
13131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1313213774 break 2
1313313775 fi
1313413776 done
1313913781 fi
1314013782 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1314113783 if test -n "$ac_ct_CC"; then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13143 $as_echo "$ac_ct_CC" >&6; }
13144 else
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13785 printf "%s\n" "$ac_ct_CC" >&6; }
13786 else
13787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13788 printf "%s\n" "no" >&6; }
1314713789 fi
1314813790
1314913791
1315513797 else
1315613798 case $cross_compiling:$ac_tool_warned in
1315713799 yes:)
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1316013802 ac_tool_warned=yes ;;
1316113803 esac
1316213804 CC=$ac_ct_CC
1316413806 fi
1316513807
1316613808 fi
13167
13168
13169 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13809 if test -z "$CC"; then
13810 if test -n "$ac_tool_prefix"; then
13811 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
13812 set dummy ${ac_tool_prefix}clang; ac_word=$2
13813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13814 printf %s "checking for $ac_word... " >&6; }
13815 if test ${ac_cv_prog_CC+y}
13816 then :
13817 printf %s "(cached) " >&6
13818 else $as_nop
13819 if test -n "$CC"; then
13820 ac_cv_prog_CC="$CC" # Let the user override the test.
13821 else
13822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13823 for as_dir in $PATH
13824 do
13825 IFS=$as_save_IFS
13826 case $as_dir in #(((
13827 '') as_dir=./ ;;
13828 */) ;;
13829 *) as_dir=$as_dir/ ;;
13830 esac
13831 for ac_exec_ext in '' $ac_executable_extensions; do
13832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13833 ac_cv_prog_CC="${ac_tool_prefix}clang"
13834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13835 break 2
13836 fi
13837 done
13838 done
13839 IFS=$as_save_IFS
13840
13841 fi
13842 fi
13843 CC=$ac_cv_prog_CC
13844 if test -n "$CC"; then
13845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13846 printf "%s\n" "$CC" >&6; }
13847 else
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 printf "%s\n" "no" >&6; }
13850 fi
13851
13852
13853 fi
13854 if test -z "$ac_cv_prog_CC"; then
13855 ac_ct_CC=$CC
13856 # Extract the first word of "clang", so it can be a program name with args.
13857 set dummy clang; ac_word=$2
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13859 printf %s "checking for $ac_word... " >&6; }
13860 if test ${ac_cv_prog_ac_ct_CC+y}
13861 then :
13862 printf %s "(cached) " >&6
13863 else $as_nop
13864 if test -n "$ac_ct_CC"; then
13865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13866 else
13867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13868 for as_dir in $PATH
13869 do
13870 IFS=$as_save_IFS
13871 case $as_dir in #(((
13872 '') as_dir=./ ;;
13873 */) ;;
13874 *) as_dir=$as_dir/ ;;
13875 esac
13876 for ac_exec_ext in '' $ac_executable_extensions; do
13877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13878 ac_cv_prog_ac_ct_CC="clang"
13879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13880 break 2
13881 fi
13882 done
13883 done
13884 IFS=$as_save_IFS
13885
13886 fi
13887 fi
13888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13889 if test -n "$ac_ct_CC"; then
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13891 printf "%s\n" "$ac_ct_CC" >&6; }
13892 else
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13894 printf "%s\n" "no" >&6; }
13895 fi
13896
13897 if test "x$ac_ct_CC" = x; then
13898 CC=""
13899 else
13900 case $cross_compiling:$ac_tool_warned in
13901 yes:)
13902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13904 ac_tool_warned=yes ;;
13905 esac
13906 CC=$ac_ct_CC
13907 fi
13908 else
13909 CC="$ac_cv_prog_CC"
13910 fi
13911
13912 fi
13913
13914
13915 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13916 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1317113917 as_fn_error $? "no acceptable C compiler found in \$PATH
1317213918 See \`config.log' for more details" "$LINENO" 5; }
1317313919
1317413920 # Provide some information about the compiler.
13175 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1317613922 set X $ac_compile
1317713923 ac_compiler=$2
13178 for ac_option in --version -v -V -qversion; do
13924 for ac_option in --version -v -V -qversion -version; do
1317913925 { { ac_try="$ac_compiler $ac_option >&5"
1318013926 case "(($ac_try" in
1318113927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1318213928 *) ac_try_echo=$ac_try;;
1318313929 esac
1318413930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13185 $as_echo "$ac_try_echo"; } >&5
13931 printf "%s\n" "$ac_try_echo"; } >&5
1318613932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1318713933 ac_status=$?
1318813934 if test -s conftest.err; then
1319213938 cat conftest.er1 >&5
1319313939 fi
1319413940 rm -f conftest.er1 conftest.err
13195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1319613942 test $ac_status = 0; }
1319713943 done
1319813944
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13200 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13201 if ${ac_cv_c_compiler_gnu+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
13946 printf %s "checking whether the compiler supports GNU C... " >&6; }
13947 if test ${ac_cv_c_compiler_gnu+y}
13948 then :
13949 printf %s "(cached) " >&6
13950 else $as_nop
1320413951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1320513952 /* end confdefs.h. */
1320613953
1320713954 int
13208 main ()
13955 main (void)
1320913956 {
1321013957 #ifndef __GNUC__
1321113958 choke me
1321513962 return 0;
1321613963 }
1321713964 _ACEOF
13218 if ac_fn_c_try_compile "$LINENO"; then :
13965 if ac_fn_c_try_compile "$LINENO"
13966 then :
1321913967 ac_compiler_gnu=yes
13220 else
13968 else $as_nop
1322113969 ac_compiler_gnu=no
1322213970 fi
13223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1322413972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1322513973
1322613974 fi
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13228 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13976 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
13977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13978
1322913979 if test $ac_compiler_gnu = yes; then
1323013980 GCC=yes
1323113981 else
1323213982 GCC=
1323313983 fi
13234 ac_test_CFLAGS=${CFLAGS+set}
13984 ac_test_CFLAGS=${CFLAGS+y}
1323513985 ac_save_CFLAGS=$CFLAGS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13237 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13238 if ${ac_cv_prog_cc_g+:} false; then :
13239 $as_echo_n "(cached) " >&6
13240 else
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13987 printf %s "checking whether $CC accepts -g... " >&6; }
13988 if test ${ac_cv_prog_cc_g+y}
13989 then :
13990 printf %s "(cached) " >&6
13991 else $as_nop
1324113992 ac_save_c_werror_flag=$ac_c_werror_flag
1324213993 ac_c_werror_flag=yes
1324313994 ac_cv_prog_cc_g=no
1324613997 /* end confdefs.h. */
1324713998
1324813999 int
13249 main ()
14000 main (void)
1325014001 {
1325114002
1325214003 ;
1325314004 return 0;
1325414005 }
1325514006 _ACEOF
13256 if ac_fn_c_try_compile "$LINENO"; then :
14007 if ac_fn_c_try_compile "$LINENO"
14008 then :
1325714009 ac_cv_prog_cc_g=yes
13258 else
14010 else $as_nop
1325914011 CFLAGS=""
1326014012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1326114013 /* end confdefs.h. */
1326214014
1326314015 int
13264 main ()
14016 main (void)
1326514017 {
1326614018
1326714019 ;
1326814020 return 0;
1326914021 }
1327014022 _ACEOF
13271 if ac_fn_c_try_compile "$LINENO"; then :
13272
13273 else
14023 if ac_fn_c_try_compile "$LINENO"
14024 then :
14025
14026 else $as_nop
1327414027 ac_c_werror_flag=$ac_save_c_werror_flag
1327514028 CFLAGS="-g"
1327614029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1327714030 /* end confdefs.h. */
1327814031
1327914032 int
13280 main ()
14033 main (void)
1328114034 {
1328214035
1328314036 ;
1328414037 return 0;
1328514038 }
1328614039 _ACEOF
13287 if ac_fn_c_try_compile "$LINENO"; then :
14040 if ac_fn_c_try_compile "$LINENO"
14041 then :
1328814042 ac_cv_prog_cc_g=yes
1328914043 fi
13290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13291 fi
13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13293 fi
13294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14045 fi
14046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14047 fi
14048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1329514049 ac_c_werror_flag=$ac_save_c_werror_flag
1329614050 fi
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13298 $as_echo "$ac_cv_prog_cc_g" >&6; }
13299 if test "$ac_test_CFLAGS" = set; then
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14052 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
14053 if test $ac_test_CFLAGS; then
1330014054 CFLAGS=$ac_save_CFLAGS
1330114055 elif test $ac_cv_prog_cc_g = yes; then
1330214056 if test "$GCC" = yes; then
1331114065 CFLAGS=
1331214066 fi
1331314067 fi
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13315 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13316 if ${ac_cv_prog_cc_c89+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
14068 ac_prog_cc_stdc=no
14069 if test x$ac_prog_cc_stdc = xno
14070 then :
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
14072 printf %s "checking for $CC option to enable C11 features... " >&6; }
14073 if test ${ac_cv_prog_cc_c11+y}
14074 then :
14075 printf %s "(cached) " >&6
14076 else $as_nop
14077 ac_cv_prog_cc_c11=no
14078 ac_save_CC=$CC
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 $ac_c_conftest_c11_program
14082 _ACEOF
14083 for ac_arg in '' -std=gnu11
14084 do
14085 CC="$ac_save_CC $ac_arg"
14086 if ac_fn_c_try_compile "$LINENO"
14087 then :
14088 ac_cv_prog_cc_c11=$ac_arg
14089 fi
14090 rm -f core conftest.err conftest.$ac_objext conftest.beam
14091 test "x$ac_cv_prog_cc_c11" != "xno" && break
14092 done
14093 rm -f conftest.$ac_ext
14094 CC=$ac_save_CC
14095 fi
14096
14097 if test "x$ac_cv_prog_cc_c11" = xno
14098 then :
14099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14100 printf "%s\n" "unsupported" >&6; }
14101 else $as_nop
14102 if test "x$ac_cv_prog_cc_c11" = x
14103 then :
14104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14105 printf "%s\n" "none needed" >&6; }
14106 else $as_nop
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
14108 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
14109 CC="$CC $ac_cv_prog_cc_c11"
14110 fi
14111 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
14112 ac_prog_cc_stdc=c11
14113 fi
14114 fi
14115 if test x$ac_prog_cc_stdc = xno
14116 then :
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
14118 printf %s "checking for $CC option to enable C99 features... " >&6; }
14119 if test ${ac_cv_prog_cc_c99+y}
14120 then :
14121 printf %s "(cached) " >&6
14122 else $as_nop
14123 ac_cv_prog_cc_c99=no
14124 ac_save_CC=$CC
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 $ac_c_conftest_c99_program
14128 _ACEOF
14129 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
14130 do
14131 CC="$ac_save_CC $ac_arg"
14132 if ac_fn_c_try_compile "$LINENO"
14133 then :
14134 ac_cv_prog_cc_c99=$ac_arg
14135 fi
14136 rm -f core conftest.err conftest.$ac_objext conftest.beam
14137 test "x$ac_cv_prog_cc_c99" != "xno" && break
14138 done
14139 rm -f conftest.$ac_ext
14140 CC=$ac_save_CC
14141 fi
14142
14143 if test "x$ac_cv_prog_cc_c99" = xno
14144 then :
14145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14146 printf "%s\n" "unsupported" >&6; }
14147 else $as_nop
14148 if test "x$ac_cv_prog_cc_c99" = x
14149 then :
14150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14151 printf "%s\n" "none needed" >&6; }
14152 else $as_nop
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
14154 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
14155 CC="$CC $ac_cv_prog_cc_c99"
14156 fi
14157 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
14158 ac_prog_cc_stdc=c99
14159 fi
14160 fi
14161 if test x$ac_prog_cc_stdc = xno
14162 then :
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
14164 printf %s "checking for $CC option to enable C89 features... " >&6; }
14165 if test ${ac_cv_prog_cc_c89+y}
14166 then :
14167 printf %s "(cached) " >&6
14168 else $as_nop
1331914169 ac_cv_prog_cc_c89=no
1332014170 ac_save_CC=$CC
1332114171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1332214172 /* end confdefs.h. */
13323 #include <stdarg.h>
13324 #include <stdio.h>
13325 struct stat;
13326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13327 struct buf { int x; };
13328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13329 static char *e (p, i)
13330 char **p;
13331 int i;
13332 {
13333 return p[i];
13334 }
13335 static char *f (char * (*g) (char **, int), char **p, ...)
13336 {
13337 char *s;
13338 va_list v;
13339 va_start (v,p);
13340 s = g (p, va_arg (v,int));
13341 va_end (v);
13342 return s;
13343 }
13344
13345 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13346 function prototypes and stuff, but not '\xHH' hex character constants.
13347 These don't provoke an error unfortunately, instead are silently treated
13348 as 'x'. The following induces an error, until -std is added to get
13349 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13350 array size at least. It's necessary to write '\x00'==0 to get something
13351 that's true only with -std. */
13352 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13353
13354 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13355 inside strings and character constants. */
13356 #define FOO(x) 'x'
13357 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13358
13359 int test (int i, double x);
13360 struct s1 {int (*f) (int a);};
13361 struct s2 {int (*f) (double a);};
13362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13363 int argc;
13364 char **argv;
13365 int
13366 main ()
13367 {
13368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13369 ;
13370 return 0;
13371 }
14173 $ac_c_conftest_c89_program
1337214174 _ACEOF
13373 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13374 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14175 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1337514176 do
1337614177 CC="$ac_save_CC $ac_arg"
13377 if ac_fn_c_try_compile "$LINENO"; then :
14178 if ac_fn_c_try_compile "$LINENO"
14179 then :
1337814180 ac_cv_prog_cc_c89=$ac_arg
1337914181 fi
13380 rm -f core conftest.err conftest.$ac_objext
14182 rm -f core conftest.err conftest.$ac_objext conftest.beam
1338114183 test "x$ac_cv_prog_cc_c89" != "xno" && break
1338214184 done
1338314185 rm -f conftest.$ac_ext
1338414186 CC=$ac_save_CC
13385
13386 fi
13387 # AC_CACHE_VAL
13388 case "x$ac_cv_prog_cc_c89" in
13389 x)
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13391 $as_echo "none needed" >&6; } ;;
13392 xno)
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13394 $as_echo "unsupported" >&6; } ;;
13395 *)
13396 CC="$CC $ac_cv_prog_cc_c89"
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13398 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13399 esac
13400 if test "x$ac_cv_prog_cc_c89" != xno; then :
13401
14187 fi
14188
14189 if test "x$ac_cv_prog_cc_c89" = xno
14190 then :
14191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14192 printf "%s\n" "unsupported" >&6; }
14193 else $as_nop
14194 if test "x$ac_cv_prog_cc_c89" = x
14195 then :
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14197 printf "%s\n" "none needed" >&6; }
14198 else $as_nop
14199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14200 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
14201 CC="$CC $ac_cv_prog_cc_c89"
14202 fi
14203 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
14204 ac_prog_cc_stdc=c89
14205 fi
1340214206 fi
1340314207
1340414208 ac_ext=c
1340714211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340814212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1340914213
13410 ac_ext=c
14214
14215 ac_ext=c
1341114216 ac_cpp='$CPP $CPPFLAGS'
1341214217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341314218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1341414219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13416 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13417 if ${am_cv_prog_cc_c_o+:} false; then :
13418 $as_echo_n "(cached) " >&6
13419 else
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
14221 printf %s "checking whether $CC understands -c and -o together... " >&6; }
14222 if test ${am_cv_prog_cc_c_o+y}
14223 then :
14224 printf %s "(cached) " >&6
14225 else $as_nop
1342014226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1342114227 /* end confdefs.h. */
1342214228
1342314229 int
13424 main ()
14230 main (void)
1342514231 {
1342614232
1342714233 ;
1344914255 rm -f core conftest*
1345014256 unset am_i
1345114257 fi
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13453 $as_echo "$am_cv_prog_cc_c_o" >&6; }
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
14259 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
1345414260 if test "$am_cv_prog_cc_c_o" != yes; then
1345514261 # Losing compiler, so override with the script.
1345614262 # FIXME: It is wrong to rewrite CC.
1346814274
1346914275 depcc="$CC" am_compiler_list=
1347014276
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13472 $as_echo_n "checking dependency style of $depcc... " >&6; }
13473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14278 printf %s "checking dependency style of $depcc... " >&6; }
14279 if test ${am_cv_CC_dependencies_compiler_type+y}
14280 then :
14281 printf %s "(cached) " >&6
14282 else $as_nop
1347614283 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1347714284 # We make a subdir and do the tests there. Otherwise we can end up
1347814285 # making bogus files that we don't know about and never remove. For
1357914386 fi
1358014387
1358114388 fi
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14390 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
1358414391 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1358514392
1358614393 if
1359714404
1359814405
1359914406
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13601 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13602 if ${ac_cv_c_bigendian+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
14407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14408 printf %s "checking whether byte ordering is bigendian... " >&6; }
14409 if test ${ac_cv_c_bigendian+y}
14410 then :
14411 printf %s "(cached) " >&6
14412 else $as_nop
1360514413 ac_cv_c_bigendian=unknown
1360614414 # See if we're dealing with a universal compiler.
1360714415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1361214420 typedef int dummy;
1361314421
1361414422 _ACEOF
13615 if ac_fn_c_try_compile "$LINENO"; then :
14423 if ac_fn_c_try_compile "$LINENO"
14424 then :
1361614425
1361714426 # Check for potential -arch flags. It is not universal unless
1361814427 # there are at least two -arch flags with different values.
1363614445 fi
1363714446 done
1363814447 fi
13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1364014449 if test $ac_cv_c_bigendian = unknown; then
1364114450 # See if sys/param.h defines the BYTE_ORDER macro.
1364214451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1364514454 #include <sys/param.h>
1364614455
1364714456 int
13648 main ()
14457 main (void)
1364914458 {
1365014459 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
1365114460 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
1365714466 return 0;
1365814467 }
1365914468 _ACEOF
13660 if ac_fn_c_try_compile "$LINENO"; then :
14469 if ac_fn_c_try_compile "$LINENO"
14470 then :
1366114471 # It does; now see whether it defined to BIG_ENDIAN or not.
1366214472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1366314473 /* end confdefs.h. */
1366514475 #include <sys/param.h>
1366614476
1366714477 int
13668 main ()
14478 main (void)
1366914479 {
1367014480 #if BYTE_ORDER != BIG_ENDIAN
1367114481 not big endian
1367514485 return 0;
1367614486 }
1367714487 _ACEOF
13678 if ac_fn_c_try_compile "$LINENO"; then :
14488 if ac_fn_c_try_compile "$LINENO"
14489 then :
1367914490 ac_cv_c_bigendian=yes
13680 else
14491 else $as_nop
1368114492 ac_cv_c_bigendian=no
1368214493 fi
13683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13684 fi
13685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14495 fi
14496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1368614497 fi
1368714498 if test $ac_cv_c_bigendian = unknown; then
1368814499 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
1369114502 #include <limits.h>
1369214503
1369314504 int
13694 main ()
14505 main (void)
1369514506 {
1369614507 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
1369714508 bogus endian macros
1370114512 return 0;
1370214513 }
1370314514 _ACEOF
13704 if ac_fn_c_try_compile "$LINENO"; then :
14515 if ac_fn_c_try_compile "$LINENO"
14516 then :
1370514517 # It does; now see whether it defined to _BIG_ENDIAN or not.
1370614518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1370714519 /* end confdefs.h. */
1370814520 #include <limits.h>
1370914521
1371014522 int
13711 main ()
14523 main (void)
1371214524 {
1371314525 #ifndef _BIG_ENDIAN
1371414526 not big endian
1371814530 return 0;
1371914531 }
1372014532 _ACEOF
13721 if ac_fn_c_try_compile "$LINENO"; then :
14533 if ac_fn_c_try_compile "$LINENO"
14534 then :
1372214535 ac_cv_c_bigendian=yes
13723 else
14536 else $as_nop
1372414537 ac_cv_c_bigendian=no
1372514538 fi
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13727 fi
13728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14540 fi
14541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1372914542 fi
1373014543 if test $ac_cv_c_bigendian = unknown; then
1373114544 # Compile a test program.
13732 if test "$cross_compiling" = yes; then :
14545 if test "$cross_compiling" = yes
14546 then :
1373314547 # Try to guess by grepping values from an object file.
1373414548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1373514549 /* end confdefs.h. */
13736 short int ascii_mm[] =
14550 unsigned short int ascii_mm[] =
1373714551 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13738 short int ascii_ii[] =
14552 unsigned short int ascii_ii[] =
1373914553 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
1374014554 int use_ascii (int i) {
1374114555 return ascii_mm[i] + ascii_ii[i];
1374214556 }
13743 short int ebcdic_ii[] =
14557 unsigned short int ebcdic_ii[] =
1374414558 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13745 short int ebcdic_mm[] =
14559 unsigned short int ebcdic_mm[] =
1374614560 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
1374714561 int use_ebcdic (int i) {
1374814562 return ebcdic_mm[i] + ebcdic_ii[i];
1375014564 extern int foo;
1375114565
1375214566 int
13753 main ()
14567 main (void)
1375414568 {
1375514569 return use_ascii (foo) == use_ebcdic (foo);
1375614570 ;
1375714571 return 0;
1375814572 }
1375914573 _ACEOF
13760 if ac_fn_c_try_compile "$LINENO"; then :
14574 if ac_fn_c_try_compile "$LINENO"
14575 then :
1376114576 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
1376214577 ac_cv_c_bigendian=yes
1376314578 fi
1377014585 fi
1377114586 fi
1377214587 fi
13773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13774 else
14588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14589 else $as_nop
1377514590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1377614591 /* end confdefs.h. */
1377714592 $ac_includes_default
1377814593 int
13779 main ()
14594 main (void)
1378014595 {
1378114596
1378214597 /* Are we little or big endian? From Harbison&Steele. */
1379214607 return 0;
1379314608 }
1379414609 _ACEOF
13795 if ac_fn_c_try_run "$LINENO"; then :
14610 if ac_fn_c_try_run "$LINENO"
14611 then :
1379614612 ac_cv_c_bigendian=no
13797 else
14613 else $as_nop
1379814614 ac_cv_c_bigendian=yes
1379914615 fi
1380014616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1380314619
1380414620 fi
1380514621 fi
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13807 $as_echo "$ac_cv_c_bigendian" >&6; }
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14623 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
1380814624 case $ac_cv_c_bigendian in #(
1380914625 yes)
13810 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14626 printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
1381114627 ;; #(
1381214628 no)
1381314629 ;; #(
1381414630 universal)
1381514631
13816 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14632 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1381714633
1381814634 ;; #(
1381914635 *)
1382514641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1382614642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1382714643 # This bug is HP SR number 8606223364.
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13829 $as_echo_n "checking size of long... " >&6; }
13830 if ${ac_cv_sizeof_long+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13834
13835 else
14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14645 printf %s "checking size of long... " >&6; }
14646 if test ${ac_cv_sizeof_long+y}
14647 then :
14648 printf %s "(cached) " >&6
14649 else $as_nop
14650 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
14651 then :
14652
14653 else $as_nop
1383614654 if test "$ac_cv_type_long" = yes; then
13837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14655 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14656 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1383914657 as_fn_error 77 "cannot compute sizeof (long)
1384014658 See \`config.log' for more details" "$LINENO" 5; }
1384114659 else
1384414662 fi
1384514663
1384614664 fi
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13848 $as_echo "$ac_cv_sizeof_long" >&6; }
13849
13850
13851
13852 cat >>confdefs.h <<_ACEOF
13853 #define SIZEOF_LONG $ac_cv_sizeof_long
13854 _ACEOF
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14666 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
14667
14668
14669
14670 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
1385514671
1385614672
1385714673
1385814674 if test "$cross_compiling" = "yes" && test "$os" = "win32"; then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: detected cross compilation: disabling tests!!!" >&5
13860 $as_echo "$as_me: WARNING: detected cross compilation: disabling tests!!!" >&2;}
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: detected cross compilation: disabling tests!!!" >&5
14676 printf "%s\n" "$as_me: WARNING: detected cross compilation: disabling tests!!!" >&2;}
1386114677 #AC_SUBST([TESTS_ENVIRONMENT], [wine]) doesn't work for libtool builds
1386214678 tests_enabled=no
1386314679 else
1387714693 fi
1387814694
1387914695 # Check whether --enable-silent-rules was given.
13880 if test "${enable_silent_rules+set}" = set; then :
14696 if test ${enable_silent_rules+y}
14697 then :
1388114698 enableval=$enable_silent_rules;
1388214699 fi
1388314700
1388714704 *) AM_DEFAULT_VERBOSITY=0;;
1388814705 esac
1388914706 am_make=${MAKE-make}
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13891 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13892 if ${am_cv_make_support_nested_variables+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 if $as_echo 'TRUE=$(BAR$(V))
14707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
14708 printf %s "checking whether $am_make supports nested variables... " >&6; }
14709 if test ${am_cv_make_support_nested_variables+y}
14710 then :
14711 printf %s "(cached) " >&6
14712 else $as_nop
14713 if printf "%s\n" 'TRUE=$(BAR$(V))
1389614714 BAR0=false
1389714715 BAR1=true
1389814716 V=1
1390414722 am_cv_make_support_nested_variables=no
1390514723 fi
1390614724 fi
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13908 $as_echo "$am_cv_make_support_nested_variables" >&6; }
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
14726 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
1390914727 if test $am_cv_make_support_nested_variables = yes; then
1391014728 AM_V='$(V)'
1391114729 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1391814736
1391914737 # for libmusicbrainz5 example:
1392014738 #AC_SEARCH_LIBS([mb5_query_query], [musicbrainz5], [have_mb5=yes], [have_mb5=no])
13921 ac_fn_c_check_header_mongrel "$LINENO" "musicbrainz5/mb5_c.h" "ac_cv_header_musicbrainz5_mb5_c_h" "$ac_includes_default"
13922 if test "x$ac_cv_header_musicbrainz5_mb5_c_h" = xyes; then :
14739 ac_fn_c_check_header_compile "$LINENO" "musicbrainz5/mb5_c.h" "ac_cv_header_musicbrainz5_mb5_c_h" "$ac_includes_default"
14740 if test "x$ac_cv_header_musicbrainz5_mb5_c_h" = xyes
14741 then :
1392314742 have_mb5=yes
1392414743 fi
13925
1392614744
1392714745 if test x${have_mb5} = xyes; then
1392814746 HAVE_MUSICBRAINZ5_TRUE=
1396214780 case $ac_val in #(
1396314781 *${as_nl}*)
1396414782 case $ac_var in #(
13965 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13966 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14783 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14784 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1396714785 esac
1396814786 case $ac_var in #(
1396914787 _ | IFS | as_nl) ;; #(
1399314811 /^ac_cv_env_/b end
1399414812 t clear
1399514813 :clear
13996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14814 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1399714815 t end
1399814816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1399914817 :end' >>confcache
1400014818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1400114819 if test -w "$cache_file"; then
1400214820 if test "x$cache_file" != "x/dev/null"; then
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14004 $as_echo "$as_me: updating cache $cache_file" >&6;}
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14822 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1400514823 if test ! -f "$cache_file" || test -h "$cache_file"; then
1400614824 cat confcache >"$cache_file"
1400714825 else
1401514833 fi
1401614834 fi
1401714835 else
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14019 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14837 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1402014838 fi
1402114839 fi
1402214840 rm -f confcache
1403314851 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1403414852 # 1. Remove the extension, and $U if already installed.
1403514853 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14036 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14854 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1403714855 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1403814856 # will be set to the directory where LIBOBJS objects are built.
1403914857 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1404414862 LTLIBOBJS=$ac_ltlibobjs
1404514863
1404614864
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14048 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14866 printf %s "checking that generated files are newer than configure... " >&6; }
1404914867 if test -n "$am_sleep_pid"; then
1405014868 # Hide warnings about reused PIDs.
1405114869 wait $am_sleep_pid 2>/dev/null
1405214870 fi
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14054 $as_echo "done" >&6; }
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
14872 printf "%s\n" "done" >&6; }
1405514873 if test -n "$EXEEXT"; then
1405614874 am__EXEEXT_TRUE=
1405714875 am__EXEEXT_FALSE='#'
1406614884 fi
1406714885 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1406814886 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14888 fi
14889 if test -z "${OS_HAIKU_TRUE}" && test -z "${OS_HAIKU_FALSE}"; then
14890 as_fn_error $? "conditional \"OS_HAIKU\" was never defined.
1406914891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1407014892 fi
1407114893 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
1411414936 ac_write_fail=0
1411514937 ac_clean_files_save=$ac_clean_files
1411614938 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14940 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1411914941 as_write_fail=0
1412014942 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1412114943 #! $SHELL
1413814960
1413914961 # Be more Bourne compatible
1414014962 DUALCASE=1; export DUALCASE # for MKS sh
14141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14963 as_nop=:
14964 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
14965 then :
1414214966 emulate sh
1414314967 NULLCMD=:
1414414968 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1414514969 # is contrary to our usage. Disable this feature.
1414614970 alias -g '${1+"$@"}'='"$@"'
1414714971 setopt NO_GLOB_SUBST
14148 else
14972 else $as_nop
1414914973 case `(set -o) 2>/dev/null` in #(
1415014974 *posix*) :
1415114975 set -o posix ;; #(
1415514979 fi
1415614980
1415714981
14982
14983 # Reset variables that may have inherited troublesome values from
14984 # the environment.
14985
14986 # IFS needs to be set, to space, tab, and newline, in precisely that order.
14987 # (If _AS_PATH_WALK were called with IFS unset, it would have the
14988 # side effect of setting IFS to empty, thus disabling word splitting.)
14989 # Quoting is to prevent editors from complaining about space-tab.
1415814990 as_nl='
1415914991 '
1416014992 export as_nl
14161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14162 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14165 # Prefer a ksh shell builtin over an external printf program on Solaris,
14166 # but without wasting forks for bash or zsh.
14167 if test -z "$BASH_VERSION$ZSH_VERSION" \
14168 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14169 as_echo='print -r --'
14170 as_echo_n='print -rn --'
14171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14172 as_echo='printf %s\n'
14173 as_echo_n='printf %s'
14174 else
14175 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14176 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14177 as_echo_n='/usr/ucb/echo -n'
14178 else
14179 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14180 as_echo_n_body='eval
14181 arg=$1;
14182 case $arg in #(
14183 *"$as_nl"*)
14184 expr "X$arg" : "X\\(.*\\)$as_nl";
14185 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14186 esac;
14187 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14188 '
14189 export as_echo_n_body
14190 as_echo_n='sh -c $as_echo_n_body as_echo'
14191 fi
14192 export as_echo_body
14193 as_echo='sh -c $as_echo_body as_echo'
14194 fi
14993 IFS=" "" $as_nl"
14994
14995 PS1='$ '
14996 PS2='> '
14997 PS4='+ '
14998
14999 # Ensure predictable behavior from utilities with locale-dependent output.
15000 LC_ALL=C
15001 export LC_ALL
15002 LANGUAGE=C
15003 export LANGUAGE
15004
15005 # We cannot yet rely on "unset" to work, but we need these variables
15006 # to be unset--not just set to an empty or harmless value--now, to
15007 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15008 # also avoids known problems related to "unset" and subshell syntax
15009 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15010 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15011 do eval test \${$as_var+y} \
15012 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15013 done
15014
15015 # Ensure that fds 0, 1, and 2 are open.
15016 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15017 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15018 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1419515019
1419615020 # The user is always right.
14197 if test "${PATH_SEPARATOR+set}" != set; then
15021 if ${PATH_SEPARATOR+false} :; then
1419815022 PATH_SEPARATOR=:
1419915023 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1420015024 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1420215026 }
1420315027 fi
1420415028
14205
14206 # IFS
14207 # We need space, tab and new line, in precisely that order. Quoting is
14208 # there to prevent editors from complaining about space-tab.
14209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14210 # splitting by setting IFS to empty value.)
14211 IFS=" "" $as_nl"
1421215029
1421315030 # Find who we are. Look in the path if we contain no directory separator.
1421415031 as_myself=
1421815035 for as_dir in $PATH
1421915036 do
1422015037 IFS=$as_save_IFS
14221 test -z "$as_dir" && as_dir=.
14222 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15038 case $as_dir in #(((
15039 '') as_dir=./ ;;
15040 */) ;;
15041 *) as_dir=$as_dir/ ;;
15042 esac
15043 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1422315044 done
1422415045 IFS=$as_save_IFS
1422515046
1423115052 as_myself=$0
1423215053 fi
1423315054 if test ! -f "$as_myself"; then
14234 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15055 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1423515056 exit 1
1423615057 fi
1423715058
14238 # Unset variables that we do not need and which cause bugs (e.g. in
14239 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14240 # suppresses any "Segmentation fault" message there. '((' could
14241 # trigger a bug in pdksh 5.2.14.
14242 for as_var in BASH_ENV ENV MAIL MAILPATH
14243 do eval test x\${$as_var+set} = xset \
14244 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14245 done
14246 PS1='$ '
14247 PS2='> '
14248 PS4='+ '
14249
14250 # NLS nuisances.
14251 LC_ALL=C
14252 export LC_ALL
14253 LANGUAGE=C
14254 export LANGUAGE
14255
14256 # CDPATH.
14257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1425815059
1425915060
1426015061 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1426715068 as_status=$1; test $as_status -eq 0 && as_status=1
1426815069 if test "$4"; then
1426915070 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14270 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1427115072 fi
14272 $as_echo "$as_me: error: $2" >&2
15073 printf "%s\n" "$as_me: error: $2" >&2
1427315074 as_fn_exit $as_status
1427415075 } # as_fn_error
15076
1427515077
1427615078
1427715079 # as_fn_set_status STATUS
1430015102 { eval $1=; unset $1;}
1430115103 }
1430215104 as_unset=as_fn_unset
15105
1430315106 # as_fn_append VAR VALUE
1430415107 # ----------------------
1430515108 # Append the text in VALUE to the end of the definition contained in VAR. Take
1430615109 # advantage of any shell optimizations that allow amortized linear growth over
1430715110 # repeated appends, instead of the typical quadratic growth present in naive
1430815111 # implementations.
14309 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15112 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15113 then :
1431015114 eval 'as_fn_append ()
1431115115 {
1431215116 eval $1+=\$2
1431315117 }'
14314 else
15118 else $as_nop
1431515119 as_fn_append ()
1431615120 {
1431715121 eval $1=\$$1\$2
1432315127 # Perform arithmetic evaluation on the ARGs, and store the result in the
1432415128 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1432515129 # must be portable across $(()) and expr.
14326 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15130 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15131 then :
1432715132 eval 'as_fn_arith ()
1432815133 {
1432915134 as_val=$(( $* ))
1433015135 }'
14331 else
15136 else $as_nop
1433215137 as_fn_arith ()
1433315138 {
1433415139 as_val=`expr "$@" || test $? -eq 1`
1435915164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1436015165 X"$0" : 'X\(//\)$' \| \
1436115166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14362 $as_echo X/"$0" |
15167 printf "%s\n" X/"$0" |
1436315168 sed '/^.*\/\([^/][^/]*\)\/*$/{
1436415169 s//\1/
1436515170 q
1438115186 as_cr_digits='0123456789'
1438215187 as_cr_alnum=$as_cr_Letters$as_cr_digits
1438315188
15189
15190 # Determine whether it's possible to make 'echo' print without a newline.
15191 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15192 # for compatibility with existing Makefiles.
1438415193 ECHO_C= ECHO_N= ECHO_T=
1438515194 case `echo -n x` in #(((((
1438615195 -n*)
1439315202 *)
1439415203 ECHO_N='-n';;
1439515204 esac
15205
15206 # For backward compatibility with old third-party macros, we provide
15207 # the shell variables $as_echo and $as_echo_n. New code should use
15208 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15209 as_echo='printf %s\n'
15210 as_echo_n='printf %s'
1439615211
1439715212 rm -f conf$$ conf$$.exe conf$$.file
1439815213 if test -d conf$$.dir; then
1443515250 as_dirs=
1443615251 while :; do
1443715252 case $as_dir in #(
14438 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15253 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1443915254 *) as_qdir=$as_dir;;
1444015255 esac
1444115256 as_dirs="'$as_qdir' $as_dirs"
1444415259 X"$as_dir" : 'X\(//\)[^/]' \| \
1444515260 X"$as_dir" : 'X\(//\)$' \| \
1444615261 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14447 $as_echo X"$as_dir" |
15262 printf "%s\n" X"$as_dir" |
1444815263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444915264 s//\1/
1445015265 q
1450615321 # report actual input values of CONFIG_FILES etc. instead of their
1450715322 # values after options handling.
1450815323 ac_log="
14509 This file was extended by libdiscid $as_me 0.6.2, which was
14510 generated by GNU Autoconf 2.69. Invocation command line was
15324 This file was extended by libdiscid $as_me 0.6.4, which was
15325 generated by GNU Autoconf 2.71. Invocation command line was
1451115326
1451215327 CONFIG_FILES = $CONFIG_FILES
1451315328 CONFIG_HEADERS = $CONFIG_HEADERS
1456915384 Report bugs to the package provider."
1457015385
1457115386 _ACEOF
15387 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
15388 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1457215389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14573 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15390 ac_cs_config='$ac_cs_config_escaped'
1457415391 ac_cs_version="\\
14575 libdiscid config.status 0.6.2
14576 configured by $0, generated by GNU Autoconf 2.69,
15392 libdiscid config.status 0.6.4
15393 configured by $0, generated by GNU Autoconf 2.71,
1457715394 with options \\"\$ac_cs_config\\"
1457815395
14579 Copyright (C) 2012 Free Software Foundation, Inc.
15396 Copyright (C) 2021 Free Software Foundation, Inc.
1458015397 This config.status script is free software; the Free Software Foundation
1458115398 gives unlimited permission to copy, distribute and modify it."
1458215399
1461615433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1461715434 ac_cs_recheck=: ;;
1461815435 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14619 $as_echo "$ac_cs_version"; exit ;;
15436 printf "%s\n" "$ac_cs_version"; exit ;;
1462015437 --config | --confi | --conf | --con | --co | --c )
14621 $as_echo "$ac_cs_config"; exit ;;
15438 printf "%s\n" "$ac_cs_config"; exit ;;
1462215439 --debug | --debu | --deb | --de | --d | -d )
1462315440 debug=: ;;
1462415441 --file | --fil | --fi | --f )
1462515442 $ac_shift
1462615443 case $ac_optarg in
14627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15444 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462815445 '') as_fn_error $? "missing file argument" ;;
1462915446 esac
1463015447 as_fn_append CONFIG_FILES " '$ac_optarg'"
1463215449 --header | --heade | --head | --hea )
1463315450 $ac_shift
1463415451 case $ac_optarg in
14635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15452 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1463615453 esac
1463715454 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1463815455 ac_need_defaults=false;;
1464115458 as_fn_error $? "ambiguous option: \`$1'
1464215459 Try \`$0 --help' for more information.";;
1464315460 --help | --hel | -h )
14644 $as_echo "$ac_cs_usage"; exit ;;
15461 printf "%s\n" "$ac_cs_usage"; exit ;;
1464515462 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1464615463 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1464715464 ac_cs_silent=: ;;
1466915486 if \$ac_cs_recheck; then
1467015487 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1467115488 shift
14672 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15489 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1467315490 CONFIG_SHELL='$SHELL'
1467415491 export CONFIG_SHELL
1467515492 exec "\$@"
1468315500 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1468415501 ## Running $as_me. ##
1468515502 _ASBOX
14686 $as_echo "$ac_log"
15503 printf "%s\n" "$ac_log"
1468715504 } >&5
1468815505
1468915506 _ACEOF
1469115508 #
1469215509 # INIT-COMMANDS
1469315510 #
14694 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15511 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1469515512
1469615513
1469715514 # The HP-UX ksh and POSIX shell print the target directory to stdout
1507915896 # We use the long form for the default assignment because of an extremely
1508015897 # bizarre bug on SunOS 4.1.3.
1508115898 if $ac_need_defaults; then
15082 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15083 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15084 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15899 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
15900 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
15901 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1508515902 fi
1508615903
1508715904 # Have a temporary directory for convenience. Make it in the build tree
1541716234 esac ||
1541816235 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1541916236 esac
15420 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16237 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1542116238 as_fn_append ac_file_inputs " '$ac_f'"
1542216239 done
1542316240
1542516242 # use $as_me), people would be surprised to read:
1542616243 # /* config.h. Generated by config.status. */
1542716244 configure_input='Generated from '`
15428 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16245 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1542916246 `' by configure.'
1543016247 if test x"$ac_file" != x-; then
1543116248 configure_input="$ac_file. $configure_input"
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15433 $as_echo "$as_me: creating $ac_file" >&6;}
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16250 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1543416251 fi
1543516252 # Neutralize special characters interpreted by sed in replacement strings.
1543616253 case $configure_input in #(
1543716254 *\&* | *\|* | *\\* )
15438 ac_sed_conf_input=`$as_echo "$configure_input" |
16255 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1543916256 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1544016257 *) ac_sed_conf_input=$configure_input;;
1544116258 esac
1545216269 X"$ac_file" : 'X\(//\)[^/]' \| \
1545316270 X"$ac_file" : 'X\(//\)$' \| \
1545416271 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15455 $as_echo X"$ac_file" |
16272 printf "%s\n" X"$ac_file" |
1545616273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1545716274 s//\1/
1545816275 q
1547616293 case "$ac_dir" in
1547716294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547816295 *)
15479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16296 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1548016297 # A ".." for each directory in $ac_dir_suffix.
15481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16298 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548216299 case $ac_top_builddir_sub in
1548316300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548416301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554016357 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1554116358 *datarootdir*) ac_datarootdir_seen=yes;;
1554216359 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15544 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16361 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1554516362 _ACEOF
1554616363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1554716364 ac_datarootdir_hack='
1558516402 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1558616403 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1558716404 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1558916406 which seems to be undefined. Please make sure it is defined" >&5
15590 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16407 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1559116408 which seems to be undefined. Please make sure it is defined" >&2;}
1559216409
1559316410 rm -f "$ac_tmp/stdin"
1560316420 #
1560416421 if test x"$ac_file" != x-; then
1560516422 {
15606 $as_echo "/* $configure_input */" \
16423 printf "%s\n" "/* $configure_input */" >&1 \
1560716424 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1560816425 } >"$ac_tmp/config.h" \
1560916426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1561016427 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15612 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16429 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1561316430 else
1561416431 rm -f "$ac_file"
1561516432 mv "$ac_tmp/config.h" "$ac_file" \
1561616433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1561716434 fi
1561816435 else
15619 $as_echo "/* $configure_input */" \
16436 printf "%s\n" "/* $configure_input */" >&1 \
1562016437 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1562116438 || as_fn_error $? "could not create -" "$LINENO" 5
1562216439 fi
1563616453 X"$_am_arg" : 'X\(//\)[^/]' \| \
1563716454 X"$_am_arg" : 'X\(//\)$' \| \
1563816455 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15639 $as_echo X"$_am_arg" |
16456 printf "%s\n" X"$_am_arg" |
1564016457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1564116458 s//\1/
1564216459 q
1565616473 s/.*/./; q'`/stamp-h$_am_stamp_count
1565716474 ;;
1565816475
15659 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15660 $as_echo "$as_me: executing $ac_file commands" >&6;}
16476 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16477 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1566116478 ;;
1566216479 esac
1566316480
1566716484 # Older Autoconf quotes --file arguments for eval, but not when files
1566816485 # are listed without --file. Let's play safe and only enable the eval
1566916486 # if we detect the quoting.
15670 case $CONFIG_FILES in
15671 *\'*) eval set x "$CONFIG_FILES" ;;
15672 *) set x $CONFIG_FILES ;;
15673 esac
16487 # TODO: see whether this extra hack can be removed once we start
16488 # requiring Autoconf 2.70 or later.
16489 case $CONFIG_FILES in #(
16490 *\'*) :
16491 eval set x "$CONFIG_FILES" ;; #(
16492 *) :
16493 set x $CONFIG_FILES ;; #(
16494 *) :
16495 ;;
16496 esac
1567416497 shift
15675 for mf
16498 # Used to flag and report bootstrapping failures.
16499 am_rc=0
16500 for am_mf
1567616501 do
1567716502 # Strip MF so we end up with the name of the file.
15678 mf=`echo "$mf" | sed -e 's/:.*$//'`
15679 # Check whether this is an Automake generated Makefile or not.
15680 # We used to match only the files named 'Makefile.in', but
15681 # some people rename them; so instead we look at the file content.
15682 # Grep'ing the first line is not enough: some people post-process
15683 # each Makefile.in and add a new line on top of each file to say so.
15684 # Grep'ing the whole file is not good either: AIX grep has a line
16503 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
16504 # Check whether this is an Automake generated Makefile which includes
16505 # dependency-tracking related rules and includes.
16506 # Grep'ing the whole file directly is not great: AIX grep has a line
1568516507 # limit of 2048, but all sed's we know have understand at least 4000.
15686 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15687 dirpart=`$as_dirname -- "$mf" ||
15688 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15689 X"$mf" : 'X\(//\)[^/]' \| \
15690 X"$mf" : 'X\(//\)$' \| \
15691 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15692 $as_echo X"$mf" |
16508 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16509 || continue
16510 am_dirpart=`$as_dirname -- "$am_mf" ||
16511 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16512 X"$am_mf" : 'X\(//\)[^/]' \| \
16513 X"$am_mf" : 'X\(//\)$' \| \
16514 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16515 printf "%s\n" X"$am_mf" |
1569316516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1569416517 s//\1/
1569516518 q
1570716530 q
1570816531 }
1570916532 s/.*/./; q'`
15710 else
15711 continue
15712 fi
15713 # Extract the definition of DEPDIR, am__include, and am__quote
15714 # from the Makefile without running 'make'.
15715 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15716 test -z "$DEPDIR" && continue
15717 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15718 test -z "$am__include" && continue
15719 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15720 # Find all dependency output files, they are included files with
15721 # $(DEPDIR) in their names. We invoke sed twice because it is the
15722 # simplest approach to changing $(DEPDIR) to its actual value in the
15723 # expansion.
15724 for file in `sed -n "
15725 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15726 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15727 # Make sure the directory exists.
15728 test -f "$dirpart/$file" && continue
15729 fdir=`$as_dirname -- "$file" ||
15730 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15731 X"$file" : 'X\(//\)[^/]' \| \
15732 X"$file" : 'X\(//\)$' \| \
15733 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15734 $as_echo X"$file" |
15735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16533 am_filepart=`$as_basename -- "$am_mf" ||
16534 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16535 X"$am_mf" : 'X\(//\)$' \| \
16536 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16537 printf "%s\n" X/"$am_mf" |
16538 sed '/^.*\/\([^/][^/]*\)\/*$/{
1573616539 s//\1/
1573716540 q
1573816541 }
15739 /^X\(\/\/\)[^/].*/{
16542 /^X\/\(\/\/\)$/{
1574016543 s//\1/
1574116544 q
1574216545 }
15743 /^X\(\/\/\)$/{
15744 s//\1/
15745 q
15746 }
15747 /^X\(\/\).*/{
16546 /^X\/\(\/\).*/{
1574816547 s//\1/
1574916548 q
1575016549 }
1575116550 s/.*/./; q'`
15752 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15753 # echo "creating $dirpart/$file"
15754 echo '# dummy' > "$dirpart/$file"
15755 done
16551 { echo "$as_me:$LINENO: cd "$am_dirpart" \
16552 && sed -e '/# am--include-marker/d' "$am_filepart" \
16553 | $MAKE -f - am--depfiles" >&5
16554 (cd "$am_dirpart" \
16555 && sed -e '/# am--include-marker/d' "$am_filepart" \
16556 | $MAKE -f - am--depfiles) >&5 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } || am_rc=$?
1575616560 done
16561 if test $am_rc -ne 0; then
16562 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16563 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16564 as_fn_error $? "Something went wrong bootstrapping makefile fragments
16565 for automatic dependency tracking. If GNU make was not used, consider
16566 re-running the configure script with MAKE=\"gmake\" (or whatever is
16567 necessary). You can also try re-running configure with the
16568 '--disable-dependency-tracking' option to at least be able to build
16569 the package (albeit without support for automatic dependency tracking).
16570 See \`config.log' for more details" "$LINENO" 5; }
16571 fi
16572 { am_dirpart=; unset am_dirpart;}
16573 { am_filepart=; unset am_filepart;}
16574 { am_mf=; unset am_mf;}
16575 { am_rc=; unset am_rc;}
16576 rm -f conftest-deps.mk
1575716577 }
1575816578 ;;
1575916579 "libtool":C)
1577116591 cat <<_LT_EOF >> "$cfgfile"
1577216592 #! $SHELL
1577316593 # Generated automatically by $as_me ($PACKAGE) $VERSION
15774 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1577516594 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1577616595
1577716596 # Provide generalized library-building support services.
1628717106 esac
1628817107
1628917108
17109
1629017110 ltmain=$ac_aux_dir/ltmain.sh
1629117111
1629217112
1647517295 $ac_cs_success || as_fn_exit 1
1647617296 fi
1647717297 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16479 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16480 fi
16481
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17299 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17300 fi
17301
17302
77 # PATCH is increase for all other releases
88 define(MAJOR, 0)
99 define(MINOR, 6)
10 define(PATCH, 2)
10 define(PATCH, 4)
1111 # currently the sole purpose of the project is the library,
1212 # so we use the library version also as project version
13 AC_INIT(libdiscid, MAJOR.MINOR.PATCH)
13 AC_INIT([libdiscid],[MAJOR.MINOR.PATCH])
1414
1515 AC_CONFIG_SRCDIR([src/disc.c])
1616 AC_CONFIG_HEADERS([config.h])
4444
4545
4646 case "${host_cpu}-${host_os}" in
47 #*-beos*) os=beos;;
47 *-haiku*) os=haiku;;
4848 *-mingw*) os=win32;;
4949 *-cygwin*) os=win32;;
5050 *-freebsd*) os=freebsd ;;
6262 esac
6363
6464 AC_MSG_NOTICE([Using disc read implementation for: $os])
65 #AM_CONDITIONAL([OS_BEOS], [test x$os = xbeos])
65 AM_CONDITIONAL([OS_HAIKU], [test x$os = xhaiku])
6666 AM_CONDITIONAL([OS_DARWIN], [test x$os = xdarwin])
6767 AM_CONDITIONAL([OS_FREEBSD], [test x$os = xfreebsd])
6868 AM_CONDITIONAL([OS_GENERIC], [test x$os = xgeneric])
7878
7979 dnl Checks for programs.
8080 AC_PROG_CC
81 AM_PROG_LIBTOOL
81 LT_INIT
8282 AC_PROG_INSTALL
8383
8484 dnl Test endianness and size of a long; required for the SHA1 implementation.
105105 AC_CHECK_HEADER([musicbrainz5/mb5_c.h], [have_mb5=yes])
106106 AM_CONDITIONAL([HAVE_MUSICBRAINZ5], [test x${have_mb5} = xyes])
107107
108 AC_OUTPUT([
108 AC_CONFIG_FILES([
109109 Makefile libdiscid.pc versioninfo.rc Doxyfile include/discid/discid.h
110110 ])
111 AC_OUTPUT
44 Copyright (C) 2013 Johannes Dewender
55 Copyright (C) 2006-2010 Lukas Lalinsky
66 Copyright (C) 2006 Matthias Friedrich
7
7
88 This library is free software; you can redistribute it and/or
99 modify it under the terms of the GNU Lesser General Public
1010 License as published by the Free Software Foundation; either
1111 version 2.1 of the License, or (at your option) any later version.
12
12
1313 This library is distributed in the hope that it will be useful,
1414 but WITHOUT ANY WARRANTY; without even the implied warranty of
1515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1616 Lesser General Public License for more details.
17
17
1818 You should have received a copy of the GNU Lesser General Public
1919 License along with this library; if not, write to the Free Software
2020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5151
5252 #define DISCID_VERSION_MAJOR 0
5353 #define DISCID_VERSION_MINOR 6
54 #define DISCID_VERSION_PATCH 2
55 #define DISCID_VERSION_NUM 602
54 #define DISCID_VERSION_PATCH 4
55 #define DISCID_VERSION_NUM 604
5656
5757 #ifdef __cplusplus
5858 extern "C" {
6363 * \section intro Introduction
6464 *
6565 * Libdiscid is a C library for calculating DiscIDs
66 * (<a href="http://musicbrainz.org/doc/Disc ID">MusicBrainz</a>
66 * (<a href="https://musicbrainz.org/doc/Disc ID">MusicBrainz</a>
6767 * and <a href="http://freedb.org">freedb</a>)
6868 * for Audio CDs.
6969 * Additionally the library can extract the MCN/UPC/EAN and the
70 * <a href="http://musicbrainz.org/doc/ISRC">ISRCs</a> from disc.
70 * <a href="https://musicbrainz.org/doc/ISRC">ISRCs</a> from disc.
7171 *
7272 * The idea is to have an easy to use library without any dependencies
7373 * that can be used from scripting languages.
8686 * fprintf(stderr, "Error: %s\n", discid_get_error_msg(disc));
8787 * return 1;
8888 * }
89 *
89 *
9090 * printf("DiscID : %s\n", discid_get_id(disc));
9191 * printf("Submit via : %s\n", discid_get_submission_url(disc));
9292 *
93 * discid_free(disc);
93 * discid_free(disc);
9494 *
9595 * \endcode
9696 *
100100 * version number. To build a small sample program one would use:
101101 *
102102 * @par
103 * <tt>gcc libdiscid-test.c \`pkg-config libdiscid --cflags --libs\` -o libdiscid-test</tt>
103 * <tt>gcc libdiscid-test.c \`pkg-config libdiscid -\-cflags -\-libs\` -o libdiscid-test</tt>
104104 *
105105 * \section Contact
106106 *
107 * - <a href="http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel">MusicBrainz Development Mailing List</a>
108 * - <a href="http://tickets.musicbrainz.org/browse/LIB">MusicBrainz Bug Tracker</a>
109 * - <a href="http://musicbrainz.org/doc/libdiscid">MusicBrainz Documentation</a>
107 * - <a href="https://tickets.musicbrainz.org/browse/LIB">MusicBrainz Bug Tracker</a>
108 * - <a href="https://musicbrainz.org/doc/libdiscid">libdiscid Documentation</a>
110109 * - <a href="https://github.com/metabrainz/libdiscid">Github Repository</a>
111 *
112 */
110 * - IRC: <a href="https://musicbrainz.org/doc/Communication/IRC">\#metabrainz on Libera.Chat</a>
111 *
112 */
113113
114114
115115 /**
226226 * after a put is the same as the length of your last audio track.
227227 * Depending on your tools you might need to substract 11400 (2:32 min.).
228228 * See also:
229 * <a href="http://musicbrainz.org/doc/Disc_ID_Calculation">Disc ID Calculation</a>
229 * <a href="https://musicbrainz.org/doc/Disc_ID_Calculation">Disc ID Calculation</a>
230230 *
231231 *
232232 * @param d a DiscID object created by discid_new()
309309 /**
310310 * Return an URL for retrieving CD information from MusicBrainz' web service
311311 *
312 * The URL provides the CD information in XML.
313 * See http://musicbrainz.org/development/mmd for details.
312 * The URL provides the CD information in XML.
313 * See https://musicbrainz.org/development/mmd for details.
314314 *
315315 * The returned string is only valid as long as the DiscId object exists.
316316 *
483483 #endif
484484
485485 #endif /* MUSICBRAINZ_DISC_ID_H */
486
487 /** \example discid.c
488 * This example code uses libdiscid to read the TOC only from a CD and output
489 * the disc IDs and TOC details.
490 *
491 * The CD device to use can be specified as the first command line parameter.
492 * If none is given the platform's default device will be used.
493 */
494
495 /** \example discisrc.c
496 * This example code uses libdiscid to read the TOC, MCN and ISRCs from a CD.
497 * If supported by the platform and provided by the CD the MCN for the disc and
498 * ISRCs for each track will be printed.
499 *
500 * The CD device to use can be specified as the first command line parameter.
501 * If none is given the platform's default device will be used.
502 */
44 Copyright (C) 2013 Johannes Dewender
55 Copyright (C) 2006-2010 Lukas Lalinsky
66 Copyright (C) 2006 Matthias Friedrich
7
7
88 This library is free software; you can redistribute it and/or
99 modify it under the terms of the GNU Lesser General Public
1010 License as published by the Free Software Foundation; either
1111 version 2.1 of the License, or (at your option) any later version.
12
12
1313 This library is distributed in the hope that it will be useful,
1414 but WITHOUT ANY WARRANTY; without even the implied warranty of
1515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1616 Lesser General Public License for more details.
17
17
1818 You should have received a copy of the GNU Lesser General Public
1919 License along with this library; if not, write to the Free Software
2020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6363 * \section intro Introduction
6464 *
6565 * Libdiscid is a C library for calculating DiscIDs
66 * (<a href="http://musicbrainz.org/doc/Disc ID">MusicBrainz</a>
66 * (<a href="https://musicbrainz.org/doc/Disc ID">MusicBrainz</a>
6767 * and <a href="http://freedb.org">freedb</a>)
6868 * for Audio CDs.
6969 * Additionally the library can extract the MCN/UPC/EAN and the
70 * <a href="http://musicbrainz.org/doc/ISRC">ISRCs</a> from disc.
70 * <a href="https://musicbrainz.org/doc/ISRC">ISRCs</a> from disc.
7171 *
7272 * The idea is to have an easy to use library without any dependencies
7373 * that can be used from scripting languages.
8686 * fprintf(stderr, "Error: %s\n", discid_get_error_msg(disc));
8787 * return 1;
8888 * }
89 *
89 *
9090 * printf("DiscID : %s\n", discid_get_id(disc));
9191 * printf("Submit via : %s\n", discid_get_submission_url(disc));
9292 *
93 * discid_free(disc);
93 * discid_free(disc);
9494 *
9595 * \endcode
9696 *
100100 * version number. To build a small sample program one would use:
101101 *
102102 * @par
103 * <tt>gcc libdiscid-test.c \`pkg-config libdiscid --cflags --libs\` -o libdiscid-test</tt>
103 * <tt>gcc libdiscid-test.c \`pkg-config libdiscid -\-cflags -\-libs\` -o libdiscid-test</tt>
104104 *
105105 * \section Contact
106106 *
107 * - <a href="http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel">MusicBrainz Development Mailing List</a>
108 * - <a href="http://tickets.musicbrainz.org/browse/LIB">MusicBrainz Bug Tracker</a>
109 * - <a href="http://musicbrainz.org/doc/libdiscid">MusicBrainz Documentation</a>
107 * - <a href="https://tickets.musicbrainz.org/browse/LIB">MusicBrainz Bug Tracker</a>
108 * - <a href="https://musicbrainz.org/doc/libdiscid">libdiscid Documentation</a>
110109 * - <a href="https://github.com/metabrainz/libdiscid">Github Repository</a>
111 *
112 */
110 * - IRC: <a href="https://musicbrainz.org/doc/Communication/IRC">\#metabrainz on Libera.Chat</a>
111 *
112 */
113113
114114
115115 /**
226226 * after a put is the same as the length of your last audio track.
227227 * Depending on your tools you might need to substract 11400 (2:32 min.).
228228 * See also:
229 * <a href="http://musicbrainz.org/doc/Disc_ID_Calculation">Disc ID Calculation</a>
229 * <a href="https://musicbrainz.org/doc/Disc_ID_Calculation">Disc ID Calculation</a>
230230 *
231231 *
232232 * @param d a DiscID object created by discid_new()
309309 /**
310310 * Return an URL for retrieving CD information from MusicBrainz' web service
311311 *
312 * The URL provides the CD information in XML.
313 * See http://musicbrainz.org/development/mmd for details.
312 * The URL provides the CD information in XML.
313 * See https://musicbrainz.org/development/mmd for details.
314314 *
315315 * The returned string is only valid as long as the DiscId object exists.
316316 *
483483 #endif
484484
485485 #endif /* MUSICBRAINZ_DISC_ID_H */
486
487 /** \example discid.c
488 * This example code uses libdiscid to read the TOC only from a CD and output
489 * the disc IDs and TOC details.
490 *
491 * The CD device to use can be specified as the first command line parameter.
492 * If none is given the platform's default device will be used.
493 */
494
495 /** \example discisrc.c
496 * This example code uses libdiscid to read the TOC, MCN and ISRCs from a CD.
497 * If supported by the platform and provided by the CD the MCN for the disc and
498 * ISRCs for each track will be printed.
499 *
500 * The CD device to use can be specified as the first command line parameter.
501 * If none is given the platform's default device will be used.
502 */
3131 #include <sys/types.h>
3232 #include <unistd.h>
3333
34 #if defined(__FreeBSD__)
34 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
3535 #include <netinet/in.h> /* for ntohl() */
3636 #else
3737 #include <util.h> /* for getrawpartition() */
4343 #define MAX_DEV_LEN 15
4444
4545 static int get_device(int n, char* device_name, size_t device_name_length) {
46 #if !defined(__FreeBSD__) /* /dev/rcdNX, where X is the letter for the raw partition */
46 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
47 /* on FreeBSD it's just /dev/cdN */
48 snprintf(device_name, device_name_length, "/dev/cd%d", n - 1);
49 #else
50 /* On NetBSD and OpenBSD, it's /dev/rcdNX, where X is the letter for the raw partition */
4751 snprintf(device_name, device_name_length, "/dev/rcd%d%c", n - 1, 'a' + getrawpartition());
48 #else /* on FreeBSD it's just /dev/cdN */
49 snprintf(device_name, device_name_length, "/dev/cd%d", n - 1);
5052 #endif
5153 return mb_disc_unix_exists(device_name);
5254 }
8183
8284 for (i = toc->first_track_num; i <= toc->last_track_num; ++i) {
8385 assert(te[i - toc->first_track_num].track == i);
84 #if defined(__FreeBSD__) /* LBA address is in network byte order */
86 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* LBA address is in network byte order */
8587 toc->tracks[i].address = ntohl(te[i - toc->first_track_num].addr.lba);
8688 #else
8789 toc->tracks[i].address = te[i - toc->first_track_num].addr.lba;
9092 }
9193 /* leadout - track number 170 (0xAA) */
9294 assert(te[i - toc->first_track_num].track == 0xAA);
93 #if defined(__FreeBSD__) /* LBA address is in network byte order */
95 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* LBA address is in network byte order */
9496 toc->tracks[0].address = ntohl(te[i - toc->first_track_num].addr.lba);
9597 #else
9698 toc->tracks[0].address = te[i - toc->first_track_num].addr.lba;
0 /* --------------------------------------------------------------------------
1
2 MusicBrainz -- The Internet music metadatabase
3
4 Copyright (C) 2019 Philipp Wolfer
5 Copyright (C) 2018 Xiang Fan
6 Copyright (C) 2009 Shunsuke Kuroda
7 Copyright (C) 2006 Matthias Friedrich
8 Copyright (C) 2000 Robert Kaye
9 Copyright (C) 1999 Marc E E van Woerkom
10
11 This library is free software; you can redistribute it and/or
12 modify it under the terms of the GNU Lesser General Public
13 License as published by the Free Software Foundation; either
14 version 2.1 of the License, or (at your option) any later version.
15
16 This library is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
20
21 You should have received a copy of the GNU Lesser General Public
22 License along with this library; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 02110-1301 USA
25
26 --------------------------------------------------------------------------- */
27 #include <stdlib.h>
28 #include <stdio.h>
29 #include <string.h>
30 #include <fcntl.h>
31 #include <assert.h>
32 #include <unistd.h>
33 #include <scsi.h>
34 #include <sys/types.h>
35 #include <sys/stat.h>
36 #include <sys/ioctl.h>
37
38
39 #include "discid/discid.h"
40 #include "discid/discid_private.h"
41 #include "unix.h"
42
43 #define NUM_CANDIDATES 4
44
45 static char *device_candidates[NUM_CANDIDATES] = {
46 "/dev/disk/atapi/0/master/raw",
47 "/dev/disk/atapi/0/slave/raw",
48 "/dev/disk/atapi/1/master/raw",
49 "/dev/disk/atapi/1/slave/raw"
50 };
51
52 int read_toc_entry(scsi_toc *toc, int track_num, mb_disc_toc_track *track) {
53 int base, address;
54
55 /* leadout - track number 170 (0xaa) */
56 if (track_num == 0xaa)
57 track_num = toc->toc_data[3] + 1;
58
59 base = ((track_num - toc->toc_data[2]) * 8) + 4;
60
61 /* out of bound */
62 if (base >= sizeof(toc->toc_data) / sizeof(toc->toc_data[0]) ||
63 base + 7 >= sizeof(toc->toc_data) / sizeof(toc->toc_data[0]) ||
64 base < 0)
65 return 0;
66
67 /* LBA = (minutes * 60 + seconds) * 75 + frames - 150 */
68 address = toc->toc_data[base + 5];
69 address *= 60;
70 address += toc->toc_data[base + 6];
71 address *= 75;
72 address += toc->toc_data[base + 7];
73 address -= 150;
74 track->address = address;
75
76 track->control = toc->toc_data[base + 1];
77
78 return 1;
79 }
80
81 int mb_disc_unix_read_toc_header(int fd, mb_disc_toc *disk_toc) {
82 scsi_toc toc;
83 int i;
84 int ret = ioctl(fd, B_SCSI_GET_TOC, &toc);
85
86 if (ret == -1)
87 return 0; /* error */
88
89 disk_toc->first_track_num = toc.toc_data[2];
90 disk_toc->last_track_num = toc.toc_data[3];
91
92 for (i = disk_toc->first_track_num; i <= disk_toc->last_track_num; ++i) {
93 if (read_toc_entry(&toc, i, &disk_toc->tracks[i]) == 0) {
94 return 0; /* error */
95 }
96 }
97
98 return 1;
99 }
100
101 int mb_disc_unix_read_toc_entry(int fd, int track_num, mb_disc_toc_track *track) {
102 /* All TOC entries were already read by mb_disc_unix_read_toc_header() */
103 return 1;
104 }
105
106 void mb_disc_unix_read_mcn(int fd, mb_disc_private *disc) {
107 return;
108 }
109
110 void mb_disc_unix_read_isrc(int fd, mb_disc_private *disc, int track_num) {
111 return;
112 }
113
114 char *mb_disc_get_default_device_unportable(void) {
115 return mb_disc_unix_find_device(device_candidates, NUM_CANDIDATES);
116 }
117
118 int mb_disc_has_feature_unportable(enum discid_feature feature) {
119 switch(feature) {
120 case DISCID_FEATURE_READ:
121 return 1;
122 default:
123 return 0;
124 }
125 }
126
127 int mb_disc_read_unportable(mb_disc_private *disc, const char *device,
128 unsigned int features) {
129 return mb_disc_unix_read(disc, device, features);
130 }
131
132 /* EOF */
00 #include <winver.h>
11
2 #define VER_FILEVERSION 0,6,2,0
3 #define VER_FILEVERSION_STR "0.6.2\0"
2 #define VER_FILEVERSION 0,6,4,0
3 #define VER_FILEVERSION_STR "0.6.4\0"
44
5 #define VER_PRODUCTVERSION 0,6,2,0
6 #define VER_PRODUCTVERSION_STR "0.6.2\0"
5 #define VER_PRODUCTVERSION 0,6,4,0
6 #define VER_PRODUCTVERSION_STR "0.6.4\0"
77
88 VS_VERSION_INFO VERSIONINFO
99 FILEVERSION VER_FILEVERSION
1919 VALUE "FileDescription", "MusicBrainz disc ID library\0"
2020 VALUE "FileVersion", VER_FILEVERSION_STR
2121 VALUE "InternalName", "discid\0"
22 VALUE "LegalCopyright", "2006-2013 MetaBrainz Foundation\0"
22 VALUE "LegalCopyright", "2006-2023 MetaBrainz Foundation\0"
2323 VALUE "OriginalFilename", "discid.dll\0"
2424 VALUE "ProductName", "libdiscid\0"
2525 VALUE "ProductVersion", VER_PRODUCTVERSION_STR
1919 VALUE "FileDescription", "MusicBrainz disc ID library\0"
2020 VALUE "FileVersion", VER_FILEVERSION_STR
2121 VALUE "InternalName", "discid\0"
22 VALUE "LegalCopyright", "2006-2013 MetaBrainz Foundation\0"
22 VALUE "LegalCopyright", "2006-2023 MetaBrainz Foundation\0"
2323 VALUE "OriginalFilename", "discid.dll\0"
2424 VALUE "ProductName", "libdiscid\0"
2525 VALUE "ProductVersion", VER_PRODUCTVERSION_STR