Codebase list ui-utilcpp / def9fb6
New upstream version 1.10.1 Stephan Sürken 1 year, 3 months ago
24 changed file(s) with 8306 addition(s) and 6260 deletion(s). Raw diff Collapse all Expand all
2626 /ui-auto.am
2727 /src/tools/ui-utilcpp-*
2828 /src/ui-utilcpp/version.h
29 /src/ui-utilcpp/xdr_rquota.c
2930 /autodoc/
3031 /ui-doxygen
1818 # [ui-auto-release Debian configuration]
1919 #----------------------------------------------------------------------
2020 # mini-buildd (hellfield)
21 . template.deb_git+mbd-1.x_release-version-fix-with-buster "git@salsa.debian.org:debian/ui-utilcpp.git" "hellfield" "ab" "sid" "bullseye buster jessie"
21 . template.deb_git+mbd-1.x_release-version-fix-with-buster "git@salsa.debian.org:debian/ui-utilcpp.git" "hellfield" "ab" "sid" "bullseye"
2222
2323 #----------------------------------------------------------------------
2424 # [ui-auto-env|shell|update configuration ]
0 2023-01-08 Stephan Sürken <absurd@olurdix.de>
1
2 [ui-auto-release run]: News for 1.10.1.
3
4 configure.ac: Prepare 1.10.1 (lib 9:2:0)
5
6 Doxyfile.in (PAPER_TYPE): Change from unknown a4wide to a4 (fixes doxygen warning)
7
8 Doxyfile.in: Update via ``doxygen -u`` to version 1.9.4 (fixes warnings)
9
10 configure.ac: Incorporate Debian patch "Port from deprecated glibc rpcsvc to libtirpc-dev" (thanks to Steve Langasek)
11 https://sources.debian.org/src/ui-utilcpp/1.10.0-1.1/debian/patches/tirpc.patch/
12
013 2019-09-25 Stephan Sürken <absurd@olurdix.de>
14
15 .ui-auto.conf: Build for sid+bullseye only.
16
17 [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control.
118
219 [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.10.0.
320
0 # Doxyfile 1.8.7
0 # Doxyfile 1.9.4
11
22 # This file describes the settings to be used by the documentation system
33 # doxygen (www.doxygen.org) for a project.
1111 # For lists, items can also be appended using:
1212 # TAG += value [value, ...]
1313 # Values that contain spaces should be placed between quotes (\" \").
14 #
15 # Note:
16 #
17 # Use doxygen to compare the used configuration file with the template
18 # configuration file:
19 # doxygen -x [configFile]
20 # Use doxygen to compare the used configuration file with the template
21 # configuration file without replacing the environment variables:
22 # doxygen -x_noenv [configFile]
1423
1524 #---------------------------------------------------------------------------
1625 # Project related configuration options
1726 #---------------------------------------------------------------------------
1827
19 # This tag specifies the encoding used for all characters in the config file
20 # that follow. The default is UTF-8 which is also the encoding used for all text
21 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
22 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
23 # for the list of possible encodings.
28 # This tag specifies the encoding used for all characters in the configuration
29 # file that follow. The default is UTF-8 which is also the encoding used for all
30 # text before the first occurrence of this tag. Doxygen uses libiconv (or the
31 # iconv built into libc) for the transcoding. See
32 # https://www.gnu.org/software/libiconv/ for the list of possible encodings.
2433 # The default value is: UTF-8.
2534
2635 DOXYFILE_ENCODING = UTF-8
4554
4655 PROJECT_BRIEF =
4756
48 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
49 # the documentation. The maximum height of the logo should not exceed 55 pixels
50 # and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
51 # to the output directory.
57 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
58 # in the documentation. The maximum height of the logo should not exceed 55
59 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
60 # the logo to the output directory.
5261
5362 PROJECT_LOGO =
5463
5968
6069 OUTPUT_DIRECTORY = autodoc
6170
62 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
63 # directories (in 2 levels) under the output directory of each output format and
64 # will distribute the generated files over these directories. Enabling this
71 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
72 # sub-directories (in 2 levels) under the output directory of each output format
73 # and will distribute the generated files over these directories. Enabling this
6574 # option can be useful when feeding doxygen a huge amount of source files, where
6675 # putting all generated files in the same directory would otherwise causes
67 # performance problems for the file system.
76 # performance problems for the file system. Adapt CREATE_SUBDIRS_LEVEL to
77 # control the number of sub-directories.
6878 # The default value is: NO.
6979
7080 CREATE_SUBDIRS = NO
81
82 # Controls the number of sub-directories that will be created when
83 # CREATE_SUBDIRS tag is set to YES. Level 0 represents 16 directories, and every
84 # level increment doubles the number of directories, resulting in 4096
85 # directories at level 8 which is the default and also the maximum value. The
86 # sub-directories are organized in 2 levels, the first level always has a fixed
87 # numer of 16 directories.
88 # Minimum value: 0, maximum value: 8, default value: 8.
89 # This tag requires that the tag CREATE_SUBDIRS is set to YES.
90
91 CREATE_SUBDIRS_LEVEL = 8
7192
7293 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
7394 # characters to appear in the names of generated files. If set to NO, non-ASCII
80101 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
81102 # documentation generated by doxygen is written. Doxygen will use this
82103 # information to generate all constant output in the proper language.
83 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
84 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
85 # Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
86 # Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
87 # Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
88 # Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
89 # Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
90 # Ukrainian and Vietnamese.
104 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Bulgarian,
105 # Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, English
106 # (United States), Esperanto, Farsi (Persian), Finnish, French, German, Greek,
107 # Hindi, Hungarian, Indonesian, Italian, Japanese, Japanese-en (Japanese with
108 # English messages), Korean, Korean-en (Korean with English messages), Latvian,
109 # Lithuanian, Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese,
110 # Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish,
111 # Swedish, Turkish, Ukrainian and Vietnamese.
91112 # The default value is: English.
92113
93114 OUTPUT_LANGUAGE = English
94115
95 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
116 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
96117 # descriptions after the members that are listed in the file and class
97118 # documentation (similar to Javadoc). Set to NO to disable this.
98119 # The default value is: YES.
99120
100121 BRIEF_MEMBER_DESC = YES
101122
102 # If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
123 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
103124 # description of a member or function before the detailed description
104125 #
105126 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
134155
135156 INLINE_INHERITED_MEMB = NO
136157
137 # If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
158 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
138159 # before files name in the file list and in the header files. If set to NO the
139160 # shortest path that makes the file name unique will be used
140161 # The default value is: YES.
178199
179200 JAVADOC_AUTOBRIEF = NO
180201
202 # If the JAVADOC_BANNER tag is set to YES then doxygen will interpret a line
203 # such as
204 # /***************
205 # as being the beginning of a Javadoc-style comment "banner". If set to NO, the
206 # Javadoc-style will behave just like regular comments and it will not be
207 # interpreted by doxygen.
208 # The default value is: NO.
209
210 JAVADOC_BANNER = NO
211
181212 # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
182213 # line (until the first dot) of a Qt-style comment as the brief description. If
183214 # set to NO, the Qt-style will behave just like regular Qt-style comments (thus
198229
199230 MULTILINE_CPP_IS_BRIEF = NO
200231
232 # By default Python docstrings are displayed as preformatted text and doxygen's
233 # special commands cannot be used. By setting PYTHON_DOCSTRING to NO the
234 # doxygen's special commands can be used and the contents of the docstring
235 # documentation blocks is shown as doxygen documentation.
236 # The default value is: YES.
237
238 PYTHON_DOCSTRING = YES
239
201240 # If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
202241 # documentation from any documented member that it re-implements.
203242 # The default value is: YES.
204243
205244 INHERIT_DOCS = YES
206245
207 # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
208 # new page for each member. If set to NO, the documentation of a member will be
209 # part of the file/class/namespace that contains it.
246 # If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
247 # page for each member. If set to NO, the documentation of a member will be part
248 # of the file/class/namespace that contains it.
210249 # The default value is: NO.
211250
212251 SEPARATE_MEMBER_PAGES = NO
221260 # the documentation. An alias has the form:
222261 # name=value
223262 # For example adding
224 # "sideeffect=@par Side Effects:\n"
263 # "sideeffect=@par Side Effects:^^"
225264 # will allow you to put the command \sideeffect (or @sideeffect) in the
226265 # documentation, which will result in a user-defined paragraph with heading
227 # "Side Effects:". You can put \n's in the value part of an alias to insert
228 # newlines.
266 # "Side Effects:". Note that you cannot put \n's in the value part of an alias
267 # to insert newlines (in the resulting output). You can put ^^ in the value part
268 # of an alias to insert a newline as if a physical newline was in the original
269 # file. When you need a literal { or } or , in the value part of an alias you
270 # have to escape them by means of a backslash (\), this can lead to conflicts
271 # with the commands \{ and \} for these it is advised to use the version @{ and
272 # @} or use a double escape (\\{ and \\})
229273
230274 ALIASES =
231
232 # This tag can be used to specify a number of word-keyword mappings (TCL only).
233 # A mapping has the form "name=value". For example adding "class=itcl::class"
234 # will allow you to use the command class in the itcl::class meaning.
235
236 TCL_SUBST =
237275
238276 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
239277 # only. Doxygen will then generate output that is more tailored for C. For
263301
264302 OPTIMIZE_OUTPUT_VHDL = NO
265303
304 # Set the OPTIMIZE_OUTPUT_SLICE tag to YES if your project consists of Slice
305 # sources only. Doxygen will then generate output that is more tailored for that
306 # language. For instance, namespaces will be presented as modules, types will be
307 # separated into more groups, etc.
308 # The default value is: NO.
309
310 OPTIMIZE_OUTPUT_SLICE = NO
311
266312 # Doxygen selects the parser to use depending on the extension of the files it
267313 # parses. With this tag you can assign which parser to use for a given
268314 # extension. Doxygen has a built-in mapping, but you can override or extend it
269315 # using this tag. The format is ext=language, where ext is a file extension, and
270 # language is one of the parsers supported by doxygen: IDL, Java, Javascript,
271 # C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
272 # FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
273 # Fortran. In the later case the parser tries to guess whether the code is fixed
274 # or free formatted code, this is the default for Fortran type files), VHDL. For
275 # instance to make doxygen treat .inc files as Fortran files (default is PHP),
276 # and .f files as C (default is Fortran), use: inc=Fortran f=C.
277 #
278 # Note For files without extension you can use no_extension as a placeholder.
316 # language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
317 # Csharp (C#), C, C++, Lex, D, PHP, md (Markdown), Objective-C, Python, Slice,
318 # VHDL, Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
319 # FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
320 # tries to guess whether the code is fixed or free formatted code, this is the
321 # default for Fortran type files). For instance to make doxygen treat .inc files
322 # as Fortran files (default is PHP), and .f files as C (default is Fortran),
323 # use: inc=Fortran f=C.
324 #
325 # Note: For files without extension you can use no_extension as a placeholder.
279326 #
280327 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
281 # the files are not read by doxygen.
328 # the files are not read by doxygen. When specifying no_extension you should add
329 # * to the FILE_PATTERNS.
330 #
331 # Note see also the list of default file extension mappings.
282332
283333 EXTENSION_MAPPING =
284334
285335 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
286336 # according to the Markdown format, which allows for more readable
287 # documentation. See http://daringfireball.net/projects/markdown/ for details.
337 # documentation. See https://daringfireball.net/projects/markdown/ for details.
288338 # The output of markdown processing is further processed by doxygen, so you can
289339 # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
290340 # case of backward compatibilities issues.
292342
293343 MARKDOWN_SUPPORT = YES
294344
345 # When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up
346 # to that level are automatically included in the table of contents, even if
347 # they do not have an id attribute.
348 # Note: This feature currently applies only to Markdown headings.
349 # Minimum value: 0, maximum value: 99, default value: 5.
350 # This tag requires that the tag MARKDOWN_SUPPORT is set to YES.
351
352 TOC_INCLUDE_HEADINGS = 5
353
295354 # When enabled doxygen tries to link words that correspond to documented
296355 # classes, or namespaces to their corresponding documentation. Such a link can
297 # be prevented in individual cases by by putting a % sign in front of the word
298 # or globally by setting AUTOLINK_SUPPORT to NO.
356 # be prevented in individual cases by putting a % sign in front of the word or
357 # globally by setting AUTOLINK_SUPPORT to NO.
299358 # The default value is: YES.
300359
301360 AUTOLINK_SUPPORT = YES
317376 CPP_CLI_SUPPORT = NO
318377
319378 # Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
320 # http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
379 # https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen
321380 # will parse them like normal C++ but will assume all classes use public instead
322381 # of private inheritance when no explicit protection keyword is present.
323382 # The default value is: NO.
335394 IDL_PROPERTY_SUPPORT = YES
336395
337396 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
338 # tag is set to YES, then doxygen will reuse the documentation of the first
397 # tag is set to YES then doxygen will reuse the documentation of the first
339398 # member in the group (if any) for the other members of the group. By default
340399 # all members of a group must be documented explicitly.
341400 # The default value is: NO.
342401
343402 DISTRIBUTE_GROUP_DOC = NO
403
404 # If one adds a struct or class to a group and this option is enabled, then also
405 # any nested class or struct is added to the same group. By default this option
406 # is disabled and one has to add nested compounds explicitly via \ingroup.
407 # The default value is: NO.
408
409 GROUP_NESTED_COMPOUNDS = NO
344410
345411 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
346412 # (for instance a group of public functions) to be put as a subgroup of that
396462
397463 LOOKUP_CACHE_SIZE = 0
398464
465 # The NUM_PROC_THREADS specifies the number of threads doxygen is allowed to use
466 # during processing. When set to 0 doxygen will based this on the number of
467 # cores available in the system. You can set it explicitly to a value larger
468 # than 0 to get more control over the balance between CPU load and processing
469 # speed. At this moment only the input processing can be done using multiple
470 # threads. Since this is still an experimental feature the default is set to 1,
471 # which effectively disables parallel processing. Please report any issues you
472 # encounter. Generating dot graphs in parallel is controlled by the
473 # DOT_NUM_THREADS setting.
474 # Minimum value: 0, maximum value: 32, default value: 1.
475
476 NUM_PROC_THREADS = 1
477
399478 #---------------------------------------------------------------------------
400479 # Build related configuration options
401480 #---------------------------------------------------------------------------
402481
403 # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
482 # If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
404483 # documentation are documented, even if no documentation was available. Private
405484 # class members and static file members will be hidden unless the
406485 # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
410489
411490 EXTRACT_ALL = NO
412491
413 # If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
492 # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
414493 # be included in the documentation.
415494 # The default value is: NO.
416495
417496 EXTRACT_PRIVATE = NO
418497
419 # If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
498 # If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual
499 # methods of a class will be included in the documentation.
500 # The default value is: NO.
501
502 EXTRACT_PRIV_VIRTUAL = NO
503
504 # If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
420505 # scope will be included in the documentation.
421506 # The default value is: NO.
422507
423508 EXTRACT_PACKAGE = NO
424509
425 # If the EXTRACT_STATIC tag is set to YES all static members of a file will be
510 # If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
426511 # included in the documentation.
427512 # The default value is: NO.
428513
429514 EXTRACT_STATIC = NO
430515
431 # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
432 # locally in source files will be included in the documentation. If set to NO
516 # If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
517 # locally in source files will be included in the documentation. If set to NO,
433518 # only classes defined in header files are included. Does not have any effect
434519 # for Java sources.
435520 # The default value is: YES.
436521
437522 EXTRACT_LOCAL_CLASSES = YES
438523
439 # This flag is only useful for Objective-C code. When set to YES local methods,
524 # This flag is only useful for Objective-C code. If set to YES, local methods,
440525 # which are defined in the implementation section but not in the interface are
441 # included in the documentation. If set to NO only methods in the interface are
526 # included in the documentation. If set to NO, only methods in the interface are
442527 # included.
443528 # The default value is: NO.
444529
453538
454539 EXTRACT_ANON_NSPACES = NO
455540
541 # If this flag is set to YES, the name of an unnamed parameter in a declaration
542 # will be determined by the corresponding definition. By default unnamed
543 # parameters remain unnamed in the output.
544 # The default value is: YES.
545
546 RESOLVE_UNNAMED_PARAMS = YES
547
456548 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
457549 # undocumented members inside documented classes or files. If set to NO these
458550 # members will be included in the various overviews, but no documentation
463555
464556 # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
465557 # undocumented classes that are normally visible in the class hierarchy. If set
466 # to NO these classes will be included in the various overviews. This option has
467 # no effect if EXTRACT_ALL is enabled.
558 # to NO, these classes will be included in the various overviews. This option
559 # has no effect if EXTRACT_ALL is enabled.
468560 # The default value is: NO.
469561
470562 HIDE_UNDOC_CLASSES = NO
471563
472564 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
473 # (class|struct|union) declarations. If set to NO these declarations will be
474 # included in the documentation.
565 # declarations. If set to NO, these declarations will be included in the
566 # documentation.
475567 # The default value is: NO.
476568
477569 HIDE_FRIEND_COMPOUNDS = NO
478570
479571 # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
480 # documentation blocks found inside the body of a function. If set to NO these
572 # documentation blocks found inside the body of a function. If set to NO, these
481573 # blocks will be appended to the function's detailed documentation block.
482574 # The default value is: NO.
483575
490582
491583 INTERNAL_DOCS = NO
492584
493 # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
494 # names in lower-case letters. If set to YES upper-case letters are also
495 # allowed. This is useful if you have classes or files whose names only differ
496 # in case and if your file system supports case sensitive file names. Windows
497 # and Mac users are advised to set this option to NO.
585 # With the correct setting of option CASE_SENSE_NAMES doxygen will better be
586 # able to match the capabilities of the underlying filesystem. In case the
587 # filesystem is case sensitive (i.e. it supports files in the same directory
588 # whose names only differ in casing), the option must be set to YES to properly
589 # deal with such files in case they appear in the input. For filesystems that
590 # are not case sensitive the option should be set to NO to properly deal with
591 # output files written for symbols that only differ in casing, such as for two
592 # classes, one named CLASS and the other named Class, and to also support
593 # references to files without having to specify the exact matching casing. On
594 # Windows (including Cygwin) and MacOS, users should typically set this option
595 # to NO, whereas on Linux or other Unix flavors it should typically be set to
596 # YES.
498597 # The default value is: system dependent.
499598
500599 CASE_SENSE_NAMES = YES
501600
502601 # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
503 # their full class and namespace scopes in the documentation. If set to YES the
602 # their full class and namespace scopes in the documentation. If set to YES, the
504603 # scope will be hidden.
505604 # The default value is: NO.
506605
507606 HIDE_SCOPE_NAMES = NO
607
608 # If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
609 # append additional text to a page's title, such as Class Reference. If set to
610 # YES the compound reference will be hidden.
611 # The default value is: NO.
612
613 HIDE_COMPOUND_REFERENCE= NO
614
615 # If the SHOW_HEADERFILE tag is set to YES then the documentation for a class
616 # will show which file needs to be included to use the class.
617 # The default value is: YES.
618
619 SHOW_HEADERFILE = YES
508620
509621 # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
510622 # the files that are included by a file in the documentation of that file.
533645
534646 # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
535647 # (detailed) documentation of file and class members alphabetically by member
536 # name. If set to NO the members will appear in declaration order.
648 # name. If set to NO, the members will appear in declaration order.
537649 # The default value is: YES.
538650
539651 SORT_MEMBER_DOCS = YES
540652
541653 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
542654 # descriptions of file, namespace and class members alphabetically by member
543 # name. If set to NO the members will appear in declaration order. Note that
655 # name. If set to NO, the members will appear in declaration order. Note that
544656 # this will also influence the order of the classes in the class list.
545657 # The default value is: NO.
546658
585697
586698 STRICT_PROTO_MATCHING = NO
587699
588 # The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
589 # todo list. This list is created by putting \todo commands in the
590 # documentation.
700 # The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
701 # list. This list is created by putting \todo commands in the documentation.
591702 # The default value is: YES.
592703
593704 GENERATE_TODOLIST = YES
594705
595 # The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
596 # test list. This list is created by putting \test commands in the
597 # documentation.
706 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
707 # list. This list is created by putting \test commands in the documentation.
598708 # The default value is: YES.
599709
600710 GENERATE_TESTLIST = YES
601711
602 # The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
712 # The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
603713 # list. This list is created by putting \bug commands in the documentation.
604714 # The default value is: YES.
605715
606716 GENERATE_BUGLIST = YES
607717
608 # The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
718 # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
609719 # the deprecated list. This list is created by putting \deprecated commands in
610720 # the documentation.
611721 # The default value is: YES.
630740 MAX_INITIALIZER_LINES = 30
631741
632742 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
633 # the bottom of the documentation of classes and structs. If set to YES the list
634 # will mention the files that were used to generate the documentation.
743 # the bottom of the documentation of classes and structs. If set to YES, the
744 # list will mention the files that were used to generate the documentation.
635745 # The default value is: YES.
636746
637747 SHOW_USED_FILES = YES
665775 # output files in an output format independent way. To create the layout file
666776 # that represents doxygen's defaults, run doxygen with the -l option. You can
667777 # optionally specify a file name after the option, if omitted DoxygenLayout.xml
668 # will be used as the name of the layout file.
778 # will be used as the name of the layout file. See also section "Changing the
779 # layout of pages" for information.
669780 #
670781 # Note that if you run doxygen from a directory containing a file called
671782 # DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
676787 # The CITE_BIB_FILES tag can be used to specify one or more bib files containing
677788 # the reference definitions. This must be a list of .bib files. The .bib
678789 # extension is automatically appended if omitted. This requires the bibtex tool
679 # to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
790 # to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info.
680791 # For LaTeX the style of the bibliography can be controlled using
681792 # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
682 # search path. Do not use file names with spaces, bibtex cannot handle them. See
683 # also \cite for info how to create references.
793 # search path. See also \cite for info how to create references.
684794
685795 CITE_BIB_FILES =
686796
696806 QUIET = YES
697807
698808 # The WARNINGS tag can be used to turn on/off the warning messages that are
699 # generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
809 # generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
700810 # this implies that the warnings are on.
701811 #
702812 # Tip: Turn warnings on while writing the documentation.
704814
705815 WARNINGS = YES
706816
707 # If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
817 # If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
708818 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
709819 # will automatically be disabled.
710820 # The default value is: YES.
712822 WARN_IF_UNDOCUMENTED = NO
713823
714824 # If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
715 # potential errors in the documentation, such as not documenting some parameters
716 # in a documented function, or documenting parameters that don't exist or using
717 # markup commands wrongly.
825 # potential errors in the documentation, such as documenting some parameters in
826 # a documented function twice, or documenting parameters that don't exist or
827 # using markup commands wrongly.
718828 # The default value is: YES.
719829
720830 WARN_IF_DOC_ERROR = YES
831
832 # If WARN_IF_INCOMPLETE_DOC is set to YES, doxygen will warn about incomplete
833 # function parameter documentation. If set to NO, doxygen will accept that some
834 # parameters have no documentation without warning.
835 # The default value is: YES.
836
837 WARN_IF_INCOMPLETE_DOC = YES
721838
722839 # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
723840 # are documented, but have no documentation for their parameters or return
724 # value. If set to NO doxygen will only warn about wrong or incomplete parameter
725 # documentation, but not about the absence of documentation.
841 # value. If set to NO, doxygen will only warn about wrong parameter
842 # documentation, but not about the absence of documentation. If EXTRACT_ALL is
843 # set to YES then this flag will automatically be disabled. See also
844 # WARN_IF_INCOMPLETE_DOC
726845 # The default value is: NO.
727846
728847 WARN_NO_PARAMDOC = NO
848
849 # If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
850 # a warning is encountered. If the WARN_AS_ERROR tag is set to FAIL_ON_WARNINGS
851 # then doxygen will continue running as if WARN_AS_ERROR tag is set to NO, but
852 # at the end of the doxygen process doxygen will return with a non-zero status.
853 # Possible values are: NO, YES and FAIL_ON_WARNINGS.
854 # The default value is: NO.
855
856 WARN_AS_ERROR = NO
729857
730858 # The WARN_FORMAT tag determines the format of the warning messages that doxygen
731859 # can produce. The string should contain the $file, $line, and $text tags, which
733861 # and the warning text. Optionally the format may contain $version, which will
734862 # be replaced by the version of the file (if it could be obtained via
735863 # FILE_VERSION_FILTER)
864 # See also: WARN_LINE_FORMAT
736865 # The default value is: $file:$line: $text.
737866
738867 WARN_FORMAT = "$file:$line: $text"
868
869 # In the $text part of the WARN_FORMAT command it is possible that a reference
870 # to a more specific place is given. To make it easier to jump to this place
871 # (outside of doxygen) the user can define a custom "cut" / "paste" string.
872 # Example:
873 # WARN_LINE_FORMAT = "'vi $file +$line'"
874 # See also: WARN_FORMAT
875 # The default value is: at line $line of file $file.
876
877 WARN_LINE_FORMAT = "at line $line of file $file"
739878
740879 # The WARN_LOGFILE tag can be used to specify a file to which warning and error
741880 # messages should be written. If left blank the output is written to standard
742 # error (stderr).
881 # error (stderr). In case the file specified cannot be opened for writing the
882 # warning and error messages are written to standard error. When as file - is
883 # specified the warning and error messages are written to standard output
884 # (stdout).
743885
744886 WARN_LOGFILE =
745887
750892 # The INPUT tag is used to specify the files and/or directories that contain
751893 # documented source files. You may enter file names like myfile.cpp or
752894 # directories like /usr/src/myproject. Separate the files or directories with
753 # spaces.
895 # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
754896 # Note: If this tag is empty the current directory is searched.
755897
756898 INPUT = @top_srcdir@/src/ui-utilcpp \
759901 # This tag can be used to specify the character encoding of the source files
760902 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
761903 # libiconv (or the iconv built into libc) for the transcoding. See the libiconv
762 # documentation (see: http://www.gnu.org/software/libiconv) for the list of
763 # possible encodings.
904 # documentation (see:
905 # https://www.gnu.org/software/libiconv/) for the list of possible encodings.
764906 # The default value is: UTF-8.
765907
766908 INPUT_ENCODING = UTF-8
767909
768910 # If the value of the INPUT tag contains directories, you can use the
769911 # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
770 # *.h) to filter out the source-files in the directories. If left blank the
771 # following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
772 # *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
773 # *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
774 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
775 # *.qsf, *.as and *.js.
912 # *.h) to filter out the source-files in the directories.
913 #
914 # Note that for custom extensions or not directly supported extensions you also
915 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
916 # read by doxygen.
917 #
918 # Note the list of default checked file patterns might differ from the list of
919 # default file extension mappings.
920 #
921 # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
922 # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
923 # *.hh, *.hxx, *.hpp, *.h++, *.l, *.cs, *.d, *.php, *.php4, *.php5, *.phtml,
924 # *.inc, *.m, *.markdown, *.md, *.mm, *.dox (to be provided as doxygen C
925 # comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd,
926 # *.vhdl, *.ucf, *.qsf and *.ice.
776927
777928 FILE_PATTERNS = *.hpp \
778929 *.cpp \
813964 # (namespaces, classes, functions, etc.) that should be excluded from the
814965 # output. The symbol name can be a fully qualified name, a word, or if the
815966 # wildcard * is used, a substring. Examples: ANamespace, AClass,
816 # AClass::ANamespace, ANamespace::*Test
967 # ANamespace::AClass, ANamespace::*Test
817968 #
818969 # Note that the wildcards are matched against the file with absolute path, so to
819970 # exclude all test directories use the pattern */test/*
8601011 # Note that the filter must not add or remove lines; it is applied before the
8611012 # code is scanned, but not when the output code is generated. If lines are added
8621013 # or removed, the anchors will not be placed correctly.
1014 #
1015 # Note that for custom extensions or not directly supported extensions you also
1016 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
1017 # properly processed by doxygen.
8631018
8641019 INPUT_FILTER =
8651020
8691024 # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
8701025 # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
8711026 # patterns match the file name, INPUT_FILTER is applied.
1027 #
1028 # Note that for custom extensions or not directly supported extensions you also
1029 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
1030 # properly processed by doxygen.
8721031
8731032 FILTER_PATTERNS =
8741033
8751034 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
876 # INPUT_FILTER ) will also be used to filter the input files that are used for
1035 # INPUT_FILTER) will also be used to filter the input files that are used for
8771036 # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
8781037 # The default value is: NO.
8791038
9211080 STRIP_CODE_COMMENTS = YES
9221081
9231082 # If the REFERENCED_BY_RELATION tag is set to YES then for each documented
924 # function all documented functions referencing it will be listed.
1083 # entity all documented functions referencing it will be listed.
9251084 # The default value is: NO.
9261085
9271086 REFERENCED_BY_RELATION = YES
9331092 REFERENCES_RELATION = YES
9341093
9351094 # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
936 # to YES, then the hyperlinks from functions in REFERENCES_RELATION and
1095 # to YES then the hyperlinks from functions in REFERENCES_RELATION and
9371096 # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
9381097 # link to the documentation.
9391098 # The default value is: YES.
9531112 # If the USE_HTAGS tag is set to YES then the references to source code will
9541113 # point to the HTML generated by the htags(1) tool instead of doxygen built-in
9551114 # source browser. The htags tool is part of GNU's global source tagging system
956 # (see http://www.gnu.org/software/global/global.html). You will need version
1115 # (see https://www.gnu.org/software/global/global.html). You will need version
9571116 # 4.8.6 or higher.
9581117 #
9591118 # To use it do the following:
9601119 # - Install the latest version of global
961 # - Enable SOURCE_BROWSER and USE_HTAGS in the config file
1120 # - Enable SOURCE_BROWSER and USE_HTAGS in the configuration file
9621121 # - Make sure the INPUT points to the root of the source tree
9631122 # - Run doxygen as normal
9641123 #
9801139
9811140 VERBATIM_HEADERS = NO
9821141
1142 # If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
1143 # clang parser (see:
1144 # http://clang.llvm.org/) for more accurate parsing at the cost of reduced
1145 # performance. This can be particularly helpful with template rich C++ code for
1146 # which doxygen's built-in parser lacks the necessary type information.
1147 # Note: The availability of this option depends on whether or not doxygen was
1148 # generated with the -Duse_libclang=ON option for CMake.
1149 # The default value is: NO.
1150
1151 CLANG_ASSISTED_PARSING = NO
1152
1153 # If the CLANG_ASSISTED_PARSING tag is set to YES and the CLANG_ADD_INC_PATHS
1154 # tag is set to YES then doxygen will add the directory of each input to the
1155 # include path.
1156 # The default value is: YES.
1157 # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
1158
1159 CLANG_ADD_INC_PATHS = YES
1160
1161 # If clang assisted parsing is enabled you can provide the compiler with command
1162 # line options that you would normally use when invoking the compiler. Note that
1163 # the include paths will already be set by doxygen for the files and directories
1164 # specified with INPUT and INCLUDE_PATH.
1165 # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
1166
1167 CLANG_OPTIONS =
1168
1169 # If clang assisted parsing is enabled you can provide the clang parser with the
1170 # path to the directory containing a file called compile_commands.json. This
1171 # file is the compilation database (see:
1172 # http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html) containing the
1173 # options used when the source files were built. This is equivalent to
1174 # specifying the -p option to a clang tool, such as clang-check. These options
1175 # will then be passed to the parser. Any options specified with CLANG_OPTIONS
1176 # will be added as well.
1177 # Note: The availability of this option depends on whether or not doxygen was
1178 # generated with the -Duse_libclang=ON option for CMake.
1179
1180 CLANG_DATABASE_PATH =
1181
9831182 #---------------------------------------------------------------------------
9841183 # Configuration options related to the alphabetical class index
9851184 #---------------------------------------------------------------------------
9901189 # The default value is: YES.
9911190
9921191 ALPHABETICAL_INDEX = YES
993
994 # The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
995 # which the alphabetical index list will be split.
996 # Minimum value: 1, maximum value: 20, default value: 5.
997 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
998
999 COLS_IN_ALPHA_INDEX = 5
10001192
10011193 # In case all classes in a project start with a common prefix, all classes will
10021194 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
10101202 # Configuration options related to the HTML output
10111203 #---------------------------------------------------------------------------
10121204
1013 # If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
1205 # If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
10141206 # The default value is: YES.
10151207
10161208 GENERATE_HTML = YES
10721264
10731265 HTML_STYLESHEET =
10741266
1075 # The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
1076 # defined cascading style sheet that is included after the standard style sheets
1267 # The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1268 # cascading style sheets that are included after the standard style sheets
10771269 # created by doxygen. Using this option one can overrule certain style aspects.
10781270 # This is preferred over using HTML_STYLESHEET since it does not replace the
1079 # standard style sheet and is therefor more robust against future updates.
1080 # Doxygen will copy the style sheet file to the output directory. For an example
1081 # see the documentation.
1271 # standard style sheet and is therefore more robust against future updates.
1272 # Doxygen will copy the style sheet files to the output directory.
1273 # Note: The order of the extra style sheet files is of importance (e.g. the last
1274 # style sheet in the list overrules the setting of the previous ones in the
1275 # list). For an example see the documentation.
10821276 # This tag requires that the tag GENERATE_HTML is set to YES.
10831277
10841278 HTML_EXTRA_STYLESHEET =
10941288 HTML_EXTRA_FILES =
10951289
10961290 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1097 # will adjust the colors in the stylesheet and background images according to
1098 # this color. Hue is specified as an angle on a colorwheel, see
1099 # http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1291 # will adjust the colors in the style sheet and background images according to
1292 # this color. Hue is specified as an angle on a color-wheel, see
1293 # https://en.wikipedia.org/wiki/Hue for more information. For instance the value
11001294 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
11011295 # purple, and 360 is red again.
11021296 # Minimum value: 0, maximum value: 359, default value: 220.
11051299 HTML_COLORSTYLE_HUE = 220
11061300
11071301 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1108 # in the HTML output. For a value of 0 the output will use grayscales only. A
1302 # in the HTML output. For a value of 0 the output will use gray-scales only. A
11091303 # value of 255 will produce the most vivid colors.
11101304 # Minimum value: 0, maximum value: 255, default value: 100.
11111305 # This tag requires that the tag GENERATE_HTML is set to YES.
11251319
11261320 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
11271321 # page will contain the date and time when the page was generated. Setting this
1128 # to NO can help when comparing the output of multiple runs.
1129 # The default value is: YES.
1322 # to YES can help to show when doxygen was last run and thus if the
1323 # documentation is up to date.
1324 # The default value is: NO.
11301325 # This tag requires that the tag GENERATE_HTML is set to YES.
11311326
11321327 HTML_TIMESTAMP = YES
1328
1329 # If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML
1330 # documentation will contain a main index with vertical navigation menus that
1331 # are dynamically created via JavaScript. If disabled, the navigation index will
1332 # consists of multiple levels of tabs that are statically embedded in every HTML
1333 # page. Disable this option to support browsers that do not have JavaScript,
1334 # like the Qt help browser.
1335 # The default value is: YES.
1336 # This tag requires that the tag GENERATE_HTML is set to YES.
1337
1338 HTML_DYNAMIC_MENUS = YES
11331339
11341340 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
11351341 # documentation will contain sections that can be hidden and shown after the
11541360
11551361 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
11561362 # generated that can be used as input for Apple's Xcode 3 integrated development
1157 # environment (see: http://developer.apple.com/tools/xcode/), introduced with
1158 # OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
1159 # Makefile in the HTML output directory. Running make will produce the docset in
1160 # that directory and running make install will install the docset in
1363 # environment (see:
1364 # https://developer.apple.com/xcode/), introduced with OSX 10.5 (Leopard). To
1365 # create a documentation set, doxygen will generate a Makefile in the HTML
1366 # output directory. Running make will produce the docset in that directory and
1367 # running make install will install the docset in
11611368 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
1162 # startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1163 # for more information.
1369 # startup. See https://developer.apple.com/library/archive/featuredarticles/Doxy
1370 # genXcode/_index.html for more information.
11641371 # The default value is: NO.
11651372 # This tag requires that the tag GENERATE_HTML is set to YES.
11661373
11741381
11751382 DOCSET_FEEDNAME = "Doxygen generated docs"
11761383
1384 # This tag determines the URL of the docset feed. A documentation feed provides
1385 # an umbrella under which multiple documentation sets from a single provider
1386 # (such as a company or product suite) can be grouped.
1387 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1388
1389 DOCSET_FEEDURL =
1390
11771391 # This tag specifies a string that should uniquely identify the documentation
11781392 # set bundle. This should be a reverse domain-name style string, e.g.
11791393 # com.mycompany.MyDocSet. Doxygen will append .docset to the name.
11991413 # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
12001414 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
12011415 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1202 # (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
1203 # Windows.
1416 # on Windows. In the beginning of 2021 Microsoft took the original page, with
1417 # a.o. the download links, offline the HTML help workshop was already many years
1418 # in maintenance mode). You can download the HTML help workshop from the web
1419 # archives at Installation executable (see:
1420 # http://web.archive.org/web/20160201063255/http://download.microsoft.com/downlo
1421 # ad/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe).
12041422 #
12051423 # The HTML Help Workshop contains a compiler that can convert all HTML output
12061424 # generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
12221440 CHM_FILE =
12231441
12241442 # The HHC_LOCATION tag can be used to specify the location (absolute path
1225 # including file name) of the HTML help compiler ( hhc.exe). If non-empty
1443 # including file name) of the HTML help compiler (hhc.exe). If non-empty,
12261444 # doxygen will try to run the HTML help compiler on the generated index.hhp.
12271445 # The file has to be specified with full path.
12281446 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
12291447
12301448 HHC_LOCATION =
12311449
1232 # The GENERATE_CHI flag controls if a separate .chi index file is generated (
1233 # YES) or that it should be included in the master .chm file ( NO).
1450 # The GENERATE_CHI flag controls if a separate .chi index file is generated
1451 # (YES) or that it should be included in the main .chm file (NO).
12341452 # The default value is: NO.
12351453 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
12361454
12371455 GENERATE_CHI = NO
12381456
1239 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
1457 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
12401458 # and project file content.
12411459 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
12421460
12431461 CHM_INDEX_ENCODING =
12441462
1245 # The BINARY_TOC flag controls whether a binary table of contents is generated (
1246 # YES) or a normal table of contents ( NO) in the .chm file. Furthermore it
1463 # The BINARY_TOC flag controls whether a binary table of contents is generated
1464 # (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
12471465 # enables the Previous and Next buttons.
12481466 # The default value is: NO.
12491467 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
12751493
12761494 # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
12771495 # Project output. For more information please see Qt Help Project / Namespace
1278 # (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
1496 # (see:
1497 # https://doc.qt.io/archives/qt-4.8/qthelpproject.html#namespace).
12791498 # The default value is: org.doxygen.Project.
12801499 # This tag requires that the tag GENERATE_QHP is set to YES.
12811500
12831502
12841503 # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
12851504 # Help Project output. For more information please see Qt Help Project / Virtual
1286 # Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
1287 # folders).
1505 # Folders (see:
1506 # https://doc.qt.io/archives/qt-4.8/qthelpproject.html#virtual-folders).
12881507 # The default value is: doc.
12891508 # This tag requires that the tag GENERATE_QHP is set to YES.
12901509
12921511
12931512 # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
12941513 # filter to add. For more information please see Qt Help Project / Custom
1295 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1296 # filters).
1514 # Filters (see:
1515 # https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters).
12971516 # This tag requires that the tag GENERATE_QHP is set to YES.
12981517
12991518 QHP_CUST_FILTER_NAME =
13001519
13011520 # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
13021521 # custom filter to add. For more information please see Qt Help Project / Custom
1303 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1304 # filters).
1522 # Filters (see:
1523 # https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters).
13051524 # This tag requires that the tag GENERATE_QHP is set to YES.
13061525
13071526 QHP_CUST_FILTER_ATTRS =
13081527
13091528 # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
13101529 # project's filter section matches. Qt Help Project / Filter Attributes (see:
1311 # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
1530 # https://doc.qt.io/archives/qt-4.8/qthelpproject.html#filter-attributes).
13121531 # This tag requires that the tag GENERATE_QHP is set to YES.
13131532
13141533 QHP_SECT_FILTER_ATTRS =
13151534
1316 # The QHG_LOCATION tag can be used to specify the location of Qt's
1317 # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
1318 # generated .qhp file.
1535 # The QHG_LOCATION tag can be used to specify the location (absolute path
1536 # including file name) of Qt's qhelpgenerator. If non-empty doxygen will try to
1537 # run qhelpgenerator on the generated .qhp file.
13191538 # This tag requires that the tag GENERATE_QHP is set to YES.
13201539
13211540 QHG_LOCATION =
13571576 # index structure (just like the one that is generated for HTML Help). For this
13581577 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
13591578 # (i.e. any modern browser). Windows users are probably better off using the
1360 # HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
1361 # further fine-tune the look of the index. As an example, the default style
1362 # sheet generated by doxygen has an example that shows how to put an image at
1363 # the root of the tree instead of the PROJECT_NAME. Since the tree basically has
1364 # the same information as the tab index, you could consider setting
1365 # DISABLE_INDEX to YES when enabling this option.
1579 # HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
1580 # further fine tune the look of the index (see "Fine-tuning the output"). As an
1581 # example, the default style sheet generated by doxygen has an example that
1582 # shows how to put an image at the root of the tree instead of the PROJECT_NAME.
1583 # Since the tree basically has the same information as the tab index, you could
1584 # consider setting DISABLE_INDEX to YES when enabling this option.
13661585 # The default value is: NO.
13671586 # This tag requires that the tag GENERATE_HTML is set to YES.
13681587
13691588 GENERATE_TREEVIEW = NO
1589
1590 # When both GENERATE_TREEVIEW and DISABLE_INDEX are set to YES, then the
1591 # FULL_SIDEBAR option determines if the side bar is limited to only the treeview
1592 # area (value NO) or if it should extend to the full height of the window (value
1593 # YES). Setting this to YES gives a layout similar to
1594 # https://docs.readthedocs.io with more room for contents, but less room for the
1595 # project logo, title, and description. If either GENERATE_TREEVIEW or
1596 # DISABLE_INDEX is set to NO, this option has no effect.
1597 # The default value is: NO.
1598 # This tag requires that the tag GENERATE_HTML is set to YES.
1599
1600 FULL_SIDEBAR = NO
13701601
13711602 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
13721603 # doxygen will group on one line in the generated HTML documentation.
13851616
13861617 TREEVIEW_WIDTH = 250
13871618
1388 # When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
1619 # If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
13891620 # external symbols imported via tag files in a separate window.
13901621 # The default value is: NO.
13911622 # This tag requires that the tag GENERATE_HTML is set to YES.
13921623
13931624 EXT_LINKS_IN_WINDOW = NO
1625
1626 # If the OBFUSCATE_EMAILS tag is set to YES, doxygen will obfuscate email
1627 # addresses.
1628 # The default value is: YES.
1629 # This tag requires that the tag GENERATE_HTML is set to YES.
1630
1631 OBFUSCATE_EMAILS = YES
1632
1633 # If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg
1634 # tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see
1635 # https://inkscape.org) to generate formulas as SVG images instead of PNGs for
1636 # the HTML output. These images will generally look nicer at scaled resolutions.
1637 # Possible values are: png (the default) and svg (looks nicer but requires the
1638 # pdf2svg or inkscape tool).
1639 # The default value is: png.
1640 # This tag requires that the tag GENERATE_HTML is set to YES.
1641
1642 HTML_FORMULA_FORMAT = png
13941643
13951644 # Use this tag to change the font size of LaTeX formulas included as images in
13961645 # the HTML documentation. When you change the font size after a successful
14011650
14021651 FORMULA_FONTSIZE = 10
14031652
1404 # Use the FORMULA_TRANPARENT tag to determine whether or not the images
1653 # Use the FORMULA_TRANSPARENT tag to determine whether or not the images
14051654 # generated for formulas are transparent PNGs. Transparent PNGs are not
14061655 # supported properly for IE 6.0, but are supported on all modern browsers.
14071656 #
14121661
14131662 FORMULA_TRANSPARENT = YES
14141663
1664 # The FORMULA_MACROFILE can contain LaTeX \newcommand and \renewcommand commands
1665 # to create new LaTeX commands to be used in formulas as building blocks. See
1666 # the section "Including formulas" for details.
1667
1668 FORMULA_MACROFILE =
1669
14151670 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1416 # http://www.mathjax.org) which uses client side Javascript for the rendering
1417 # instead of using prerendered bitmaps. Use this if you do not have LaTeX
1671 # https://www.mathjax.org) which uses client side JavaScript for the rendering
1672 # instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
14181673 # installed or if you want to formulas look prettier in the HTML output. When
14191674 # enabled you may also need to install MathJax separately and configure the path
14201675 # to it using the MATHJAX_RELPATH option.
14231678
14241679 USE_MATHJAX = NO
14251680
1681 # With MATHJAX_VERSION it is possible to specify the MathJax version to be used.
1682 # Note that the different versions of MathJax have different requirements with
1683 # regards to the different settings, so it is possible that also other MathJax
1684 # settings have to be changed when switching between the different MathJax
1685 # versions.
1686 # Possible values are: MathJax_2 and MathJax_3.
1687 # The default value is: MathJax_2.
1688 # This tag requires that the tag USE_MATHJAX is set to YES.
1689
1690 MATHJAX_VERSION = MathJax_2
1691
14261692 # When MathJax is enabled you can set the default output format to be used for
1427 # the MathJax output. See the MathJax site (see:
1428 # http://docs.mathjax.org/en/latest/output.html) for more details.
1693 # the MathJax output. For more details about the output format see MathJax
1694 # version 2 (see:
1695 # http://docs.mathjax.org/en/v2.7-latest/output.html) and MathJax version 3
1696 # (see:
1697 # http://docs.mathjax.org/en/latest/web/components/output.html).
14291698 # Possible values are: HTML-CSS (which is slower, but has the best
1430 # compatibility), NativeMML (i.e. MathML) and SVG.
1699 # compatibility. This is the name for Mathjax version 2, for MathJax version 3
1700 # this will be translated into chtml), NativeMML (i.e. MathML. Only supported
1701 # for NathJax 2. For MathJax version 3 chtml will be used instead.), chtml (This
1702 # is the name for Mathjax version 3, for MathJax version 2 this will be
1703 # translated into HTML-CSS) and SVG.
14311704 # The default value is: HTML-CSS.
14321705 # This tag requires that the tag USE_MATHJAX is set to YES.
14331706
14401713 # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
14411714 # Content Delivery Network so you can quickly see the result without installing
14421715 # MathJax. However, it is strongly recommended to install a local copy of
1443 # MathJax from http://www.mathjax.org before deployment.
1444 # The default value is: http://cdn.mathjax.org/mathjax/latest.
1716 # MathJax from https://www.mathjax.org before deployment. The default value is:
1717 # - in case of MathJax version 2: https://cdn.jsdelivr.net/npm/mathjax@2
1718 # - in case of MathJax version 3: https://cdn.jsdelivr.net/npm/mathjax@3
14451719 # This tag requires that the tag USE_MATHJAX is set to YES.
14461720
14471721 MATHJAX_RELPATH = http://www.mathjax.org/mathjax
14481722
14491723 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
14501724 # extension names that should be enabled during MathJax rendering. For example
1725 # for MathJax version 2 (see
1726 # https://docs.mathjax.org/en/v2.7-latest/tex.html#tex-and-latex-extensions):
14511727 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
1728 # For example for MathJax version 3 (see
1729 # http://docs.mathjax.org/en/latest/input/tex/extensions/index.html):
1730 # MATHJAX_EXTENSIONS = ams
14521731 # This tag requires that the tag USE_MATHJAX is set to YES.
14531732
14541733 MATHJAX_EXTENSIONS =
14551734
14561735 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
14571736 # of code that will be used on startup of the MathJax code. See the MathJax site
1458 # (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
1737 # (see:
1738 # http://docs.mathjax.org/en/v2.7-latest/output.html) for more details. For an
14591739 # example see the documentation.
14601740 # This tag requires that the tag USE_MATHJAX is set to YES.
14611741
14831763 SEARCHENGINE = NO
14841764
14851765 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1486 # implemented using a web server instead of a web client using Javascript. There
1766 # implemented using a web server instead of a web client using JavaScript. There
14871767 # are two flavors of web server based searching depending on the EXTERNAL_SEARCH
14881768 # setting. When disabled, doxygen will generate a PHP script for searching and
14891769 # an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
15001780 # external search engine pointed to by the SEARCHENGINE_URL option to obtain the
15011781 # search results.
15021782 #
1503 # Doxygen ships with an example indexer ( doxyindexer) and search engine
1783 # Doxygen ships with an example indexer (doxyindexer) and search engine
15041784 # (doxysearch.cgi) which are based on the open source search engine library
1505 # Xapian (see: http://xapian.org/).
1785 # Xapian (see:
1786 # https://xapian.org/).
15061787 #
15071788 # See the section "External Indexing and Searching" for details.
15081789 # The default value is: NO.
15131794 # The SEARCHENGINE_URL should point to a search engine hosted by a web server
15141795 # which will return the search results when EXTERNAL_SEARCH is enabled.
15151796 #
1516 # Doxygen ships with an example indexer ( doxyindexer) and search engine
1797 # Doxygen ships with an example indexer (doxyindexer) and search engine
15171798 # (doxysearch.cgi) which are based on the open source search engine library
1518 # Xapian (see: http://xapian.org/). See the section "External Indexing and
1519 # Searching" for details.
1799 # Xapian (see:
1800 # https://xapian.org/). See the section "External Indexing and Searching" for
1801 # details.
15201802 # This tag requires that the tag SEARCHENGINE is set to YES.
15211803
15221804 SEARCHENGINE_URL =
15511833 # Configuration options related to the LaTeX output
15521834 #---------------------------------------------------------------------------
15531835
1554 # If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
1836 # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
15551837 # The default value is: YES.
15561838
15571839 GENERATE_LATEX = NO
15671849 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
15681850 # invoked.
15691851 #
1570 # Note that when enabling USE_PDFLATEX this option is only used for generating
1571 # bitmaps for formulas in the HTML output, but not in the Makefile that is
1572 # written to the output directory.
1573 # The default file is: latex.
1852 # Note that when not enabling USE_PDFLATEX the default is latex when enabling
1853 # USE_PDFLATEX the default is pdflatex and when in the later case latex is
1854 # chosen this is overwritten by pdflatex. For specific output languages the
1855 # default can have been set differently, this depends on the implementation of
1856 # the output language.
15741857 # This tag requires that the tag GENERATE_LATEX is set to YES.
15751858
15761859 LATEX_CMD_NAME = latex
15771860
15781861 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
15791862 # index for LaTeX.
1863 # Note: This tag is used in the Makefile / make.bat.
1864 # See also: LATEX_MAKEINDEX_CMD for the part in the generated output file
1865 # (.tex).
15801866 # The default file is: makeindex.
15811867 # This tag requires that the tag GENERATE_LATEX is set to YES.
15821868
15831869 MAKEINDEX_CMD_NAME = makeindex
15841870
1585 # If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
1871 # The LATEX_MAKEINDEX_CMD tag can be used to specify the command name to
1872 # generate index for LaTeX. In case there is no backslash (\) as first character
1873 # it will be automatically added in the LaTeX code.
1874 # Note: This tag is used in the generated output file (.tex).
1875 # See also: MAKEINDEX_CMD_NAME for the part in the Makefile / make.bat.
1876 # The default value is: makeindex.
1877 # This tag requires that the tag GENERATE_LATEX is set to YES.
1878
1879 LATEX_MAKEINDEX_CMD = makeindex
1880
1881 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
15861882 # documents. This may be useful for small projects and may help to save some
15871883 # trees in general.
15881884 # The default value is: NO.
15971893 # The default value is: a4.
15981894 # This tag requires that the tag GENERATE_LATEX is set to YES.
15991895
1600 PAPER_TYPE = a4wide
1896 PAPER_TYPE = a4
16011897
16021898 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
1603 # that should be included in the LaTeX output. To get the times font for
1604 # instance you can specify
1605 # EXTRA_PACKAGES=times
1899 # that should be included in the LaTeX output. The package can be specified just
1900 # by its name or with the correct syntax as to be used with the LaTeX
1901 # \usepackage command. To get the times font for instance you can specify :
1902 # EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
1903 # To use the option intlimits with the amsmath package you can specify:
1904 # EXTRA_PACKAGES=[intlimits]{amsmath}
16061905 # If left blank no extra packages will be included.
16071906 # This tag requires that the tag GENERATE_LATEX is set to YES.
16081907
16091908 EXTRA_PACKAGES =
16101909
1611 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
1612 # generated LaTeX document. The header should contain everything until the first
1613 # chapter. If it is left blank doxygen will generate a standard header. See
1614 # section "Doxygen usage" for information on how to let doxygen write the
1615 # default header to a separate file.
1616 #
1617 # Note: Only use a user-defined header if you know what you are doing! The
1618 # following commands have a special meaning inside the header: $title,
1619 # $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
1620 # replace them by respectively the title of the page, the current date and time,
1621 # only the current date, the version number of doxygen, the project name (see
1622 # PROJECT_NAME), or the project number (see PROJECT_NUMBER).
1910 # The LATEX_HEADER tag can be used to specify a user-defined LaTeX header for
1911 # the generated LaTeX document. The header should contain everything until the
1912 # first chapter. If it is left blank doxygen will generate a standard header. It
1913 # is highly recommended to start with a default header using
1914 # doxygen -w latex new_header.tex new_footer.tex new_stylesheet.sty
1915 # and then modify the file new_header.tex. See also section "Doxygen usage" for
1916 # information on how to generate the default header that doxygen normally uses.
1917 #
1918 # Note: Only use a user-defined header if you know what you are doing!
1919 # Note: The header is subject to change so you typically have to regenerate the
1920 # default header when upgrading to a newer version of doxygen. The following
1921 # commands have a special meaning inside the header (and footer): For a
1922 # description of the possible markers and block names see the documentation.
16231923 # This tag requires that the tag GENERATE_LATEX is set to YES.
16241924
16251925 LATEX_HEADER =
16261926
1627 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1628 # generated LaTeX document. The footer should contain everything after the last
1629 # chapter. If it is left blank doxygen will generate a standard footer.
1630 #
1631 # Note: Only use a user-defined footer if you know what you are doing!
1927 # The LATEX_FOOTER tag can be used to specify a user-defined LaTeX footer for
1928 # the generated LaTeX document. The footer should contain everything after the
1929 # last chapter. If it is left blank doxygen will generate a standard footer. See
1930 # LATEX_HEADER for more information on how to generate a default footer and what
1931 # special commands can be used inside the footer. See also section "Doxygen
1932 # usage" for information on how to generate the default footer that doxygen
1933 # normally uses. Note: Only use a user-defined footer if you know what you are
1934 # doing!
16321935 # This tag requires that the tag GENERATE_LATEX is set to YES.
16331936
16341937 LATEX_FOOTER =
1938
1939 # The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1940 # LaTeX style sheets that are included after the standard style sheets created
1941 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
1942 # will copy the style sheet files to the output directory.
1943 # Note: The order of the extra style sheet files is of importance (e.g. the last
1944 # style sheet in the list overrules the setting of the previous ones in the
1945 # list).
1946 # This tag requires that the tag GENERATE_LATEX is set to YES.
1947
1948 LATEX_EXTRA_STYLESHEET =
16351949
16361950 # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
16371951 # other source files which should be copied to the LATEX_OUTPUT output
16501964
16511965 PDF_HYPERLINKS = NO
16521966
1653 # If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1654 # the PDF file directly from the LaTeX files. Set this option to YES to get a
1655 # higher quality PDF documentation.
1967 # If the USE_PDFLATEX tag is set to YES, doxygen will use the engine as
1968 # specified with LATEX_CMD_NAME to generate the PDF file directly from the LaTeX
1969 # files. Set this option to YES, to get a higher quality PDF documentation.
1970 #
1971 # See also section LATEX_CMD_NAME for selecting the engine.
16561972 # The default value is: YES.
16571973 # This tag requires that the tag GENERATE_LATEX is set to YES.
16581974
16601976
16611977 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
16621978 # command to the generated LaTeX files. This will instruct LaTeX to keep running
1663 # if errors occur, instead of asking the user for help. This option is also used
1664 # when generating formulas in HTML.
1979 # if errors occur, instead of asking the user for help.
16651980 # The default value is: NO.
16661981 # This tag requires that the tag GENERATE_LATEX is set to YES.
16671982
16741989
16751990 LATEX_HIDE_INDICES = NO
16761991
1677 # If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
1678 # code with syntax highlighting in the LaTeX output.
1679 #
1680 # Note that which sources are shown also depends on other settings such as
1681 # SOURCE_BROWSER.
1682 # The default value is: NO.
1683 # This tag requires that the tag GENERATE_LATEX is set to YES.
1684
1685 LATEX_SOURCE_CODE = NO
1686
16871992 # The LATEX_BIB_STYLE tag can be used to specify the style to use for the
16881993 # bibliography, e.g. plainnat, or ieeetr. See
1689 # http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
1994 # https://en.wikipedia.org/wiki/BibTeX and \cite for more info.
16901995 # The default value is: plain.
16911996 # This tag requires that the tag GENERATE_LATEX is set to YES.
16921997
16931998 LATEX_BIB_STYLE = plain
16941999
2000 # If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated
2001 # page will contain the date and time when the page was generated. Setting this
2002 # to NO can help when comparing the output of multiple runs.
2003 # The default value is: NO.
2004 # This tag requires that the tag GENERATE_LATEX is set to YES.
2005
2006 LATEX_TIMESTAMP = NO
2007
2008 # The LATEX_EMOJI_DIRECTORY tag is used to specify the (relative or absolute)
2009 # path from which the emoji images will be read. If a relative path is entered,
2010 # it will be relative to the LATEX_OUTPUT directory. If left blank the
2011 # LATEX_OUTPUT directory will be used.
2012 # This tag requires that the tag GENERATE_LATEX is set to YES.
2013
2014 LATEX_EMOJI_DIRECTORY =
2015
16952016 #---------------------------------------------------------------------------
16962017 # Configuration options related to the RTF output
16972018 #---------------------------------------------------------------------------
16982019
1699 # If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
2020 # If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
17002021 # RTF output is optimized for Word 97 and may not look too pretty with other RTF
17012022 # readers/editors.
17022023 # The default value is: NO.
17112032
17122033 RTF_OUTPUT = rtf
17132034
1714 # If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
2035 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
17152036 # documents. This may be useful for small projects and may help to save some
17162037 # trees in general.
17172038 # The default value is: NO.
17312052
17322053 RTF_HYPERLINKS = NO
17332054
1734 # Load stylesheet definitions from file. Syntax is similar to doxygen's config
1735 # file, i.e. a series of assignments. You only have to provide replacements,
1736 # missing definitions are set to their default value.
2055 # Load stylesheet definitions from file. Syntax is similar to doxygen's
2056 # configuration file, i.e. a series of assignments. You only have to provide
2057 # replacements, missing definitions are set to their default value.
17372058 #
17382059 # See also section "Doxygen usage" for information on how to generate the
17392060 # default style sheet that doxygen normally uses.
17422063 RTF_STYLESHEET_FILE =
17432064
17442065 # Set optional variables used in the generation of an RTF document. Syntax is
1745 # similar to doxygen's config file. A template extensions file can be generated
1746 # using doxygen -e rtf extensionFile.
2066 # similar to doxygen's configuration file. A template extensions file can be
2067 # generated using doxygen -e rtf extensionFile.
17472068 # This tag requires that the tag GENERATE_RTF is set to YES.
17482069
17492070 RTF_EXTENSIONS_FILE =
17522073 # Configuration options related to the man page output
17532074 #---------------------------------------------------------------------------
17542075
1755 # If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
2076 # If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
17562077 # classes and files.
17572078 # The default value is: NO.
17582079
17962117 # Configuration options related to the XML output
17972118 #---------------------------------------------------------------------------
17982119
1799 # If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
2120 # If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
18002121 # captures the structure of the code including all documentation.
18012122 # The default value is: NO.
18022123
18102131
18112132 XML_OUTPUT = xml
18122133
1813 # If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
2134 # If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
18142135 # listings (including syntax highlighting and cross-referencing information) to
18152136 # the XML output. Note that enabling this will significantly increase the size
18162137 # of the XML output.
18192140
18202141 XML_PROGRAMLISTING = YES
18212142
2143 # If the XML_NS_MEMB_FILE_SCOPE tag is set to YES, doxygen will include
2144 # namespace members in file scope as well, matching the HTML output.
2145 # The default value is: NO.
2146 # This tag requires that the tag GENERATE_XML is set to YES.
2147
2148 XML_NS_MEMB_FILE_SCOPE = NO
2149
18222150 #---------------------------------------------------------------------------
18232151 # Configuration options related to the DOCBOOK output
18242152 #---------------------------------------------------------------------------
18252153
1826 # If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
2154 # If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
18272155 # that can be used to generate PDF.
18282156 # The default value is: NO.
18292157
18412169 # Configuration options for the AutoGen Definitions output
18422170 #---------------------------------------------------------------------------
18432171
1844 # If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
1845 # Definitions (see http://autogen.sf.net) file that captures the structure of
1846 # the code including all documentation. Note that this feature is still
1847 # experimental and incomplete at the moment.
2172 # If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
2173 # AutoGen Definitions (see http://autogen.sourceforge.net/) file that captures
2174 # the structure of the code including all documentation. Note that this feature
2175 # is still experimental and incomplete at the moment.
18482176 # The default value is: NO.
18492177
18502178 GENERATE_AUTOGEN_DEF = NO
18532181 # Configuration options related to the Perl module output
18542182 #---------------------------------------------------------------------------
18552183
1856 # If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
2184 # If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
18572185 # file that captures the structure of the code including all documentation.
18582186 #
18592187 # Note that this feature is still experimental and incomplete at the moment.
18612189
18622190 GENERATE_PERLMOD = NO
18632191
1864 # If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
2192 # If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
18652193 # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
18662194 # output from the Perl module output.
18672195 # The default value is: NO.
18692197
18702198 PERLMOD_LATEX = NO
18712199
1872 # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
2200 # If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
18732201 # formatted so it can be parsed by a human reader. This is useful if you want to
1874 # understand what is going on. On the other hand, if this tag is set to NO the
2202 # understand what is going on. On the other hand, if this tag is set to NO, the
18752203 # size of the Perl module output will be much smaller and Perl will parse it
18762204 # just the same.
18772205 # The default value is: YES.
18912219 # Configuration options related to the preprocessor
18922220 #---------------------------------------------------------------------------
18932221
1894 # If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
2222 # If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
18952223 # C-preprocessor directives found in the sources and include files.
18962224 # The default value is: YES.
18972225
18982226 ENABLE_PREPROCESSING = YES
18992227
1900 # If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
1901 # in the source code. If set to NO only conditional compilation will be
2228 # If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
2229 # in the source code. If set to NO, only conditional compilation will be
19022230 # performed. Macro expansion can be done in a controlled way by setting
19032231 # EXPAND_ONLY_PREDEF to YES.
19042232 # The default value is: NO.
19142242
19152243 EXPAND_ONLY_PREDEF = NO
19162244
1917 # If the SEARCH_INCLUDES tag is set to YES the includes files in the
2245 # If the SEARCH_INCLUDES tag is set to YES, the include files in the
19182246 # INCLUDE_PATH will be searched if a #include is found.
19192247 # The default value is: YES.
19202248 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
19232251
19242252 # The INCLUDE_PATH tag can be used to specify one or more directories that
19252253 # contain include files that are not input files but should be processed by the
1926 # preprocessor.
2254 # preprocessor. Note that the INCLUDE_PATH is not recursive, so the setting of
2255 # RECURSIVE has no effect here.
19272256 # This tag requires that the tag SEARCH_INCLUDES is set to YES.
19282257
19292258 INCLUDE_PATH =
19922321
19932322 GENERATE_TAGFILE =
19942323
1995 # If the ALLEXTERNALS tag is set to YES all external class will be listed in the
1996 # class index. If set to NO only the inherited external classes will be listed.
2324 # If the ALLEXTERNALS tag is set to YES, all external class will be listed in
2325 # the class index. If set to NO, only the inherited external classes will be
2326 # listed.
19972327 # The default value is: NO.
19982328
19992329 ALLEXTERNALS = NO
20002330
2001 # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
2002 # the modules index. If set to NO, only the current project's groups will be
2331 # If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
2332 # in the modules index. If set to NO, only the current project's groups will be
20032333 # listed.
20042334 # The default value is: YES.
20052335
20062336 EXTERNAL_GROUPS = YES
20072337
2008 # If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
2338 # If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
20092339 # the related pages index. If set to NO, only the current project's pages will
20102340 # be listed.
20112341 # The default value is: YES.
20122342
20132343 EXTERNAL_PAGES = YES
20142344
2015 # The PERL_PATH should be the absolute path and name of the perl script
2016 # interpreter (i.e. the result of 'which perl').
2017 # The default file (with absolute path) is: /usr/bin/perl.
2018
2019 PERL_PATH = @PERL@
2020
20212345 #---------------------------------------------------------------------------
20222346 # Configuration options related to the dot tool
20232347 #---------------------------------------------------------------------------
2024
2025 # If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
2026 # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
2027 # NO turns the diagrams off. Note that this option also works with HAVE_DOT
2028 # disabled, but it is recommended to install and use dot, since it yields more
2029 # powerful graphs.
2030 # The default value is: YES.
2031
2032 CLASS_DIAGRAMS = YES
2033
2034 # You can define message sequence charts within doxygen comments using the \msc
2035 # command. Doxygen will then run the mscgen tool (see:
2036 # http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
2037 # documentation. The MSCGEN_PATH tag allows you to specify the directory where
2038 # the mscgen tool resides. If left empty the tool is assumed to be found in the
2039 # default search path.
2040
2041 MSCGEN_PATH =
20422348
20432349 # You can include diagrams made with dia in doxygen documentation. Doxygen will
20442350 # then run dia to produce the diagram and insert it in the documentation. The
20472353
20482354 DIA_PATH =
20492355
2050 # If set to YES, the inheritance and collaboration graphs will hide inheritance
2356 # If set to YES the inheritance and collaboration graphs will hide inheritance
20512357 # and usage relations if the target is undocumented or is not a class.
20522358 # The default value is: YES.
20532359
20722378
20732379 DOT_NUM_THREADS = 0
20742380
2075 # When you want a differently looking font n the dot files that doxygen
2381 # When you want a differently looking font in the dot files that doxygen
20762382 # generates you can specify the font name using DOT_FONTNAME. You need to make
20772383 # sure dot is able to find the font, which can be done by putting it in a
20782384 # standard location or by setting the DOTFONTPATH environment variable or by
20962402
20972403 DOT_FONTPATH =
20982404
2099 # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
2100 # each documented class showing the direct and indirect inheritance relations.
2101 # Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
2102 # The default value is: YES.
2103 # This tag requires that the tag HAVE_DOT is set to YES.
2405 # If the CLASS_GRAPH tag is set to YES (or GRAPH) then doxygen will generate a
2406 # graph for each documented class showing the direct and indirect inheritance
2407 # relations. In case HAVE_DOT is set as well dot will be used to draw the graph,
2408 # otherwise the built-in generator will be used. If the CLASS_GRAPH tag is set
2409 # to TEXT the direct and indirect inheritance relations will be shown as texts /
2410 # links.
2411 # Possible values are: NO, YES, TEXT and GRAPH.
2412 # The default value is: YES.
21042413
21052414 CLASS_GRAPH = YES
21062415
21142423 COLLABORATION_GRAPH = YES
21152424
21162425 # If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
2117 # groups, showing the direct groups dependencies.
2426 # groups, showing the direct groups dependencies. See also the chapter Grouping
2427 # in the manual.
21182428 # The default value is: YES.
21192429 # This tag requires that the tag HAVE_DOT is set to YES.
21202430
21212431 GROUP_GRAPHS = YES
21222432
2123 # If the UML_LOOK tag is set to YES doxygen will generate inheritance and
2433 # If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
21242434 # collaboration diagrams in a style similar to the OMG's Unified Modeling
21252435 # Language.
21262436 # The default value is: NO.
21372447 # but if the number exceeds 15, the total amount of fields shown is limited to
21382448 # 10.
21392449 # Minimum value: 0, maximum value: 100, default value: 10.
2450 # This tag requires that the tag UML_LOOK is set to YES.
2451
2452 UML_LIMIT_NUM_FIELDS = 10
2453
2454 # If the DOT_UML_DETAILS tag is set to NO, doxygen will show attributes and
2455 # methods without types and arguments in the UML graphs. If the DOT_UML_DETAILS
2456 # tag is set to YES, doxygen will add type and arguments for attributes and
2457 # methods in the UML graphs. If the DOT_UML_DETAILS tag is set to NONE, doxygen
2458 # will not generate fields with class member information in the UML graphs. The
2459 # class diagrams will look similar to the default class diagrams but using UML
2460 # notation for the relationships.
2461 # Possible values are: NO, YES and NONE.
2462 # The default value is: NO.
2463 # This tag requires that the tag UML_LOOK is set to YES.
2464
2465 DOT_UML_DETAILS = NO
2466
2467 # The DOT_WRAP_THRESHOLD tag can be used to set the maximum number of characters
2468 # to display on a single line. If the actual line length exceeds this threshold
2469 # significantly it will wrapped across multiple lines. Some heuristics are apply
2470 # to avoid ugly line breaks.
2471 # Minimum value: 0, maximum value: 1000, default value: 17.
21402472 # This tag requires that the tag HAVE_DOT is set to YES.
21412473
2142 UML_LIMIT_NUM_FIELDS = 10
2474 DOT_WRAP_THRESHOLD = 17
21432475
21442476 # If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
21452477 # collaboration graphs will show the relations between templates and their
21722504 #
21732505 # Note that enabling this option will significantly increase the time of a run.
21742506 # So in most cases it will be better to enable call graphs for selected
2175 # functions only using the \callgraph command.
2507 # functions only using the \callgraph command. Disabling a call graph can be
2508 # accomplished by means of the command \hidecallgraph.
21762509 # The default value is: NO.
21772510 # This tag requires that the tag HAVE_DOT is set to YES.
21782511
21832516 #
21842517 # Note that enabling this option will significantly increase the time of a run.
21852518 # So in most cases it will be better to enable caller graphs for selected
2186 # functions only using the \callergraph command.
2519 # functions only using the \callergraph command. Disabling a caller graph can be
2520 # accomplished by means of the command \hidecallergraph.
21872521 # The default value is: NO.
21882522 # This tag requires that the tag HAVE_DOT is set to YES.
21892523
22052539
22062540 DIRECTORY_GRAPH = YES
22072541
2542 # The DIR_GRAPH_MAX_DEPTH tag can be used to limit the maximum number of levels
2543 # of child directories generated in directory dependency graphs by dot.
2544 # Minimum value: 1, maximum value: 25, default value: 1.
2545 # This tag requires that the tag DIRECTORY_GRAPH is set to YES.
2546
2547 DIR_GRAPH_MAX_DEPTH = 1
2548
22082549 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2209 # generated by dot.
2550 # generated by dot. For an explanation of the image formats see the section
2551 # output formats in the documentation of the dot tool (Graphviz (see:
2552 # http://www.graphviz.org/)).
22102553 # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
22112554 # to make the SVG files visible in IE 9+ (other browsers do not have this
22122555 # requirement).
2213 # Possible values are: png, png:cairo, png:cairo:cairo, png:cairo:gd, png:gd,
2214 # png:gd:gd, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd, gif, gif:cairo,
2215 # gif:cairo:gd, gif:gd, gif:gd:gd and svg.
2556 # Possible values are: png, jpg, jpg:cairo, jpg:cairo:gd, jpg:gd, jpg:gd:gd,
2557 # gif, gif:cairo, gif:cairo:gd, gif:gd, gif:gd:gd, svg, png:gd, png:gd:gd,
2558 # png:cairo, png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
2559 # png:gdiplus:gdiplus.
22162560 # The default value is: png.
22172561 # This tag requires that the tag HAVE_DOT is set to YES.
22182562
22542598 # command).
22552599
22562600 DIAFILE_DIRS =
2601
2602 # When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
2603 # path where java can find the plantuml.jar file or to the filename of jar file
2604 # to be used. If left blank, it is assumed PlantUML is not used or called during
2605 # a preprocessing step. Doxygen will generate a warning when it encounters a
2606 # \startuml command in this case and will not generate output for the diagram.
2607
2608 PLANTUML_JAR_PATH =
2609
2610 # When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a
2611 # configuration file for plantuml.
2612
2613 PLANTUML_CFG_FILE =
2614
2615 # When using plantuml, the specified paths are searched for files specified by
2616 # the !include statement in a plantuml block.
2617
2618 PLANTUML_INCLUDE_PATH =
22572619
22582620 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
22592621 # that will be shown in the graph. If the number of nodes in a graph becomes
22912653
22922654 DOT_TRANSPARENT = YES
22932655
2294 # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
2656 # Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
22952657 # files in one run (i.e. multiple -o and -T options on the command line). This
22962658 # makes dot run faster, but since only newer versions of dot (>1.8.10) support
22972659 # this, this feature is disabled by default.
23032665 # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
23042666 # explaining the meaning of the various boxes and arrows in the dot generated
23052667 # graphs.
2668 # Note: This tag requires that UML_LOOK isn't set, i.e. the doxygen internal
2669 # graphical representation for inheritance and collaboration diagrams is used.
23062670 # The default value is: YES.
23072671 # This tag requires that the tag HAVE_DOT is set to YES.
23082672
23092673 GENERATE_LEGEND = YES
23102674
2311 # If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
2675 # If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate
23122676 # files that are used to generate the various graphs.
2313 # The default value is: YES.
2314 # This tag requires that the tag HAVE_DOT is set to YES.
2677 #
2678 # Note: This setting is not only used for dot files but also for msc temporary
2679 # files.
2680 # The default value is: YES.
23152681
23162682 DOT_CLEANUP = YES
00 Installation Instructions
11 *************************
22
3 Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
4 Foundation, Inc.
3 Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
4 Software Foundation, Inc.
55
66 Copying and distribution of this file, with or without modification,
77 are permitted in any medium without royalty provided the copyright
224224
225225 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
226226
227 HP-UX 'make' updates targets which have the same time stamps as their
227 HP-UX 'make' updates targets which have the same timestamps as their
228228 prerequisites, which makes it generally unusable when shipped generated
229229 files such as 'configure' are involved. Use GNU 'make' instead.
230230
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
164164 $(am__extra_recursive_targets)
165165 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
166166 cscope distdir distdir-am dist dist-all distcheck
167 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
168 $(LISP)config.h.in
167 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
168 config.h.in
169169 # Read a list of newline-separated strings from the standard input,
170170 # and print each of them once, without duplicates. Input order is
171171 # *not* preserved.
182182 unique=`for i in $$list; do \
183183 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
184184 done | $(am__uniquify_input)`
185 ETAGS = etags
186 CTAGS = ctags
187 CSCOPE = cscope
188185 DIST_SUBDIRS = $(SUBDIRS)
189186 am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \
190187 $(srcdir)/config.h.in AUTHORS COPYING ChangeLog INSTALL NEWS \
228225 DIST_ARCHIVES = $(distdir).tar.gz
229226 GZIP_ENV = --best
230227 DIST_TARGETS = dist-gzip
228 # Exists only to be overridden by the user if desired.
229 AM_DISTCHECK_DVI_TARGET = dvi
231230 distuninstallcheck_listfiles = find . -type f -print
232231 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
233232 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
248247 CC = @CC@
249248 CCDEPMODE = @CCDEPMODE@
250249 CFLAGS = @CFLAGS@
251 CPP = @CPP@
252250 CPPFLAGS = @CPPFLAGS@
251 CSCOPE = @CSCOPE@
252 CTAGS = @CTAGS@
253253 CXX = @CXX@
254254 CXXCPP = @CXXCPP@
255255 CXXDEPMODE = @CXXDEPMODE@
265265 ECHO_N = @ECHO_N@
266266 ECHO_T = @ECHO_T@
267267 EGREP = @EGREP@
268 ETAGS = @ETAGS@
268269 EXEEXT = @EXEEXT@
269270 FGREP = @FGREP@
271 FILECMD = @FILECMD@
270272 GREP = @GREP@
271273 INSTALL = @INSTALL@
272274 INSTALL_DATA = @INSTALL_DATA@
557559 distclean-tags:
558560 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
559561 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
560
561562 distdir: $(BUILT_SOURCES)
562563 $(MAKE) $(AM_MAKEFLAGS) distdir-am
563564
644645 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
645646 $(am__post_remove_distdir)
646647
648 dist-zstd: distdir
649 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
650 $(am__post_remove_distdir)
651
647652 dist-tarZ: distdir
648653 @echo WARNING: "Support for distribution archives compressed with" \
649654 "legacy program 'compress' is deprecated." >&2
686691 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
687692 *.zip*) \
688693 unzip $(distdir).zip ;;\
694 *.tar.zst*) \
695 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
689696 esac
690697 chmod -R a-w $(distdir)
691698 chmod u+w $(distdir)
701708 $(DISTCHECK_CONFIGURE_FLAGS) \
702709 --srcdir=../.. --prefix="$$dc_install_base" \
703710 && $(MAKE) $(AM_MAKEFLAGS) \
704 && $(MAKE) $(AM_MAKEFLAGS) dvi \
711 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
705712 && $(MAKE) $(AM_MAKEFLAGS) check \
706713 && $(MAKE) $(AM_MAKEFLAGS) install \
707714 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
866873 am--refresh check check-am clean clean-cscope clean-generic \
867874 clean-libtool clean-local cscope cscopelist-am ctags ctags-am \
868875 dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
869 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
870 distclean-generic distclean-hdr distclean-libtool \
876 dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
877 distclean distclean-generic distclean-hdr distclean-libtool \
871878 distclean-local distclean-tags distcleancheck distdir \
872879 distuninstallcheck dvi dvi-am html html-am info info-am \
873880 install install-am install-data install-data-am \
22
33 Downloads:
44 o Generic: http://sourceforge.net/projects/ui-utilcpp/files//ui-utilcpp
5 o Current: http://sourceforge.net/projects/ui-utilcpp/files//ui-utilcpp/stable/ui-utilcpp-1.10.0.tar.gz
5 o Current: http://sourceforge.net/projects/ui-utilcpp/files//ui-utilcpp/stable/ui-utilcpp-1.10.1.tar.gz
66 ================================================================
7 ui-utilcpp-1.10.1 (stable) (Sun, 08 Jan 2023 18:00:56 +0100):
8
9 Patched stable release.
10
11 This release has been tested to compile with boost 1.81 (no
12 changes needed).
13
14 Changes since 1.10.0:
15
16 Stephan Sürken (5):
17 * [4af6cc0] .ui-auto.conf: Build for sid+bullseye only.
18 * [a1d959d] configure.ac: Incorporate Debian patch "Port from
19 deprecated glibc rpcsvc to libtirpc-dev" (thanks to Steve
20 Langasek)
21 * [adcd672] Doxyfile.in: Update via ``doxygen -u`` to version
22 1.9.4 (fixes warnings)
23 * [e33d3b3] Doxyfile.in (PAPER_TYPE): Change from unknown
24 a4wide to a4 (fixes doxygen warning)
25 * [da5b5fb] configure.ac: Prepare 1.10.1 (lib 9:2:0)
26 ----------------------------------------------------------------
727 ui-utilcpp-1.10.0 (stable) (Wed, 25 Sep 2019 19:27:21 +0200):
828
929 Initial stable release. This release mainly makes the code
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 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'.])])
2121
2222 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2323 #
24 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
24 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
25 # Foundation, Inc.
2526 # Written by Gordon Matzigkeit, 1996
2627 #
2728 # This file is free software; the Free Software Foundation gives
5253 # along with this program. If not, see <http://www.gnu.org/licenses/>.
5354 ])
5455
55 # serial 58 LT_INIT
56 # serial 59 LT_INIT
5657
5758
5859 # LT_PREREQ(VERSION)
202203 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
203204 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
204205 m4_require([_LT_CMD_RELOAD])dnl
206 m4_require([_LT_DECL_FILECMD])dnl
205207 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
206208 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
207209 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
240242 ofile=libtool
241243 can_build_shared=yes
242244
243 # All known linkers require a '.a' archive for static linking (except MSVC,
244 # which needs '.lib').
245 # All known linkers require a '.a' archive for static linking (except MSVC and
246 # ICC, which need '.lib').
245247 libext=a
246248
247249 with_gnu_ld=$lt_cv_prog_gnu_ld
792794 # if finds mixed CR/LF and LF-only lines. Since sed operates in
793795 # text mode, it properly converts lines to CR/LF. This bash problem
794796 # is reportedly fixed, but why not run on old versions too?
795 sed '$q' "$ltmain" >> "$cfgfile" \
797 $SED '$q' "$ltmain" >> "$cfgfile" \
796798 || (rm -f "$cfgfile"; exit 1)
797799
798800 mv -f "$cfgfile" "$ofile" ||
10541056 _LT_EOF
10551057 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10561058 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1057 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1058 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1059 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1060 $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10591061 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10601062 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10611063 cat > conftest.c << _LT_EOF
10791081 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10801082 darwin1.*)
10811083 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1082 darwin*) # darwin 5.x on
1083 # if running on 10.5 or later, the deployment target defaults
1084 # to the OS version, if on x86, and 10.4, the deployment
1085 # target defaults to 10.4. Don't you love it?
1086 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1087 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1088 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1089 10.[[012]][[,.]]*)
1090 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1091 10.*)
1092 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1084 darwin*)
1085 case $MACOSX_DEPLOYMENT_TARGET,$host in
1086 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1087 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1088 *)
1089 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10931090 esac
10941091 ;;
10951092 esac
11381135 output_verbose_link_cmd=func_echo_all
11391136 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11401137 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1141 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1142 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1138 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1139 _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11431140 m4_if([$1], [CXX],
11441141 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
11451142 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
1146 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
1143 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
11471144 fi
11481145 ],[])
11491146 else
12571254 # _LT_WITH_SYSROOT
12581255 # ----------------
12591256 AC_DEFUN([_LT_WITH_SYSROOT],
1260 [AC_MSG_CHECKING([for sysroot])
1257 [m4_require([_LT_DECL_SED])dnl
1258 AC_MSG_CHECKING([for sysroot])
12611259 AC_ARG_WITH([sysroot],
12621260 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
12631261 [Search for dependent libraries within DIR (or the compiler's sysroot
12741272 fi
12751273 ;; #(
12761274 /*)
1277 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1275 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
12781276 ;; #(
12791277 no|'')
12801278 ;; #(
13041302 # options accordingly.
13051303 echo 'int i;' > conftest.$ac_ext
13061304 if AC_TRY_EVAL(ac_compile); then
1307 case `/usr/bin/file conftest.$ac_objext` in
1305 case `$FILECMD conftest.$ac_objext` in
13081306 *ELF-32*)
13091307 HPUX_IA64_MODE=32
13101308 ;;
13211319 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13221320 if AC_TRY_EVAL(ac_compile); then
13231321 if test yes = "$lt_cv_prog_gnu_ld"; then
1324 case `/usr/bin/file conftest.$ac_objext` in
1322 case `$FILECMD conftest.$ac_objext` in
13251323 *32-bit*)
13261324 LD="${LD-ld} -melf32bsmip"
13271325 ;;
13331331 ;;
13341332 esac
13351333 else
1336 case `/usr/bin/file conftest.$ac_objext` in
1334 case `$FILECMD conftest.$ac_objext` in
13371335 *32-bit*)
13381336 LD="${LD-ld} -32"
13391337 ;;
13551353 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13561354 if AC_TRY_EVAL(ac_compile); then
13571355 emul=elf
1358 case `/usr/bin/file conftest.$ac_objext` in
1356 case `$FILECMD conftest.$ac_objext` in
13591357 *32-bit*)
13601358 emul="${emul}32"
13611359 ;;
13631361 emul="${emul}64"
13641362 ;;
13651363 esac
1366 case `/usr/bin/file conftest.$ac_objext` in
1364 case `$FILECMD conftest.$ac_objext` in
13671365 *MSB*)
13681366 emul="${emul}btsmip"
13691367 ;;
13711369 emul="${emul}ltsmip"
13721370 ;;
13731371 esac
1374 case `/usr/bin/file conftest.$ac_objext` in
1372 case `$FILECMD conftest.$ac_objext` in
13751373 *N32*)
13761374 emul="${emul}n32"
13771375 ;;
13911389 # not appear in the list.
13921390 echo 'int i;' > conftest.$ac_ext
13931391 if AC_TRY_EVAL(ac_compile); then
1394 case `/usr/bin/file conftest.o` in
1392 case `$FILECMD conftest.o` in
13951393 *32-bit*)
13961394 case $host in
13971395 x86_64-*kfreebsd*-gnu)
13981396 LD="${LD-ld} -m elf_i386_fbsd"
13991397 ;;
14001398 x86_64-*linux*)
1401 case `/usr/bin/file conftest.o` in
1399 case `$FILECMD conftest.o` in
14021400 *x86-64*)
14031401 LD="${LD-ld} -m elf32_x86_64"
14041402 ;;
14661464 # options accordingly.
14671465 echo 'int i;' > conftest.$ac_ext
14681466 if AC_TRY_EVAL(ac_compile); then
1469 case `/usr/bin/file conftest.o` in
1467 case `$FILECMD conftest.o` in
14701468 *64-bit*)
14711469 case $lt_cv_prog_gnu_ld in
14721470 yes*)
15051503 m4_defun([_LT_PROG_AR],
15061504 [AC_CHECK_TOOLS(AR, [ar], false)
15071505 : ${AR=ar}
1508 : ${AR_FLAGS=cru}
15091506 _LT_DECL([], [AR], [1], [The archiver])
1510 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1507
1508 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
1509 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
1510 # higher priority because thats what people were doing historically (setting
1511 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
1512 # variable obsoleted/removed.
1513
1514 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1515 lt_ar_flags=$AR_FLAGS
1516 _LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
1517
1518 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1519 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1520 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1521 [Flags to create an archive])
15111522
15121523 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
15131524 [lt_cv_ar_at_file=no
17261737 lt_cv_sys_max_cmd_len=8192;
17271738 ;;
17281739
1729 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1740 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
17301741 # This has been around since 386BSD, at least. Likely further.
17311742 if test -x /sbin/sysctl; then
17321743 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17691780 sysv5* | sco5v6* | sysv4.2uw2*)
17701781 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17711782 if test -n "$kargmax"; then
1772 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1783 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
17731784 else
17741785 lt_cv_sys_max_cmd_len=32768
17751786 fi
22192230 striplib=
22202231 old_striplib=
22212232 AC_MSG_CHECKING([whether stripping libraries is possible])
2222 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2223 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2224 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2225 AC_MSG_RESULT([yes])
2233 if test -z "$STRIP"; then
2234 AC_MSG_RESULT([no])
22262235 else
2227 # FIXME - insert some real tests, host_os isn't really good enough
2228 case $host_os in
2229 darwin*)
2230 if test -n "$STRIP"; then
2236 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2237 old_striplib="$STRIP --strip-debug"
2238 striplib="$STRIP --strip-unneeded"
2239 AC_MSG_RESULT([yes])
2240 else
2241 case $host_os in
2242 darwin*)
2243 # FIXME - insert some real tests, host_os isn't really good enough
22312244 striplib="$STRIP -x"
22322245 old_striplib="$STRIP -S"
22332246 AC_MSG_RESULT([yes])
2234 else
2247 ;;
2248 freebsd*)
2249 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2250 old_striplib="$STRIP --strip-debug"
2251 striplib="$STRIP --strip-unneeded"
2252 AC_MSG_RESULT([yes])
2253 else
2254 AC_MSG_RESULT([no])
2255 fi
2256 ;;
2257 *)
22352258 AC_MSG_RESULT([no])
2236 fi
2237 ;;
2238 *)
2239 AC_MSG_RESULT([no])
2240 ;;
2241 esac
2259 ;;
2260 esac
2261 fi
22422262 fi
22432263 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
22442264 _LT_DECL([], [striplib], [1])
25612581 case $host_os in
25622582 cygwin*)
25632583 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2564 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2584 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25652585 m4_if([$1], [],[
25662586 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
25672587 ;;
25712591 ;;
25722592 pw32*)
25732593 # pw32 DLLs use 'pw' prefix rather than 'lib'
2574 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2594 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25752595 ;;
25762596 esac
25772597 dynamic_linker='Win32 ld.exe'
25782598 ;;
25792599
2580 *,cl*)
2581 # Native MSVC
2600 *,cl* | *,icl*)
2601 # Native MSVC or ICC
25822602 libname_spec='$name'
25832603 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25842604 library_names_spec='$libname.dll.lib'
25972617 done
25982618 IFS=$lt_save_ifs
25992619 # Convert to MSYS style.
2600 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2620 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
26012621 ;;
26022622 cygwin*)
26032623 # Convert to unix form, then to dos form, then back to unix form
26342654 ;;
26352655
26362656 *)
2637 # Assume MSVC wrapper
2657 # Assume MSVC and ICC wrapper
26382658 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
26392659 dynamic_linker='Win32 ld.exe'
26402660 ;;
26672687 shlibpath_var=LD_LIBRARY_PATH
26682688 ;;
26692689
2670 freebsd* | dragonfly*)
2690 freebsd* | dragonfly* | midnightbsd*)
26712691 # DragonFly does not have aout. When/if they implement a new
26722692 # versioning mechanism, adjust this.
26732693 if test -x /usr/bin/objformat; then
34783498
34793499 bsdi[[45]]*)
34803500 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3481 lt_cv_file_magic_cmd='/usr/bin/file -L'
3501 lt_cv_file_magic_cmd='$FILECMD -L'
34823502 lt_cv_file_magic_test_file=/shlib/libc.so
34833503 ;;
34843504
35123532 lt_cv_deplibs_check_method=pass_all
35133533 ;;
35143534
3515 freebsd* | dragonfly*)
3535 freebsd* | dragonfly* | midnightbsd*)
35163536 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
35173537 case $host_cpu in
35183538 i*86 )
35193539 # Not sure whether the presence of OpenBSD here was a mistake.
35203540 # Let's accept both of them until this is cleared up.
35213541 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3522 lt_cv_file_magic_cmd=/usr/bin/file
3542 lt_cv_file_magic_cmd=$FILECMD
35233543 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
35243544 ;;
35253545 esac
35333553 ;;
35343554
35353555 hpux10.20* | hpux11*)
3536 lt_cv_file_magic_cmd=/usr/bin/file
3556 lt_cv_file_magic_cmd=$FILECMD
35373557 case $host_cpu in
35383558 ia64*)
35393559 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
35803600
35813601 newos6*)
35823602 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3583 lt_cv_file_magic_cmd=/usr/bin/file
3603 lt_cv_file_magic_cmd=$FILECMD
35843604 lt_cv_file_magic_test_file=/usr/lib/libnls.so
35853605 ;;
35863606
37073727 mingw*) lt_bad_file=conftest.nm/nofile ;;
37083728 *) lt_bad_file=/dev/null ;;
37093729 esac
3710 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3730 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
37113731 *$lt_bad_file* | *'Invalid file or object type'*)
37123732 lt_cv_path_NM="$tmp_nm -B"
37133733 break 2
37143734 ;;
37153735 *)
3716 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3736 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
37173737 */dev/null*)
37183738 lt_cv_path_NM="$tmp_nm -p"
37193739 break 2
37393759 # Let the user override the test.
37403760 else
37413761 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3742 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3762 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
37433763 *COFF*)
37443764 DUMPBIN="$DUMPBIN -symbols -headers"
37453765 ;;
39793999
39804000 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
39814001 # Gets list of data symbols to import.
3982 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
4002 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
39834003 # Adjust the below global symbol transforms to fixup imported variables.
39844004 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
39854005 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
39974017 # Transform an extracted symbol line into a proper C declaration.
39984018 # Some systems (esp. on ia64) link data and code symbols differently,
39994019 # so use this general approach.
4000 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
4020 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
40014021 $lt_cdecl_hook\
40024022 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
40034023 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
40044024
40054025 # Transform an extracted symbol line into symbol name and symbol address
4006 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4026 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
40074027 $lt_c_name_hook\
40084028 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
40094029 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
40104030
40114031 # Transform an extracted symbol line into symbol name with lib prefix and
40124032 # symbol address.
4013 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4033 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
40144034 $lt_c_name_lib_hook\
40154035 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
40164036 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
40344054 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
40354055 # Fake it for dumpbin and say T for any non-static function,
40364056 # D for any global variable and I for any imported variable.
4037 # Also find C++ and __fastcall symbols from MSVC++,
4057 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
40384058 # which start with @ or ?.
40394059 lt_cv_sys_global_symbol_pipe="$AWK ['"\
40404060 " {last_section=section; section=\$ 3};"\
40524072 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
40534073 " ' prfx=^$ac_symprfx]"
40544074 else
4055 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4075 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
40564076 fi
4057 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
4077 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
40584078
40594079 # Check to see that the pipe works correctly.
40604080 pipe_works=no
43424362 ;;
43434363 esac
43444364 ;;
4345 freebsd* | dragonfly*)
4365 freebsd* | dragonfly* | midnightbsd*)
43464366 # FreeBSD uses GNU C++
43474367 ;;
43484368 hpux9* | hpux10* | hpux11*)
44254445 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
44264446 ;;
44274447 *)
4428 case `$CC -V 2>&1 | sed 5q` in
4448 case `$CC -V 2>&1 | $SED 5q` in
44294449 *Sun\ C*)
44304450 # Sun C++ 5.9
44314451 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47674787 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
47684788 ;;
47694789 *)
4770 case `$CC -V 2>&1 | sed 5q` in
4790 case `$CC -V 2>&1 | $SED 5q` in
47714791 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
47724792 # Sun Fortran 8.3 passes all unrecognized flags to the linker
47734793 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49504970 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
49514971 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
49524972 else
4953 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
4973 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
49544974 fi
49554975 ;;
49564976 pw32*)
49584978 ;;
49594979 cygwin* | mingw* | cegcc*)
49604980 case $cc_basename in
4961 cl*)
4981 cl* | icl*)
49624982 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
49634983 ;;
49644984 *)
50185038
50195039 case $host_os in
50205040 cygwin* | mingw* | pw32* | cegcc*)
5021 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5041 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
50225042 # When not using gcc, we currently assume that we are using
5023 # Microsoft Visual C++.
5043 # Microsoft Visual C++ or Intel C++ Compiler.
50245044 if test yes != "$GCC"; then
50255045 with_gnu_ld=no
50265046 fi
50275047 ;;
50285048 interix*)
5029 # we just hope/assume this is gcc and not c89 (= MSVC++)
5049 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
50305050 with_gnu_ld=yes
50315051 ;;
50325052 openbsd* | bitrig*)
50815101 _LT_TAGVAR(whole_archive_flag_spec, $1)=
50825102 fi
50835103 supports_anon_versioning=no
5084 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5104 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
50855105 *GNU\ gold*) supports_anon_versioning=yes ;;
50865106 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
50875107 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51935213 emximp -o $lib $output_objdir/$libname.def'
51945214 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
51955215 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5216 _LT_TAGVAR(file_list_spec, $1)='@'
51965217 ;;
51975218
51985219 interix[[3-9]]*)
52075228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
52085229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
52095230 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5210 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5231 _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
52115232 ;;
52125233
52135234 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52505271 _LT_TAGVAR(compiler_needs_object, $1)=yes
52515272 ;;
52525273 esac
5253 case `$CC -V 2>&1 | sed 5q` in
5274 case `$CC -V 2>&1 | $SED 5q` in
52545275 *Sun\ C*) # Sun C 5.9
52555276 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
52565277 _LT_TAGVAR(compiler_needs_object, $1)=yes
52625283
52635284 if test yes = "$supports_anon_versioning"; then
52645285 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5265 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5286 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52665287 echo "local: *; };" >> $output_objdir/$libname.ver~
52675288 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
52685289 fi
52695290
52705291 case $cc_basename in
52715292 tcc*)
5293 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
52725294 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
52735295 ;;
52745296 xlf* | bgf* | bgxlf* | mpixlf*)
52785300 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
52795301 if test yes = "$supports_anon_versioning"; then
52805302 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5281 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5303 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52825304 echo "local: *; };" >> $output_objdir/$libname.ver~
52835305 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52845306 fi
54105432 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
54115433 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
54125434 else
5413 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
5435 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
54145436 fi
54155437 aix_use_runtimelinking=no
54165438
55935615
55945616 cygwin* | mingw* | pw32* | cegcc*)
55955617 # When not using gcc, we currently assume that we are using
5596 # Microsoft Visual C++.
5618 # Microsoft Visual C++ or Intel C++ Compiler.
55975619 # hardcode_libdir_flag_spec is actually meaningless, as there is
55985620 # no search path for DLLs.
55995621 case $cc_basename in
5600 cl*)
5601 # Native MSVC
5622 cl* | icl*)
5623 # Native MSVC or ICC
56025624 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
56035625 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56045626 _LT_TAGVAR(always_export_symbols, $1)=yes
56395661 fi'
56405662 ;;
56415663 *)
5642 # Assume MSVC wrapper
5664 # Assume MSVC and ICC wrapper
56435665 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
56445666 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56455667 # Tell ltmain to make .lib files, not .a files.
56875709 ;;
56885710
56895711 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5690 freebsd* | dragonfly*)
5712 freebsd* | dragonfly* | midnightbsd*)
56915713 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
56925714 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
56935715 _LT_TAGVAR(hardcode_direct, $1)=yes
58285850 # Fabrice Bellard et al's Tiny C Compiler
58295851 _LT_TAGVAR(ld_shlibs, $1)=yes
58305852 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5853 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
58315854 ;;
58325855 esac
58335856 ;;
58995922 emximp -o $lib $output_objdir/$libname.def'
59005923 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
59015924 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5925 _LT_TAGVAR(file_list_spec, $1)='@'
59025926 ;;
59035927
59045928 osf3*)
66656689
66666690 cygwin* | mingw* | pw32* | cegcc*)
66676691 case $GXX,$cc_basename in
6668 ,cl* | no,cl*)
6669 # Native MSVC
6692 ,cl* | no,cl* | ,icl* | no,icl*)
6693 # Native MSVC or ICC
66706694 # hardcode_libdir_flag_spec is actually meaningless, as there is
66716695 # no search path for DLLs.
66726696 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
67646788 emximp -o $lib $output_objdir/$libname.def'
67656789 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
67666790 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6791 _LT_TAGVAR(file_list_spec, $1)='@'
67676792 ;;
67686793
67696794 dgux*)
67946819 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
67956820 ;;
67966821
6797 freebsd* | dragonfly*)
6822 freebsd* | dragonfly* | midnightbsd*)
67986823 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
67996824 # conventions
68006825 _LT_TAGVAR(ld_shlibs, $1)=yes
69316956 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
69326957 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
69336958 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6934 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6959 _LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
69356960 ;;
69366961 irix5* | irix6*)
69376962 case $cc_basename in
70717096 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
70727097 if test yes = "$supports_anon_versioning"; then
70737098 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7074 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7099 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
70757100 echo "local: *; };" >> $output_objdir/$libname.ver~
70767101 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
70777102 fi
70787103 ;;
70797104 *)
7080 case `$CC -V 2>&1 | sed 5q` in
7105 case `$CC -V 2>&1 | $SED 5q` in
70817106 *Sun\ C*)
70827107 # Sun C++ 5.9
70837108 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
82148239 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
82158240 AC_SUBST([DLLTOOL])
82168241 ])
8242
8243 # _LT_DECL_FILECMD
8244 # ----------------
8245 # Check for a file(cmd) program that can be used to detect file type and magic
8246 m4_defun([_LT_DECL_FILECMD],
8247 [AC_CHECK_TOOL([FILECMD], [file], [:])
8248 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
8249 ])# _LD_DECL_FILECMD
82178250
82188251 # _LT_DECL_SED
82198252 # ------------
83948427
83958428 # Helper functions for option handling. -*- Autoconf -*-
83968429 #
8397 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
8398 # Foundation, Inc.
8430 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
8431 # Software Foundation, Inc.
83998432 # Written by Gary V. Vaughan, 2004
84008433 #
84018434 # This file is free software; the Free Software Foundation gives
88268859
88278860 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
88288861 #
8829 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
8862 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
88308863 # Foundation, Inc.
88318864 # Written by Gary V. Vaughan, 2004
88328865 #
89518984
89528985 # ltversion.m4 -- version numbers -*- Autoconf -*-
89538986 #
8954 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
8987 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
8988 # Inc.
89558989 # Written by Scott James Remnant, 2004
89568990 #
89578991 # This file is free software; the Free Software Foundation gives
89608994
89618995 # @configure_input@
89628996
8963 # serial 4179 ltversion.m4
8997 # serial 4245 ltversion.m4
89648998 # This file is part of GNU Libtool
89658999
8966 m4_define([LT_PACKAGE_VERSION], [2.4.6])
8967 m4_define([LT_PACKAGE_REVISION], [2.4.6])
9000 m4_define([LT_PACKAGE_VERSION], [2.4.7])
9001 m4_define([LT_PACKAGE_REVISION], [2.4.7])
89689002
89699003 AC_DEFUN([LTVERSION_VERSION],
8970 [macro_version='2.4.6'
8971 macro_revision='2.4.6'
9004 [macro_version='2.4.7'
9005 macro_revision='2.4.7'
89729006 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
89739007 _LT_DECL(, macro_revision, 0)
89749008 ])
89759009
89769010 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
89779011 #
8978 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
8979 # Foundation, Inc.
9012 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
9013 # Software Foundation, Inc.
89809014 # Written by Scott James Remnant, 2004.
89819015 #
89829016 # This file is free software; the Free Software Foundation gives
94649498 ])
94659499 ])
94669500
9467 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
9501 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
94689502 #
94699503 # This file is free software; the Free Software Foundation
94709504 # gives unlimited permission to copy and/or distribute it,
94799513 [am__api_version='1.16'
94809514 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
94819515 dnl require some minimum version. Point them to the right macro.
9482 m4_if([$1], [1.16.1], [],
9516 m4_if([$1], [1.16.5], [],
94839517 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
94849518 ])
94859519
94959529 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
94969530 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
94979531 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9498 [AM_AUTOMAKE_VERSION([1.16.1])dnl
9532 [AM_AUTOMAKE_VERSION([1.16.5])dnl
94999533 m4_ifndef([AC_AUTOCONF_VERSION],
95009534 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
95019535 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
95029536
95039537 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
95049538
9505 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
9539 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
95069540 #
95079541 # This file is free software; the Free Software Foundation
95089542 # gives unlimited permission to copy and/or distribute it,
95549588
95559589 # AM_CONDITIONAL -*- Autoconf -*-
95569590
9557 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
9591 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
95589592 #
95599593 # This file is free software; the Free Software Foundation
95609594 # gives unlimited permission to copy and/or distribute it,
95859619 Usually this means the macro was only invoked conditionally.]])
95869620 fi])])
95879621
9588 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
9622 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
95899623 #
95909624 # This file is free software; the Free Software Foundation
95919625 # gives unlimited permission to copy and/or distribute it,
97769810
97779811 # Generate code to set up dependency tracking. -*- Autoconf -*-
97789812
9779 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
9813 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
97809814 #
97819815 # This file is free software; the Free Software Foundation
97829816 # gives unlimited permission to copy and/or distribute it,
98159849 done
98169850 if test $am_rc -ne 0; then
98179851 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
9818 for automatic dependency tracking. Try re-running configure with the
9852 for automatic dependency tracking. If GNU make was not used, consider
9853 re-running the configure script with MAKE="gmake" (or whatever is
9854 necessary). You can also try re-running configure with the
98199855 '--disable-dependency-tracking' option to at least be able to build
98209856 the package (albeit without support for automatic dependency tracking).])
98219857 fi
98429878
98439879 # Do all the work for Automake. -*- Autoconf -*-
98449880
9845 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
9881 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
98469882 #
98479883 # This file is free software; the Free Software Foundation
98489884 # gives unlimited permission to copy and/or distribute it,
98709906 # release and drop the old call support.
98719907 AC_DEFUN([AM_INIT_AUTOMAKE],
98729908 [AC_PREREQ([2.65])dnl
9909 m4_ifdef([_$0_ALREADY_INIT],
9910 [m4_fatal([$0 expanded multiple times
9911 ]m4_defn([_$0_ALREADY_INIT]))],
9912 [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
98739913 dnl Autoconf wants to disallow AM_ names. We explicitly allow
98749914 dnl the ones we care about.
98759915 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
99069946 [_AM_SET_OPTIONS([$1])dnl
99079947 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
99089948 m4_if(
9909 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
9949 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
99109950 [ok:ok],,
99119951 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
99129952 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
99589998 [m4_define([AC_PROG_OBJCXX],
99599999 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
996010000 ])
10001 # Variables for tags utilities; see am/tags.am
10002 if test -z "$CTAGS"; then
10003 CTAGS=ctags
10004 fi
10005 AC_SUBST([CTAGS])
10006 if test -z "$ETAGS"; then
10007 ETAGS=etags
10008 fi
10009 AC_SUBST([ETAGS])
10010 if test -z "$CSCOPE"; then
10011 CSCOPE=cscope
10012 fi
10013 AC_SUBST([CSCOPE])
10014
996110015 AC_REQUIRE([AM_SILENT_RULES])dnl
996210016 dnl The testsuite driver may need to know about EXEEXT, so add the
996310017 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1003910093 done
1004010094 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1004110095
10042 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10096 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1004310097 #
1004410098 # This file is free software; the Free Software Foundation
1004510099 # gives unlimited permission to copy and/or distribute it,
1006010114 fi
1006110115 AC_SUBST([install_sh])])
1006210116
10063 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
10117 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
1006410118 #
1006510119 # This file is free software; the Free Software Foundation
1006610120 # gives unlimited permission to copy and/or distribute it,
1008110135
1008210136 # Check to see how 'make' treats includes. -*- Autoconf -*-
1008310137
10084 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10138 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1008510139 #
1008610140 # This file is free software; the Free Software Foundation
1008710141 # gives unlimited permission to copy and/or distribute it,
1012410178
1012510179 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1012610180
10127 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
10181 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
1012810182 #
1012910183 # This file is free software; the Free Software Foundation
1013010184 # gives unlimited permission to copy and/or distribute it,
1014510199 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1014610200 AC_REQUIRE_AUX_FILE([missing])dnl
1014710201 if test x"${MISSING+set}" != xset; then
10148 case $am_aux_dir in
10149 *\ * | *\ *)
10150 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
10151 *)
10152 MISSING="\${SHELL} $am_aux_dir/missing" ;;
10153 esac
10202 MISSING="\${SHELL} '$am_aux_dir/missing'"
1015410203 fi
1015510204 # Use eval to expand $SHELL
1015610205 if eval "$MISSING --is-lightweight"; then
1016310212
1016410213 # Helper functions for option handling. -*- Autoconf -*-
1016510214
10166 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10215 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1016710216 #
1016810217 # This file is free software; the Free Software Foundation
1016910218 # gives unlimited permission to copy and/or distribute it,
1019210241 AC_DEFUN([_AM_IF_OPTION],
1019310242 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1019410243
10195 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
10244 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
1019610245 #
1019710246 # This file is free software; the Free Software Foundation
1019810247 # gives unlimited permission to copy and/or distribute it,
1023910288 # For backward compatibility.
1024010289 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1024110290
10242 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10291 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1024310292 #
1024410293 # This file is free software; the Free Software Foundation
1024510294 # gives unlimited permission to copy and/or distribute it,
1025810307
1025910308 # Check to make sure that the build environment is sane. -*- Autoconf -*-
1026010309
10261 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
10310 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
1026210311 #
1026310312 # This file is free software; the Free Software Foundation
1026410313 # gives unlimited permission to copy and/or distribute it,
1033910388 rm -f conftest.file
1034010389 ])
1034110390
10342 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
10391 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
1034310392 #
1034410393 # This file is free software; the Free Software Foundation
1034510394 # gives unlimited permission to copy and/or distribute it,
1039910448 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1040010449 ])
1040110450
10402 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
10451 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
1040310452 #
1040410453 # This file is free software; the Free Software Foundation
1040510454 # gives unlimited permission to copy and/or distribute it,
1042710476 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1042810477 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1042910478
10430 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
10479 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
1043110480 #
1043210481 # This file is free software; the Free Software Foundation
1043310482 # gives unlimited permission to copy and/or distribute it,
1044610495
1044710496 # Check how to create a tarball. -*- Autoconf -*-
1044810497
10449 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
10498 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
1045010499 #
1045110500 # This file is free software; the Free Software Foundation
1045210501 # gives unlimited permission to copy and/or distribute it,
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
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
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/*)
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-02-24'
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
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 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31 # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
3032 #
3133 # Please send patches to <config-patches@gnu.org>.
34
35
36 # The "shellcheck disable" line above the timestamp inhibits complaints
37 # about features and limitations of the classic Bourne shell that were
38 # superseded or lifted in POSIX. However, this script identifies a wide
39 # variety of pre-POSIX systems that do not have POSIX shells at all, and
40 # even some reasonably current systems (Solaris 10 as case-in-point) still
41 # have a pre-POSIX /bin/sh.
3242
3343
3444 me=`echo "$0" | sed -e 's,.*/,,'`
4959 GNU config.guess ($timestamp)
5060
5161 Originally written by Per Bothner.
52 Copyright 1992-2018 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"
153 LIBC=unknown
154
155 set_cc_for_build
141156 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'`"
152
153 # If ldd exists, use it to detect musl libc.
154 if command -v ldd >/dev/null && \
155 ldd --version 2>&1 | grep -q ^musl
156 then
157 LIBC=musl
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
158186 fi
159187 ;;
160188 esac
161189
162190 # Note: order is significant - the case branches are not exclusive.
163191
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
192 case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
165193 *:NetBSD:*:*)
166194 # NetBSD (nbsd) targets should (where applicable) match one or
167195 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
173201 #
174202 # Note: NetBSD doesn't particularly care about the vendor
175203 # portion of the name. We always set it to "unknown".
176 sysctl="sysctl -n hw.machine_arch"
177204 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
178 "/sbin/$sysctl" 2>/dev/null || \
179 "/usr/sbin/$sysctl" 2>/dev/null || \
205 /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
206 /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
180207 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
208 case $UNAME_MACHINE_ARCH in
209 aarch64eb) machine=aarch64_be-unknown ;;
182210 armeb) machine=armeb-unknown ;;
183211 arm*) machine=arm-unknown ;;
184212 sh3el) machine=shl-unknown ;;
187215 earmv*)
188216 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
189217 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
190 machine="${arch}${endian}"-unknown
218 machine=${arch}${endian}-unknown
191219 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
220 *) machine=$UNAME_MACHINE_ARCH-unknown ;;
193221 esac
194222 # The Operating System including object format, if it has switched
195223 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
224 case $UNAME_MACHINE_ARCH in
197225 earm*)
198226 os=netbsdelf
199227 ;;
200228 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
201 eval "$set_cc_for_build"
229 set_cc_for_build
202230 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
203231 | grep -q __ELF__
204232 then
214242 ;;
215243 esac
216244 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
245 case $UNAME_MACHINE_ARCH in
218246 earm*)
219247 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
220248 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
225253 # thus, need a distinct triplet. However, they do not need
226254 # kernel version information, so it can be replaced with a
227255 # suitable tag, in the style of linux-gnu.
228 case "$UNAME_VERSION" in
256 case $UNAME_VERSION in
229257 Debian*)
230258 release='-gnu'
231259 ;;
236264 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
237265 # contains redundant information, the shorter form:
238266 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
239 echo "$machine-${os}${release}${abi}"
240 exit ;;
267 GUESS=$machine-${os}${release}${abi-}
268 ;;
241269 *:Bitrig:*:*)
242270 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
243 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
244 exit ;;
271 GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
272 ;;
245273 *:OpenBSD:*:*)
246274 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
247 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
248 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 ;;
249281 *:LibertyBSD:*:*)
250282 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
251 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
252 exit ;;
283 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
284 ;;
253285 *:MidnightBSD:*:*)
254 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
255 exit ;;
286 GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
287 ;;
256288 *:ekkoBSD:*:*)
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
258 exit ;;
289 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
290 ;;
259291 *:SolidBSD:*:*)
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
261 exit ;;
292 GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
293 ;;
294 *:OS108:*:*)
295 GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
296 ;;
262297 macppc:MirBSD:*:*)
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
264 exit ;;
298 GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
299 ;;
265300 *:MirBSD:*:*)
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
267 exit ;;
301 GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE
302 ;;
268303 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
270 exit ;;
304 GUESS=$UNAME_MACHINE-unknown-sortix
305 ;;
306 *:Twizzler:*:*)
307 GUESS=$UNAME_MACHINE-unknown-twizzler
308 ;;
271309 *:Redox:*:*)
272 echo "$UNAME_MACHINE"-unknown-redox
273 exit ;;
310 GUESS=$UNAME_MACHINE-unknown-redox
311 ;;
274312 mips:OSF1:*.*)
275 echo mips-dec-osf1
276 exit ;;
313 GUESS=mips-dec-osf1
314 ;;
277315 alpha:OSF1:*:*)
316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
317 trap '' 0
278318 case $UNAME_RELEASE in
279319 *4.0)
280320 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
288328 # covers most systems running today. This code pipes the CPU
289329 # types through head -n 1, so we only detect the type of CPU 0.
290330 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
291 case "$ALPHA_CPU_TYPE" in
331 case $ALPHA_CPU_TYPE in
292332 "EV4 (21064)")
293333 UNAME_MACHINE=alpha ;;
294334 "EV4.5 (21064)")
325365 # A Tn.n version is a released field test version.
326366 # A Xn.n version is an unreleased experimental baselevel.
327367 # 1.2 uses "1.2" for uname -r.
328 echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
329 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
330 exitcode=$?
331 trap '' 0
332 exit $exitcode ;;
368 OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
369 GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
370 ;;
333371 Amiga*:UNIX_System_V:4.0:*)
334 echo m68k-unknown-sysv4
335 exit ;;
372 GUESS=m68k-unknown-sysv4
373 ;;
336374 *:[Aa]miga[Oo][Ss]:*:*)
337 echo "$UNAME_MACHINE"-unknown-amigaos
338 exit ;;
375 GUESS=$UNAME_MACHINE-unknown-amigaos
376 ;;
339377 *:[Mm]orph[Oo][Ss]:*:*)
340 echo "$UNAME_MACHINE"-unknown-morphos
341 exit ;;
378 GUESS=$UNAME_MACHINE-unknown-morphos
379 ;;
342380 *:OS/390:*:*)
343 echo i370-ibm-openedition
344 exit ;;
381 GUESS=i370-ibm-openedition
382 ;;
345383 *:z/VM:*:*)
346 echo s390-ibm-zvmoe
347 exit ;;
384 GUESS=s390-ibm-zvmoe
385 ;;
348386 *:OS400:*:*)
349 echo powerpc-ibm-os400
350 exit ;;
387 GUESS=powerpc-ibm-os400
388 ;;
351389 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
352 echo arm-acorn-riscix"$UNAME_RELEASE"
353 exit ;;
390 GUESS=arm-acorn-riscix$UNAME_RELEASE
391 ;;
354392 arm*:riscos:*:*|arm*:RISCOS:*:*)
355 echo arm-unknown-riscos
356 exit ;;
393 GUESS=arm-unknown-riscos
394 ;;
357395 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
358 echo hppa1.1-hitachi-hiuxmpp
359 exit ;;
396 GUESS=hppa1.1-hitachi-hiuxmpp
397 ;;
360398 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
361399 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
362 if test "`(/bin/universe) 2>/dev/null`" = att ; then
363 echo pyramid-pyramid-sysv3
364 else
365 echo pyramid-pyramid-bsd
366 fi
367 exit ;;
400 case `(/bin/universe) 2>/dev/null` in
401 att) GUESS=pyramid-pyramid-sysv3 ;;
402 *) GUESS=pyramid-pyramid-bsd ;;
403 esac
404 ;;
368405 NILE*:*:*:dcosx)
369 echo pyramid-pyramid-svr4
370 exit ;;
406 GUESS=pyramid-pyramid-svr4
407 ;;
371408 DRS?6000:unix:4.0:6*)
372 echo sparc-icl-nx6
373 exit ;;
409 GUESS=sparc-icl-nx6
410 ;;
374411 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
375412 case `/usr/bin/uname -p` in
376 sparc) echo sparc-icl-nx7; exit ;;
377 esac ;;
413 sparc) GUESS=sparc-icl-nx7 ;;
414 esac
415 ;;
378416 s390x:SunOS:*:*)
379 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
380 exit ;;
417 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
418 GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
419 ;;
381420 sun4H:SunOS:5.*:*)
382 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
383 exit ;;
421 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
422 GUESS=sparc-hal-solaris2$SUN_REL
423 ;;
384424 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
385 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
386 exit ;;
425 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
426 GUESS=sparc-sun-solaris2$SUN_REL
427 ;;
387428 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
388 echo i386-pc-auroraux"$UNAME_RELEASE"
389 exit ;;
429 GUESS=i386-pc-auroraux$UNAME_RELEASE
430 ;;
390431 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
391 eval "$set_cc_for_build"
432 set_cc_for_build
392433 SUN_ARCH=i386
393434 # If there is a compiler, see if it is configured for 64-bit objects.
394435 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
395436 # This test works for both compilers.
396 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
437 if test "$CC_FOR_BUILD" != no_compiler_found; then
397438 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
398 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
439 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
399440 grep IS_64BIT_ARCH >/dev/null
400441 then
401442 SUN_ARCH=x86_64
402443 fi
403444 fi
404 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
405 exit ;;
445 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
446 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
447 ;;
406448 sun4*:SunOS:6*:*)
407449 # According to config.sub, this is the proper way to canonicalize
408450 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
409451 # it's likely to be more like Solaris than SunOS4.
410 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
411 exit ;;
452 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
453 GUESS=sparc-sun-solaris3$SUN_REL
454 ;;
412455 sun4*:SunOS:*:*)
413 case "`/usr/bin/arch -k`" in
456 case `/usr/bin/arch -k` in
414457 Series*|S4*)
415458 UNAME_RELEASE=`uname -v`
416459 ;;
417460 esac
418461 # Japanese Language versions have a version number like `4.1.3-JL'.
419 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
420 exit ;;
462 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
463 GUESS=sparc-sun-sunos$SUN_REL
464 ;;
421465 sun3*:SunOS:*:*)
422 echo m68k-sun-sunos"$UNAME_RELEASE"
423 exit ;;
466 GUESS=m68k-sun-sunos$UNAME_RELEASE
467 ;;
424468 sun*:*:4.2BSD:*)
425469 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
426470 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
427 case "`/bin/arch`" in
471 case `/bin/arch` in
428472 sun3)
429 echo m68k-sun-sunos"$UNAME_RELEASE"
473 GUESS=m68k-sun-sunos$UNAME_RELEASE
430474 ;;
431475 sun4)
432 echo sparc-sun-sunos"$UNAME_RELEASE"
476 GUESS=sparc-sun-sunos$UNAME_RELEASE
433477 ;;
434478 esac
435 exit ;;
479 ;;
436480 aushp:SunOS:*:*)
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
438 exit ;;
481 GUESS=sparc-auspex-sunos$UNAME_RELEASE
482 ;;
439483 # The situation for MiNT is a little confusing. The machine name
440484 # can be virtually everything (everything which is not
441485 # "atarist" or "atariste" at least should have a processor
445489 # MiNT. But MiNT is downward compatible to TOS, so this should
446490 # be no problem.
447491 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint"$UNAME_RELEASE"
449 exit ;;
492 GUESS=m68k-atari-mint$UNAME_RELEASE
493 ;;
450494 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
451 echo m68k-atari-mint"$UNAME_RELEASE"
452 exit ;;
495 GUESS=m68k-atari-mint$UNAME_RELEASE
496 ;;
453497 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
454 echo m68k-atari-mint"$UNAME_RELEASE"
455 exit ;;
498 GUESS=m68k-atari-mint$UNAME_RELEASE
499 ;;
456500 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
457 echo m68k-milan-mint"$UNAME_RELEASE"
458 exit ;;
501 GUESS=m68k-milan-mint$UNAME_RELEASE
502 ;;
459503 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
460 echo m68k-hades-mint"$UNAME_RELEASE"
461 exit ;;
504 GUESS=m68k-hades-mint$UNAME_RELEASE
505 ;;
462506 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
463 echo m68k-unknown-mint"$UNAME_RELEASE"
464 exit ;;
507 GUESS=m68k-unknown-mint$UNAME_RELEASE
508 ;;
465509 m68k:machten:*:*)
466 echo m68k-apple-machten"$UNAME_RELEASE"
467 exit ;;
510 GUESS=m68k-apple-machten$UNAME_RELEASE
511 ;;
468512 powerpc:machten:*:*)
469 echo powerpc-apple-machten"$UNAME_RELEASE"
470 exit ;;
513 GUESS=powerpc-apple-machten$UNAME_RELEASE
514 ;;
471515 RISC*:Mach:*:*)
472 echo mips-dec-mach_bsd4.3
473 exit ;;
516 GUESS=mips-dec-mach_bsd4.3
517 ;;
474518 RISC*:ULTRIX:*:*)
475 echo mips-dec-ultrix"$UNAME_RELEASE"
476 exit ;;
519 GUESS=mips-dec-ultrix$UNAME_RELEASE
520 ;;
477521 VAX*:ULTRIX*:*:*)
478 echo vax-dec-ultrix"$UNAME_RELEASE"
479 exit ;;
522 GUESS=vax-dec-ultrix$UNAME_RELEASE
523 ;;
480524 2020:CLIX:*:* | 2430:CLIX:*:*)
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
482 exit ;;
525 GUESS=clipper-intergraph-clix$UNAME_RELEASE
526 ;;
483527 mips:*:*:UMIPS | mips:*:*:RISCos)
484 eval "$set_cc_for_build"
528 set_cc_for_build
485529 sed 's/^ //' << EOF > "$dummy.c"
486530 #ifdef __cplusplus
487531 #include <stdio.h> /* for printf() prototype */
507551 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
508552 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
509553 { echo "$SYSTEM_NAME"; exit; }
510 echo mips-mips-riscos"$UNAME_RELEASE"
511 exit ;;
554 GUESS=mips-mips-riscos$UNAME_RELEASE
555 ;;
512556 Motorola:PowerMAX_OS:*:*)
513 echo powerpc-motorola-powermax
514 exit ;;
557 GUESS=powerpc-motorola-powermax
558 ;;
515559 Motorola:*:4.3:PL8-*)
516 echo powerpc-harris-powermax
517 exit ;;
560 GUESS=powerpc-harris-powermax
561 ;;
518562 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
519 echo powerpc-harris-powermax
520 exit ;;
563 GUESS=powerpc-harris-powermax
564 ;;
521565 Night_Hawk:Power_UNIX:*:*)
522 echo powerpc-harris-powerunix
523 exit ;;
566 GUESS=powerpc-harris-powerunix
567 ;;
524568 m88k:CX/UX:7*:*)
525 echo m88k-harris-cxux7
526 exit ;;
569 GUESS=m88k-harris-cxux7
570 ;;
527571 m88k:*:4*:R4*)
528 echo m88k-motorola-sysv4
529 exit ;;
572 GUESS=m88k-motorola-sysv4
573 ;;
530574 m88k:*:3*:R3*)
531 echo m88k-motorola-sysv3
532 exit ;;
575 GUESS=m88k-motorola-sysv3
576 ;;
533577 AViiON:dgux:*:*)
534578 # DG/UX returns AViiON for all architectures
535579 UNAME_PROCESSOR=`/usr/bin/uname -p`
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
580 if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
537581 then
538 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
539 [ "$TARGET_BINARY_INTERFACE"x = x ]
582 if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
583 test "$TARGET_BINARY_INTERFACE"x = x
540584 then
541 echo m88k-dg-dgux"$UNAME_RELEASE"
585 GUESS=m88k-dg-dgux$UNAME_RELEASE
542586 else
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
587 GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
544588 fi
545589 else
546 echo i586-dg-dgux"$UNAME_RELEASE"
547 fi
548 exit ;;
590 GUESS=i586-dg-dgux$UNAME_RELEASE
591 fi
592 ;;
549593 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
550 echo m88k-dolphin-sysv3
551 exit ;;
594 GUESS=m88k-dolphin-sysv3
595 ;;
552596 M88*:*:R3*:*)
553597 # Delta 88k system running SVR3
554 echo m88k-motorola-sysv3
555 exit ;;
598 GUESS=m88k-motorola-sysv3
599 ;;
556600 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
557 echo m88k-tektronix-sysv3
558 exit ;;
601 GUESS=m88k-tektronix-sysv3
602 ;;
559603 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
560 echo m68k-tektronix-bsd
561 exit ;;
604 GUESS=m68k-tektronix-bsd
605 ;;
562606 *:IRIX*:*:*)
563 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
564 exit ;;
607 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
608 GUESS=mips-sgi-irix$IRIX_REL
609 ;;
565610 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
566 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
567 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 '
568613 i*86:AIX:*:*)
569 echo i386-ibm-aix
570 exit ;;
614 GUESS=i386-ibm-aix
615 ;;
571616 ia64:AIX:*:*)
572 if [ -x /usr/bin/oslevel ] ; then
617 if test -x /usr/bin/oslevel ; then
573618 IBM_REV=`/usr/bin/oslevel`
574619 else
575 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
576 fi
577 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
578 exit ;;
620 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
621 fi
622 GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
623 ;;
579624 *:AIX:2:3)
580625 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
581 eval "$set_cc_for_build"
626 set_cc_for_build
582627 sed 's/^ //' << EOF > "$dummy.c"
583628 #include <sys/systemcfg.h>
584629
592637 EOF
593638 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
594639 then
595 echo "$SYSTEM_NAME"
640 GUESS=$SYSTEM_NAME
596641 else
597 echo rs6000-ibm-aix3.2.5
642 GUESS=rs6000-ibm-aix3.2.5
598643 fi
599644 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
600 echo rs6000-ibm-aix3.2.4
645 GUESS=rs6000-ibm-aix3.2.4
601646 else
602 echo rs6000-ibm-aix3.2
603 fi
604 exit ;;
647 GUESS=rs6000-ibm-aix3.2
648 fi
649 ;;
605650 *:AIX:*:[4567])
606651 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
607652 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
609654 else
610655 IBM_ARCH=powerpc
611656 fi
612 if [ -x /usr/bin/lslpp ] ; then
613 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 | \
614659 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
615660 else
616 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
617 fi
618 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
619 exit ;;
661 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
662 fi
663 GUESS=$IBM_ARCH-ibm-aix$IBM_REV
664 ;;
620665 *:AIX:*:*)
621 echo rs6000-ibm-aix
622 exit ;;
666 GUESS=rs6000-ibm-aix
667 ;;
623668 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
624 echo romp-ibm-bsd4.4
625 exit ;;
669 GUESS=romp-ibm-bsd4.4
670 ;;
626671 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
627 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
628 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
629674 *:BOSX:*:*)
630 echo rs6000-bull-bosx
631 exit ;;
675 GUESS=rs6000-bull-bosx
676 ;;
632677 DPX/2?00:B.O.S.:*:*)
633 echo m68k-bull-sysv3
634 exit ;;
678 GUESS=m68k-bull-sysv3
679 ;;
635680 9000/[34]??:4.3bsd:1.*:*)
636 echo m68k-hp-bsd
637 exit ;;
681 GUESS=m68k-hp-bsd
682 ;;
638683 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
639 echo m68k-hp-bsd4.4
640 exit ;;
684 GUESS=m68k-hp-bsd4.4
685 ;;
641686 9000/[34678]??:HP-UX:*:*)
642 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
643 case "$UNAME_MACHINE" in
687 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
688 case $UNAME_MACHINE in
644689 9000/31?) HP_ARCH=m68000 ;;
645690 9000/[34]??) HP_ARCH=m68k ;;
646691 9000/[678][0-9][0-9])
647 if [ -x /usr/bin/getconf ]; then
692 if test -x /usr/bin/getconf; then
648693 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
649694 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
650 case "$sc_cpu_version" in
695 case $sc_cpu_version in
651696 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652697 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
653698 532) # CPU_PA_RISC2_0
654 case "$sc_kernel_bits" in
699 case $sc_kernel_bits in
655700 32) HP_ARCH=hppa2.0n ;;
656701 64) HP_ARCH=hppa2.0w ;;
657702 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
658703 esac ;;
659704 esac
660705 fi
661 if [ "$HP_ARCH" = "" ]; then
662 eval "$set_cc_for_build"
706 if test "$HP_ARCH" = ""; then
707 set_cc_for_build
663708 sed 's/^ //' << EOF > "$dummy.c"
664709
665710 #define _HPUX_SOURCE
697742 test -z "$HP_ARCH" && HP_ARCH=hppa
698743 fi ;;
699744 esac
700 if [ "$HP_ARCH" = hppa2.0w ]
745 if test "$HP_ARCH" = hppa2.0w
701746 then
702 eval "$set_cc_for_build"
747 set_cc_for_build
703748
704749 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
705750 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
718763 HP_ARCH=hppa64
719764 fi
720765 fi
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
722 exit ;;
766 GUESS=$HP_ARCH-hp-hpux$HPUX_REV
767 ;;
723768 ia64:HP-UX:*:*)
724 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
725 echo ia64-hp-hpux"$HPUX_REV"
726 exit ;;
769 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
770 GUESS=ia64-hp-hpux$HPUX_REV
771 ;;
727772 3050*:HI-UX:*:*)
728 eval "$set_cc_for_build"
773 set_cc_for_build
729774 sed 's/^ //' << EOF > "$dummy.c"
730775 #include <unistd.h>
731776 int
753798 EOF
754799 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
755800 { echo "$SYSTEM_NAME"; exit; }
756 echo unknown-hitachi-hiuxwe2
757 exit ;;
801 GUESS=unknown-hitachi-hiuxwe2
802 ;;
758803 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
759 echo hppa1.1-hp-bsd
760 exit ;;
804 GUESS=hppa1.1-hp-bsd
805 ;;
761806 9000/8??:4.3bsd:*:*)
762 echo hppa1.0-hp-bsd
763 exit ;;
807 GUESS=hppa1.0-hp-bsd
808 ;;
764809 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
765 echo hppa1.0-hp-mpeix
766 exit ;;
810 GUESS=hppa1.0-hp-mpeix
811 ;;
767812 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
768 echo hppa1.1-hp-osf
769 exit ;;
813 GUESS=hppa1.1-hp-osf
814 ;;
770815 hp8??:OSF1:*:*)
771 echo hppa1.0-hp-osf
772 exit ;;
816 GUESS=hppa1.0-hp-osf
817 ;;
773818 i*86:OSF1:*:*)
774 if [ -x /usr/sbin/sysversion ] ; then
775 echo "$UNAME_MACHINE"-unknown-osf1mk
819 if test -x /usr/sbin/sysversion ; then
820 GUESS=$UNAME_MACHINE-unknown-osf1mk
776821 else
777 echo "$UNAME_MACHINE"-unknown-osf1
778 fi
779 exit ;;
822 GUESS=$UNAME_MACHINE-unknown-osf1
823 fi
824 ;;
780825 parisc*:Lites*:*:*)
781 echo hppa1.1-hp-lites
782 exit ;;
826 GUESS=hppa1.1-hp-lites
827 ;;
783828 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
784 echo c1-convex-bsd
785 exit ;;
829 GUESS=c1-convex-bsd
830 ;;
786831 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
787832 if getsysinfo -f scalar_acc
788833 then echo c32-convex-bsd
790835 fi
791836 exit ;;
792837 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
793 echo c34-convex-bsd
794 exit ;;
838 GUESS=c34-convex-bsd
839 ;;
795840 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
796 echo c38-convex-bsd
797 exit ;;
841 GUESS=c38-convex-bsd
842 ;;
798843 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
799 echo c4-convex-bsd
800 exit ;;
844 GUESS=c4-convex-bsd
845 ;;
801846 CRAY*Y-MP:*:*:*)
802 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
803 exit ;;
847 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
848 GUESS=ymp-cray-unicos$CRAY_REL
849 ;;
804850 CRAY*[A-Z]90:*:*:*)
805851 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
806852 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
808854 -e 's/\.[^.]*$/.X/'
809855 exit ;;
810856 CRAY*TS:*:*:*)
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
812 exit ;;
857 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
858 GUESS=t90-cray-unicos$CRAY_REL
859 ;;
813860 CRAY*T3E:*:*:*)
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
815 exit ;;
861 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
862 GUESS=alphaev5-cray-unicosmk$CRAY_REL
863 ;;
816864 CRAY*SV1:*:*:*)
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
818 exit ;;
865 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
866 GUESS=sv1-cray-unicos$CRAY_REL
867 ;;
819868 *:UNICOS/mp:*:*)
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
821 exit ;;
869 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 GUESS=craynv-cray-unicosmp$CRAY_REL
871 ;;
822872 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
823873 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824874 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
825875 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
826 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
827 exit ;;
876 GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
877 ;;
828878 5000:UNIX_System_V:4.*:*)
829879 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
830880 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
831 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
832 exit ;;
881 GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
882 ;;
833883 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
834 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
835 exit ;;
884 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
885 ;;
836886 sparc*:BSD/OS:*:*)
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
838 exit ;;
887 GUESS=sparc-unknown-bsdi$UNAME_RELEASE
888 ;;
839889 *:BSD/OS:*:*)
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
841 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 ;;
842905 *:FreeBSD:*:*)
843906 UNAME_PROCESSOR=`/usr/bin/uname -p`
844 case "$UNAME_PROCESSOR" in
907 case $UNAME_PROCESSOR in
845908 amd64)
846909 UNAME_PROCESSOR=x86_64 ;;
847910 i386)
848911 UNAME_PROCESSOR=i586 ;;
849912 esac
850 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
851 exit ;;
913 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
914 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
915 ;;
852916 i*:CYGWIN*:*)
853 echo "$UNAME_MACHINE"-pc-cygwin
854 exit ;;
917 GUESS=$UNAME_MACHINE-pc-cygwin
918 ;;
855919 *:MINGW64*:*)
856 echo "$UNAME_MACHINE"-pc-mingw64
857 exit ;;
920 GUESS=$UNAME_MACHINE-pc-mingw64
921 ;;
858922 *:MINGW*:*)
859 echo "$UNAME_MACHINE"-pc-mingw32
860 exit ;;
923 GUESS=$UNAME_MACHINE-pc-mingw32
924 ;;
861925 *:MSYS*:*)
862 echo "$UNAME_MACHINE"-pc-msys
863 exit ;;
926 GUESS=$UNAME_MACHINE-pc-msys
927 ;;
864928 i*:PW*:*)
865 echo "$UNAME_MACHINE"-pc-pw32
866 exit ;;
929 GUESS=$UNAME_MACHINE-pc-pw32
930 ;;
931 *:SerenityOS:*:*)
932 GUESS=$UNAME_MACHINE-pc-serenity
933 ;;
867934 *:Interix*:*)
868 case "$UNAME_MACHINE" in
935 case $UNAME_MACHINE in
869936 x86)
870 echo i586-pc-interix"$UNAME_RELEASE"
871 exit ;;
937 GUESS=i586-pc-interix$UNAME_RELEASE
938 ;;
872939 authenticamd | genuineintel | EM64T)
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
874 exit ;;
940 GUESS=x86_64-unknown-interix$UNAME_RELEASE
941 ;;
875942 IA64)
876 echo ia64-unknown-interix"$UNAME_RELEASE"
877 exit ;;
943 GUESS=ia64-unknown-interix$UNAME_RELEASE
944 ;;
878945 esac ;;
879946 i*:UWIN*:*)
880 echo "$UNAME_MACHINE"-pc-uwin
881 exit ;;
947 GUESS=$UNAME_MACHINE-pc-uwin
948 ;;
882949 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
883 echo x86_64-unknown-cygwin
884 exit ;;
950 GUESS=x86_64-pc-cygwin
951 ;;
885952 prep*:SunOS:5.*:*)
886 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
887 exit ;;
953 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
954 GUESS=powerpcle-unknown-solaris2$SUN_REL
955 ;;
888956 *:GNU:*:*)
889957 # the GNU system
890 echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
891 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 ;;
892962 *:GNU/*:*:*)
893963 # other systems with GNU libc and userland
894 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
895 exit ;;
896 i*86:Minix:*:*)
897 echo "$UNAME_MACHINE"-pc-minix
898 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 ;;
899971 aarch64:Linux:*:*)
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
901 exit ;;
972 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
973 ;;
902974 aarch64_be:Linux:*:*)
903975 UNAME_MACHINE=aarch64_be
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
905 exit ;;
976 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
977 ;;
906978 alpha:Linux:*:*)
907 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
908980 EV5) UNAME_MACHINE=alphaev5 ;;
909981 EV56) UNAME_MACHINE=alphaev56 ;;
910982 PCA56) UNAME_MACHINE=alphapca56 ;;
915987 esac
916988 objdump --private-headers /bin/sh | grep -q ld.so.1
917989 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
919 exit ;;
920 arc:Linux:*:* | arceb:Linux:*:*)
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
922 exit ;;
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 ;;
923995 arm*:Linux:*:*)
924 eval "$set_cc_for_build"
996 set_cc_for_build
925997 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
926998 | grep -q __ARM_EABI__
927999 then
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1000 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
9291001 else
9301002 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
9311003 | grep -q __ARM_PCS_VFP
9321004 then
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
1005 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
9341006 else
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
1007 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
9361008 fi
9371009 fi
938 exit ;;
1010 ;;
9391011 avr32*:Linux:*:*)
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
941 exit ;;
1012 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1013 ;;
9421014 cris:Linux:*:*)
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
944 exit ;;
1015 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1016 ;;
9451017 crisv32:Linux:*:*)
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
947 exit ;;
1018 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1019 ;;
9481020 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
950 exit ;;
1021 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1022 ;;
9511023 frv:Linux:*:*)
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
953 exit ;;
1024 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1025 ;;
9541026 hexagon:Linux:*:*)
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
956 exit ;;
1027 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1028 ;;
9571029 i*86:Linux:*:*)
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
959 exit ;;
1030 GUESS=$UNAME_MACHINE-pc-linux-$LIBC
1031 ;;
9601032 ia64:Linux:*:*)
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
962 exit ;;
1033 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1034 ;;
9631035 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
965 exit ;;
1036 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1037 ;;
1038 loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
1039 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1040 ;;
9661041 m32r*:Linux:*:*)
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
968 exit ;;
1042 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1043 ;;
9691044 m68*:Linux:*:*)
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
971 exit ;;
1045 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1046 ;;
9721047 mips:Linux:*:* | mips64:Linux:*:*)
973 eval "$set_cc_for_build"
1048 set_cc_for_build
1049 IS_GLIBC=0
1050 test x"${LIBC}" = xgnu && IS_GLIBC=1
9741051 sed 's/^ //' << EOF > "$dummy.c"
9751052 #undef CPU
976 #undef ${UNAME_MACHINE}
977 #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
9781081 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
979 CPU=${UNAME_MACHINE}el
1082 MIPS_ENDIAN=el
9801083 #else
9811084 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
982 CPU=${UNAME_MACHINE}
1085 MIPS_ENDIAN=
9831086 #else
984 CPU=
1087 MIPS_ENDIAN=
9851088 #endif
9861089 #endif
9871090 EOF
988 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
989 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; }
9901094 ;;
9911095 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
993 exit ;;
1096 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1097 ;;
9941098 openrisc*:Linux:*:*)
995 echo or1k-unknown-linux-"$LIBC"
996 exit ;;
1099 GUESS=or1k-unknown-linux-$LIBC
1100 ;;
9971101 or32:Linux:*:* | or1k*:Linux:*:*)
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
999 exit ;;
1102 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1103 ;;
10001104 padre:Linux:*:*)
1001 echo sparc-unknown-linux-"$LIBC"
1002 exit ;;
1105 GUESS=sparc-unknown-linux-$LIBC
1106 ;;
10031107 parisc64:Linux:*:* | hppa64:Linux:*:*)
1004 echo hppa64-unknown-linux-"$LIBC"
1005 exit ;;
1108 GUESS=hppa64-unknown-linux-$LIBC
1109 ;;
10061110 parisc:Linux:*:* | hppa:Linux:*:*)
10071111 # Look for CPU level
10081112 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1009 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1010 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1011 *) 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 ;;
10121116 esac
1013 exit ;;
1117 ;;
10141118 ppc64:Linux:*:*)
1015 echo powerpc64-unknown-linux-"$LIBC"
1016 exit ;;
1119 GUESS=powerpc64-unknown-linux-$LIBC
1120 ;;
10171121 ppc:Linux:*:*)
1018 echo powerpc-unknown-linux-"$LIBC"
1019 exit ;;
1122 GUESS=powerpc-unknown-linux-$LIBC
1123 ;;
10201124 ppc64le:Linux:*:*)
1021 echo powerpc64le-unknown-linux-"$LIBC"
1022 exit ;;
1125 GUESS=powerpc64le-unknown-linux-$LIBC
1126 ;;
10231127 ppcle:Linux:*:*)
1024 echo powerpcle-unknown-linux-"$LIBC"
1025 exit ;;
1026 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1028 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 ;;
10291133 s390:Linux:*:* | s390x:Linux:*:*)
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1031 exit ;;
1134 GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
1135 ;;
10321136 sh64*:Linux:*:*)
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1034 exit ;;
1137 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1138 ;;
10351139 sh*:Linux:*:*)
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1037 exit ;;
1140 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1141 ;;
10381142 sparc:Linux:*:* | sparc64:Linux:*:*)
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1040 exit ;;
1143 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1144 ;;
10411145 tile*:Linux:*:*)
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1043 exit ;;
1146 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1147 ;;
10441148 vax:Linux:*:*)
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1046 exit ;;
1149 GUESS=$UNAME_MACHINE-dec-linux-$LIBC
1150 ;;
10471151 x86_64:Linux:*:*)
1048 if objdump -f /bin/sh | grep -q elf32-x86-64; then
1049 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
1050 else
1051 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1052 fi
1053 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 ;;
10541164 xtensa*:Linux:*:*)
1055 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1056 exit ;;
1165 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1166 ;;
10571167 i*86:DYNIX/ptx:4*:*)
10581168 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10591169 # earlier versions are messed up and put the nodename in both
10601170 # sysname and nodename.
1061 echo i386-sequent-sysv4
1062 exit ;;
1171 GUESS=i386-sequent-sysv4
1172 ;;
10631173 i*86:UNIX_SV:4.2MP:2.*)
10641174 # Unixware is an offshoot of SVR4, but it has its own version
10651175 # number series starting with 2...
10661176 # I am not positive that other SVR4 systems won't match this,
10671177 # I just have to hope. -- rms.
10681178 # Use sysv4.2uw... so that sysv4* matches it.
1069 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
1070 exit ;;
1179 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
1180 ;;
10711181 i*86:OS/2:*:*)
10721182 # If we were able to find `uname', then EMX Unix compatibility
10731183 # is probably installed.
1074 echo "$UNAME_MACHINE"-pc-os2-emx
1075 exit ;;
1184 GUESS=$UNAME_MACHINE-pc-os2-emx
1185 ;;
10761186 i*86:XTS-300:*:STOP)
1077 echo "$UNAME_MACHINE"-unknown-stop
1078 exit ;;
1187 GUESS=$UNAME_MACHINE-unknown-stop
1188 ;;
10791189 i*86:atheos:*:*)
1080 echo "$UNAME_MACHINE"-unknown-atheos
1081 exit ;;
1190 GUESS=$UNAME_MACHINE-unknown-atheos
1191 ;;
10821192 i*86:syllable:*:*)
1083 echo "$UNAME_MACHINE"-pc-syllable
1084 exit ;;
1193 GUESS=$UNAME_MACHINE-pc-syllable
1194 ;;
10851195 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1086 echo i386-unknown-lynxos"$UNAME_RELEASE"
1087 exit ;;
1196 GUESS=i386-unknown-lynxos$UNAME_RELEASE
1197 ;;
10881198 i*86:*DOS:*:*)
1089 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1090 exit ;;
1199 GUESS=$UNAME_MACHINE-pc-msdosdjgpp
1200 ;;
10911201 i*86:*:4.*:*)
10921202 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10931203 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1094 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
1204 GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
10951205 else
1096 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1097 fi
1098 exit ;;
1206 GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
1207 fi
1208 ;;
10991209 i*86:*:5:[678]*)
11001210 # UnixWare 7.x, OpenUNIX and OpenServer 6.
11011211 case `/bin/uname -X | grep "^Machine"` in
11031213 *Pentium) UNAME_MACHINE=i586 ;;
11041214 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
11051215 esac
1106 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
1107 exit ;;
1216 GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1217 ;;
11081218 i*86:*:3.2:*)
11091219 if test -f /usr/options/cb.name; then
11101220 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1111 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
1221 GUESS=$UNAME_MACHINE-pc-isc$UNAME_REL
11121222 elif /bin/uname -X 2>/dev/null >/dev/null ; then
11131223 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
11141224 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
11181228 && UNAME_MACHINE=i686
11191229 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
11201230 && UNAME_MACHINE=i686
1121 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1231 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
11221232 else
1123 echo "$UNAME_MACHINE"-pc-sysv32
1124 fi
1125 exit ;;
1233 GUESS=$UNAME_MACHINE-pc-sysv32
1234 fi
1235 ;;
11261236 pc:*:*:*)
11271237 # Left here for compatibility:
11281238 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11301240 # Note: whatever this is, it MUST be the same as what config.sub
11311241 # prints for the "djgpp" host, or else GDB configure will decide that
11321242 # this is a cross-build.
1133 echo i586-pc-msdosdjgpp
1134 exit ;;
1243 GUESS=i586-pc-msdosdjgpp
1244 ;;
11351245 Intel:Mach:3*:*)
1136 echo i386-pc-mach3
1137 exit ;;
1246 GUESS=i386-pc-mach3
1247 ;;
11381248 paragon:*:*:*)
1139 echo i860-intel-osf1
1140 exit ;;
1249 GUESS=i860-intel-osf1
1250 ;;
11411251 i860:*:4.*:*) # i860-SVR4
11421252 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1143 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
1253 GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
11441254 else # Add other i860-SVR4 vendors below as they are discovered.
1145 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
1146 fi
1147 exit ;;
1255 GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
1256 fi
1257 ;;
11481258 mini*:CTIX:SYS*5:*)
11491259 # "miniframe"
1150 echo m68010-convergent-sysv
1151 exit ;;
1260 GUESS=m68010-convergent-sysv
1261 ;;
11521262 mc68k:UNIX:SYSTEM5:3.51m)
1153 echo m68k-convergent-sysv
1154 exit ;;
1263 GUESS=m68k-convergent-sysv
1264 ;;
11551265 M680?0:D-NIX:5.3:*)
1156 echo m68k-diab-dnix
1157 exit ;;
1266 GUESS=m68k-diab-dnix
1267 ;;
11581268 M68*:*:R3V[5678]*:*)
11591269 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
11601270 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)
11791289 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
11801290 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11811291 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1182 echo m68k-unknown-lynxos"$UNAME_RELEASE"
1183 exit ;;
1292 GUESS=m68k-unknown-lynxos$UNAME_RELEASE
1293 ;;
11841294 mc68030:UNIX_System_V:4.*:*)
1185 echo m68k-atari-sysv4
1186 exit ;;
1295 GUESS=m68k-atari-sysv4
1296 ;;
11871297 TSUNAMI:LynxOS:2.*:*)
1188 echo sparc-unknown-lynxos"$UNAME_RELEASE"
1189 exit ;;
1298 GUESS=sparc-unknown-lynxos$UNAME_RELEASE
1299 ;;
11901300 rs6000:LynxOS:2.*:*)
1191 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1192 exit ;;
1301 GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
1302 ;;
11931303 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1194 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
1195 exit ;;
1304 GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
1305 ;;
11961306 SM[BE]S:UNIX_SV:*:*)
1197 echo mips-dde-sysv"$UNAME_RELEASE"
1198 exit ;;
1307 GUESS=mips-dde-sysv$UNAME_RELEASE
1308 ;;
11991309 RM*:ReliantUNIX-*:*:*)
1200 echo mips-sni-sysv4
1201 exit ;;
1310 GUESS=mips-sni-sysv4
1311 ;;
12021312 RM*:SINIX-*:*:*)
1203 echo mips-sni-sysv4
1204 exit ;;
1313 GUESS=mips-sni-sysv4
1314 ;;
12051315 *:SINIX-*:*:*)
12061316 if uname -p 2>/dev/null >/dev/null ; then
12071317 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1208 echo "$UNAME_MACHINE"-sni-sysv4
1318 GUESS=$UNAME_MACHINE-sni-sysv4
12091319 else
1210 echo ns32k-sni-sysv
1211 fi
1212 exit ;;
1320 GUESS=ns32k-sni-sysv
1321 fi
1322 ;;
12131323 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
12141324 # says <Richard.M.Bartel@ccMail.Census.GOV>
1215 echo i586-unisys-sysv4
1216 exit ;;
1325 GUESS=i586-unisys-sysv4
1326 ;;
12171327 *:UNIX_System_V:4*:FTX*)
12181328 # From Gerald Hewes <hewes@openmarket.com>.
12191329 # How about differentiating between stratus architectures? -djm
1220 echo hppa1.1-stratus-sysv4
1221 exit ;;
1330 GUESS=hppa1.1-stratus-sysv4
1331 ;;
12221332 *:*:*:FTX*)
12231333 # From seanf@swdc.stratus.com.
1224 echo i860-stratus-sysv4
1225 exit ;;
1334 GUESS=i860-stratus-sysv4
1335 ;;
12261336 i*86:VOS:*:*)
12271337 # From Paul.Green@stratus.com.
1228 echo "$UNAME_MACHINE"-stratus-vos
1229 exit ;;
1338 GUESS=$UNAME_MACHINE-stratus-vos
1339 ;;
12301340 *:VOS:*:*)
12311341 # From Paul.Green@stratus.com.
1232 echo hppa1.1-stratus-vos
1233 exit ;;
1342 GUESS=hppa1.1-stratus-vos
1343 ;;
12341344 mc68*:A/UX:*:*)
1235 echo m68k-apple-aux"$UNAME_RELEASE"
1236 exit ;;
1345 GUESS=m68k-apple-aux$UNAME_RELEASE
1346 ;;
12371347 news*:NEWS-OS:6*:*)
1238 echo mips-sony-newsos6
1239 exit ;;
1348 GUESS=mips-sony-newsos6
1349 ;;
12401350 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1241 if [ -d /usr/nec ]; then
1242 echo mips-nec-sysv"$UNAME_RELEASE"
1351 if test -d /usr/nec; then
1352 GUESS=mips-nec-sysv$UNAME_RELEASE
12431353 else
1244 echo mips-unknown-sysv"$UNAME_RELEASE"
1245 fi
1246 exit ;;
1354 GUESS=mips-unknown-sysv$UNAME_RELEASE
1355 fi
1356 ;;
12471357 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1248 echo powerpc-be-beos
1249 exit ;;
1358 GUESS=powerpc-be-beos
1359 ;;
12501360 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1251 echo powerpc-apple-beos
1252 exit ;;
1361 GUESS=powerpc-apple-beos
1362 ;;
12531363 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1254 echo i586-pc-beos
1255 exit ;;
1364 GUESS=i586-pc-beos
1365 ;;
12561366 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1257 echo i586-pc-haiku
1258 exit ;;
1367 GUESS=i586-pc-haiku
1368 ;;
12591369 x86_64:Haiku:*:*)
1260 echo x86_64-unknown-haiku
1261 exit ;;
1370 GUESS=x86_64-unknown-haiku
1371 ;;
12621372 SX-4:SUPER-UX:*:*)
1263 echo sx4-nec-superux"$UNAME_RELEASE"
1264 exit ;;
1373 GUESS=sx4-nec-superux$UNAME_RELEASE
1374 ;;
12651375 SX-5:SUPER-UX:*:*)
1266 echo sx5-nec-superux"$UNAME_RELEASE"
1267 exit ;;
1376 GUESS=sx5-nec-superux$UNAME_RELEASE
1377 ;;
12681378 SX-6:SUPER-UX:*:*)
1269 echo sx6-nec-superux"$UNAME_RELEASE"
1270 exit ;;
1379 GUESS=sx6-nec-superux$UNAME_RELEASE
1380 ;;
12711381 SX-7:SUPER-UX:*:*)
1272 echo sx7-nec-superux"$UNAME_RELEASE"
1273 exit ;;
1382 GUESS=sx7-nec-superux$UNAME_RELEASE
1383 ;;
12741384 SX-8:SUPER-UX:*:*)
1275 echo sx8-nec-superux"$UNAME_RELEASE"
1276 exit ;;
1385 GUESS=sx8-nec-superux$UNAME_RELEASE
1386 ;;
12771387 SX-8R:SUPER-UX:*:*)
1278 echo sx8r-nec-superux"$UNAME_RELEASE"
1279 exit ;;
1388 GUESS=sx8r-nec-superux$UNAME_RELEASE
1389 ;;
12801390 SX-ACE:SUPER-UX:*:*)
1281 echo sxace-nec-superux"$UNAME_RELEASE"
1282 exit ;;
1391 GUESS=sxace-nec-superux$UNAME_RELEASE
1392 ;;
12831393 Power*:Rhapsody:*:*)
1284 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1285 exit ;;
1394 GUESS=powerpc-apple-rhapsody$UNAME_RELEASE
1395 ;;
12861396 *:Rhapsody:*:*)
1287 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1288 exit ;;
1397 GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE
1398 ;;
1399 arm64:Darwin:*:*)
1400 GUESS=aarch64-apple-darwin$UNAME_RELEASE
1401 ;;
12891402 *:Darwin:*:*)
1290 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1291 eval "$set_cc_for_build"
1292 if test "$UNAME_PROCESSOR" = unknown ; then
1293 UNAME_PROCESSOR=powerpc
1294 fi
1295 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1296 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1297 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1298 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1299 grep IS_64BIT_ARCH >/dev/null
1300 then
1301 case $UNAME_PROCESSOR in
1302 i386) UNAME_PROCESSOR=x86_64 ;;
1303 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1304 esac
1305 fi
1306 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1307 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1308 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1309 grep IS_PPC >/dev/null
1310 then
1311 UNAME_PROCESSOR=powerpc
1312 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
13131432 fi
13141433 elif test "$UNAME_PROCESSOR" = i386 ; then
1315 # Avoid executing cc on OS X 10.9, as it ships with a stub
1316 # that puts up a graphical alert prompting to install
1317 # developer tools. Any system running Mac OS X 10.7 or
1318 # later (Darwin 11 and later) is required to have a 64-bit
1319 # processor. This is not true of the ARM version of Darwin
1320 # that Apple uses in portable devices.
1321 UNAME_PROCESSOR=x86_64
1322 fi
1323 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1324 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 ;;
13251439 *:procnto*:*:* | *:QNX:[0123456789]*:*)
13261440 UNAME_PROCESSOR=`uname -p`
13271441 if test "$UNAME_PROCESSOR" = x86; then
13281442 UNAME_PROCESSOR=i386
13291443 UNAME_MACHINE=pc
13301444 fi
1331 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1332 exit ;;
1445 GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE
1446 ;;
13331447 *:QNX:*:4*)
1334 echo i386-pc-qnx
1335 exit ;;
1448 GUESS=i386-pc-qnx
1449 ;;
13361450 NEO-*:NONSTOP_KERNEL:*:*)
1337 echo neo-tandem-nsk"$UNAME_RELEASE"
1338 exit ;;
1451 GUESS=neo-tandem-nsk$UNAME_RELEASE
1452 ;;
13391453 NSE-*:NONSTOP_KERNEL:*:*)
1340 echo nse-tandem-nsk"$UNAME_RELEASE"
1341 exit ;;
1454 GUESS=nse-tandem-nsk$UNAME_RELEASE
1455 ;;
13421456 NSR-*:NONSTOP_KERNEL:*:*)
1343 echo nsr-tandem-nsk"$UNAME_RELEASE"
1344 exit ;;
1457 GUESS=nsr-tandem-nsk$UNAME_RELEASE
1458 ;;
13451459 NSV-*:NONSTOP_KERNEL:*:*)
1346 echo nsv-tandem-nsk"$UNAME_RELEASE"
1347 exit ;;
1460 GUESS=nsv-tandem-nsk$UNAME_RELEASE
1461 ;;
13481462 NSX-*:NONSTOP_KERNEL:*:*)
1349 echo nsx-tandem-nsk"$UNAME_RELEASE"
1350 exit ;;
1463 GUESS=nsx-tandem-nsk$UNAME_RELEASE
1464 ;;
13511465 *:NonStop-UX:*:*)
1352 echo mips-compaq-nonstopux
1353 exit ;;
1466 GUESS=mips-compaq-nonstopux
1467 ;;
13541468 BS2000:POSIX*:*:*)
1355 echo bs2000-siemens-sysv
1356 exit ;;
1469 GUESS=bs2000-siemens-sysv
1470 ;;
13571471 DS/*:UNIX_System_V:*:*)
1358 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1359 exit ;;
1472 GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE
1473 ;;
13601474 *:Plan9:*:*)
13611475 # "uname -m" is not consistent, so use $cputype instead. 386
13621476 # is converted to i386 for consistency with other x86
13631477 # operating systems.
1364 if test "$cputype" = 386; then
1478 if test "${cputype-}" = 386; then
13651479 UNAME_MACHINE=i386
1366 else
1367 UNAME_MACHINE="$cputype"
1368 fi
1369 echo "$UNAME_MACHINE"-unknown-plan9
1370 exit ;;
1480 elif test "x${cputype-}" != x; then
1481 UNAME_MACHINE=$cputype
1482 fi
1483 GUESS=$UNAME_MACHINE-unknown-plan9
1484 ;;
13711485 *:TOPS-10:*:*)
1372 echo pdp10-unknown-tops10
1373 exit ;;
1486 GUESS=pdp10-unknown-tops10
1487 ;;
13741488 *:TENEX:*:*)
1375 echo pdp10-unknown-tenex
1376 exit ;;
1489 GUESS=pdp10-unknown-tenex
1490 ;;
13771491 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1378 echo pdp10-dec-tops20
1379 exit ;;
1492 GUESS=pdp10-dec-tops20
1493 ;;
13801494 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1381 echo pdp10-xkl-tops20
1382 exit ;;
1495 GUESS=pdp10-xkl-tops20
1496 ;;
13831497 *:TOPS-20:*:*)
1384 echo pdp10-unknown-tops20
1385 exit ;;
1498 GUESS=pdp10-unknown-tops20
1499 ;;
13861500 *:ITS:*:*)
1387 echo pdp10-unknown-its
1388 exit ;;
1501 GUESS=pdp10-unknown-its
1502 ;;
13891503 SEI:*:*:SEIUX)
1390 echo mips-sei-seiux"$UNAME_RELEASE"
1391 exit ;;
1504 GUESS=mips-sei-seiux$UNAME_RELEASE
1505 ;;
13921506 *:DragonFly:*:*)
1393 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
1394 exit ;;
1507 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1508 GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL
1509 ;;
13951510 *:*VMS:*:*)
13961511 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1397 case "$UNAME_MACHINE" in
1398 A*) echo alpha-dec-vms ; exit ;;
1399 I*) echo ia64-dec-vms ; exit ;;
1400 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 ;;
14011516 esac ;;
14021517 *:XENIX:*:SysV)
1403 echo i386-pc-xenix
1404 exit ;;
1518 GUESS=i386-pc-xenix
1519 ;;
14051520 i*86:skyos:*:*)
1406 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
1407 exit ;;
1521 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`
1522 GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL
1523 ;;
14081524 i*86:rdos:*:*)
1409 echo "$UNAME_MACHINE"-pc-rdos
1410 exit ;;
1411 i*86:AROS:*:*)
1412 echo "$UNAME_MACHINE"-pc-aros
1413 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 ;;
14141533 x86_64:VMkernel:*:*)
1415 echo "$UNAME_MACHINE"-unknown-esx
1416 exit ;;
1534 GUESS=$UNAME_MACHINE-unknown-esx
1535 ;;
14171536 amd64:Isilon\ OneFS:*:*)
1418 echo x86_64-unknown-onefs
1419 exit ;;
1537 GUESS=x86_64-unknown-onefs
1538 ;;
1539 *:Unleashed:*:*)
1540 GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
1541 ;;
14201542 esac
14211543
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
14221687 echo "$0: unable to guess system type" >&2
14231688
1424 case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1689 case $UNAME_MACHINE:$UNAME_SYSTEM in
14251690 mips:Linux | mips64:Linux)
14261691 # If we got here on MIPS GNU/Linux, output extra information.
14271692 cat >&2 <<EOF
14381703 operating system you are using. If your script is old, overwrite *all*
14391704 copies of config.guess and config.sub with the latest versions from:
14401705
1441 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1706 https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
14421707 and
1443 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
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
14441717
14451718 If $0 has already been updated, send the following data and any
14461719 information you think might be pertinent to config-patches@gnu.org to
14681741 UNAME_SYSTEM = "$UNAME_SYSTEM"
14691742 UNAME_VERSION = "$UNAME_VERSION"
14701743 EOF
1744 fi
14711745
14721746 exit 1
14731747
14741748 # Local variables:
1475 # eval: (add-hook 'write-file-functions 'time-stamp)
1749 # eval: (add-hook 'before-save-hook 'time-stamp)
14761750 # time-stamp-start: "timestamp='"
14771751 # time-stamp-format: "%:y-%02m-%02d"
14781752 # time-stamp-end: "'"
4545 /* Define to 1 if you have the `usecure' library (-lusecure). */
4646 #undef HAVE_LIBUSECURE
4747
48 /* Define to 1 if you have the <memory.h> header file. */
49 #undef HAVE_MEMORY_H
50
5148 /* Define to 1 if you have the <stdint.h> header file. */
5249 #undef HAVE_STDINT_H
50
51 /* Define to 1 if you have the <stdio.h> header file. */
52 #undef HAVE_STDIO_H
5353
5454 /* Define to 1 if you have the <stdlib.h> header file. */
5555 #undef HAVE_STDLIB_H
5656
57 /* Define to 1 if you have the `strerror_r' function. */
57 /* Define if you have `strerror_r'. */
5858 #undef HAVE_STRERROR_R
5959
6060 /* Define to 1 if you have the <strings.h> header file. */
102102 /* Define to the version of this package. */
103103 #undef PACKAGE_VERSION
104104
105 /* Define to 1 if you have the ANSI C header files. */
105 /* Define to 1 if all of the C90 standard headers exist (not just the ones
106 required in a freestanding environment). This macro is provided for
107 backward compatibility; new code need not use it. */
106108 #undef STDC_HEADERS
107109
108110 /* Define to 1 if strerror_r returns char *. */
111113 /* Version number of package */
112114 #undef VERSION
113115
114 /* Enable large inode numbers on Mac OS X 10.5. */
115 #ifndef _DARWIN_USE_64_BIT_INODE
116 # define _DARWIN_USE_64_BIT_INODE 1
117 #endif
118
119116 /* Number of bits in a file offset, on hosts where this is settable. */
120117 #undef _FILE_OFFSET_BITS
121118
+1545
-1456
config.sub less more
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-02-22'
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
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 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
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="\
6675 version="\
6776 GNU config.sub ($timestamp)
6877
69 Copyright 1992-2018 Free Software Foundation, Inc.
78 Copyright 1992-2022 Free Software Foundation, Inc.
7079
7180 This is free software; see the source for copying conditions. There is NO
7281 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8897 - ) # Use stdin as input.
8998 break ;;
9099 -* )
91 echo "$me: invalid option $1$help"
100 echo "$me: invalid option $1$help" >&2
92101 exit 1 ;;
93102
94103 *local*)
109118 exit 1;;
110119 esac
111120
112 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
113 # Here we must recognize all the valid KERNEL-OS combinations.
114 maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
115 case $maybe_os in
116 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
117 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
118 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
119 kopensolaris*-gnu* | cloudabi*-eabi* | \
120 storm-chaos* | os2-emx* | rtmk-nova*)
121 os=-$maybe_os
122 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123 ;;
124 android-linux)
125 os=-linux-android
126 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
127 ;;
128 *)
129 basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
130 if [ "$basic_machine" != "$1" ]
131 then os=`echo "$1" | sed 's/.*-/-/'`
132 else os=; fi
133 ;;
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 ;;
134655 esac
135656
136 ### Let's recognize common machines as not being operating systems so
137 ### that things like config.sub decstation-3100 work. We also
138 ### recognize some manufacturers as not being operating systems, so we
139 ### can provide default operating systems below.
140 case $os in
141 -sun*os*)
142 # Prevent following clause from handling this invalid input.
143 ;;
144 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
145 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
146 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
147 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
148 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
149 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
150 -apple | -axis | -knuth | -cray | -microblaze*)
151 os=
152 basic_machine=$1
153 ;;
154 -bluegene*)
155 os=-cnk
156 ;;
157 -sim | -cisco | -oki | -wec | -winbond)
158 os=
159 basic_machine=$1
160 ;;
161 -scout)
162 ;;
163 -wrs)
164 os=-vxworks
165 basic_machine=$1
166 ;;
167 -chorusos*)
168 os=-chorusos
169 basic_machine=$1
170 ;;
171 -chorusrdb)
172 os=-chorusrdb
173 basic_machine=$1
174 ;;
175 -hiux*)
176 os=-hiuxwe2
177 ;;
178 -sco6)
179 os=-sco5v6
180 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
181 ;;
182 -sco5)
183 os=-sco3.2v5
184 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
185 ;;
186 -sco4)
187 os=-sco3.2v4
188 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
189 ;;
190 -sco3.2.[4-9]*)
191 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
192 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -sco3.2v[4-9]*)
195 # Don't forget version if it is 3.2v4 or newer.
196 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
197 ;;
198 -sco5v6*)
199 # Don't forget version if it is 3.2v4 or newer.
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
201 ;;
202 -sco*)
203 os=-sco3.2v2
204 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
205 ;;
206 -udk*)
207 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
208 ;;
209 -isc)
210 os=-isc2.2
211 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
212 ;;
213 -clix*)
214 basic_machine=clipper-intergraph
215 ;;
216 -isc*)
217 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
218 ;;
219 -lynx*178)
220 os=-lynxos178
221 ;;
222 -lynx*5)
223 os=-lynxos5
224 ;;
225 -lynx*)
226 os=-lynxos
227 ;;
228 -ptx*)
229 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
230 ;;
231 -psos*)
232 os=-psos
233 ;;
234 -mint | -mint[0-9]*)
235 basic_machine=m68k-atari
236 os=-mint
237 ;;
238 esac
239
240 # Decode aliases for certain CPU-COMPANY combinations.
657 # Decode 1-component or ad-hoc basic machines
241658 case $basic_machine in
242 # Recognize the basic CPU types without company name.
243 # Some are omitted here because they have special meanings below.
244 1750a | 580 \
245 | a29k \
246 | aarch64 | aarch64_be \
247 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
248 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
249 | am33_2.0 \
250 | arc | arceb \
251 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
252 | avr | avr32 \
253 | ba \
254 | be32 | be64 \
255 | bfin \
256 | c4x | c8051 | clipper \
257 | d10v | d30v | dlx | dsp16xx \
258 | e2k | epiphany \
259 | fido | fr30 | frv | ft32 \
260 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
261 | hexagon \
262 | i370 | i860 | i960 | ia16 | ia64 \
263 | ip2k | iq2000 \
264 | k1om \
265 | le32 | le64 \
266 | lm32 \
267 | m32c | m32r | m32rle | m68000 | m68k | m88k \
268 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
269 | mips | mipsbe | mipseb | mipsel | mipsle \
270 | mips16 \
271 | mips64 | mips64el \
272 | mips64octeon | mips64octeonel \
273 | mips64orion | mips64orionel \
274 | mips64r5900 | mips64r5900el \
275 | mips64vr | mips64vrel \
276 | mips64vr4100 | mips64vr4100el \
277 | mips64vr4300 | mips64vr4300el \
278 | mips64vr5000 | mips64vr5000el \
279 | mips64vr5900 | mips64vr5900el \
280 | mipsisa32 | mipsisa32el \
281 | mipsisa32r2 | mipsisa32r2el \
282 | mipsisa32r6 | mipsisa32r6el \
283 | mipsisa64 | mipsisa64el \
284 | mipsisa64r2 | mipsisa64r2el \
285 | mipsisa64r6 | mipsisa64r6el \
286 | mipsisa64sb1 | mipsisa64sb1el \
287 | mipsisa64sr71k | mipsisa64sr71kel \
288 | mipsr5900 | mipsr5900el \
289 | mipstx39 | mipstx39el \
290 | mn10200 | mn10300 \
291 | moxie \
292 | mt \
293 | msp430 \
294 | nds32 | nds32le | nds32be \
295 | nios | nios2 | nios2eb | nios2el \
296 | ns16k | ns32k \
297 | open8 | or1k | or1knd | or32 \
298 | pdp10 | pj | pjl \
299 | powerpc | powerpc64 | powerpc64le | powerpcle \
300 | pru \
301 | pyramid \
302 | riscv32 | riscv64 \
303 | rl78 | rx \
304 | score \
305 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
306 | sh64 | sh64le \
307 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
308 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
309 | spu \
310 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
311 | ubicom32 \
312 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
313 | visium \
314 | wasm32 \
315 | x86 | xc16x | xstormy16 | xtensa \
316 | z8k | z80)
317 basic_machine=$basic_machine-unknown
318 ;;
319 c54x)
320 basic_machine=tic54x-unknown
321 ;;
322 c55x)
323 basic_machine=tic55x-unknown
324 ;;
325 c6x)
326 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
327927 ;;
328928 leon|leon[3-9])
329 basic_machine=sparc-$basic_machine
330 ;;
331 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
332 basic_machine=$basic_machine-unknown
333 os=-none
334 ;;
335 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
336 ;;
337 ms1)
338 basic_machine=mt-unknown
339 ;;
340
341 strongarm | thumb | xscale)
342 basic_machine=arm-unknown
343 ;;
344 xgate)
345 basic_machine=$basic_machine-unknown
346 os=-none
347 ;;
348 xscaleeb)
349 basic_machine=armeb-unknown
350 ;;
351
352 xscaleel)
353 basic_machine=armel-unknown
354 ;;
355
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 ;;
356945 # We use `pc' rather than `unknown'
357946 # because (1) that's what they normally are, and
358947 # (2) the word "unknown" tends to confuse beginning users.
359948 i*86 | x86_64)
360 basic_machine=$basic_machine-pc
361 ;;
362 # Object if more than one company name word.
363 *-*-*)
364 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
365 exit 1
366 ;;
367 # Recognize the basic CPU types with company name.
368 580-* \
369 | a29k-* \
370 | aarch64-* | aarch64_be-* \
371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
373 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
374 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
375 | avr-* | avr32-* \
376 | ba-* \
377 | be32-* | be64-* \
378 | bfin-* | bs2000-* \
379 | c[123]* | c30-* | [cjt]90-* | c4x-* \
380 | c8051-* | clipper-* | craynv-* | cydra-* \
381 | d10v-* | d30v-* | dlx-* \
382 | e2k-* | elxsi-* \
383 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
384 | h8300-* | h8500-* \
385 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
386 | hexagon-* \
387 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
388 | ip2k-* | iq2000-* \
389 | k1om-* \
390 | le32-* | le64-* \
391 | lm32-* \
392 | m32c-* | m32r-* | m32rle-* \
393 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
394 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
395 | microblaze-* | microblazeel-* \
396 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
397 | mips16-* \
398 | mips64-* | mips64el-* \
399 | mips64octeon-* | mips64octeonel-* \
400 | mips64orion-* | mips64orionel-* \
401 | mips64r5900-* | mips64r5900el-* \
402 | mips64vr-* | mips64vrel-* \
403 | mips64vr4100-* | mips64vr4100el-* \
404 | mips64vr4300-* | mips64vr4300el-* \
405 | mips64vr5000-* | mips64vr5000el-* \
406 | mips64vr5900-* | mips64vr5900el-* \
407 | mipsisa32-* | mipsisa32el-* \
408 | mipsisa32r2-* | mipsisa32r2el-* \
409 | mipsisa32r6-* | mipsisa32r6el-* \
410 | mipsisa64-* | mipsisa64el-* \
411 | mipsisa64r2-* | mipsisa64r2el-* \
412 | mipsisa64r6-* | mipsisa64r6el-* \
413 | mipsisa64sb1-* | mipsisa64sb1el-* \
414 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
415 | mipsr5900-* | mipsr5900el-* \
416 | mipstx39-* | mipstx39el-* \
417 | mmix-* \
418 | mt-* \
419 | msp430-* \
420 | nds32-* | nds32le-* | nds32be-* \
421 | nios-* | nios2-* | nios2eb-* | nios2el-* \
422 | none-* | np1-* | ns16k-* | ns32k-* \
423 | open8-* \
424 | or1k*-* \
425 | orion-* \
426 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
427 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
428 | pru-* \
429 | pyramid-* \
430 | riscv32-* | riscv64-* \
431 | rl78-* | romp-* | rs6000-* | rx-* \
432 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
433 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
434 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
435 | sparclite-* \
436 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
437 | tahoe-* \
438 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
439 | tile*-* \
440 | tron-* \
441 | ubicom32-* \
442 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
443 | vax-* \
444 | visium-* \
445 | wasm32-* \
446 | we32k-* \
447 | x86-* | x86_64-* | xc16x-* | xps100-* \
448 | xstormy16-* | xtensa*-* \
449 | ymp-* \
450 | z8k-* | z80-*)
451 ;;
452 # Recognize the basic CPU types without company name, with glob match.
453 xtensa*)
454 basic_machine=$basic_machine-unknown
455 ;;
456 # Recognize the various machine names and aliases which stand
457 # for a CPU type and a company and sometimes even an OS.
458 386bsd)
459 basic_machine=i386-pc
460 os=-bsd
461 ;;
462 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
463 basic_machine=m68000-att
464 ;;
465 3b*)
466 basic_machine=we32k-att
467 ;;
468 a29khif)
469 basic_machine=a29k-amd
470 os=-udi
471 ;;
472 abacus)
473 basic_machine=abacus-unknown
474 ;;
475 adobe68k)
476 basic_machine=m68010-adobe
477 os=-scout
478 ;;
479 alliant | fx80)
480 basic_machine=fx80-alliant
481 ;;
482 altos | altos3068)
483 basic_machine=m68k-altos
484 ;;
485 am29k)
486 basic_machine=a29k-none
487 os=-bsd
488 ;;
489 amd64)
490 basic_machine=x86_64-pc
491 ;;
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
4921034 amd64-*)
493 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
494 ;;
495 amdahl)
496 basic_machine=580-amdahl
497 os=-sysv
498 ;;
499 amiga | amiga-*)
500 basic_machine=m68k-unknown
501 ;;
502 amigaos | amigados)
503 basic_machine=m68k-unknown
504 os=-amigaos
505 ;;
506 amigaunix | amix)
507 basic_machine=m68k-unknown
508 os=-sysv4
509 ;;
510 apollo68)
511 basic_machine=m68k-apollo
512 os=-sysv
513 ;;
514 apollo68bsd)
515 basic_machine=m68k-apollo
516 os=-bsd
517 ;;
518 aros)
519 basic_machine=i386-pc
520 os=-aros
521 ;;
522 asmjs)
523 basic_machine=asmjs-unknown
524 ;;
525 aux)
526 basic_machine=m68k-apple
527 os=-aux
528 ;;
529 balance)
530 basic_machine=ns32k-sequent
531 os=-dynix
532 ;;
533 blackfin)
534 basic_machine=bfin-unknown
535 os=-linux
1035 cpu=x86_64
5361036 ;;
5371037 blackfin-*)
538 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
539 os=-linux
540 ;;
541 bluegene*)
542 basic_machine=powerpc-ibm
543 os=-cnk
1038 cpu=bfin
1039 basic_os=linux
5441040 ;;
5451041 c54x-*)
546 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1042 cpu=tic54x
5471043 ;;
5481044 c55x-*)
549 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1045 cpu=tic55x
5501046 ;;
5511047 c6x-*)
552 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
553 ;;
554 c90)
555 basic_machine=c90-cray
556 os=-unicos
557 ;;
558 cegcc)
559 basic_machine=arm-unknown
560 os=-cegcc
561 ;;
562 convex-c1)
563 basic_machine=c1-convex
564 os=-bsd
565 ;;
566 convex-c2)
567 basic_machine=c2-convex
568 os=-bsd
569 ;;
570 convex-c32)
571 basic_machine=c32-convex
572 os=-bsd
573 ;;
574 convex-c34)
575 basic_machine=c34-convex
576 os=-bsd
577 ;;
578 convex-c38)
579 basic_machine=c38-convex
580 os=-bsd
581 ;;
582 cray | j90)
583 basic_machine=j90-cray
584 os=-unicos
585 ;;
586 craynv)
587 basic_machine=craynv-cray
588 os=-unicosmp
589 ;;
590 cr16 | cr16-*)
591 basic_machine=cr16-unknown
592 os=-elf
593 ;;
594 crds | unos)
595 basic_machine=m68k-crds
596 ;;
597 crisv32 | crisv32-* | etraxfs*)
598 basic_machine=crisv32-axis
599 ;;
600 cris | cris-* | etrax*)
601 basic_machine=cris-axis
602 ;;
603 crx)
604 basic_machine=crx-unknown
605 os=-elf
606 ;;
607 da30 | da30-*)
608 basic_machine=m68k-da30
609 ;;
610 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
611 basic_machine=mips-dec
612 ;;
613 decsystem10* | dec10*)
614 basic_machine=pdp10-dec
615 os=-tops10
616 ;;
617 decsystem20* | dec20*)
618 basic_machine=pdp10-dec
619 os=-tops20
620 ;;
621 delta | 3300 | motorola-3300 | motorola-delta \
622 | 3300-motorola | delta-motorola)
623 basic_machine=m68k-motorola
624 ;;
625 delta88)
626 basic_machine=m88k-motorola
627 os=-sysv3
628 ;;
629 dicos)
630 basic_machine=i686-pc
631 os=-dicos
632 ;;
633 djgpp)
634 basic_machine=i586-pc
635 os=-msdosdjgpp
636 ;;
637 dpx20 | dpx20-*)
638 basic_machine=rs6000-bull
639 os=-bosx
640 ;;
641 dpx2*)
642 basic_machine=m68k-bull
643 os=-sysv3
644 ;;
645 e500v[12])
646 basic_machine=powerpc-unknown
647 os=$os"spe"
1048 cpu=tic6x
6481049 ;;
6491050 e500v[12]-*)
650 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
651 os=$os"spe"
652 ;;
653 ebmon29k)
654 basic_machine=a29k-amd
655 os=-ebmon
656 ;;
657 elxsi)
658 basic_machine=elxsi-elxsi
659 os=-bsd
660 ;;
661 encore | umax | mmax)
662 basic_machine=ns32k-encore
663 ;;
664 es1800 | OSE68k | ose68k | ose | OSE)
665 basic_machine=m68k-ericsson
666 os=-ose
667 ;;
668 fx2800)
669 basic_machine=i860-alliant
670 ;;
671 genix)
672 basic_machine=ns32k-ns
673 ;;
674 gmicro)
675 basic_machine=tron-gmicro
676 os=-sysv
677 ;;
678 go32)
679 basic_machine=i386-pc
680 os=-go32
681 ;;
682 h3050r* | hiux*)
683 basic_machine=hppa1.1-hitachi
684 os=-hiuxwe2
685 ;;
686 h8300hms)
687 basic_machine=h8300-hitachi
688 os=-hms
689 ;;
690 h8300xray)
691 basic_machine=h8300-hitachi
692 os=-xray
693 ;;
694 h8500hms)
695 basic_machine=h8500-hitachi
696 os=-hms
697 ;;
698 harris)
699 basic_machine=m88k-harris
700 os=-sysv3
701 ;;
702 hp300-*)
703 basic_machine=m68k-hp
704 ;;
705 hp300bsd)
706 basic_machine=m68k-hp
707 os=-bsd
708 ;;
709 hp300hpux)
710 basic_machine=m68k-hp
711 os=-hpux
712 ;;
713 hp3k9[0-9][0-9] | hp9[0-9][0-9])
714 basic_machine=hppa1.0-hp
715 ;;
716 hp9k2[0-9][0-9] | hp9k31[0-9])
717 basic_machine=m68000-hp
718 ;;
719 hp9k3[2-9][0-9])
720 basic_machine=m68k-hp
721 ;;
722 hp9k6[0-9][0-9] | hp6[0-9][0-9])
723 basic_machine=hppa1.0-hp
724 ;;
725 hp9k7[0-79][0-9] | hp7[0-79][0-9])
726 basic_machine=hppa1.1-hp
727 ;;
728 hp9k78[0-9] | hp78[0-9])
729 # FIXME: really hppa2.0-hp
730 basic_machine=hppa1.1-hp
731 ;;
732 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
733 # FIXME: really hppa2.0-hp
734 basic_machine=hppa1.1-hp
735 ;;
736 hp9k8[0-9][13679] | hp8[0-9][13679])
737 basic_machine=hppa1.1-hp
738 ;;
739 hp9k8[0-9][0-9] | hp8[0-9][0-9])
740 basic_machine=hppa1.0-hp
741 ;;
742 hppaosf)
743 basic_machine=hppa1.1-hp
744 os=-osf
745 ;;
746 hppro)
747 basic_machine=hppa1.1-hp
748 os=-proelf
749 ;;
750 i370-ibm* | ibm*)
751 basic_machine=i370-ibm
752 ;;
753 i*86v32)
754 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
755 os=-sysv32
756 ;;
757 i*86v4*)
758 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
759 os=-sysv4
760 ;;
761 i*86v)
762 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
763 os=-sysv
764 ;;
765 i*86sol2)
766 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
767 os=-solaris2
768 ;;
769 i386mach)
770 basic_machine=i386-mach
771 os=-mach
772 ;;
773 vsta)
774 basic_machine=i386-unknown
775 os=-vsta
776 ;;
777 iris | iris4d)
778 basic_machine=mips-sgi
779 case $os in
780 -irix*)
781 ;;
782 *)
783 os=-irix4
784 ;;
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 ;;
7851290 esac
7861291 ;;
787 isi68 | isi)
788 basic_machine=m68k-isi
789 os=-sysv
790 ;;
791 leon-*|leon[3-9]-*)
792 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
793 ;;
794 m68knommu)
795 basic_machine=m68k-unknown
796 os=-linux
797 ;;
798 m68knommu-*)
799 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
800 os=-linux
801 ;;
802 magnum | m3230)
803 basic_machine=mips-mips
804 os=-sysv
805 ;;
806 merlin)
807 basic_machine=ns32k-utek
808 os=-sysv
809 ;;
810 microblaze*)
811 basic_machine=microblaze-xilinx
812 ;;
813 mingw64)
814 basic_machine=x86_64-pc
815 os=-mingw64
816 ;;
817 mingw32)
818 basic_machine=i686-pc
819 os=-mingw32
820 ;;
821 mingw32ce)
822 basic_machine=arm-unknown
823 os=-mingw32ce
824 ;;
825 miniframe)
826 basic_machine=m68000-convergent
827 ;;
828 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
829 basic_machine=m68k-atari
830 os=-mint
831 ;;
832 mips3*-*)
833 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
834 ;;
835 mips3*)
836 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
837 ;;
838 monitor)
839 basic_machine=m68k-rom68k
840 os=-coff
841 ;;
842 morphos)
843 basic_machine=powerpc-unknown
844 os=-morphos
845 ;;
846 moxiebox)
847 basic_machine=moxie-unknown
848 os=-moxiebox
849 ;;
850 msdos)
851 basic_machine=i386-pc
852 os=-msdos
853 ;;
854 ms1-*)
855 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
856 ;;
857 msys)
858 basic_machine=i686-pc
859 os=-msys
860 ;;
861 mvs)
862 basic_machine=i370-ibm
863 os=-mvs
864 ;;
865 nacl)
866 basic_machine=le32-unknown
867 os=-nacl
868 ;;
869 ncr3000)
870 basic_machine=i486-ncr
871 os=-sysv4
872 ;;
873 netbsd386)
874 basic_machine=i386-unknown
875 os=-netbsd
876 ;;
877 netwinder)
878 basic_machine=armv4l-rebel
879 os=-linux
880 ;;
881 news | news700 | news800 | news900)
882 basic_machine=m68k-sony
883 os=-newsos
884 ;;
885 news1000)
886 basic_machine=m68030-sony
887 os=-newsos
888 ;;
889 news-3600 | risc-news)
890 basic_machine=mips-sony
891 os=-newsos
892 ;;
893 necv70)
894 basic_machine=v70-nec
895 os=-sysv
896 ;;
897 next | m*-next)
898 basic_machine=m68k-next
899 case $os in
900 -nextstep* )
901 ;;
902 -ns2*)
903 os=-nextstep2
904 ;;
905 *)
906 os=-nextstep3
907 ;;
908 esac
909 ;;
910 nh3000)
911 basic_machine=m68k-harris
912 os=-cxux
913 ;;
914 nh[45]000)
915 basic_machine=m88k-harris
916 os=-cxux
917 ;;
918 nindy960)
919 basic_machine=i960-intel
920 os=-nindy
921 ;;
922 mon960)
923 basic_machine=i960-intel
924 os=-mon960
925 ;;
926 nonstopux)
927 basic_machine=mips-compaq
928 os=-nonstopux
929 ;;
930 np1)
931 basic_machine=np1-gould
932 ;;
933 neo-tandem)
934 basic_machine=neo-tandem
935 ;;
936 nse-tandem)
937 basic_machine=nse-tandem
938 ;;
939 nsr-tandem)
940 basic_machine=nsr-tandem
941 ;;
942 nsv-tandem)
943 basic_machine=nsv-tandem
944 ;;
945 nsx-tandem)
946 basic_machine=nsx-tandem
947 ;;
948 op50n-* | op60c-*)
949 basic_machine=hppa1.1-oki
950 os=-proelf
951 ;;
952 openrisc | openrisc-*)
953 basic_machine=or32-unknown
954 ;;
955 os400)
956 basic_machine=powerpc-ibm
957 os=-os400
958 ;;
959 OSE68000 | ose68000)
960 basic_machine=m68000-ericsson
961 os=-ose
962 ;;
963 os68k)
964 basic_machine=m68k-none
965 os=-os68k
966 ;;
967 pa-hitachi)
968 basic_machine=hppa1.1-hitachi
969 os=-hiuxwe2
970 ;;
971 paragon)
972 basic_machine=i860-intel
973 os=-osf
974 ;;
975 parisc)
976 basic_machine=hppa-unknown
977 os=-linux
978 ;;
979 parisc-*)
980 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
981 os=-linux
982 ;;
983 pbd)
984 basic_machine=sparc-tti
985 ;;
986 pbb)
987 basic_machine=m68k-tti
988 ;;
989 pc532 | pc532-*)
990 basic_machine=ns32k-pc532
991 ;;
992 pc98)
993 basic_machine=i386-pc
994 ;;
995 pc98-*)
996 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
997 ;;
998 pentium | p5 | k5 | k6 | nexgen | viac3)
999 basic_machine=i586-pc
1000 ;;
1001 pentiumpro | p6 | 6x86 | athlon | athlon_*)
1002 basic_machine=i686-pc
1003 ;;
1004 pentiumii | pentium2 | pentiumiii | pentium3)
1005 basic_machine=i686-pc
1006 ;;
1007 pentium4)
1008 basic_machine=i786-pc
1009 ;;
1010 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1011 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1012 ;;
1013 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1014 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1015 ;;
1016 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1017 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1018 ;;
1019 pentium4-*)
1020 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1021 ;;
1022 pn)
1023 basic_machine=pn-gould
1024 ;;
1025 power) basic_machine=power-ibm
1026 ;;
1027 ppc | ppcbe) basic_machine=powerpc-unknown
1028 ;;
1029 ppc-* | ppcbe-*)
1030 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1031 ;;
1032 ppcle | powerpclittle)
1033 basic_machine=powerpcle-unknown
1034 ;;
1035 ppcle-* | powerpclittle-*)
1036 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1037 ;;
1038 ppc64) basic_machine=powerpc64-unknown
1039 ;;
1040 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1041 ;;
1042 ppc64le | powerpc64little)
1043 basic_machine=powerpc64le-unknown
1044 ;;
1045 ppc64le-* | powerpc64little-*)
1046 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1047 ;;
1048 ps2)
1049 basic_machine=i386-ibm
1050 ;;
1051 pw32)
1052 basic_machine=i586-unknown
1053 os=-pw32
1054 ;;
1055 rdos | rdos64)
1056 basic_machine=x86_64-pc
1057 os=-rdos
1058 ;;
1059 rdos32)
1060 basic_machine=i386-pc
1061 os=-rdos
1062 ;;
1063 rom68k)
1064 basic_machine=m68k-rom68k
1065 os=-coff
1066 ;;
1067 rm[46]00)
1068 basic_machine=mips-siemens
1069 ;;
1070 rtpc | rtpc-*)
1071 basic_machine=romp-ibm
1072 ;;
1073 s390 | s390-*)
1074 basic_machine=s390-ibm
1075 ;;
1076 s390x | s390x-*)
1077 basic_machine=s390x-ibm
1078 ;;
1079 sa29200)
1080 basic_machine=a29k-amd
1081 os=-udi
1082 ;;
1083 sb1)
1084 basic_machine=mipsisa64sb1-unknown
1085 ;;
1086 sb1el)
1087 basic_machine=mipsisa64sb1el-unknown
1088 ;;
1089 sde)
1090 basic_machine=mipsisa32-sde
1091 os=-elf
1092 ;;
1093 sei)
1094 basic_machine=mips-sei
1095 os=-seiux
1096 ;;
1097 sequent)
1098 basic_machine=i386-sequent
1099 ;;
1100 sh5el)
1101 basic_machine=sh5le-unknown
1102 ;;
1103 simso-wrs)
1104 basic_machine=sparclite-wrs
1105 os=-vxworks
1106 ;;
1107 sps7)
1108 basic_machine=m68k-bull
1109 os=-sysv2
1110 ;;
1111 spur)
1112 basic_machine=spur-unknown
1113 ;;
1114 st2000)
1115 basic_machine=m68k-tandem
1116 ;;
1117 stratus)
1118 basic_machine=i860-stratus
1119 os=-sysv4
1120 ;;
1121 strongarm-* | thumb-*)
1122 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1123 ;;
1124 sun2)
1125 basic_machine=m68000-sun
1126 ;;
1127 sun2os3)
1128 basic_machine=m68000-sun
1129 os=-sunos3
1130 ;;
1131 sun2os4)
1132 basic_machine=m68000-sun
1133 os=-sunos4
1134 ;;
1135 sun3os3)
1136 basic_machine=m68k-sun
1137 os=-sunos3
1138 ;;
1139 sun3os4)
1140 basic_machine=m68k-sun
1141 os=-sunos4
1142 ;;
1143 sun4os3)
1144 basic_machine=sparc-sun
1145 os=-sunos3
1146 ;;
1147 sun4os4)
1148 basic_machine=sparc-sun
1149 os=-sunos4
1150 ;;
1151 sun4sol2)
1152 basic_machine=sparc-sun
1153 os=-solaris2
1154 ;;
1155 sun3 | sun3-*)
1156 basic_machine=m68k-sun
1157 ;;
1158 sun4)
1159 basic_machine=sparc-sun
1160 ;;
1161 sun386 | sun386i | roadrunner)
1162 basic_machine=i386-sun
1163 ;;
1164 sv1)
1165 basic_machine=sv1-cray
1166 os=-unicos
1167 ;;
1168 symmetry)
1169 basic_machine=i386-sequent
1170 os=-dynix
1171 ;;
1172 t3e)
1173 basic_machine=alphaev5-cray
1174 os=-unicos
1175 ;;
1176 t90)
1177 basic_machine=t90-cray
1178 os=-unicos
1179 ;;
1180 tile*)
1181 basic_machine=$basic_machine-unknown
1182 os=-linux-gnu
1183 ;;
1184 tx39)
1185 basic_machine=mipstx39-unknown
1186 ;;
1187 tx39el)
1188 basic_machine=mipstx39el-unknown
1189 ;;
1190 toad1)
1191 basic_machine=pdp10-xkl
1192 os=-tops20
1193 ;;
1194 tower | tower-32)
1195 basic_machine=m68k-ncr
1196 ;;
1197 tpf)
1198 basic_machine=s390x-ibm
1199 os=-tpf
1200 ;;
1201 udi29k)
1202 basic_machine=a29k-amd
1203 os=-udi
1204 ;;
1205 ultra3)
1206 basic_machine=a29k-nyu
1207 os=-sym1
1208 ;;
1209 v810 | necv810)
1210 basic_machine=v810-nec
1211 os=-none
1212 ;;
1213 vaxv)
1214 basic_machine=vax-dec
1215 os=-sysv
1216 ;;
1217 vms)
1218 basic_machine=vax-dec
1219 os=-vms
1220 ;;
1221 vpp*|vx|vx-*)
1222 basic_machine=f301-fujitsu
1223 ;;
1224 vxworks960)
1225 basic_machine=i960-wrs
1226 os=-vxworks
1227 ;;
1228 vxworks68)
1229 basic_machine=m68k-wrs
1230 os=-vxworks
1231 ;;
1232 vxworks29k)
1233 basic_machine=a29k-wrs
1234 os=-vxworks
1235 ;;
1236 w65*)
1237 basic_machine=w65-wdc
1238 os=-none
1239 ;;
1240 w89k-*)
1241 basic_machine=hppa1.1-winbond
1242 os=-proelf
1243 ;;
1244 x64)
1245 basic_machine=x86_64-pc
1246 ;;
1247 xbox)
1248 basic_machine=i686-pc
1249 os=-mingw32
1250 ;;
1251 xps | xps100)
1252 basic_machine=xps100-honeywell
1253 ;;
1254 xscale-* | xscalee[bl]-*)
1255 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
1256 ;;
1257 ymp)
1258 basic_machine=ymp-cray
1259 os=-unicos
1260 ;;
1261 none)
1262 basic_machine=none-none
1263 os=-none
1264 ;;
1265
1266 # Here we handle the default manufacturer of certain CPU types. It is in
1267 # some cases the only manufacturer, in others, it is the most popular.
1268 w89k)
1269 basic_machine=hppa1.1-winbond
1270 ;;
1271 op50n)
1272 basic_machine=hppa1.1-oki
1273 ;;
1274 op60c)
1275 basic_machine=hppa1.1-oki
1276 ;;
1277 romp)
1278 basic_machine=romp-ibm
1279 ;;
1280 mmix)
1281 basic_machine=mmix-knuth
1282 ;;
1283 rs6000)
1284 basic_machine=rs6000-ibm
1285 ;;
1286 vax)
1287 basic_machine=vax-dec
1288 ;;
1289 pdp11)
1290 basic_machine=pdp11-dec
1291 ;;
1292 we32k)
1293 basic_machine=we32k-att
1294 ;;
1295 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1296 basic_machine=sh-unknown
1297 ;;
1298 cydra)
1299 basic_machine=cydra-cydrome
1300 ;;
1301 orion)
1302 basic_machine=orion-highlevel
1303 ;;
1304 orion105)
1305 basic_machine=clipper-highlevel
1306 ;;
1307 mac | mpw | mac-mpw)
1308 basic_machine=m68k-apple
1309 ;;
1310 pmac | pmac-mpw)
1311 basic_machine=powerpc-apple
1312 ;;
1313 *-unknown)
1314 # Make sure to match an already-canonicalized machine name.
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
13151301 ;;
13161302 *)
1317 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
1318 exit 1
13191303 ;;
13201304 esac
13211305
1322 # Here we canonicalize certain aliases for manufacturers.
1323 case $basic_machine in
1324 *-digital*)
1325 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1326 ;;
1327 *-commodore*)
1328 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
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|'`
13291342 ;;
13301343 *)
1344 kernel=
1345 os=$basic_os
13311346 ;;
13321347 esac
13331348
1334 # Decode manufacturer-specific aliases for certain operating systems.
1335
1336 if [ x"$os" != x"" ]
1337 then
1349 # Now, normalize the OS (knowing we just have one component, it's not a kernel,
1350 # etc.)
13381351 case $os in
13391352 # First match some system type aliases that might get confused
13401353 # with valid system types.
1341 # -solaris* is a basic system type, with this one exception.
1342 -auroraux)
1343 os=-auroraux
1344 ;;
1345 -solaris1 | -solaris1.*)
1346 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1347 ;;
1348 -solaris)
1349 os=-solaris2
1350 ;;
1351 -unixware*)
1352 os=-sysv4.2uw
1353 ;;
1354 -gnu/linux*)
1355 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
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
13561369 ;;
13571370 # es1800 is here to avoid being matched by es* (a different OS)
1358 -es1800*)
1359 os=-ose
1360 ;;
1361 # Now accept the basic system types.
1362 # The portable systems comes first.
1363 # Each alternative MUST end in a * to match a version number.
1364 # -sysv* is not here because it comes later, after sysvr4.
1365 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1366 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1367 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1368 | -sym* | -kopensolaris* | -plan9* \
1369 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1370 | -aos* | -aros* | -cloudabi* | -sortix* \
1371 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1372 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1373 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1374 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1375 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1376 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1377 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1378 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1379 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
1380 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1381 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1382 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1383 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1384 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
1385 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1386 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1387 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1388 | -morphos* | -superux* | -rtmk* | -windiss* \
1389 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1390 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1391 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1392 | -midnightbsd*)
1393 # Remember, each alternative MUST END IN *, to match a version number.
1394 ;;
1395 -qnx*)
1396 case $basic_machine in
1397 x86-* | i*86-*)
1398 ;;
1399 *)
1400 os=-nto$os
1401 ;;
1402 esac
1403 ;;
1404 -nto-qnx*)
1405 ;;
1406 -nto*)
1407 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1408 ;;
1409 -sim | -xray | -os68k* | -v88r* \
1410 | -windows* | -osx | -abug | -netware* | -os9* \
1411 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1412 ;;
1413 -mac*)
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]*)
14141421 os=`echo "$os" | sed -e 's|mac|macos|'`
14151422 ;;
1416 -linux-dietlibc)
1417 os=-linux-dietlibc
1418 ;;
1419 -linux*)
1420 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1421 ;;
1422 -sunos5*)
1423 opened*)
1424 os=openedition
1425 ;;
1426 os400*)
1427 os=os400
1428 ;;
1429 sunos5*)
14231430 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
14241431 ;;
1425 -sunos6*)
1432 sunos6*)
14261433 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
14271434 ;;
1428 -opened*)
1429 os=-openedition
1430 ;;
1431 -os400*)
1432 os=-os400
1433 ;;
1434 -wince*)
1435 os=-wince
1436 ;;
1437 -utek*)
1438 os=-bsd
1439 ;;
1440 -dynix*)
1441 os=-bsd
1442 ;;
1443 -acis*)
1444 os=-aos
1445 ;;
1446 -atheos*)
1447 os=-atheos
1448 ;;
1449 -syllable*)
1450 os=-syllable
1451 ;;
1452 -386bsd)
1453 os=-bsd
1454 ;;
1455 -ctix* | -uts*)
1456 os=-sysv
1457 ;;
1458 -nova*)
1459 os=-rtmk-nova
1460 ;;
1461 -ns2)
1462 os=-nextstep2
1463 ;;
1464 -nsk*)
1465 os=-nsk
1435 wince*)
1436 os=wince
1437 ;;
1438 utek*)
1439 os=bsd
1440 ;;
1441 dynix*)
1442 os=bsd
1443 ;;
1444 acis*)
1445 os=aos
1446 ;;
1447 atheos*)
1448 os=atheos
1449 ;;
1450 syllable*)
1451 os=syllable
1452 ;;
1453 386bsd)
1454 os=bsd
1455 ;;
1456 ctix* | uts*)
1457 os=sysv
1458 ;;
1459 nova*)
1460 os=rtmk-nova
1461 ;;
1462 ns2)
1463 os=nextstep2
14661464 ;;
14671465 # Preserve the version number of sinix5.
1468 -sinix5.*)
1469 os=`echo $os | sed -e 's|sinix|sysv|'`
1470 ;;
1471 -sinix*)
1472 os=-sysv4
1473 ;;
1474 -tpf*)
1475 os=-tpf
1476 ;;
1477 -triton*)
1478 os=-sysv3
1479 ;;
1480 -oss*)
1481 os=-sysv3
1482 ;;
1483 -svr4*)
1484 os=-sysv4
1485 ;;
1486 -svr3)
1487 os=-sysv3
1488 ;;
1489 -sysvr4)
1490 os=-sysv4
1491 ;;
1492 # This must come after -sysvr4.
1493 -sysv*)
1494 ;;
1495 -ose*)
1496 os=-ose
1497 ;;
1498 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1499 os=-mint
1500 ;;
1501 -zvmoe)
1502 os=-zvmoe
1503 ;;
1504 -dicos*)
1505 os=-dicos
1506 ;;
1507 -pikeos*)
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*)
15081500 # Until real need of OS specific support for
15091501 # particular features comes up, bare metal
15101502 # configurations are quite functional.
1511 case $basic_machine in
1503 case $cpu in
15121504 arm*)
1513 os=-eabi
1505 os=eabi
15141506 ;;
15151507 *)
1516 os=-elf
1508 os=elf
15171509 ;;
15181510 esac
15191511 ;;
1520 -nacl*)
1521 ;;
1522 -ios)
1523 ;;
1524 -none)
1525 ;;
15261512 *)
1527 # Get rid of the `-' at the beginning of $os.
1528 os=`echo $os | sed 's/[^-]*-//'`
1529 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1530 exit 1
1513 # No normalization, but not necessarily accepted, that comes below.
15311514 ;;
15321515 esac
1516
15331517 else
15341518
15351519 # Here we handle the default operating systems that come with various machines.
15421526 # will signal an error saying that MANUFACTURER isn't an operating
15431527 # system, and we'll never get to this point.
15441528
1545 case $basic_machine in
1529 kernel=
1530 case $cpu-$vendor in
15461531 score-*)
1547 os=-elf
1532 os=elf
15481533 ;;
15491534 spu-*)
1550 os=-elf
1535 os=elf
15511536 ;;
15521537 *-acorn)
1553 os=-riscix1.2
1538 os=riscix1.2
15541539 ;;
15551540 arm*-rebel)
1556 os=-linux
1541 kernel=linux
1542 os=gnu
15571543 ;;
15581544 arm*-semi)
1559 os=-aout
1545 os=aout
15601546 ;;
15611547 c4x-* | tic4x-*)
1562 os=-coff
1548 os=coff
15631549 ;;
15641550 c8051-*)
1565 os=-elf
1551 os=elf
1552 ;;
1553 clipper-intergraph)
1554 os=clix
15661555 ;;
15671556 hexagon-*)
1568 os=-elf
1557 os=elf
15691558 ;;
15701559 tic54x-*)
1571 os=-coff
1560 os=coff
15721561 ;;
15731562 tic55x-*)
1574 os=-coff
1563 os=coff
15751564 ;;
15761565 tic6x-*)
1577 os=-coff
1566 os=coff
15781567 ;;
15791568 # This must come before the *-dec entry.
15801569 pdp10-*)
1581 os=-tops20
1570 os=tops20
15821571 ;;
15831572 pdp11-*)
1584 os=-none
1573 os=none
15851574 ;;
15861575 *-dec | vax-*)
1587 os=-ultrix4.2
1576 os=ultrix4.2
15881577 ;;
15891578 m68*-apollo)
1590 os=-domain
1579 os=domain
15911580 ;;
15921581 i386-sun)
1593 os=-sunos4.0.2
1582 os=sunos4.0.2
15941583 ;;
15951584 m68000-sun)
1596 os=-sunos3
1585 os=sunos3
15971586 ;;
15981587 m68*-cisco)
1599 os=-aout
1588 os=aout
16001589 ;;
16011590 mep-*)
1602 os=-elf
1591 os=elf
16031592 ;;
16041593 mips*-cisco)
1605 os=-elf
1594 os=elf
16061595 ;;
16071596 mips*-*)
1608 os=-elf
1597 os=elf
16091598 ;;
16101599 or32-*)
1611 os=-coff
1600 os=coff
16121601 ;;
16131602 *-tti) # must be before sparc entry or we get the wrong os.
1614 os=-sysv3
1603 os=sysv3
16151604 ;;
16161605 sparc-* | *-sun)
1617 os=-sunos4.1.1
1606 os=sunos4.1.1
16181607 ;;
16191608 pru-*)
1620 os=-elf
1609 os=elf
16211610 ;;
16221611 *-be)
1623 os=-beos
1612 os=beos
16241613 ;;
16251614 *-ibm)
1626 os=-aix
1615 os=aix
16271616 ;;
16281617 *-knuth)
1629 os=-mmixware
1618 os=mmixware
16301619 ;;
16311620 *-wec)
1632 os=-proelf
1621 os=proelf
16331622 ;;
16341623 *-winbond)
1635 os=-proelf
1624 os=proelf
16361625 ;;
16371626 *-oki)
1638 os=-proelf
1627 os=proelf
16391628 ;;
16401629 *-hp)
1641 os=-hpux
1630 os=hpux
16421631 ;;
16431632 *-hitachi)
1644 os=-hiux
1633 os=hiux
16451634 ;;
16461635 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1647 os=-sysv
1636 os=sysv
16481637 ;;
16491638 *-cbm)
1650 os=-amigaos
1639 os=amigaos
16511640 ;;
16521641 *-dg)
1653 os=-dgux
1642 os=dgux
16541643 ;;
16551644 *-dolphin)
1656 os=-sysv3
1645 os=sysv3
16571646 ;;
16581647 m68k-ccur)
1659 os=-rtu
1648 os=rtu
16601649 ;;
16611650 m88k-omron*)
1662 os=-luna
1651 os=luna
16631652 ;;
16641653 *-next)
1665 os=-nextstep
1654 os=nextstep
16661655 ;;
16671656 *-sequent)
1668 os=-ptx
1657 os=ptx
16691658 ;;
16701659 *-crds)
1671 os=-unos
1660 os=unos
16721661 ;;
16731662 *-ns)
1674 os=-genix
1663 os=genix
16751664 ;;
16761665 i370-*)
1677 os=-mvs
1666 os=mvs
16781667 ;;
16791668 *-gould)
1680 os=-sysv
1669 os=sysv
16811670 ;;
16821671 *-highlevel)
1683 os=-bsd
1672 os=bsd
16841673 ;;
16851674 *-encore)
1686 os=-bsd
1675 os=bsd
16871676 ;;
16881677 *-sgi)
1689 os=-irix
1678 os=irix
16901679 ;;
16911680 *-siemens)
1692 os=-sysv4
1681 os=sysv4
16931682 ;;
16941683 *-masscomp)
1695 os=-rtu
1684 os=rtu
16961685 ;;
16971686 f30[01]-fujitsu | f700-fujitsu)
1698 os=-uxpv
1687 os=uxpv
16991688 ;;
17001689 *-rom68k)
1701 os=-coff
1690 os=coff
17021691 ;;
17031692 *-*bug)
1704 os=-coff
1693 os=coff
17051694 ;;
17061695 *-apple)
1707 os=-macos
1696 os=macos
17081697 ;;
17091698 *-atari*)
1710 os=-mint
1699 os=mint
1700 ;;
1701 *-wrs)
1702 os=vxworks
17111703 ;;
17121704 *)
1713 os=-none
1705 os=none
17141706 ;;
17151707 esac
1708
17161709 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
17171802
17181803 # Here we handle the case where we know the os, and the CPU type, but not the
17191804 # manufacturer. We pick the logical manufacturer.
1720 vendor=unknown
1721 case $basic_machine in
1722 *-unknown)
1723 case $os in
1724 -riscix*)
1805 case $vendor in
1806 unknown)
1807 case $cpu-$os in
1808 *-riscix*)
17251809 vendor=acorn
17261810 ;;
1727 -sunos*)
1811 *-sunos*)
17281812 vendor=sun
17291813 ;;
1730 -cnk*|-aix*)
1814 *-cnk* | *-aix*)
17311815 vendor=ibm
17321816 ;;
1733 -beos*)
1817 *-beos*)
17341818 vendor=be
17351819 ;;
1736 -hpux*)
1820 *-hpux*)
17371821 vendor=hp
17381822 ;;
1739 -mpeix*)
1823 *-mpeix*)
17401824 vendor=hp
17411825 ;;
1742 -hiux*)
1826 *-hiux*)
17431827 vendor=hitachi
17441828 ;;
1745 -unos*)
1829 *-unos*)
17461830 vendor=crds
17471831 ;;
1748 -dgux*)
1832 *-dgux*)
17491833 vendor=dg
17501834 ;;
1751 -luna*)
1835 *-luna*)
17521836 vendor=omron
17531837 ;;
1754 -genix*)
1838 *-genix*)
17551839 vendor=ns
17561840 ;;
1757 -mvs* | -opened*)
1841 *-clix*)
1842 vendor=intergraph
1843 ;;
1844 *-mvs* | *-opened*)
17581845 vendor=ibm
17591846 ;;
1760 -os400*)
1847 *-os400*)
17611848 vendor=ibm
17621849 ;;
1763 -ptx*)
1850 s390-* | s390x-*)
1851 vendor=ibm
1852 ;;
1853 *-ptx*)
17641854 vendor=sequent
17651855 ;;
1766 -tpf*)
1856 *-tpf*)
17671857 vendor=ibm
17681858 ;;
1769 -vxsim* | -vxworks* | -windiss*)
1859 *-vxsim* | *-vxworks* | *-windiss*)
17701860 vendor=wrs
17711861 ;;
1772 -aux*)
1862 *-aux*)
17731863 vendor=apple
17741864 ;;
1775 -hms*)
1865 *-hms*)
17761866 vendor=hitachi
17771867 ;;
1778 -mpw* | -macos*)
1868 *-mpw* | *-macos*)
17791869 vendor=apple
17801870 ;;
1781 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1871 *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
17821872 vendor=atari
17831873 ;;
1784 -vos*)
1874 *-vos*)
17851875 vendor=stratus
17861876 ;;
17871877 esac
1788 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
17891878 ;;
17901879 esac
17911880
1792 echo "$basic_machine$os"
1881 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
17931882 exit
17941883
17951884 # Local variables:
1796 # eval: (add-hook 'write-file-functions 'time-stamp)
1885 # eval: (add-hook 'before-save-hook 'time-stamp)
17971886 # time-stamp-start: "timestamp='"
17981887 # time-stamp-format: "%:y-%02m-%02d"
17991888 # time-stamp-end: "'"
+4220
-3277
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for ui-utilcpp 1.10.0.
2 # Generated by GNU Autoconf 2.71 for ui-utilcpp 1.10.1.
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='ui-utilcpp'
588619 PACKAGE_TARNAME='ui-utilcpp'
589 PACKAGE_VERSION='1.10.0'
590 PACKAGE_STRING='ui-utilcpp 1.10.0'
620 PACKAGE_VERSION='1.10.1'
621 PACKAGE_STRING='ui-utilcpp 1.10.1'
591622 PACKAGE_BUGREPORT=''
592623 PACKAGE_URL=''
593624
594625 ac_unique_file="src/ui-utilcpp/Exception.hpp"
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 AM_LDFLAGS
638665 AM_CXXFLAGS
639666 AM_CPPFLAGS
640 CPP
641667 LT_SYS_LIBRARY_PATH
642668 OTOOL64
643669 OTOOL
650676 AR
651677 DLLTOOL
652678 OBJDUMP
679 FILECMD
653680 NM
654681 ac_ct_DUMPBIN
655682 DUMPBIN
698725 AM_DEFAULT_VERBOSITY
699726 AM_DEFAULT_V
700727 AM_V
728 CSCOPE
729 ETAGS
730 CTAGS
701731 am__untar
702732 am__tar
703733 AMTAR
791821 CXXCPP
792822 CC
793823 CFLAGS
794 LT_SYS_LIBRARY_PATH
795 CPP'
824 LT_SYS_LIBRARY_PATH'
796825
797826
798827 # Initialize some variables set by options.
861890 *) ac_optarg=yes ;;
862891 esac
863892
864 # Accept the important Cygnus configure options, so we can diagnose typos.
865
866893 case $ac_dashdash$ac_option in
867894 --)
868895 ac_dashdash=yes ;;
903930 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904931 # Reject names that are not valid shell variable names.
905932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906 as_fn_error $? "invalid feature name: $ac_useropt"
933 as_fn_error $? "invalid feature name: \`$ac_useropt'"
907934 ac_useropt_orig=$ac_useropt
908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
909936 case $ac_user_opts in
910937 *"
911938 "enable_$ac_useropt"
929956 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
930957 # Reject names that are not valid shell variable names.
931958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
932 as_fn_error $? "invalid feature name: $ac_useropt"
959 as_fn_error $? "invalid feature name: \`$ac_useropt'"
933960 ac_useropt_orig=$ac_useropt
934 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
935962 case $ac_user_opts in
936963 *"
937964 "enable_$ac_useropt"
11421169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11431170 # Reject names that are not valid shell variable names.
11441171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error $? "invalid package name: $ac_useropt"
1172 as_fn_error $? "invalid package name: \`$ac_useropt'"
11461173 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11481175 case $ac_user_opts in
11491176 *"
11501177 "with_$ac_useropt"
11581185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11591186 # Reject names that are not valid shell variable names.
11601187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161 as_fn_error $? "invalid package name: $ac_useropt"
1188 as_fn_error $? "invalid package name: \`$ac_useropt'"
11621189 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11641191 case $ac_user_opts in
11651192 *"
11661193 "with_$ac_useropt"
12041231
12051232 *)
12061233 # FIXME: should be removed in autoconf 3.0.
1207 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1234 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
12081235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1236 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
12101237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
12111238 ;;
12121239
12221249 case $enable_option_checking in
12231250 no) ;;
12241251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1225 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12261253 esac
12271254 fi
12281255
12861313 X"$as_myself" : 'X\(//\)[^/]' \| \
12871314 X"$as_myself" : 'X\(//\)$' \| \
12881315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1316 printf "%s\n" X"$as_myself" |
12901317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12911318 s//\1/
12921319 q
13431370 # Omit some internal or obsolete options to make the list less imposing.
13441371 # This message is too long to be a string in the A/UX 3.1 sh.
13451372 cat <<_ACEOF
1346 \`configure' configures ui-utilcpp 1.10.0 to adapt to many kinds of systems.
1373 \`configure' configures ui-utilcpp 1.10.1 to adapt to many kinds of systems.
13471374
13481375 Usage: $0 [OPTION]... [VAR=VALUE]...
13491376
14141441
14151442 if test -n "$ac_init_help"; then
14161443 case $ac_init_help in
1417 short | recursive ) echo "Configuration of ui-utilcpp 1.10.0:";;
1444 short | recursive ) echo "Configuration of ui-utilcpp 1.10.1:";;
14181445 esac
14191446 cat <<\_ACEOF
14201447
14641491 CFLAGS C compiler flags
14651492 LT_SYS_LIBRARY_PATH
14661493 User-defined run-time library search path.
1467 CPP C preprocessor
14681494
14691495 Use these variables to override the choices made by `configure' or to help
14701496 it to find libraries and programs with nonstandard names/locations.
14851511 case "$ac_dir" in
14861512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14871513 *)
1488 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1514 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14891515 # A ".." for each directory in $ac_dir_suffix.
1490 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1516 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14911517 case $ac_top_builddir_sub in
14921518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14931519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15151541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15161542
15171543 cd "$ac_dir" || { ac_status=$?; continue; }
1518 # Check for guested configure.
1544 # Check for configure.gnu first; this name is used for a wrapper for
1545 # Metaconfig's "Configure" on case-insensitive file systems.
15191546 if test -f "$ac_srcdir/configure.gnu"; then
15201547 echo &&
15211548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
15231550 echo &&
15241551 $SHELL "$ac_srcdir/configure" --help=recursive
15251552 else
1526 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1553 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15271554 fi || ac_status=$?
15281555 cd "$ac_pwd" || { ac_status=$?; break; }
15291556 done
15321559 test -n "$ac_init_help" && exit $ac_status
15331560 if $ac_init_version; then
15341561 cat <<\_ACEOF
1535 ui-utilcpp configure 1.10.0
1536 generated by GNU Autoconf 2.69
1537
1538 Copyright (C) 2012 Free Software Foundation, Inc.
1562 ui-utilcpp configure 1.10.1
1563 generated by GNU Autoconf 2.71
1564
1565 Copyright (C) 2021 Free Software Foundation, Inc.
15391566 This configure script is free software; the Free Software Foundation
15401567 gives unlimited permission to copy, distribute and modify it.
15411568 _ACEOF
15521579 ac_fn_cxx_try_compile ()
15531580 {
15541581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 rm -f conftest.$ac_objext
1582 rm -f conftest.$ac_objext conftest.beam
15561583 if { { ac_try="$ac_compile"
15571584 case "(($ac_try" in
15581585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591586 *) ac_try_echo=$ac_try;;
15601587 esac
15611588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562 $as_echo "$ac_try_echo"; } >&5
1589 printf "%s\n" "$ac_try_echo"; } >&5
15631590 (eval "$ac_compile") 2>conftest.err
15641591 ac_status=$?
15651592 if test -s conftest.err; then
15671594 cat conftest.er1 >&5
15681595 mv -f conftest.er1 conftest.err
15691596 fi
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15711598 test $ac_status = 0; } && {
15721599 test -z "$ac_cxx_werror_flag" ||
15731600 test ! -s conftest.err
1574 } && test -s conftest.$ac_objext; then :
1601 } && test -s conftest.$ac_objext
1602 then :
15751603 ac_retval=0
1576 else
1577 $as_echo "$as_me: failed program was:" >&5
1604 else $as_nop
1605 printf "%s\n" "$as_me: failed program was:" >&5
15781606 sed 's/^/| /' conftest.$ac_ext >&5
15791607
15801608 ac_retval=1
15961624 *) ac_try_echo=$ac_try;;
15971625 esac
15981626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1627 printf "%s\n" "$ac_try_echo"; } >&5
16001628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
16011629 ac_status=$?
16021630 if test -s conftest.err; then
16041632 cat conftest.er1 >&5
16051633 mv -f conftest.er1 conftest.err
16061634 fi
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16081636 test $ac_status = 0; } > conftest.i && {
16091637 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16101638 test ! -s conftest.err
1611 }; then :
1639 }
1640 then :
16121641 ac_retval=0
1613 else
1614 $as_echo "$as_me: failed program was:" >&5
1642 else $as_nop
1643 printf "%s\n" "$as_me: failed program was:" >&5
16151644 sed 's/^/| /' conftest.$ac_ext >&5
16161645
16171646 ac_retval=1
16271656 ac_fn_c_try_compile ()
16281657 {
16291658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext
1659 rm -f conftest.$ac_objext conftest.beam
16311660 if { { ac_try="$ac_compile"
16321661 case "(($ac_try" in
16331662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16341663 *) ac_try_echo=$ac_try;;
16351664 esac
16361665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1666 printf "%s\n" "$ac_try_echo"; } >&5
16381667 (eval "$ac_compile") 2>conftest.err
16391668 ac_status=$?
16401669 if test -s conftest.err; then
16421671 cat conftest.er1 >&5
16431672 mv -f conftest.er1 conftest.err
16441673 fi
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16461675 test $ac_status = 0; } && {
16471676 test -z "$ac_c_werror_flag" ||
16481677 test ! -s conftest.err
1649 } && test -s conftest.$ac_objext; then :
1678 } && test -s conftest.$ac_objext
1679 then :
16501680 ac_retval=0
1651 else
1652 $as_echo "$as_me: failed program was:" >&5
1681 else $as_nop
1682 printf "%s\n" "$as_me: failed program was:" >&5
16531683 sed 's/^/| /' conftest.$ac_ext >&5
16541684
16551685 ac_retval=1
16651695 ac_fn_c_try_link ()
16661696 {
16671697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 rm -f conftest.$ac_objext conftest$ac_exeext
1698 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
16691699 if { { ac_try="$ac_link"
16701700 case "(($ac_try" in
16711701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16721702 *) ac_try_echo=$ac_try;;
16731703 esac
16741704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1705 printf "%s\n" "$ac_try_echo"; } >&5
16761706 (eval "$ac_link") 2>conftest.err
16771707 ac_status=$?
16781708 if test -s conftest.err; then
16801710 cat conftest.er1 >&5
16811711 mv -f conftest.er1 conftest.err
16821712 fi
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16841714 test $ac_status = 0; } && {
16851715 test -z "$ac_c_werror_flag" ||
16861716 test ! -s conftest.err
16871717 } && test -s conftest$ac_exeext && {
16881718 test "$cross_compiling" = yes ||
16891719 test -x conftest$ac_exeext
1690 }; then :
1720 }
1721 then :
16911722 ac_retval=0
1692 else
1693 $as_echo "$as_me: failed program was:" >&5
1723 else $as_nop
1724 printf "%s\n" "$as_me: failed program was:" >&5
16941725 sed 's/^/| /' conftest.$ac_ext >&5
16951726
16961727 ac_retval=1
17121743 ac_fn_c_check_header_compile ()
17131744 {
17141745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \${$3+:} false; then :
1718 $as_echo_n "(cached) " >&6
1719 else
1746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 printf %s "checking for $2... " >&6; }
1748 if eval test \${$3+y}
1749 then :
1750 printf %s "(cached) " >&6
1751 else $as_nop
17201752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211753 /* end confdefs.h. */
17221754 $4
17231755 #include <$2>
17241756 _ACEOF
1725 if ac_fn_c_try_compile "$LINENO"; then :
1757 if ac_fn_c_try_compile "$LINENO"
1758 then :
17261759 eval "$3=yes"
1727 else
1760 else $as_nop
17281761 eval "$3=no"
17291762 fi
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17311764 fi
17321765 eval ac_res=\$$3
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 printf "%s\n" "$ac_res" >&6; }
17351768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17361769
17371770 } # ac_fn_c_check_header_compile
1738
1739 # ac_fn_c_try_cpp LINENO
1740 # ----------------------
1741 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1742 ac_fn_c_try_cpp ()
1743 {
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 if { { ac_try="$ac_cpp conftest.$ac_ext"
1746 case "(($ac_try" in
1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1749 esac
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753 ac_status=$?
1754 if test -s conftest.err; then
1755 grep -v '^ *+' conftest.err >conftest.er1
1756 cat conftest.er1 >&5
1757 mv -f conftest.er1 conftest.err
1758 fi
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } > conftest.i && {
1761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1762 test ! -s conftest.err
1763 }; then :
1764 ac_retval=0
1765 else
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.$ac_ext >&5
1768
1769 ac_retval=1
1770 fi
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1773
1774 } # ac_fn_c_try_cpp
1775
1776 # ac_fn_c_try_run LINENO
1777 # ----------------------
1778 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1779 # that executables *can* be run.
1780 ac_fn_c_try_run ()
1781 {
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if { { ac_try="$ac_link"
1784 case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>&5
1791 ac_status=$?
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1794 { { case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_try") 2>&5
1801 ac_status=$?
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; }; }; then :
1804 ac_retval=0
1805 else
1806 $as_echo "$as_me: program exited with status $ac_status" >&5
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1809
1810 ac_retval=$ac_status
1811 fi
1812 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 as_fn_set_status $ac_retval
1815
1816 } # ac_fn_c_try_run
18171771
18181772 # ac_fn_c_check_func LINENO FUNC VAR
18191773 # ----------------------------------
18211775 ac_fn_c_check_func ()
18221776 {
18231777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if eval \${$3+:} false; then :
1827 $as_echo_n "(cached) " >&6
1828 else
1778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 printf %s "checking for $2... " >&6; }
1780 if eval test \${$3+y}
1781 then :
1782 printf %s "(cached) " >&6
1783 else $as_nop
18291784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301785 /* end confdefs.h. */
18311786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
18331788 #define $2 innocuous_$2
18341789
18351790 /* System header to define __stub macros and hopefully few prototypes,
1836 which can conflict with char $2 (); below.
1837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1838 <limits.h> exists even on freestanding compilers. */
1839
1840 #ifdef __STDC__
1841 # include <limits.h>
1842 #else
1843 # include <assert.h>
1844 #endif
1845
1791 which can conflict with char $2 (); below. */
1792
1793 #include <limits.h>
18461794 #undef $2
18471795
18481796 /* Override any GCC internal prototype to avoid an error.
18601808 #endif
18611809
18621810 int
1863 main ()
1811 main (void)
18641812 {
18651813 return $2 ();
18661814 ;
18671815 return 0;
18681816 }
18691817 _ACEOF
1870 if ac_fn_c_try_link "$LINENO"; then :
1818 if ac_fn_c_try_link "$LINENO"
1819 then :
18711820 eval "$3=yes"
1872 else
1821 else $as_nop
18731822 eval "$3=no"
18741823 fi
1875 rm -f core conftest.err conftest.$ac_objext \
1824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18761825 conftest$ac_exeext conftest.$ac_ext
18771826 fi
18781827 eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 printf "%s\n" "$ac_res" >&6; }
18811830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18821831
18831832 } # ac_fn_c_check_func
18881837 ac_fn_cxx_try_link ()
18891838 {
18901839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 rm -f conftest.$ac_objext conftest$ac_exeext
1840 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
18921841 if { { ac_try="$ac_link"
18931842 case "(($ac_try" in
18941843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951844 *) ac_try_echo=$ac_try;;
18961845 esac
18971846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1847 printf "%s\n" "$ac_try_echo"; } >&5
18991848 (eval "$ac_link") 2>conftest.err
19001849 ac_status=$?
19011850 if test -s conftest.err; then
19031852 cat conftest.er1 >&5
19041853 mv -f conftest.er1 conftest.err
19051854 fi
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19071856 test $ac_status = 0; } && {
19081857 test -z "$ac_cxx_werror_flag" ||
19091858 test ! -s conftest.err
19101859 } && test -s conftest$ac_exeext && {
19111860 test "$cross_compiling" = yes ||
19121861 test -x conftest$ac_exeext
1913 }; then :
1862 }
1863 then :
19141864 ac_retval=0
1915 else
1916 $as_echo "$as_me: failed program was:" >&5
1865 else $as_nop
1866 printf "%s\n" "$as_me: failed program was:" >&5
19171867 sed 's/^/| /' conftest.$ac_ext >&5
19181868
19191869 ac_retval=1
19281878
19291879 } # ac_fn_cxx_try_link
19301880
1931 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1881 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
19321882 # ---------------------------------------------------------
1933 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1934 # the include files in INCLUDES and setting the cache variable VAR
1935 # accordingly.
1936 ac_fn_cxx_check_header_mongrel ()
1883 # Tests whether HEADER exists and can be compiled using the include files in
1884 # INCLUDES, setting the cache variable VAR accordingly.
1885 ac_fn_cxx_check_header_compile ()
19371886 {
19381887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 if eval \${$3+:} false; then :
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval \${$3+:} false; then :
1943 $as_echo_n "(cached) " >&6
1944 fi
1945 eval ac_res=\$$3
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 else
1949 # Is the header compilable?
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1951 $as_echo_n "checking $2 usability... " >&6; }
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 printf %s "checking for $2... " >&6; }
1890 if eval test \${$3+y}
1891 then :
1892 printf %s "(cached) " >&6
1893 else $as_nop
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531895 /* end confdefs.h. */
19541896 $4
19551897 #include <$2>
19561898 _ACEOF
1957 if ac_fn_cxx_try_compile "$LINENO"; then :
1958 ac_header_compiler=yes
1959 else
1960 ac_header_compiler=no
1961 fi
1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1964 $as_echo "$ac_header_compiler" >&6; }
1965
1966 # Is the header present?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1968 $as_echo_n "checking $2 presence... " >&6; }
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 #include <$2>
1972 _ACEOF
1973 if ac_fn_cxx_try_cpp "$LINENO"; then :
1974 ac_header_preproc=yes
1975 else
1976 ac_header_preproc=no
1977 fi
1978 rm -f conftest.err conftest.i conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1980 $as_echo "$ac_header_preproc" >&6; }
1981
1982 # So? What about this header?
1983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1984 yes:no: )
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1986 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989 ;;
1990 no:yes:* )
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1992 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1994 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1996 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1998 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2001 ;;
2002 esac
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004 $as_echo_n "checking for $2... " >&6; }
2005 if eval \${$3+:} false; then :
2006 $as_echo_n "(cached) " >&6
2007 else
2008 eval "$3=\$ac_header_compiler"
1899 if ac_fn_cxx_try_compile "$LINENO"
1900 then :
1901 eval "$3=yes"
1902 else $as_nop
1903 eval "$3=no"
1904 fi
1905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20091906 fi
20101907 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 fi
1908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 printf "%s\n" "$ac_res" >&6; }
20141910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
20151911
2016 } # ac_fn_cxx_check_header_mongrel
2017
2018 # ac_fn_cxx_try_run LINENO
2019 # ------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2021 # that executables *can* be run.
2022 ac_fn_cxx_try_run ()
2023 {
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 if { { ac_try="$ac_link"
2026 case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>&5
2033 ac_status=$?
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2036 { { case "(($ac_try" in
2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038 *) ac_try_echo=$ac_try;;
2039 esac
2040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041 $as_echo "$ac_try_echo"; } >&5
2042 (eval "$ac_try") 2>&5
2043 ac_status=$?
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; }; }; then :
2046 ac_retval=0
2047 else
2048 $as_echo "$as_me: program exited with status $ac_status" >&5
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2051
2052 ac_retval=$ac_status
2053 fi
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 as_fn_set_status $ac_retval
2057
2058 } # ac_fn_cxx_try_run
2059
2060 # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
2061 # -----------------------------------------------
1912 } # ac_fn_cxx_check_header_compile
1913
1914 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1915 # ------------------------------------------------------------------
20621916 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2063 # accordingly.
2064 ac_fn_cxx_check_decl ()
1917 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1918 ac_fn_check_decl ()
20651919 {
20661920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20671921 as_decl_name=`echo $2|sed 's/ *(.*//'`
1922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1923 printf %s "checking whether $as_decl_name is declared... " >&6; }
1924 if eval test \${$3+y}
1925 then :
1926 printf %s "(cached) " >&6
1927 else $as_nop
20681928 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2070 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2071 if eval \${$3+:} false; then :
2072 $as_echo_n "(cached) " >&6
2073 else
1929 eval ac_save_FLAGS=\$$6
1930 as_fn_append $6 " $5"
20741931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751932 /* end confdefs.h. */
20761933 $4
20771934 int
2078 main ()
1935 main (void)
20791936 {
20801937 #ifndef $as_decl_name
20811938 #ifdef __cplusplus
20891946 return 0;
20901947 }
20911948 _ACEOF
2092 if ac_fn_cxx_try_compile "$LINENO"; then :
1949 if ac_fn_cxx_try_compile "$LINENO"
1950 then :
20931951 eval "$3=yes"
2094 else
1952 else $as_nop
20951953 eval "$3=no"
20961954 fi
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1956 eval $6=\$ac_save_FLAGS
1957
20981958 fi
20991959 eval ac_res=\$$3
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
1960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 printf "%s\n" "$ac_res" >&6; }
21021962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
21031963
2104 } # ac_fn_cxx_check_decl
1964 } # ac_fn_check_decl
21051965
21061966 # ac_fn_cxx_check_func LINENO FUNC VAR
21071967 # ------------------------------------
21091969 ac_fn_cxx_check_func ()
21101970 {
21111971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2116 else
1972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1973 printf %s "checking for $2... " >&6; }
1974 if eval test \${$3+y}
1975 then :
1976 printf %s "(cached) " >&6
1977 else $as_nop
21171978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181979 /* end confdefs.h. */
21191980 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
21211982 #define $2 innocuous_$2
21221983
21231984 /* System header to define __stub macros and hopefully few prototypes,
2124 which can conflict with char $2 (); below.
2125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2126 <limits.h> exists even on freestanding compilers. */
2127
2128 #ifdef __STDC__
2129 # include <limits.h>
2130 #else
2131 # include <assert.h>
2132 #endif
2133
1985 which can conflict with char $2 (); below. */
1986
1987 #include <limits.h>
21341988 #undef $2
21351989
21361990 /* Override any GCC internal prototype to avoid an error.
21482002 #endif
21492003
21502004 int
2151 main ()
2005 main (void)
21522006 {
21532007 return $2 ();
21542008 ;
21552009 return 0;
21562010 }
21572011 _ACEOF
2158 if ac_fn_cxx_try_link "$LINENO"; then :
2012 if ac_fn_cxx_try_link "$LINENO"
2013 then :
21592014 eval "$3=yes"
2160 else
2015 else $as_nop
21612016 eval "$3=no"
21622017 fi
2163 rm -f core conftest.err conftest.$ac_objext \
2018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21642019 conftest$ac_exeext conftest.$ac_ext
21652020 fi
21662021 eval ac_res=\$$3
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 printf "%s\n" "$ac_res" >&6; }
21692024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
21702025
21712026 } # ac_fn_cxx_check_func
2027 ac_configure_args_raw=
2028 for ac_arg
2029 do
2030 case $ac_arg in
2031 *\'*)
2032 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2033 esac
2034 as_fn_append ac_configure_args_raw " '$ac_arg'"
2035 done
2036
2037 case $ac_configure_args_raw in
2038 *$as_nl*)
2039 ac_safe_unquote= ;;
2040 *)
2041 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2042 ac_unsafe_a="$ac_unsafe_z#~"
2043 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2044 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2045 esac
2046
21722047 cat >config.log <<_ACEOF
21732048 This file contains any messages produced by compilers while
21742049 running configure, to aid debugging if configure makes a mistake.
21752050
2176 It was created by ui-utilcpp $as_me 1.10.0, which was
2177 generated by GNU Autoconf 2.69. Invocation command line was
2178
2179 $ $0 $@
2051 It was created by ui-utilcpp $as_me 1.10.1, which was
2052 generated by GNU Autoconf 2.71. Invocation command line was
2053
2054 $ $0$ac_configure_args_raw
21802055
21812056 _ACEOF
21822057 exec 5>>config.log
22092084 for as_dir in $PATH
22102085 do
22112086 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 $as_echo "PATH: $as_dir"
2087 case $as_dir in #(((
2088 '') as_dir=./ ;;
2089 */) ;;
2090 *) as_dir=$as_dir/ ;;
2091 esac
2092 printf "%s\n" "PATH: $as_dir"
22142093 done
22152094 IFS=$as_save_IFS
22162095
22452124 | -silent | --silent | --silen | --sile | --sil)
22462125 continue ;;
22472126 *\'*)
2248 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2127 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22492128 esac
22502129 case $ac_pass in
22512130 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
22802159 # WARNING: Use '\'' to represent an apostrophe within the trap.
22812160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
22822161 trap 'exit_status=$?
2162 # Sanitize IFS.
2163 IFS=" "" $as_nl"
22832164 # Save into config.log some information that might help in debugging.
22842165 {
22852166 echo
22862167
2287 $as_echo "## ---------------- ##
2168 printf "%s\n" "## ---------------- ##
22882169 ## Cache variables. ##
22892170 ## ---------------- ##"
22902171 echo
22952176 case $ac_val in #(
22962177 *${as_nl}*)
22972178 case $ac_var in #(
2298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2179 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2180 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23002181 esac
23012182 case $ac_var in #(
23022183 _ | IFS | as_nl) ;; #(
23202201 )
23212202 echo
23222203
2323 $as_echo "## ----------------- ##
2204 printf "%s\n" "## ----------------- ##
23242205 ## Output variables. ##
23252206 ## ----------------- ##"
23262207 echo
23282209 do
23292210 eval ac_val=\$$ac_var
23302211 case $ac_val in
2331 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23322213 esac
2333 $as_echo "$ac_var='\''$ac_val'\''"
2214 printf "%s\n" "$ac_var='\''$ac_val'\''"
23342215 done | sort
23352216 echo
23362217
23372218 if test -n "$ac_subst_files"; then
2338 $as_echo "## ------------------- ##
2219 printf "%s\n" "## ------------------- ##
23392220 ## File substitutions. ##
23402221 ## ------------------- ##"
23412222 echo
23432224 do
23442225 eval ac_val=\$$ac_var
23452226 case $ac_val in
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
23472228 esac
2348 $as_echo "$ac_var='\''$ac_val'\''"
2229 printf "%s\n" "$ac_var='\''$ac_val'\''"
23492230 done | sort
23502231 echo
23512232 fi
23522233
23532234 if test -s confdefs.h; then
2354 $as_echo "## ----------- ##
2235 printf "%s\n" "## ----------- ##
23552236 ## confdefs.h. ##
23562237 ## ----------- ##"
23572238 echo
23592240 echo
23602241 fi
23612242 test "$ac_signal" != 0 &&
2362 $as_echo "$as_me: caught signal $ac_signal"
2363 $as_echo "$as_me: exit $exit_status"
2243 printf "%s\n" "$as_me: caught signal $ac_signal"
2244 printf "%s\n" "$as_me: exit $exit_status"
23642245 } >&5
23652246 rm -f core *.core core.conftest.* &&
23662247 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23742255 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23752256 rm -f -r conftest* confdefs.h
23762257
2377 $as_echo "/* confdefs.h */" > confdefs.h
2258 printf "%s\n" "/* confdefs.h */" > confdefs.h
23782259
23792260 # Predefined preprocessor variables.
23802261
2381 cat >>confdefs.h <<_ACEOF
2382 #define PACKAGE_NAME "$PACKAGE_NAME"
2383 _ACEOF
2384
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2387 _ACEOF
2388
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2391 _ACEOF
2392
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_STRING "$PACKAGE_STRING"
2395 _ACEOF
2396
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2399 _ACEOF
2400
2401 cat >>confdefs.h <<_ACEOF
2402 #define PACKAGE_URL "$PACKAGE_URL"
2403 _ACEOF
2262 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2263
2264 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2265
2266 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2267
2268 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2269
2270 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2271
2272 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
24042273
24052274
24062275 # Let the site file select an alternate cache file if it wants to.
24072276 # Prefer an explicitly selected file to automatically selected ones.
2408 ac_site_file1=NONE
2409 ac_site_file2=NONE
24102277 if test -n "$CONFIG_SITE"; then
2411 # We do not want a PATH search for config.site.
2412 case $CONFIG_SITE in #((
2413 -*) ac_site_file1=./$CONFIG_SITE;;
2414 */*) ac_site_file1=$CONFIG_SITE;;
2415 *) ac_site_file1=./$CONFIG_SITE;;
2416 esac
2278 ac_site_files="$CONFIG_SITE"
24172279 elif test "x$prefix" != xNONE; then
2418 ac_site_file1=$prefix/share/config.site
2419 ac_site_file2=$prefix/etc/config.site
2280 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
24202281 else
2421 ac_site_file1=$ac_default_prefix/share/config.site
2422 ac_site_file2=$ac_default_prefix/etc/config.site
2423 fi
2424 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2282 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2283 fi
2284
2285 for ac_site_file in $ac_site_files
24252286 do
2426 test "x$ac_site_file" = xNONE && continue
2427 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2287 case $ac_site_file in #(
2288 */*) :
2289 ;; #(
2290 *) :
2291 ac_site_file=./$ac_site_file ;;
2292 esac
2293 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2295 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
24302296 sed 's/^/| /' "$ac_site_file" >&5
24312297 . "$ac_site_file" \
2432 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2299 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24342300 as_fn_error $? "failed to load site script $ac_site_file
24352301 See \`config.log' for more details" "$LINENO" 5; }
24362302 fi
24402306 # Some versions of bash will fail to source /dev/null (special files
24412307 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
24422308 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2310 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
24452311 case $cache_file in
24462312 [\\/]* | ?:[\\/]* ) . "$cache_file";;
24472313 *) . "./$cache_file";;
24482314 esac
24492315 fi
24502316 else
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2318 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
24532319 >$cache_file
2320 fi
2321
2322 # Test code for whether the C++ compiler supports C++98 (global declarations)
2323 ac_cxx_conftest_cxx98_globals='
2324 // Does the compiler advertise C++98 conformance?
2325 #if !defined __cplusplus || __cplusplus < 199711L
2326 # error "Compiler does not advertise C++98 conformance"
2327 #endif
2328
2329 // These inclusions are to reject old compilers that
2330 // lack the unsuffixed header files.
2331 #include <cstdlib>
2332 #include <exception>
2333
2334 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2335 extern void assert (int);
2336 namespace std {
2337 extern int strcmp (const char *, const char *);
2338 }
2339
2340 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2341 using std::exception;
2342 using std::strcmp;
2343
2344 namespace {
2345
2346 void test_exception_syntax()
2347 {
2348 try {
2349 throw "test";
2350 } catch (const char *s) {
2351 // Extra parentheses suppress a warning when building autoconf itself,
2352 // due to lint rules shared with more typical C programs.
2353 assert (!(strcmp) (s, "test"));
2354 }
2355 }
2356
2357 template <typename T> struct test_template
2358 {
2359 T const val;
2360 explicit test_template(T t) : val(t) {}
2361 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2362 };
2363
2364 } // anonymous namespace
2365 '
2366
2367 # Test code for whether the C++ compiler supports C++98 (body of main)
2368 ac_cxx_conftest_cxx98_main='
2369 assert (argc);
2370 assert (! argv[0]);
2371 {
2372 test_exception_syntax ();
2373 test_template<double> tt (2.0);
2374 assert (tt.add (4) == 6.0);
2375 assert (true && !false);
2376 }
2377 '
2378
2379 # Test code for whether the C++ compiler supports C++11 (global declarations)
2380 ac_cxx_conftest_cxx11_globals='
2381 // Does the compiler advertise C++ 2011 conformance?
2382 #if !defined __cplusplus || __cplusplus < 201103L
2383 # error "Compiler does not advertise C++11 conformance"
2384 #endif
2385
2386 namespace cxx11test
2387 {
2388 constexpr int get_val() { return 20; }
2389
2390 struct testinit
2391 {
2392 int i;
2393 double d;
2394 };
2395
2396 class delegate
2397 {
2398 public:
2399 delegate(int n) : n(n) {}
2400 delegate(): delegate(2354) {}
2401
2402 virtual int getval() { return this->n; };
2403 protected:
2404 int n;
2405 };
2406
2407 class overridden : public delegate
2408 {
2409 public:
2410 overridden(int n): delegate(n) {}
2411 virtual int getval() override final { return this->n * 2; }
2412 };
2413
2414 class nocopy
2415 {
2416 public:
2417 nocopy(int i): i(i) {}
2418 nocopy() = default;
2419 nocopy(const nocopy&) = delete;
2420 nocopy & operator=(const nocopy&) = delete;
2421 private:
2422 int i;
2423 };
2424
2425 // for testing lambda expressions
2426 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2427 {
2428 return f(v);
2429 }
2430
2431 // for testing variadic templates and trailing return types
2432 template <typename V> auto sum(V first) -> V
2433 {
2434 return first;
2435 }
2436 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2437 {
2438 return first + sum(rest...);
2439 }
2440 }
2441 '
2442
2443 # Test code for whether the C++ compiler supports C++11 (body of main)
2444 ac_cxx_conftest_cxx11_main='
2445 {
2446 // Test auto and decltype
2447 auto a1 = 6538;
2448 auto a2 = 48573953.4;
2449 auto a3 = "String literal";
2450
2451 int total = 0;
2452 for (auto i = a3; *i; ++i) { total += *i; }
2453
2454 decltype(a2) a4 = 34895.034;
2455 }
2456 {
2457 // Test constexpr
2458 short sa[cxx11test::get_val()] = { 0 };
2459 }
2460 {
2461 // Test initializer lists
2462 cxx11test::testinit il = { 4323, 435234.23544 };
2463 }
2464 {
2465 // Test range-based for
2466 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2467 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2468 for (auto &x : array) { x += 23; }
2469 }
2470 {
2471 // Test lambda expressions
2472 using cxx11test::eval;
2473 assert (eval ([](int x) { return x*2; }, 21) == 42);
2474 double d = 2.0;
2475 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2476 assert (d == 5.0);
2477 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2478 assert (d == 5.0);
2479 }
2480 {
2481 // Test use of variadic templates
2482 using cxx11test::sum;
2483 auto a = sum(1);
2484 auto b = sum(1, 2);
2485 auto c = sum(1.0, 2.0, 3.0);
2486 }
2487 {
2488 // Test constructor delegation
2489 cxx11test::delegate d1;
2490 cxx11test::delegate d2();
2491 cxx11test::delegate d3(45);
2492 }
2493 {
2494 // Test override and final
2495 cxx11test::overridden o1(55464);
2496 }
2497 {
2498 // Test nullptr
2499 char *c = nullptr;
2500 }
2501 {
2502 // Test template brackets
2503 test_template<::test_template<int>> v(test_template<int>(12));
2504 }
2505 {
2506 // Unicode literals
2507 char const *utf8 = u8"UTF-8 string \u2500";
2508 char16_t const *utf16 = u"UTF-8 string \u2500";
2509 char32_t const *utf32 = U"UTF-32 string \u2500";
2510 }
2511 '
2512
2513 # Test code for whether the C compiler supports C++11 (complete).
2514 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2515 ${ac_cxx_conftest_cxx11_globals}
2516
2517 int
2518 main (int argc, char **argv)
2519 {
2520 int ok = 0;
2521 ${ac_cxx_conftest_cxx98_main}
2522 ${ac_cxx_conftest_cxx11_main}
2523 return ok;
2524 }
2525 "
2526
2527 # Test code for whether the C compiler supports C++98 (complete).
2528 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2529 int
2530 main (int argc, char **argv)
2531 {
2532 int ok = 0;
2533 ${ac_cxx_conftest_cxx98_main}
2534 return ok;
2535 }
2536 "
2537
2538 # Test code for whether the C compiler supports C89 (global declarations)
2539 ac_c_conftest_c89_globals='
2540 /* Does the compiler advertise C89 conformance?
2541 Do not test the value of __STDC__, because some compilers set it to 0
2542 while being otherwise adequately conformant. */
2543 #if !defined __STDC__
2544 # error "Compiler does not advertise C89 conformance"
2545 #endif
2546
2547 #include <stddef.h>
2548 #include <stdarg.h>
2549 struct stat;
2550 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2551 struct buf { int x; };
2552 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2553 static char *e (p, i)
2554 char **p;
2555 int i;
2556 {
2557 return p[i];
2558 }
2559 static char *f (char * (*g) (char **, int), char **p, ...)
2560 {
2561 char *s;
2562 va_list v;
2563 va_start (v,p);
2564 s = g (p, va_arg (v,int));
2565 va_end (v);
2566 return s;
2567 }
2568
2569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2570 function prototypes and stuff, but not \xHH hex character constants.
2571 These do not provoke an error unfortunately, instead are silently treated
2572 as an "x". The following induces an error, until -std is added to get
2573 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2574 array size at least. It is necessary to write \x00 == 0 to get something
2575 that is true only with -std. */
2576 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2577
2578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2579 inside strings and character constants. */
2580 #define FOO(x) '\''x'\''
2581 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2582
2583 int test (int i, double x);
2584 struct s1 {int (*f) (int a);};
2585 struct s2 {int (*f) (double a);};
2586 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2587 int, int);'
2588
2589 # Test code for whether the C compiler supports C89 (body of main).
2590 ac_c_conftest_c89_main='
2591 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2592 '
2593
2594 # Test code for whether the C compiler supports C99 (global declarations)
2595 ac_c_conftest_c99_globals='
2596 // Does the compiler advertise C99 conformance?
2597 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2598 # error "Compiler does not advertise C99 conformance"
2599 #endif
2600
2601 #include <stdbool.h>
2602 extern int puts (const char *);
2603 extern int printf (const char *, ...);
2604 extern int dprintf (int, const char *, ...);
2605 extern void *malloc (size_t);
2606
2607 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2608 // dprintf is used instead of fprintf to avoid needing to declare
2609 // FILE and stderr.
2610 #define debug(...) dprintf (2, __VA_ARGS__)
2611 #define showlist(...) puts (#__VA_ARGS__)
2612 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2613 static void
2614 test_varargs_macros (void)
2615 {
2616 int x = 1234;
2617 int y = 5678;
2618 debug ("Flag");
2619 debug ("X = %d\n", x);
2620 showlist (The first, second, and third items.);
2621 report (x>y, "x is %d but y is %d", x, y);
2622 }
2623
2624 // Check long long types.
2625 #define BIG64 18446744073709551615ull
2626 #define BIG32 4294967295ul
2627 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2628 #if !BIG_OK
2629 #error "your preprocessor is broken"
2630 #endif
2631 #if BIG_OK
2632 #else
2633 #error "your preprocessor is broken"
2634 #endif
2635 static long long int bignum = -9223372036854775807LL;
2636 static unsigned long long int ubignum = BIG64;
2637
2638 struct incomplete_array
2639 {
2640 int datasize;
2641 double data[];
2642 };
2643
2644 struct named_init {
2645 int number;
2646 const wchar_t *name;
2647 double average;
2648 };
2649
2650 typedef const char *ccp;
2651
2652 static inline int
2653 test_restrict (ccp restrict text)
2654 {
2655 // See if C++-style comments work.
2656 // Iterate through items via the restricted pointer.
2657 // Also check for declarations in for loops.
2658 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2659 continue;
2660 return 0;
2661 }
2662
2663 // Check varargs and va_copy.
2664 static bool
2665 test_varargs (const char *format, ...)
2666 {
2667 va_list args;
2668 va_start (args, format);
2669 va_list args_copy;
2670 va_copy (args_copy, args);
2671
2672 const char *str = "";
2673 int number = 0;
2674 float fnumber = 0;
2675
2676 while (*format)
2677 {
2678 switch (*format++)
2679 {
2680 case '\''s'\'': // string
2681 str = va_arg (args_copy, const char *);
2682 break;
2683 case '\''d'\'': // int
2684 number = va_arg (args_copy, int);
2685 break;
2686 case '\''f'\'': // float
2687 fnumber = va_arg (args_copy, double);
2688 break;
2689 default:
2690 break;
2691 }
2692 }
2693 va_end (args_copy);
2694 va_end (args);
2695
2696 return *str && number && fnumber;
2697 }
2698 '
2699
2700 # Test code for whether the C compiler supports C99 (body of main).
2701 ac_c_conftest_c99_main='
2702 // Check bool.
2703 _Bool success = false;
2704 success |= (argc != 0);
2705
2706 // Check restrict.
2707 if (test_restrict ("String literal") == 0)
2708 success = true;
2709 char *restrict newvar = "Another string";
2710
2711 // Check varargs.
2712 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2713 test_varargs_macros ();
2714
2715 // Check flexible array members.
2716 struct incomplete_array *ia =
2717 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2718 ia->datasize = 10;
2719 for (int i = 0; i < ia->datasize; ++i)
2720 ia->data[i] = i * 1.234;
2721
2722 // Check named initializers.
2723 struct named_init ni = {
2724 .number = 34,
2725 .name = L"Test wide string",
2726 .average = 543.34343,
2727 };
2728
2729 ni.number = 58;
2730
2731 int dynamic_array[ni.number];
2732 dynamic_array[0] = argv[0][0];
2733 dynamic_array[ni.number - 1] = 543;
2734
2735 // work around unused variable warnings
2736 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2737 || dynamic_array[ni.number - 1] != 543);
2738 '
2739
2740 # Test code for whether the C compiler supports C11 (global declarations)
2741 ac_c_conftest_c11_globals='
2742 // Does the compiler advertise C11 conformance?
2743 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2744 # error "Compiler does not advertise C11 conformance"
2745 #endif
2746
2747 // Check _Alignas.
2748 char _Alignas (double) aligned_as_double;
2749 char _Alignas (0) no_special_alignment;
2750 extern char aligned_as_int;
2751 char _Alignas (0) _Alignas (int) aligned_as_int;
2752
2753 // Check _Alignof.
2754 enum
2755 {
2756 int_alignment = _Alignof (int),
2757 int_array_alignment = _Alignof (int[100]),
2758 char_alignment = _Alignof (char)
2759 };
2760 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2761
2762 // Check _Noreturn.
2763 int _Noreturn does_not_return (void) { for (;;) continue; }
2764
2765 // Check _Static_assert.
2766 struct test_static_assert
2767 {
2768 int x;
2769 _Static_assert (sizeof (int) <= sizeof (long int),
2770 "_Static_assert does not work in struct");
2771 long int y;
2772 };
2773
2774 // Check UTF-8 literals.
2775 #define u8 syntax error!
2776 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2777
2778 // Check duplicate typedefs.
2779 typedef long *long_ptr;
2780 typedef long int *long_ptr;
2781 typedef long_ptr long_ptr;
2782
2783 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2784 struct anonymous
2785 {
2786 union {
2787 struct { int i; int j; };
2788 struct { int k; long int l; } w;
2789 };
2790 int m;
2791 } v1;
2792 '
2793
2794 # Test code for whether the C compiler supports C11 (body of main).
2795 ac_c_conftest_c11_main='
2796 _Static_assert ((offsetof (struct anonymous, i)
2797 == offsetof (struct anonymous, w.k)),
2798 "Anonymous union alignment botch");
2799 v1.i = 2;
2800 v1.w.k = 5;
2801 ok |= v1.i != 5;
2802 '
2803
2804 # Test code for whether the C compiler supports C11 (complete).
2805 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2806 ${ac_c_conftest_c99_globals}
2807 ${ac_c_conftest_c11_globals}
2808
2809 int
2810 main (int argc, char **argv)
2811 {
2812 int ok = 0;
2813 ${ac_c_conftest_c89_main}
2814 ${ac_c_conftest_c99_main}
2815 ${ac_c_conftest_c11_main}
2816 return ok;
2817 }
2818 "
2819
2820 # Test code for whether the C compiler supports C99 (complete).
2821 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2822 ${ac_c_conftest_c99_globals}
2823
2824 int
2825 main (int argc, char **argv)
2826 {
2827 int ok = 0;
2828 ${ac_c_conftest_c89_main}
2829 ${ac_c_conftest_c99_main}
2830 return ok;
2831 }
2832 "
2833
2834 # Test code for whether the C compiler supports C89 (complete).
2835 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2836
2837 int
2838 main (int argc, char **argv)
2839 {
2840 int ok = 0;
2841 ${ac_c_conftest_c89_main}
2842 return ok;
2843 }
2844 "
2845
2846 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2847 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2848 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2849 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2850 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2851 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2852 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2853 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2854 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2855
2856 # Auxiliary files required by this configure script.
2857 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
2858
2859 # Locations in which to look for auxiliary files.
2860 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2861
2862 # Search for a directory containing all of the required auxiliary files,
2863 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2864 # If we don't find one directory that contains all the files we need,
2865 # we report the set of missing files from the *first* directory in
2866 # $ac_aux_dir_candidates and give up.
2867 ac_missing_aux_files=""
2868 ac_first_candidate=:
2869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 as_found=false
2872 for as_dir in $ac_aux_dir_candidates
2873 do
2874 IFS=$as_save_IFS
2875 case $as_dir in #(((
2876 '') as_dir=./ ;;
2877 */) ;;
2878 *) as_dir=$as_dir/ ;;
2879 esac
2880 as_found=:
2881
2882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2883 ac_aux_dir_found=yes
2884 ac_install_sh=
2885 for ac_aux in $ac_aux_files
2886 do
2887 # As a special case, if "install-sh" is required, that requirement
2888 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2889 # and $ac_install_sh is set appropriately for whichever one is found.
2890 if test x"$ac_aux" = x"install-sh"
2891 then
2892 if test -f "${as_dir}install-sh"; then
2893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2894 ac_install_sh="${as_dir}install-sh -c"
2895 elif test -f "${as_dir}install.sh"; then
2896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2897 ac_install_sh="${as_dir}install.sh -c"
2898 elif test -f "${as_dir}shtool"; then
2899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2900 ac_install_sh="${as_dir}shtool install -c"
2901 else
2902 ac_aux_dir_found=no
2903 if $ac_first_candidate; then
2904 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2905 else
2906 break
2907 fi
2908 fi
2909 else
2910 if test -f "${as_dir}${ac_aux}"; then
2911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2912 else
2913 ac_aux_dir_found=no
2914 if $ac_first_candidate; then
2915 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2916 else
2917 break
2918 fi
2919 fi
2920 fi
2921 done
2922 if test "$ac_aux_dir_found" = yes; then
2923 ac_aux_dir="$as_dir"
2924 break
2925 fi
2926 ac_first_candidate=false
2927
2928 as_found=false
2929 done
2930 IFS=$as_save_IFS
2931 if $as_found
2932 then :
2933
2934 else $as_nop
2935 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2936 fi
2937
2938
2939 # These three variables are undocumented and unsupported,
2940 # and are intended to be withdrawn in a future Autoconf release.
2941 # They can cause serious problems if a builder's source tree is in a directory
2942 # whose full name contains unusual characters.
2943 if test -f "${ac_aux_dir}config.guess"; then
2944 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2945 fi
2946 if test -f "${ac_aux_dir}config.sub"; then
2947 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2948 fi
2949 if test -f "$ac_aux_dir/configure"; then
2950 ac_configure="$SHELL ${ac_aux_dir}configure"
24542951 fi
24552952
24562953 # Check that the precious variables saved in the cache have kept the same
24632960 eval ac_new_val=\$ac_env_${ac_var}_value
24642961 case $ac_old_set,$ac_new_set in
24652962 set,)
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2964 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24682965 ac_cache_corrupted=: ;;
24692966 ,set)
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2968 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24722969 ac_cache_corrupted=: ;;
24732970 ,);;
24742971 *)
24772974 ac_old_val_w=`echo x $ac_old_val`
24782975 ac_new_val_w=`echo x $ac_new_val`
24792976 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2978 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
24822979 ac_cache_corrupted=:
24832980 else
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2982 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
24862983 eval $ac_var=\$ac_old_val
24872984 fi
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2986 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2988 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
24922989 fi;;
24932990 esac
24942991 # Pass precious variables to config.status.
24952992 if test "$ac_new_set" = set; then
24962993 case $ac_new_val in
2497 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2994 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24982995 *) ac_arg=$ac_var=$ac_new_val ;;
24992996 esac
25002997 case " $ac_configure_args " in
25043001 fi
25053002 done
25063003 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3007 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3008 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3009 and start over" "$LINENO" 5
25123010 fi
25133011 ## -------------------- ##
25143012 ## Main body of script. ##
25243022
25253023 am__api_version='1.16'
25263024
2527 ac_aux_dir=
2528 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2529 if test -f "$ac_dir/install-sh"; then
2530 ac_aux_dir=$ac_dir
2531 ac_install_sh="$ac_aux_dir/install-sh -c"
2532 break
2533 elif test -f "$ac_dir/install.sh"; then
2534 ac_aux_dir=$ac_dir
2535 ac_install_sh="$ac_aux_dir/install.sh -c"
2536 break
2537 elif test -f "$ac_dir/shtool"; then
2538 ac_aux_dir=$ac_dir
2539 ac_install_sh="$ac_aux_dir/shtool install -c"
2540 break
2541 fi
2542 done
2543 if test -z "$ac_aux_dir"; then
2544 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2545 fi
2546
2547 # These three variables are undocumented and unsupported,
2548 # and are intended to be withdrawn in a future Autoconf release.
2549 # They can cause serious problems if a builder's source tree is in a directory
2550 # whose full name contains unusual characters.
2551 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2552 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2553 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2554
2555
2556 # Find a good install program. We prefer a C program (faster),
3025
3026
3027 # Find a good install program. We prefer a C program (faster),
25573028 # so one script is as good as another. But avoid the broken or
25583029 # incompatible versions:
25593030 # SysV /etc/install, /usr/sbin/install
25673038 # OS/2's system install, which has a completely different semantic
25683039 # ./install, which can be erroneously created by make from ./install.sh.
25693040 # Reject install programs that cannot install multiple files.
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2571 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3042 printf %s "checking for a BSD-compatible install... " >&6; }
25723043 if test -z "$INSTALL"; then
2573 if ${ac_cv_path_install+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
3044 if test ${ac_cv_path_install+y}
3045 then :
3046 printf %s "(cached) " >&6
3047 else $as_nop
25763048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25773049 for as_dir in $PATH
25783050 do
25793051 IFS=$as_save_IFS
2580 test -z "$as_dir" && as_dir=.
2581 # Account for people who put trailing slashes in PATH elements.
2582 case $as_dir/ in #((
2583 ./ | .// | /[cC]/* | \
3052 case $as_dir in #(((
3053 '') as_dir=./ ;;
3054 */) ;;
3055 *) as_dir=$as_dir/ ;;
3056 esac
3057 # Account for fact that we put trailing slashes in our PATH walk.
3058 case $as_dir in #((
3059 ./ | /[cC]/* | \
25843060 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
25853061 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
25863062 /usr/ucb/* ) ;;
25903066 # by default.
25913067 for ac_prog in ginstall scoinst install; do
25923068 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3069 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
25943070 if test $ac_prog = install &&
2595 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3071 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25963072 # AIX install. It has an incompatible calling convention.
25973073 :
25983074 elif test $ac_prog = install &&
2599 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3075 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
26003076 # program-specific install script used by HP pwplus--don't use.
26013077 :
26023078 else
26043080 echo one > conftest.one
26053081 echo two > conftest.two
26063082 mkdir conftest.dir
2607 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3083 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
26083084 test -s conftest.one && test -s conftest.two &&
26093085 test -s conftest.dir/conftest.one &&
26103086 test -s conftest.dir/conftest.two
26113087 then
2612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3088 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
26133089 break 3
26143090 fi
26153091 fi
26253101 rm -rf conftest.one conftest.two conftest.dir
26263102
26273103 fi
2628 if test "${ac_cv_path_install+set}" = set; then
3104 if test ${ac_cv_path_install+y}; then
26293105 INSTALL=$ac_cv_path_install
26303106 else
26313107 # As a last resort, use the slow shell script. Don't cache a
26353111 INSTALL=$ac_install_sh
26363112 fi
26373113 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2639 $as_echo "$INSTALL" >&6; }
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3115 printf "%s\n" "$INSTALL" >&6; }
26403116
26413117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
26423118 # It thinks the first close brace ends the variable substitution.
26463122
26473123 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
26483124
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2650 $as_echo_n "checking whether build environment is sane... " >&6; }
3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3126 printf %s "checking whether build environment is sane... " >&6; }
26513127 # Reject unsafe characters in $srcdir or the absolute working directory
26523128 # name. Accept space and tab only in the latter.
26533129 am_lf='
27013177 as_fn_error $? "newly created file is older than distributed files!
27023178 Check your system clock" "$LINENO" 5
27033179 fi
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2705 $as_echo "yes" >&6; }
3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3181 printf "%s\n" "yes" >&6; }
27063182 # If we didn't sleep, we still need to ensure time stamps of config.status and
27073183 # generated files are strictly newer.
27083184 am_sleep_pid=
27213197 # Double any \ or $.
27223198 # By default was `s,x,x', remove it if useless.
27233199 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2724 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3200 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3201
27253202
27263203 # Expand $ac_aux_dir to an absolute path.
27273204 am_aux_dir=`cd "$ac_aux_dir" && pwd`
27283205
2729 if test x"${MISSING+set}" != xset; then
2730 case $am_aux_dir in
2731 *\ * | *\ *)
2732 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2733 *)
2734 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2735 esac
3206
3207 if test x"${MISSING+set}" != xset; then
3208 MISSING="\${SHELL} '$am_aux_dir/missing'"
27363209 fi
27373210 # Use eval to expand $SHELL
27383211 if eval "$MISSING --is-lightweight"; then
27393212 am_missing_run="$MISSING "
27403213 else
27413214 am_missing_run=
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2743 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3216 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
27443217 fi
27453218
27463219 if test x"${install_sh+set}" != xset; then
27603233 if test -n "$ac_tool_prefix"; then
27613234 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
27623235 set dummy ${ac_tool_prefix}strip; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_STRIP+:} false; then :
2766 $as_echo_n "(cached) " >&6
2767 else
3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237 printf %s "checking for $ac_word... " >&6; }
3238 if test ${ac_cv_prog_STRIP+y}
3239 then :
3240 printf %s "(cached) " >&6
3241 else $as_nop
27683242 if test -n "$STRIP"; then
27693243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
27703244 else
27723246 for as_dir in $PATH
27733247 do
27743248 IFS=$as_save_IFS
2775 test -z "$as_dir" && as_dir=.
3249 case $as_dir in #(((
3250 '') as_dir=./ ;;
3251 */) ;;
3252 *) as_dir=$as_dir/ ;;
3253 esac
27763254 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27783256 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27803258 break 2
27813259 fi
27823260 done
27873265 fi
27883266 STRIP=$ac_cv_prog_STRIP
27893267 if test -n "$STRIP"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2791 $as_echo "$STRIP" >&6; }
3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3269 printf "%s\n" "$STRIP" >&6; }
27923270 else
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 printf "%s\n" "no" >&6; }
27953273 fi
27963274
27973275
28003278 ac_ct_STRIP=$STRIP
28013279 # Extract the first word of "strip", so it can be a program name with args.
28023280 set dummy strip; ac_word=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2806 $as_echo_n "(cached) " >&6
2807 else
3281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282 printf %s "checking for $ac_word... " >&6; }
3283 if test ${ac_cv_prog_ac_ct_STRIP+y}
3284 then :
3285 printf %s "(cached) " >&6
3286 else $as_nop
28083287 if test -n "$ac_ct_STRIP"; then
28093288 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
28103289 else
28123291 for as_dir in $PATH
28133292 do
28143293 IFS=$as_save_IFS
2815 test -z "$as_dir" && as_dir=.
3294 case $as_dir in #(((
3295 '') as_dir=./ ;;
3296 */) ;;
3297 *) as_dir=$as_dir/ ;;
3298 esac
28163299 for ac_exec_ext in '' $ac_executable_extensions; do
2817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3300 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28183301 ac_cv_prog_ac_ct_STRIP="strip"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28203303 break 2
28213304 fi
28223305 done
28273310 fi
28283311 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
28293312 if test -n "$ac_ct_STRIP"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2831 $as_echo "$ac_ct_STRIP" >&6; }
3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3314 printf "%s\n" "$ac_ct_STRIP" >&6; }
28323315 else
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 printf "%s\n" "no" >&6; }
28353318 fi
28363319
28373320 if test "x$ac_ct_STRIP" = x; then
28393322 else
28403323 case $cross_compiling:$ac_tool_warned in
28413324 yes:)
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3326 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28443327 ac_tool_warned=yes ;;
28453328 esac
28463329 STRIP=$ac_ct_STRIP
28523335 fi
28533336 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
28543337
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2856 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3338
3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3340 printf %s "checking for a race-free mkdir -p... " >&6; }
28573341 if test -z "$MKDIR_P"; then
2858 if ${ac_cv_path_mkdir+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
3342 if test ${ac_cv_path_mkdir+y}
3343 then :
3344 printf %s "(cached) " >&6
3345 else $as_nop
28613346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28623347 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
28633348 do
28643349 IFS=$as_save_IFS
2865 test -z "$as_dir" && as_dir=.
3350 case $as_dir in #(((
3351 '') as_dir=./ ;;
3352 */) ;;
3353 *) as_dir=$as_dir/ ;;
3354 esac
28663355 for ac_prog in mkdir gmkdir; do
28673356 for ac_exec_ext in '' $ac_executable_extensions; do
2868 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2869 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2870 'mkdir (GNU coreutils) '* | \
2871 'mkdir (coreutils) '* | \
3357 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3358 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3359 'mkdir ('*'coreutils) '* | \
3360 'BusyBox '* | \
28723361 'mkdir (fileutils) '4.1*)
2873 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
28743363 break 3;;
28753364 esac
28763365 done
28813370 fi
28823371
28833372 test -d ./--version && rmdir ./--version
2884 if test "${ac_cv_path_mkdir+set}" = set; then
3373 if test ${ac_cv_path_mkdir+y}; then
28853374 MKDIR_P="$ac_cv_path_mkdir -p"
28863375 else
28873376 # As a last resort, use the slow shell script. Don't cache a
28913380 MKDIR_P="$ac_install_sh -d"
28923381 fi
28933382 fi
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2895 $as_echo "$MKDIR_P" >&6; }
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3384 printf "%s\n" "$MKDIR_P" >&6; }
28963385
28973386 for ac_prog in gawk mawk nawk awk
28983387 do
28993388 # Extract the first word of "$ac_prog", so it can be a program name with args.
29003389 set dummy $ac_prog; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_AWK+:} false; then :
2904 $as_echo_n "(cached) " >&6
2905 else
3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 printf %s "checking for $ac_word... " >&6; }
3392 if test ${ac_cv_prog_AWK+y}
3393 then :
3394 printf %s "(cached) " >&6
3395 else $as_nop
29063396 if test -n "$AWK"; then
29073397 ac_cv_prog_AWK="$AWK" # Let the user override the test.
29083398 else
29103400 for as_dir in $PATH
29113401 do
29123402 IFS=$as_save_IFS
2913 test -z "$as_dir" && as_dir=.
3403 case $as_dir in #(((
3404 '') as_dir=./ ;;
3405 */) ;;
3406 *) as_dir=$as_dir/ ;;
3407 esac
29143408 for ac_exec_ext in '' $ac_executable_extensions; do
2915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29163410 ac_cv_prog_AWK="$ac_prog"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29183412 break 2
29193413 fi
29203414 done
29253419 fi
29263420 AWK=$ac_cv_prog_AWK
29273421 if test -n "$AWK"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2929 $as_echo "$AWK" >&6; }
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 printf "%s\n" "$AWK" >&6; }
29303424 else
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 printf "%s\n" "no" >&6; }
29333427 fi
29343428
29353429
29363430 test -n "$AWK" && break
29373431 done
29383432
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2940 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
29413435 set x ${MAKE-make}
2942 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2943 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
3436 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3438 then :
3439 printf %s "(cached) " >&6
3440 else $as_nop
29463441 cat >conftest.make <<\_ACEOF
29473442 SHELL = /bin/sh
29483443 all:
29583453 rm -f conftest.make
29593454 fi
29603455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2962 $as_echo "yes" >&6; }
3456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3457 printf "%s\n" "yes" >&6; }
29633458 SET_MAKE=
29643459 else
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 printf "%s\n" "no" >&6; }
29673462 SET_MAKE="MAKE=${MAKE-make}"
29683463 fi
29693464
29773472 rmdir .tst 2>/dev/null
29783473
29793474 # Check whether --enable-silent-rules was given.
2980 if test "${enable_silent_rules+set}" = set; then :
3475 if test ${enable_silent_rules+y}
3476 then :
29813477 enableval=$enable_silent_rules;
29823478 fi
29833479
29873483 *) AM_DEFAULT_VERBOSITY=1;;
29883484 esac
29893485 am_make=${MAKE-make}
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2991 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2992 if ${am_cv_make_support_nested_variables+:} false; then :
2993 $as_echo_n "(cached) " >&6
2994 else
2995 if $as_echo 'TRUE=$(BAR$(V))
3486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3487 printf %s "checking whether $am_make supports nested variables... " >&6; }
3488 if test ${am_cv_make_support_nested_variables+y}
3489 then :
3490 printf %s "(cached) " >&6
3491 else $as_nop
3492 if printf "%s\n" 'TRUE=$(BAR$(V))
29963493 BAR0=false
29973494 BAR1=true
29983495 V=1
30043501 am_cv_make_support_nested_variables=no
30053502 fi
30063503 fi
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3008 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3505 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
30093506 if test $am_cv_make_support_nested_variables = yes; then
30103507 AM_V='$(V)'
30113508 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
30403537
30413538 # Define the identity of the package.
30423539 PACKAGE='ui-utilcpp'
3043 VERSION='1.10.0'
3044
3045
3046 cat >>confdefs.h <<_ACEOF
3047 #define PACKAGE "$PACKAGE"
3048 _ACEOF
3049
3050
3051 cat >>confdefs.h <<_ACEOF
3052 #define VERSION "$VERSION"
3053 _ACEOF
3540 VERSION='1.10.1'
3541
3542
3543 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3544
3545
3546 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
30543547
30553548 # Some tools Automake needs.
30563549
30863579
30873580
30883581
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3090 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3583 printf %s "checking how to create a pax tar archive... " >&6; }
30913584
30923585 # Go ahead even if we have the value already cached. We do so because we
30933586 # need to set the values for the 'am__tar' and 'am__untar' variables.
31623655 done
31633656 rm -rf conftest.dir
31643657
3165 if ${am_cv_prog_tar_pax+:} false; then :
3166 $as_echo_n "(cached) " >&6
3167 else
3658 if test ${am_cv_prog_tar_pax+y}
3659 then :
3660 printf %s "(cached) " >&6
3661 else $as_nop
31683662 am_cv_prog_tar_pax=$_am_tool
31693663 fi
31703664
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3172 $as_echo "$am_cv_prog_tar_pax" >&6; }
3173
3174
3175
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3666 printf "%s\n" "$am_cv_prog_tar_pax" >&6; }
3667
3668
3669
3670
3671
3672 # Variables for tags utilities; see am/tags.am
3673 if test -z "$CTAGS"; then
3674 CTAGS=ctags
3675 fi
3676
3677 if test -z "$ETAGS"; then
3678 ETAGS=etags
3679 fi
3680
3681 if test -z "$CSCOPE"; then
3682 CSCOPE=cscope
3683 fi
31763684
31773685
31783686
32223730 if test -z "${PACKAGE_VERSION}"; then
32233731 as_fn_error $? "Cant continue: PACKAGE_VERSION missing." "$LINENO" 5
32243732 fi
3225 SO_VERSION=9:1:0
3733 SO_VERSION=9:2:0
32263734
32273735
32283736 TOOLDIR=
33833891
33843892
33853893 # Check whether --enable-ui-doxygen was given.
3386 if test "${enable_ui_doxygen+set}" = set; then :
3894 if test ${enable_ui_doxygen+y}
3895 then :
33873896 enableval=$enable_ui_doxygen;
33883897 UI_DOXYGEN_ENABLED="${enableval}"
33893898
33973906
33983907 # Extract the first word of "doxygen", so it can be a program name with args.
33993908 set dummy doxygen; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if ${ac_cv_path_DOXYGEN+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 printf %s "checking for $ac_word... " >&6; }
3911 if test ${ac_cv_path_DOXYGEN+y}
3912 then :
3913 printf %s "(cached) " >&6
3914 else $as_nop
34053915 case $DOXYGEN in
34063916 [\\/]* | ?:[\\/]*)
34073917 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
34113921 for as_dir in $PATH
34123922 do
34133923 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3924 case $as_dir in #(((
3925 '') as_dir=./ ;;
3926 */) ;;
3927 *) as_dir=$as_dir/ ;;
3928 esac
34153929 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3931 ac_cv_path_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34193933 break 2
34203934 fi
34213935 done
34273941 fi
34283942 DOXYGEN=$ac_cv_path_DOXYGEN
34293943 if test -n "$DOXYGEN"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
3431 $as_echo "$DOXYGEN" >&6; }
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
3945 printf "%s\n" "$DOXYGEN" >&6; }
34323946 else
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 printf "%s\n" "no" >&6; }
34353949 fi
34363950
34373951
34383952
34393953 if test x"$DOXYGEN" = "x" -o x"$DOXYGEN" = "xno"; then
34403954 if test x"" = "xwarn"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing support for: Program doxygen." >&5
3442 $as_echo "$as_me: WARNING: Missing support for: Program doxygen." >&2;}
3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Missing support for: Program doxygen." >&5
3956 printf "%s\n" "$as_me: WARNING: Missing support for: Program doxygen." >&2;}
34433957 else
34443958 as_fn_error $? "Missing support for: Program doxygen." "$LINENO" 5
34453959 fi
34493963
34503964 # Extract the first word of "perl", so it can be a program name with args.
34513965 set dummy perl; ac_word=$2
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if ${ac_cv_path_PERL+:} false; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 printf %s "checking for $ac_word... " >&6; }
3968 if test ${ac_cv_path_PERL+y}
3969 then :
3970 printf %s "(cached) " >&6
3971 else $as_nop
34573972 case $PERL in
34583973 [\\/]* | ?:[\\/]*)
34593974 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
34633978 for as_dir in $PATH
34643979 do
34653980 IFS=$as_save_IFS
3466 test -z "$as_dir" && as_dir=.
3981 case $as_dir in #(((
3982 '') as_dir=./ ;;
3983 */) ;;
3984 *) as_dir=$as_dir/ ;;
3985 esac
34673986 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3469 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
3470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3988 ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34713990 break 2
34723991 fi
34733992 done
34793998 fi
34803999 PERL=$ac_cv_path_PERL
34814000 if test -n "$PERL"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
3483 $as_echo "$PERL" >&6; }
4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4002 printf "%s\n" "$PERL" >&6; }
34844003 else
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 printf "%s\n" "no" >&6; }
34874006 fi
34884007
34894008
34904009
34914010 if test x"$PERL" = "x" -o x"$PERL" = "xno"; then
34924011 if test x"" = "xwarn"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing support for: Program perl." >&5
3494 $as_echo "$as_me: WARNING: Missing support for: Program perl." >&2;}
4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Missing support for: Program perl." >&5
4013 printf "%s\n" "$as_me: WARNING: Missing support for: Program perl." >&2;}
34954014 else
34964015 as_fn_error $? "Missing support for: Program perl." "$LINENO" 5
34974016 fi
35514070
35524071
35534072 # Checks for programs.
4073
4074
4075
4076
4077
4078
35544079 DEPDIR="${am__leading_dot}deps"
35554080
35564081 ac_config_commands="$ac_config_commands depfiles"
35574082
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3559 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4084 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
35604085 cat > confinc.mk << 'END'
35614086 am__doit:
35624087 @echo this is the am__doit target >confinc.out
35924117 fi
35934118 done
35944119 rm -f confinc.* confmf.*
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3596 $as_echo "${_am_result}" >&6; }
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4121 printf "%s\n" "${_am_result}" >&6; }
35974122
35984123 # Check whether --enable-dependency-tracking was given.
3599 if test "${enable_dependency_tracking+set}" = set; then :
4124 if test ${enable_dependency_tracking+y}
4125 then :
36004126 enableval=$enable_dependency_tracking;
36014127 fi
36024128
36254151 CXX=$CCC
36264152 else
36274153 if test -n "$ac_tool_prefix"; then
3628 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4154 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
36294155 do
36304156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
36314157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CXX+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 printf %s "checking for $ac_word... " >&6; }
4160 if test ${ac_cv_prog_CXX+y}
4161 then :
4162 printf %s "(cached) " >&6
4163 else $as_nop
36374164 if test -n "$CXX"; then
36384165 ac_cv_prog_CXX="$CXX" # Let the user override the test.
36394166 else
36414168 for as_dir in $PATH
36424169 do
36434170 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
4171 case $as_dir in #(((
4172 '') as_dir=./ ;;
4173 */) ;;
4174 *) as_dir=$as_dir/ ;;
4175 esac
36454176 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
36474178 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
36494180 break 2
36504181 fi
36514182 done
36564187 fi
36574188 CXX=$ac_cv_prog_CXX
36584189 if test -n "$CXX"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3660 $as_echo "$CXX" >&6; }
4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4191 printf "%s\n" "$CXX" >&6; }
36614192 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 printf "%s\n" "no" >&6; }
36644195 fi
36654196
36664197
36694200 fi
36704201 if test -z "$CXX"; then
36714202 ac_ct_CXX=$CXX
3672 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
36734204 do
36744205 # Extract the first word of "$ac_prog", so it can be a program name with args.
36754206 set dummy $ac_prog; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3679 $as_echo_n "(cached) " >&6
3680 else
4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 printf %s "checking for $ac_word... " >&6; }
4209 if test ${ac_cv_prog_ac_ct_CXX+y}
4210 then :
4211 printf %s "(cached) " >&6
4212 else $as_nop
36814213 if test -n "$ac_ct_CXX"; then
36824214 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
36834215 else
36854217 for as_dir in $PATH
36864218 do
36874219 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
4220 case $as_dir in #(((
4221 '') as_dir=./ ;;
4222 */) ;;
4223 *) as_dir=$as_dir/ ;;
4224 esac
36894225 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4226 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
36914227 ac_cv_prog_ac_ct_CXX="$ac_prog"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
36934229 break 2
36944230 fi
36954231 done
37004236 fi
37014237 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
37024238 if test -n "$ac_ct_CXX"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3704 $as_echo "$ac_ct_CXX" >&6; }
4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4240 printf "%s\n" "$ac_ct_CXX" >&6; }
37054241 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 printf "%s\n" "no" >&6; }
37084244 fi
37094245
37104246
37164252 else
37174253 case $cross_compiling:$ac_tool_warned in
37184254 yes:)
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4256 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37214257 ac_tool_warned=yes ;;
37224258 esac
37234259 CXX=$ac_ct_CXX
37274263 fi
37284264 fi
37294265 # Provide some information about the compiler.
3730 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
37314267 set X $ac_compile
37324268 ac_compiler=$2
37334269 for ac_option in --version -v -V -qversion; do
37374273 *) ac_try_echo=$ac_try;;
37384274 esac
37394275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
4276 printf "%s\n" "$ac_try_echo"; } >&5
37414277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
37424278 ac_status=$?
37434279 if test -s conftest.err; then
37474283 cat conftest.er1 >&5
37484284 fi
37494285 rm -f conftest.er1 conftest.err
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37514287 test $ac_status = 0; }
37524288 done
37534289
37554291 /* end confdefs.h. */
37564292
37574293 int
3758 main ()
4294 main (void)
37594295 {
37604296
37614297 ;
37674303 # Try to create an executable without -o first, disregard a.out.
37684304 # It will help us diagnose broken compilers, and finding out an intuition
37694305 # of exeext.
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3771 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3772 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
4307 printf %s "checking whether the C++ compiler works... " >&6; }
4308 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
37734309
37744310 # The possible output files:
37754311 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
37904326 *) ac_try_echo=$ac_try;;
37914327 esac
37924328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
4329 printf "%s\n" "$ac_try_echo"; } >&5
37944330 (eval "$ac_link_default") 2>&5
37954331 ac_status=$?
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; then :
4332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }
4334 then :
37984335 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
37994336 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
38004337 # in a Makefile. We should not override ac_cv_exeext if it was cached,
38114348 # certainly right.
38124349 break;;
38134350 *.* )
3814 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4351 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
38154352 then :; else
38164353 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
38174354 fi
38274364 done
38284365 test "$ac_cv_exeext" = no && ac_cv_exeext=
38294366
3830 else
4367 else $as_nop
38314368 ac_file=''
38324369 fi
3833 if test -z "$ac_file"; then :
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 $as_echo "$as_me: failed program was:" >&5
4370 if test -z "$ac_file"
4371 then :
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 printf "%s\n" "no" >&6; }
4374 printf "%s\n" "$as_me: failed program was:" >&5
38374375 sed 's/^/| /' conftest.$ac_ext >&5
38384376
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4378 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
38414379 as_fn_error 77 "C++ compiler cannot create executables
38424380 See \`config.log' for more details" "$LINENO" 5; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3845 $as_echo "yes" >&6; }
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3848 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
4381 else $as_nop
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4383 printf "%s\n" "yes" >&6; }
4384 fi
4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
4386 printf %s "checking for C++ compiler default output file name... " >&6; }
4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4388 printf "%s\n" "$ac_file" >&6; }
38514389 ac_exeext=$ac_cv_exeext
38524390
38534391 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
38544392 ac_clean_files=$ac_clean_files_save
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3856 $as_echo_n "checking for suffix of executables... " >&6; }
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4394 printf %s "checking for suffix of executables... " >&6; }
38574395 if { { ac_try="$ac_link"
38584396 case "(($ac_try" in
38594397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38604398 *) ac_try_echo=$ac_try;;
38614399 esac
38624400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
4401 printf "%s\n" "$ac_try_echo"; } >&5
38644402 (eval "$ac_link") 2>&5
38654403 ac_status=$?
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }; then :
4404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }
4406 then :
38684407 # If both `conftest.exe' and `conftest' are `present' (well, observable)
38694408 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
38704409 # work properly (i.e., refer to `conftest.exe'), while it won't with
38784417 * ) break;;
38794418 esac
38804419 done
3881 else
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 else $as_nop
4421 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4422 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
38844423 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
38854424 See \`config.log' for more details" "$LINENO" 5; }
38864425 fi
38874426 rm -f conftest conftest$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3889 $as_echo "$ac_cv_exeext" >&6; }
4427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4428 printf "%s\n" "$ac_cv_exeext" >&6; }
38904429
38914430 rm -f conftest.$ac_ext
38924431 EXEEXT=$ac_cv_exeext
38954434 /* end confdefs.h. */
38964435 #include <stdio.h>
38974436 int
3898 main ()
4437 main (void)
38994438 {
39004439 FILE *f = fopen ("conftest.out", "w");
39014440 return ferror (f) || fclose (f) != 0;
39074446 ac_clean_files="$ac_clean_files conftest.out"
39084447 # Check that the compiler produces executables we can run. If not, either
39094448 # the compiler is broken, or we cross compile.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3911 $as_echo_n "checking whether we are cross compiling... " >&6; }
4449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4450 printf %s "checking whether we are cross compiling... " >&6; }
39124451 if test "$cross_compiling" != yes; then
39134452 { { ac_try="$ac_link"
39144453 case "(($ac_try" in
39164455 *) ac_try_echo=$ac_try;;
39174456 esac
39184457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
4458 printf "%s\n" "$ac_try_echo"; } >&5
39204459 (eval "$ac_link") 2>&5
39214460 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39234462 test $ac_status = 0; }
39244463 if { ac_try='./conftest$ac_cv_exeext'
39254464 { { case "(($ac_try" in
39274466 *) ac_try_echo=$ac_try;;
39284467 esac
39294468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
4469 printf "%s\n" "$ac_try_echo"; } >&5
39314470 (eval "$ac_try") 2>&5
39324471 ac_status=$?
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39344473 test $ac_status = 0; }; }; then
39354474 cross_compiling=no
39364475 else
39374476 if test "$cross_compiling" = maybe; then
39384477 cross_compiling=yes
39394478 else
3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error $? "cannot run C++ compiled programs.
4479 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4480 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4481 as_fn_error 77 "cannot run C++ compiled programs.
39434482 If you meant to cross compile, use \`--host'.
39444483 See \`config.log' for more details" "$LINENO" 5; }
39454484 fi
39464485 fi
39474486 fi
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3949 $as_echo "$cross_compiling" >&6; }
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4488 printf "%s\n" "$cross_compiling" >&6; }
39504489
39514490 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
39524491 ac_clean_files=$ac_clean_files_save
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3954 $as_echo_n "checking for suffix of object files... " >&6; }
3955 if ${ac_cv_objext+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4493 printf %s "checking for suffix of object files... " >&6; }
4494 if test ${ac_cv_objext+y}
4495 then :
4496 printf %s "(cached) " >&6
4497 else $as_nop
39584498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39594499 /* end confdefs.h. */
39604500
39614501 int
3962 main ()
4502 main (void)
39634503 {
39644504
39654505 ;
39734513 *) ac_try_echo=$ac_try;;
39744514 esac
39754515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
4516 printf "%s\n" "$ac_try_echo"; } >&5
39774517 (eval "$ac_compile") 2>&5
39784518 ac_status=$?
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
4519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4521 then :
39814522 for ac_file in conftest.o conftest.obj conftest.*; do
39824523 test -f "$ac_file" || continue;
39834524 case $ac_file in
39864527 break;;
39874528 esac
39884529 done
3989 else
3990 $as_echo "$as_me: failed program was:" >&5
4530 else $as_nop
4531 printf "%s\n" "$as_me: failed program was:" >&5
39914532 sed 's/^/| /' conftest.$ac_ext >&5
39924533
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4534 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
39954536 as_fn_error $? "cannot compute suffix of object files: cannot compile
39964537 See \`config.log' for more details" "$LINENO" 5; }
39974538 fi
39984539 rm -f conftest.$ac_cv_objext conftest.$ac_ext
39994540 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4001 $as_echo "$ac_cv_objext" >&6; }
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4542 printf "%s\n" "$ac_cv_objext" >&6; }
40024543 OBJEXT=$ac_cv_objext
40034544 ac_objext=$OBJEXT
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4005 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4006 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
4546 printf %s "checking whether the compiler supports GNU C++... " >&6; }
4547 if test ${ac_cv_cxx_compiler_gnu+y}
4548 then :
4549 printf %s "(cached) " >&6
4550 else $as_nop
40094551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104552 /* end confdefs.h. */
40114553
40124554 int
4013 main ()
4555 main (void)
40144556 {
40154557 #ifndef __GNUC__
40164558 choke me
40204562 return 0;
40214563 }
40224564 _ACEOF
4023 if ac_fn_cxx_try_compile "$LINENO"; then :
4565 if ac_fn_cxx_try_compile "$LINENO"
4566 then :
40244567 ac_compiler_gnu=yes
4025 else
4568 else $as_nop
40264569 ac_compiler_gnu=no
40274570 fi
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40294572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
40304573
40314574 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4033 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4576 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
4577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4578
40344579 if test $ac_compiler_gnu = yes; then
40354580 GXX=yes
40364581 else
40374582 GXX=
40384583 fi
4039 ac_test_CXXFLAGS=${CXXFLAGS+set}
4584 ac_test_CXXFLAGS=${CXXFLAGS+y}
40404585 ac_save_CXXFLAGS=$CXXFLAGS
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4042 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4043 if ${ac_cv_prog_cxx_g+:} false; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4587 printf %s "checking whether $CXX accepts -g... " >&6; }
4588 if test ${ac_cv_prog_cxx_g+y}
4589 then :
4590 printf %s "(cached) " >&6
4591 else $as_nop
40464592 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
40474593 ac_cxx_werror_flag=yes
40484594 ac_cv_prog_cxx_g=no
40514597 /* end confdefs.h. */
40524598
40534599 int
4054 main ()
4600 main (void)
40554601 {
40564602
40574603 ;
40584604 return 0;
40594605 }
40604606 _ACEOF
4061 if ac_fn_cxx_try_compile "$LINENO"; then :
4607 if ac_fn_cxx_try_compile "$LINENO"
4608 then :
40624609 ac_cv_prog_cxx_g=yes
4063 else
4610 else $as_nop
40644611 CXXFLAGS=""
40654612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40664613 /* end confdefs.h. */
40674614
40684615 int
4069 main ()
4616 main (void)
40704617 {
40714618
40724619 ;
40734620 return 0;
40744621 }
40754622 _ACEOF
4076 if ac_fn_cxx_try_compile "$LINENO"; then :
4077
4078 else
4623 if ac_fn_cxx_try_compile "$LINENO"
4624 then :
4625
4626 else $as_nop
40794627 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
40804628 CXXFLAGS="-g"
40814629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40824630 /* end confdefs.h. */
40834631
40844632 int
4085 main ()
4633 main (void)
40864634 {
40874635
40884636 ;
40894637 return 0;
40904638 }
40914639 _ACEOF
4092 if ac_fn_cxx_try_compile "$LINENO"; then :
4640 if ac_fn_cxx_try_compile "$LINENO"
4641 then :
40934642 ac_cv_prog_cxx_g=yes
40944643 fi
4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4096 fi
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4098 fi
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4645 fi
4646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4647 fi
4648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41004649 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
41014650 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4103 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4104 if test "$ac_test_CXXFLAGS" = set; then
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4652 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
4653 if test $ac_test_CXXFLAGS; then
41054654 CXXFLAGS=$ac_save_CXXFLAGS
41064655 elif test $ac_cv_prog_cxx_g = yes; then
41074656 if test "$GXX" = yes; then
41164665 CXXFLAGS=
41174666 fi
41184667 fi
4668 ac_prog_cxx_stdcxx=no
4669 if test x$ac_prog_cxx_stdcxx = xno
4670 then :
4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4672 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
4673 if test ${ac_cv_prog_cxx_11+y}
4674 then :
4675 printf %s "(cached) " >&6
4676 else $as_nop
4677 ac_cv_prog_cxx_11=no
4678 ac_save_CXX=$CXX
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 $ac_cxx_conftest_cxx11_program
4682 _ACEOF
4683 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
4684 do
4685 CXX="$ac_save_CXX $ac_arg"
4686 if ac_fn_cxx_try_compile "$LINENO"
4687 then :
4688 ac_cv_prog_cxx_cxx11=$ac_arg
4689 fi
4690 rm -f core conftest.err conftest.$ac_objext conftest.beam
4691 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
4692 done
4693 rm -f conftest.$ac_ext
4694 CXX=$ac_save_CXX
4695 fi
4696
4697 if test "x$ac_cv_prog_cxx_cxx11" = xno
4698 then :
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4700 printf "%s\n" "unsupported" >&6; }
4701 else $as_nop
4702 if test "x$ac_cv_prog_cxx_cxx11" = x
4703 then :
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4705 printf "%s\n" "none needed" >&6; }
4706 else $as_nop
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4708 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
4709 CXX="$CXX $ac_cv_prog_cxx_cxx11"
4710 fi
4711 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
4712 ac_prog_cxx_stdcxx=cxx11
4713 fi
4714 fi
4715 if test x$ac_prog_cxx_stdcxx = xno
4716 then :
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4718 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
4719 if test ${ac_cv_prog_cxx_98+y}
4720 then :
4721 printf %s "(cached) " >&6
4722 else $as_nop
4723 ac_cv_prog_cxx_98=no
4724 ac_save_CXX=$CXX
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 $ac_cxx_conftest_cxx98_program
4728 _ACEOF
4729 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
4730 do
4731 CXX="$ac_save_CXX $ac_arg"
4732 if ac_fn_cxx_try_compile "$LINENO"
4733 then :
4734 ac_cv_prog_cxx_cxx98=$ac_arg
4735 fi
4736 rm -f core conftest.err conftest.$ac_objext conftest.beam
4737 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
4738 done
4739 rm -f conftest.$ac_ext
4740 CXX=$ac_save_CXX
4741 fi
4742
4743 if test "x$ac_cv_prog_cxx_cxx98" = xno
4744 then :
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4746 printf "%s\n" "unsupported" >&6; }
4747 else $as_nop
4748 if test "x$ac_cv_prog_cxx_cxx98" = x
4749 then :
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4751 printf "%s\n" "none needed" >&6; }
4752 else $as_nop
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4754 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
4755 CXX="$CXX $ac_cv_prog_cxx_cxx98"
4756 fi
4757 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
4758 ac_prog_cxx_stdcxx=cxx98
4759 fi
4760 fi
4761
41194762 ac_ext=c
41204763 ac_cpp='$CPP $CPPFLAGS'
41214764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41244767
41254768 depcc="$CXX" am_compiler_list=
41264769
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4128 $as_echo_n "checking dependency style of $depcc... " >&6; }
4129 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4771 printf %s "checking dependency style of $depcc... " >&6; }
4772 if test ${am_cv_CXX_dependencies_compiler_type+y}
4773 then :
4774 printf %s "(cached) " >&6
4775 else $as_nop
41324776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
41334777 # We make a subdir and do the tests there. Otherwise we can end up
41344778 # making bogus files that we don't know about and never remove. For
42354879 fi
42364880
42374881 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4239 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4883 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
42404884 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
42414885
42424886 if
42614905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42624906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4265 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4909 printf %s "checking how to run the C++ preprocessor... " >&6; }
42664910 if test -z "$CXXCPP"; then
4267 if ${ac_cv_prog_CXXCPP+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 # Double quotes because CXXCPP needs to be expanded
4271 for CXXCPP in "$CXX -E" "/lib/cpp"
4911 if test ${ac_cv_prog_CXXCPP+y}
4912 then :
4913 printf %s "(cached) " >&6
4914 else $as_nop
4915 # Double quotes because $CXX needs to be expanded
4916 for CXXCPP in "$CXX -E" cpp /lib/cpp
42724917 do
42734918 ac_preproc_ok=false
42744919 for ac_cxx_preproc_warn_flag in '' yes
42754920 do
42764921 # Use a header file that comes with gcc, so configuring glibc
42774922 # with a fresh cross-compiler works.
4278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4279 # <limits.h> exists even on freestanding compilers.
42804923 # On the NeXT, cc -E runs the code through the compiler's parser,
42814924 # not just through cpp. "Syntax error" is here to catch this case.
42824925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42834926 /* end confdefs.h. */
4284 #ifdef __STDC__
4285 # include <limits.h>
4286 #else
4287 # include <assert.h>
4288 #endif
4927 #include <limits.h>
42894928 Syntax error
42904929 _ACEOF
4291 if ac_fn_cxx_try_cpp "$LINENO"; then :
4292
4293 else
4930 if ac_fn_cxx_try_cpp "$LINENO"
4931 then :
4932
4933 else $as_nop
42944934 # Broken: fails on valid input.
42954935 continue
42964936 fi
43024942 /* end confdefs.h. */
43034943 #include <ac_nonexistent.h>
43044944 _ACEOF
4305 if ac_fn_cxx_try_cpp "$LINENO"; then :
4945 if ac_fn_cxx_try_cpp "$LINENO"
4946 then :
43064947 # Broken: success on invalid input.
43074948 continue
4308 else
4949 else $as_nop
43094950 # Passes both tests.
43104951 ac_preproc_ok=:
43114952 break
43154956 done
43164957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
43174958 rm -f conftest.i conftest.err conftest.$ac_ext
4318 if $ac_preproc_ok; then :
4959 if $ac_preproc_ok
4960 then :
43194961 break
43204962 fi
43214963
43274969 else
43284970 ac_cv_prog_CXXCPP=$CXXCPP
43294971 fi
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4331 $as_echo "$CXXCPP" >&6; }
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4973 printf "%s\n" "$CXXCPP" >&6; }
43324974 ac_preproc_ok=false
43334975 for ac_cxx_preproc_warn_flag in '' yes
43344976 do
43354977 # Use a header file that comes with gcc, so configuring glibc
43364978 # with a fresh cross-compiler works.
4337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4338 # <limits.h> exists even on freestanding compilers.
43394979 # On the NeXT, cc -E runs the code through the compiler's parser,
43404980 # not just through cpp. "Syntax error" is here to catch this case.
43414981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43424982 /* end confdefs.h. */
4343 #ifdef __STDC__
4344 # include <limits.h>
4345 #else
4346 # include <assert.h>
4347 #endif
4983 #include <limits.h>
43484984 Syntax error
43494985 _ACEOF
4350 if ac_fn_cxx_try_cpp "$LINENO"; then :
4351
4352 else
4986 if ac_fn_cxx_try_cpp "$LINENO"
4987 then :
4988
4989 else $as_nop
43534990 # Broken: fails on valid input.
43544991 continue
43554992 fi
43614998 /* end confdefs.h. */
43624999 #include <ac_nonexistent.h>
43635000 _ACEOF
4364 if ac_fn_cxx_try_cpp "$LINENO"; then :
5001 if ac_fn_cxx_try_cpp "$LINENO"
5002 then :
43655003 # Broken: success on invalid input.
43665004 continue
4367 else
5005 else $as_nop
43685006 # Passes both tests.
43695007 ac_preproc_ok=:
43705008 break
43745012 done
43755013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
43765014 rm -f conftest.i conftest.err conftest.$ac_ext
4377 if $ac_preproc_ok; then :
4378
4379 else
4380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5015 if $ac_preproc_ok
5016 then :
5017
5018 else $as_nop
5019 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5020 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
43825021 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
43835022 See \`config.log' for more details" "$LINENO" 5; }
43845023 fi
43905029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915030
43925031
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4394 $as_echo_n "checking whether ln -s works... " >&6; }
5032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5033 printf %s "checking whether ln -s works... " >&6; }
43955034 LN_S=$as_ln_s
43965035 if test "$LN_S" = "ln -s"; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4398 $as_echo "yes" >&6; }
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5037 printf "%s\n" "yes" >&6; }
43995038 else
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4401 $as_echo "no, using $LN_S" >&6; }
4402 fi
4403
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4405 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5040 printf "%s\n" "no, using $LN_S" >&6; }
5041 fi
5042
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5044 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
44065045 set x ${MAKE-make}
4407 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4408 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
5046 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5047 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
5048 then :
5049 printf %s "(cached) " >&6
5050 else $as_nop
44115051 cat >conftest.make <<\_ACEOF
44125052 SHELL = /bin/sh
44135053 all:
44235063 rm -f conftest.make
44245064 fi
44255065 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4427 $as_echo "yes" >&6; }
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5067 printf "%s\n" "yes" >&6; }
44285068 SET_MAKE=
44295069 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 printf "%s\n" "no" >&6; }
44325072 SET_MAKE="MAKE=${MAKE-make}"
44335073 fi
44345074
44355075 case `pwd` in
44365076 *\ * | *\ *)
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4438 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5078 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
44395079 esac
44405080
44415081
44425082
4443 macro_version='2.4.6'
4444 macro_revision='2.4.6'
5083 macro_version='2.4.7'
5084 macro_revision='2.4.7'
5085
44455086
44465087
44475088
44575098
44585099 ltmain=$ac_aux_dir/ltmain.sh
44595100
4460 # Make sure we can run config.sub.
4461 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4462 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4465 $as_echo_n "checking build system type... " >&6; }
4466 if ${ac_cv_build+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
5101
5102
5103 # Make sure we can run config.sub.
5104 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5105 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5106
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5108 printf %s "checking build system type... " >&6; }
5109 if test ${ac_cv_build+y}
5110 then :
5111 printf %s "(cached) " >&6
5112 else $as_nop
44695113 ac_build_alias=$build_alias
44705114 test "x$ac_build_alias" = x &&
4471 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5115 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
44725116 test "x$ac_build_alias" = x &&
44735117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4475 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4476
4477 fi
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4479 $as_echo "$ac_cv_build" >&6; }
5118 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5119 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5120
5121 fi
5122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5123 printf "%s\n" "$ac_cv_build" >&6; }
44805124 case $ac_cv_build in
44815125 *-*-*) ;;
44825126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
44955139 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
44965140
44975141
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4499 $as_echo_n "checking host system type... " >&6; }
4500 if ${ac_cv_host+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5143 printf %s "checking host system type... " >&6; }
5144 if test ${ac_cv_host+y}
5145 then :
5146 printf %s "(cached) " >&6
5147 else $as_nop
45035148 if test "x$host_alias" = x; then
45045149 ac_cv_host=$ac_cv_build
45055150 else
4506 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4507 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4508 fi
4509
4510 fi
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4512 $as_echo "$ac_cv_host" >&6; }
5151 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5152 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5153 fi
5154
5155 fi
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5157 printf "%s\n" "$ac_cv_host" >&6; }
45135158 case $ac_cv_host in
45145159 *-*-*) ;;
45155160 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
45495194 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
45505195 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
45515196
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4553 $as_echo_n "checking how to print strings... " >&6; }
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5198 printf %s "checking how to print strings... " >&6; }
45545199 # Test print first, because it will be a builtin if present.
45555200 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
45565201 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
45765221 }
45775222
45785223 case $ECHO in
4579 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4580 $as_echo "printf" >&6; } ;;
4581 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4582 $as_echo "print -r" >&6; } ;;
4583 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4584 $as_echo "cat" >&6; } ;;
5224 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5225 printf "%s\n" "printf" >&6; } ;;
5226 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5227 printf "%s\n" "print -r" >&6; } ;;
5228 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5229 printf "%s\n" "cat" >&6; } ;;
45855230 esac
5231
5232
5233
5234
5235
5236
5237
5238
5239
45865240
45875241
45885242
46055259 if test -n "$ac_tool_prefix"; then
46065260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
46075261 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_CC+:} false; then :
4611 $as_echo_n "(cached) " >&6
4612 else
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 printf %s "checking for $ac_word... " >&6; }
5264 if test ${ac_cv_prog_CC+y}
5265 then :
5266 printf %s "(cached) " >&6
5267 else $as_nop
46135268 if test -n "$CC"; then
46145269 ac_cv_prog_CC="$CC" # Let the user override the test.
46155270 else
46175272 for as_dir in $PATH
46185273 do
46195274 IFS=$as_save_IFS
4620 test -z "$as_dir" && as_dir=.
5275 case $as_dir in #(((
5276 '') as_dir=./ ;;
5277 */) ;;
5278 *) as_dir=$as_dir/ ;;
5279 esac
46215280 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
46235282 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
46255284 break 2
46265285 fi
46275286 done
46325291 fi
46335292 CC=$ac_cv_prog_CC
46345293 if test -n "$CC"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4636 $as_echo "$CC" >&6; }
5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5295 printf "%s\n" "$CC" >&6; }
46375296 else
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 printf "%s\n" "no" >&6; }
46405299 fi
46415300
46425301
46455304 ac_ct_CC=$CC
46465305 # Extract the first word of "gcc", so it can be a program name with args.
46475306 set dummy gcc; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 printf %s "checking for $ac_word... " >&6; }
5309 if test ${ac_cv_prog_ac_ct_CC+y}
5310 then :
5311 printf %s "(cached) " >&6
5312 else $as_nop
46535313 if test -n "$ac_ct_CC"; then
46545314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
46555315 else
46575317 for as_dir in $PATH
46585318 do
46595319 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
5320 case $as_dir in #(((
5321 '') as_dir=./ ;;
5322 */) ;;
5323 *) as_dir=$as_dir/ ;;
5324 esac
46615325 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
46635327 ac_cv_prog_ac_ct_CC="gcc"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
46655329 break 2
46665330 fi
46675331 done
46725336 fi
46735337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
46745338 if test -n "$ac_ct_CC"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4676 $as_echo "$ac_ct_CC" >&6; }
5339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5340 printf "%s\n" "$ac_ct_CC" >&6; }
46775341 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 printf "%s\n" "no" >&6; }
46805344 fi
46815345
46825346 if test "x$ac_ct_CC" = x; then
46845348 else
46855349 case $cross_compiling:$ac_tool_warned in
46865350 yes:)
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
46895353 ac_tool_warned=yes ;;
46905354 esac
46915355 CC=$ac_ct_CC
46985362 if test -n "$ac_tool_prefix"; then
46995363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
47005364 set dummy ${ac_tool_prefix}cc; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_CC+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 printf %s "checking for $ac_word... " >&6; }
5367 if test ${ac_cv_prog_CC+y}
5368 then :
5369 printf %s "(cached) " >&6
5370 else $as_nop
47065371 if test -n "$CC"; then
47075372 ac_cv_prog_CC="$CC" # Let the user override the test.
47085373 else
47105375 for as_dir in $PATH
47115376 do
47125377 IFS=$as_save_IFS
4713 test -z "$as_dir" && as_dir=.
5378 case $as_dir in #(((
5379 '') as_dir=./ ;;
5380 */) ;;
5381 *) as_dir=$as_dir/ ;;
5382 esac
47145383 for ac_exec_ext in '' $ac_executable_extensions; do
4715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
47165385 ac_cv_prog_CC="${ac_tool_prefix}cc"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
47185387 break 2
47195388 fi
47205389 done
47255394 fi
47265395 CC=$ac_cv_prog_CC
47275396 if test -n "$CC"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4729 $as_echo "$CC" >&6; }
5397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5398 printf "%s\n" "$CC" >&6; }
47305399 else
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 printf "%s\n" "no" >&6; }
47335402 fi
47345403
47355404
47385407 if test -z "$CC"; then
47395408 # Extract the first word of "cc", so it can be a program name with args.
47405409 set dummy cc; ac_word=$2
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4742 $as_echo_n "checking for $ac_word... " >&6; }
4743 if ${ac_cv_prog_CC+:} false; then :
4744 $as_echo_n "(cached) " >&6
4745 else
5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 printf %s "checking for $ac_word... " >&6; }
5412 if test ${ac_cv_prog_CC+y}
5413 then :
5414 printf %s "(cached) " >&6
5415 else $as_nop
47465416 if test -n "$CC"; then
47475417 ac_cv_prog_CC="$CC" # Let the user override the test.
47485418 else
47515421 for as_dir in $PATH
47525422 do
47535423 IFS=$as_save_IFS
4754 test -z "$as_dir" && as_dir=.
5424 case $as_dir in #(((
5425 '') as_dir=./ ;;
5426 */) ;;
5427 *) as_dir=$as_dir/ ;;
5428 esac
47555429 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5431 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
47585432 ac_prog_rejected=yes
47595433 continue
47605434 fi
47615435 ac_cv_prog_CC="cc"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
47635437 break 2
47645438 fi
47655439 done
47755449 # However, it has the same basename, so the bogon will be chosen
47765450 # first if we set CC to just the basename; use the full file name.
47775451 shift
4778 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5452 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
47795453 fi
47805454 fi
47815455 fi
47825456 fi
47835457 CC=$ac_cv_prog_CC
47845458 if test -n "$CC"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4786 $as_echo "$CC" >&6; }
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5460 printf "%s\n" "$CC" >&6; }
47875461 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 printf "%s\n" "no" >&6; }
47905464 fi
47915465
47925466
47975471 do
47985472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
47995473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if ${ac_cv_prog_CC+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 printf %s "checking for $ac_word... " >&6; }
5476 if test ${ac_cv_prog_CC+y}
5477 then :
5478 printf %s "(cached) " >&6
5479 else $as_nop
48055480 if test -n "$CC"; then
48065481 ac_cv_prog_CC="$CC" # Let the user override the test.
48075482 else
48095484 for as_dir in $PATH
48105485 do
48115486 IFS=$as_save_IFS
4812 test -z "$as_dir" && as_dir=.
5487 case $as_dir in #(((
5488 '') as_dir=./ ;;
5489 */) ;;
5490 *) as_dir=$as_dir/ ;;
5491 esac
48135492 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
48155494 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
48175496 break 2
48185497 fi
48195498 done
48245503 fi
48255504 CC=$ac_cv_prog_CC
48265505 if test -n "$CC"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4828 $as_echo "$CC" >&6; }
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5507 printf "%s\n" "$CC" >&6; }
48295508 else
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 printf "%s\n" "no" >&6; }
48325511 fi
48335512
48345513
48415520 do
48425521 # Extract the first word of "$ac_prog", so it can be a program name with args.
48435522 set dummy $ac_prog; ac_word=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 printf %s "checking for $ac_word... " >&6; }
5525 if test ${ac_cv_prog_ac_ct_CC+y}
5526 then :
5527 printf %s "(cached) " >&6
5528 else $as_nop
48495529 if test -n "$ac_ct_CC"; then
48505530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
48515531 else
48535533 for as_dir in $PATH
48545534 do
48555535 IFS=$as_save_IFS
4856 test -z "$as_dir" && as_dir=.
5536 case $as_dir in #(((
5537 '') as_dir=./ ;;
5538 */) ;;
5539 *) as_dir=$as_dir/ ;;
5540 esac
48575541 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
48595543 ac_cv_prog_ac_ct_CC="$ac_prog"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
48615545 break 2
48625546 fi
48635547 done
48685552 fi
48695553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
48705554 if test -n "$ac_ct_CC"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4872 $as_echo "$ac_ct_CC" >&6; }
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5556 printf "%s\n" "$ac_ct_CC" >&6; }
48735557 else
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 printf "%s\n" "no" >&6; }
48765560 fi
48775561
48785562
48845568 else
48855569 case $cross_compiling:$ac_tool_warned in
48865570 yes:)
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5572 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48895573 ac_tool_warned=yes ;;
48905574 esac
48915575 CC=$ac_ct_CC
48935577 fi
48945578
48955579 fi
4896
4897
4898 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5580 if test -z "$CC"; then
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}clang; ac_word=$2
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 printf %s "checking for $ac_word... " >&6; }
5586 if test ${ac_cv_prog_CC+y}
5587 then :
5588 printf %s "(cached) " >&6
5589 else $as_nop
5590 if test -n "$CC"; then
5591 ac_cv_prog_CC="$CC" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5595 do
5596 IFS=$as_save_IFS
5597 case $as_dir in #(((
5598 '') as_dir=./ ;;
5599 */) ;;
5600 *) as_dir=$as_dir/ ;;
5601 esac
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_CC="${ac_tool_prefix}clang"
5605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5606 break 2
5607 fi
5608 done
5609 done
5610 IFS=$as_save_IFS
5611
5612 fi
5613 fi
5614 CC=$ac_cv_prog_CC
5615 if test -n "$CC"; then
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5617 printf "%s\n" "$CC" >&6; }
5618 else
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 printf "%s\n" "no" >&6; }
5621 fi
5622
5623
5624 fi
5625 if test -z "$ac_cv_prog_CC"; then
5626 ac_ct_CC=$CC
5627 # Extract the first word of "clang", so it can be a program name with args.
5628 set dummy clang; ac_word=$2
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 printf %s "checking for $ac_word... " >&6; }
5631 if test ${ac_cv_prog_ac_ct_CC+y}
5632 then :
5633 printf %s "(cached) " >&6
5634 else $as_nop
5635 if test -n "$ac_ct_CC"; then
5636 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5640 do
5641 IFS=$as_save_IFS
5642 case $as_dir in #(((
5643 '') as_dir=./ ;;
5644 */) ;;
5645 *) as_dir=$as_dir/ ;;
5646 esac
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_ac_ct_CC="clang"
5650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5651 break 2
5652 fi
5653 done
5654 done
5655 IFS=$as_save_IFS
5656
5657 fi
5658 fi
5659 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5660 if test -n "$ac_ct_CC"; then
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5662 printf "%s\n" "$ac_ct_CC" >&6; }
5663 else
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 printf "%s\n" "no" >&6; }
5666 fi
5667
5668 if test "x$ac_ct_CC" = x; then
5669 CC=""
5670 else
5671 case $cross_compiling:$ac_tool_warned in
5672 yes:)
5673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned=yes ;;
5676 esac
5677 CC=$ac_ct_CC
5678 fi
5679 else
5680 CC="$ac_cv_prog_CC"
5681 fi
5682
5683 fi
5684
5685
5686 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5687 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
49005688 as_fn_error $? "no acceptable C compiler found in \$PATH
49015689 See \`config.log' for more details" "$LINENO" 5; }
49025690
49035691 # Provide some information about the compiler.
4904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
49055693 set X $ac_compile
49065694 ac_compiler=$2
4907 for ac_option in --version -v -V -qversion; do
5695 for ac_option in --version -v -V -qversion -version; do
49085696 { { ac_try="$ac_compiler $ac_option >&5"
49095697 case "(($ac_try" in
49105698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49115699 *) ac_try_echo=$ac_try;;
49125700 esac
49135701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4914 $as_echo "$ac_try_echo"; } >&5
5702 printf "%s\n" "$ac_try_echo"; } >&5
49155703 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
49165704 ac_status=$?
49175705 if test -s conftest.err; then
49215709 cat conftest.er1 >&5
49225710 fi
49235711 rm -f conftest.er1 conftest.err
4924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49255713 test $ac_status = 0; }
49265714 done
49275715
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4929 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4930 if ${ac_cv_c_compiler_gnu+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5717 printf %s "checking whether the compiler supports GNU C... " >&6; }
5718 if test ${ac_cv_c_compiler_gnu+y}
5719 then :
5720 printf %s "(cached) " >&6
5721 else $as_nop
49335722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49345723 /* end confdefs.h. */
49355724
49365725 int
4937 main ()
5726 main (void)
49385727 {
49395728 #ifndef __GNUC__
49405729 choke me
49445733 return 0;
49455734 }
49465735 _ACEOF
4947 if ac_fn_c_try_compile "$LINENO"; then :
5736 if ac_fn_c_try_compile "$LINENO"
5737 then :
49485738 ac_compiler_gnu=yes
4949 else
5739 else $as_nop
49505740 ac_compiler_gnu=no
49515741 fi
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
49535743 ac_cv_c_compiler_gnu=$ac_compiler_gnu
49545744
49555745 fi
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4957 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5747 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5749
49585750 if test $ac_compiler_gnu = yes; then
49595751 GCC=yes
49605752 else
49615753 GCC=
49625754 fi
4963 ac_test_CFLAGS=${CFLAGS+set}
5755 ac_test_CFLAGS=${CFLAGS+y}
49645756 ac_save_CFLAGS=$CFLAGS
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4966 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4967 if ${ac_cv_prog_cc_g+:} false; then :
4968 $as_echo_n "(cached) " >&6
4969 else
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5758 printf %s "checking whether $CC accepts -g... " >&6; }
5759 if test ${ac_cv_prog_cc_g+y}
5760 then :
5761 printf %s "(cached) " >&6
5762 else $as_nop
49705763 ac_save_c_werror_flag=$ac_c_werror_flag
49715764 ac_c_werror_flag=yes
49725765 ac_cv_prog_cc_g=no
49755768 /* end confdefs.h. */
49765769
49775770 int
4978 main ()
5771 main (void)
49795772 {
49805773
49815774 ;
49825775 return 0;
49835776 }
49845777 _ACEOF
4985 if ac_fn_c_try_compile "$LINENO"; then :
5778 if ac_fn_c_try_compile "$LINENO"
5779 then :
49865780 ac_cv_prog_cc_g=yes
4987 else
5781 else $as_nop
49885782 CFLAGS=""
49895783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49905784 /* end confdefs.h. */
49915785
49925786 int
4993 main ()
5787 main (void)
49945788 {
49955789
49965790 ;
49975791 return 0;
49985792 }
49995793 _ACEOF
5000 if ac_fn_c_try_compile "$LINENO"; then :
5001
5002 else
5794 if ac_fn_c_try_compile "$LINENO"
5795 then :
5796
5797 else $as_nop
50035798 ac_c_werror_flag=$ac_save_c_werror_flag
50045799 CFLAGS="-g"
50055800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50065801 /* end confdefs.h. */
50075802
50085803 int
5009 main ()
5804 main (void)
50105805 {
50115806
50125807 ;
50135808 return 0;
50145809 }
50155810 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5811 if ac_fn_c_try_compile "$LINENO"
5812 then :
50175813 ac_cv_prog_cc_g=yes
50185814 fi
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 fi
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 fi
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5816 fi
5817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5818 fi
5819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
50245820 ac_c_werror_flag=$ac_save_c_werror_flag
50255821 fi
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5027 $as_echo "$ac_cv_prog_cc_g" >&6; }
5028 if test "$ac_test_CFLAGS" = set; then
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5823 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5824 if test $ac_test_CFLAGS; then
50295825 CFLAGS=$ac_save_CFLAGS
50305826 elif test $ac_cv_prog_cc_g = yes; then
50315827 if test "$GCC" = yes; then
50405836 CFLAGS=
50415837 fi
50425838 fi
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5044 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5045 if ${ac_cv_prog_cc_c89+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5839 ac_prog_cc_stdc=no
5840 if test x$ac_prog_cc_stdc = xno
5841 then :
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5843 printf %s "checking for $CC option to enable C11 features... " >&6; }
5844 if test ${ac_cv_prog_cc_c11+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 ac_cv_prog_cc_c11=no
5849 ac_save_CC=$CC
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5852 $ac_c_conftest_c11_program
5853 _ACEOF
5854 for ac_arg in '' -std=gnu11
5855 do
5856 CC="$ac_save_CC $ac_arg"
5857 if ac_fn_c_try_compile "$LINENO"
5858 then :
5859 ac_cv_prog_cc_c11=$ac_arg
5860 fi
5861 rm -f core conftest.err conftest.$ac_objext conftest.beam
5862 test "x$ac_cv_prog_cc_c11" != "xno" && break
5863 done
5864 rm -f conftest.$ac_ext
5865 CC=$ac_save_CC
5866 fi
5867
5868 if test "x$ac_cv_prog_cc_c11" = xno
5869 then :
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5871 printf "%s\n" "unsupported" >&6; }
5872 else $as_nop
5873 if test "x$ac_cv_prog_cc_c11" = x
5874 then :
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5876 printf "%s\n" "none needed" >&6; }
5877 else $as_nop
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5879 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5880 CC="$CC $ac_cv_prog_cc_c11"
5881 fi
5882 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5883 ac_prog_cc_stdc=c11
5884 fi
5885 fi
5886 if test x$ac_prog_cc_stdc = xno
5887 then :
5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5889 printf %s "checking for $CC option to enable C99 features... " >&6; }
5890 if test ${ac_cv_prog_cc_c99+y}
5891 then :
5892 printf %s "(cached) " >&6
5893 else $as_nop
5894 ac_cv_prog_cc_c99=no
5895 ac_save_CC=$CC
5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5898 $ac_c_conftest_c99_program
5899 _ACEOF
5900 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5901 do
5902 CC="$ac_save_CC $ac_arg"
5903 if ac_fn_c_try_compile "$LINENO"
5904 then :
5905 ac_cv_prog_cc_c99=$ac_arg
5906 fi
5907 rm -f core conftest.err conftest.$ac_objext conftest.beam
5908 test "x$ac_cv_prog_cc_c99" != "xno" && break
5909 done
5910 rm -f conftest.$ac_ext
5911 CC=$ac_save_CC
5912 fi
5913
5914 if test "x$ac_cv_prog_cc_c99" = xno
5915 then :
5916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5917 printf "%s\n" "unsupported" >&6; }
5918 else $as_nop
5919 if test "x$ac_cv_prog_cc_c99" = x
5920 then :
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5922 printf "%s\n" "none needed" >&6; }
5923 else $as_nop
5924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5925 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5926 CC="$CC $ac_cv_prog_cc_c99"
5927 fi
5928 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5929 ac_prog_cc_stdc=c99
5930 fi
5931 fi
5932 if test x$ac_prog_cc_stdc = xno
5933 then :
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5935 printf %s "checking for $CC option to enable C89 features... " >&6; }
5936 if test ${ac_cv_prog_cc_c89+y}
5937 then :
5938 printf %s "(cached) " >&6
5939 else $as_nop
50485940 ac_cv_prog_cc_c89=no
50495941 ac_save_CC=$CC
50505942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50515943 /* end confdefs.h. */
5052 #include <stdarg.h>
5053 #include <stdio.h>
5054 struct stat;
5055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5056 struct buf { int x; };
5057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5058 static char *e (p, i)
5059 char **p;
5060 int i;
5061 {
5062 return p[i];
5063 }
5064 static char *f (char * (*g) (char **, int), char **p, ...)
5065 {
5066 char *s;
5067 va_list v;
5068 va_start (v,p);
5069 s = g (p, va_arg (v,int));
5070 va_end (v);
5071 return s;
5072 }
5073
5074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5075 function prototypes and stuff, but not '\xHH' hex character constants.
5076 These don't provoke an error unfortunately, instead are silently treated
5077 as 'x'. The following induces an error, until -std is added to get
5078 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5079 array size at least. It's necessary to write '\x00'==0 to get something
5080 that's true only with -std. */
5081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5082
5083 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5084 inside strings and character constants. */
5085 #define FOO(x) 'x'
5086 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5087
5088 int test (int i, double x);
5089 struct s1 {int (*f) (int a);};
5090 struct s2 {int (*f) (double a);};
5091 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5092 int argc;
5093 char **argv;
5094 int
5095 main ()
5096 {
5097 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5098 ;
5099 return 0;
5100 }
5944 $ac_c_conftest_c89_program
51015945 _ACEOF
5102 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5103 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5946 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
51045947 do
51055948 CC="$ac_save_CC $ac_arg"
5106 if ac_fn_c_try_compile "$LINENO"; then :
5949 if ac_fn_c_try_compile "$LINENO"
5950 then :
51075951 ac_cv_prog_cc_c89=$ac_arg
51085952 fi
5109 rm -f core conftest.err conftest.$ac_objext
5953 rm -f core conftest.err conftest.$ac_objext conftest.beam
51105954 test "x$ac_cv_prog_cc_c89" != "xno" && break
51115955 done
51125956 rm -f conftest.$ac_ext
51135957 CC=$ac_save_CC
5114
5115 fi
5116 # AC_CACHE_VAL
5117 case "x$ac_cv_prog_cc_c89" in
5118 x)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5120 $as_echo "none needed" >&6; } ;;
5121 xno)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5123 $as_echo "unsupported" >&6; } ;;
5124 *)
5125 CC="$CC $ac_cv_prog_cc_c89"
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5127 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5128 esac
5129 if test "x$ac_cv_prog_cc_c89" != xno; then :
5130
5958 fi
5959
5960 if test "x$ac_cv_prog_cc_c89" = xno
5961 then :
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5963 printf "%s\n" "unsupported" >&6; }
5964 else $as_nop
5965 if test "x$ac_cv_prog_cc_c89" = x
5966 then :
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5968 printf "%s\n" "none needed" >&6; }
5969 else $as_nop
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5971 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5972 CC="$CC $ac_cv_prog_cc_c89"
5973 fi
5974 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5975 ac_prog_cc_stdc=c89
5976 fi
51315977 fi
51325978
51335979 ac_ext=c
51365982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51385984
5139 ac_ext=c
5985
5986 ac_ext=c
51405987 ac_cpp='$CPP $CPPFLAGS'
51415988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51425989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5145 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5146 if ${am_cv_prog_cc_c_o+:} false; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5992 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5993 if test ${am_cv_prog_cc_c_o+y}
5994 then :
5995 printf %s "(cached) " >&6
5996 else $as_nop
51495997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51505998 /* end confdefs.h. */
51515999
51526000 int
5153 main ()
6001 main (void)
51546002 {
51556003
51566004 ;
51786026 rm -f core conftest*
51796027 unset am_i
51806028 fi
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5182 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6030 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
51836031 if test "$am_cv_prog_cc_c_o" != yes; then
51846032 # Losing compiler, so override with the script.
51856033 # FIXME: It is wrong to rewrite CC.
51976045
51986046 depcc="$CC" am_compiler_list=
51996047
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5201 $as_echo_n "checking dependency style of $depcc... " >&6; }
5202 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6049 printf %s "checking dependency style of $depcc... " >&6; }
6050 if test ${am_cv_CC_dependencies_compiler_type+y}
6051 then :
6052 printf %s "(cached) " >&6
6053 else $as_nop
52056054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
52066055 # We make a subdir and do the tests there. Otherwise we can end up
52076056 # making bogus files that we don't know about and never remove. For
53086157 fi
53096158
53106159 fi
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5312 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6161 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
53136162 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
53146163
53156164 if
53236172 fi
53246173
53256174
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5327 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5328 if ${ac_cv_path_SED+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6176 printf %s "checking for a sed that does not truncate output... " >&6; }
6177 if test ${ac_cv_path_SED+y}
6178 then :
6179 printf %s "(cached) " >&6
6180 else $as_nop
53316181 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
53326182 for ac_i in 1 2 3 4 5 6 7; do
53336183 ac_script="$ac_script$as_nl$ac_script"
53416191 for as_dir in $PATH
53426192 do
53436193 IFS=$as_save_IFS
5344 test -z "$as_dir" && as_dir=.
5345 for ac_prog in sed gsed; do
6194 case $as_dir in #(((
6195 '') as_dir=./ ;;
6196 */) ;;
6197 *) as_dir=$as_dir/ ;;
6198 esac
6199 for ac_prog in sed gsed
6200 do
53466201 for ac_exec_ext in '' $ac_executable_extensions; do
5347 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6202 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
53486203 as_fn_executable_p "$ac_path_SED" || continue
53496204 # Check for GNU ac_path_SED and select it if it is found.
53506205 # Check for GNU $ac_path_SED
53536208 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
53546209 *)
53556210 ac_count=0
5356 $as_echo_n 0123456789 >"conftest.in"
6211 printf %s 0123456789 >"conftest.in"
53576212 while :
53586213 do
53596214 cat "conftest.in" "conftest.in" >"conftest.tmp"
53606215 mv "conftest.tmp" "conftest.in"
53616216 cp "conftest.in" "conftest.nl"
5362 $as_echo '' >> "conftest.nl"
6217 printf "%s\n" '' >> "conftest.nl"
53636218 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
53646219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
53656220 as_fn_arith $ac_count + 1 && ac_count=$as_val
53876242 fi
53886243
53896244 fi
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5391 $as_echo "$ac_cv_path_SED" >&6; }
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6246 printf "%s\n" "$ac_cv_path_SED" >&6; }
53926247 SED="$ac_cv_path_SED"
53936248 rm -f conftest.sed
53946249
54056260
54066261
54076262
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5409 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5410 if ${ac_cv_path_GREP+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6264 printf %s "checking for grep that handles long lines and -e... " >&6; }
6265 if test ${ac_cv_path_GREP+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
54136269 if test -z "$GREP"; then
54146270 ac_path_GREP_found=false
54156271 # Loop through the user's path and test for each of PROGNAME-LIST
54176273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
54186274 do
54196275 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_prog in grep ggrep; do
6276 case $as_dir in #(((
6277 '') as_dir=./ ;;
6278 */) ;;
6279 *) as_dir=$as_dir/ ;;
6280 esac
6281 for ac_prog in grep ggrep
6282 do
54226283 for ac_exec_ext in '' $ac_executable_extensions; do
5423 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6284 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
54246285 as_fn_executable_p "$ac_path_GREP" || continue
54256286 # Check for GNU ac_path_GREP and select it if it is found.
54266287 # Check for GNU $ac_path_GREP
54296290 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
54306291 *)
54316292 ac_count=0
5432 $as_echo_n 0123456789 >"conftest.in"
6293 printf %s 0123456789 >"conftest.in"
54336294 while :
54346295 do
54356296 cat "conftest.in" "conftest.in" >"conftest.tmp"
54366297 mv "conftest.tmp" "conftest.in"
54376298 cp "conftest.in" "conftest.nl"
5438 $as_echo 'GREP' >> "conftest.nl"
6299 printf "%s\n" 'GREP' >> "conftest.nl"
54396300 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
54406301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
54416302 as_fn_arith $ac_count + 1 && ac_count=$as_val
54636324 fi
54646325
54656326 fi
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5467 $as_echo "$ac_cv_path_GREP" >&6; }
6327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6328 printf "%s\n" "$ac_cv_path_GREP" >&6; }
54686329 GREP="$ac_cv_path_GREP"
54696330
54706331
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5472 $as_echo_n "checking for egrep... " >&6; }
5473 if ${ac_cv_path_EGREP+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6333 printf %s "checking for egrep... " >&6; }
6334 if test ${ac_cv_path_EGREP+y}
6335 then :
6336 printf %s "(cached) " >&6
6337 else $as_nop
54766338 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
54776339 then ac_cv_path_EGREP="$GREP -E"
54786340 else
54836345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
54846346 do
54856347 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in egrep; do
6348 case $as_dir in #(((
6349 '') as_dir=./ ;;
6350 */) ;;
6351 *) as_dir=$as_dir/ ;;
6352 esac
6353 for ac_prog in egrep
6354 do
54886355 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6356 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
54906357 as_fn_executable_p "$ac_path_EGREP" || continue
54916358 # Check for GNU ac_path_EGREP and select it if it is found.
54926359 # Check for GNU $ac_path_EGREP
54956362 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
54966363 *)
54976364 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
6365 printf %s 0123456789 >"conftest.in"
54996366 while :
55006367 do
55016368 cat "conftest.in" "conftest.in" >"conftest.tmp"
55026369 mv "conftest.tmp" "conftest.in"
55036370 cp "conftest.in" "conftest.nl"
5504 $as_echo 'EGREP' >> "conftest.nl"
6371 printf "%s\n" 'EGREP' >> "conftest.nl"
55056372 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
55066373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
55076374 as_fn_arith $ac_count + 1 && ac_count=$as_val
55306397
55316398 fi
55326399 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5534 $as_echo "$ac_cv_path_EGREP" >&6; }
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6401 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
55356402 EGREP="$ac_cv_path_EGREP"
55366403
55376404
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5539 $as_echo_n "checking for fgrep... " >&6; }
5540 if ${ac_cv_path_FGREP+:} false; then :
5541 $as_echo_n "(cached) " >&6
5542 else
6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6406 printf %s "checking for fgrep... " >&6; }
6407 if test ${ac_cv_path_FGREP+y}
6408 then :
6409 printf %s "(cached) " >&6
6410 else $as_nop
55436411 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
55446412 then ac_cv_path_FGREP="$GREP -F"
55456413 else
55506418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
55516419 do
55526420 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_prog in fgrep; do
6421 case $as_dir in #(((
6422 '') as_dir=./ ;;
6423 */) ;;
6424 *) as_dir=$as_dir/ ;;
6425 esac
6426 for ac_prog in fgrep
6427 do
55556428 for ac_exec_ext in '' $ac_executable_extensions; do
5556 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6429 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
55576430 as_fn_executable_p "$ac_path_FGREP" || continue
55586431 # Check for GNU ac_path_FGREP and select it if it is found.
55596432 # Check for GNU $ac_path_FGREP
55626435 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
55636436 *)
55646437 ac_count=0
5565 $as_echo_n 0123456789 >"conftest.in"
6438 printf %s 0123456789 >"conftest.in"
55666439 while :
55676440 do
55686441 cat "conftest.in" "conftest.in" >"conftest.tmp"
55696442 mv "conftest.tmp" "conftest.in"
55706443 cp "conftest.in" "conftest.nl"
5571 $as_echo 'FGREP' >> "conftest.nl"
6444 printf "%s\n" 'FGREP' >> "conftest.nl"
55726445 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
55736446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
55746447 as_fn_arith $ac_count + 1 && ac_count=$as_val
55976470
55986471 fi
55996472 fi
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5601 $as_echo "$ac_cv_path_FGREP" >&6; }
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6474 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
56026475 FGREP="$ac_cv_path_FGREP"
56036476
56046477
56236496
56246497
56256498 # Check whether --with-gnu-ld was given.
5626 if test "${with_gnu_ld+set}" = set; then :
6499 if test ${with_gnu_ld+y}
6500 then :
56276501 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5628 else
6502 else $as_nop
56296503 with_gnu_ld=no
56306504 fi
56316505
56326506 ac_prog=ld
56336507 if test yes = "$GCC"; then
56346508 # Check if gcc -print-prog-name=ld gives a path.
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5636 $as_echo_n "checking for ld used by $CC... " >&6; }
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6510 printf %s "checking for ld used by $CC... " >&6; }
56376511 case $host in
56386512 *-*-mingw*)
56396513 # gcc leaves a trailing carriage return, which upsets mingw
56626536 ;;
56636537 esac
56646538 elif test yes = "$with_gnu_ld"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5666 $as_echo_n "checking for GNU ld... " >&6; }
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6540 printf %s "checking for GNU ld... " >&6; }
56676541 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5669 $as_echo_n "checking for non-GNU ld... " >&6; }
5670 fi
5671 if ${lt_cv_path_LD+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6543 printf %s "checking for non-GNU ld... " >&6; }
6544 fi
6545 if test ${lt_cv_path_LD+y}
6546 then :
6547 printf %s "(cached) " >&6
6548 else $as_nop
56746549 if test -z "$LD"; then
56756550 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
56766551 for ac_dir in $PATH; do
56996574
57006575 LD=$lt_cv_path_LD
57016576 if test -n "$LD"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5703 $as_echo "$LD" >&6; }
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6578 printf "%s\n" "$LD" >&6; }
57046579 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 printf "%s\n" "no" >&6; }
57076582 fi
57086583 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5710 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5711 if ${lt_cv_prog_gnu_ld+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6585 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6586 if test ${lt_cv_prog_gnu_ld+y}
6587 then :
6588 printf %s "(cached) " >&6
6589 else $as_nop
57146590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
57156591 case `$LD -v 2>&1 </dev/null` in
57166592 *GNU* | *'with BFD'*)
57216597 ;;
57226598 esac
57236599 fi
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5725 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6601 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
57266602 with_gnu_ld=$lt_cv_prog_gnu_ld
57276603
57286604
57336609
57346610
57356611
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5737 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5738 if ${lt_cv_path_NM+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6613 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6614 if test ${lt_cv_path_NM+y}
6615 then :
6616 printf %s "(cached) " >&6
6617 else $as_nop
57416618 if test -n "$NM"; then
57426619 # Let the user override the test.
57436620 lt_cv_path_NM=$NM
57626639 mingw*) lt_bad_file=conftest.nm/nofile ;;
57636640 *) lt_bad_file=/dev/null ;;
57646641 esac
5765 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6642 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
57666643 *$lt_bad_file* | *'Invalid file or object type'*)
57676644 lt_cv_path_NM="$tmp_nm -B"
57686645 break 2
57696646 ;;
57706647 *)
5771 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6648 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
57726649 */dev/null*)
57736650 lt_cv_path_NM="$tmp_nm -p"
57746651 break 2
57876664 : ${lt_cv_path_NM=no}
57886665 fi
57896666 fi
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5791 $as_echo "$lt_cv_path_NM" >&6; }
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6668 printf "%s\n" "$lt_cv_path_NM" >&6; }
57926669 if test no != "$lt_cv_path_NM"; then
57936670 NM=$lt_cv_path_NM
57946671 else
58016678 do
58026679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
58036680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if ${ac_cv_prog_DUMPBIN+:} false; then :
5807 $as_echo_n "(cached) " >&6
5808 else
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 printf %s "checking for $ac_word... " >&6; }
6683 if test ${ac_cv_prog_DUMPBIN+y}
6684 then :
6685 printf %s "(cached) " >&6
6686 else $as_nop
58096687 if test -n "$DUMPBIN"; then
58106688 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
58116689 else
58136691 for as_dir in $PATH
58146692 do
58156693 IFS=$as_save_IFS
5816 test -z "$as_dir" && as_dir=.
6694 case $as_dir in #(((
6695 '') as_dir=./ ;;
6696 */) ;;
6697 *) as_dir=$as_dir/ ;;
6698 esac
58176699 for ac_exec_ext in '' $ac_executable_extensions; do
5818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6700 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
58196701 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
58216703 break 2
58226704 fi
58236705 done
58286710 fi
58296711 DUMPBIN=$ac_cv_prog_DUMPBIN
58306712 if test -n "$DUMPBIN"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5832 $as_echo "$DUMPBIN" >&6; }
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6714 printf "%s\n" "$DUMPBIN" >&6; }
58336715 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 printf "%s\n" "no" >&6; }
58366718 fi
58376719
58386720
58456727 do
58466728 # Extract the first word of "$ac_prog", so it can be a program name with args.
58476729 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 printf %s "checking for $ac_word... " >&6; }
6732 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6733 then :
6734 printf %s "(cached) " >&6
6735 else $as_nop
58536736 if test -n "$ac_ct_DUMPBIN"; then
58546737 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
58556738 else
58576740 for as_dir in $PATH
58586741 do
58596742 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
6743 case $as_dir in #(((
6744 '') as_dir=./ ;;
6745 */) ;;
6746 *) as_dir=$as_dir/ ;;
6747 esac
58616748 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
58636750 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
58656752 break 2
58666753 fi
58676754 done
58726759 fi
58736760 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
58746761 if test -n "$ac_ct_DUMPBIN"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5876 $as_echo "$ac_ct_DUMPBIN" >&6; }
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6763 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
58776764 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 printf "%s\n" "no" >&6; }
58806767 fi
58816768
58826769
58886775 else
58896776 case $cross_compiling:$ac_tool_warned in
58906777 yes:)
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
58936780 ac_tool_warned=yes ;;
58946781 esac
58956782 DUMPBIN=$ac_ct_DUMPBIN
58966783 fi
58976784 fi
58986785
5899 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6786 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
59006787 *COFF*)
59016788 DUMPBIN="$DUMPBIN -symbols -headers"
59026789 ;;
59176804
59186805
59196806
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5921 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5922 if ${lt_cv_nm_interface+:} false; then :
5923 $as_echo_n "(cached) " >&6
5924 else
6807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6808 printf %s "checking the name lister ($NM) interface... " >&6; }
6809 if test ${lt_cv_nm_interface+y}
6810 then :
6811 printf %s "(cached) " >&6
6812 else $as_nop
59256813 lt_cv_nm_interface="BSD nm"
59266814 echo "int some_variable = 0;" > conftest.$ac_ext
59276815 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
59376825 fi
59386826 rm -f conftest*
59396827 fi
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5941 $as_echo "$lt_cv_nm_interface" >&6; }
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6829 printf "%s\n" "$lt_cv_nm_interface" >&6; }
59426830
59436831 # find the maximum length of command line arguments
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5945 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5946 if ${lt_cv_sys_max_cmd_len+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6833 printf %s "checking the maximum length of command line arguments... " >&6; }
6834 if test ${lt_cv_sys_max_cmd_len+y}
6835 then :
6836 printf %s "(cached) " >&6
6837 else $as_nop
59496838 i=0
59506839 teststring=ABCD
59516840
59876876 lt_cv_sys_max_cmd_len=8192;
59886877 ;;
59896878
5990 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6879 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
59916880 # This has been around since 386BSD, at least. Likely further.
59926881 if test -x /sbin/sysctl; then
59936882 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
60306919 sysv5* | sco5v6* | sysv4.2uw2*)
60316920 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
60326921 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6922 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
60346923 else
60356924 lt_cv_sys_max_cmd_len=32768
60366925 fi
60726961 fi
60736962
60746963 if test -n "$lt_cv_sys_max_cmd_len"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6076 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6965 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
60776966 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6079 $as_echo "none" >&6; }
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6968 printf "%s\n" "none" >&6; }
60806969 fi
60816970 max_cmd_len=$lt_cv_sys_max_cmd_len
60826971
61207009
61217010
61227011
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6124 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6125 if ${lt_cv_to_host_file_cmd+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7013 printf %s "checking how to convert $build file names to $host format... " >&6; }
7014 if test ${lt_cv_to_host_file_cmd+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else $as_nop
61287018 case $host in
61297019 *-*-mingw* )
61307020 case $build in
61607050 fi
61617051
61627052 to_host_file_cmd=$lt_cv_to_host_file_cmd
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6164 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6165
6166
6167
6168
6169
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6171 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6172 if ${lt_cv_to_tool_file_cmd+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7054 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
7055
7056
7057
7058
7059
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7061 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
7062 if test ${lt_cv_to_tool_file_cmd+y}
7063 then :
7064 printf %s "(cached) " >&6
7065 else $as_nop
61757066 #assume ordinary cross tools, or native build.
61767067 lt_cv_to_tool_file_cmd=func_convert_file_noop
61777068 case $host in
61877078 fi
61887079
61897080 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6191 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6192
6193
6194
6195
6196
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6198 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6199 if ${lt_cv_ld_reload_flag+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7082 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
7083
7084
7085
7086
7087
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7089 printf %s "checking for $LD option to reload object files... " >&6; }
7090 if test ${lt_cv_ld_reload_flag+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
62027094 lt_cv_ld_reload_flag='-r'
62037095 fi
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6205 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7097 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
62067098 reload_flag=$lt_cv_ld_reload_flag
62077099 case $reload_flag in
62087100 "" | " "*) ;;
62337125
62347126
62357127 if test -n "$ac_tool_prefix"; then
7128 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}file; ac_word=$2
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 printf %s "checking for $ac_word... " >&6; }
7132 if test ${ac_cv_prog_FILECMD+y}
7133 then :
7134 printf %s "(cached) " >&6
7135 else $as_nop
7136 if test -n "$FILECMD"; then
7137 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7141 do
7142 IFS=$as_save_IFS
7143 case $as_dir in #(((
7144 '') as_dir=./ ;;
7145 */) ;;
7146 *) as_dir=$as_dir/ ;;
7147 esac
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
7151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7152 break 2
7153 fi
7154 done
7155 done
7156 IFS=$as_save_IFS
7157
7158 fi
7159 fi
7160 FILECMD=$ac_cv_prog_FILECMD
7161 if test -n "$FILECMD"; then
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
7163 printf "%s\n" "$FILECMD" >&6; }
7164 else
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 printf "%s\n" "no" >&6; }
7167 fi
7168
7169
7170 fi
7171 if test -z "$ac_cv_prog_FILECMD"; then
7172 ac_ct_FILECMD=$FILECMD
7173 # Extract the first word of "file", so it can be a program name with args.
7174 set dummy file; ac_word=$2
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 printf %s "checking for $ac_word... " >&6; }
7177 if test ${ac_cv_prog_ac_ct_FILECMD+y}
7178 then :
7179 printf %s "(cached) " >&6
7180 else $as_nop
7181 if test -n "$ac_ct_FILECMD"; then
7182 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
7183 else
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 for as_dir in $PATH
7186 do
7187 IFS=$as_save_IFS
7188 case $as_dir in #(((
7189 '') as_dir=./ ;;
7190 */) ;;
7191 *) as_dir=$as_dir/ ;;
7192 esac
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_ac_ct_FILECMD="file"
7196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7197 break 2
7198 fi
7199 done
7200 done
7201 IFS=$as_save_IFS
7202
7203 fi
7204 fi
7205 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
7206 if test -n "$ac_ct_FILECMD"; then
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
7208 printf "%s\n" "$ac_ct_FILECMD" >&6; }
7209 else
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 printf "%s\n" "no" >&6; }
7212 fi
7213
7214 if test "x$ac_ct_FILECMD" = x; then
7215 FILECMD=":"
7216 else
7217 case $cross_compiling:$ac_tool_warned in
7218 yes:)
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned=yes ;;
7222 esac
7223 FILECMD=$ac_ct_FILECMD
7224 fi
7225 else
7226 FILECMD="$ac_cv_prog_FILECMD"
7227 fi
7228
7229
7230
7231
7232
7233
7234
7235 if test -n "$ac_tool_prefix"; then
62367236 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
62377237 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_OBJDUMP+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 printf %s "checking for $ac_word... " >&6; }
7240 if test ${ac_cv_prog_OBJDUMP+y}
7241 then :
7242 printf %s "(cached) " >&6
7243 else $as_nop
62437244 if test -n "$OBJDUMP"; then
62447245 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
62457246 else
62477248 for as_dir in $PATH
62487249 do
62497250 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
7251 case $as_dir in #(((
7252 '') as_dir=./ ;;
7253 */) ;;
7254 *) as_dir=$as_dir/ ;;
7255 esac
62517256 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
62537258 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
62557260 break 2
62567261 fi
62577262 done
62627267 fi
62637268 OBJDUMP=$ac_cv_prog_OBJDUMP
62647269 if test -n "$OBJDUMP"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6266 $as_echo "$OBJDUMP" >&6; }
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7271 printf "%s\n" "$OBJDUMP" >&6; }
62677272 else
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 printf "%s\n" "no" >&6; }
62707275 fi
62717276
62727277
62757280 ac_ct_OBJDUMP=$OBJDUMP
62767281 # Extract the first word of "objdump", so it can be a program name with args.
62777282 set dummy objdump; ac_word=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6281 $as_echo_n "(cached) " >&6
6282 else
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 printf %s "checking for $ac_word... " >&6; }
7285 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
7286 then :
7287 printf %s "(cached) " >&6
7288 else $as_nop
62837289 if test -n "$ac_ct_OBJDUMP"; then
62847290 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
62857291 else
62877293 for as_dir in $PATH
62887294 do
62897295 IFS=$as_save_IFS
6290 test -z "$as_dir" && as_dir=.
7296 case $as_dir in #(((
7297 '') as_dir=./ ;;
7298 */) ;;
7299 *) as_dir=$as_dir/ ;;
7300 esac
62917301 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
62937303 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
62957305 break 2
62967306 fi
62977307 done
63027312 fi
63037313 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
63047314 if test -n "$ac_ct_OBJDUMP"; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6306 $as_echo "$ac_ct_OBJDUMP" >&6; }
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7316 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
63077317 else
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 $as_echo "no" >&6; }
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 printf "%s\n" "no" >&6; }
63107320 fi
63117321
63127322 if test "x$ac_ct_OBJDUMP" = x; then
63147324 else
63157325 case $cross_compiling:$ac_tool_warned in
63167326 yes:)
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7328 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
63197329 ac_tool_warned=yes ;;
63207330 esac
63217331 OBJDUMP=$ac_ct_OBJDUMP
63347344
63357345
63367346
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6338 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6339 if ${lt_cv_deplibs_check_method+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7348 printf %s "checking how to recognize dependent libraries... " >&6; }
7349 if test ${lt_cv_deplibs_check_method+y}
7350 then :
7351 printf %s "(cached) " >&6
7352 else $as_nop
63427353 lt_cv_file_magic_cmd='$MAGIC_CMD'
63437354 lt_cv_file_magic_test_file=
63447355 lt_cv_deplibs_check_method='unknown'
63647375
63657376 bsdi[45]*)
63667377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6367 lt_cv_file_magic_cmd='/usr/bin/file -L'
7378 lt_cv_file_magic_cmd='$FILECMD -L'
63687379 lt_cv_file_magic_test_file=/shlib/libc.so
63697380 ;;
63707381
63987409 lt_cv_deplibs_check_method=pass_all
63997410 ;;
64007411
6401 freebsd* | dragonfly*)
7412 freebsd* | dragonfly* | midnightbsd*)
64027413 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
64037414 case $host_cpu in
64047415 i*86 )
64057416 # Not sure whether the presence of OpenBSD here was a mistake.
64067417 # Let's accept both of them until this is cleared up.
64077418 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6408 lt_cv_file_magic_cmd=/usr/bin/file
7419 lt_cv_file_magic_cmd=$FILECMD
64097420 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
64107421 ;;
64117422 esac
64197430 ;;
64207431
64217432 hpux10.20* | hpux11*)
6422 lt_cv_file_magic_cmd=/usr/bin/file
7433 lt_cv_file_magic_cmd=$FILECMD
64237434 case $host_cpu in
64247435 ia64*)
64257436 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
64667477
64677478 newos6*)
64687479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6469 lt_cv_file_magic_cmd=/usr/bin/file
7480 lt_cv_file_magic_cmd=$FILECMD
64707481 lt_cv_file_magic_test_file=/usr/lib/libnls.so
64717482 ;;
64727483
65347545 esac
65357546
65367547 fi
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6538 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7549 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
65397550
65407551 file_magic_glob=
65417552 want_nocaseglob=no
65797590 if test -n "$ac_tool_prefix"; then
65807591 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
65817592 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583 $as_echo_n "checking for $ac_word... " >&6; }
6584 if ${ac_cv_prog_DLLTOOL+:} false; then :
6585 $as_echo_n "(cached) " >&6
6586 else
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 printf %s "checking for $ac_word... " >&6; }
7595 if test ${ac_cv_prog_DLLTOOL+y}
7596 then :
7597 printf %s "(cached) " >&6
7598 else $as_nop
65877599 if test -n "$DLLTOOL"; then
65887600 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
65897601 else
65917603 for as_dir in $PATH
65927604 do
65937605 IFS=$as_save_IFS
6594 test -z "$as_dir" && as_dir=.
7606 case $as_dir in #(((
7607 '') as_dir=./ ;;
7608 */) ;;
7609 *) as_dir=$as_dir/ ;;
7610 esac
65957611 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
65977613 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
65997615 break 2
66007616 fi
66017617 done
66067622 fi
66077623 DLLTOOL=$ac_cv_prog_DLLTOOL
66087624 if test -n "$DLLTOOL"; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6610 $as_echo "$DLLTOOL" >&6; }
7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7626 printf "%s\n" "$DLLTOOL" >&6; }
66117627 else
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 $as_echo "no" >&6; }
7628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 printf "%s\n" "no" >&6; }
66147630 fi
66157631
66167632
66197635 ac_ct_DLLTOOL=$DLLTOOL
66207636 # Extract the first word of "dlltool", so it can be a program name with args.
66217637 set dummy dlltool; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 $as_echo_n "checking for $ac_word... " >&6; }
6624 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6625 $as_echo_n "(cached) " >&6
6626 else
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 printf %s "checking for $ac_word... " >&6; }
7640 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
66277644 if test -n "$ac_ct_DLLTOOL"; then
66287645 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
66297646 else
66317648 for as_dir in $PATH
66327649 do
66337650 IFS=$as_save_IFS
6634 test -z "$as_dir" && as_dir=.
7651 case $as_dir in #(((
7652 '') as_dir=./ ;;
7653 */) ;;
7654 *) as_dir=$as_dir/ ;;
7655 esac
66357656 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
66377658 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
66397660 break 2
66407661 fi
66417662 done
66467667 fi
66477668 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
66487669 if test -n "$ac_ct_DLLTOOL"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6650 $as_echo "$ac_ct_DLLTOOL" >&6; }
7670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7671 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
66517672 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6653 $as_echo "no" >&6; }
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 printf "%s\n" "no" >&6; }
66547675 fi
66557676
66567677 if test "x$ac_ct_DLLTOOL" = x; then
66587679 else
66597680 case $cross_compiling:$ac_tool_warned in
66607681 yes:)
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7683 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
66637684 ac_tool_warned=yes ;;
66647685 esac
66657686 DLLTOOL=$ac_ct_DLLTOOL
66797700
66807701
66817702
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6683 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6684 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6685 $as_echo_n "(cached) " >&6
6686 else
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7704 printf %s "checking how to associate runtime and link libraries... " >&6; }
7705 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
7706 then :
7707 printf %s "(cached) " >&6
7708 else $as_nop
66877709 lt_cv_sharedlib_from_linklib_cmd='unknown'
66887710
66897711 case $host_os in
67067728 esac
67077729
67087730 fi
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6710 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7732 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
67117733 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
67127734 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
67137735
67237745 do
67247746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
67257747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_AR+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 printf %s "checking for $ac_word... " >&6; }
7750 if test ${ac_cv_prog_AR+y}
7751 then :
7752 printf %s "(cached) " >&6
7753 else $as_nop
67317754 if test -n "$AR"; then
67327755 ac_cv_prog_AR="$AR" # Let the user override the test.
67337756 else
67357758 for as_dir in $PATH
67367759 do
67377760 IFS=$as_save_IFS
6738 test -z "$as_dir" && as_dir=.
7761 case $as_dir in #(((
7762 '') as_dir=./ ;;
7763 */) ;;
7764 *) as_dir=$as_dir/ ;;
7765 esac
67397766 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7767 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
67417768 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
67437770 break 2
67447771 fi
67457772 done
67507777 fi
67517778 AR=$ac_cv_prog_AR
67527779 if test -n "$AR"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6754 $as_echo "$AR" >&6; }
7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7781 printf "%s\n" "$AR" >&6; }
67557782 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
7783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 printf "%s\n" "no" >&6; }
67587785 fi
67597786
67607787
67677794 do
67687795 # Extract the first word of "$ac_prog", so it can be a program name with args.
67697796 set dummy $ac_prog; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6773 $as_echo_n "(cached) " >&6
6774 else
7797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 printf %s "checking for $ac_word... " >&6; }
7799 if test ${ac_cv_prog_ac_ct_AR+y}
7800 then :
7801 printf %s "(cached) " >&6
7802 else $as_nop
67757803 if test -n "$ac_ct_AR"; then
67767804 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
67777805 else
67797807 for as_dir in $PATH
67807808 do
67817809 IFS=$as_save_IFS
6782 test -z "$as_dir" && as_dir=.
7810 case $as_dir in #(((
7811 '') as_dir=./ ;;
7812 */) ;;
7813 *) as_dir=$as_dir/ ;;
7814 esac
67837815 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7816 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
67857817 ac_cv_prog_ac_ct_AR="$ac_prog"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
67877819 break 2
67887820 fi
67897821 done
67947826 fi
67957827 ac_ct_AR=$ac_cv_prog_ac_ct_AR
67967828 if test -n "$ac_ct_AR"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6798 $as_echo "$ac_ct_AR" >&6; }
7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7830 printf "%s\n" "$ac_ct_AR" >&6; }
67997831 else
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
7832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 printf "%s\n" "no" >&6; }
68027834 fi
68037835
68047836
68107842 else
68117843 case $cross_compiling:$ac_tool_warned in
68127844 yes:)
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7846 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68157847 ac_tool_warned=yes ;;
68167848 esac
68177849 AR=$ac_ct_AR
68197851 fi
68207852
68217853 : ${AR=ar}
6822 : ${AR_FLAGS=cru}
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6835 $as_echo_n "checking for archiver @FILE support... " >&6; }
6836 if ${lt_cv_ar_at_file+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
7854
7855
7856
7857
7858
7859
7860 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7861 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7862 # higher priority because thats what people were doing historically (setting
7863 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7864 # variable obsoleted/removed.
7865
7866 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7867 lt_ar_flags=$AR_FLAGS
7868
7869
7870
7871
7872
7873
7874 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7875 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7876
7877
7878
7879
7880
7881
7882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7883 printf %s "checking for archiver @FILE support... " >&6; }
7884 if test ${lt_cv_ar_at_file+y}
7885 then :
7886 printf %s "(cached) " >&6
7887 else $as_nop
68397888 lt_cv_ar_at_file=no
68407889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68417890 /* end confdefs.h. */
68427891
68437892 int
6844 main ()
7893 main (void)
68457894 {
68467895
68477896 ;
68487897 return 0;
68497898 }
68507899 _ACEOF
6851 if ac_fn_c_try_compile "$LINENO"; then :
7900 if ac_fn_c_try_compile "$LINENO"
7901 then :
68527902 echo conftest.$ac_objext > conftest.lst
68537903 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
68547904 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
68557905 (eval $lt_ar_try) 2>&5
68567906 ac_status=$?
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68587908 test $ac_status = 0; }
68597909 if test 0 -eq "$ac_status"; then
68607910 # Ensure the archiver fails upon bogus file names.
68627912 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
68637913 (eval $lt_ar_try) 2>&5
68647914 ac_status=$?
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68667916 test $ac_status = 0; }
68677917 if test 0 -ne "$ac_status"; then
68687918 lt_cv_ar_at_file=@
68717921 rm -f conftest.* libconftest.a
68727922
68737923 fi
6874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6875
6876 fi
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6878 $as_echo "$lt_cv_ar_at_file" >&6; }
7924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7925
7926 fi
7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7928 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
68797929
68807930 if test no = "$lt_cv_ar_at_file"; then
68817931 archiver_list_spec=
68927942 if test -n "$ac_tool_prefix"; then
68937943 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
68947944 set dummy ${ac_tool_prefix}strip; ac_word=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6896 $as_echo_n "checking for $ac_word... " >&6; }
6897 if ${ac_cv_prog_STRIP+:} false; then :
6898 $as_echo_n "(cached) " >&6
6899 else
7945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7946 printf %s "checking for $ac_word... " >&6; }
7947 if test ${ac_cv_prog_STRIP+y}
7948 then :
7949 printf %s "(cached) " >&6
7950 else $as_nop
69007951 if test -n "$STRIP"; then
69017952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
69027953 else
69047955 for as_dir in $PATH
69057956 do
69067957 IFS=$as_save_IFS
6907 test -z "$as_dir" && as_dir=.
7958 case $as_dir in #(((
7959 '') as_dir=./ ;;
7960 */) ;;
7961 *) as_dir=$as_dir/ ;;
7962 esac
69087963 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69107965 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69127967 break 2
69137968 fi
69147969 done
69197974 fi
69207975 STRIP=$ac_cv_prog_STRIP
69217976 if test -n "$STRIP"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6923 $as_echo "$STRIP" >&6; }
7977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7978 printf "%s\n" "$STRIP" >&6; }
69247979 else
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926 $as_echo "no" >&6; }
7980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7981 printf "%s\n" "no" >&6; }
69277982 fi
69287983
69297984
69327987 ac_ct_STRIP=$STRIP
69337988 # Extract the first word of "strip", so it can be a program name with args.
69347989 set dummy strip; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 printf %s "checking for $ac_word... " >&6; }
7992 if test ${ac_cv_prog_ac_ct_STRIP+y}
7993 then :
7994 printf %s "(cached) " >&6
7995 else $as_nop
69407996 if test -n "$ac_ct_STRIP"; then
69417997 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
69427998 else
69448000 for as_dir in $PATH
69458001 do
69468002 IFS=$as_save_IFS
6947 test -z "$as_dir" && as_dir=.
8003 case $as_dir in #(((
8004 '') as_dir=./ ;;
8005 */) ;;
8006 *) as_dir=$as_dir/ ;;
8007 esac
69488008 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69508010 ac_cv_prog_ac_ct_STRIP="strip"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69528012 break 2
69538013 fi
69548014 done
69598019 fi
69608020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
69618021 if test -n "$ac_ct_STRIP"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6963 $as_echo "$ac_ct_STRIP" >&6; }
8022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8023 printf "%s\n" "$ac_ct_STRIP" >&6; }
69648024 else
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
8025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 printf "%s\n" "no" >&6; }
69678027 fi
69688028
69698029 if test "x$ac_ct_STRIP" = x; then
69718031 else
69728032 case $cross_compiling:$ac_tool_warned in
69738033 yes:)
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8035 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
69768036 ac_tool_warned=yes ;;
69778037 esac
69788038 STRIP=$ac_ct_STRIP
69918051 if test -n "$ac_tool_prefix"; then
69928052 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
69938053 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_RANLIB+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 printf %s "checking for $ac_word... " >&6; }
8056 if test ${ac_cv_prog_RANLIB+y}
8057 then :
8058 printf %s "(cached) " >&6
8059 else $as_nop
69998060 if test -n "$RANLIB"; then
70008061 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
70018062 else
70038064 for as_dir in $PATH
70048065 do
70058066 IFS=$as_save_IFS
7006 test -z "$as_dir" && as_dir=.
8067 case $as_dir in #(((
8068 '') as_dir=./ ;;
8069 */) ;;
8070 *) as_dir=$as_dir/ ;;
8071 esac
70078072 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70098074 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70118076 break 2
70128077 fi
70138078 done
70188083 fi
70198084 RANLIB=$ac_cv_prog_RANLIB
70208085 if test -n "$RANLIB"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7022 $as_echo "$RANLIB" >&6; }
8086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8087 printf "%s\n" "$RANLIB" >&6; }
70238088 else
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
8089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8090 printf "%s\n" "no" >&6; }
70268091 fi
70278092
70288093
70318096 ac_ct_RANLIB=$RANLIB
70328097 # Extract the first word of "ranlib", so it can be a program name with args.
70338098 set dummy ranlib; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
8099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 printf %s "checking for $ac_word... " >&6; }
8101 if test ${ac_cv_prog_ac_ct_RANLIB+y}
8102 then :
8103 printf %s "(cached) " >&6
8104 else $as_nop
70398105 if test -n "$ac_ct_RANLIB"; then
70408106 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
70418107 else
70438109 for as_dir in $PATH
70448110 do
70458111 IFS=$as_save_IFS
7046 test -z "$as_dir" && as_dir=.
8112 case $as_dir in #(((
8113 '') as_dir=./ ;;
8114 */) ;;
8115 *) as_dir=$as_dir/ ;;
8116 esac
70478117 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70498119 ac_cv_prog_ac_ct_RANLIB="ranlib"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70518121 break 2
70528122 fi
70538123 done
70588128 fi
70598129 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
70608130 if test -n "$ac_ct_RANLIB"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7062 $as_echo "$ac_ct_RANLIB" >&6; }
8131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8132 printf "%s\n" "$ac_ct_RANLIB" >&6; }
70638133 else
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
8134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 printf "%s\n" "no" >&6; }
70668136 fi
70678137
70688138 if test "x$ac_ct_RANLIB" = x; then
70708140 else
70718141 case $cross_compiling:$ac_tool_warned in
70728142 yes:)
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
70758145 ac_tool_warned=yes ;;
70768146 esac
70778147 RANLIB=$ac_ct_RANLIB
71608230
71618231
71628232 # Check for command to grab the raw symbol name followed by C symbol from nm.
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7164 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7165 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7166 $as_echo_n "(cached) " >&6
7167 else
8233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8234 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
8235 if test ${lt_cv_sys_global_symbol_pipe+y}
8236 then :
8237 printf %s "(cached) " >&6
8238 else $as_nop
71688239
71698240 # These are sane defaults that work on at least a few old systems.
71708241 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
72198290
72208291 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
72218292 # Gets list of data symbols to import.
7222 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8293 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
72238294 # Adjust the below global symbol transforms to fixup imported variables.
72248295 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
72258296 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
72378308 # Transform an extracted symbol line into a proper C declaration.
72388309 # Some systems (esp. on ia64) link data and code symbols differently,
72398310 # so use this general approach.
7240 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8311 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
72418312 $lt_cdecl_hook\
72428313 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
72438314 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
72448315
72458316 # Transform an extracted symbol line into symbol name and symbol address
7246 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8317 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
72478318 $lt_c_name_hook\
72488319 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
72498320 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
72508321
72518322 # Transform an extracted symbol line into symbol name with lib prefix and
72528323 # symbol address.
7253 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8324 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
72548325 $lt_c_name_lib_hook\
72558326 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
72568327 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
72748345 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
72758346 # Fake it for dumpbin and say T for any non-static function,
72768347 # D for any global variable and I for any imported variable.
7277 # Also find C++ and __fastcall symbols from MSVC++,
8348 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
72788349 # which start with @ or ?.
72798350 lt_cv_sys_global_symbol_pipe="$AWK '"\
72808351 " {last_section=section; section=\$ 3};"\
72928363 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
72938364 " ' prfx=^$ac_symprfx"
72948365 else
7295 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8366 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
72968367 fi
7297 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8368 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
72988369
72998370 # Check to see that the pipe works correctly.
73008371 pipe_works=no
73168387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
73178388 (eval $ac_compile) 2>&5
73188389 ac_status=$?
7319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
73208391 test $ac_status = 0; }; then
73218392 # Now try to grab the symbols.
73228393 nlist=conftest.nm
73898460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
73908461 (eval $ac_link) 2>&5
73918462 ac_status=$?
7392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
73938464 test $ac_status = 0; } && test -s conftest$ac_exeext; then
73948465 pipe_works=yes
73958466 fi
74248495 lt_cv_sys_global_symbol_to_cdecl=
74258496 fi
74268497 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7428 $as_echo "failed" >&6; }
8498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8499 printf "%s\n" "failed" >&6; }
74298500 else
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7431 $as_echo "ok" >&6; }
8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8502 printf "%s\n" "ok" >&6; }
74328503 fi
74338504
74348505 # Response file support.
74748545
74758546
74768547
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7478 $as_echo_n "checking for sysroot... " >&6; }
8548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8549 printf %s "checking for sysroot... " >&6; }
74798550
74808551 # Check whether --with-sysroot was given.
7481 if test "${with_sysroot+set}" = set; then :
8552 if test ${with_sysroot+y}
8553 then :
74828554 withval=$with_sysroot;
7483 else
8555 else $as_nop
74848556 with_sysroot=no
74858557 fi
74868558
74938565 fi
74948566 ;; #(
74958567 /*)
7496 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8568 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
74978569 ;; #(
74988570 no|'')
74998571 ;; #(
75008572 *)
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7502 $as_echo "$with_sysroot" >&6; }
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8574 printf "%s\n" "$with_sysroot" >&6; }
75038575 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
75048576 ;;
75058577 esac
75068578
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7508 $as_echo "${lt_sysroot:-no}" >&6; }
7509
7510
7511
7512
7513
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7515 $as_echo_n "checking for a working dd... " >&6; }
7516 if ${ac_cv_path_lt_DD+:} false; then :
7517 $as_echo_n "(cached) " >&6
7518 else
8579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8580 printf "%s\n" "${lt_sysroot:-no}" >&6; }
8581
8582
8583
8584
8585
8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8587 printf %s "checking for a working dd... " >&6; }
8588 if test ${ac_cv_path_lt_DD+y}
8589 then :
8590 printf %s "(cached) " >&6
8591 else $as_nop
75198592 printf 0123456789abcdef0123456789abcdef >conftest.i
75208593 cat conftest.i conftest.i >conftest2.i
75218594 : ${lt_DD:=$DD}
75268599 for as_dir in $PATH
75278600 do
75288601 IFS=$as_save_IFS
7529 test -z "$as_dir" && as_dir=.
7530 for ac_prog in dd; do
8602 case $as_dir in #(((
8603 '') as_dir=./ ;;
8604 */) ;;
8605 *) as_dir=$as_dir/ ;;
8606 esac
8607 for ac_prog in dd
8608 do
75318609 for ac_exec_ext in '' $ac_executable_extensions; do
7532 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8610 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
75338611 as_fn_executable_p "$ac_path_lt_DD" || continue
75348612 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
75358613 cmp -s conftest.i conftest.out \
75498627
75508628 rm -f conftest.i conftest2.i conftest.out
75518629 fi
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7553 $as_echo "$ac_cv_path_lt_DD" >&6; }
7554
7555
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7557 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7558 if ${lt_cv_truncate_bin+:} false; then :
7559 $as_echo_n "(cached) " >&6
7560 else
8630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8631 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
8632
8633
8634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8635 printf %s "checking how to truncate binary pipes... " >&6; }
8636 if test ${lt_cv_truncate_bin+y}
8637 then :
8638 printf %s "(cached) " >&6
8639 else $as_nop
75618640 printf 0123456789abcdef0123456789abcdef >conftest.i
75628641 cat conftest.i conftest.i >conftest2.i
75638642 lt_cv_truncate_bin=
75688647 rm -f conftest.i conftest2.i conftest.out
75698648 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
75708649 fi
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7572 $as_echo "$lt_cv_truncate_bin" >&6; }
8650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8651 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
75738652
75748653
75758654
75928671 }
75938672
75948673 # Check whether --enable-libtool-lock was given.
7595 if test "${enable_libtool_lock+set}" = set; then :
8674 if test ${enable_libtool_lock+y}
8675 then :
75968676 enableval=$enable_libtool_lock;
75978677 fi
75988678
76088688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
76098689 (eval $ac_compile) 2>&5
76108690 ac_status=$?
7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
76128692 test $ac_status = 0; }; then
7613 case `/usr/bin/file conftest.$ac_objext` in
8693 case `$FILECMD conftest.$ac_objext` in
76148694 *ELF-32*)
76158695 HPUX_IA64_MODE=32
76168696 ;;
76288708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
76298709 (eval $ac_compile) 2>&5
76308710 ac_status=$?
7631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
76328712 test $ac_status = 0; }; then
76338713 if test yes = "$lt_cv_prog_gnu_ld"; then
7634 case `/usr/bin/file conftest.$ac_objext` in
8714 case `$FILECMD conftest.$ac_objext` in
76358715 *32-bit*)
76368716 LD="${LD-ld} -melf32bsmip"
76378717 ;;
76438723 ;;
76448724 esac
76458725 else
7646 case `/usr/bin/file conftest.$ac_objext` in
8726 case `$FILECMD conftest.$ac_objext` in
76478727 *32-bit*)
76488728 LD="${LD-ld} -32"
76498729 ;;
76668746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
76678747 (eval $ac_compile) 2>&5
76688748 ac_status=$?
7669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
76708750 test $ac_status = 0; }; then
76718751 emul=elf
7672 case `/usr/bin/file conftest.$ac_objext` in
8752 case `$FILECMD conftest.$ac_objext` in
76738753 *32-bit*)
76748754 emul="${emul}32"
76758755 ;;
76778757 emul="${emul}64"
76788758 ;;
76798759 esac
7680 case `/usr/bin/file conftest.$ac_objext` in
8760 case `$FILECMD conftest.$ac_objext` in
76818761 *MSB*)
76828762 emul="${emul}btsmip"
76838763 ;;
76858765 emul="${emul}ltsmip"
76868766 ;;
76878767 esac
7688 case `/usr/bin/file conftest.$ac_objext` in
8768 case `$FILECMD conftest.$ac_objext` in
76898769 *N32*)
76908770 emul="${emul}n32"
76918771 ;;
77078787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
77088788 (eval $ac_compile) 2>&5
77098789 ac_status=$?
7710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
77118791 test $ac_status = 0; }; then
7712 case `/usr/bin/file conftest.o` in
8792 case `$FILECMD conftest.o` in
77138793 *32-bit*)
77148794 case $host in
77158795 x86_64-*kfreebsd*-gnu)
77168796 LD="${LD-ld} -m elf_i386_fbsd"
77178797 ;;
77188798 x86_64-*linux*)
7719 case `/usr/bin/file conftest.o` in
8799 case `$FILECMD conftest.o` in
77208800 *x86-64*)
77218801 LD="${LD-ld} -m elf32_x86_64"
77228802 ;;
77708850 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
77718851 SAVE_CFLAGS=$CFLAGS
77728852 CFLAGS="$CFLAGS -belf"
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7774 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7775 if ${lt_cv_cc_needs_belf+:} false; then :
7776 $as_echo_n "(cached) " >&6
7777 else
8853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8854 printf %s "checking whether the C compiler needs -belf... " >&6; }
8855 if test ${lt_cv_cc_needs_belf+y}
8856 then :
8857 printf %s "(cached) " >&6
8858 else $as_nop
77788859 ac_ext=c
77798860 ac_cpp='$CPP $CPPFLAGS'
77808861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77858866 /* end confdefs.h. */
77868867
77878868 int
7788 main ()
8869 main (void)
77898870 {
77908871
77918872 ;
77928873 return 0;
77938874 }
77948875 _ACEOF
7795 if ac_fn_c_try_link "$LINENO"; then :
8876 if ac_fn_c_try_link "$LINENO"
8877 then :
77968878 lt_cv_cc_needs_belf=yes
7797 else
8879 else $as_nop
77988880 lt_cv_cc_needs_belf=no
77998881 fi
7800 rm -f core conftest.err conftest.$ac_objext \
8882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
78018883 conftest$ac_exeext conftest.$ac_ext
78028884 ac_ext=c
78038885 ac_cpp='$CPP $CPPFLAGS'
78068888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78078889
78088890 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7810 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8892 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
78118893 if test yes != "$lt_cv_cc_needs_belf"; then
78128894 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
78138895 CFLAGS=$SAVE_CFLAGS
78208902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
78218903 (eval $ac_compile) 2>&5
78228904 ac_status=$?
7823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
78248906 test $ac_status = 0; }; then
7825 case `/usr/bin/file conftest.o` in
8907 case `$FILECMD conftest.o` in
78268908 *64-bit*)
78278909 case $lt_cv_prog_gnu_ld in
78288910 yes*)
78578939 if test -n "$ac_tool_prefix"; then
78588940 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
78598941 set dummy ${ac_tool_prefix}mt; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
8942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8943 printf %s "checking for $ac_word... " >&6; }
8944 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8945 then :
8946 printf %s "(cached) " >&6
8947 else $as_nop
78658948 if test -n "$MANIFEST_TOOL"; then
78668949 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
78678950 else
78698952 for as_dir in $PATH
78708953 do
78718954 IFS=$as_save_IFS
7872 test -z "$as_dir" && as_dir=.
8955 case $as_dir in #(((
8956 '') as_dir=./ ;;
8957 */) ;;
8958 *) as_dir=$as_dir/ ;;
8959 esac
78738960 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8961 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
78758962 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
78778964 break 2
78788965 fi
78798966 done
78848971 fi
78858972 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
78868973 if test -n "$MANIFEST_TOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7888 $as_echo "$MANIFEST_TOOL" >&6; }
8974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8975 printf "%s\n" "$MANIFEST_TOOL" >&6; }
78898976 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 printf "%s\n" "no" >&6; }
78928979 fi
78938980
78948981
78978984 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
78988985 # Extract the first word of "mt", so it can be a program name with args.
78998986 set dummy mt; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7903 $as_echo_n "(cached) " >&6
7904 else
8987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8988 printf %s "checking for $ac_word... " >&6; }
8989 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8990 then :
8991 printf %s "(cached) " >&6
8992 else $as_nop
79058993 if test -n "$ac_ct_MANIFEST_TOOL"; then
79068994 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
79078995 else
79098997 for as_dir in $PATH
79108998 do
79118999 IFS=$as_save_IFS
7912 test -z "$as_dir" && as_dir=.
9000 case $as_dir in #(((
9001 '') as_dir=./ ;;
9002 */) ;;
9003 *) as_dir=$as_dir/ ;;
9004 esac
79139005 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
79159007 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
79179009 break 2
79189010 fi
79199011 done
79249016 fi
79259017 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
79269018 if test -n "$ac_ct_MANIFEST_TOOL"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7928 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9020 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
79299021 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
9022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 printf "%s\n" "no" >&6; }
79329024 fi
79339025
79349026 if test "x$ac_ct_MANIFEST_TOOL" = x; then
79369028 else
79379029 case $cross_compiling:$ac_tool_warned in
79389030 yes:)
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9032 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
79419033 ac_tool_warned=yes ;;
79429034 esac
79439035 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
79479039 fi
79489040
79499041 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7951 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7952 if ${lt_cv_path_mainfest_tool+:} false; then :
7953 $as_echo_n "(cached) " >&6
7954 else
9042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9043 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9044 if test ${lt_cv_path_mainfest_tool+y}
9045 then :
9046 printf %s "(cached) " >&6
9047 else $as_nop
79559048 lt_cv_path_mainfest_tool=no
79569049 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
79579050 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
79619054 fi
79629055 rm -f conftest*
79639056 fi
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7965 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9058 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
79669059 if test yes != "$lt_cv_path_mainfest_tool"; then
79679060 MANIFEST_TOOL=:
79689061 fi
79779070 if test -n "$ac_tool_prefix"; then
79789071 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
79799072 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
9073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9074 printf %s "checking for $ac_word... " >&6; }
9075 if test ${ac_cv_prog_DSYMUTIL+y}
9076 then :
9077 printf %s "(cached) " >&6
9078 else $as_nop
79859079 if test -n "$DSYMUTIL"; then
79869080 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
79879081 else
79899083 for as_dir in $PATH
79909084 do
79919085 IFS=$as_save_IFS
7992 test -z "$as_dir" && as_dir=.
9086 case $as_dir in #(((
9087 '') as_dir=./ ;;
9088 */) ;;
9089 *) as_dir=$as_dir/ ;;
9090 esac
79939091 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9092 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
79959093 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
79979095 break 2
79989096 fi
79999097 done
80049102 fi
80059103 DSYMUTIL=$ac_cv_prog_DSYMUTIL
80069104 if test -n "$DSYMUTIL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8008 $as_echo "$DSYMUTIL" >&6; }
9105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9106 printf "%s\n" "$DSYMUTIL" >&6; }
80099107 else
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 printf "%s\n" "no" >&6; }
80129110 fi
80139111
80149112
80179115 ac_ct_DSYMUTIL=$DSYMUTIL
80189116 # Extract the first word of "dsymutil", so it can be a program name with args.
80199117 set dummy dsymutil; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9119 printf %s "checking for $ac_word... " >&6; }
9120 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
9121 then :
9122 printf %s "(cached) " >&6
9123 else $as_nop
80259124 if test -n "$ac_ct_DSYMUTIL"; then
80269125 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
80279126 else
80299128 for as_dir in $PATH
80309129 do
80319130 IFS=$as_save_IFS
8032 test -z "$as_dir" && as_dir=.
9131 case $as_dir in #(((
9132 '') as_dir=./ ;;
9133 */) ;;
9134 *) as_dir=$as_dir/ ;;
9135 esac
80339136 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
80359138 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
80379140 break 2
80389141 fi
80399142 done
80449147 fi
80459148 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
80469149 if test -n "$ac_ct_DSYMUTIL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9151 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
80499152 else
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154 printf "%s\n" "no" >&6; }
80529155 fi
80539156
80549157 if test "x$ac_ct_DSYMUTIL" = x; then
80569159 else
80579160 case $cross_compiling:$ac_tool_warned in
80589161 yes:)
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9163 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
80619164 ac_tool_warned=yes ;;
80629165 esac
80639166 DSYMUTIL=$ac_ct_DSYMUTIL
80699172 if test -n "$ac_tool_prefix"; then
80709173 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
80719174 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_NMEDIT+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176 printf %s "checking for $ac_word... " >&6; }
9177 if test ${ac_cv_prog_NMEDIT+y}
9178 then :
9179 printf %s "(cached) " >&6
9180 else $as_nop
80779181 if test -n "$NMEDIT"; then
80789182 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
80799183 else
80819185 for as_dir in $PATH
80829186 do
80839187 IFS=$as_save_IFS
8084 test -z "$as_dir" && as_dir=.
9188 case $as_dir in #(((
9189 '') as_dir=./ ;;
9190 */) ;;
9191 *) as_dir=$as_dir/ ;;
9192 esac
80859193 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
80879195 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
80899197 break 2
80909198 fi
80919199 done
80969204 fi
80979205 NMEDIT=$ac_cv_prog_NMEDIT
80989206 if test -n "$NMEDIT"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8100 $as_echo "$NMEDIT" >&6; }
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9208 printf "%s\n" "$NMEDIT" >&6; }
81019209 else
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 printf "%s\n" "no" >&6; }
81049212 fi
81059213
81069214
81099217 ac_ct_NMEDIT=$NMEDIT
81109218 # Extract the first word of "nmedit", so it can be a program name with args.
81119219 set dummy nmedit; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8115 $as_echo_n "(cached) " >&6
8116 else
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9221 printf %s "checking for $ac_word... " >&6; }
9222 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
9223 then :
9224 printf %s "(cached) " >&6
9225 else $as_nop
81179226 if test -n "$ac_ct_NMEDIT"; then
81189227 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
81199228 else
81219230 for as_dir in $PATH
81229231 do
81239232 IFS=$as_save_IFS
8124 test -z "$as_dir" && as_dir=.
9233 case $as_dir in #(((
9234 '') as_dir=./ ;;
9235 */) ;;
9236 *) as_dir=$as_dir/ ;;
9237 esac
81259238 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
81279240 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
81299242 break 2
81309243 fi
81319244 done
81369249 fi
81379250 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
81389251 if test -n "$ac_ct_NMEDIT"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8140 $as_echo "$ac_ct_NMEDIT" >&6; }
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9253 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
81419254 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 printf "%s\n" "no" >&6; }
81449257 fi
81459258
81469259 if test "x$ac_ct_NMEDIT" = x; then
81489261 else
81499262 case $cross_compiling:$ac_tool_warned in
81509263 yes:)
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9265 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
81539266 ac_tool_warned=yes ;;
81549267 esac
81559268 NMEDIT=$ac_ct_NMEDIT
81619274 if test -n "$ac_tool_prefix"; then
81629275 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
81639276 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_LIPO+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9278 printf %s "checking for $ac_word... " >&6; }
9279 if test ${ac_cv_prog_LIPO+y}
9280 then :
9281 printf %s "(cached) " >&6
9282 else $as_nop
81699283 if test -n "$LIPO"; then
81709284 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
81719285 else
81739287 for as_dir in $PATH
81749288 do
81759289 IFS=$as_save_IFS
8176 test -z "$as_dir" && as_dir=.
9290 case $as_dir in #(((
9291 '') as_dir=./ ;;
9292 */) ;;
9293 *) as_dir=$as_dir/ ;;
9294 esac
81779295 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9296 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
81799297 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
81819299 break 2
81829300 fi
81839301 done
81889306 fi
81899307 LIPO=$ac_cv_prog_LIPO
81909308 if test -n "$LIPO"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8192 $as_echo "$LIPO" >&6; }
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9310 printf "%s\n" "$LIPO" >&6; }
81939311 else
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313 printf "%s\n" "no" >&6; }
81969314 fi
81979315
81989316
82019319 ac_ct_LIPO=$LIPO
82029320 # Extract the first word of "lipo", so it can be a program name with args.
82039321 set dummy lipo; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9323 printf %s "checking for $ac_word... " >&6; }
9324 if test ${ac_cv_prog_ac_ct_LIPO+y}
9325 then :
9326 printf %s "(cached) " >&6
9327 else $as_nop
82099328 if test -n "$ac_ct_LIPO"; then
82109329 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
82119330 else
82139332 for as_dir in $PATH
82149333 do
82159334 IFS=$as_save_IFS
8216 test -z "$as_dir" && as_dir=.
9335 case $as_dir in #(((
9336 '') as_dir=./ ;;
9337 */) ;;
9338 *) as_dir=$as_dir/ ;;
9339 esac
82179340 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9341 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
82199342 ac_cv_prog_ac_ct_LIPO="lipo"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
82219344 break 2
82229345 fi
82239346 done
82289351 fi
82299352 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
82309353 if test -n "$ac_ct_LIPO"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8232 $as_echo "$ac_ct_LIPO" >&6; }
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9355 printf "%s\n" "$ac_ct_LIPO" >&6; }
82339356 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9358 printf "%s\n" "no" >&6; }
82369359 fi
82379360
82389361 if test "x$ac_ct_LIPO" = x; then
82409363 else
82419364 case $cross_compiling:$ac_tool_warned in
82429365 yes:)
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9367 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
82459368 ac_tool_warned=yes ;;
82469369 esac
82479370 LIPO=$ac_ct_LIPO
82539376 if test -n "$ac_tool_prefix"; then
82549377 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
82559378 set dummy ${ac_tool_prefix}otool; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8257 $as_echo_n "checking for $ac_word... " >&6; }
8258 if ${ac_cv_prog_OTOOL+:} false; then :
8259 $as_echo_n "(cached) " >&6
8260 else
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9380 printf %s "checking for $ac_word... " >&6; }
9381 if test ${ac_cv_prog_OTOOL+y}
9382 then :
9383 printf %s "(cached) " >&6
9384 else $as_nop
82619385 if test -n "$OTOOL"; then
82629386 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
82639387 else
82659389 for as_dir in $PATH
82669390 do
82679391 IFS=$as_save_IFS
8268 test -z "$as_dir" && as_dir=.
9392 case $as_dir in #(((
9393 '') as_dir=./ ;;
9394 */) ;;
9395 *) as_dir=$as_dir/ ;;
9396 esac
82699397 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9398 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
82719399 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
82739401 break 2
82749402 fi
82759403 done
82809408 fi
82819409 OTOOL=$ac_cv_prog_OTOOL
82829410 if test -n "$OTOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8284 $as_echo "$OTOOL" >&6; }
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9412 printf "%s\n" "$OTOOL" >&6; }
82859413 else
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
9414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415 printf "%s\n" "no" >&6; }
82889416 fi
82899417
82909418
82939421 ac_ct_OTOOL=$OTOOL
82949422 # Extract the first word of "otool", so it can be a program name with args.
82959423 set dummy otool; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 printf %s "checking for $ac_word... " >&6; }
9426 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9427 then :
9428 printf %s "(cached) " >&6
9429 else $as_nop
83019430 if test -n "$ac_ct_OTOOL"; then
83029431 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
83039432 else
83059434 for as_dir in $PATH
83069435 do
83079436 IFS=$as_save_IFS
8308 test -z "$as_dir" && as_dir=.
9437 case $as_dir in #(((
9438 '') as_dir=./ ;;
9439 */) ;;
9440 *) as_dir=$as_dir/ ;;
9441 esac
83099442 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83119444 ac_cv_prog_ac_ct_OTOOL="otool"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83139446 break 2
83149447 fi
83159448 done
83209453 fi
83219454 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
83229455 if test -n "$ac_ct_OTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8324 $as_echo "$ac_ct_OTOOL" >&6; }
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9457 printf "%s\n" "$ac_ct_OTOOL" >&6; }
83259458 else
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 printf "%s\n" "no" >&6; }
83289461 fi
83299462
83309463 if test "x$ac_ct_OTOOL" = x; then
83329465 else
83339466 case $cross_compiling:$ac_tool_warned in
83349467 yes:)
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9469 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
83379470 ac_tool_warned=yes ;;
83389471 esac
83399472 OTOOL=$ac_ct_OTOOL
83459478 if test -n "$ac_tool_prefix"; then
83469479 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
83479480 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8349 $as_echo_n "checking for $ac_word... " >&6; }
8350 if ${ac_cv_prog_OTOOL64+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
9481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9482 printf %s "checking for $ac_word... " >&6; }
9483 if test ${ac_cv_prog_OTOOL64+y}
9484 then :
9485 printf %s "(cached) " >&6
9486 else $as_nop
83539487 if test -n "$OTOOL64"; then
83549488 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
83559489 else
83579491 for as_dir in $PATH
83589492 do
83599493 IFS=$as_save_IFS
8360 test -z "$as_dir" && as_dir=.
9494 case $as_dir in #(((
9495 '') as_dir=./ ;;
9496 */) ;;
9497 *) as_dir=$as_dir/ ;;
9498 esac
83619499 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
83639501 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
83659503 break 2
83669504 fi
83679505 done
83729510 fi
83739511 OTOOL64=$ac_cv_prog_OTOOL64
83749512 if test -n "$OTOOL64"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8376 $as_echo "$OTOOL64" >&6; }
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9514 printf "%s\n" "$OTOOL64" >&6; }
83779515 else
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8379 $as_echo "no" >&6; }
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9517 printf "%s\n" "no" >&6; }
83809518 fi
83819519
83829520
83859523 ac_ct_OTOOL64=$OTOOL64
83869524 # Extract the first word of "otool64", so it can be a program name with args.
83879525 set dummy otool64; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9527 printf %s "checking for $ac_word... " >&6; }
9528 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
9529 then :
9530 printf %s "(cached) " >&6
9531 else $as_nop
83939532 if test -n "$ac_ct_OTOOL64"; then
83949533 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
83959534 else
83979536 for as_dir in $PATH
83989537 do
83999538 IFS=$as_save_IFS
8400 test -z "$as_dir" && as_dir=.
9539 case $as_dir in #(((
9540 '') as_dir=./ ;;
9541 */) ;;
9542 *) as_dir=$as_dir/ ;;
9543 esac
84019544 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
84039546 ac_cv_prog_ac_ct_OTOOL64="otool64"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
84059548 break 2
84069549 fi
84079550 done
84129555 fi
84139556 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
84149557 if test -n "$ac_ct_OTOOL64"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8416 $as_echo "$ac_ct_OTOOL64" >&6; }
9558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9559 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
84179560 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9562 printf "%s\n" "no" >&6; }
84209563 fi
84219564
84229565 if test "x$ac_ct_OTOOL64" = x; then
84249567 else
84259568 case $cross_compiling:$ac_tool_warned in
84269569 yes:)
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9571 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
84299572 ac_tool_warned=yes ;;
84309573 esac
84319574 OTOOL64=$ac_ct_OTOOL64
84609603
84619604
84629605
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8464 $as_echo_n "checking for -single_module linker flag... " >&6; }
8465 if ${lt_cv_apple_cc_single_mod+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9607 printf %s "checking for -single_module linker flag... " >&6; }
9608 if test ${lt_cv_apple_cc_single_mod+y}
9609 then :
9610 printf %s "(cached) " >&6
9611 else $as_nop
84689612 lt_cv_apple_cc_single_mod=no
84699613 if test -z "$LT_MULTI_MODULE"; then
84709614 # By default we will add the -single_module flag. You can override
84939637 rm -f conftest.*
84949638 fi
84959639 fi
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8498
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8500 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8501 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9641 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
9642
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9644 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
9645 if test ${lt_cv_ld_exported_symbols_list+y}
9646 then :
9647 printf %s "(cached) " >&6
9648 else $as_nop
85049649 lt_cv_ld_exported_symbols_list=no
85059650 save_LDFLAGS=$LDFLAGS
85069651 echo "_main" > conftest.sym
85099654 /* end confdefs.h. */
85109655
85119656 int
8512 main ()
9657 main (void)
85139658 {
85149659
85159660 ;
85169661 return 0;
85179662 }
85189663 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
9664 if ac_fn_c_try_link "$LINENO"
9665 then :
85209666 lt_cv_ld_exported_symbols_list=yes
8521 else
9667 else $as_nop
85229668 lt_cv_ld_exported_symbols_list=no
85239669 fi
8524 rm -f core conftest.err conftest.$ac_objext \
9670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
85259671 conftest$ac_exeext conftest.$ac_ext
85269672 LDFLAGS=$save_LDFLAGS
85279673
85289674 fi
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8530 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8531
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8533 $as_echo_n "checking for -force_load linker flag... " >&6; }
8534 if ${lt_cv_ld_force_load+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9676 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
9677
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9679 printf %s "checking for -force_load linker flag... " >&6; }
9680 if test ${lt_cv_ld_force_load+y}
9681 then :
9682 printf %s "(cached) " >&6
9683 else $as_nop
85379684 lt_cv_ld_force_load=no
85389685 cat > conftest.c << _LT_EOF
85399686 int forced_loaded() { return 2;}
85409687 _LT_EOF
85419688 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
85429689 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8543 echo "$AR cru libconftest.a conftest.o" >&5
8544 $AR cru libconftest.a conftest.o 2>&5
9690 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9691 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
85459692 echo "$RANLIB libconftest.a" >&5
85469693 $RANLIB libconftest.a 2>&5
85479694 cat > conftest.c << _LT_EOF
85619708 rm -rf conftest.dSYM
85629709
85639710 fi
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8565 $as_echo "$lt_cv_ld_force_load" >&6; }
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9712 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
85669713 case $host_os in
85679714 rhapsody* | darwin1.[012])
85689715 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
85699716 darwin1.*)
85709717 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8571 darwin*) # darwin 5.x on
8572 # if running on 10.5 or later, the deployment target defaults
8573 # to the OS version, if on x86, and 10.4, the deployment
8574 # target defaults to 10.4. Don't you love it?
8575 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8576 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8577 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8578 10.[012][,.]*)
8579 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8580 10.*)
8581 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9718 darwin*)
9719 case $MACOSX_DEPLOYMENT_TARGET,$host in
9720 10.[012],*|,*powerpc*-darwin[5-8]*)
9721 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9722 *)
9723 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
85829724 esac
85839725 ;;
85849726 esac
86339775 esac
86349776 }
86359777
8636 ac_ext=c
8637 ac_cpp='$CPP $CPPFLAGS'
8638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8642 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8643 # On Suns, sometimes $CPP names a directory.
8644 if test -n "$CPP" && test -d "$CPP"; then
8645 CPP=
8646 fi
8647 if test -z "$CPP"; then
8648 if ${ac_cv_prog_CPP+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 # Double quotes because CPP needs to be expanded
8652 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8653 do
8654 ac_preproc_ok=false
8655 for ac_c_preproc_warn_flag in '' yes
9778 ac_header= ac_cache=
9779 for ac_item in $ac_header_c_list
86569780 do
8657 # Use a header file that comes with gcc, so configuring glibc
8658 # with a fresh cross-compiler works.
8659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8660 # <limits.h> exists even on freestanding compilers.
8661 # On the NeXT, cc -E runs the code through the compiler's parser,
8662 # not just through cpp. "Syntax error" is here to catch this case.
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 #ifdef __STDC__
8666 # include <limits.h>
8667 #else
8668 # include <assert.h>
8669 #endif
8670 Syntax error
8671 _ACEOF
8672 if ac_fn_c_try_cpp "$LINENO"; then :
8673
8674 else
8675 # Broken: fails on valid input.
8676 continue
8677 fi
8678 rm -f conftest.err conftest.i conftest.$ac_ext
8679
8680 # OK, works on sane cases. Now check whether nonexistent headers
8681 # can be detected and how.
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8684 #include <ac_nonexistent.h>
8685 _ACEOF
8686 if ac_fn_c_try_cpp "$LINENO"; then :
8687 # Broken: success on invalid input.
8688 continue
8689 else
8690 # Passes both tests.
8691 ac_preproc_ok=:
8692 break
8693 fi
8694 rm -f conftest.err conftest.i conftest.$ac_ext
8695
9781 if test $ac_cache; then
9782 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
9783 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
9784 printf "%s\n" "#define $ac_item 1" >> confdefs.h
9785 fi
9786 ac_header= ac_cache=
9787 elif test $ac_header; then
9788 ac_cache=$ac_item
9789 else
9790 ac_header=$ac_item
9791 fi
86969792 done
8697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8698 rm -f conftest.i conftest.err conftest.$ac_ext
8699 if $ac_preproc_ok; then :
8700 break
8701 fi
8702
8703 done
8704 ac_cv_prog_CPP=$CPP
8705
8706 fi
8707 CPP=$ac_cv_prog_CPP
8708 else
8709 ac_cv_prog_CPP=$CPP
8710 fi
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8712 $as_echo "$CPP" >&6; }
8713 ac_preproc_ok=false
8714 for ac_c_preproc_warn_flag in '' yes
8715 do
8716 # Use a header file that comes with gcc, so configuring glibc
8717 # with a fresh cross-compiler works.
8718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8719 # <limits.h> exists even on freestanding compilers.
8720 # On the NeXT, cc -E runs the code through the compiler's parser,
8721 # not just through cpp. "Syntax error" is here to catch this case.
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 #ifdef __STDC__
8725 # include <limits.h>
8726 #else
8727 # include <assert.h>
8728 #endif
8729 Syntax error
8730 _ACEOF
8731 if ac_fn_c_try_cpp "$LINENO"; then :
8732
8733 else
8734 # Broken: fails on valid input.
8735 continue
8736 fi
8737 rm -f conftest.err conftest.i conftest.$ac_ext
8738
8739 # OK, works on sane cases. Now check whether nonexistent headers
8740 # can be detected and how.
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 #include <ac_nonexistent.h>
8744 _ACEOF
8745 if ac_fn_c_try_cpp "$LINENO"; then :
8746 # Broken: success on invalid input.
8747 continue
8748 else
8749 # Passes both tests.
8750 ac_preproc_ok=:
8751 break
8752 fi
8753 rm -f conftest.err conftest.i conftest.$ac_ext
8754
8755 done
8756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8757 rm -f conftest.i conftest.err conftest.$ac_ext
8758 if $ac_preproc_ok; then :
8759
8760 else
8761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8763 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8764 See \`config.log' for more details" "$LINENO" 5; }
8765 fi
8766
8767 ac_ext=c
8768 ac_cpp='$CPP $CPPFLAGS'
8769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8772
8773
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8775 $as_echo_n "checking for ANSI C header files... " >&6; }
8776 if ${ac_cv_header_stdc+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 #include <stdlib.h>
8782 #include <stdarg.h>
8783 #include <string.h>
8784 #include <float.h>
8785
8786 int
8787 main ()
8788 {
8789
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 if ac_fn_c_try_compile "$LINENO"; then :
8795 ac_cv_header_stdc=yes
8796 else
8797 ac_cv_header_stdc=no
8798 fi
8799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8800
8801 if test $ac_cv_header_stdc = yes; then
8802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 #include <string.h>
8806
8807 _ACEOF
8808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8809 $EGREP "memchr" >/dev/null 2>&1; then :
8810
8811 else
8812 ac_cv_header_stdc=no
8813 fi
8814 rm -f conftest*
8815
8816 fi
8817
8818 if test $ac_cv_header_stdc = yes; then
8819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 #include <stdlib.h>
8823
8824 _ACEOF
8825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8826 $EGREP "free" >/dev/null 2>&1; then :
8827
8828 else
8829 ac_cv_header_stdc=no
8830 fi
8831 rm -f conftest*
8832
8833 fi
8834
8835 if test $ac_cv_header_stdc = yes; then
8836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8837 if test "$cross_compiling" = yes; then :
8838 :
8839 else
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8842 #include <ctype.h>
8843 #include <stdlib.h>
8844 #if ((' ' & 0x0FF) == 0x020)
8845 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8846 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8847 #else
8848 # define ISLOWER(c) \
8849 (('a' <= (c) && (c) <= 'i') \
8850 || ('j' <= (c) && (c) <= 'r') \
8851 || ('s' <= (c) && (c) <= 'z'))
8852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8853 #endif
8854
8855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8856 int
8857 main ()
8858 {
8859 int i;
8860 for (i = 0; i < 256; i++)
8861 if (XOR (islower (i), ISLOWER (i))
8862 || toupper (i) != TOUPPER (i))
8863 return 2;
8864 return 0;
8865 }
8866 _ACEOF
8867 if ac_fn_c_try_run "$LINENO"; then :
8868
8869 else
8870 ac_cv_header_stdc=no
8871 fi
8872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8873 conftest.$ac_objext conftest.beam conftest.$ac_ext
8874 fi
8875
8876 fi
8877 fi
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8879 $as_echo "$ac_cv_header_stdc" >&6; }
8880 if test $ac_cv_header_stdc = yes; then
8881
8882 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8883
8884 fi
8885
8886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8887 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8888 inttypes.h stdint.h unistd.h
8889 do :
8890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8891 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9793
9794
9795
9796
9797
9798
9799
9800
9801 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
9802 then :
9803
9804 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
9805
9806 fi
9807 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
88929808 "
8893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8894 cat >>confdefs.h <<_ACEOF
8895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8896 _ACEOF
8897
8898 fi
8899
8900 done
8901
8902
8903 for ac_header in dlfcn.h
8904 do :
8905 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8906 "
8907 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8908 cat >>confdefs.h <<_ACEOF
8909 #define HAVE_DLFCN_H 1
8910 _ACEOF
8911
8912 fi
8913
8914 done
9809 if test "x$ac_cv_header_dlfcn_h" = xyes
9810 then :
9811 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9812
9813 fi
89159814
89169815
89179816
89399838
89409839
89419840 # Check whether --enable-shared was given.
8942 if test "${enable_shared+set}" = set; then :
9841 if test ${enable_shared+y}
9842 then :
89439843 enableval=$enable_shared; p=${PACKAGE-default}
89449844 case $enableval in
89459845 yes) enable_shared=yes ;;
89579857 IFS=$lt_save_ifs
89589858 ;;
89599859 esac
8960 else
9860 else $as_nop
89619861 enable_shared=yes
89629862 fi
89639863
89709870
89719871
89729872 # Check whether --enable-static was given.
8973 if test "${enable_static+set}" = set; then :
9873 if test ${enable_static+y}
9874 then :
89749875 enableval=$enable_static; p=${PACKAGE-default}
89759876 case $enableval in
89769877 yes) enable_static=yes ;;
89889889 IFS=$lt_save_ifs
89899890 ;;
89909891 esac
8991 else
9892 else $as_nop
89929893 enable_static=yes
89939894 fi
89949895
90029903
90039904
90049905 # Check whether --with-pic was given.
9005 if test "${with_pic+set}" = set; then :
9906 if test ${with_pic+y}
9907 then :
90069908 withval=$with_pic; lt_p=${PACKAGE-default}
90079909 case $withval in
90089910 yes|no) pic_mode=$withval ;;
90199921 IFS=$lt_save_ifs
90209922 ;;
90219923 esac
9022 else
9924 else $as_nop
90239925 pic_mode=default
90249926 fi
90259927
90319933
90329934
90339935 # Check whether --enable-fast-install was given.
9034 if test "${enable_fast_install+set}" = set; then :
9936 if test ${enable_fast_install+y}
9937 then :
90359938 enableval=$enable_fast_install; p=${PACKAGE-default}
90369939 case $enableval in
90379940 yes) enable_fast_install=yes ;;
90499952 IFS=$lt_save_ifs
90509953 ;;
90519954 esac
9052 else
9955 else $as_nop
90539956 enable_fast_install=yes
90549957 fi
90559958
90639966 shared_archive_member_spec=
90649967 case $host,$enable_shared in
90659968 power*-*-aix[5-9]*,yes)
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9067 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9970 printf %s "checking which variant of shared library versioning to provide... " >&6; }
90689971
90699972 # Check whether --with-aix-soname was given.
9070 if test "${with_aix_soname+set}" = set; then :
9973 if test ${with_aix_soname+y}
9974 then :
90719975 withval=$with_aix_soname; case $withval in
90729976 aix|svr4|both)
90739977 ;;
90769980 ;;
90779981 esac
90789982 lt_cv_with_aix_soname=$with_aix_soname
9079 else
9080 if ${lt_cv_with_aix_soname+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9983 else $as_nop
9984 if test ${lt_cv_with_aix_soname+y}
9985 then :
9986 printf %s "(cached) " >&6
9987 else $as_nop
90839988 lt_cv_with_aix_soname=aix
90849989 fi
90859990
90869991 with_aix_soname=$lt_cv_with_aix_soname
90879992 fi
90889993
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9090 $as_echo "$with_aix_soname" >&6; }
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9995 printf "%s\n" "$with_aix_soname" >&6; }
90919996 if test aix != "$with_aix_soname"; then
90929997 # For the AIX way of multilib, we name the shared archive member
90939998 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
916910074 setopt NO_GLOB_SUBST
917010075 fi
917110076
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9173 $as_echo_n "checking for objdir... " >&6; }
9174 if ${lt_cv_objdir+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10078 printf %s "checking for objdir... " >&6; }
10079 if test ${lt_cv_objdir+y}
10080 then :
10081 printf %s "(cached) " >&6
10082 else $as_nop
917710083 rm -f .libs 2>/dev/null
917810084 mkdir .libs 2>/dev/null
917910085 if test -d .libs; then
918410090 fi
918510091 rmdir .libs 2>/dev/null
918610092 fi
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9188 $as_echo "$lt_cv_objdir" >&6; }
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10094 printf "%s\n" "$lt_cv_objdir" >&6; }
918910095 objdir=$lt_cv_objdir
919010096
919110097
919210098
919310099
919410100
9195 cat >>confdefs.h <<_ACEOF
9196 #define LT_OBJDIR "$lt_cv_objdir/"
9197 _ACEOF
10101 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
919810102
919910103
920010104
921510119 ofile=libtool
921610120 can_build_shared=yes
921710121
9218 # All known linkers require a '.a' archive for static linking (except MSVC,
9219 # which needs '.lib').
10122 # All known linkers require a '.a' archive for static linking (except MSVC and
10123 # ICC, which need '.lib').
922010124 libext=a
922110125
922210126 with_gnu_ld=$lt_cv_prog_gnu_ld
924010144 case $deplibs_check_method in
924110145 file_magic*)
924210146 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9244 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9245 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10148 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
10149 if test ${lt_cv_path_MAGIC_CMD+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
924810153 case $MAGIC_CMD in
924910154 [\\/*] | ?:[\\/]*)
925010155 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
929310198
929410199 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
929510200 if test -n "$MAGIC_CMD"; then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9297 $as_echo "$MAGIC_CMD" >&6; }
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10202 printf "%s\n" "$MAGIC_CMD" >&6; }
929810203 else
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 $as_echo "no" >&6; }
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10205 printf "%s\n" "no" >&6; }
930110206 fi
930210207
930310208
930610211
930710212 if test -z "$lt_cv_path_MAGIC_CMD"; then
930810213 if test -n "$ac_tool_prefix"; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9310 $as_echo_n "checking for file... " >&6; }
9311 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10215 printf %s "checking for file... " >&6; }
10216 if test ${lt_cv_path_MAGIC_CMD+y}
10217 then :
10218 printf %s "(cached) " >&6
10219 else $as_nop
931410220 case $MAGIC_CMD in
931510221 [\\/*] | ?:[\\/]*)
931610222 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
935910265
936010266 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
936110267 if test -n "$MAGIC_CMD"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9363 $as_echo "$MAGIC_CMD" >&6; }
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10269 printf "%s\n" "$MAGIC_CMD" >&6; }
936410270 else
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9366 $as_echo "no" >&6; }
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 printf "%s\n" "no" >&6; }
936710273 fi
936810274
936910275
944410350 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
944510351 esac
944610352
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9449 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10354 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10355 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
10356 then :
10357 printf %s "(cached) " >&6
10358 else $as_nop
945210359 lt_cv_prog_compiler_rtti_exceptions=no
945310360 ac_outfile=conftest.$ac_objext
945410361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
947910386 $RM conftest*
948010387
948110388 fi
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10390 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
948410391
948510392 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
948610393 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
972710634 lt_prog_compiler_static='-qstaticlink'
972810635 ;;
972910636 *)
9730 case `$CC -V 2>&1 | sed 5q` in
10637 case `$CC -V 2>&1 | $SED 5q` in
973110638 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
973210639 # Sun Fortran 8.3 passes all unrecognized flags to the linker
973310640 lt_prog_compiler_pic='-KPIC'
984310750 ;;
984410751 esac
984510752
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9847 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9848 if ${lt_cv_prog_compiler_pic+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
10753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10754 printf %s "checking for $compiler option to produce PIC... " >&6; }
10755 if test ${lt_cv_prog_compiler_pic+y}
10756 then :
10757 printf %s "(cached) " >&6
10758 else $as_nop
985110759 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
985210760 fi
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9854 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10762 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
985510763 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
985610764
985710765 #
985810766 # Check to make sure the PIC flag actually works.
985910767 #
986010768 if test -n "$lt_prog_compiler_pic"; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9862 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9863 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10770 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10771 if test ${lt_cv_prog_compiler_pic_works+y}
10772 then :
10773 printf %s "(cached) " >&6
10774 else $as_nop
986610775 lt_cv_prog_compiler_pic_works=no
986710776 ac_outfile=conftest.$ac_objext
986810777 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
989310802 $RM conftest*
989410803
989510804 fi
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9897 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10806 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
989810807
989910808 if test yes = "$lt_cv_prog_compiler_pic_works"; then
990010809 case $lt_prog_compiler_pic in
992210831 # Check to make sure the static flag actually works.
992310832 #
992410833 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9926 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9927 if ${lt_cv_prog_compiler_static_works+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10835 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10836 if test ${lt_cv_prog_compiler_static_works+y}
10837 then :
10838 printf %s "(cached) " >&6
10839 else $as_nop
993010840 lt_cv_prog_compiler_static_works=no
993110841 save_LDFLAGS=$LDFLAGS
993210842 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
995010860 LDFLAGS=$save_LDFLAGS
995110861
995210862 fi
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9954 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10864 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
995510865
995610866 if test yes = "$lt_cv_prog_compiler_static_works"; then
995710867 :
996510875
996610876
996710877
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9970 if ${lt_cv_prog_compiler_c_o+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10879 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10880 if test ${lt_cv_prog_compiler_c_o+y}
10881 then :
10882 printf %s "(cached) " >&6
10883 else $as_nop
997310884 lt_cv_prog_compiler_c_o=no
997410885 $RM -r conftest 2>/dev/null
997510886 mkdir conftest
1001210923 $RM conftest*
1001310924
1001410925 fi
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10016 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10017
10018
10019
10020
10021
10022
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10024 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10025 if ${lt_cv_prog_compiler_c_o+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10927 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10928
10929
10930
10931
10932
10933
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10935 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10936 if test ${lt_cv_prog_compiler_c_o+y}
10937 then :
10938 printf %s "(cached) " >&6
10939 else $as_nop
1002810940 lt_cv_prog_compiler_c_o=no
1002910941 $RM -r conftest 2>/dev/null
1003010942 mkdir conftest
1006710979 $RM conftest*
1006810980
1006910981 fi
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10071 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10983 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1007210984
1007310985
1007410986
1007610988 hard_links=nottested
1007710989 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1007810990 # do not overwrite the value of need_locks provided by the user
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10080 $as_echo_n "checking if we can lock with hard links... " >&6; }
10991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10992 printf %s "checking if we can lock with hard links... " >&6; }
1008110993 hard_links=yes
1008210994 $RM conftest*
1008310995 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1008410996 touch conftest.a
1008510997 ln conftest.a conftest.b 2>&5 || hard_links=no
1008610998 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10088 $as_echo "$hard_links" >&6; }
10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11000 printf "%s\n" "$hard_links" >&6; }
1008911001 if test no = "$hard_links"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10091 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11003 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1009211004 need_locks=warn
1009311005 fi
1009411006 else
1010011012
1010111013
1010211014
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10104 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11016 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1010511017
1010611018 runpath_var=
1010711019 allow_undefined_flag=
1014511057
1014611058 case $host_os in
1014711059 cygwin* | mingw* | pw32* | cegcc*)
10148 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11060 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
1014911061 # When not using gcc, we currently assume that we are using
10150 # Microsoft Visual C++.
11062 # Microsoft Visual C++ or Intel C++ Compiler.
1015111063 if test yes != "$GCC"; then
1015211064 with_gnu_ld=no
1015311065 fi
1015411066 ;;
1015511067 interix*)
10156 # we just hope/assume this is gcc and not c89 (= MSVC++)
11068 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
1015711069 with_gnu_ld=yes
1015811070 ;;
1015911071 openbsd* | bitrig*)
1020811120 whole_archive_flag_spec=
1020911121 fi
1021011122 supports_anon_versioning=no
10211 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11123 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
1021211124 *GNU\ gold*) supports_anon_versioning=yes ;;
1021311125 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
1021411126 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
1032011232 emximp -o $lib $output_objdir/$libname.def'
1032111233 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
1032211234 enable_shared_with_static_runtimes=yes
11235 file_list_spec='@'
1032311236 ;;
1032411237
1032511238 interix[3-9]*)
1033411247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1033511248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1033611249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10337 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11250 archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1033811251 ;;
1033911252
1034011253 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
1037711290 compiler_needs_object=yes
1037811291 ;;
1037911292 esac
10380 case `$CC -V 2>&1 | sed 5q` in
11293 case `$CC -V 2>&1 | $SED 5q` in
1038111294 *Sun\ C*) # Sun C 5.9
1038211295 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
1038311296 compiler_needs_object=yes
1038911302
1039011303 if test yes = "$supports_anon_versioning"; then
1039111304 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10392 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11305 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1039311306 echo "local: *; };" >> $output_objdir/$libname.ver~
1039411307 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1039511308 fi
1039611309
1039711310 case $cc_basename in
1039811311 tcc*)
11312 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1039911313 export_dynamic_flag_spec='-rdynamic'
1040011314 ;;
1040111315 xlf* | bgf* | bgxlf* | mpixlf*)
1040511319 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1040611320 if test yes = "$supports_anon_versioning"; then
1040711321 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10408 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11322 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1040911323 echo "local: *; };" >> $output_objdir/$libname.ver~
1041011324 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1041111325 fi
1053711451 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1053811452 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1053911453 else
10540 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11454 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1054111455 fi
1054211456 aix_use_runtimelinking=no
1054311457
1065911573 if test set = "${lt_cv_aix_libpath+set}"; then
1066011574 aix_libpath=$lt_cv_aix_libpath
1066111575 else
10662 if ${lt_cv_aix_libpath_+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
11576 if test ${lt_cv_aix_libpath_+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
1066511580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1066611581 /* end confdefs.h. */
1066711582
1066811583 int
10669 main ()
11584 main (void)
1067011585 {
1067111586
1067211587 ;
1067311588 return 0;
1067411589 }
1067511590 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
11591 if ac_fn_c_try_link "$LINENO"
11592 then :
1067711593
1067811594 lt_aix_libpath_sed='
1067911595 /Import File Strings/,/^$/ {
1068811604 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1068911605 fi
1069011606 fi
10691 rm -f core conftest.err conftest.$ac_objext \
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1069211608 conftest$ac_exeext conftest.$ac_ext
1069311609 if test -z "$lt_cv_aix_libpath_"; then
1069411610 lt_cv_aix_libpath_=/usr/lib:/lib
1071211628 if test set = "${lt_cv_aix_libpath+set}"; then
1071311629 aix_libpath=$lt_cv_aix_libpath
1071411630 else
10715 if ${lt_cv_aix_libpath_+:} false; then :
10716 $as_echo_n "(cached) " >&6
10717 else
11631 if test ${lt_cv_aix_libpath_+y}
11632 then :
11633 printf %s "(cached) " >&6
11634 else $as_nop
1071811635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1071911636 /* end confdefs.h. */
1072011637
1072111638 int
10722 main ()
11639 main (void)
1072311640 {
1072411641
1072511642 ;
1072611643 return 0;
1072711644 }
1072811645 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
11646 if ac_fn_c_try_link "$LINENO"
11647 then :
1073011648
1073111649 lt_aix_libpath_sed='
1073211650 /Import File Strings/,/^$/ {
1074111659 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1074211660 fi
1074311661 fi
10744 rm -f core conftest.err conftest.$ac_objext \
11662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1074511663 conftest$ac_exeext conftest.$ac_ext
1074611664 if test -z "$lt_cv_aix_libpath_"; then
1074711665 lt_cv_aix_libpath_=/usr/lib:/lib
1080411722
1080511723 cygwin* | mingw* | pw32* | cegcc*)
1080611724 # When not using gcc, we currently assume that we are using
10807 # Microsoft Visual C++.
11725 # Microsoft Visual C++ or Intel C++ Compiler.
1080811726 # hardcode_libdir_flag_spec is actually meaningless, as there is
1080911727 # no search path for DLLs.
1081011728 case $cc_basename in
10811 cl*)
10812 # Native MSVC
11729 cl* | icl*)
11730 # Native MSVC or ICC
1081311731 hardcode_libdir_flag_spec=' '
1081411732 allow_undefined_flag=unsupported
1081511733 always_export_symbols=yes
1085011768 fi'
1085111769 ;;
1085211770 *)
10853 # Assume MSVC wrapper
11771 # Assume MSVC and ICC wrapper
1085411772 hardcode_libdir_flag_spec=' '
1085511773 allow_undefined_flag=unsupported
1085611774 # Tell ltmain to make .lib files, not .a files.
1089111809 output_verbose_link_cmd=func_echo_all
1089211810 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
1089311811 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10894 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10895 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11812 archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
11813 module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1089611814
1089711815 else
1089811816 ld_shlibs=no
1092611844 ;;
1092711845
1092811846 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10929 freebsd* | dragonfly*)
11847 freebsd* | dragonfly* | midnightbsd*)
1093011848 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1093111849 hardcode_libdir_flag_spec='-R$libdir'
1093211850 hardcode_direct=yes
1099211910
1099311911 # Older versions of the 11.00 compiler do not understand -b yet
1099411912 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10996 $as_echo_n "checking if $CC understands -b... " >&6; }
10997 if ${lt_cv_prog_compiler__b+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11914 printf %s "checking if $CC understands -b... " >&6; }
11915 if test ${lt_cv_prog_compiler__b+y}
11916 then :
11917 printf %s "(cached) " >&6
11918 else $as_nop
1100011919 lt_cv_prog_compiler__b=no
1100111920 save_LDFLAGS=$LDFLAGS
1100211921 LDFLAGS="$LDFLAGS -b"
1102011939 LDFLAGS=$save_LDFLAGS
1102111940
1102211941 fi
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11024 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11943 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1102511944
1102611945 if test yes = "$lt_cv_prog_compiler__b"; then
1102711946 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1106111980 # work, assume that -exports_file does not work either and
1106211981 # implicitly export all symbols.
1106311982 # This should be the same for all languages, so no per-tag cache variable.
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11065 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11066 if ${lt_cv_irix_exported_symbol+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11984 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11985 if test ${lt_cv_irix_exported_symbol+y}
11986 then :
11987 printf %s "(cached) " >&6
11988 else $as_nop
1106911989 save_LDFLAGS=$LDFLAGS
1107011990 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1107111991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1107211992 /* end confdefs.h. */
1107311993 int foo (void) { return 0; }
1107411994 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11995 if ac_fn_c_try_link "$LINENO"
11996 then :
1107611997 lt_cv_irix_exported_symbol=yes
11077 else
11998 else $as_nop
1107811999 lt_cv_irix_exported_symbol=no
1107912000 fi
11080 rm -f core conftest.err conftest.$ac_objext \
12001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1108112002 conftest$ac_exeext conftest.$ac_ext
1108212003 LDFLAGS=$save_LDFLAGS
1108312004 fi
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11085 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12006 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
1108612007 if test yes = "$lt_cv_irix_exported_symbol"; then
1108712008 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'
1108812009 fi
1110412025 # Fabrice Bellard et al's Tiny C Compiler
1110512026 ld_shlibs=yes
1110612027 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12028 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1110712029 ;;
1110812030 esac
1110912031 ;;
1117512097 emximp -o $lib $output_objdir/$libname.def'
1117612098 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
1117712099 enable_shared_with_static_runtimes=yes
12100 file_list_spec='@'
1117812101 ;;
1117912102
1118012103 osf3*)
1136312286 fi
1136412287 fi
1136512288
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11367 $as_echo "$ld_shlibs" >&6; }
12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12290 printf "%s\n" "$ld_shlibs" >&6; }
1136812291 test no = "$ld_shlibs" && can_build_shared=no
1136912292
1137012293 with_gnu_ld=$with_gnu_ld
1140012323 # Test whether the compiler implicitly links with -lc since on some
1140112324 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1140212325 # to ld, don't add -lc before -lgcc.
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11404 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11405 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12327 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12328 if test ${lt_cv_archive_cmds_need_lc+y}
12329 then :
12330 printf %s "(cached) " >&6
12331 else $as_nop
1140812332 $RM conftest*
1140912333 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1141012334
1141112335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1141212336 (eval $ac_compile) 2>&5
1141312337 ac_status=$?
11414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1141512339 test $ac_status = 0; } 2>conftest.err; then
1141612340 soname=conftest
1141712341 lib=conftest
1142912353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1143012354 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1143112355 ac_status=$?
11432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1143312357 test $ac_status = 0; }
1143412358 then
1143512359 lt_cv_archive_cmds_need_lc=no
1144312367 $RM conftest*
1144412368
1144512369 fi
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11447 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12371 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1144812372 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1144912373 ;;
1145012374 esac
1160312527
1160412528
1160512529
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11607 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12531 printf %s "checking dynamic linker characteristics... " >&6; }
1160812532
1160912533 if test yes = "$GCC"; then
1161012534 case $host_os in
1186612790 case $host_os in
1186712791 cygwin*)
1186812792 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11869 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12793 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1187012794
1187112795 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1187212796 ;;
1187612800 ;;
1187712801 pw32*)
1187812802 # pw32 DLLs use 'pw' prefix rather than 'lib'
11879 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12803 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1188012804 ;;
1188112805 esac
1188212806 dynamic_linker='Win32 ld.exe'
1188312807 ;;
1188412808
11885 *,cl*)
11886 # Native MSVC
12809 *,cl* | *,icl*)
12810 # Native MSVC or ICC
1188712811 libname_spec='$name'
1188812812 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1188912813 library_names_spec='$libname.dll.lib'
1190212826 done
1190312827 IFS=$lt_save_ifs
1190412828 # Convert to MSYS style.
11905 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12829 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1190612830 ;;
1190712831 cygwin*)
1190812832 # Convert to unix form, then to dos form, then back to unix form
1193912863 ;;
1194012864
1194112865 *)
11942 # Assume MSVC wrapper
12866 # Assume MSVC and ICC wrapper
1194312867 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1194412868 dynamic_linker='Win32 ld.exe'
1194512869 ;;
1197212896 shlibpath_var=LD_LIBRARY_PATH
1197312897 ;;
1197412898
11975 freebsd* | dragonfly*)
12899 freebsd* | dragonfly* | midnightbsd*)
1197612900 # DragonFly does not have aout. When/if they implement a new
1197712901 # versioning mechanism, adjust this.
1197812902 if test -x /usr/bin/objformat; then
1216513089 shlibpath_overrides_runpath=no
1216613090
1216713091 # Some binutils ld are patched to set DT_RUNPATH
12168 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12169 $as_echo_n "(cached) " >&6
12170 else
13092 if test ${lt_cv_shlibpath_overrides_runpath+y}
13093 then :
13094 printf %s "(cached) " >&6
13095 else $as_nop
1217113096 lt_cv_shlibpath_overrides_runpath=no
1217213097 save_LDFLAGS=$LDFLAGS
1217313098 save_libdir=$libdir
1217713102 /* end confdefs.h. */
1217813103
1217913104 int
12180 main ()
13105 main (void)
1218113106 {
1218213107
1218313108 ;
1218413109 return 0;
1218513110 }
1218613111 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13112 if ac_fn_c_try_link "$LINENO"
13113 then :
13114 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13115 then :
1218913116 lt_cv_shlibpath_overrides_runpath=yes
1219013117 fi
1219113118 fi
12192 rm -f core conftest.err conftest.$ac_objext \
13119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1219313120 conftest$ac_exeext conftest.$ac_ext
1219413121 LDFLAGS=$save_LDFLAGS
1219513122 libdir=$save_libdir
1243313360 dynamic_linker=no
1243413361 ;;
1243513362 esac
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12437 $as_echo "$dynamic_linker" >&6; }
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13364 printf "%s\n" "$dynamic_linker" >&6; }
1243813365 test no = "$dynamic_linker" && can_build_shared=no
1243913366
1244013367 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1255513482
1255613483
1255713484
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12559 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13486 printf %s "checking how to hardcode library paths into programs... " >&6; }
1256013487 hardcode_action=
1256113488 if test -n "$hardcode_libdir_flag_spec" ||
1256213489 test -n "$runpath_var" ||
1258013507 # directories.
1258113508 hardcode_action=unsupported
1258213509 fi
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12584 $as_echo "$hardcode_action" >&6; }
13510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13511 printf "%s\n" "$hardcode_action" >&6; }
1258513512
1258613513 if test relink = "$hardcode_action" ||
1258713514 test yes = "$inherit_rpath"; then
1262513552
1262613553 darwin*)
1262713554 # if libdl is installed we need to link against it
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12630 if ${ac_cv_lib_dl_dlopen+:} false; then :
12631 $as_echo_n "(cached) " >&6
12632 else
13555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13556 printf %s "checking for dlopen in -ldl... " >&6; }
13557 if test ${ac_cv_lib_dl_dlopen+y}
13558 then :
13559 printf %s "(cached) " >&6
13560 else $as_nop
1263313561 ac_check_lib_save_LIBS=$LIBS
1263413562 LIBS="-ldl $LIBS"
1263513563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1263813566 /* Override any GCC internal prototype to avoid an error.
1263913567 Use char because int might match the return type of a GCC
1264013568 builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
1264413569 char dlopen ();
1264513570 int
12646 main ()
13571 main (void)
1264713572 {
1264813573 return dlopen ();
1264913574 ;
1265013575 return 0;
1265113576 }
1265213577 _ACEOF
12653 if ac_fn_c_try_link "$LINENO"; then :
13578 if ac_fn_c_try_link "$LINENO"
13579 then :
1265413580 ac_cv_lib_dl_dlopen=yes
12655 else
13581 else $as_nop
1265613582 ac_cv_lib_dl_dlopen=no
1265713583 fi
12658 rm -f core conftest.err conftest.$ac_objext \
13584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1265913585 conftest$ac_exeext conftest.$ac_ext
1266013586 LIBS=$ac_check_lib_save_LIBS
1266113587 fi
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12663 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12664 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13589 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13590 if test "x$ac_cv_lib_dl_dlopen" = xyes
13591 then :
1266513592 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12666 else
13593 else $as_nop
1266713594
1266813595 lt_cv_dlopen=dyld
1266913596 lt_cv_dlopen_libs=
1268313610
1268413611 *)
1268513612 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12686 if test "x$ac_cv_func_shl_load" = xyes; then :
13613 if test "x$ac_cv_func_shl_load" = xyes
13614 then :
1268713615 lt_cv_dlopen=shl_load
12688 else
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12690 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12691 if ${ac_cv_lib_dld_shl_load+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
13616 else $as_nop
13617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13618 printf %s "checking for shl_load in -ldld... " >&6; }
13619 if test ${ac_cv_lib_dld_shl_load+y}
13620 then :
13621 printf %s "(cached) " >&6
13622 else $as_nop
1269413623 ac_check_lib_save_LIBS=$LIBS
1269513624 LIBS="-ldld $LIBS"
1269613625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1269913628 /* Override any GCC internal prototype to avoid an error.
1270013629 Use char because int might match the return type of a GCC
1270113630 builtin and then its argument prototype would still apply. */
12702 #ifdef __cplusplus
12703 extern "C"
12704 #endif
1270513631 char shl_load ();
1270613632 int
12707 main ()
13633 main (void)
1270813634 {
1270913635 return shl_load ();
1271013636 ;
1271113637 return 0;
1271213638 }
1271313639 _ACEOF
12714 if ac_fn_c_try_link "$LINENO"; then :
13640 if ac_fn_c_try_link "$LINENO"
13641 then :
1271513642 ac_cv_lib_dld_shl_load=yes
12716 else
13643 else $as_nop
1271713644 ac_cv_lib_dld_shl_load=no
1271813645 fi
12719 rm -f core conftest.err conftest.$ac_objext \
13646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1272013647 conftest$ac_exeext conftest.$ac_ext
1272113648 LIBS=$ac_check_lib_save_LIBS
1272213649 fi
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12724 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12725 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13651 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
13652 if test "x$ac_cv_lib_dld_shl_load" = xyes
13653 then :
1272613654 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12727 else
13655 else $as_nop
1272813656 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12729 if test "x$ac_cv_func_dlopen" = xyes; then :
13657 if test "x$ac_cv_func_dlopen" = xyes
13658 then :
1273013659 lt_cv_dlopen=dlopen
12731 else
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12733 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12734 if ${ac_cv_lib_dl_dlopen+:} false; then :
12735 $as_echo_n "(cached) " >&6
12736 else
13660 else $as_nop
13661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13662 printf %s "checking for dlopen in -ldl... " >&6; }
13663 if test ${ac_cv_lib_dl_dlopen+y}
13664 then :
13665 printf %s "(cached) " >&6
13666 else $as_nop
1273713667 ac_check_lib_save_LIBS=$LIBS
1273813668 LIBS="-ldl $LIBS"
1273913669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1274213672 /* Override any GCC internal prototype to avoid an error.
1274313673 Use char because int might match the return type of a GCC
1274413674 builtin and then its argument prototype would still apply. */
12745 #ifdef __cplusplus
12746 extern "C"
12747 #endif
1274813675 char dlopen ();
1274913676 int
12750 main ()
13677 main (void)
1275113678 {
1275213679 return dlopen ();
1275313680 ;
1275413681 return 0;
1275513682 }
1275613683 _ACEOF
12757 if ac_fn_c_try_link "$LINENO"; then :
13684 if ac_fn_c_try_link "$LINENO"
13685 then :
1275813686 ac_cv_lib_dl_dlopen=yes
12759 else
13687 else $as_nop
1276013688 ac_cv_lib_dl_dlopen=no
1276113689 fi
12762 rm -f core conftest.err conftest.$ac_objext \
13690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1276313691 conftest$ac_exeext conftest.$ac_ext
1276413692 LIBS=$ac_check_lib_save_LIBS
1276513693 fi
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12767 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12768 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13695 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13696 if test "x$ac_cv_lib_dl_dlopen" = xyes
13697 then :
1276913698 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12770 else
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12772 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12773 if ${ac_cv_lib_svld_dlopen+:} false; then :
12774 $as_echo_n "(cached) " >&6
12775 else
13699 else $as_nop
13700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13701 printf %s "checking for dlopen in -lsvld... " >&6; }
13702 if test ${ac_cv_lib_svld_dlopen+y}
13703 then :
13704 printf %s "(cached) " >&6
13705 else $as_nop
1277613706 ac_check_lib_save_LIBS=$LIBS
1277713707 LIBS="-lsvld $LIBS"
1277813708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1278113711 /* Override any GCC internal prototype to avoid an error.
1278213712 Use char because int might match the return type of a GCC
1278313713 builtin and then its argument prototype would still apply. */
12784 #ifdef __cplusplus
12785 extern "C"
12786 #endif
1278713714 char dlopen ();
1278813715 int
12789 main ()
13716 main (void)
1279013717 {
1279113718 return dlopen ();
1279213719 ;
1279313720 return 0;
1279413721 }
1279513722 _ACEOF
12796 if ac_fn_c_try_link "$LINENO"; then :
13723 if ac_fn_c_try_link "$LINENO"
13724 then :
1279713725 ac_cv_lib_svld_dlopen=yes
12798 else
13726 else $as_nop
1279913727 ac_cv_lib_svld_dlopen=no
1280013728 fi
12801 rm -f core conftest.err conftest.$ac_objext \
13729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1280213730 conftest$ac_exeext conftest.$ac_ext
1280313731 LIBS=$ac_check_lib_save_LIBS
1280413732 fi
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12806 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12807 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13734 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
13735 if test "x$ac_cv_lib_svld_dlopen" = xyes
13736 then :
1280813737 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12811 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12812 if ${ac_cv_lib_dld_dld_link+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
13738 else $as_nop
13739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13740 printf %s "checking for dld_link in -ldld... " >&6; }
13741 if test ${ac_cv_lib_dld_dld_link+y}
13742 then :
13743 printf %s "(cached) " >&6
13744 else $as_nop
1281513745 ac_check_lib_save_LIBS=$LIBS
1281613746 LIBS="-ldld $LIBS"
1281713747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1282013750 /* Override any GCC internal prototype to avoid an error.
1282113751 Use char because int might match the return type of a GCC
1282213752 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
1282613753 char dld_link ();
1282713754 int
12828 main ()
13755 main (void)
1282913756 {
1283013757 return dld_link ();
1283113758 ;
1283213759 return 0;
1283313760 }
1283413761 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
13762 if ac_fn_c_try_link "$LINENO"
13763 then :
1283613764 ac_cv_lib_dld_dld_link=yes
12837 else
13765 else $as_nop
1283813766 ac_cv_lib_dld_dld_link=no
1283913767 fi
12840 rm -f core conftest.err conftest.$ac_objext \
13768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1284113769 conftest$ac_exeext conftest.$ac_ext
1284213770 LIBS=$ac_check_lib_save_LIBS
1284313771 fi
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12845 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12846 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13773 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
13774 if test "x$ac_cv_lib_dld_dld_link" = xyes
13775 then :
1284713776 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1284813777 fi
1284913778
1288213811 save_LIBS=$LIBS
1288313812 LIBS="$lt_cv_dlopen_libs $LIBS"
1288413813
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12886 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12887 if ${lt_cv_dlopen_self+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13815 printf %s "checking whether a program can dlopen itself... " >&6; }
13816 if test ${lt_cv_dlopen_self+y}
13817 then :
13818 printf %s "(cached) " >&6
13819 else $as_nop
1289013820 if test yes = "$cross_compiling"; then :
1289113821 lt_cv_dlopen_self=cross
1289213822 else
1296513895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1296613896 (eval $ac_link) 2>&5
1296713897 ac_status=$?
12968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1296913899 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1297013900 (./conftest; exit; ) >&5 2>/dev/null
1297113901 lt_status=$?
1298313913
1298413914
1298513915 fi
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12987 $as_echo "$lt_cv_dlopen_self" >&6; }
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13917 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1298813918
1298913919 if test yes = "$lt_cv_dlopen_self"; then
1299013920 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12992 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12993 if ${lt_cv_dlopen_self_static+:} false; then :
12994 $as_echo_n "(cached) " >&6
12995 else
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13922 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
13923 if test ${lt_cv_dlopen_self_static+y}
13924 then :
13925 printf %s "(cached) " >&6
13926 else $as_nop
1299613927 if test yes = "$cross_compiling"; then :
1299713928 lt_cv_dlopen_self_static=cross
1299813929 else
1307114002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1307214003 (eval $ac_link) 2>&5
1307314004 ac_status=$?
13074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1307514006 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1307614007 (./conftest; exit; ) >&5 2>/dev/null
1307714008 lt_status=$?
1308914020
1309014021
1309114022 fi
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13093 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14024 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1309414025 fi
1309514026
1309614027 CPPFLAGS=$save_CPPFLAGS
1312814059
1312914060 striplib=
1313014061 old_striplib=
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13132 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13133 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13134 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13135 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13137 $as_echo "yes" >&6; }
14062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14063 printf %s "checking whether stripping libraries is possible... " >&6; }
14064 if test -z "$STRIP"; then
14065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 printf "%s\n" "no" >&6; }
1313814067 else
13139 # FIXME - insert some real tests, host_os isn't really good enough
13140 case $host_os in
13141 darwin*)
13142 if test -n "$STRIP"; then
14068 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14069 old_striplib="$STRIP --strip-debug"
14070 striplib="$STRIP --strip-unneeded"
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072 printf "%s\n" "yes" >&6; }
14073 else
14074 case $host_os in
14075 darwin*)
14076 # FIXME - insert some real tests, host_os isn't really good enough
1314314077 striplib="$STRIP -x"
1314414078 old_striplib="$STRIP -S"
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13146 $as_echo "yes" >&6; }
13147 else
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149 $as_echo "no" >&6; }
13150 fi
13151 ;;
13152 *)
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13154 $as_echo "no" >&6; }
13155 ;;
13156 esac
14079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14080 printf "%s\n" "yes" >&6; }
14081 ;;
14082 freebsd*)
14083 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
14084 old_striplib="$STRIP --strip-debug"
14085 striplib="$STRIP --strip-unneeded"
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14087 printf "%s\n" "yes" >&6; }
14088 else
14089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14090 printf "%s\n" "no" >&6; }
14091 fi
14092 ;;
14093 *)
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14095 printf "%s\n" "no" >&6; }
14096 ;;
14097 esac
14098 fi
1315714099 fi
1315814100
1315914101
1316814110
1316914111
1317014112 # Report what library types will actually be built
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13172 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13174 $as_echo "$can_build_shared" >&6; }
13175
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13177 $as_echo_n "checking whether to build shared libraries... " >&6; }
14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14114 printf %s "checking if libtool supports shared libraries... " >&6; }
14115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14116 printf "%s\n" "$can_build_shared" >&6; }
14117
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14119 printf %s "checking whether to build shared libraries... " >&6; }
1317814120 test no = "$can_build_shared" && enable_shared=no
1317914121
1318014122 # On AIX, shared libraries and static libraries use the same namespace, and
1319814140 fi
1319914141 ;;
1320014142 esac
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13202 $as_echo "$enable_shared" >&6; }
13203
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13205 $as_echo_n "checking whether to build static libraries... " >&6; }
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14144 printf "%s\n" "$enable_shared" >&6; }
14145
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14147 printf %s "checking whether to build static libraries... " >&6; }
1320614148 # Make sure either enable_shared or enable_static is yes.
1320714149 test yes = "$enable_shared" || enable_static=yes
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13209 $as_echo "$enable_static" >&6; }
14150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14151 printf "%s\n" "$enable_static" >&6; }
1321014152
1321114153
1321214154
1322814170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1322914171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1323014172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13232 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14174 printf %s "checking how to run the C++ preprocessor... " >&6; }
1323314175 if test -z "$CXXCPP"; then
13234 if ${ac_cv_prog_CXXCPP+:} false; then :
13235 $as_echo_n "(cached) " >&6
13236 else
13237 # Double quotes because CXXCPP needs to be expanded
13238 for CXXCPP in "$CXX -E" "/lib/cpp"
14176 if test ${ac_cv_prog_CXXCPP+y}
14177 then :
14178 printf %s "(cached) " >&6
14179 else $as_nop
14180 # Double quotes because $CXX needs to be expanded
14181 for CXXCPP in "$CXX -E" cpp /lib/cpp
1323914182 do
1324014183 ac_preproc_ok=false
1324114184 for ac_cxx_preproc_warn_flag in '' yes
1324214185 do
1324314186 # Use a header file that comes with gcc, so configuring glibc
1324414187 # with a fresh cross-compiler works.
13245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13246 # <limits.h> exists even on freestanding compilers.
1324714188 # On the NeXT, cc -E runs the code through the compiler's parser,
1324814189 # not just through cpp. "Syntax error" is here to catch this case.
1324914190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1325014191 /* end confdefs.h. */
13251 #ifdef __STDC__
13252 # include <limits.h>
13253 #else
13254 # include <assert.h>
13255 #endif
14192 #include <limits.h>
1325614193 Syntax error
1325714194 _ACEOF
13258 if ac_fn_cxx_try_cpp "$LINENO"; then :
13259
13260 else
14195 if ac_fn_cxx_try_cpp "$LINENO"
14196 then :
14197
14198 else $as_nop
1326114199 # Broken: fails on valid input.
1326214200 continue
1326314201 fi
1326914207 /* end confdefs.h. */
1327014208 #include <ac_nonexistent.h>
1327114209 _ACEOF
13272 if ac_fn_cxx_try_cpp "$LINENO"; then :
14210 if ac_fn_cxx_try_cpp "$LINENO"
14211 then :
1327314212 # Broken: success on invalid input.
1327414213 continue
13275 else
14214 else $as_nop
1327614215 # Passes both tests.
1327714216 ac_preproc_ok=:
1327814217 break
1328214221 done
1328314222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1328414223 rm -f conftest.i conftest.err conftest.$ac_ext
13285 if $ac_preproc_ok; then :
14224 if $ac_preproc_ok
14225 then :
1328614226 break
1328714227 fi
1328814228
1329414234 else
1329514235 ac_cv_prog_CXXCPP=$CXXCPP
1329614236 fi
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13298 $as_echo "$CXXCPP" >&6; }
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14238 printf "%s\n" "$CXXCPP" >&6; }
1329914239 ac_preproc_ok=false
1330014240 for ac_cxx_preproc_warn_flag in '' yes
1330114241 do
1330214242 # Use a header file that comes with gcc, so configuring glibc
1330314243 # with a fresh cross-compiler works.
13304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13305 # <limits.h> exists even on freestanding compilers.
1330614244 # On the NeXT, cc -E runs the code through the compiler's parser,
1330714245 # not just through cpp. "Syntax error" is here to catch this case.
1330814246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1330914247 /* end confdefs.h. */
13310 #ifdef __STDC__
13311 # include <limits.h>
13312 #else
13313 # include <assert.h>
13314 #endif
14248 #include <limits.h>
1331514249 Syntax error
1331614250 _ACEOF
13317 if ac_fn_cxx_try_cpp "$LINENO"; then :
13318
13319 else
14251 if ac_fn_cxx_try_cpp "$LINENO"
14252 then :
14253
14254 else $as_nop
1332014255 # Broken: fails on valid input.
1332114256 continue
1332214257 fi
1332814263 /* end confdefs.h. */
1332914264 #include <ac_nonexistent.h>
1333014265 _ACEOF
13331 if ac_fn_cxx_try_cpp "$LINENO"; then :
14266 if ac_fn_cxx_try_cpp "$LINENO"
14267 then :
1333214268 # Broken: success on invalid input.
1333314269 continue
13334 else
14270 else $as_nop
1333514271 # Passes both tests.
1333614272 ac_preproc_ok=:
1333714273 break
1334114277 done
1334214278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1334314279 rm -f conftest.i conftest.err conftest.$ac_ext
13344 if $ac_preproc_ok; then :
13345
13346 else
13347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14280 if $ac_preproc_ok
14281 then :
14282
14283 else $as_nop
14284 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14285 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1334914286 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1335014287 See \`config.log' for more details" "$LINENO" 5; }
1335114288 fi
1348114418
1348214419
1348314420 # Check whether --with-gnu-ld was given.
13484 if test "${with_gnu_ld+set}" = set; then :
14421 if test ${with_gnu_ld+y}
14422 then :
1348514423 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13486 else
14424 else $as_nop
1348714425 with_gnu_ld=no
1348814426 fi
1348914427
1349014428 ac_prog=ld
1349114429 if test yes = "$GCC"; then
1349214430 # Check if gcc -print-prog-name=ld gives a path.
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13494 $as_echo_n "checking for ld used by $CC... " >&6; }
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14432 printf %s "checking for ld used by $CC... " >&6; }
1349514433 case $host in
1349614434 *-*-mingw*)
1349714435 # gcc leaves a trailing carriage return, which upsets mingw
1352014458 ;;
1352114459 esac
1352214460 elif test yes = "$with_gnu_ld"; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13524 $as_echo_n "checking for GNU ld... " >&6; }
14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14462 printf %s "checking for GNU ld... " >&6; }
1352514463 else
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13527 $as_echo_n "checking for non-GNU ld... " >&6; }
13528 fi
13529 if ${lt_cv_path_LD+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
14464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14465 printf %s "checking for non-GNU ld... " >&6; }
14466 fi
14467 if test ${lt_cv_path_LD+y}
14468 then :
14469 printf %s "(cached) " >&6
14470 else $as_nop
1353214471 if test -z "$LD"; then
1353314472 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1353414473 for ac_dir in $PATH; do
1355714496
1355814497 LD=$lt_cv_path_LD
1355914498 if test -n "$LD"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13561 $as_echo "$LD" >&6; }
14499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14500 printf "%s\n" "$LD" >&6; }
1356214501 else
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
14502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14503 printf "%s\n" "no" >&6; }
1356514504 fi
1356614505 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13568 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13569 if ${lt_cv_prog_gnu_ld+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
14506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14507 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
14508 if test ${lt_cv_prog_gnu_ld+y}
14509 then :
14510 printf %s "(cached) " >&6
14511 else $as_nop
1357214512 # I'd rather use --version here, but apparently some GNU lds only accept -v.
1357314513 case `$LD -v 2>&1 </dev/null` in
1357414514 *GNU* | *'with BFD'*)
1357914519 ;;
1358014520 esac
1358114521 fi
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13583 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14523 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1358414524 with_gnu_ld=$lt_cv_prog_gnu_ld
1358514525
1358614526
1363414574 fi
1363514575
1363614576 # PORTME: fill in a description of your system's C++ link characteristics
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13638 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14578 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1363914579 ld_shlibs_CXX=yes
1364014580 case $host_os in
1364114581 aix3*)
1377314713 if test set = "${lt_cv_aix_libpath+set}"; then
1377414714 aix_libpath=$lt_cv_aix_libpath
1377514715 else
13776 if ${lt_cv_aix_libpath__CXX+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
14716 if test ${lt_cv_aix_libpath__CXX+y}
14717 then :
14718 printf %s "(cached) " >&6
14719 else $as_nop
1377914720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1378014721 /* end confdefs.h. */
1378114722
1378214723 int
13783 main ()
14724 main (void)
1378414725 {
1378514726
1378614727 ;
1378714728 return 0;
1378814729 }
1378914730 _ACEOF
13790 if ac_fn_cxx_try_link "$LINENO"; then :
14731 if ac_fn_cxx_try_link "$LINENO"
14732 then :
1379114733
1379214734 lt_aix_libpath_sed='
1379314735 /Import File Strings/,/^$/ {
1380214744 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1380314745 fi
1380414746 fi
13805 rm -f core conftest.err conftest.$ac_objext \
14747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1380614748 conftest$ac_exeext conftest.$ac_ext
1380714749 if test -z "$lt_cv_aix_libpath__CXX"; then
1380814750 lt_cv_aix_libpath__CXX=/usr/lib:/lib
1382714769 if test set = "${lt_cv_aix_libpath+set}"; then
1382814770 aix_libpath=$lt_cv_aix_libpath
1382914771 else
13830 if ${lt_cv_aix_libpath__CXX+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
14772 if test ${lt_cv_aix_libpath__CXX+y}
14773 then :
14774 printf %s "(cached) " >&6
14775 else $as_nop
1383314776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1383414777 /* end confdefs.h. */
1383514778
1383614779 int
13837 main ()
14780 main (void)
1383814781 {
1383914782
1384014783 ;
1384114784 return 0;
1384214785 }
1384314786 _ACEOF
13844 if ac_fn_cxx_try_link "$LINENO"; then :
14787 if ac_fn_cxx_try_link "$LINENO"
14788 then :
1384514789
1384614790 lt_aix_libpath_sed='
1384714791 /Import File Strings/,/^$/ {
1385614800 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1385714801 fi
1385814802 fi
13859 rm -f core conftest.err conftest.$ac_objext \
14803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1386014804 conftest$ac_exeext conftest.$ac_ext
1386114805 if test -z "$lt_cv_aix_libpath__CXX"; then
1386214806 lt_cv_aix_libpath__CXX=/usr/lib:/lib
1392114865
1392214866 cygwin* | mingw* | pw32* | cegcc*)
1392314867 case $GXX,$cc_basename in
13924 ,cl* | no,cl*)
13925 # Native MSVC
14868 ,cl* | no,cl* | ,icl* | no,icl*)
14869 # Native MSVC or ICC
1392614870 # hardcode_libdir_flag_spec is actually meaningless, as there is
1392714871 # no search path for DLLs.
1392814872 hardcode_libdir_flag_spec_CXX=' '
1401314957 output_verbose_link_cmd=func_echo_all
1401414958 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
1401514959 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14016 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14017 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
14960 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14961 module_expsym_cmds_CXX="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
1401814962 if test yes != "$lt_cv_apple_cc_single_mod"; then
1401914963 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14020 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14964 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
1402114965 fi
1402214966
1402314967 else
1405214996 emximp -o $lib $output_objdir/$libname.def'
1405314997 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
1405414998 enable_shared_with_static_runtimes_CXX=yes
14999 file_list_spec_CXX='@'
1405515000 ;;
1405615001
1405715002 dgux*)
1408215027 archive_cmds_need_lc_CXX=no
1408315028 ;;
1408415029
14085 freebsd* | dragonfly*)
15030 freebsd* | dragonfly* | midnightbsd*)
1408615031 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1408715032 # conventions
1408815033 ld_shlibs_CXX=yes
1421915164 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1422015165 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1422115166 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14222 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15167 archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1422315168 ;;
1422415169 irix5* | irix6*)
1422515170 case $cc_basename in
1435915304 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1436015305 if test yes = "$supports_anon_versioning"; then
1436115306 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15307 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
1436315308 echo "local: *; };" >> $output_objdir/$libname.ver~
1436415309 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1436515310 fi
1436615311 ;;
1436715312 *)
14368 case `$CC -V 2>&1 | sed 5q` in
15313 case `$CC -V 2>&1 | $SED 5q` in
1436915314 *Sun\ C*)
1437015315 # Sun C++ 5.9
1437115316 no_undefined_flag_CXX=' -zdefs'
1470715652 ;;
1470815653 esac
1470915654
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14711 $as_echo "$ld_shlibs_CXX" >&6; }
15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15656 printf "%s\n" "$ld_shlibs_CXX" >&6; }
1471215657 test no = "$ld_shlibs_CXX" && can_build_shared=no
1471315658
1471415659 GCC_CXX=$GXX
1474615691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1474715692 (eval $ac_compile) 2>&5
1474815693 ac_status=$?
14749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475015695 test $ac_status = 0; }; then
1475115696 # Parse the compiler output and extract the necessary
1475215697 # objects, libraries and library flags.
1502215967 ;;
1502315968 esac
1502415969 ;;
15025 freebsd* | dragonfly*)
15970 freebsd* | dragonfly* | midnightbsd*)
1502615971 # FreeBSD uses GNU C++
1502715972 ;;
1502815973 hpux9* | hpux10* | hpux11*)
1510516050 lt_prog_compiler_static_CXX='-qstaticlink'
1510616051 ;;
1510716052 *)
15108 case `$CC -V 2>&1 | sed 5q` in
16053 case `$CC -V 2>&1 | $SED 5q` in
1510916054 *Sun\ C*)
1511016055 # Sun C++ 5.9
1511116056 lt_prog_compiler_pic_CXX='-KPIC'
1522716172 ;;
1522816173 esac
1522916174
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15231 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15232 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15233 $as_echo_n "(cached) " >&6
15234 else
16175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16176 printf %s "checking for $compiler option to produce PIC... " >&6; }
16177 if test ${lt_cv_prog_compiler_pic_CXX+y}
16178 then :
16179 printf %s "(cached) " >&6
16180 else $as_nop
1523516181 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
1523616182 fi
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15238 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16184 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
1523916185 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
1524016186
1524116187 #
1524216188 # Check to make sure the PIC flag actually works.
1524316189 #
1524416190 if test -n "$lt_prog_compiler_pic_CXX"; then
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15246 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15247 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
16191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16192 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16193 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
16194 then :
16195 printf %s "(cached) " >&6
16196 else $as_nop
1525016197 lt_cv_prog_compiler_pic_works_CXX=no
1525116198 ac_outfile=conftest.$ac_objext
1525216199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1527716224 $RM conftest*
1527816225
1527916226 fi
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15281 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16228 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1528216229
1528316230 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
1528416231 case $lt_prog_compiler_pic_CXX in
1530016247 # Check to make sure the static flag actually works.
1530116248 #
1530216249 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15304 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15305 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16251 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16252 if test ${lt_cv_prog_compiler_static_works_CXX+y}
16253 then :
16254 printf %s "(cached) " >&6
16255 else $as_nop
1530816256 lt_cv_prog_compiler_static_works_CXX=no
1530916257 save_LDFLAGS=$LDFLAGS
1531016258 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1532816276 LDFLAGS=$save_LDFLAGS
1532916277
1533016278 fi
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15332 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16280 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1533316281
1533416282 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
1533516283 :
1534016288
1534116289
1534216290
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15345 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15346 $as_echo_n "(cached) " >&6
15347 else
16291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16292 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16293 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16294 then :
16295 printf %s "(cached) " >&6
16296 else $as_nop
1534816297 lt_cv_prog_compiler_c_o_CXX=no
1534916298 $RM -r conftest 2>/dev/null
1535016299 mkdir conftest
1538716336 $RM conftest*
1538816337
1538916338 fi
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15391 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15392
15393
15394
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15396 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15397 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16340 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16341
16342
16343
16344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16345 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16346 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16347 then :
16348 printf %s "(cached) " >&6
16349 else $as_nop
1540016350 lt_cv_prog_compiler_c_o_CXX=no
1540116351 $RM -r conftest 2>/dev/null
1540216352 mkdir conftest
1543916389 $RM conftest*
1544016390
1544116391 fi
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15443 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16393 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1544416394
1544516395
1544616396
1544816398 hard_links=nottested
1544916399 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
1545016400 # do not overwrite the value of need_locks provided by the user
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15452 $as_echo_n "checking if we can lock with hard links... " >&6; }
16401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16402 printf %s "checking if we can lock with hard links... " >&6; }
1545316403 hard_links=yes
1545416404 $RM conftest*
1545516405 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1545616406 touch conftest.a
1545716407 ln conftest.a conftest.b 2>&5 || hard_links=no
1545816408 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15460 $as_echo "$hard_links" >&6; }
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16410 printf "%s\n" "$hard_links" >&6; }
1546116411 if test no = "$hard_links"; then
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15463 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16413 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1546416414 need_locks=warn
1546516415 fi
1546616416 else
1546916419
1547016420
1547116421
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15473 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16423 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1547416424
1547516425 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1547616426 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1548716437 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1548816438 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1548916439 else
15490 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16440 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1549116441 fi
1549216442 ;;
1549316443 pw32*)
1549516445 ;;
1549616446 cygwin* | mingw* | cegcc*)
1549716447 case $cc_basename in
15498 cl*)
16448 cl* | icl*)
1549916449 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1550016450 ;;
1550116451 *)
1551216462 ;;
1551316463 esac
1551416464
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15516 $as_echo "$ld_shlibs_CXX" >&6; }
16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16466 printf "%s\n" "$ld_shlibs_CXX" >&6; }
1551716467 test no = "$ld_shlibs_CXX" && can_build_shared=no
1551816468
1551916469 with_gnu_ld_CXX=$with_gnu_ld
1554016490 # Test whether the compiler implicitly links with -lc since on some
1554116491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1554216492 # to ld, don't add -lc before -lgcc.
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15544 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15545 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15546 $as_echo_n "(cached) " >&6
15547 else
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16494 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
16495 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
16496 then :
16497 printf %s "(cached) " >&6
16498 else $as_nop
1554816499 $RM conftest*
1554916500 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1555016501
1555116502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1555216503 (eval $ac_compile) 2>&5
1555316504 ac_status=$?
15554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555516506 test $ac_status = 0; } 2>conftest.err; then
1555616507 soname=conftest
1555716508 lib=conftest
1556916520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1557016521 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1557116522 ac_status=$?
15572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557316524 test $ac_status = 0; }
1557416525 then
1557516526 lt_cv_archive_cmds_need_lc_CXX=no
1558316534 $RM conftest*
1558416535
1558516536 fi
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15587 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16538 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1558816539 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
1558916540 ;;
1559016541 esac
1565316604
1565416605
1565516606
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15657 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16608 printf %s "checking dynamic linker characteristics... " >&6; }
1565816609
1565916610 library_names_spec=
1566016611 libname_spec='lib$name'
1584516796 case $host_os in
1584616797 cygwin*)
1584716798 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15848 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16799 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1584916800
1585016801 ;;
1585116802 mingw* | cegcc*)
1585416805 ;;
1585516806 pw32*)
1585616807 # pw32 DLLs use 'pw' prefix rather than 'lib'
15857 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16808 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1585816809 ;;
1585916810 esac
1586016811 dynamic_linker='Win32 ld.exe'
1586116812 ;;
1586216813
15863 *,cl*)
15864 # Native MSVC
16814 *,cl* | *,icl*)
16815 # Native MSVC or ICC
1586516816 libname_spec='$name'
1586616817 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1586716818 library_names_spec='$libname.dll.lib'
1588016831 done
1588116832 IFS=$lt_save_ifs
1588216833 # Convert to MSYS style.
15883 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16834 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1588416835 ;;
1588516836 cygwin*)
1588616837 # Convert to unix form, then to dos form, then back to unix form
1591716868 ;;
1591816869
1591916870 *)
15920 # Assume MSVC wrapper
16871 # Assume MSVC and ICC wrapper
1592116872 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1592216873 dynamic_linker='Win32 ld.exe'
1592316874 ;;
1594916900 shlibpath_var=LD_LIBRARY_PATH
1595016901 ;;
1595116902
15952 freebsd* | dragonfly*)
16903 freebsd* | dragonfly* | midnightbsd*)
1595316904 # DragonFly does not have aout. When/if they implement a new
1595416905 # versioning mechanism, adjust this.
1595516906 if test -x /usr/bin/objformat; then
1614217093 shlibpath_overrides_runpath=no
1614317094
1614417095 # Some binutils ld are patched to set DT_RUNPATH
16145 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
17096 if test ${lt_cv_shlibpath_overrides_runpath+y}
17097 then :
17098 printf %s "(cached) " >&6
17099 else $as_nop
1614817100 lt_cv_shlibpath_overrides_runpath=no
1614917101 save_LDFLAGS=$LDFLAGS
1615017102 save_libdir=$libdir
1615417106 /* end confdefs.h. */
1615517107
1615617108 int
16157 main ()
17109 main (void)
1615817110 {
1615917111
1616017112 ;
1616117113 return 0;
1616217114 }
1616317115 _ACEOF
16164 if ac_fn_cxx_try_link "$LINENO"; then :
16165 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17116 if ac_fn_cxx_try_link "$LINENO"
17117 then :
17118 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
17119 then :
1616617120 lt_cv_shlibpath_overrides_runpath=yes
1616717121 fi
1616817122 fi
16169 rm -f core conftest.err conftest.$ac_objext \
17123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1617017124 conftest$ac_exeext conftest.$ac_ext
1617117125 LDFLAGS=$save_LDFLAGS
1617217126 libdir=$save_libdir
1641017364 dynamic_linker=no
1641117365 ;;
1641217366 esac
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16414 $as_echo "$dynamic_linker" >&6; }
17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17368 printf "%s\n" "$dynamic_linker" >&6; }
1641517369 test no = "$dynamic_linker" && can_build_shared=no
1641617370
1641717371 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1647517429
1647617430
1647717431
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16479 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17433 printf %s "checking how to hardcode library paths into programs... " >&6; }
1648017434 hardcode_action_CXX=
1648117435 if test -n "$hardcode_libdir_flag_spec_CXX" ||
1648217436 test -n "$runpath_var_CXX" ||
1650017454 # directories.
1650117455 hardcode_action_CXX=unsupported
1650217456 fi
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16504 $as_echo "$hardcode_action_CXX" >&6; }
17457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17458 printf "%s\n" "$hardcode_action_CXX" >&6; }
1650517459
1650617460 if test relink = "$hardcode_action_CXX" ||
1650717461 test yes = "$inherit_rpath_CXX"; then
1656517519 do
1656617520 # Extract the first word of "$ac_prog", so it can be a program name with args.
1656717521 set dummy $ac_prog; ac_word=$2
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16569 $as_echo_n "checking for $ac_word... " >&6; }
16570 if ${ac_cv_prog_AWK+:} false; then :
16571 $as_echo_n "(cached) " >&6
16572 else
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17523 printf %s "checking for $ac_word... " >&6; }
17524 if test ${ac_cv_prog_AWK+y}
17525 then :
17526 printf %s "(cached) " >&6
17527 else $as_nop
1657317528 if test -n "$AWK"; then
1657417529 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1657517530 else
1657717532 for as_dir in $PATH
1657817533 do
1657917534 IFS=$as_save_IFS
16580 test -z "$as_dir" && as_dir=.
17535 case $as_dir in #(((
17536 '') as_dir=./ ;;
17537 */) ;;
17538 *) as_dir=$as_dir/ ;;
17539 esac
1658117540 for ac_exec_ext in '' $ac_executable_extensions; do
16582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17541 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1658317542 ac_cv_prog_AWK="$ac_prog"
16584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1658517544 break 2
1658617545 fi
1658717546 done
1659217551 fi
1659317552 AWK=$ac_cv_prog_AWK
1659417553 if test -n "$AWK"; then
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
16596 $as_echo "$AWK" >&6; }
17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17555 printf "%s\n" "$AWK" >&6; }
1659717556 else
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16599 $as_echo "no" >&6; }
17557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17558 printf "%s\n" "no" >&6; }
1660017559 fi
1660117560
1660217561
1662017579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1662117580
1662217581 # Check whether --enable-largefile was given.
16623 if test "${enable_largefile+set}" = set; then :
17582 if test ${enable_largefile+y}
17583 then :
1662417584 enableval=$enable_largefile;
1662517585 fi
1662617586
1662717587 if test "$enable_largefile" != no; then
1662817588
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16630 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16631 if ${ac_cv_sys_largefile_CC+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17590 printf %s "checking for special C compiler options needed for large files... " >&6; }
17591 if test ${ac_cv_sys_largefile_CC+y}
17592 then :
17593 printf %s "(cached) " >&6
17594 else $as_nop
1663417595 ac_cv_sys_largefile_CC=no
1663517596 if test "$GCC" != yes; then
1663617597 ac_save_CC=$CC
1664417605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1664517606 since some C++ compilers masquerading as C compilers
1664617607 incorrectly reject 9223372036854775807. */
16647 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17608 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1664817609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1664917610 && LARGE_OFF_T % 2147483647 == 1)
1665017611 ? 1 : -1];
1665117612 int
16652 main ()
17613 main (void)
1665317614 {
1665417615
1665517616 ;
1665617617 return 0;
1665717618 }
1665817619 _ACEOF
16659 if ac_fn_cxx_try_compile "$LINENO"; then :
17620 if ac_fn_cxx_try_compile "$LINENO"
17621 then :
1666017622 break
1666117623 fi
16662 rm -f core conftest.err conftest.$ac_objext
17624 rm -f core conftest.err conftest.$ac_objext conftest.beam
1666317625 CC="$CC -n32"
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
17626 if ac_fn_cxx_try_compile "$LINENO"
17627 then :
1666517628 ac_cv_sys_largefile_CC=' -n32'; break
1666617629 fi
16667 rm -f core conftest.err conftest.$ac_objext
17630 rm -f core conftest.err conftest.$ac_objext conftest.beam
1666817631 break
1666917632 done
1667017633 CC=$ac_save_CC
1667117634 rm -f conftest.$ac_ext
1667217635 fi
1667317636 fi
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16675 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17638 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
1667617639 if test "$ac_cv_sys_largefile_CC" != no; then
1667717640 CC=$CC$ac_cv_sys_largefile_CC
1667817641 fi
1667917642
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16681 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16682 if ${ac_cv_sys_file_offset_bits+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
17643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17644 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17645 if test ${ac_cv_sys_file_offset_bits+y}
17646 then :
17647 printf %s "(cached) " >&6
17648 else $as_nop
1668517649 while :; do
1668617650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668717651 /* end confdefs.h. */
1669017654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1669117655 since some C++ compilers masquerading as C compilers
1669217656 incorrectly reject 9223372036854775807. */
16693 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1669417658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1669517659 && LARGE_OFF_T % 2147483647 == 1)
1669617660 ? 1 : -1];
1669717661 int
16698 main ()
17662 main (void)
1669917663 {
1670017664
1670117665 ;
1670217666 return 0;
1670317667 }
1670417668 _ACEOF
16705 if ac_fn_cxx_try_compile "$LINENO"; then :
17669 if ac_fn_cxx_try_compile "$LINENO"
17670 then :
1670617671 ac_cv_sys_file_offset_bits=no; break
1670717672 fi
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1670917674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671017675 /* end confdefs.h. */
1671117676 #define _FILE_OFFSET_BITS 64
1671417679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1671517680 since some C++ compilers masquerading as C compilers
1671617681 incorrectly reject 9223372036854775807. */
16717 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1671817683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1671917684 && LARGE_OFF_T % 2147483647 == 1)
1672017685 ? 1 : -1];
1672117686 int
16722 main ()
17687 main (void)
1672317688 {
1672417689
1672517690 ;
1672617691 return 0;
1672717692 }
1672817693 _ACEOF
16729 if ac_fn_cxx_try_compile "$LINENO"; then :
17694 if ac_fn_cxx_try_compile "$LINENO"
17695 then :
1673017696 ac_cv_sys_file_offset_bits=64; break
1673117697 fi
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1673317699 ac_cv_sys_file_offset_bits=unknown
1673417700 break
1673517701 done
1673617702 fi
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16738 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17704 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
1673917705 case $ac_cv_sys_file_offset_bits in #(
1674017706 no | unknown) ;;
1674117707 *)
16742 cat >>confdefs.h <<_ACEOF
16743 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16744 _ACEOF
17708 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
1674517709 ;;
1674617710 esac
1674717711 rm -rf conftest*
1674817712 if test $ac_cv_sys_file_offset_bits = unknown; then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16750 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16751 if ${ac_cv_sys_large_files+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
17713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17714 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
17715 if test ${ac_cv_sys_large_files+y}
17716 then :
17717 printf %s "(cached) " >&6
17718 else $as_nop
1675417719 while :; do
1675517720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675617721 /* end confdefs.h. */
1675917724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1676017725 since some C++ compilers masquerading as C compilers
1676117726 incorrectly reject 9223372036854775807. */
16762 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1676317728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1676417729 && LARGE_OFF_T % 2147483647 == 1)
1676517730 ? 1 : -1];
1676617731 int
16767 main ()
17732 main (void)
1676817733 {
1676917734
1677017735 ;
1677117736 return 0;
1677217737 }
1677317738 _ACEOF
16774 if ac_fn_cxx_try_compile "$LINENO"; then :
17739 if ac_fn_cxx_try_compile "$LINENO"
17740 then :
1677517741 ac_cv_sys_large_files=no; break
1677617742 fi
16777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1677817744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677917745 /* end confdefs.h. */
1678017746 #define _LARGE_FILES 1
1678317749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1678417750 since some C++ compilers masquerading as C compilers
1678517751 incorrectly reject 9223372036854775807. */
16786 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
17752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1678717753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1678817754 && LARGE_OFF_T % 2147483647 == 1)
1678917755 ? 1 : -1];
1679017756 int
16791 main ()
17757 main (void)
1679217758 {
1679317759
1679417760 ;
1679517761 return 0;
1679617762 }
1679717763 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
17764 if ac_fn_cxx_try_compile "$LINENO"
17765 then :
1679917766 ac_cv_sys_large_files=1; break
1680017767 fi
16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1680217769 ac_cv_sys_large_files=unknown
1680317770 break
1680417771 done
1680517772 fi
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16807 $as_echo "$ac_cv_sys_large_files" >&6; }
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17774 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
1680817775 case $ac_cv_sys_large_files in #(
1680917776 no | unknown) ;;
1681017777 *)
16811 cat >>confdefs.h <<_ACEOF
16812 #define _LARGE_FILES $ac_cv_sys_large_files
16813 _ACEOF
17778 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
1681417779 ;;
1681517780 esac
1681617781 rm -rf conftest*
1681717782 fi
16818
16819
16820 fi
16821
16822
16823 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
16824 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
16825
16826 else
17783 fi
17784
17785 ac_fn_cxx_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_dlfcn_h" = xyes
17787 then :
17788
17789 else $as_nop
1682717790 as_fn_error $? "error: libdl include file dlfcn.h not found." "$LINENO" 5
1682817791 fi
1682917792
16830
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16832 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16833 if ${ac_cv_lib_dl_dlopen+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17794 printf %s "checking for dlopen in -ldl... " >&6; }
17795 if test ${ac_cv_lib_dl_dlopen+y}
17796 then :
17797 printf %s "(cached) " >&6
17798 else $as_nop
1683617799 ac_check_lib_save_LIBS=$LIBS
1683717800 LIBS="-ldl $LIBS"
1683817801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683917802 /* end confdefs.h. */
1684017803
16841 /* Override any GCC internal prototype to avoid an error.
16842 Use char because int might match the return type of a GCC
16843 builtin and then its argument prototype would still apply. */
16844 #ifdef __cplusplus
16845 extern "C"
16846 #endif
16847 char dlopen ();
17804 namespace conftest {
17805 extern "C" int dlopen ();
17806 }
1684817807 int
16849 main ()
17808 main (void)
1685017809 {
16851 return dlopen ();
17810 return conftest::dlopen ();
1685217811 ;
1685317812 return 0;
1685417813 }
1685517814 _ACEOF
16856 if ac_fn_cxx_try_link "$LINENO"; then :
17815 if ac_fn_cxx_try_link "$LINENO"
17816 then :
1685717817 ac_cv_lib_dl_dlopen=yes
16858 else
17818 else $as_nop
1685917819 ac_cv_lib_dl_dlopen=no
1686017820 fi
16861 rm -f core conftest.err conftest.$ac_objext \
17821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1686217822 conftest$ac_exeext conftest.$ac_ext
1686317823 LIBS=$ac_check_lib_save_LIBS
1686417824 fi
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16866 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16867 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_LIBDL 1
16870 _ACEOF
17825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17826 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
17827 if test "x$ac_cv_lib_dl_dlopen" = xyes
17828 then :
17829 printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1687117830
1687217831 LIBS="-ldl $LIBS"
1687317832
16874 else
17833 else $as_nop
1687517834 as_fn_error $? "Failed to detect libdl." "$LINENO" 5
1687617835 fi
1687717836
1687817837
1687917838 # check for ucommon
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ZTTN7ucommon6StringE in -lucommon" >&5
16881 $as_echo_n "checking for _ZTTN7ucommon6StringE in -lucommon... " >&6; }
16882 if ${ac_cv_lib_ucommon__ZTTN7ucommon6StringE+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
17839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ZTTN7ucommon6StringE in -lucommon" >&5
17840 printf %s "checking for _ZTTN7ucommon6StringE in -lucommon... " >&6; }
17841 if test ${ac_cv_lib_ucommon__ZTTN7ucommon6StringE+y}
17842 then :
17843 printf %s "(cached) " >&6
17844 else $as_nop
1688517845 ac_check_lib_save_LIBS=$LIBS
1688617846 LIBS="-lucommon $LIBS"
1688717847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688817848 /* end confdefs.h. */
1688917849
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16893 #ifdef __cplusplus
16894 extern "C"
16895 #endif
16896 char _ZTTN7ucommon6StringE ();
17850 namespace conftest {
17851 extern "C" int _ZTTN7ucommon6StringE ();
17852 }
1689717853 int
16898 main ()
17854 main (void)
1689917855 {
16900 return _ZTTN7ucommon6StringE ();
17856 return conftest::_ZTTN7ucommon6StringE ();
1690117857 ;
1690217858 return 0;
1690317859 }
1690417860 _ACEOF
16905 if ac_fn_cxx_try_link "$LINENO"; then :
17861 if ac_fn_cxx_try_link "$LINENO"
17862 then :
1690617863 ac_cv_lib_ucommon__ZTTN7ucommon6StringE=yes
16907 else
17864 else $as_nop
1690817865 ac_cv_lib_ucommon__ZTTN7ucommon6StringE=no
1690917866 fi
16910 rm -f core conftest.err conftest.$ac_objext \
17867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1691117868 conftest$ac_exeext conftest.$ac_ext
1691217869 LIBS=$ac_check_lib_save_LIBS
1691317870 fi
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ucommon__ZTTN7ucommon6StringE" >&5
16915 $as_echo "$ac_cv_lib_ucommon__ZTTN7ucommon6StringE" >&6; }
16916 if test "x$ac_cv_lib_ucommon__ZTTN7ucommon6StringE" = xyes; then :
16917 cat >>confdefs.h <<_ACEOF
16918 #define HAVE_LIBUCOMMON 1
16919 _ACEOF
17871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ucommon__ZTTN7ucommon6StringE" >&5
17872 printf "%s\n" "$ac_cv_lib_ucommon__ZTTN7ucommon6StringE" >&6; }
17873 if test "x$ac_cv_lib_ucommon__ZTTN7ucommon6StringE" = xyes
17874 then :
17875 printf "%s\n" "#define HAVE_LIBUCOMMON 1" >>confdefs.h
1692017876
1692117877 LIBS="-lucommon $LIBS"
1692217878
16923 else
17879 else $as_nop
1692417880 as_fn_error $? "Failed to detect libucommon." "$LINENO" 5
1692517881 fi
1692617882
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ZN7ucommon6Random3getEv in -lusecure" >&5
16928 $as_echo_n "checking for _ZN7ucommon6Random3getEv in -lusecure... " >&6; }
16929 if ${ac_cv_lib_usecure__ZN7ucommon6Random3getEv+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ZN7ucommon6Random3getEv in -lusecure" >&5
17884 printf %s "checking for _ZN7ucommon6Random3getEv in -lusecure... " >&6; }
17885 if test ${ac_cv_lib_usecure__ZN7ucommon6Random3getEv+y}
17886 then :
17887 printf %s "(cached) " >&6
17888 else $as_nop
1693217889 ac_check_lib_save_LIBS=$LIBS
1693317890 LIBS="-lusecure $LIBS"
1693417891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693517892 /* end confdefs.h. */
1693617893
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 #ifdef __cplusplus
16941 extern "C"
16942 #endif
16943 char _ZN7ucommon6Random3getEv ();
17894 namespace conftest {
17895 extern "C" int _ZN7ucommon6Random3getEv ();
17896 }
1694417897 int
16945 main ()
17898 main (void)
1694617899 {
16947 return _ZN7ucommon6Random3getEv ();
17900 return conftest::_ZN7ucommon6Random3getEv ();
1694817901 ;
1694917902 return 0;
1695017903 }
1695117904 _ACEOF
16952 if ac_fn_cxx_try_link "$LINENO"; then :
17905 if ac_fn_cxx_try_link "$LINENO"
17906 then :
1695317907 ac_cv_lib_usecure__ZN7ucommon6Random3getEv=yes
16954 else
17908 else $as_nop
1695517909 ac_cv_lib_usecure__ZN7ucommon6Random3getEv=no
1695617910 fi
16957 rm -f core conftest.err conftest.$ac_objext \
17911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1695817912 conftest$ac_exeext conftest.$ac_ext
1695917913 LIBS=$ac_check_lib_save_LIBS
1696017914 fi
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usecure__ZN7ucommon6Random3getEv" >&5
16962 $as_echo "$ac_cv_lib_usecure__ZN7ucommon6Random3getEv" >&6; }
16963 if test "x$ac_cv_lib_usecure__ZN7ucommon6Random3getEv" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_LIBUSECURE 1
16966 _ACEOF
17915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usecure__ZN7ucommon6Random3getEv" >&5
17916 printf "%s\n" "$ac_cv_lib_usecure__ZN7ucommon6Random3getEv" >&6; }
17917 if test "x$ac_cv_lib_usecure__ZN7ucommon6Random3getEv" = xyes
17918 then :
17919 printf "%s\n" "#define HAVE_LIBUSECURE 1" >>confdefs.h
1696717920
1696817921 LIBS="-lusecure $LIBS"
1696917922
16970 else
17923 else $as_nop
1697117924 as_fn_error $? "Failed to detect libusecure." "$LINENO" 5
1697217925 fi
1697317926
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ZN3ost10DCCPSocketD0Ev in -lcommoncpp" >&5
16975 $as_echo_n "checking for _ZN3ost10DCCPSocketD0Ev in -lcommoncpp... " >&6; }
16976 if ${ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ZN3ost10DCCPSocketD0Ev in -lcommoncpp" >&5
17928 printf %s "checking for _ZN3ost10DCCPSocketD0Ev in -lcommoncpp... " >&6; }
17929 if test ${ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev+y}
17930 then :
17931 printf %s "(cached) " >&6
17932 else $as_nop
1697917933 ac_check_lib_save_LIBS=$LIBS
1698017934 LIBS="-lcommoncpp $LIBS"
1698117935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698217936 /* end confdefs.h. */
1698317937
16984 /* Override any GCC internal prototype to avoid an error.
16985 Use char because int might match the return type of a GCC
16986 builtin and then its argument prototype would still apply. */
16987 #ifdef __cplusplus
16988 extern "C"
16989 #endif
16990 char _ZN3ost10DCCPSocketD0Ev ();
17938 namespace conftest {
17939 extern "C" int _ZN3ost10DCCPSocketD0Ev ();
17940 }
1699117941 int
16992 main ()
17942 main (void)
1699317943 {
16994 return _ZN3ost10DCCPSocketD0Ev ();
17944 return conftest::_ZN3ost10DCCPSocketD0Ev ();
1699517945 ;
1699617946 return 0;
1699717947 }
1699817948 _ACEOF
16999 if ac_fn_cxx_try_link "$LINENO"; then :
17949 if ac_fn_cxx_try_link "$LINENO"
17950 then :
1700017951 ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev=yes
17001 else
17952 else $as_nop
1700217953 ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev=no
1700317954 fi
17004 rm -f core conftest.err conftest.$ac_objext \
17955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1700517956 conftest$ac_exeext conftest.$ac_ext
1700617957 LIBS=$ac_check_lib_save_LIBS
1700717958 fi
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" >&5
17009 $as_echo "$ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" >&6; }
17010 if test "x$ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_LIBCOMMONCPP 1
17013 _ACEOF
17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" >&5
17960 printf "%s\n" "$ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" >&6; }
17961 if test "x$ac_cv_lib_commoncpp__ZN3ost10DCCPSocketD0Ev" = xyes
17962 then :
17963 printf "%s\n" "#define HAVE_LIBCOMMONCPP 1" >>confdefs.h
1701417964
1701517965 LIBS="-lcommoncpp $LIBS"
1701617966
17017 else
17967 else $as_nop
1701817968 as_fn_error $? "Failed to detect libcommoncpp." "$LINENO" 5
1701917969 fi
1702017970
1702217972 # Normally, the dependency of libreadline to ncurses should be implicit and should
1702317973 # be encapsulated - we do not use anything from ncurses explicitely.
1702417974 # However, on some systems (at least for RH 7.3) this is not the case, so we need to check for ncurses, too
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses_version in -lncurses" >&5
17026 $as_echo_n "checking for curses_version in -lncurses... " >&6; }
17027 if ${ac_cv_lib_ncurses_curses_version+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses_version in -lncurses" >&5
17976 printf %s "checking for curses_version in -lncurses... " >&6; }
17977 if test ${ac_cv_lib_ncurses_curses_version+y}
17978 then :
17979 printf %s "(cached) " >&6
17980 else $as_nop
1703017981 ac_check_lib_save_LIBS=$LIBS
1703117982 LIBS="-lncurses $LIBS"
1703217983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703317984 /* end confdefs.h. */
1703417985
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17038 #ifdef __cplusplus
17039 extern "C"
17040 #endif
17041 char curses_version ();
17986 namespace conftest {
17987 extern "C" int curses_version ();
17988 }
1704217989 int
17043 main ()
17990 main (void)
1704417991 {
17045 return curses_version ();
17992 return conftest::curses_version ();
1704617993 ;
1704717994 return 0;
1704817995 }
1704917996 _ACEOF
17050 if ac_fn_cxx_try_link "$LINENO"; then :
17997 if ac_fn_cxx_try_link "$LINENO"
17998 then :
1705117999 ac_cv_lib_ncurses_curses_version=yes
17052 else
18000 else $as_nop
1705318001 ac_cv_lib_ncurses_curses_version=no
1705418002 fi
17055 rm -f core conftest.err conftest.$ac_objext \
18003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1705618004 conftest$ac_exeext conftest.$ac_ext
1705718005 LIBS=$ac_check_lib_save_LIBS
1705818006 fi
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_curses_version" >&5
17060 $as_echo "$ac_cv_lib_ncurses_curses_version" >&6; }
17061 if test "x$ac_cv_lib_ncurses_curses_version" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_LIBNCURSES 1
17064 _ACEOF
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_curses_version" >&5
18008 printf "%s\n" "$ac_cv_lib_ncurses_curses_version" >&6; }
18009 if test "x$ac_cv_lib_ncurses_curses_version" = xyes
18010 then :
18011 printf "%s\n" "#define HAVE_LIBNCURSES 1" >>confdefs.h
1706518012
1706618013 LIBS="-lncurses $LIBS"
1706718014
17068 else
18015 else $as_nop
1706918016 as_fn_error $? "ui-utilcpp needs ncurses." "$LINENO" 5
1707018017 fi
1707118018
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
17073 $as_echo_n "checking for cap_init in -lcap... " >&6; }
17074 if ${ac_cv_lib_cap_cap_init+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
18020 printf %s "checking for cap_init in -lcap... " >&6; }
18021 if test ${ac_cv_lib_cap_cap_init+y}
18022 then :
18023 printf %s "(cached) " >&6
18024 else $as_nop
1707718025 ac_check_lib_save_LIBS=$LIBS
1707818026 LIBS="-lcap $LIBS"
1707918027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708018028 /* end confdefs.h. */
1708118029
17082 /* Override any GCC internal prototype to avoid an error.
17083 Use char because int might match the return type of a GCC
17084 builtin and then its argument prototype would still apply. */
17085 #ifdef __cplusplus
17086 extern "C"
17087 #endif
17088 char cap_init ();
18030 namespace conftest {
18031 extern "C" int cap_init ();
18032 }
1708918033 int
17090 main ()
18034 main (void)
1709118035 {
17092 return cap_init ();
18036 return conftest::cap_init ();
1709318037 ;
1709418038 return 0;
1709518039 }
1709618040 _ACEOF
17097 if ac_fn_cxx_try_link "$LINENO"; then :
18041 if ac_fn_cxx_try_link "$LINENO"
18042 then :
1709818043 ac_cv_lib_cap_cap_init=yes
17099 else
18044 else $as_nop
1710018045 ac_cv_lib_cap_cap_init=no
1710118046 fi
17102 rm -f core conftest.err conftest.$ac_objext \
18047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1710318048 conftest$ac_exeext conftest.$ac_ext
1710418049 LIBS=$ac_check_lib_save_LIBS
1710518050 fi
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
17107 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
17108 if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_LIBCAP 1
17111 _ACEOF
18051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
18052 printf "%s\n" "$ac_cv_lib_cap_cap_init" >&6; }
18053 if test "x$ac_cv_lib_cap_cap_init" = xyes
18054 then :
18055 printf "%s\n" "#define HAVE_LIBCAP 1" >>confdefs.h
1711218056
1711318057 LIBS="-lcap $LIBS"
1711418058
17115 else
18059 else $as_nop
1711618060 as_fn_error $? "ui-utilcpp needs libcap." "$LINENO" 5
1711718061 fi
1711818062
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
17120 $as_echo_n "checking for readline in -lreadline... " >&6; }
17121 if ${ac_cv_lib_readline_readline+:} false; then :
17122 $as_echo_n "(cached) " >&6
17123 else
18063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
18064 printf %s "checking for readline in -lreadline... " >&6; }
18065 if test ${ac_cv_lib_readline_readline+y}
18066 then :
18067 printf %s "(cached) " >&6
18068 else $as_nop
1712418069 ac_check_lib_save_LIBS=$LIBS
1712518070 LIBS="-lreadline -lncurses $LIBS"
1712618071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712718072 /* end confdefs.h. */
1712818073
17129 /* Override any GCC internal prototype to avoid an error.
17130 Use char because int might match the return type of a GCC
17131 builtin and then its argument prototype would still apply. */
17132 #ifdef __cplusplus
17133 extern "C"
17134 #endif
17135 char readline ();
18074 namespace conftest {
18075 extern "C" int readline ();
18076 }
1713618077 int
17137 main ()
18078 main (void)
1713818079 {
17139 return readline ();
18080 return conftest::readline ();
1714018081 ;
1714118082 return 0;
1714218083 }
1714318084 _ACEOF
17144 if ac_fn_cxx_try_link "$LINENO"; then :
18085 if ac_fn_cxx_try_link "$LINENO"
18086 then :
1714518087 ac_cv_lib_readline_readline=yes
17146 else
18088 else $as_nop
1714718089 ac_cv_lib_readline_readline=no
1714818090 fi
17149 rm -f core conftest.err conftest.$ac_objext \
18091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1715018092 conftest$ac_exeext conftest.$ac_ext
1715118093 LIBS=$ac_check_lib_save_LIBS
1715218094 fi
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
17154 $as_echo "$ac_cv_lib_readline_readline" >&6; }
17155 if test "x$ac_cv_lib_readline_readline" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_LIBREADLINE 1
17158 _ACEOF
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
18096 printf "%s\n" "$ac_cv_lib_readline_readline" >&6; }
18097 if test "x$ac_cv_lib_readline_readline" = xyes
18098 then :
18099 printf "%s\n" "#define HAVE_LIBREADLINE 1" >>confdefs.h
1715918100
1716018101 LIBS="-lreadline $LIBS"
1716118102
17162 else
18103 else $as_nop
1716318104 as_fn_error $? "ui-utilcpp needs libreadline." "$LINENO" 5
1716418105 fi
1716518106
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recode_new_outer in -lrecode" >&5
17167 $as_echo_n "checking for recode_new_outer in -lrecode... " >&6; }
17168 if ${ac_cv_lib_recode_recode_new_outer+:} false; then :
17169 $as_echo_n "(cached) " >&6
17170 else
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recode_new_outer in -lrecode" >&5
18108 printf %s "checking for recode_new_outer in -lrecode... " >&6; }
18109 if test ${ac_cv_lib_recode_recode_new_outer+y}
18110 then :
18111 printf %s "(cached) " >&6
18112 else $as_nop
1717118113 ac_check_lib_save_LIBS=$LIBS
1717218114 LIBS="-lrecode $LIBS"
1717318115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717418116 /* end confdefs.h. */
1717518117
17176 /* Override any GCC internal prototype to avoid an error.
17177 Use char because int might match the return type of a GCC
17178 builtin and then its argument prototype would still apply. */
17179 #ifdef __cplusplus
17180 extern "C"
17181 #endif
17182 char recode_new_outer ();
18118 namespace conftest {
18119 extern "C" int recode_new_outer ();
18120 }
1718318121 int
17184 main ()
18122 main (void)
1718518123 {
17186 return recode_new_outer ();
18124 return conftest::recode_new_outer ();
1718718125 ;
1718818126 return 0;
1718918127 }
1719018128 _ACEOF
17191 if ac_fn_cxx_try_link "$LINENO"; then :
18129 if ac_fn_cxx_try_link "$LINENO"
18130 then :
1719218131 ac_cv_lib_recode_recode_new_outer=yes
17193 else
18132 else $as_nop
1719418133 ac_cv_lib_recode_recode_new_outer=no
1719518134 fi
17196 rm -f core conftest.err conftest.$ac_objext \
18135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1719718136 conftest$ac_exeext conftest.$ac_ext
1719818137 LIBS=$ac_check_lib_save_LIBS
1719918138 fi
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_recode_recode_new_outer" >&5
17201 $as_echo "$ac_cv_lib_recode_recode_new_outer" >&6; }
17202 if test "x$ac_cv_lib_recode_recode_new_outer" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_LIBRECODE 1
17205 _ACEOF
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_recode_recode_new_outer" >&5
18140 printf "%s\n" "$ac_cv_lib_recode_recode_new_outer" >&6; }
18141 if test "x$ac_cv_lib_recode_recode_new_outer" = xyes
18142 then :
18143 printf "%s\n" "#define HAVE_LIBRECODE 1" >>confdefs.h
1720618144
1720718145 LIBS="-lrecode $LIBS"
1720818146
17209 else
18147 else $as_nop
1721018148 as_fn_error $? "ui-utilcpp needs librecode." "$LINENO" 5
1721118149 fi
1721218150
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_8z in -lidn" >&5
17214 $as_echo_n "checking for idna_to_ascii_8z in -lidn... " >&6; }
17215 if ${ac_cv_lib_idn_idna_to_ascii_8z+:} false; then :
17216 $as_echo_n "(cached) " >&6
17217 else
18151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_8z in -lidn" >&5
18152 printf %s "checking for idna_to_ascii_8z in -lidn... " >&6; }
18153 if test ${ac_cv_lib_idn_idna_to_ascii_8z+y}
18154 then :
18155 printf %s "(cached) " >&6
18156 else $as_nop
1721818157 ac_check_lib_save_LIBS=$LIBS
1721918158 LIBS="-lidn $LIBS"
1722018159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722118160 /* end confdefs.h. */
1722218161
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17226 #ifdef __cplusplus
17227 extern "C"
17228 #endif
17229 char idna_to_ascii_8z ();
18162 namespace conftest {
18163 extern "C" int idna_to_ascii_8z ();
18164 }
1723018165 int
17231 main ()
18166 main (void)
1723218167 {
17233 return idna_to_ascii_8z ();
18168 return conftest::idna_to_ascii_8z ();
1723418169 ;
1723518170 return 0;
1723618171 }
1723718172 _ACEOF
17238 if ac_fn_cxx_try_link "$LINENO"; then :
18173 if ac_fn_cxx_try_link "$LINENO"
18174 then :
1723918175 ac_cv_lib_idn_idna_to_ascii_8z=yes
17240 else
18176 else $as_nop
1724118177 ac_cv_lib_idn_idna_to_ascii_8z=no
1724218178 fi
17243 rm -f core conftest.err conftest.$ac_objext \
18179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1724418180 conftest$ac_exeext conftest.$ac_ext
1724518181 LIBS=$ac_check_lib_save_LIBS
1724618182 fi
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_8z" >&5
17248 $as_echo "$ac_cv_lib_idn_idna_to_ascii_8z" >&6; }
17249 if test "x$ac_cv_lib_idn_idna_to_ascii_8z" = xyes; then :
17250 cat >>confdefs.h <<_ACEOF
17251 #define HAVE_LIBIDN 1
17252 _ACEOF
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_8z" >&5
18184 printf "%s\n" "$ac_cv_lib_idn_idna_to_ascii_8z" >&6; }
18185 if test "x$ac_cv_lib_idn_idna_to_ascii_8z" = xyes
18186 then :
18187 printf "%s\n" "#define HAVE_LIBIDN 1" >>confdefs.h
1725318188
1725418189 LIBS="-lidn $LIBS"
1725518190
17256 else
18191 else $as_nop
1725718192 as_fn_error $? "ui-utilcpp needs libidn." "$LINENO" 5
1725818193 fi
1725918194
17260 ac_fn_cxx_check_header_mongrel "$LINENO" "idna.h" "ac_cv_header_idna_h" "$ac_includes_default"
17261 if test "x$ac_cv_header_idna_h" = xyes; then :
17262
17263 else
18195 ac_fn_cxx_check_header_compile "$LINENO" "idna.h" "ac_cv_header_idna_h" "$ac_includes_default"
18196 if test "x$ac_cv_header_idna_h" = xyes
18197 then :
18198
18199 else $as_nop
1726418200 as_fn_error $? "\"Header error: idna.h\"" "$LINENO" 5
1726518201 fi
1726618202
1726718203
17268
1726918204 # Check whether --enable-libproc was given.
17270 if test "${enable_libproc+set}" = set; then :
17271 enableval=$enable_libproc; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openproc in -lproc" >&5
17272 $as_echo_n "checking for openproc in -lproc... " >&6; }
17273 if ${ac_cv_lib_proc_openproc+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
18205 if test ${enable_libproc+y}
18206 then :
18207 enableval=$enable_libproc; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openproc in -lproc" >&5
18208 printf %s "checking for openproc in -lproc... " >&6; }
18209 if test ${ac_cv_lib_proc_openproc+y}
18210 then :
18211 printf %s "(cached) " >&6
18212 else $as_nop
1727618213 ac_check_lib_save_LIBS=$LIBS
1727718214 LIBS="-lproc $LIBS"
1727818215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727918216 /* end confdefs.h. */
1728018217
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char openproc ();
18218 namespace conftest {
18219 extern "C" int openproc ();
18220 }
1728818221 int
17289 main ()
18222 main (void)
1729018223 {
17291 return openproc ();
18224 return conftest::openproc ();
1729218225 ;
1729318226 return 0;
1729418227 }
1729518228 _ACEOF
17296 if ac_fn_cxx_try_link "$LINENO"; then :
18229 if ac_fn_cxx_try_link "$LINENO"
18230 then :
1729718231 ac_cv_lib_proc_openproc=yes
17298 else
18232 else $as_nop
1729918233 ac_cv_lib_proc_openproc=no
1730018234 fi
17301 rm -f core conftest.err conftest.$ac_objext \
18235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1730218236 conftest$ac_exeext conftest.$ac_ext
1730318237 LIBS=$ac_check_lib_save_LIBS
1730418238 fi
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proc_openproc" >&5
17306 $as_echo "$ac_cv_lib_proc_openproc" >&6; }
17307 if test "x$ac_cv_lib_proc_openproc" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_LIBPROC 1
17310 _ACEOF
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_proc_openproc" >&5
18240 printf "%s\n" "$ac_cv_lib_proc_openproc" >&6; }
18241 if test "x$ac_cv_lib_proc_openproc" = xyes
18242 then :
18243 printf "%s\n" "#define HAVE_LIBPROC 1" >>confdefs.h
1731118244
1731218245 LIBS="-lproc $LIBS"
1731318246
18247 else $as_nop
18248 as_fn_error $? "ui-utilcpp needs libproc." "$LINENO" 5
18249 fi
18250
18251 ac_fn_cxx_check_header_compile "$LINENO" "proc/readproc.h" "ac_cv_header_proc_readproc_h" "$ac_includes_default"
18252 if test "x$ac_cv_header_proc_readproc_h" = xyes
18253 then :
18254
18255 else $as_nop
18256 as_fn_error $? "\"Header error: proc/readproc.h\"" "$LINENO" 5
18257 fi
18258
18259 fi
18260
18261
18262 # boost unit test framework check
18263 ac_fn_cxx_check_header_compile "$LINENO" "boost/test/auto_unit_test.hpp" "ac_cv_header_boost_test_auto_unit_test_hpp" "$ac_includes_default"
18264 if test "x$ac_cv_header_boost_test_auto_unit_test_hpp" = xyes
18265 then :
18266
18267 else $as_nop
18268 as_fn_error $? "\"Header error: boost/test/auto_unit_test.hpp\"" "$LINENO" 5
18269 fi
18270
18271 ac_fn_cxx_check_header_compile "$LINENO" "boost/serialization/access.hpp" "ac_cv_header_boost_serialization_access_hpp" "$ac_includes_default"
18272 if test "x$ac_cv_header_boost_serialization_access_hpp" = xyes
18273 then :
18274
18275 else $as_nop
18276 as_fn_error $? "\"Header error: boost/serialization/access.hpp\"" "$LINENO" 5
18277 fi
18278
18279 ac_fn_cxx_check_header_compile "$LINENO" "boost/multi_index_container.hpp" "ac_cv_header_boost_multi_index_container_hpp" "$ac_includes_default"
18280 if test "x$ac_cv_header_boost_multi_index_container_hpp" = xyes
18281 then :
18282
18283 else $as_nop
18284 as_fn_error $? "\"Header error: boost/multi_index_container.hpp\"" "$LINENO" 5
18285 fi
18286
18287 ac_fn_cxx_check_header_compile "$LINENO" "boost/date_time/date.hpp" "ac_cv_header_boost_date_time_date_hpp" "$ac_includes_default"
18288 if test "x$ac_cv_header_boost_date_time_date_hpp" = xyes
18289 then :
18290
18291 else $as_nop
18292 as_fn_error $? "\"Header error: boost/date_time/date.hpp\"" "$LINENO" 5
18293 fi
18294
18295 ac_fn_cxx_check_header_compile "$LINENO" "boost/random.hpp" "ac_cv_header_boost_random_hpp" "$ac_includes_default"
18296 if test "x$ac_cv_header_boost_random_hpp" = xyes
18297 then :
18298
18299 else $as_nop
18300 as_fn_error $? "\"Header error: boost/random.hpp\"" "$LINENO" 5
18301 fi
18302
18303 # Test for library missing (unfortunately, this does not seem to be trivial)
18304
18305 # Quota support (std and xfs only, 26 support is build-in)
18306 for ac_header in sys/quota.h
18307 do :
18308 ac_fn_cxx_check_header_compile "$LINENO" "sys/quota.h" "ac_cv_header_sys_quota_h" "$ac_includes_default"
18309 if test "x$ac_cv_header_sys_quota_h" = xyes
18310 then :
18311 printf "%s\n" "#define HAVE_SYS_QUOTA_H 1" >>confdefs.h
18312
18313 else $as_nop
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No linux \"standard\" quota available!" >&5
18315 printf "%s\n" "$as_me: WARNING: No linux \"standard\" quota available!" >&2;}
18316 fi
18317
18318 done
18319 for ac_header in xfs/xqm.h
18320 do :
18321 ac_fn_cxx_check_header_compile "$LINENO" "xfs/xqm.h" "ac_cv_header_xfs_xqm_h" "$ac_includes_default"
18322 if test "x$ac_cv_header_xfs_xqm_h" = xyes
18323 then :
18324 printf "%s\n" "#define HAVE_XFS_XQM_H 1" >>confdefs.h
18325
18326 else $as_nop
18327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No linux \"xfs\" quota available!" >&5
18328 printf "%s\n" "$as_me: WARNING: No linux \"xfs\" quota available!" >&2;}
18329 fi
18330
18331 done
18332
18333 # Checks for header files.
18334 # Autoupdate added the next two lines to ensure that your configure
18335 # script's behavior did not change. They are probably safe to remove.
18336
18337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18338 printf %s "checking for egrep... " >&6; }
18339 if test ${ac_cv_path_EGREP+y}
18340 then :
18341 printf %s "(cached) " >&6
18342 else $as_nop
18343 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18344 then ac_cv_path_EGREP="$GREP -E"
18345 else
18346 if test -z "$EGREP"; then
18347 ac_path_EGREP_found=false
18348 # Loop through the user's path and test for each of PROGNAME-LIST
18349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18351 do
18352 IFS=$as_save_IFS
18353 case $as_dir in #(((
18354 '') as_dir=./ ;;
18355 */) ;;
18356 *) as_dir=$as_dir/ ;;
18357 esac
18358 for ac_prog in egrep
18359 do
18360 for ac_exec_ext in '' $ac_executable_extensions; do
18361 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
18362 as_fn_executable_p "$ac_path_EGREP" || continue
18363 # Check for GNU ac_path_EGREP and select it if it is found.
18364 # Check for GNU $ac_path_EGREP
18365 case `"$ac_path_EGREP" --version 2>&1` in
18366 *GNU*)
18367 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18368 *)
18369 ac_count=0
18370 printf %s 0123456789 >"conftest.in"
18371 while :
18372 do
18373 cat "conftest.in" "conftest.in" >"conftest.tmp"
18374 mv "conftest.tmp" "conftest.in"
18375 cp "conftest.in" "conftest.nl"
18376 printf "%s\n" 'EGREP' >> "conftest.nl"
18377 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18378 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18379 as_fn_arith $ac_count + 1 && ac_count=$as_val
18380 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18381 # Best one so far, save it but keep looking for a better one
18382 ac_cv_path_EGREP="$ac_path_EGREP"
18383 ac_path_EGREP_max=$ac_count
18384 fi
18385 # 10*(2^10) chars as input seems more than enough
18386 test $ac_count -gt 10 && break
18387 done
18388 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18389 esac
18390
18391 $ac_path_EGREP_found && break 3
18392 done
18393 done
18394 done
18395 IFS=$as_save_IFS
18396 if test -z "$ac_cv_path_EGREP"; then
18397 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18398 fi
1731418399 else
17315 as_fn_error $? "ui-utilcpp needs libproc." "$LINENO" 5
17316 fi
17317
17318 ac_fn_cxx_check_header_mongrel "$LINENO" "proc/readproc.h" "ac_cv_header_proc_readproc_h" "$ac_includes_default"
17319 if test "x$ac_cv_header_proc_readproc_h" = xyes; then :
17320
17321 else
17322 as_fn_error $? "\"Header error: proc/readproc.h\"" "$LINENO" 5
17323 fi
17324
17325
17326 fi
17327
17328
17329 # boost unit test framework check
17330 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/test/auto_unit_test.hpp" "ac_cv_header_boost_test_auto_unit_test_hpp" "$ac_includes_default"
17331 if test "x$ac_cv_header_boost_test_auto_unit_test_hpp" = xyes; then :
17332
17333 else
17334 as_fn_error $? "\"Header error: boost/test/auto_unit_test.hpp\"" "$LINENO" 5
17335 fi
17336
17337
17338 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/serialization/access.hpp" "ac_cv_header_boost_serialization_access_hpp" "$ac_includes_default"
17339 if test "x$ac_cv_header_boost_serialization_access_hpp" = xyes; then :
17340
17341 else
17342 as_fn_error $? "\"Header error: boost/serialization/access.hpp\"" "$LINENO" 5
17343 fi
17344
17345
17346 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/multi_index_container.hpp" "ac_cv_header_boost_multi_index_container_hpp" "$ac_includes_default"
17347 if test "x$ac_cv_header_boost_multi_index_container_hpp" = xyes; then :
17348
17349 else
17350 as_fn_error $? "\"Header error: boost/multi_index_container.hpp\"" "$LINENO" 5
17351 fi
17352
17353
17354 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/date_time/date.hpp" "ac_cv_header_boost_date_time_date_hpp" "$ac_includes_default"
17355 if test "x$ac_cv_header_boost_date_time_date_hpp" = xyes; then :
17356
17357 else
17358 as_fn_error $? "\"Header error: boost/date_time/date.hpp\"" "$LINENO" 5
17359 fi
17360
17361
17362 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/random.hpp" "ac_cv_header_boost_random_hpp" "$ac_includes_default"
17363 if test "x$ac_cv_header_boost_random_hpp" = xyes; then :
17364
17365 else
17366 as_fn_error $? "\"Header error: boost/random.hpp\"" "$LINENO" 5
17367 fi
17368
17369
17370 # Test for library missing (unfortunately, this does not seem to be trivial)
17371
17372 # Quota support (std and xfs only, 26 support is build-in)
17373 for ac_header in sys/quota.h
17374 do :
17375 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/quota.h" "ac_cv_header_sys_quota_h" "$ac_includes_default"
17376 if test "x$ac_cv_header_sys_quota_h" = xyes; then :
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_SYS_QUOTA_H 1
17379 _ACEOF
17380
17381 else
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No linux \"standard\" quota available!" >&5
17383 $as_echo "$as_me: WARNING: No linux \"standard\" quota available!" >&2;}
17384 fi
17385
17386 done
17387
17388 for ac_header in xfs/xqm.h
17389 do :
17390 ac_fn_cxx_check_header_mongrel "$LINENO" "xfs/xqm.h" "ac_cv_header_xfs_xqm_h" "$ac_includes_default"
17391 if test "x$ac_cv_header_xfs_xqm_h" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_XFS_XQM_H 1
17394 _ACEOF
17395
17396 else
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No linux \"xfs\" quota available!" >&5
17398 $as_echo "$as_me: WARNING: No linux \"xfs\" quota available!" >&2;}
17399 fi
17400
17401 done
17402
17403
17404 # Checks for header files.
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17406 $as_echo_n "checking for ANSI C header files... " >&6; }
17407 if ${ac_cv_header_stdc+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 ac_cv_path_EGREP=$EGREP
18401 fi
18402
18403 fi
18404 fi
18405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18406 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
18407 EGREP="$ac_cv_path_EGREP"
18408
18409
18410
18411
18412 # Functuonal tests.
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX options needed to detect all undeclared functions" >&5
18414 printf %s "checking for $CXX options needed to detect all undeclared functions... " >&6; }
18415 if test ${ac_cv_cxx_undeclared_builtin_options+y}
18416 then :
18417 printf %s "(cached) " >&6
18418 else $as_nop
18419 ac_save_CFLAGS=$CFLAGS
18420 ac_cv_cxx_undeclared_builtin_options='cannot detect'
18421 for ac_arg in '' -fno-builtin; do
18422 CFLAGS="$ac_save_CFLAGS $ac_arg"
18423 # This test program should *not* compile successfully.
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741118425 /* end confdefs.h. */
17412 #include <stdlib.h>
17413 #include <stdarg.h>
17414 #include <string.h>
17415 #include <float.h>
1741618426
1741718427 int
17418 main ()
18428 main (void)
1741918429 {
17420
18430 (void) strchr;
1742118431 ;
1742218432 return 0;
1742318433 }
1742418434 _ACEOF
17425 if ac_fn_cxx_try_compile "$LINENO"; then :
17426 ac_cv_header_stdc=yes
17427 else
17428 ac_cv_header_stdc=no
17429 fi
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17431
17432 if test $ac_cv_header_stdc = yes; then
17433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18435 if ac_fn_cxx_try_compile "$LINENO"
18436 then :
18437
18438 else $as_nop
18439 # This test program should compile successfully.
18440 # No library function is consistently available on
18441 # freestanding implementations, so test against a dummy
18442 # declaration. Include always-available headers on the
18443 # off chance that they somehow elicit warnings.
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743518445 /* end confdefs.h. */
17436 #include <string.h>
17437
17438 _ACEOF
17439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17440 $EGREP "memchr" >/dev/null 2>&1; then :
17441
17442 else
17443 ac_cv_header_stdc=no
17444 fi
17445 rm -f conftest*
17446
17447 fi
17448
17449 if test $ac_cv_header_stdc = yes; then
17450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <stdlib.h>
17454
17455 _ACEOF
17456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17457 $EGREP "free" >/dev/null 2>&1; then :
17458
17459 else
17460 ac_cv_header_stdc=no
17461 fi
17462 rm -f conftest*
17463
17464 fi
17465
17466 if test $ac_cv_header_stdc = yes; then
17467 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17468 if test "$cross_compiling" = yes; then :
17469 :
17470 else
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 #include <ctype.h>
17474 #include <stdlib.h>
17475 #if ((' ' & 0x0FF) == 0x020)
17476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17478 #else
17479 # define ISLOWER(c) \
17480 (('a' <= (c) && (c) <= 'i') \
17481 || ('j' <= (c) && (c) <= 'r') \
17482 || ('s' <= (c) && (c) <= 'z'))
17483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17484 #endif
17485
17486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18446 #include <float.h>
18447 #include <limits.h>
18448 #include <stdarg.h>
18449 #include <stddef.h>
18450 extern void ac_decl (int, char *);
18451
1748718452 int
17488 main ()
18453 main (void)
1748918454 {
17490 int i;
17491 for (i = 0; i < 256; i++)
17492 if (XOR (islower (i), ISLOWER (i))
17493 || toupper (i) != TOUPPER (i))
17494 return 2;
18455 (void) ac_decl (0, (char *) 0);
18456 (void) ac_decl;
18457
18458 ;
1749518459 return 0;
1749618460 }
1749718461 _ACEOF
17498 if ac_fn_cxx_try_run "$LINENO"; then :
17499
17500 else
17501 ac_cv_header_stdc=no
17502 fi
17503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17504 conftest.$ac_objext conftest.beam conftest.$ac_ext
17505 fi
17506
17507 fi
17508 fi
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17510 $as_echo "$ac_cv_header_stdc" >&6; }
17511 if test $ac_cv_header_stdc = yes; then
17512
17513 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17514
17515 fi
17516
17517
17518 # Functuonal tests.
17519 ac_fn_cxx_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17520 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
18462 if ac_fn_cxx_try_compile "$LINENO"
18463 then :
18464 if test x"$ac_arg" = x
18465 then :
18466 ac_cv_cxx_undeclared_builtin_options='none needed'
18467 else $as_nop
18468 ac_cv_cxx_undeclared_builtin_options=$ac_arg
18469 fi
18470 break
18471 fi
18472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18473 fi
18474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18475 done
18476 CFLAGS=$ac_save_CFLAGS
18477
18478 fi
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_undeclared_builtin_options" >&5
18480 printf "%s\n" "$ac_cv_cxx_undeclared_builtin_options" >&6; }
18481 case $ac_cv_cxx_undeclared_builtin_options in #(
18482 'cannot detect') :
18483 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18484 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18485 as_fn_error $? "cannot make $CXX report undeclared builtins
18486 See \`config.log' for more details" "$LINENO" 5; } ;; #(
18487 'none needed') :
18488 ac_cxx_undeclared_builtin_options='' ;; #(
18489 *) :
18490 ac_cxx_undeclared_builtin_options=$ac_cv_cxx_undeclared_builtin_options ;;
18491 esac
18492
18493 ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_cxx_undeclared_builtin_options" "CXXFLAGS"
18494 if test "x$ac_cv_have_decl_strerror_r" = xyes
18495 then :
1752118496 ac_have_decl=1
17522 else
18497 else $as_nop
1752318498 ac_have_decl=0
1752418499 fi
17525
17526 cat >>confdefs.h <<_ACEOF
17527 #define HAVE_DECL_STRERROR_R $ac_have_decl
17528 _ACEOF
17529
17530 for ac_func in strerror_r
17531 do :
17532 ac_fn_cxx_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17533 if test "x$ac_cv_func_strerror_r" = xyes; then :
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_STRERROR_R 1
17536 _ACEOF
17537
17538 fi
17539 done
17540
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17542 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
17543 if ${ac_cv_func_strerror_r_char_p+:} false; then :
17544 $as_echo_n "(cached) " >&6
17545 else
18500 printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h
18501
18502
18503 if test $ac_cv_have_decl_strerror_r = yes; then
18504 # For backward compatibility's sake, define HAVE_STRERROR_R.
18505 # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well
18506 # as AC_CHECK_DECLS_ONCE.)
18507
18508 printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
18509
18510 fi
18511
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
18513 printf %s "checking whether strerror_r returns char *... " >&6; }
18514 if test ${ac_cv_func_strerror_r_char_p+y}
18515 then :
18516 printf %s "(cached) " >&6
18517 else $as_nop
1754618518
1754718519 ac_cv_func_strerror_r_char_p=no
1754818520 if test $ac_cv_have_decl_strerror_r = yes; then
1754918521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755018522 /* end confdefs.h. */
17551 $ac_includes_default
18523 #include <string.h>
1755218524 int
17553 main ()
18525 main (void)
1755418526 {
1755518527
1755618528 char buf[100];
1756218534 return 0;
1756318535 }
1756418536 _ACEOF
17565 if ac_fn_cxx_try_compile "$LINENO"; then :
18537 if ac_fn_cxx_try_compile "$LINENO"
18538 then :
1756618539 ac_cv_func_strerror_r_char_p=yes
1756718540 fi
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17569 else
17570 # strerror_r is not declared. Choose between
17571 # systems that have relatively inaccessible declarations for the
17572 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
17573 # former has a strerror_r that returns char*, while the latter
17574 # has a strerror_r that returns `int'.
17575 # This test should segfault on the DEC system.
17576 if test "$cross_compiling" = yes; then :
17577 :
17578 else
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 extern char *strerror_r ();
17583 int
17584 main ()
17585 {
17586 char buf[100];
17587 char x = *strerror_r (0, buf, sizeof buf);
17588 return ! isalpha (x);
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 if ac_fn_cxx_try_run "$LINENO"; then :
17594 ac_cv_func_strerror_r_char_p=yes
17595 fi
17596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17597 conftest.$ac_objext conftest.beam conftest.$ac_ext
17598 fi
18541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1759918542
1760018543 fi
1760118544
1760218545 fi
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
17604 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18547 printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; }
1760518548 if test $ac_cv_func_strerror_r_char_p = yes; then
1760618549
17607 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
17608
17609 fi
17610
17611 for ac_func in cap_compare
17612 do :
17613 ac_fn_cxx_check_func "$LINENO" "cap_compare" "ac_cv_func_cap_compare"
17614 if test "x$ac_cv_func_cap_compare" = xyes; then :
17615 cat >>confdefs.h <<_ACEOF
17616 #define HAVE_CAP_COMPARE 1
17617 _ACEOF
17618
17619 fi
17620 done
17621
17622 for ac_func in cap_clear_flag
17623 do :
17624 ac_fn_cxx_check_func "$LINENO" "cap_clear_flag" "ac_cv_func_cap_clear_flag"
17625 if test "x$ac_cv_func_cap_clear_flag" = xyes; then :
17626 cat >>confdefs.h <<_ACEOF
17627 #define HAVE_CAP_CLEAR_FLAG 1
17628 _ACEOF
17629
17630 fi
17631 done
18550 printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18551
18552 fi
18553
18554 ac_fn_cxx_check_func "$LINENO" "cap_compare" "ac_cv_func_cap_compare"
18555 if test "x$ac_cv_func_cap_compare" = xyes
18556 then :
18557 printf "%s\n" "#define HAVE_CAP_COMPARE 1" >>confdefs.h
18558
18559 fi
18560
18561 ac_fn_cxx_check_func "$LINENO" "cap_clear_flag" "ac_cv_func_cap_clear_flag"
18562 if test "x$ac_cv_func_cap_clear_flag" = xyes
18563 then :
18564 printf "%s\n" "#define HAVE_CAP_CLEAR_FLAG 1" >>confdefs.h
18565
18566 fi
1763218567
1763318568
1763418569 # Push generic flags
17635 AM_CPPFLAGS="-I\$(top_srcdir)/src"
17636
17637 AM_CXXFLAGS="-pthread -lrpcsvc $(ucommon-config --cflags)"
18570 AM_CPPFLAGS="-I\$(top_srcdir)/src -I/usr/include/tirpc"
18571
18572 AM_CXXFLAGS="-pthread -ltirpc $(ucommon-config --cflags)"
1763818573
1763918574 AM_LDFLAGS="-pthread"
1764018575
1764518580
1764618581 # Local options
1764718582 # Check whether --enable-strerror was given.
17648 if test "${enable_strerror+set}" = set; then :
18583 if test ${enable_strerror+y}
18584 then :
1764918585 enableval=$enable_strerror; AM_CPPFLAGS+=" -DUI_UTILCPP_DISABLE_STRERROR"
1765018586 fi
1765118587
1768718623 case $ac_val in #(
1768818624 *${as_nl}*)
1768918625 case $ac_var in #(
17690 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18626 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18627 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1769218628 esac
1769318629 case $ac_var in #(
1769418630 _ | IFS | as_nl) ;; #(
1771818654 /^ac_cv_env_/b end
1771918655 t clear
1772018656 :clear
17721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18657 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1772218658 t end
1772318659 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1772418660 :end' >>confcache
1772518661 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1772618662 if test -w "$cache_file"; then
1772718663 if test "x$cache_file" != "x/dev/null"; then
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17729 $as_echo "$as_me: updating cache $cache_file" >&6;}
18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18665 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1773018666 if test ! -f "$cache_file" || test -h "$cache_file"; then
1773118667 cat confcache >"$cache_file"
1773218668 else
1774018676 fi
1774118677 fi
1774218678 else
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18680 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1774518681 fi
1774618682 fi
1774718683 rm -f confcache
1775818694 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1775918695 # 1. Remove the extension, and $U if already installed.
1776018696 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17761 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18697 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1776218698 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1776318699 # will be set to the directory where LIBOBJS objects are built.
1776418700 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1776918705 LTLIBOBJS=$ac_ltlibobjs
1777018706
1777118707
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17773 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18709 printf %s "checking that generated files are newer than configure... " >&6; }
1777418710 if test -n "$am_sleep_pid"; then
1777518711 # Hide warnings about reused PIDs.
1777618712 wait $am_sleep_pid 2>/dev/null
1777718713 fi
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17779 $as_echo "done" >&6; }
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
18715 printf "%s\n" "done" >&6; }
1778018716 if test -n "$EXEEXT"; then
1778118717 am__EXEEXT_TRUE=
1778218718 am__EXEEXT_FALSE='#'
1780218738 ac_write_fail=0
1780318739 ac_clean_files_save=$ac_clean_files
1780418740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17806 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18742 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1780718743 as_write_fail=0
1780818744 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1780918745 #! $SHELL
1782618762
1782718763 # Be more Bourne compatible
1782818764 DUALCASE=1; export DUALCASE # for MKS sh
17829 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18765 as_nop=:
18766 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
18767 then :
1783018768 emulate sh
1783118769 NULLCMD=:
1783218770 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1783318771 # is contrary to our usage. Disable this feature.
1783418772 alias -g '${1+"$@"}'='"$@"'
1783518773 setopt NO_GLOB_SUBST
17836 else
18774 else $as_nop
1783718775 case `(set -o) 2>/dev/null` in #(
1783818776 *posix*) :
1783918777 set -o posix ;; #(
1784318781 fi
1784418782
1784518783
18784
18785 # Reset variables that may have inherited troublesome values from
18786 # the environment.
18787
18788 # IFS needs to be set, to space, tab, and newline, in precisely that order.
18789 # (If _AS_PATH_WALK were called with IFS unset, it would have the
18790 # side effect of setting IFS to empty, thus disabling word splitting.)
18791 # Quoting is to prevent editors from complaining about space-tab.
1784618792 as_nl='
1784718793 '
1784818794 export as_nl
17849 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17850 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17851 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17852 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17853 # Prefer a ksh shell builtin over an external printf program on Solaris,
17854 # but without wasting forks for bash or zsh.
17855 if test -z "$BASH_VERSION$ZSH_VERSION" \
17856 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17857 as_echo='print -r --'
17858 as_echo_n='print -rn --'
17859 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17860 as_echo='printf %s\n'
17861 as_echo_n='printf %s'
17862 else
17863 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17864 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17865 as_echo_n='/usr/ucb/echo -n'
17866 else
17867 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17868 as_echo_n_body='eval
17869 arg=$1;
17870 case $arg in #(
17871 *"$as_nl"*)
17872 expr "X$arg" : "X\\(.*\\)$as_nl";
17873 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17874 esac;
17875 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17876 '
17877 export as_echo_n_body
17878 as_echo_n='sh -c $as_echo_n_body as_echo'
17879 fi
17880 export as_echo_body
17881 as_echo='sh -c $as_echo_body as_echo'
17882 fi
18795 IFS=" "" $as_nl"
18796
18797 PS1='$ '
18798 PS2='> '
18799 PS4='+ '
18800
18801 # Ensure predictable behavior from utilities with locale-dependent output.
18802 LC_ALL=C
18803 export LC_ALL
18804 LANGUAGE=C
18805 export LANGUAGE
18806
18807 # We cannot yet rely on "unset" to work, but we need these variables
18808 # to be unset--not just set to an empty or harmless value--now, to
18809 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
18810 # also avoids known problems related to "unset" and subshell syntax
18811 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
18812 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
18813 do eval test \${$as_var+y} \
18814 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18815 done
18816
18817 # Ensure that fds 0, 1, and 2 are open.
18818 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
18819 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
18820 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1788318821
1788418822 # The user is always right.
17885 if test "${PATH_SEPARATOR+set}" != set; then
18823 if ${PATH_SEPARATOR+false} :; then
1788618824 PATH_SEPARATOR=:
1788718825 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1788818826 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1789018828 }
1789118829 fi
1789218830
17893
17894 # IFS
17895 # We need space, tab and new line, in precisely that order. Quoting is
17896 # there to prevent editors from complaining about space-tab.
17897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17898 # splitting by setting IFS to empty value.)
17899 IFS=" "" $as_nl"
1790018831
1790118832 # Find who we are. Look in the path if we contain no directory separator.
1790218833 as_myself=
1790618837 for as_dir in $PATH
1790718838 do
1790818839 IFS=$as_save_IFS
17909 test -z "$as_dir" && as_dir=.
17910 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18840 case $as_dir in #(((
18841 '') as_dir=./ ;;
18842 */) ;;
18843 *) as_dir=$as_dir/ ;;
18844 esac
18845 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1791118846 done
1791218847 IFS=$as_save_IFS
1791318848
1791918854 as_myself=$0
1792018855 fi
1792118856 if test ! -f "$as_myself"; then
17922 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18857 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1792318858 exit 1
1792418859 fi
1792518860
17926 # Unset variables that we do not need and which cause bugs (e.g. in
17927 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17928 # suppresses any "Segmentation fault" message there. '((' could
17929 # trigger a bug in pdksh 5.2.14.
17930 for as_var in BASH_ENV ENV MAIL MAILPATH
17931 do eval test x\${$as_var+set} = xset \
17932 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17933 done
17934 PS1='$ '
17935 PS2='> '
17936 PS4='+ '
17937
17938 # NLS nuisances.
17939 LC_ALL=C
17940 export LC_ALL
17941 LANGUAGE=C
17942 export LANGUAGE
17943
17944 # CDPATH.
17945 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1794618861
1794718862
1794818863 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1795518870 as_status=$1; test $as_status -eq 0 && as_status=1
1795618871 if test "$4"; then
1795718872 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17958 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1795918874 fi
17960 $as_echo "$as_me: error: $2" >&2
18875 printf "%s\n" "$as_me: error: $2" >&2
1796118876 as_fn_exit $as_status
1796218877 } # as_fn_error
18878
1796318879
1796418880
1796518881 # as_fn_set_status STATUS
1798818904 { eval $1=; unset $1;}
1798918905 }
1799018906 as_unset=as_fn_unset
18907
1799118908 # as_fn_append VAR VALUE
1799218909 # ----------------------
1799318910 # Append the text in VALUE to the end of the definition contained in VAR. Take
1799418911 # advantage of any shell optimizations that allow amortized linear growth over
1799518912 # repeated appends, instead of the typical quadratic growth present in naive
1799618913 # implementations.
17997 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18914 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
18915 then :
1799818916 eval 'as_fn_append ()
1799918917 {
1800018918 eval $1+=\$2
1800118919 }'
18002 else
18920 else $as_nop
1800318921 as_fn_append ()
1800418922 {
1800518923 eval $1=\$$1\$2
1801118929 # Perform arithmetic evaluation on the ARGs, and store the result in the
1801218930 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1801318931 # must be portable across $(()) and expr.
18014 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18932 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
18933 then :
1801518934 eval 'as_fn_arith ()
1801618935 {
1801718936 as_val=$(( $* ))
1801818937 }'
18019 else
18938 else $as_nop
1802018939 as_fn_arith ()
1802118940 {
1802218941 as_val=`expr "$@" || test $? -eq 1`
1804718966 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1804818967 X"$0" : 'X\(//\)$' \| \
1804918968 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18050 $as_echo X/"$0" |
18969 printf "%s\n" X/"$0" |
1805118970 sed '/^.*\/\([^/][^/]*\)\/*$/{
1805218971 s//\1/
1805318972 q
1806918988 as_cr_digits='0123456789'
1807018989 as_cr_alnum=$as_cr_Letters$as_cr_digits
1807118990
18991
18992 # Determine whether it's possible to make 'echo' print without a newline.
18993 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
18994 # for compatibility with existing Makefiles.
1807218995 ECHO_C= ECHO_N= ECHO_T=
1807318996 case `echo -n x` in #(((((
1807418997 -n*)
1808119004 *)
1808219005 ECHO_N='-n';;
1808319006 esac
19007
19008 # For backward compatibility with old third-party macros, we provide
19009 # the shell variables $as_echo and $as_echo_n. New code should use
19010 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
19011 as_echo='printf %s\n'
19012 as_echo_n='printf %s'
1808419013
1808519014 rm -f conf$$ conf$$.exe conf$$.file
1808619015 if test -d conf$$.dir; then
1812319052 as_dirs=
1812419053 while :; do
1812519054 case $as_dir in #(
18126 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19055 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1812719056 *) as_qdir=$as_dir;;
1812819057 esac
1812919058 as_dirs="'$as_qdir' $as_dirs"
1813219061 X"$as_dir" : 'X\(//\)[^/]' \| \
1813319062 X"$as_dir" : 'X\(//\)$' \| \
1813419063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18135 $as_echo X"$as_dir" |
19064 printf "%s\n" X"$as_dir" |
1813619065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1813719066 s//\1/
1813819067 q
1819419123 # report actual input values of CONFIG_FILES etc. instead of their
1819519124 # values after options handling.
1819619125 ac_log="
18197 This file was extended by ui-utilcpp $as_me 1.10.0, which was
18198 generated by GNU Autoconf 2.69. Invocation command line was
19126 This file was extended by ui-utilcpp $as_me 1.10.1, which was
19127 generated by GNU Autoconf 2.71. Invocation command line was
1819919128
1820019129 CONFIG_FILES = $CONFIG_FILES
1820119130 CONFIG_HEADERS = $CONFIG_HEADERS
1825719186 Report bugs to the package provider."
1825819187
1825919188 _ACEOF
19189 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
19190 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1826019191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18261 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19192 ac_cs_config='$ac_cs_config_escaped'
1826219193 ac_cs_version="\\
18263 ui-utilcpp config.status 1.10.0
18264 configured by $0, generated by GNU Autoconf 2.69,
19194 ui-utilcpp config.status 1.10.1
19195 configured by $0, generated by GNU Autoconf 2.71,
1826519196 with options \\"\$ac_cs_config\\"
1826619197
18267 Copyright (C) 2012 Free Software Foundation, Inc.
19198 Copyright (C) 2021 Free Software Foundation, Inc.
1826819199 This config.status script is free software; the Free Software Foundation
1826919200 gives unlimited permission to copy, distribute and modify it."
1827019201
1830419235 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1830519236 ac_cs_recheck=: ;;
1830619237 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18307 $as_echo "$ac_cs_version"; exit ;;
19238 printf "%s\n" "$ac_cs_version"; exit ;;
1830819239 --config | --confi | --conf | --con | --co | --c )
18309 $as_echo "$ac_cs_config"; exit ;;
19240 printf "%s\n" "$ac_cs_config"; exit ;;
1831019241 --debug | --debu | --deb | --de | --d | -d )
1831119242 debug=: ;;
1831219243 --file | --fil | --fi | --f )
1831319244 $ac_shift
1831419245 case $ac_optarg in
18315 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19246 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1831619247 '') as_fn_error $? "missing file argument" ;;
1831719248 esac
1831819249 as_fn_append CONFIG_FILES " '$ac_optarg'"
1832019251 --header | --heade | --head | --hea )
1832119252 $ac_shift
1832219253 case $ac_optarg in
18323 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19254 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1832419255 esac
1832519256 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1832619257 ac_need_defaults=false;;
1832919260 as_fn_error $? "ambiguous option: \`$1'
1833019261 Try \`$0 --help' for more information.";;
1833119262 --help | --hel | -h )
18332 $as_echo "$ac_cs_usage"; exit ;;
19263 printf "%s\n" "$ac_cs_usage"; exit ;;
1833319264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1833419265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1833519266 ac_cs_silent=: ;;
1835719288 if \$ac_cs_recheck; then
1835819289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1835919290 shift
18360 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19291 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1836119292 CONFIG_SHELL='$SHELL'
1836219293 export CONFIG_SHELL
1836319294 exec "\$@"
1837119302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1837219303 ## Running $as_me. ##
1837319304 _ASBOX
18374 $as_echo "$ac_log"
19305 printf "%s\n" "$ac_log"
1837519306 } >&5
1837619307
1837719308 _ACEOF
1842319354 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
1842419355 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
1842519356 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19357 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1842619358 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1842719359 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
1842819360 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
1843119363 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
1843219364 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
1843319365 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19366 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1843419367 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
1843519368 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
1843619369 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
1860519538 lt_SP2NL \
1860619539 lt_NL2SP \
1860719540 reload_flag \
19541 FILECMD \
1860819542 OBJDUMP \
1860919543 deplibs_check_method \
1861019544 file_magic_cmd \
1861319547 DLLTOOL \
1861419548 sharedlib_from_linklib_cmd \
1861519549 AR \
18616 AR_FLAGS \
1861719550 archiver_list_spec \
1861819551 STRIP \
1861919552 RANLIB \
1879119724 # We use the long form for the default assignment because of an extremely
1879219725 # bizarre bug on SunOS 4.1.3.
1879319726 if $ac_need_defaults; then
18794 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18795 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18796 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19727 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
19728 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
19729 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1879719730 fi
1879819731
1879919732 # Have a temporary directory for convenience. Make it in the build tree
1916320096 esac ||
1916420097 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1916520098 esac
19166 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20099 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1916720100 as_fn_append ac_file_inputs " '$ac_f'"
1916820101 done
1916920102
1917120104 # use $as_me), people would be surprised to read:
1917220105 # /* config.h. Generated by config.status. */
1917320106 configure_input='Generated from '`
19174 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20107 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1917520108 `' by configure.'
1917620109 if test x"$ac_file" != x-; then
1917720110 configure_input="$ac_file. $configure_input"
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19179 $as_echo "$as_me: creating $ac_file" >&6;}
20111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20112 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1918020113 fi
1918120114 # Neutralize special characters interpreted by sed in replacement strings.
1918220115 case $configure_input in #(
1918320116 *\&* | *\|* | *\\* )
19184 ac_sed_conf_input=`$as_echo "$configure_input" |
20117 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1918520118 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1918620119 *) ac_sed_conf_input=$configure_input;;
1918720120 esac
1919820131 X"$ac_file" : 'X\(//\)[^/]' \| \
1919920132 X"$ac_file" : 'X\(//\)$' \| \
1920020133 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19201 $as_echo X"$ac_file" |
20134 printf "%s\n" X"$ac_file" |
1920220135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1920320136 s//\1/
1920420137 q
1922220155 case "$ac_dir" in
1922320156 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1922420157 *)
19225 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20158 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1922620159 # A ".." for each directory in $ac_dir_suffix.
19227 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20160 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1922820161 case $ac_top_builddir_sub in
1922920162 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1923020163 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1928620219 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1928720220 *datarootdir*) ac_datarootdir_seen=yes;;
1928820221 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19290 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20223 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1929120224 _ACEOF
1929220225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1929320226 ac_datarootdir_hack='
1933620269 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1933720270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1933820271 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1934020273 which seems to be undefined. Please make sure it is defined" >&5
19341 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20274 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1934220275 which seems to be undefined. Please make sure it is defined" >&2;}
1934320276
1934420277 rm -f "$ac_tmp/stdin"
1935420287 #
1935520288 if test x"$ac_file" != x-; then
1935620289 {
19357 $as_echo "/* $configure_input */" \
20290 printf "%s\n" "/* $configure_input */" >&1 \
1935820291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1935920292 } >"$ac_tmp/config.h" \
1936020293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1936120294 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19363 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20296 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1936420297 else
1936520298 rm -f "$ac_file"
1936620299 mv "$ac_tmp/config.h" "$ac_file" \
1936720300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1936820301 fi
1936920302 else
19370 $as_echo "/* $configure_input */" \
20303 printf "%s\n" "/* $configure_input */" >&1 \
1937120304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1937220305 || as_fn_error $? "could not create -" "$LINENO" 5
1937320306 fi
1938720320 X"$_am_arg" : 'X\(//\)[^/]' \| \
1938820321 X"$_am_arg" : 'X\(//\)$' \| \
1938920322 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19390 $as_echo X"$_am_arg" |
20323 printf "%s\n" X"$_am_arg" |
1939120324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1939220325 s//\1/
1939320326 q
1940720340 s/.*/./; q'`/stamp-h$_am_stamp_count
1940820341 ;;
1940920342
19410 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19411 $as_echo "$as_me: executing $ac_file commands" >&6;}
20343 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20344 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1941220345 ;;
1941320346 esac
1941420347
1943420367 for am_mf
1943520368 do
1943620369 # Strip MF so we end up with the name of the file.
19437 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
20370 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1943820371 # Check whether this is an Automake generated Makefile which includes
1943920372 # dependency-tracking related rules and includes.
1944020373 # Grep'ing the whole file directly is not great: AIX grep has a line
1944620379 X"$am_mf" : 'X\(//\)[^/]' \| \
1944720380 X"$am_mf" : 'X\(//\)$' \| \
1944820381 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19449 $as_echo X"$am_mf" |
20382 printf "%s\n" X"$am_mf" |
1945020383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1945120384 s//\1/
1945220385 q
1946820401 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
1946920402 X"$am_mf" : 'X\(//\)$' \| \
1947020403 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19471 $as_echo X/"$am_mf" |
20404 printf "%s\n" X/"$am_mf" |
1947220405 sed '/^.*\/\([^/][^/]*\)\/*$/{
1947320406 s//\1/
1947420407 q
1949320426 (exit $ac_status); } || am_rc=$?
1949420427 done
1949520428 if test $am_rc -ne 0; then
19496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20429 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20430 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1949820431 as_fn_error $? "Something went wrong bootstrapping makefile fragments
19499 for automatic dependency tracking. Try re-running configure with the
20432 for automatic dependency tracking. If GNU make was not used, consider
20433 re-running the configure script with MAKE=\"gmake\" (or whatever is
20434 necessary). You can also try re-running configure with the
1950020435 '--disable-dependency-tracking' option to at least be able to build
1950120436 the package (albeit without support for automatic dependency tracking).
1950220437 See \`config.log' for more details" "$LINENO" 5; }
1964220577 # convert \$build files to toolchain format.
1964320578 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1964420579
20580 # A file(cmd) program that detects file types.
20581 FILECMD=$lt_FILECMD
20582
1964520583 # An object symbol dumper.
1964620584 OBJDUMP=$lt_OBJDUMP
1964720585
1966620604 # The archiver.
1966720605 AR=$lt_AR
1966820606
20607 # Flags to create an archive (by configure).
20608 lt_ar_flags=$lt_ar_flags
20609
1966920610 # Flags to create an archive.
19670 AR_FLAGS=$lt_AR_FLAGS
20611 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1967120612
1967220613 # How to feed a file listing to the archiver.
1967320614 archiver_list_spec=$lt_archiver_list_spec
2004920990 esac
2005020991
2005120992
20993
2005220994 ltmain=$ac_aux_dir/ltmain.sh
2005320995
2005420996
2005620998 # if finds mixed CR/LF and LF-only lines. Since sed operates in
2005720999 # text mode, it properly converts lines to CR/LF. This bash problem
2005821000 # is reportedly fixed, but why not run on old versions too?
20059 sed '$q' "$ltmain" >> "$cfgfile" \
21001 $SED '$q' "$ltmain" >> "$cfgfile" \
2006021002 || (rm -f "$cfgfile"; exit 1)
2006121003
2006221004 mv -f "$cfgfile" "$ofile" ||
2025121193 $ac_cs_success || as_fn_exit 1
2025221194 fi
2025321195 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20255 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20256 fi
20257
21196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21197 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21198 fi
21199
21200
0 AC_INIT([ui-utilcpp], [1.10.0])
0 AC_INIT([ui-utilcpp], [1.10.1])
11
22 dnl See DEVELOPERS file for shared library versioning instructions
33 dnl INTERFACE:REVISION:AGE
1111 dnl one.
1212 dnl B2) If interfaces were removed or there were incompatible
1313 dnl changes, the AGE is set to zero.
14 UI_INIT([src/ui-utilcpp/Exception.hpp], [9:1:0],,,[tar-pax])
14 UI_INIT([src/ui-utilcpp/Exception.hpp], [9:2:0],,,[tar-pax])
1515 AC_CONFIG_HEADER(config.h)
1616
1717 UI_DOXYGEN
8282 AC_CHECK_FUNCS(cap_clear_flag)
8383
8484 # Push generic flags
85 AC_SUBST(AM_CPPFLAGS, ["-I\$(top_srcdir)/src"])
86 AC_SUBST(AM_CXXFLAGS, ["-pthread -lrpcsvc $(ucommon-config --cflags)"])
85 AC_SUBST(AM_CPPFLAGS, ["-I\$(top_srcdir)/src -I/usr/include/tirpc"])
86 AC_SUBST(AM_CXXFLAGS, ["-pthread -ltirpc $(ucommon-config --cflags)"])
8787 AC_SUBST(AM_LDFLAGS, ["-pthread"])
8888 AC_SUBST(AM_LIBADD, $(ucommon-config --libs))
8989 AC_SUBST(AM_LDADD, $(ucommon-config --libs))
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
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
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
164164 CC = @CC@
165165 CCDEPMODE = @CCDEPMODE@
166166 CFLAGS = @CFLAGS@
167 CPP = @CPP@
168167 CPPFLAGS = @CPPFLAGS@
168 CSCOPE = @CSCOPE@
169 CTAGS = @CTAGS@
169170 CXX = @CXX@
170171 CXXCPP = @CXXCPP@
171172 CXXDEPMODE = @CXXDEPMODE@
181182 ECHO_N = @ECHO_N@
182183 ECHO_T = @ECHO_T@
183184 EGREP = @EGREP@
185 ETAGS = @ETAGS@
184186 EXEEXT = @EXEEXT@
185187 FGREP = @FGREP@
188 FILECMD = @FILECMD@
186189 GREP = @GREP@
187190 INSTALL = @INSTALL@
188191 INSTALL_DATA = @INSTALL_DATA@
345348
346349 cscope cscopelist:
347350
348
349351 distdir: $(BUILT_SOURCES)
350352 $(MAKE) $(AM_MAKEFLAGS) distdir-am
351353
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2018-03-11.20; # 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
300324 if test $dstdir_status != 0; then
301325 case $posix_mkdir in
302326 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319327 # With -d, create the new directory with the user-specified mode.
320328 # Otherwise, rely on $mkdir_umask.
321329 if test -n "$dir_arg"; then
325333 fi
326334
327335 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
344 if (umask $mkdir_umask &&
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
347 then
348 if test -z "$dir_arg" || {
349 # Check for POSIX incompatibilities with -m.
350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351 # other-writable bit of parent directory when it shouldn't.
352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
355 case $ls_ld_tmpdir in
356 d????-?r-*) different_mode=700;;
357 d????-?--*) different_mode=755;;
358 *) false;;
359 esac &&
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363 }
364 }
365 then posix_mkdir=:
366 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
368 else
369 # Remove any dirs left behind by ancient mkdir implementations.
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
371 fi
372 trap '' 0;;
373 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;;
374379 esac
375380
376381 if
381386 then :
382387 else
383388
384 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
385390 # or it failed possibly due to a race condition. Create the
386391 # directory the slow way, step by step, checking for races as we go.
387392
410415 prefixes=
411416 else
412417 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
414419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415420 # Don't fail if two instances are running concurrently.
416421 test -d "$prefix" || exit 1
450455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451456
452457 # Copy the file name to the temp name.
453 (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") &&
454470
455471 # and set any options; do chmod last to preserve setuid bits.
456472 #
476492 then
477493 rm -f "$dsttmp"
478494 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
479502 # Rename the file to the real destination.
480503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
481504
490513 # file should still install successfully.
491514 {
492515 test ! -f "$dst" ||
493 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
494517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
495 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
496519 } ||
497520 { echo "$0: cannot unlink or rename $dst" >&2
498521 (exit 1); exit 1
0 #! /bin/sh
0 #! /usr/bin/env sh
11 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
2 ## by inline-source v2014-01-03.01
3
4 # libtool (GNU libtool) 2.4.6
2 ## by inline-source v2019-02-19.15
3
4 # libtool (GNU libtool) 2.4.7
55 # Provide generalized library-building support services.
66 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
77
8 # Copyright (C) 1996-2015 Free Software Foundation, Inc.
8 # Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc.
99 # This is free software; see the source for copying conditions. There is NO
1010 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1111
3030
3131 PROGRAM=libtool
3232 PACKAGE=libtool
33 VERSION="2.4.6 Debian-2.4.6-11"
34 package_revision=2.4.6
33 VERSION="2.4.7 Debian-2.4.7-5"
34 package_revision=2.4.7
3535
3636
3737 ## ------ ##
6363 # libraries, which are installed to $pkgauxdir.
6464
6565 # Set a version string for this script.
66 scriptversion=2015-01-20.17; # UTC
66 scriptversion=2019-02-19.15; # UTC
6767
6868 # General shell script boiler plate, and helper functions.
6969 # Written by Gary V. Vaughan, 2004
7070
71 # Copyright (C) 2004-2015 Free Software Foundation, Inc.
72 # This is free software; see the source for copying conditions. There is NO
73 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
74
75 # This program is free software; you can redistribute it and/or modify
76 # it under the terms of the GNU General Public License as published by
77 # the Free Software Foundation; either version 3 of the License, or
78 # (at your option) any later version.
79
80 # As a special exception to the GNU General Public License, if you distribute
81 # this file as part of a program or library that is built using GNU Libtool,
82 # you may include this file under the same distribution terms that you use
83 # for the rest of that program.
84
85 # This program is distributed in the hope that it will be useful,
86 # but WITHOUT ANY WARRANTY; without even the implied warranty of
87 # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
88 # General Public License for more details.
89
90 # You should have received a copy of the GNU General Public License
91 # along with this program. If not, see <http://www.gnu.org/licenses/>.
92
93 # Please report bugs or propose patches to gary@gnu.org.
71 # This is free software. There is NO warranty; not even for
72 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
73 #
74 # Copyright (C) 2004-2019, 2021 Bootstrap Authors
75 #
76 # This file is dual licensed under the terms of the MIT license
77 # <https://opensource.org/license/MIT>, and GPL version 2 or later
78 # <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of
79 # these licenses when using or redistributing this software or any of
80 # the files within it. See the URLs above, or the file `LICENSE`
81 # included in the Bootstrap distribution for the full license texts.
82
83 # Please report bugs or propose patches to:
84 # <https://github.com/gnulib-modules/bootstrap/issues>
9485
9586
9687 ## ------ ##
138129 _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
139130 fi"
140131 done
141
142 # CDPATH.
143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
132 # These NLS vars are set unconditionally (bootstrap issue #24). Unset those
133 # in case the environment reset is needed later and the $save_* variant is not
134 # defined (see the code above).
135 LC_ALL=C
136 LANGUAGE=C
137 export LANGUAGE LC_ALL
144138
145139 # Make sure IFS has a sensible default
146140 sp=' '
157151 }
158152 fi
159153
154
155 # func_unset VAR
156 # --------------
157 # Portably unset VAR.
158 # In some shells, an 'unset VAR' statement leaves a non-zero return
159 # status if VAR is already unset, which might be problematic if the
160 # statement is used at the end of a function (thus poisoning its return
161 # value) or when 'set -e' is active (causing even a spurious abort of
162 # the script in this case).
163 func_unset ()
164 {
165 { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; }
166 }
167
168
169 # Make sure CDPATH doesn't cause `cd` commands to output the target dir.
170 func_unset CDPATH
171
172 # Make sure ${,E,F}GREP behave sanely.
173 func_unset GREP_OPTIONS
160174
161175
162176 ## ------------------------- ##
258272 rm -f conftest.in conftest.tmp conftest.nl conftest.out
259273 }
260274
261 func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
275 func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin"
262276 rm -f conftest.sed
263277 SED=$func_path_progs_result
264278 }
294308 rm -f conftest.in conftest.tmp conftest.nl conftest.out
295309 }
296310
297 func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
311 func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin"
298312 GREP=$func_path_progs_result
299313 }
300314
359373 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360374 s/\n//g"
361375
376 # require_check_ifs_backslash
377 # ---------------------------
378 # Check if we can use backslash as IFS='\' separator, and set
379 # $check_ifs_backshlash_broken to ':' or 'false'.
380 require_check_ifs_backslash=func_require_check_ifs_backslash
381 func_require_check_ifs_backslash ()
382 {
383 _G_save_IFS=$IFS
384 IFS='\'
385 _G_check_ifs_backshlash='a\\b'
386 for _G_i in $_G_check_ifs_backshlash
387 do
388 case $_G_i in
389 a)
390 check_ifs_backshlash_broken=false
391 ;;
392 '')
393 break
394 ;;
395 *)
396 check_ifs_backshlash_broken=:
397 break
398 ;;
399 esac
400 done
401 IFS=$_G_save_IFS
402 require_check_ifs_backslash=:
403 }
404
362405
363406 ## ----------------- ##
364407 ## Global variables. ##
386429 # putting '$debug_cmd' at the start of all your functions, you can get
387430 # bash to show function call trace with:
388431 #
389 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
432 # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
390433 debug_cmd=${debug_cmd-":"}
391434 exit_cmd=:
392435
579622 {
580623 $debug_cmd
581624
582 func_quote_for_eval "$2"
583 eval "$1+=\\ \$func_quote_for_eval_result"
625 func_quote_arg pretty "$2"
626 eval "$1+=\\ \$func_quote_arg_result"
584627 }'
585628 else
586629 func_append_quoted ()
587630 {
588631 $debug_cmd
589632
590 func_quote_for_eval "$2"
591 eval "$1=\$$1\\ \$func_quote_for_eval_result"
633 func_quote_arg pretty "$2"
634 eval "$1=\$$1\\ \$func_quote_arg_result"
592635 }
593636 fi
594637
10901133 }
10911134
10921135
1093 # func_quote_for_eval ARG...
1094 # --------------------------
1095 # Aesthetically quote ARGs to be evaled later.
1096 # This function returns two values:
1097 # i) func_quote_for_eval_result
1098 # double-quoted, suitable for a subsequent eval
1099 # ii) func_quote_for_eval_unquoted_result
1100 # has all characters that are still active within double
1101 # quotes backslashified.
1102 func_quote_for_eval ()
1136 # func_quote_portable EVAL ARG
1137 # ----------------------------
1138 # Internal function to portably implement func_quote_arg. Note that we still
1139 # keep attention to performance here so we as much as possible try to avoid
1140 # calling sed binary (so far O(N) complexity as long as func_append is O(1)).
1141 func_quote_portable ()
11031142 {
11041143 $debug_cmd
11051144
1106 func_quote_for_eval_unquoted_result=
1107 func_quote_for_eval_result=
1108 while test 0 -lt $#; do
1145 $require_check_ifs_backslash
1146
1147 func_quote_portable_result=$2
1148
1149 # one-time-loop (easy break)
1150 while true
1151 do
1152 if $1; then
1153 func_quote_portable_result=`$ECHO "$2" | $SED \
1154 -e "$sed_double_quote_subst" -e "$sed_double_backslash"`
1155 break
1156 fi
1157
1158 # Quote for eval.
1159 case $func_quote_portable_result in
1160 *[\\\`\"\$]*)
1161 # Fallback to sed for $func_check_bs_ifs_broken=:, or when the string
1162 # contains the shell wildcard characters.
1163 case $check_ifs_backshlash_broken$func_quote_portable_result in
1164 :*|*[\[\*\?]*)
1165 func_quote_portable_result=`$ECHO "$func_quote_portable_result" \
1166 | $SED "$sed_quote_subst"`
1167 break
1168 ;;
1169 esac
1170
1171 func_quote_portable_old_IFS=$IFS
1172 for _G_char in '\' '`' '"' '$'
1173 do
1174 # STATE($1) PREV($2) SEPARATOR($3)
1175 set start "" ""
1176 func_quote_portable_result=dummy"$_G_char$func_quote_portable_result$_G_char"dummy
1177 IFS=$_G_char
1178 for _G_part in $func_quote_portable_result
1179 do
1180 case $1 in
1181 quote)
1182 func_append func_quote_portable_result "$3$2"
1183 set quote "$_G_part" "\\$_G_char"
1184 ;;
1185 start)
1186 set first "" ""
1187 func_quote_portable_result=
1188 ;;
1189 first)
1190 set quote "$_G_part" ""
1191 ;;
1192 esac
1193 done
1194 done
1195 IFS=$func_quote_portable_old_IFS
1196 ;;
1197 *) ;;
1198 esac
1199 break
1200 done
1201
1202 func_quote_portable_unquoted_result=$func_quote_portable_result
1203 case $func_quote_portable_result in
1204 # double-quote args containing shell metacharacters to delay
1205 # word splitting, command substitution and variable expansion
1206 # for a subsequent eval.
1207 # many bourne shells cannot handle close brackets correctly
1208 # in scan sets, so we specify it separately.
1209 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1210 func_quote_portable_result=\"$func_quote_portable_result\"
1211 ;;
1212 esac
1213 }
1214
1215
1216 # func_quotefast_eval ARG
1217 # -----------------------
1218 # Quote one ARG (internal). This is equivalent to 'func_quote_arg eval ARG',
1219 # but optimized for speed. Result is stored in $func_quotefast_eval.
1220 if test xyes = `(x=; printf -v x %q yes; echo x"$x") 2>/dev/null`; then
1221 printf -v _GL_test_printf_tilde %q '~'
1222 if test '\~' = "$_GL_test_printf_tilde"; then
1223 func_quotefast_eval ()
1224 {
1225 printf -v func_quotefast_eval_result %q "$1"
1226 }
1227 else
1228 # Broken older Bash implementations. Make those faster too if possible.
1229 func_quotefast_eval ()
1230 {
11091231 case $1 in
1110 *[\\\`\"\$]*)
1111 _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
1112 *)
1113 _G_unquoted_arg=$1 ;;
1114 esac
1115 if test -n "$func_quote_for_eval_unquoted_result"; then
1116 func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
1117 else
1118 func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
1119 fi
1120
1121 case $_G_unquoted_arg in
1122 # Double-quote args containing shell metacharacters to delay
1123 # word splitting, command substitution and variable expansion
1124 # for a subsequent eval.
1125 # Many Bourne shells cannot handle close brackets correctly
1126 # in scan sets, so we specify it separately.
1127 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1128 _G_quoted_arg=\"$_G_unquoted_arg\"
1232 '~'*)
1233 func_quote_portable false "$1"
1234 func_quotefast_eval_result=$func_quote_portable_result
11291235 ;;
11301236 *)
1131 _G_quoted_arg=$_G_unquoted_arg
1132 ;;
1237 printf -v func_quotefast_eval_result %q "$1"
1238 ;;
11331239 esac
1134
1135 if test -n "$func_quote_for_eval_result"; then
1136 func_append func_quote_for_eval_result " $_G_quoted_arg"
1240 }
1241 fi
1242 else
1243 func_quotefast_eval ()
1244 {
1245 func_quote_portable false "$1"
1246 func_quotefast_eval_result=$func_quote_portable_result
1247 }
1248 fi
1249
1250
1251 # func_quote_arg MODEs ARG
1252 # ------------------------
1253 # Quote one ARG to be evaled later. MODEs argument may contain zero or more
1254 # specifiers listed below separated by ',' character. This function returns two
1255 # values:
1256 # i) func_quote_arg_result
1257 # double-quoted (when needed), suitable for a subsequent eval
1258 # ii) func_quote_arg_unquoted_result
1259 # has all characters that are still active within double
1260 # quotes backslashified. Available only if 'unquoted' is specified.
1261 #
1262 # Available modes:
1263 # ----------------
1264 # 'eval' (default)
1265 # - escape shell special characters
1266 # 'expand'
1267 # - the same as 'eval'; but do not quote variable references
1268 # 'pretty'
1269 # - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might
1270 # be used later in func_quote to get output like: 'echo "a b"' instead
1271 # of 'echo a\ b'. This is slower than default on some shells.
1272 # 'unquoted'
1273 # - produce also $func_quote_arg_unquoted_result which does not contain
1274 # wrapping double-quotes.
1275 #
1276 # Examples for 'func_quote_arg pretty,unquoted string':
1277 #
1278 # string | *_result | *_unquoted_result
1279 # ------------+-----------------------+-------------------
1280 # " | \" | \"
1281 # a b | "a b" | a b
1282 # "a b" | "\"a b\"" | \"a b\"
1283 # * | "*" | *
1284 # z="${x-$y}" | "z=\"\${x-\$y}\"" | z=\"\${x-\$y}\"
1285 #
1286 # Examples for 'func_quote_arg pretty,unquoted,expand string':
1287 #
1288 # string | *_result | *_unquoted_result
1289 # --------------+---------------------+--------------------
1290 # z="${x-$y}" | "z=\"${x-$y}\"" | z=\"${x-$y}\"
1291 func_quote_arg ()
1292 {
1293 _G_quote_expand=false
1294 case ,$1, in
1295 *,expand,*)
1296 _G_quote_expand=:
1297 ;;
1298 esac
1299
1300 case ,$1, in
1301 *,pretty,*|*,expand,*|*,unquoted,*)
1302 func_quote_portable $_G_quote_expand "$2"
1303 func_quote_arg_result=$func_quote_portable_result
1304 func_quote_arg_unquoted_result=$func_quote_portable_unquoted_result
1305 ;;
1306 *)
1307 # Faster quote-for-eval for some shells.
1308 func_quotefast_eval "$2"
1309 func_quote_arg_result=$func_quotefast_eval_result
1310 ;;
1311 esac
1312 }
1313
1314
1315 # func_quote MODEs ARGs...
1316 # ------------------------
1317 # Quote all ARGs to be evaled later and join them into single command. See
1318 # func_quote_arg's description for more info.
1319 func_quote ()
1320 {
1321 $debug_cmd
1322 _G_func_quote_mode=$1 ; shift
1323 func_quote_result=
1324 while test 0 -lt $#; do
1325 func_quote_arg "$_G_func_quote_mode" "$1"
1326 if test -n "$func_quote_result"; then
1327 func_append func_quote_result " $func_quote_arg_result"
11371328 else
1138 func_append func_quote_for_eval_result "$_G_quoted_arg"
1329 func_append func_quote_result "$func_quote_arg_result"
11391330 fi
11401331 shift
11411332 done
1142 }
1143
1144
1145 # func_quote_for_expand ARG
1146 # -------------------------
1147 # Aesthetically quote ARG to be evaled later; same as above,
1148 # but do not quote variable references.
1149 func_quote_for_expand ()
1150 {
1151 $debug_cmd
1152
1153 case $1 in
1154 *[\\\`\"]*)
1155 _G_arg=`$ECHO "$1" | $SED \
1156 -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
1157 *)
1158 _G_arg=$1 ;;
1159 esac
1160
1161 case $_G_arg in
1162 # Double-quote args containing shell metacharacters to delay
1163 # word splitting and command substitution for a subsequent eval.
1164 # Many Bourne shells cannot handle close brackets correctly
1165 # in scan sets, so we specify it separately.
1166 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
1167 _G_arg=\"$_G_arg\"
1168 ;;
1169 esac
1170
1171 func_quote_for_expand_result=$_G_arg
11721333 }
11731334
11741335
12141375 _G_cmd=$1
12151376 _G_fail_exp=${2-':'}
12161377
1217 func_quote_for_expand "$_G_cmd"
1218 eval "func_notquiet $func_quote_for_expand_result"
1378 func_quote_arg pretty,expand "$_G_cmd"
1379 eval "func_notquiet $func_quote_arg_result"
12191380
12201381 $opt_dry_run || {
12211382 eval "$_G_cmd"
12401401 _G_fail_exp=${2-':'}
12411402
12421403 $opt_quiet || {
1243 func_quote_for_expand "$_G_cmd"
1244 eval "func_echo $func_quote_for_expand_result"
1404 func_quote_arg expand,pretty "$_G_cmd"
1405 eval "func_echo $func_quote_arg_result"
12451406 }
12461407
12471408 $opt_dry_run || {
13681529 # End:
13691530 #! /bin/sh
13701531
1371 # Set a version string for this script.
1372 scriptversion=2015-10-07.11; # UTC
1373
13741532 # A portable, pluggable option parser for Bourne shell.
13751533 # Written by Gary V. Vaughan, 2010
13761534
1377 # Copyright (C) 2010-2015 Free Software Foundation, Inc.
1378 # This is free software; see the source for copying conditions. There is NO
1379 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1380
1381 # This program is free software: you can redistribute it and/or modify
1382 # it under the terms of the GNU General Public License as published by
1383 # the Free Software Foundation, either version 3 of the License, or
1384 # (at your option) any later version.
1385
1386 # This program is distributed in the hope that it will be useful,
1387 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1388 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1389 # GNU General Public License for more details.
1390
1391 # You should have received a copy of the GNU General Public License
1392 # along with this program. If not, see <http://www.gnu.org/licenses/>.
1393
1394 # Please report bugs or propose patches to gary@gnu.org.
1535 # This is free software. There is NO warranty; not even for
1536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1537 #
1538 # Copyright (C) 2010-2019, 2021 Bootstrap Authors
1539 #
1540 # This file is dual licensed under the terms of the MIT license
1541 # <https://opensource.org/license/MIT>, and GPL version 2 or later
1542 # <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of
1543 # these licenses when using or redistributing this software or any of
1544 # the files within it. See the URLs above, or the file `LICENSE`
1545 # included in the Bootstrap distribution for the full license texts.
1546
1547 # Please report bugs or propose patches to:
1548 # <https://github.com/gnulib-modules/bootstrap/issues>
1549
1550 # Set a version string for this script.
1551 scriptversion=2019-02-19.15; # UTC
13951552
13961553
13971554 ## ------ ##
14141571 #
14151572 # In order for the '--version' option to work, you will need to have a
14161573 # suitably formatted comment like the one at the top of this file
1417 # starting with '# Written by ' and ending with '# warranty; '.
1574 # starting with '# Written by ' and ending with '# Copyright'.
14181575 #
14191576 # For '-h' and '--help' to work, you will also need a one line
14201577 # description of your script's purpose in a comment directly above the
14261583 # to display verbose messages only when your user has specified
14271584 # '--verbose'.
14281585 #
1429 # After sourcing this file, you can plug processing for additional
1586 # After sourcing this file, you can plug in processing for additional
14301587 # options by amending the variables from the 'Configuration' section
14311588 # below, and following the instructions in the 'Option parsing'
14321589 # section further down.
14751632 ## ------------------------- ##
14761633
14771634 # This section contains functions for adding, removing, and running hooks
1478 # to the main code. A hook is just a named list of of function, that can
1479 # be run in order later on.
1635 # in the main code. A hook is just a list of function names that can be
1636 # run in order later on.
14801637
14811638 # func_hookable FUNC_NAME
14821639 # -----------------------
15091666
15101667 # func_remove_hook FUNC_NAME HOOK_FUNC
15111668 # ------------------------------------
1512 # Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
1669 # Remove HOOK_FUNC from the list of hook functions to be called by
1670 # FUNC_NAME.
15131671 func_remove_hook ()
15141672 {
15151673 $debug_cmd
15161674
15171675 eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
1676 }
1677
1678
1679 # func_propagate_result FUNC_NAME_A FUNC_NAME_B
1680 # ---------------------------------------------
1681 # If the *_result variable of FUNC_NAME_A _is set_, assign its value to
1682 # *_result variable of FUNC_NAME_B.
1683 func_propagate_result ()
1684 {
1685 $debug_cmd
1686
1687 func_propagate_result_result=:
1688 if eval "test \"\${${1}_result+set}\" = set"
1689 then
1690 eval "${2}_result=\$${1}_result"
1691 else
1692 func_propagate_result_result=false
1693 fi
15181694 }
15191695
15201696
15211697 # func_run_hooks FUNC_NAME [ARG]...
15221698 # ---------------------------------
15231699 # Run all hook functions registered to FUNC_NAME.
1524 # It is assumed that the list of hook functions contains nothing more
1700 # It's assumed that the list of hook functions contains nothing more
15251701 # than a whitespace-delimited list of legal shell function names, and
15261702 # no effort is wasted trying to catch shell meta-characters or preserve
15271703 # whitespace.
15331709
15341710 case " $hookable_fns " in
15351711 *" $1 "*) ;;
1536 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1712 *) func_fatal_error "'$1' does not support hook functions." ;;
15371713 esac
15381714
15391715 eval _G_hook_fns=\$$1_hooks; shift
15401716
15411717 for _G_hook in $_G_hook_fns; do
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=:
1718 func_unset "${_G_hook}_result"
1719 eval $_G_hook '${1+"$@"}'
1720 func_propagate_result $_G_hook func_run_hooks
1721 if $func_propagate_result_result; then
1722 eval set dummy "$func_run_hooks_result"; shift
15481723 fi
15491724 done
1550
1551 $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result
15521725 }
15531726
15541727
15581731 ## --------------- ##
15591732
15601733 # In order to add your own option parsing hooks, you must accept the
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
1563 # options in '<hooked_function_name>_result', escaped suitably for
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.
1734 # full positional parameter list from your hook function. You may remove
1735 # or edit any options that you action, and then pass back the remaining
1736 # unprocessed options in '<hooked_function_name>_result', escaped
1737 # suitably for 'eval'.
1738 #
1739 # The '<hooked_function_name>_result' variable is automatically unset
1740 # before your hook gets called; for best performance, only set the
1741 # *_result variable when necessary (i.e. don't call the 'func_quote'
1742 # function unnecessarily because it can be an expensive operation on some
1743 # machines).
15691744 #
15701745 # Like this:
15711746 #
15771752 # usage_message=$usage_message'
15781753 # -s, --silent don'\''t print informational messages
15791754 # '
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
1755 # # No change in '$@' (ignored completely by this hook). Leave
1756 # # my_options_prep_result variable intact.
15851757 # }
15861758 # func_add_hook func_options_prep my_options_prep
15871759 #
15921764 #
15931765 # args_changed=false
15941766 #
1595 # # Note that for efficiency, we parse as many options as we can
1767 # # Note that, for efficiency, we parse as many options as we can
15961768 # # recognise in a loop before passing the remainder back to the
15971769 # # caller on the first unrecognised argument we encounter.
15981770 # while test $# -gt 0; do
16091781 # args_changed=:
16101782 # ;;
16111783 # *) # Make sure the first unrecognised option "$_G_opt"
1612 # # is added back to "$@", we could need that later
1613 # # if $args_changed is true.
1784 # # is added back to "$@" in case we need it later,
1785 # # if $args_changed was set to 'true'.
16141786 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
16151787 # esac
16161788 # done
16171789 #
1790 # # Only call 'func_quote' here if we processed at least one argument.
16181791 # if $args_changed; then
1619 # func_quote_for_eval ${1+"$@"}
1620 # my_silent_option_result=$func_quote_for_eval_result
1792 # func_quote eval ${1+"$@"}
1793 # my_silent_option_result=$func_quote_result
16211794 # fi
1622 #
1623 # $args_changed
16241795 # }
16251796 # func_add_hook func_parse_options my_silent_option
16261797 #
16311802 #
16321803 # $opt_silent && $opt_verbose && func_fatal_help "\
16331804 # '--silent' and '--verbose' options are mutually exclusive."
1634 #
1635 # false
16361805 # }
16371806 # func_add_hook func_validate_options my_option_validation
16381807 #
16481817 {
16491818 $debug_cmd
16501819
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
1820 func_run_hooks func_options ${1+"$@"}
1821 func_propagate_result func_run_hooks func_options_finish
16581822 }
16591823
16601824
16671831 {
16681832 $debug_cmd
16691833
1670 _G_rc_options=false
1834 _G_options_quoted=false
16711835
16721836 for my_func in options_prep parse_options validate_options options_finish
16731837 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=:
1838 func_unset func_${my_func}_result
1839 func_unset func_run_hooks_result
1840 eval func_$my_func '${1+"$@"}'
1841 func_propagate_result func_$my_func func_options
1842 if $func_propagate_result_result; then
1843 eval set dummy "$func_options_result"; shift
1844 _G_options_quoted=:
16781845 fi
16791846 done
16801847
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
1848 $_G_options_quoted || {
1849 # As we (func_options) are top-level options-parser function and
1850 # nobody quoted "$@" for us yet, we need to do it explicitly for
1851 # caller.
1852 func_quote eval ${1+"$@"}
1853 func_options_result=$func_quote_result
1854 }
16921855 }
16931856
16941857
16981861 # Note that when calling hook functions, we pass through the list of
16991862 # positional parameters. If a hook function modifies that list, and
17001863 # needs to propagate that back to rest of this script, then the complete
1701 # modified list must be put in 'func_run_hooks_result' before
1702 # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).
1864 # modified list must be put in 'func_run_hooks_result' before returning.
17031865 func_hookable func_options_prep
17041866 func_options_prep ()
17051867 {
17091871 opt_verbose=false
17101872 opt_warning_types=
17111873
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
1874 func_run_hooks func_options_prep ${1+"$@"}
1875 func_propagate_result func_run_hooks func_options_prep
17201876 }
17211877
17221878
17281884 {
17291885 $debug_cmd
17301886
1731 func_parse_options_result=
1732
1733 _G_rc_parse_options=false
1887 _G_parse_options_requote=false
17341888 # this just eases exit handling
17351889 while test $# -gt 0; do
17361890 # Defer to hook functions for initial option parsing, so they
17371891 # get priority in the event of reusing an option name.
1738 if func_run_hooks func_parse_options ${1+"$@"}; then
1739 eval set dummy "$func_run_hooks_result"; shift
1740 _G_rc_parse_options=:
1892 func_run_hooks func_parse_options ${1+"$@"}
1893 func_propagate_result func_run_hooks func_parse_options
1894 if $func_propagate_result_result; then
1895 eval set dummy "$func_parse_options_result"; shift
1896 # Even though we may have changed "$@", we passed the "$@" array
1897 # down into the hook and it quoted it for us (because we are in
1898 # this if-branch). No need to quote it again.
1899 _G_parse_options_requote=false
17411900 fi
17421901
17431902 # Break out of the loop if we already parsed every option.
17441903 test $# -gt 0 || break
17451904
1905 # We expect that one of the options parsed in this function matches
1906 # and thus we remove _G_opt from "$@" and need to re-quote.
17461907 _G_match_parse_options=:
17471908 _G_opt=$1
17481909 shift
17491910 case $_G_opt in
17501911 --debug|-x) debug_cmd='set -x'
1751 func_echo "enabling shell trace mode"
1912 func_echo "enabling shell trace mode" >&2
17521913 $debug_cmd
17531914 ;;
17541915
17591920
17601921 --warnings|--warning|-W)
17611922 if test $# = 0 && func_missing_arg $_G_opt; then
1762 _G_rc_parse_options=:
1923 _G_parse_options_requote=:
17631924 break
17641925 fi
17651926 case " $warning_categories $1" in
18141975 shift
18151976 ;;
18161977
1817 --) _G_rc_parse_options=: ; break ;;
1978 --) _G_parse_options_requote=: ; break ;;
18181979 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
18191980 *) set dummy "$_G_opt" ${1+"$@"}; shift
18201981 _G_match_parse_options=false
18221983 ;;
18231984 esac
18241985
1825 $_G_match_parse_options && _G_rc_parse_options=:
1986 if $_G_match_parse_options; then
1987 _G_parse_options_requote=:
1988 fi
18261989 done
18271990
1828
1829 if $_G_rc_parse_options; then
1991 if $_G_parse_options_requote; then
18301992 # save modified positional parameters for caller
1831 func_quote_for_eval ${1+"$@"}
1832 func_parse_options_result=$func_quote_for_eval_result
1993 func_quote eval ${1+"$@"}
1994 func_parse_options_result=$func_quote_result
18331995 fi
1834
1835 $_G_rc_parse_options
18361996 }
18371997
18381998
18452005 {
18462006 $debug_cmd
18472007
1848 _G_rc_validate_options=false
1849
18502008 # Display all warnings if -W was not given.
18512009 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
18522010
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
2011 func_run_hooks func_validate_options ${1+"$@"}
2012 func_propagate_result func_run_hooks func_validate_options
18582013
18592014 # Bail if the options were screwed!
18602015 $exit_cmd $EXIT_FAILURE
1861
1862 $_G_rc_validate_options
18632016 }
18642017
18652018
19152068
19162069 # func_split_equals STRING
19172070 # ------------------------
1918 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1919 # splitting STRING at the '=' sign.
2071 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2072 # after splitting STRING at the '=' sign.
19202073 test -z "$_G_HAVE_XSI_OPS" \
19212074 && (eval 'x=a/b/c;
19222075 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
19312084
19322085 func_split_equals_lhs=${1%%=*}
19332086 func_split_equals_rhs=${1#*=}
1934 test "x$func_split_equals_lhs" = "x$1" \
1935 && func_split_equals_rhs=
2087 if test "x$func_split_equals_lhs" = "x$1"; then
2088 func_split_equals_rhs=
2089 fi
19362090 }'
19372091 else
19382092 # ...otherwise fall back to using expr, which is often a shell builtin.
19422096
19432097 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
19442098 func_split_equals_rhs=
1945 test "x$func_split_equals_lhs" = "x$1" \
2099 test "x$func_split_equals_lhs=" = "x$1" \
19462100 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
19472101 }
19482102 fi #func_split_equals
19682122 {
19692123 $debug_cmd
19702124
1971 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
2125 func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'`
19722126 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
19732127 }
19742128 fi #func_split_short_opt
20102164 # func_version
20112165 # ------------
20122166 # Echo version message to standard output and exit.
2167 # The version message is extracted from the calling file's header
2168 # comments, with leading '# ' stripped:
2169 # 1. First display the progname and version
2170 # 2. Followed by the header comment line matching /^# Written by /
2171 # 3. Then a blank line followed by the first following line matching
2172 # /^# Copyright /
2173 # 4. Immediately followed by any lines between the previous matches,
2174 # except lines preceding the intervening completely blank line.
2175 # For example, see the header comments of this file.
20132176 func_version ()
20142177 {
20152178 $debug_cmd
20162179
20172180 printf '%s\n' "$progname $scriptversion"
20182181 $SED -n '
2019 /(C)/!b go
2020 :more
2021 /\./!{
2022 N
2023 s|\n# | |
2024 b more
2182 /^# Written by /!b
2183 s|^# ||; p; n
2184
2185 :fwd2blnk
2186 /./ {
2187 n
2188 b fwd2blnk
20252189 }
2026 :go
2027 /^# Written by /,/# warranty; / {
2028 s|^# ||
2029 s|^# *$||
2030 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2031 p
2190 p; n
2191
2192 :holdwrnt
2193 s|^# ||
2194 s|^# *$||
2195 /^Copyright /!{
2196 /./H
2197 n
2198 b holdwrnt
20322199 }
2033 /^# Written by / {
2034 s|^# ||
2035 p
2036 }
2037 /^warranty; /q' < "$progpath"
2200
2201 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2202 G
2203 s|\(\n\)\n*|\1|g
2204 p; q' < "$progpath"
20382205
20392206 exit $?
20402207 }
20442211 # mode: shell-script
20452212 # sh-indentation: 2
20462213 # eval: (add-hook 'before-save-hook 'time-stamp)
2047 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2214 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
20482215 # time-stamp-time-zone: "UTC"
20492216 # End:
20502217
20512218 # Set a version string.
2052 scriptversion='(GNU libtool) 2.4.6'
2219 scriptversion='(GNU libtool) 2.4.7'
20532220
20542221
20552222 # func_echo ARG...
21402307 compiler: $LTCC
21412308 compiler flags: $LTCFLAGS
21422309 linker: $LD (gnu? $with_gnu_ld)
2143 version: $progname $scriptversion Debian-2.4.6-11
2310 version: $progname $scriptversion Debian-2.4.7-5
21442311 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
21452312 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
21462313
21962363 # a configuration failure hint, and exit.
21972364 func_fatal_configuration ()
21982365 {
2199 func__fatal_error ${1+"$@"} \
2366 func_fatal_error ${1+"$@"} \
22002367 "See the $PACKAGE documentation for more information." \
22012368 "Fatal configuration error."
22022369 }
23412508
23422509 nonopt=
23432510 preserve_args=
2511
2512 _G_rc_lt_options_prep=:
23442513
23452514 _G_rc_lt_options_prep=:
23462515
23742543
23752544 if $_G_rc_lt_options_prep; then
23762545 # Pass back the list of options.
2377 func_quote_for_eval ${1+"$@"}
2378 libtool_options_prep_result=$func_quote_for_eval_result
2546 func_quote eval ${1+"$@"}
2547 libtool_options_prep_result=$func_quote_result
23792548 fi
2380
2381 $_G_rc_lt_options_prep
23822549 }
23832550 func_add_hook func_options_prep libtool_options_prep
23842551
24812648
24822649 if $_G_rc_lt_parse_options; then
24832650 # save modified positional parameters for caller
2484 func_quote_for_eval ${1+"$@"}
2485 libtool_parse_options_result=$func_quote_for_eval_result
2651 func_quote eval ${1+"$@"}
2652 libtool_parse_options_result=$func_quote_result
24862653 fi
2487
2488 $_G_rc_lt_parse_options
24892654 }
24902655 func_add_hook func_parse_options libtool_parse_options
24912656
25422707 }
25432708
25442709 # Pass back the unparsed argument list
2545 func_quote_for_eval ${1+"$@"}
2546 libtool_validate_options_result=$func_quote_for_eval_result
2710 func_quote eval ${1+"$@"}
2711 libtool_validate_options_result=$func_quote_result
25472712 }
25482713 func_add_hook func_validate_options libtool_validate_options
25492714
35093674 esac
35103675 done
35113676
3512 func_quote_for_eval "$libobj"
3513 test "X$libobj" != "X$func_quote_for_eval_result" \
3677 func_quote_arg pretty "$libobj"
3678 test "X$libobj" != "X$func_quote_arg_result" \
35143679 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
35153680 && func_warning "libobj name '$libobj' may not contain shell special characters."
35163681 func_dirname_and_basename "$obj" "/" ""
35833748
35843749 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
35853750 srcfile=$func_to_tool_file_result
3586 func_quote_for_eval "$srcfile"
3587 qsrcfile=$func_quote_for_eval_result
3751 func_quote_arg pretty "$srcfile"
3752 qsrcfile=$func_quote_arg_result
35883753
35893754 # Only build a PIC object if we are building libtool libraries.
35903755 if test yes = "$build_libtool_libs"; then
37393904 -prefer-non-pic try to build non-PIC objects only
37403905 -shared do not build a '.o' file suitable for static linking
37413906 -static only build a '.o' file suitable for static linking
3742 -Wc,FLAG pass FLAG directly to the compiler
3907 -Wc,FLAG
3908 -Xcompiler FLAG pass FLAG directly to the compiler
37433909
37443910 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
37453911 from the given SOURCEFILE.
38454011 -weak LIBNAME declare that the target provides the LIBNAME interface
38464012 -Wc,FLAG
38474013 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
4014 -Wa,FLAG
4015 -Xassembler FLAG pass linker-specific FLAG directly to the assembler
38484016 -Wl,FLAG
38494017 -Xlinker FLAG pass linker-specific FLAG directly to the linker
38504018 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
41874355 case $nonopt in *shtool*) :;; *) false;; esac
41884356 then
41894357 # Aesthetically quote it.
4190 func_quote_for_eval "$nonopt"
4191 install_prog="$func_quote_for_eval_result "
4358 func_quote_arg pretty "$nonopt"
4359 install_prog="$func_quote_arg_result "
41924360 arg=$1
41934361 shift
41944362 else
41984366
41994367 # The real first argument should be the name of the installation program.
42004368 # Aesthetically quote it.
4201 func_quote_for_eval "$arg"
4202 func_append install_prog "$func_quote_for_eval_result"
4369 func_quote_arg pretty "$arg"
4370 func_append install_prog "$func_quote_arg_result"
42034371 install_shared_prog=$install_prog
42044372 case " $install_prog " in
42054373 *[\\\ /]cp\ *) install_cp=: ;;
42564424 esac
42574425
42584426 # Aesthetically quote the argument.
4259 func_quote_for_eval "$arg"
4260 func_append install_prog " $func_quote_for_eval_result"
4427 func_quote_arg pretty "$arg"
4428 func_append install_prog " $func_quote_arg_result"
42614429 if test -n "$arg2"; then
4262 func_quote_for_eval "$arg2"
4430 func_quote_arg pretty "$arg2"
42634431 fi
4264 func_append install_shared_prog " $func_quote_for_eval_result"
4432 func_append install_shared_prog " $func_quote_arg_result"
42654433 done
42664434
42674435 test -z "$install_prog" && \
42724440
42734441 if test -n "$install_override_mode" && $no_mode; then
42744442 if $install_cp; then :; else
4275 func_quote_for_eval "$install_override_mode"
4276 func_append install_shared_prog " -m $func_quote_for_eval_result"
4443 func_quote_arg pretty "$install_override_mode"
4444 func_append install_shared_prog " -m $func_quote_arg_result"
42774445 fi
42784446 fi
42794447
45694737 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
45704738
45714739 $opt_quiet || {
4572 func_quote_for_expand "$relink_command"
4573 eval "func_echo $func_quote_for_expand_result"
4740 func_quote_arg expand,pretty "$relink_command"
4741 eval "func_echo $func_quote_arg_result"
45744742 }
45754743 if eval "$relink_command"; then :
45764744 else
53495517 if test \"\$libtool_execute_magic\" != \"$magic\"; then
53505518 file=\"\$0\""
53515519
5352 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
5520 func_quote_arg pretty "$ECHO"
5521 qECHO=$func_quote_arg_result
53535522 $ECHO "\
53545523
53555524 # A function that is used when there is no print builtin or printf.
53595528 \$1
53605529 _LTECHO_EOF'
53615530 }
5362 ECHO=\"$qECHO\"
5531 ECHO=$qECHO
53635532 fi
53645533
53655534 # Very basic option parsing. These options are (a) specific to
67026871 while test "$#" -gt 0; do
67036872 arg=$1
67046873 shift
6705 func_quote_for_eval "$arg"
6706 qarg=$func_quote_for_eval_unquoted_result
6707 func_append libtool_args " $func_quote_for_eval_result"
6874 func_quote_arg pretty,unquoted "$arg"
6875 qarg=$func_quote_arg_unquoted_result
6876 func_append libtool_args " $func_quote_arg_result"
67086877
67096878 # If the previous option needs an argument, assign it.
67106879 if test -n "$prev"; then
69407109 prev=
69417110 continue
69427111 ;;
7112 xassembler)
7113 func_append compiler_flags " -Xassembler $qarg"
7114 prev=
7115 func_append compile_command " -Xassembler $qarg"
7116 func_append finalize_command " -Xassembler $qarg"
7117 continue
7118 ;;
69437119 xcclinker)
69447120 func_append linker_flags " $qarg"
69457121 func_append compiler_flags " $qarg"
71107286 # These systems don't actually have a C library (as such)
71117287 test X-lc = "X$arg" && continue
71127288 ;;
7113 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7289 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
71147290 # Do not include libc due to us having libc/libc_r.
71157291 test X-lc = "X$arg" && continue
71167292 ;;
71307306 esac
71317307 elif test X-lc_r = "X$arg"; then
71327308 case $host in
7133 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7309 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
71347310 # Do not include libc_r directly, use -pthread flag.
71357311 continue
71367312 ;;
71607336 prev=xcompiler
71617337 continue
71627338 ;;
7163
7164 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7339 # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
7340 -pthread)
7341 case $host in
7342 *solaris2*) ;;
7343 *)
7344 case "$new_inherited_linker_flags " in
7345 *" $arg "*) ;;
7346 * ) func_append new_inherited_linker_flags " $arg" ;;
7347 esac
7348 ;;
7349 esac
7350 continue
7351 ;;
7352 -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
71657353 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
71667354 func_append compiler_flags " $arg"
71677355 func_append compile_command " $arg"
73027490 save_ifs=$IFS; IFS=,
73037491 for flag in $args; do
73047492 IFS=$save_ifs
7305 func_quote_for_eval "$flag"
7306 func_append arg " $func_quote_for_eval_result"
7307 func_append compiler_flags " $func_quote_for_eval_result"
7493 func_quote_arg pretty "$flag"
7494 func_append arg " $func_quote_arg_result"
7495 func_append compiler_flags " $func_quote_arg_result"
73087496 done
73097497 IFS=$save_ifs
73107498 func_stripname ' ' '' "$arg"
73187506 save_ifs=$IFS; IFS=,
73197507 for flag in $args; do
73207508 IFS=$save_ifs
7321 func_quote_for_eval "$flag"
7322 func_append arg " $wl$func_quote_for_eval_result"
7323 func_append compiler_flags " $wl$func_quote_for_eval_result"
7324 func_append linker_flags " $func_quote_for_eval_result"
7509 func_quote_arg pretty "$flag"
7510 func_append arg " $wl$func_quote_arg_result"
7511 func_append compiler_flags " $wl$func_quote_arg_result"
7512 func_append linker_flags " $func_quote_arg_result"
73257513 done
73267514 IFS=$save_ifs
73277515 func_stripname ' ' '' "$arg"
73287516 arg=$func_stripname_result
73297517 ;;
73307518
7519 -Xassembler)
7520 prev=xassembler
7521 continue
7522 ;;
7523
73317524 -Xcompiler)
73327525 prev=xcompiler
73337526 continue
73457538
73467539 # -msg_* for osf cc
73477540 -msg_*)
7348 func_quote_for_eval "$arg"
7349 arg=$func_quote_for_eval_result
7541 func_quote_arg pretty "$arg"
7542 arg=$func_quote_arg_result
73507543 ;;
73517544
73527545 # Flags to be passed through unchanged, with rationale:
73677560 # -stdlib=* select c++ std lib with clang
73687561 # -fsanitize=* Clang/GCC memory and address sanitizer
73697562 # -fuse-ld=* Linker select flags for GCC
7563 # -static-* direct GCC to link specific libraries statically
7564 # -fcilkplus Cilk Plus language extension features for C/C++
7565 # -Wa,* Pass flags directly to the assembler
73707566 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
73717567 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
73727568 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7373 -specs=*|-fsanitize=*|-fuse-ld=*)
7374 func_quote_for_eval "$arg"
7375 arg=$func_quote_for_eval_result
7569 -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus|-Wa,*)
7570 func_quote_arg pretty "$arg"
7571 arg=$func_quote_arg_result
73767572 func_append compile_command " $arg"
73777573 func_append finalize_command " $arg"
73787574 func_append compiler_flags " $arg"
73937589 continue
73947590 else
73957591 # Otherwise treat like 'Some other compiler flag' below
7396 func_quote_for_eval "$arg"
7397 arg=$func_quote_for_eval_result
7592 func_quote_arg pretty "$arg"
7593 arg=$func_quote_arg_result
73987594 fi
73997595 ;;
74007596
74017597 # Some other compiler flag.
74027598 -* | +*)
7403 func_quote_for_eval "$arg"
7404 arg=$func_quote_for_eval_result
7599 func_quote_arg pretty "$arg"
7600 arg=$func_quote_arg_result
74057601 ;;
74067602
74077603 *.$objext)
75217717 *)
75227718 # Unknown arguments in both finalize_command and compile_command need
75237719 # to be aesthetically quoted because they are evaled later.
7524 func_quote_for_eval "$arg"
7525 arg=$func_quote_for_eval_result
7720 func_quote_arg pretty "$arg"
7721 arg=$func_quote_arg_result
75267722 ;;
75277723 esac # arg
75287724
87308926 test CXX = "$tagname" && {
87318927 case $host_os in
87328928 linux*)
8733 case `$CC -V 2>&1 | sed 5q` in
8929 case `$CC -V 2>&1 | $SED 5q` in
87348930 *Sun\ C*) # Sun C++ 5.9
87358931 func_suncc_cstd_abi
87368932
89039099 #
89049100 case $version_type in
89059101 # correct linux to gnu/linux during the next big refactor
8906 darwin|freebsd-elf|linux|osf|windows|none)
9102 darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
89079103 func_arith $number_major + $number_minor
89089104 current=$func_arith_result
89099105 age=$number_minor
89979193 versuffix=.$current.$revision
89989194 ;;
89999195
9000 freebsd-elf)
9196 freebsd-elf | midnightbsd-elf)
90019197 func_arith $current - $age
90029198 major=.$func_arith_result
90039199 versuffix=$major.$age.$revision
92239419 *-*-netbsd*)
92249420 # Don't link with libc until the a.out ld.so is fixed.
92259421 ;;
9226 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9422 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
92279423 # Do not include libc due to us having libc/libc_r.
92289424 ;;
92299425 *-*-sco3.2v5* | *-*-sco5v6*)
1003410230 for cmd in $concat_cmds; do
1003510231 IFS=$save_ifs
1003610232 $opt_quiet || {
10037 func_quote_for_expand "$cmd"
10038 eval "func_echo $func_quote_for_expand_result"
10233 func_quote_arg expand,pretty "$cmd"
10234 eval "func_echo $func_quote_arg_result"
1003910235 }
1004010236 $opt_dry_run || eval "$cmd" || {
1004110237 lt_exit=$?
1012810324 eval cmd=\"$cmd\"
1012910325 IFS=$save_ifs
1013010326 $opt_quiet || {
10131 func_quote_for_expand "$cmd"
10132 eval "func_echo $func_quote_for_expand_result"
10327 func_quote_arg expand,pretty "$cmd"
10328 eval "func_echo $func_quote_arg_result"
1013310329 }
1013410330 $opt_dry_run || eval "$cmd" || {
1013510331 lt_exit=$?
1060310799 elif eval var_value=\$$var; test -z "$var_value"; then
1060410800 relink_command="$var=; export $var; $relink_command"
1060510801 else
10606 func_quote_for_eval "$var_value"
10607 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10802 func_quote_arg pretty "$var_value"
10803 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
1060810804 fi
1060910805 done
10610 relink_command="(cd `pwd`; $relink_command)"
10611 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10806 func_quote eval cd "`pwd`"
10807 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
10808 relink_command=$func_quote_arg_unquoted_result
1061210809 fi
1061310810
1061410811 # Only actually do things if not in dry run mode.
1084811045 elif eval var_value=\$$var; test -z "$var_value"; then
1084911046 relink_command="$var=; export $var; $relink_command"
1085011047 else
10851 func_quote_for_eval "$var_value"
10852 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
11048 func_quote_arg pretty,unquoted "$var_value"
11049 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
1085311050 fi
1085411051 done
1085511052 # Quote the link command for shipping.
10856 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
10857 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
11053 func_quote eval cd "`pwd`"
11054 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11055 func_quote_arg pretty,unquoted "$relink_command"
11056 relink_command=$func_quote_arg_unquoted_result
1085811057 if test yes = "$hardcode_automatic"; then
1085911058 relink_command=
1086011059 fi
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
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
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
148148 unique=`for i in $$list; do \
149149 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
150150 done | $(am__uniquify_input)`
151 ETAGS = etags
152 CTAGS = ctags
153151 DIST_SUBDIRS = $(SUBDIRS)
154152 am__DIST_COMMON = $(srcdir)/Makefile.in
155153 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
194192 CC = @CC@
195193 CCDEPMODE = @CCDEPMODE@
196194 CFLAGS = @CFLAGS@
197 CPP = @CPP@
198195 CPPFLAGS = @CPPFLAGS@
196 CSCOPE = @CSCOPE@
197 CTAGS = @CTAGS@
199198 CXX = @CXX@
200199 CXXCPP = @CXXCPP@
201200 CXXDEPMODE = @CXXDEPMODE@
211210 ECHO_N = @ECHO_N@
212211 ECHO_T = @ECHO_T@
213212 EGREP = @EGREP@
213 ETAGS = @ETAGS@
214214 EXEEXT = @EXEEXT@
215215 FGREP = @FGREP@
216 FILECMD = @FILECMD@
216217 GREP = @GREP@
217218 INSTALL = @INSTALL@
218219 INSTALL_DATA = @INSTALL_DATA@
446447
447448 distclean-tags:
448449 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
449
450450 distdir: $(BUILT_SOURCES)
451451 $(MAKE) $(AM_MAKEFLAGS) distdir-am
452452
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
268268 unique=`for i in $$list; do \
269269 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
270270 done | $(am__uniquify_input)`
271 ETAGS = etags
272 CTAGS = ctags
273271 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
274272 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
275273 ACLOCAL = @ACLOCAL@
288286 CC = @CC@
289287 CCDEPMODE = @CCDEPMODE@
290288 CFLAGS = @CFLAGS@
291 CPP = @CPP@
292289 CPPFLAGS = @CPPFLAGS@
290 CSCOPE = @CSCOPE@
291 CTAGS = @CTAGS@
293292 CXX = @CXX@
294293 CXXCPP = @CXXCPP@
295294 CXXDEPMODE = @CXXDEPMODE@
305304 ECHO_N = @ECHO_N@
306305 ECHO_T = @ECHO_T@
307306 EGREP = @EGREP@
307 ETAGS = @ETAGS@
308308 EXEEXT = @EXEEXT@
309309 FGREP = @FGREP@
310 FILECMD = @FILECMD@
310311 GREP = @GREP@
311312 INSTALL = @INSTALL@
312313 INSTALL_DATA = @INSTALL_DATA@
744745
745746 distclean-tags:
746747 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
747
748748 distdir: $(BUILT_SOURCES)
749749 $(MAKE) $(AM_MAKEFLAGS) distdir-am
750750
4444 libui_utilcpp_la_CXXFLAGS = @AM_CXXFLAGS@ -fvisibility=default
4545 libui_utilcpp_la_LDFLAGS = @AM_LDFLAGS@ -version-info @SO_VERSION@
4646 libui_utilcpp_la_LIBADD = http/libui-utilcpp-http.la
47
48 nodist_libui_utilcpp_la_SOURCES = xdr_rquota.c
49 CLEANFILES = xdr_rquota.c
50
51 xdr_rquota.c:
52 rpcgen -c /usr/include/rpcsvc/rquota.x > $@
53
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
137137 libui_utilcpp_la-SysLogMono.lo libui_utilcpp_la-Text.lo \
138138 libui_utilcpp_la-PosixRegex.lo libui_utilcpp_la-Thread.lo \
139139 libui_utilcpp_la-Time.lo libui_utilcpp_la-Cap.lo
140 libui_utilcpp_la_OBJECTS = $(am_libui_utilcpp_la_OBJECTS)
140 nodist_libui_utilcpp_la_OBJECTS = xdr_rquota.lo
141 libui_utilcpp_la_OBJECTS = $(am_libui_utilcpp_la_OBJECTS) \
142 $(nodist_libui_utilcpp_la_OBJECTS)
141143 AM_V_lt = $(am__v_lt_@AM_V@)
142144 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
143145 am__v_lt_0 = --silent
176178 ./$(DEPDIR)/libui_utilcpp_la-SysLogMono.Plo \
177179 ./$(DEPDIR)/libui_utilcpp_la-Text.Plo \
178180 ./$(DEPDIR)/libui_utilcpp_la-Thread.Plo \
179 ./$(DEPDIR)/libui_utilcpp_la-Time.Plo
181 ./$(DEPDIR)/libui_utilcpp_la-Time.Plo \
182 ./$(DEPDIR)/xdr_rquota.Plo
180183 am__mv = mv -f
184 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
185 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
186 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
187 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
188 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
189 $(AM_CFLAGS) $(CFLAGS)
190 AM_V_CC = $(am__v_CC_@AM_V@)
191 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
192 am__v_CC_0 = @echo " CC " $@;
193 am__v_CC_1 =
194 CCLD = $(CC)
195 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
196 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
197 $(AM_LDFLAGS) $(LDFLAGS) -o $@
198 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
199 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
200 am__v_CCLD_0 = @echo " CCLD " $@;
201 am__v_CCLD_1 =
181202 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
182203 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
183204 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
196217 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
197218 am__v_CXXLD_0 = @echo " CXXLD " $@;
198219 am__v_CXXLD_1 =
199 SOURCES = $(libui_utilcpp_la_SOURCES)
220 SOURCES = $(libui_utilcpp_la_SOURCES) \
221 $(nodist_libui_utilcpp_la_SOURCES)
200222 DIST_SOURCES = $(libui_utilcpp_la_SOURCES)
201223 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
202224 ctags-recursive dvi-recursive html-recursive info-recursive \
237259 unique=`for i in $$list; do \
238260 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
239261 done | $(am__uniquify_input)`
240 ETAGS = etags
241 CTAGS = ctags
242262 DIST_SUBDIRS = $(SUBDIRS)
243263 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
244264 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
283303 CC = @CC@
284304 CCDEPMODE = @CCDEPMODE@
285305 CFLAGS = @CFLAGS@
286 CPP = @CPP@
287306 CPPFLAGS = @CPPFLAGS@
307 CSCOPE = @CSCOPE@
308 CTAGS = @CTAGS@
288309 CXX = @CXX@
289310 CXXCPP = @CXXCPP@
290311 CXXDEPMODE = @CXXDEPMODE@
300321 ECHO_N = @ECHO_N@
301322 ECHO_T = @ECHO_T@
302323 EGREP = @EGREP@
324 ETAGS = @ETAGS@
303325 EXEEXT = @EXEEXT@
304326 FGREP = @FGREP@
327 FILECMD = @FILECMD@
305328 GREP = @GREP@
306329 INSTALL = @INSTALL@
307330 INSTALL_DATA = @INSTALL_DATA@
443466 libui_utilcpp_la_CXXFLAGS = @AM_CXXFLAGS@ -fvisibility=default
444467 libui_utilcpp_la_LDFLAGS = @AM_LDFLAGS@ -version-info @SO_VERSION@
445468 libui_utilcpp_la_LIBADD = http/libui-utilcpp-http.la
469 nodist_libui_utilcpp_la_SOURCES = xdr_rquota.c
470 CLEANFILES = xdr_rquota.c
446471 all: all-recursive
447472
448473 .SUFFIXES:
449 .SUFFIXES: .cpp .lo .o .obj
474 .SUFFIXES: .c .cpp .lo .o .obj
450475 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
451476 @for dep in $?; do \
452477 case '$(am__configure_deps)' in \
537562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libui_utilcpp_la-Text.Plo@am__quote@ # am--include-marker
538563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libui_utilcpp_la-Thread.Plo@am__quote@ # am--include-marker
539564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libui_utilcpp_la-Time.Plo@am__quote@ # am--include-marker
565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xdr_rquota.Plo@am__quote@ # am--include-marker
540566
541567 $(am__depfiles_remade):
542568 @$(MKDIR_P) $(@D)
543569 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
544570
545571 am--depfiles: $(am__depfiles_remade)
572
573 .c.o:
574 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
575 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
576 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
577 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
578 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
579
580 .c.obj:
581 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
582 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
583 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
584 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
585 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
586
587 .c.lo:
588 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
589 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
590 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
591 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
592 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
546593
547594 .cpp.o:
548595 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
802849
803850 distclean-tags:
804851 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
805
806852 distdir: $(BUILT_SOURCES)
807853 $(MAKE) $(AM_MAKEFLAGS) distdir-am
808854
891937 mostlyclean-generic:
892938
893939 clean-generic:
940 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
894941
895942 distclean-generic:
896943 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
921968 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Text.Plo
922969 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Thread.Plo
923970 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Time.Plo
971 -rm -f ./$(DEPDIR)/xdr_rquota.Plo
924972 -rm -f Makefile
925973 distclean-am: clean-am distclean-compile distclean-generic \
926974 distclean-tags
9821030 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Text.Plo
9831031 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Thread.Plo
9841032 -rm -f ./$(DEPDIR)/libui_utilcpp_la-Time.Plo
1033 -rm -f ./$(DEPDIR)/xdr_rquota.Plo
9851034 -rm -f Makefile
9861035 maintainer-clean-am: distclean-am maintainer-clean-generic
9871036
10221071 .PRECIOUS: Makefile
10231072
10241073
1074 xdr_rquota.c:
1075 rpcgen -c /usr/include/rpcsvc/rquota.x > $@
1076
10251077 # Tell versions [3.59,3.63) of GNU make to not export all variables.
10261078 # Otherwise a system limit (for SysV at least) may be exceeded.
10271079 .NOEXPORT:
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 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,
205205 unique=`for i in $$list; do \
206206 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
207207 done | $(am__uniquify_input)`
208 ETAGS = etags
209 CTAGS = ctags
210208 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
211209 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
212210 ACLOCAL = @ACLOCAL@
225223 CC = @CC@
226224 CCDEPMODE = @CCDEPMODE@
227225 CFLAGS = @CFLAGS@
228 CPP = @CPP@
229226 CPPFLAGS = @CPPFLAGS@
227 CSCOPE = @CSCOPE@
228 CTAGS = @CTAGS@
230229 CXX = @CXX@
231230 CXXCPP = @CXXCPP@
232231 CXXDEPMODE = @CXXDEPMODE@
242241 ECHO_N = @ECHO_N@
243242 ECHO_T = @ECHO_T@
244243 EGREP = @EGREP@
244 ETAGS = @ETAGS@
245245 EXEEXT = @EXEEXT@
246246 FGREP = @FGREP@
247 FILECMD = @FILECMD@
247248 GREP = @GREP@
248249 INSTALL = @INSTALL@
249250 INSTALL_DATA = @INSTALL_DATA@
535536
536537 distclean-tags:
537538 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
538
539539 distdir: $(BUILT_SOURCES)
540540 $(MAKE) $(AM_MAKEFLAGS) distdir-am
541541